Eduard G.Castelló
banner
elpatroned.bsky.social
Eduard G.Castelló
@elpatroned.bsky.social
280 followers 990 following 440 posts
SaaS B2B CTO http://en.rzilient.club || i write #Ruby #Rails #React #Go 👨‍💻 code every now and then unless 📢 Punk 🏄‍ Surfing 💾 Retro Gamer 🐕 Dog Lover
Posts Media Videos Starter Packs
Pinned
Just modded an original Amiga 500 case into a modern Linux machine 🖥️🐧
Added a mechanical keyboard with the Amiga layout and a case fan—temps now down to 40–45°C! Bonus: there's even room for an Apollo #VampireV4 Standalone 😎
Keyboard from @amigastore.bsky.social #RetroComputing #LinuxMod #Amiga500
🪟✨ This shop window in Barcelona is like a time capsule, unchanged for 40 years! Still showcasing the Commodore 64, Spectrum, and other retro computing legends 💾🕹️

#Barcelona #RetroComputing #Commodore64 #ZXSpectrum #VintageTech
Almost forgot! Days ago I made a turning upgrade, just a diagonal line crossing the case, inspired by the original #commodore #amiga rainbow 🌈 V logo.
Quick improvement, I've ordered a new LED adapter for the #amiga500 case mod. Just needed a bit of soldering, and done, power and hd light blinking 😍
I can't think of anything else, but I started looking for another thin mini-itx for the newest AMD Ryzen 😸
#amigakit #casemod
Turns out I'm going into #Zig 😅 and from there interfacing with C 🙌
the build system also, cross-compilation & packaging across OS/targets makes things much easier.
Curious if others here are using Zig in embedded/IoT too?
Yes! got the same feeling with Go, I still use Go a lot especially for server-less and micro-services, it’s a great fit.
But now that I’m diving into #IoT, #Zig feels more suitable.
I like the C-level control and simplicity iterating with C libs.
The Zig integrated testing tools and...
some conventions even feel familiar. The joy of coding in Zig is surprisingly close to the joy of Ruby, which makes the learning curve smoother and the time I can spend coding way more rewarding. Has anyone else felt that same vibe?
For work I had to dig into systems programming,so I decided to explore #Zig. Coming from years in #Ruby (and C++ as my last systems language), I was worried about syntax changes and the mindset shift of low-level programming. What surprised me is how clear Zig’s syntax feels coming from Ruby (1/2)
#college days, those were the most intense and fun days of my youth, full of laughter, chaos, and unforgettable memories. Now we don't see each other every often, but when we do it's like it was yesterday 💪
My sleepyhead Joy 😍 a border collie after a hard day work 😅
Who knew a simple paint job could make it that much cooler? Retro vibes, sharper than ever. 🖤🧠 #RetroTech #Amiga500 #PCMods
After two weeks away, it’s time to get back to work. Summer goals:
- Practice #Zig
- Delegate more legacy work to my colleague
- In my free time, watch the top 25 movies of all time with my wife and eat buckets of popcorn 🍿
My vibe at work these last couple of days, sit on meetings...
It's either that—embrace the #AI —or start packing for #Arrakis, harvest some #spice, and load up on melange to keep up! 😅
Do I use AI code assistants? Yes, I do. Do I use them for everything? Of course not. For documenting code, testing, repetitive tasks like error handling in #Golang, even #TDD—AI makes those easier. It gives me time to focus on the important stuff: #patterns, #architecture, and logic.
I can't catch a break on trending things. Last weeks I heard about #vibecoders, and it turns out it’s been a thing for a while… a while! Like what, weeks! Too fast, man. Too fast…I need holidays 😅
a man says i can 't catch a break in front of a poster of aux buttes
ALT: a man says i can 't catch a break in front of a poster of aux buttes
media.tenor.com
Just modded an original Amiga 500 case into a modern Linux machine 🖥️🐧
Added a mechanical keyboard with the Amiga layout and a case fan—temps now down to 40–45°C! Bonus: there's even room for an Apollo #VampireV4 Standalone 😎
Keyboard from @amigastore.bsky.social #RetroComputing #LinuxMod #Amiga500
hex = encrypted.unpack1("H*")
sql = "SELECT pgp_sym_decrypt(decode('#{hex}', 'hex'), #{ActiveRecord::Base.connection.quote(secret)})"

Anyone else run into this? How’d you solve it?

#PostgreSQL #RubyOnRails #pgcrypto #encryption #security #bughunt
Crazy day 🥵
Spent hours debugging why pgp_sym_encrypt + JSON in #Postgres wouldn't decrypt in #Rails.
Turns out: if you store encrypted BYTEA with #pgcrypto, NEVER decrypt using $1 param — Rails/pg treats it as UTF-8 and breaks. Use decode(hex, 'hex') instead.
My tech stack evolution:
C → C++ → Java → Ruby → Go
Full circle moment... am I heading back to C? 🤔 😂
BTW before C it was Perl, but I'm definitely not going back to that 🫠