Ruby

wood,
@wood@hachyderm.io avatar

Who wants to join my secret Honeybadger Discord?

Things we could chat about there:

  • DevOps, monitoring, observability
  • Indie SaaS and marketing
  • Junior devs/early career
  • General goofing off

Reply and I'll send you an invite.

danhulton,
@danhulton@hachyderm.io avatar

@wood Oh, I know all about General Goofing Off, that better be a channel, cuz I'll basically live there.

gd,
@gd@ruby.social avatar

Instead of DoH, how about anything over DNS? 😎

I've been playing with dnscat2 this evening. I got it working but it's kind of chunky and dies sometimes.

#ruby #exfil

penryu,
@penryu@hachyderm.io avatar

@gd Wasn't there some kind of tunnel-over-dns stuff like 15-20 years ago, back when WAP portals required auth but DNS still worked?

FWIW, it was probably even worse than what you're describing.

penryu,
@penryu@hachyderm.io avatar
nirnaeth,
@nirnaeth@mastodon.online avatar

ruby drama on stage with Cristian Pianas and Anatoly Mikhaylov. @tenderlove most famous pictures made it to the presentation as the epitome of the cool ruby developer. well deserved!

nirnaeth,
@nirnaeth@mastodon.online avatar

next speaker up, the creator of the Short Ruby newsletter, a teacher and mentor, a polymorphic software engineer as he calls himself: @lucianghinda Lucian Ghinda at Ruby Day!

alessandrofazzi,
@alessandrofazzi@ruby.social avatar

@nirnaeth was a pleasure to attend to @lucianghinda ‘s talk. Thank you very much 🙏

nirnaeth,
@nirnaeth@mastodon.online avatar

@alessandrofazzi thank you for coming!! @lucianghinda

vyr,
@vyr@princess.industries avatar

the logo looks like a tentacle to everyone, right? not just me?

jonny,
@jonny@neuromatch.social avatar

@vyr
Ya I thought thats just what it was? Rails dont have little sucker cups

alda,
@alda@topspicy.social avatar

@vyr I've always assumed it to be a ballistic rocket trajectory.

djbender,
@djbender@ruby.social avatar

I've been job hunting full time for 2 weeks now. It's exhausting! If you know of any place looking for a Senior/Staff Software Engineer, I have 15 years experience working with Ruby, Rails, and Javascript. More recently the Node.js stuff has been in React. I'm also interested in Rust, Go, and Elixir. Any leads are appreciated!!

erlend,
@erlend@writing.exchange avatar

Any dev out there willing to do a simple plugin for ?

A handful of indie devs are pitching in with working examples of FedCM, an important new identity standard with direct implications for the : https://wrily.foad.me.uk/sign-in-with-big-tech-only-or-sign-in-with-whom-i-prefer

The developer of LastLogin.io has implemented FedCM on his end, but he needs the help of a Discourse plugin developer to test the complete login pipeline with his own community forum.

cc @Discourse

goto,

@thisismissem @angusmcleod neat! anything i can do to help?

thisismissem,
@thisismissem@hachyderm.io avatar

@goto @angusmcleod not right now 🙂

hsbt,
@hsbt@ruby.social avatar

Unfortunately, is dead again this year.

image/png
image/png
image/png

kalleboo,
@kalleboo@bitbang.social avatar

@hsbt @andi First, has to die

ntha,
@ntha@mastodon.social avatar

@kalleboo @hsbt @andi is also as dead as can be

image/png
image/png
image/png

esparta,
@esparta@ruby.social avatar

A little late but we are in the May 2024 SF Bay Area Ruby Meetup @

The room is packed!!

First Kayla Reopelle with and , a great intro!!

camertron,
@camertron@ruby.social avatar

@esparta 👋

amirrajan,
@amirrajan@ruby.social avatar

Dream big, start small, KIFASS. Grab your free license of DragonRuby Game Toolkit and ship a game dammit. https://itch.io/s/123455/dream-big-start-small-kifass

tosbourn,
@tosbourn@masto.ai avatar

If I had a two pence piece for every time @andycroll's One Ruby Thing acted as my second brain, I'd be able to spend all day in a Brighton arcade on the 2p machines.

https://andycroll.com/ruby/

stevehill,

@tosbourn @andycroll There are 2p machines in Brighton?

tosbourn,
@tosbourn@masto.ai avatar

@stevehill @andycroll unless inflation has got to them I thought they were a staple of all UK beach arcades!

adarsh,
@adarsh@ruby.social avatar

Hello #SFBA #Ruby Fam:

The next #meetup is this Thursday at New Relic. I will be away at #RubyKaigi but I'm so thrilled to see the new organizers making this happen monthly! We already have host companies offering space for the future events.

https://www.meetup.com/sfruby/events/300869288/

wood,
@wood@hachyderm.io avatar

This year, @rubycentral announced that 2025 will be the last @railsconf. While I’m sad to lose a favorite Ruby conference, it’s for the best. The Ruby Central team will be able to focus on their core mission: supporting the Ruby language.

https://rubycentral.org/news/anewearforrubycentralevents/

#Ruby #RubyOnRails #RailsConf

Schneems,
@Schneems@ruby.social avatar

Ever find a tutorial that was broken is some subtle but deeply fundamental way?

Ever WRITE a tutorial that was broken in some subtle but deeply fundmental way?

I just released RunDOC 2.0. A tool for writing tutorials that run and embed the results into a markdown document. Check it out https://github.com/zombocom/rundoc

Schneems,
@Schneems@ruby.social avatar

Want an example? I used rundoc for this CNB tutorial https://www.schneems.com/2024/05/01/build-a-ruby-on-rails-application-image-in-5-minutes-no-dockerfile-required/

All of the output in the tutorial is REAL output.

mackuba,
@mackuba@martianbase.net avatar

Current status: I opened about 100 links to articles and threads from Google results comparing , and and I'm planning to read them 🫠

(no, I'm not really considering Go, mostly just trying to convince myself that I'm not making a mistake starting to learn Rust and not Go 🦀😛)

mackuba,
@mackuba@martianbase.net avatar

@alexanderadam @CrystalLanguage Yeah, I've mostly ruled out Go from the beginning, I was just checking it out out of curiosity because the folks at Bluesky are using it for some more performance-critical server stuff (vs. Node/TypeScript that other stuff is written in).

(But I've just seen someone from the team post yesterday that it was using a lot of memory and spending most of the time on GC…)

mackuba,
@mackuba@martianbase.net avatar

@alexanderadam @CrystalLanguage I guess… I was already thinking about building a couple of pieces independently in Ruby and Rust and compare the performance on something larger than one function… I suppose I could try to throw in Crystal to the mix too 😅

denis,
@denis@ruby.social avatar
ctietze,
@ctietze@mastodon.social avatar

@denis Dear heavens.

Congrats!

I've been using this for 12 years on my website:

gd,
@gd@ruby.social avatar

It's so annoying to see developers calling failing tests "flaky".

Last week I found a factory that assigned a random age to a user instance, so no wonder a test that used the age in some bit of logic failed sometimes. That's not a "flaky test", that's a bug in the factory.

Today I saw a date parser bug be called a "flaky test". It was written on the 21st of April and worked fine until it began to fail today, the 1st of May.

zenspider,
@zenspider@ruby.social avatar

@penryu @gd hides briefly is generally great. Hides 99% of the time is a real pain.

penryu,
@penryu@hachyderm.io avatar

@zenspider @gd inability to repro definitely adds a dimension of difficulty. In some ways I found "briefly hidden" flaky test bugs more frustrating because they were fairly easy to reproduce, but led people to just rerun the tests a few times until they pass, rather than fix the underlying bugs.

monospace,
@monospace@floss.social avatar

"Tests provide the only reliable documentation of design. The story they tell remains true long after paper documents become obsolete and human memory fails. Write your tests as if you expect your future self to have amnesia. Remember that you will forget; write tests that remind you of the story once you have." (Sandi Metz, "Practical Object-Oriented Design")

monospace,
@monospace@floss.social avatar

@underlap Good point! A valuable practice I’d recommend for this purpose are Architectural Design Records (ADR): https://adr.github.io/

underlap,
@underlap@fosstodon.org avatar

@monospace Yeah, writing down the rationale for significant design decisions is a good idea.

IllestPreacha,

Poetic Carousel 2

Blogpost and other poem: https://blog.illestpreacha.com/napowrimo24-poetic-matrices2

Poem 2

Poetic Stanza 1 :
[['b' 'a' 'u' 'm']
['d' 'g' 'f' 'q']
['o' 'i' 'k' 'h']
['j' 'n' 'y' 'p']]

Poetic Stanza 2:
[['b' 'd' 'o' 'j']
['a' 'g' 'i' 'n']
['u' 'f' 'k' 'y']
['m' 'q' 'h' 'p']]

Behold ancient utilities Manufactured
Deliberately guided for quenched
On Icy Kingdom Hills
Joining numerous yards, Present

Brining dubious ointments jarred
And grains inside Nil
Uniquely fractured, Keeping youth
Mindlessly quiet, hiding proof

juuh42dias,
@juuh42dias@mastodon.social avatar

5 Meetup GURU-GO/Ruby Meetup Goiás

https://t.me/guru_go

image/jpeg

juuh42dias,
@juuh42dias@mastodon.social avatar
tranxuanthang,

#introduction Hey #Fosstodon and Mastodon!

I'm Thang and I'm a 26-year-old software engineer from Vietnam.

👍 What I'm good at: #Ruby, #Javascript
📝 What I'm learning: #Rust, #AWS, #Terraform
🔜 What I'm planning to learn in the near future: Qt6 with C++ or Python (to overcome my Electron addiction)

I'm the author of LRCGET (https://github.com/tranxuanthang/lrcget), a small tool that helps finding synchronized lyrics, written in Rust and #Tauri.

Thank you all for reading!

mike,
@mike@fosstodon.org avatar

@tranxuanthang Welcome aboard!

riffraff,

just watched @tenderlove's stream with Maxime on adding an optimization to for Array#pack and it's pretty cool, if you have ~1 hour it's a good way to spend it.

https://www.youtube.com/watch?v=YRSA36-LuZw

mackuba,
@mackuba@martianbase.net avatar

Hmm… ok, so this looks promising. The middle is Rake task loading records and passing them to regexps, the bottom one is a Rust program loading from SQLite itself.

I don't want to duplicate all the feed/model logic in 🦀, but maybe I can hire it to do some more of the work somehow? 🤔

mackuba,
@mackuba@martianbase.net avatar

BTW, I gotta say, the compiler is really good - it nicely guides me and tells me what I need to add to make it build successfully, even if I have no idea how to code in this language 😃🦀🦀🦀

mackuba,
@mackuba@martianbase.net avatar

Okaaaay… this might actually work!

The plan is: make Rust load posts from SQLite as "dumb" arrays, get the post text, pass it through some initial pre-check regexps, and return the list of record IDs to Ruby. Then Ruby gets this (relatively tiny) list, loads ActiveRecord models by ID and runs the full check on them. 😼

mackuba, (edited )
@mackuba@martianbase.net avatar

Oh man… I've been building several different versions of integration between and or JS whole evening… and I feel like this 😵‍💫 and ihavenoideawhatimdoing.jpg 🐶

But it's starting to work and it looks like it should be pretty fast ⚡

mackuba,
@mackuba@martianbase.net avatar

@straightshoota @alexanderadam Interesting, so I changed the regexps from /.../ to Regex.new("..."), without passing any UTF options, and that apparently already makes them as fast as before 1.8 - I was assuming that /.../ and Regex.new("...") are equivalent, are they not?

(and it I pass NO_UTF_CHECK, then they are even faster than pre-1.8)

mackuba,
@mackuba@martianbase.net avatar

@straightshoota @alexanderadam Oops, nevermind, I messed up the escapes (haven't converted \b to \b inside the strings)… Yeah, so now it works the same as the literal, and if I pass NO_UTF_CHECK then it works about the same as pre-1.8, so I guess that's what this is about.

cdarwin,
@cdarwin@c.im avatar

Georgia lawmaker runs secret election-conspiracy Telegram channel

A Fulton county commissioner in Georgia has been
operating a private Telegram channel for years,
propagating debunked claims about the 2020 election,
and spreading accusations of crimes by county employees,
including , an election worker defamed by Rudy Giuliani in the wake of Donald Trump’s 2020 loss.

, a Republican representing the relatively conservative cities of Fulton county north of Atlanta,
indirectly identifies herself as the creator and administrator of the Fulton County Elections channel on Telegram,
a mobile messaging platform,
in multiple posts to its page.

The channel uses the official logo of the Fulton county board of registration and elections.

The channel, created in May 2021, had 133 subscribers as of Tuesday night.

In a post from 14 February, the administrator of the page accused
Ruby Freeman,
a former Fulton county elections worker,
of misconduct,
despite a Georgia elections board finding that all of the conspiracy theories about her were “false and unsubstantiated”.
“We clearly see her double scanning ballots,” the channel administrator wrote about Freeman, a regular target of attention on the Telegram page.
“We see her incriminating Facebook posts. Yet, she is made to be a victim and given hero awards.”
https://www.theguardian.com/us-news/2024/apr/18/fulton-county-telegram-election-conspiracy-bridget-thorne?CMP=Share_iOSApp_Other

  • All
  • Subscribed
  • Moderated
  • Favorites
  • ruby
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • InstantRegret
  • slotface
  • osvaldo12
  • kavyap
  • khanakhh
  • Durango
  • megavids
  • everett
  • cisconetworking
  • normalnudes
  • tester
  • ngwrru68w68
  • cubers
  • modclub
  • tacticalgear
  • provamag3
  • Leos
  • anitta
  • JUstTest
  • lostlight
  • All magazines