172 karma · joined Aug 12, 2024 (2y ago) · 65 submissions
comment 1y ago · link · parent
my psych kept giving me everything by Adderall. So I went to one of those online doctors and got Adderall through her.
Then I just told my psychiatrist that I have Adderall prescription and she took it over.
For the record, she’s actually really reasonable and I like her but very conservative about the stimulants. Which when I finally got them were a revelation. Medication that actually works.
comment 1y ago · link · parent
Now I do C++ and I would fight to the death to keep autocomplete.
But Copilot I bought a license for a got a refund for after a few months. In the net, it wastes your time.
And I mean, copilot in particular is especially bad. It refuses lots of valid programming questions. Other LLMs are better. But they still are wrong a lot.
comment 1y ago · link · parent
I find imperative better for expressing state machines. I find declarative better for backtracking.
You can write a state machine with just a loop, an assignable, and conditions. Writing state in prolog is irritating.
comment 1y ago · link · parent
-- my attempt:
Imperative defines the order and semantics of each step.
Declarative defines the prerequisites and intent of each step.
The algorithms each can implement are equivalent.
comment 1y ago · link · parent
Is it worth spending a bit more time up-front, hoping to prevent refactoring later, or is it better to build a buggy version then improve it?
I like thinking with pen-and-paper diagrams; I don't enjoy the mechanics of code editing. So I lean toward upfront planning.
I think you're right but it's hard to know for sure. Has anyone studied software methodologies for time taken to build $X? That seems like a beast of an experimental design, but I'd love to see.
comment 1y ago · link · parent
for a really simple example: languages which allow narrowing a numeric to a float, but also let you interpolate either into a string without knowing which you have.
A statically typed Console.log in JS/TS would be an unnecessary annoyance.
comment 1y ago · link · parent
I love strong types. I love for loops. I love stacks.
GP! Try Rust. Imperative programming isn’t orthogonal to types. You can go hard in Rust. (I loved experimenting with it but I like GC)
GP! Try data driven design. Imperative programming isn’t orthogonal to declarative.
Real talk, show me any declarative game engine that’s worth looking at. The best ones are all imperative and data driven design is popular. Clearly imperative code has something going for it.
and the advantages aren’t strictly speed of development, but imperative can be clearer. It just depends.
comment 1y ago · link · parent
Luna is sort of made from the Earth. And it's so close that Earth has a stronger pull on it than Sun.
So we have set foot on another stellar body, sure. But we also... kind of haven't.
And then we had to retreat from it anyway. Homo sapiens, hunter champions, arrived at an uninhabited body and were outmatched.
Way to go, smartest species we know of. You've done jack shit.