Peter Ullrich
@peterullrich.com
2.2K followers 570 following 1.8K posts
#ElixirLang Developer. Blogger. Loves: Dad Jokes. Sport. Africa. Founder: ezsuite.dev + IndieCourses.com + LetterToYourself.com Learn Elixir: runelixir.com Blog: peterullrich.com Courses: indiecourses.com/directory
Posts Media Videos Starter Packs
Since Bluesky doesn’t have polls yet, I’d like to try the following format as a workaround:

I will ask the question and then add one comment per poll option. To select an option, simply like the comment.

Okay, let’s try:

Who’s the best girl in the whole world?
No, I wanna sit in a classroom all day with free food and no obligations other than to listen and to ask questions :D
My school was in the posh area of town, so I had the privilege to be educated by incredibly talented teachers. Didn't appreciate it back then but now, I know what I had.
School is wasted on kids. I hated physics back then, but would love nothing more than to sit in class and listen to a great teacher explain electricity to me now.
Reposted by Peter Ullrich
If a company explains a layoff with “we don’t need these people anymore because of AI” this should be almost always translated to “we over-hired massively and now use AI as a convenient excuse to rectify our mistake without looking bad“
Reposted by Peter Ullrich
Sweet #Ecto datetime helpers? Yes, please! 😄

- ago, from_now, date_add, datetime_add 👨‍🍳🤌

#ElixirLang
Reposted by Peter Ullrich
New YouTube Channel Alert: Erlang Dev 🙌

Roberto Aloi's new channel is a dedicated source for mastering the Erlang developer experience with practical knowledge to help navigate the evolving landscape of Erlang development. 🌐

Episode 1: Triggering and debugging Erlang tests from VS Code is live!
Episode 1: Triggering and debugging Erlang tests from VS Code
YouTube video by Erlang Dev
www.youtube.com
Reposted by Peter Ullrich
🎉 New week and I'm officially starting my new Senior Elixir Developer role at https://rollhub.com!
It happend so quickly that I even haven't got a chance to feel it.
🙏 Thanks to all who supported me 🙏
#buildinpublic #elixirlang #myelixirstatus
Well I’m SORRY for trying to educate the general public 😜
Reposted by Peter Ullrich
🚨 New Blog Post 🚨

EXTRA EXTRA! Hot off the press! The power of binary pattern matching revealed! The in-depth investigation you don't wanna miss! Get your copy now! #ElixirLang

peterullrich.com/binary-patte...
Binary Pattern Matching in Elixir
Decode bits and bytes into meaningful parts using the magic of Elixir pattern matching.
peterullrich.com
Haha, you two 😄 got nothing better to do on a Saturday?! 😜
Great examples! I actually looked at the BMP280 specs and the pattern matches in the BMP280 library when I “designed” this table 😄
Great catch, thank you! I renamed it simply to `sign` since it's the sign of the float.
Blog post is out now: bsky.app/profile/pete...
🚨 New Blog Post 🚨

EXTRA EXTRA! Hot off the press! The power of binary pattern matching revealed! The in-depth investigation you don't wanna miss! Get your copy now! #ElixirLang

peterullrich.com/binary-patte...
Binary Pattern Matching in Elixir
Decode bits and bytes into meaningful parts using the magic of Elixir pattern matching.
peterullrich.com
🚨 New Blog Post 🚨

EXTRA EXTRA! Hot off the press! The power of binary pattern matching revealed! The in-depth investigation you don't wanna miss! Get your copy now! #ElixirLang

peterullrich.com/binary-patte...
Binary Pattern Matching in Elixir
Decode bits and bytes into meaningful parts using the magic of Elixir pattern matching.
peterullrich.com
Reposted by Peter Ullrich
Ash lover, if you have time and you are a user of AshJson, there is a Feature-requested issue, which needs to be implemented 🤭

Issue link: github.com/ash-project/...

#ElixirLang
Thank you! Added to the blog post :)
I always remembered it by thinking of a tiny manta ray which I'd call "mantissa"
Reposted by Peter Ullrich
Hey folks! We have a CVE up for #AshFramework bypass policies. It's a *highly unlikely edge case*. But, as always, we take security extremely seriously and will always follow proper procedure here. Props to @maennchen.dev for reporting and resolving 🙇
TIL or rather Today I Remembered how floats are encoded into bits!

This is the value "12.5" encoded into a Float64 (default size in #ElixirLang)

It's also a little teaser for my next blog post about binary pattern matching in Elixir ;)
A screenshot of how the value 12.5 is encoded into bits which is 1 bit for the exponent sign (0 for positive, 1 for negative), 11 bits for the exponent, and then 52 bits for the significand/mantissa/coefficient.
When I said that I prefer Bluesky web over the app because it’s so broken that I doesn’t get me hooked, I meant stuff like this 😄
Which is wise because you know them well enough to never trust them :P