Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
alexanderadam
alexanderadam
@alexanderadam@ruby.social  ·  activity timestamp 3 months ago

ruby #Ruby's #Float contains interesting constants.

Like EPSILON, which is the

> difference between 1 and the smallest double-precision floating point number greater than 1.

What is it useful for, you ask?
Well, Floats are kinda difficult for computers and if you want to compare them for equality without using `round` or alike, you can check whether its difference is within EPSILON range.

So it is kinda close to how Math uses it (ε).

https://ruby-doc.org/3.4.1/Float.html#5Buntitled-5D

#RubyLang #RubyProgramming

class Float - RDoc Documentation

  • Copy link
  • Flag this post
  • Block
vruz
vruz
@vruz@mstdn.social  ·  activity timestamp 4 months ago

Deja vu. I think I recall having been here before 20+ years ago.

#ruby #rubylang

gem.coop

We’re excited to introduce gem.coop – a new server for gems in the Ruby ecosystem.

We aim for fast, simple hosting, that is compatible with Bundler but optimized for the next generation. It’s built for the community by the former maintainers and operators of RubyGems.org.

All gems published to RubyGems.org are available, updated in real time. Get started right now with a simple change to your Gemfile:

-source "https://rubygems.org"
+source "https://gem.coop"

Governance for this project is modeled on Homebrew, with setup assistance from Mike McQuaid, and will be published on or before October 10. Everyone from the Ruby community is welcome to contribute and participate.

If you want to follow along with our progress, subscribe to the gem.coop newsletter for monthly updates.

Our goal is to provide fast, community-owned, transparent, sustainable, and secure gem hosting for everyone. We’re launching with support for bundling and installing all public gems, and we’re excited to keep improving.

— The Gem Cooperative (@deivid-rodriguez, @duckinator, @indirect, @martinemde, @segiddins, @simi)
gem.coop We’re excited to introduce gem.coop – a new server for gems in the Ruby ecosystem. We aim for fast, simple hosting, that is compatible with Bundler but optimized for the next generation. It’s built for the community by the former maintainers and operators of RubyGems.org. All gems published to RubyGems.org are available, updated in real time. Get started right now with a simple change to your Gemfile: -source "https://rubygems.org" +source "https://gem.coop" Governance for this project is modeled on Homebrew, with setup assistance from Mike McQuaid, and will be published on or before October 10. Everyone from the Ruby community is welcome to contribute and participate. If you want to follow along with our progress, subscribe to the gem.coop newsletter for monthly updates. Our goal is to provide fast, community-owned, transparent, sustainable, and secure gem hosting for everyone. We’re launching with support for bundling and installing all public gems, and we’re excited to keep improving. — The Gem Cooperative (@deivid-rodriguez, @duckinator, @indirect, @martinemde, @segiddins, @simi)
gem.coop We’re excited to introduce gem.coop – a new server for gems in the Ruby ecosystem. We aim for fast, simple hosting, that is compatible with Bundler but optimized for the next generation. It’s built for the community by the former maintainers and operators of RubyGems.org. All gems published to RubyGems.org are available, updated in real time. Get started right now with a simple change to your Gemfile: -source "https://rubygems.org" +source "https://gem.coop" Governance for this project is modeled on Homebrew, with setup assistance from Mike McQuaid, and will be published on or before October 10. Everyone from the Ruby community is welcome to contribute and participate. If you want to follow along with our progress, subscribe to the gem.coop newsletter for monthly updates. Our goal is to provide fast, community-owned, transparent, sustainable, and secure gem hosting for everyone. We’re launching with support for bundling and installing all public gems, and we’re excited to keep improving. — The Gem Cooperative (@deivid-rodriguez, @duckinator, @indirect, @martinemde, @segiddins, @simi)
  • Copy link
  • Flag this post
  • Block
Alex Akselrod boosted
Socket
Socket
@SocketSecurity@fosstodon.org  ·  activity timestamp 4 months ago

🔥 Breaking: Former #RubyGems maintainers have launched the Gem Cooperative, a community-run RubyGems server with open governance.

We spoke with the team behind it. Read the full story on the Socket blog → https://socket.dev/blog/gem-cooperative-emerges-as-a-community-run-alternative-to-rubygems-org #Rails #Rubylang #Ruby

Socket

Gem Cooperative Emerges as a Community-Run Alternative to Ru...

Former RubyGems maintainers have launched The Gem Cooperative, a new community-run project aimed at rebuilding open governance in the Ruby ecosystem.
  • Copy link
  • Flag this post
  • Block
Socket
Socket
@SocketSecurity@fosstodon.org  ·  activity timestamp 4 months ago

🔥 Breaking: Former #RubyGems maintainers have launched the Gem Cooperative, a community-run RubyGems server with open governance.

We spoke with the team behind it. Read the full story on the Socket blog → https://socket.dev/blog/gem-cooperative-emerges-as-a-community-run-alternative-to-rubygems-org #Rails #Rubylang #Ruby

Socket

Gem Cooperative Emerges as a Community-Run Alternative to Ru...

Former RubyGems maintainers have launched The Gem Cooperative, a new community-run project aimed at rebuilding open governance in the Ruby ecosystem.
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct