@WebReflectioni
iAccount based inItaly
About this account
- Account based in
- Italy
- Connected via
- Web
Account-level information from X, not a live location or the device used for a specific post.
Web, Mobile, IoT: all JS things since 00's - opinions are my own ™ Principal SW Engineer @anacondainc working on OSS stack 🦄
Milan, Italy
Joined May 2009
- Tweets44.6K
- Following1.3K
- Followers10.2K
- Likes15.6K
I honestly don't understand why most software ship with dozen+ boolean flags when bitwise operations would carry a single summary of the whole state and make everything easier/faster to reason about.
if you mention "only 31 options to deal with" I remind you BigInt works too 🤷
my latest post around this topic is in here and I urge you to have a read: it's just how permission works but it scales to any amount of operations dev.to/webreflection/about-b…
this is how I've solved possible ID saturation on most of my projects: don't just id++ if you want to be sure that such id is unique, use Int32Array or Uint32Array instead to let the ID cap and reset without issues, granting safety against MAX_SAFE_INTEGER
github.com/tarwin/tinyjsapp/…
I know that 9007199254740991 feels like a big number, but if you think about it, are you designing software that will eventually break/explode or you believe your logic could run for hours, weeks, years without ever breaking?
the ++id on integers is great until it's not in JS 👋
The @NVIDIAAI Sync is a decent tool but if you launch it from a DGX Spark itself it doesn’t configure it as available device for a cluster out of the box so if you have 3 you end up by default configuring the cluster for the other 2 but not 3 🤦
today I might have damaged one spark and as much as I'd love to say "accidentally" it was entirely my fault.
the bad news, I've no idea if it'll work again, on the bright side, if I manage to fix it you'll have full report as reference ... if not, it's probably my worst mistake.
Andrea Giammarchi 🍥 retweeted
I just spent 3 hours with fable creating the perfect feature
sol did a thorough review
grok did a simplicity pass, catching extra guardrails that should not exist and code that is just superfluous
sol did one more pass ensure simplicity didn't break any contracts
and all of this to produce one of the worst interfaces I have ever seen. Actual pure insanity
JSONL is indeed pretty neat and, for homogeneous records, it could be queried, filtered and so on with relative ease (imagine a "time" or "id" or "name" field across multiple lines, potentially thousands).
love it levelup.gitconnected.com/jso…
why am I reading that native JS signals have reached stage 4 all over the place? AFAIK that never moved from Stage 1, right?
True. The “I’m X developer because it’s better than Y” days are just laughable these days (that’s always been the case but now is also pointless to even debate).
Web lands JS, that’s the only constraints. BE could be anything 🥳
wonderful read that checks most of my concerns
earendil.com/posts/measuring…
probably late to the party but … just brilliant!
opusfived.dev/
Replying to @WebReflection @andrestaltz
closing: we're better with AI and yes, @andrestaltz might have approved something that was already supervised, tested and approved by others, the video doesn't tell enough of that PR story, but "use AI to your convenience, not to skip duties" was the message around this thread 😇
adding to the thread, of course @andrestaltz did not approve me using his video to state a feeling around the filed (it was just that) ... so this thread might disappear soon, as I had no ill intentions with it:
nitter.cf/andrestaltz/status/209…
still, the points around the video are real
Replying to @WebReflection
Oh but you totally have not seen my code, and you have literally zero idea what you're talking about. I care about code quality (up until the point it actually matters for users, for security, for performance etc), and I have various agentic loops to improve code quality.