vyr,
djbender, 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!! #ruby #rails #rubyonrails #RubyHire #fedihire #getfedihired
erlend, Any #ruby dev out there willing to do a simple plugin for #discourse?
A handful of indie devs are pitching in with working examples of FedCM, an important new identity standard with direct implications for the #fediverse: 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, @goto @angusmcleod not right now 🙂
hsbt,
esparta, A little late but we are in the May 2024 SF Bay Area Ruby Meetup @ #NewRelic
The room is packed!!
First Kayla Reopelle with #OpenTelemetry and #Ruby, a great intro!!
amirrajan, 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, 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.
stevehill, @tosbourn @andycroll There are 2p machines in Brighton?
tosbourn, @stevehill @andycroll unless inflation has got to them I thought they were a staple of all UK beach arcades!
adarsh, 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.
wood, 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.
Schneems, 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, 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, @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, @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, Nanoc turns 17 years today!
gd, 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,
penryu, @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, "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, @underlap Good point! A valuable practice I’d recommend for this purpose are Architectural Design Records (ADR): https://adr.github.io/
underlap, @monospace Yeah, writing down the rationale for significant design decisions is a good idea.
IllestPreacha, Poetic Carousel 2
#NaPoWriMo #NaPoGenMo #Ruby #Python
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, PresentBrining dubious ointments jarred
And grains inside Nil
Uniquely fractured, Keeping youth
Mindlessly quiet, hiding proof#creativecoding #poetry #poem #ciphers #transposition #micropoem
juuh42dias,
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, @tranxuanthang Welcome aboard!
riffraff, just watched @tenderlove's stream with Maxime on adding an optimization to #YJIT for Array#pack and it's pretty cool, if you have ~1 hour it's a good way to spend it.
mackuba,
mackuba, BTW, I gotta say, the #RustLang 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, 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, @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, @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, 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 #Ruby #Freeman, an election worker defamed by Rudy Giuliani in the wake of Donald Trump’s 2020 loss.#Bridget #Thorne, 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
flavorjones, I really loved this post by Kevin Newton and the Shopify team about the new Ruby parser, Prism:
https://railsatscale.com/2024-04-16-prism-in-2024/
So much Ruby history!
mackuba, I've been playing with benchmarking some regexp matching code in several languages last week (I want to replace that part of #Ruby code with something faster - I was thinking of Crystal or Swift). ChatGPT helped me write some versions :)
The results were… unexpected. #swiftlang & Crystal didn't do well, but JS & PHP did 🤔
mackuba, Finally, I also had an idea to try #Rust (which I don't know at all), and together with GPT we've managed to write something working. Rust turned out to be the fastest (but only in release mode, debug is very slow).
Interesting that the new #swiftlang native regexp seems… super slow? I've only run it at 100 iterations instead of 10k, and it took a few seconds… 🤔
Here are all versions: https://github.com/mackuba/regexp-benchmark
samwich, @mackuba If I'm reading the Instruments output correctly, it looks like the unicode-aware word boundaries ("\b") are very expensive for Swift's Regex.
dansup, Imagine getting paid to work on @Mastodon full time!
They are looking for #ruby devs!
Apply: https://jobs.ashbyhq.com/mastodon/de1e4d8a-5639-4b6a-86d7-97bd9c768b02
acute_distress, @fredbrooker @dansup @Mastodon port it to php if you don’t like Ruby
acute_distress, @fredbrooker @dansup @grishka things have moved on since 1998. Come join us
budu,