livellosegreto.it is one of the many independent Mastodon servers you can use to participate in the fediverse.
Livello Segreto è il social etico che ha rispetto di te e del tuo tempo.

Administered by:

Server stats:

1.3K
active users

#rubylang

1 post1 participant0 posts today
Kuba Suder • @mackuba.eu on 🦋<p>This looks nice 👀 <a href="https://rubyllm.com" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">rubyllm.com</span><span class="invisible"></span></a> <a href="https://martianbase.net/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a></p>
Christian Kohlmeyer<p><span class="h-card" translate="no"><a href="https://mastodon.social/@caravana" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>caravana</span></a></span> Hm, that makes me think, cause my firts impression was, that languages like <a href="https://wehavecookies.social/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> or <a href="https://wehavecookies.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> are a good start, but I agree with you after reading through it, with two exceptions:</p><p>1) Performance is irrelevant from my point of view, when starting development as a beginner - success is more important<br>2) Algorithms can be learned also with python and might be even cleaner than in other languages. But I get your point: one might not try to understand basic stuff as e.g. sorting etc.</p>
Kuba Suder • @mackuba.eu on 🦋<p>Interesting… I've checked out of curiosity how this firehose client would run now with this new modern async-websocket lib from the "async Ruby" ecosystem, compared to the ancient eventmachine lib that I use in Skyfall (just reading packets), and… it seems to be slightly slower 🤔 <a href="https://martianbase.net/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a></p>
Kuba Suder • @mackuba.eu on 🦋<p>Nice, I went from ~2k evt/s max to ~3.6k with a few fixes (partial index, ActiveRecord + <a href="https://martianbase.net/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> update, YJIT on, batched saves in one insert, and matching using a <a href="https://martianbase.net/tags/rustlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustlang</span></a> module). One more thing to try (turning off Pg wal sync) :)</p><p>The theoretical max possible would be ~5.5k, this is what it did on a test where it doesn't actually process anything, just reads from the socket. Although maybe the "async" lib would do better than eventmachine?…</p><p>Though at 7.5k I hit the VPS bandwidth limit.</p>
Kuba Suder • @mackuba.eu on 🦋<p><a href="https://martianbase.net/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> *and* <a href="https://martianbase.net/tags/rustlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustlang</span></a> go brrrrr 💎🦀</p><p>(I turned on the Rust native module for matching a large number of regexps faster that I wrote in the summer now)</p>
Kuba Suder • @mackuba.eu on 🦋<p>Oh, interesting 👀 <a href="https://martianbase.net/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://martianbase.net/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> (JSON gem)</p>
Kuba Suder 🇵🇱🇺🇦<p>Oh, interesting 👀 <a class="hashtag" href="https://bsky.app/search?q=%23ruby" rel="nofollow noopener noreferrer" target="_blank">#ruby</a> <a class="hashtag" href="https://bsky.app/search?q=%23rubylang" rel="nofollow noopener noreferrer" target="_blank">#rubylang</a> (JSON gem)</p>
Nicolas Buduroi<p>A quick and dirty `llm` method to be used in the Rails console in the spirit of <span class="h-card" translate="no"><a href="https://fedi.simonwillison.net/@simon" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>simon</span></a></span> llm command-line tool.</p><p><a href="https://ruby.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ruby</span></a> <a href="https://ruby.social/tags/RubyLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RubyLang</span></a> <a href="https://ruby.social/tags/Rails" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rails</span></a></p>
alexanderadam<p>Very cool:</p><p>if you're using <a href="https://ruby.social/tags/vscode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vscode</span></a> and you program in :ruby: <span class="h-card" translate="no"><a href="https://ruby.social/@ruby" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ruby</span></a></span>, 💎 <span class="h-card" translate="no"><a href="https://fosstodon.org/@CrystalLanguage" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>CrystalLanguage</span></a></span> or 🐍 <span class="h-card" translate="no"><a href="https://techhub.social/@Python" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>Python</span></a></span>, then you might want to use <span class="h-card" translate="no"><a href="https://ruby.social/@ninoseki" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ninoseki</span></a></span>'s <a href="https://ruby.social/tags/vscode_extension" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vscode_extension</span></a> Mogami, which shows the latest dependencies in <a href="https://ruby.social/tags/Gemfile" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Gemfile</span></a>, <a href="https://ruby.social/tags/shards" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>shards</span></a> and <a href="https://ruby.social/tags/requirements_txt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>requirements_txt</span></a>.</p><p>Keep in mind that <a href="https://ruby.social/tags/crystalshard" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>crystalshard</span></a> checks are only working on <a href="https://ruby.social/tags/github" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>github</span></a> repos for now though!</p><p><a href="https://github.com/ninoseki/vscode-mogami?tab=readme-ov-file#vscode-mogami" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/ninoseki/vscode-mog</span><span class="invisible">ami?tab=readme-ov-file#vscode-mogami</span></a></p><p><a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> <a href="https://ruby.social/tags/CrystalLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CrystalLang</span></a> <a href="https://ruby.social/tags/crystal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>crystal</span></a> <a href="https://ruby.social/tags/CrystalLanguage" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CrystalLanguage</span></a> <a href="https://ruby.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://ruby.social/tags/code" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>code</span></a> <a href="https://ruby.social/tags/dependencies" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dependencies</span></a> <a href="https://ruby.social/tags/rubyprogramming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubyprogramming</span></a></p>
Kuba Suder • @mackuba.eu on 🦋<p>Oh wow, a Ruby blog post on the top of Hacker News 👀 </p><p>We're so back <a href="https://martianbase.net/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://martianbase.net/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> </p><p>RE: <a href="https://bsky.app/profile/did:plc:3n6tlxabmocwe3nyl4b3rtjk/post/3lhz5fyn2o22t" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">bsky.app/profile/did:plc:3n6tl</span><span class="invisible">xabmocwe3nyl4b3rtjk/post/3lhz5fyn2o22t</span></a></p>
Kuba Suder 🇵🇱🇺🇦<p>Oh wow, a Ruby blog post on the top of Hacker News 👀 We're so back <a class="hashtag" href="https://bsky.app/search?q=%23ruby" rel="nofollow noopener noreferrer" target="_blank">#ruby</a> <a class="hashtag" href="https://bsky.app/search?q=%23rubylang" rel="nofollow noopener noreferrer" target="_blank">#rubylang</a><br><br>RE: <a href="https://bsky.app/profile/did:plc:3n6tlxabmocwe3nyl4b3rtjk/post/3lhz5fyn2o22t" rel="nofollow noopener noreferrer" target="_blank">https://bsky.app/profile/did:plc:3n6tlxabmocwe3nyl4b3rtjk/post/3lhz5fyn2o22t</a></p>
Kuba Suder • @mackuba.eu on 🦋<p>Oh nice… apparently Rails/ActiveRecord 8.0 (released in November) finally solves the SQLite concurrency problem that I spent so much time fighting with, just as I'm preparing to drop SQLite 🫠 <a href="https://martianbase.net/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> <a href="https://martianbase.net/tags/rails" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rails</span></a> <a href="https://github.com/rails/rails/pull/50371" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/rails/rails/pull/50</span><span class="invisible">371</span></a></p>
Aaron Allen<p>Hey all would love some feedback if you have the time!</p><p><a href="https://github.com/aaronmallen/sai/discussions/25" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/aaronmallen/sai/dis</span><span class="invisible">cussions/25</span></a></p><p><a href="https://ruby.social/tags/RubyLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RubyLang</span></a> <a href="https://ruby.social/tags/OpenSource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSource</span></a> <a href="https://ruby.social/tags/BuildInPublic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BuildInPublic</span></a> <a href="https://ruby.social/tags/ANSI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ANSI</span></a> <a href="https://ruby.social/tags/CLI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CLI</span></a></p>
Todd A. Jacobs | Rubyist<p><span class="h-card" translate="no"><a href="https://ruby.social/@nithinbekal" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>nithinbekal</span></a></span> I was really against them, but do see the performance gain and can still change the default or unfreeze a copy that is mutable when it matters. Mostly I just miss the convenience of the shovel operator, especially since the lack of deeply frozen constants or arrays by default really break the conceptual consistency for me.</p><p>Consistency, introspection , and expressiveness are why I moved to <a href="https://ruby.social/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> from <a href="https://ruby.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a>. I could live with more immutable objects for concurrency though.</p>
Kuba Suder • @mackuba.eu on 🦋<p>Interesting thread about <a href="https://martianbase.net/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> 👀 <a href="https://bsky.app/profile/did:plc:7bwd3djoommmulxmllmev37h/post/3lgv7v5xdys23" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">bsky.app/profile/did:plc:7bwd3</span><span class="invisible">djoommmulxmllmev37h/post/3lgv7v5xdys23</span></a></p>
alexanderadam<p>Interesting blog post "Supercharge <a href="https://ruby.social/tags/SQLite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SQLite</span></a> with <a href="https://ruby.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ruby</span></a> Functions" by <span class="h-card" translate="no"><a href="https://ruby.social/@julik" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>julik</span></a></span></p><p><a href="https://blog.julik.nl/2025/01/supercharge-sqlite-with-ruby-functions" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.julik.nl/2025/01/supercha</span><span class="invisible">rge-sqlite-with-ruby-functions</span></a></p><p>Instead of <a href="https://ruby.social/tags/storedprocedures" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>storedprocedures</span></a> you can use user defined procedures (<a href="https://ruby.social/tags/udf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>udf</span></a>).</p><p><a href="https://ruby.social/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> <a href="https://ruby.social/tags/database" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>database</span></a></p>
alexanderadam<p>It seems that <span class="h-card" translate="no"><a href="https://bird.makeup/users/sdogruyol" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>sdogruyol</span></a></span> did another performance and memory <a href="https://ruby.social/tags/benchmark" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>benchmark</span></a> where he compared <span class="h-card" translate="no"><a href="https://ruby.social/@ruby" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ruby</span></a></span>'s Sinatra (<a href="https://ruby.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ruby</span></a> 3.4.0) against <span class="h-card" translate="no"><a href="https://fosstodon.org/@CrystalLanguage" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>CrystalLanguage</span></a></span>'s <span class="h-card" translate="no"><a href="https://bird.makeup/users/crystalkemal" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>crystalkemal</span></a></span>.</p><p>However, I don't think it's entirely fair though. 😉</p><p>You can find the repository over here: </p><p><a href="https://github.com/sdogruyol/kemal-github-api" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/sdogruyol/kemal-git</span><span class="invisible">hub-api</span></a></p><p><a href="https://ruby.social/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> <a href="https://ruby.social/tags/crystallang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>crystallang</span></a> <a href="https://ruby.social/tags/crystallanguage" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>crystallanguage</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/crystal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>crystal</span></a> <a href="https://ruby.social/tags/SinatraRb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SinatraRb</span></a> <a href="https://ruby.social/tags/sinatra" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sinatra</span></a></p>
Aaron Allen<p>I needed it for a different project I'm working on but it didn't quite fit that project. So I give to you the first release of Sai. If you use it let me know what you think!</p><p><a href="https://rubygems.org/gems/sai" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">rubygems.org/gems/sai</span><span class="invisible"></span></a></p><p><a href="https://ruby.social/tags/Rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rubylang</span></a> <a href="https://ruby.social/tags/BuildInPublic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BuildInPublic</span></a> <a href="https://ruby.social/tags/OpenSource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSource</span></a> <a href="https://ruby.social/tags/CLI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CLI</span></a></p>
cnngimenez<p>I'm using rb_sdl2... it works awesome!</p><p>Gem: <a href="https://rubygems.org/gems/rb_sdl2" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">rubygems.org/gems/rb_sdl2</span><span class="invisible"></span></a></p><p>Tileset: <a href="https://opengameart.org/content/whispers-of-avalon-grassland-tileset" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">opengameart.org/content/whispe</span><span class="invisible">rs-of-avalon-grassland-tileset</span></a></p><p><a href="https://mastodon.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ruby</span></a> <a href="https://mastodon.social/tags/Rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rubylang</span></a> <a href="https://mastodon.social/tags/SDL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SDL</span></a> <a href="https://mastodon.social/tags/SDL2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SDL2</span></a></p>
alexanderadam<p><span class="h-card" translate="no"><a href="https://chaos.social/@why2025camp" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>why2025camp</span></a></span> oh my‽ <br>I visit <a href="https://ruby.social/tags/Valencia" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Valencia</span></a> every year but just today I learned that it has a hackerspace 🤩</p><p>I'd love to visit the Valencia <a href="https://ruby.social/tags/hackerspace" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hackerspace</span></a>.</p><p>Furthermore <span class="h-card" translate="no"><a href="https://ruby.social/@carlastabile" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>carlastabile</span></a></span> and <span class="h-card" translate="no"><a href="https://ruby.social/@ecomba" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ecomba</span></a></span> initiated the <span class="h-card" translate="no"><a href="https://ruby.social/@valenciarb" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>valenciarb</span></a></span> <a href="https://ruby.social/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a> <a href="https://ruby.social/tags/meetup" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>meetup</span></a> so my next visit will hopefully be more tech-focused than usual. 🤓</p><p><a href="https://ruby.social/tags/hackerspaces" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hackerspaces</span></a> <a href="https://ruby.social/tags/RubyUserGroup" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RubyUserGroup</span></a> <a href="https://ruby.social/tags/ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ruby</span></a> <a href="https://ruby.social/tags/spain" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>spain</span></a> <a href="https://ruby.social/tags/espana" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>espana</span></a> <a href="https://ruby.social/tags/hackercamp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hackercamp</span></a> <a href="https://ruby.social/tags/why2025" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>why2025</span></a></p>