zadikian

Joined 8 months ago

Karma
243
Submissions
316
Member since
Feb 11
Alec
View on Hacker News

Recent submissions

Comment · 16 days ago
This app would work with a Bluetooth speaker that has a mic in it, right?
Comment · 16 days ago
Was about to guess
Comment · 2 months ago
You do sometimes get to unlock it by being allowed to use calculators in more advanced classes
Comment · 4 months ago
And then the 100 lines of JS/Py ends up being way slower than the manual SQL, plus the autogen'd SQL part of it is slow, plus you can't even get the SQL query to profile without running the actual thing with prints.
Comment · 4 months ago
I never use ORMs. But slightly before 2014, there was still kind of a reason to use them, getting/setting a whole nested bag of fields at once that you don't care about individually. Json/jsonb now handles that better.
Comment · 4 months ago
The part about durable workflows is technically correct, but it's focusing on different things than what I've ever run into in practice. Any mildly complex system will have side effects outside your DB, then you want idempotency. If you have no side effects, you probably don't need a durable workflow in the first place? Maybe there's a more concrete example.

I have rolled my own little durable workflows in Postgres before, in fact before I even knew durable workflows were a thing with solutions like Temporal. That's fine for many cases where you aren't doing enough steps for it to be tedious, and/or you want permanent records. Would do it again, but not for atomicity reasons.

Other comments have already discussed the issue with the outbox UDF, your external system has to poll and retry either way. It works though. Maybe I'm misunderstanding this?

Comment · 4 months ago
So the author made a Rust to C transpiler and immediately used it to transpile... the Rust compiler. I love it.
Comment · 4 months ago
Comment · 4 months ago
Almost all mobile carriers use v6, but not exclusively. They also hand out a v4 to every customer. The v6-only part is their internal network.
Comment · 4 months ago
The saying is you build better abstractions if you don't build them too early.
Comment · 4 months ago
Yep. Keyword "tried," as in they did it for a while then hit a point where it's impossible to faithfully follow the abstractions because they're wrong.
Comment · 4 months ago
I always felt like I abstract and modularize things way less eagerly than other programmers. Was pleasantly surprised to find that LLMs do it mostly my way by default, then again they're also bad at abstracting when it's actually needed.
Comment · 4 months ago
Not necessarily. I've gone down this rabbit hole in another thread, tldr there are alternatives that would've been easier initially but with the downside of leaving the routes fragmented.
Comment · 4 months ago
I agree, also making it do useful work could detract from how well it works as bot-prevention. Recaptcha suffered from its own success eventually, having to ask people to read nearly impossible things, and now many sites are instead asking me to solve puzzles with no practical use.

P.S. Great to see you, omoikane

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton