Profile avatar
pvdz.ee
tafka @kuvos eng @socket.dev - 15yr js/ts - rust - ex vercel - ex fb - js1k-guy
675 posts 352 followers 84 following
Regular Contributor
Active Commenter

Linting complaining about a `let` destructured object when some (but not all) of the bindings created this way could ("should") be `const` is so annoying (`let {a,b} = c`). Doesn't happen too often but the only course of action is to repeat the code or make code harder to read, or both. Bah

Maybe the experience of working at big tech has peaked. Or maybe somebody is pushing the AI FUD very hard. Time will tell.

We have our own weird-haired clown in NL. But it looks like he's finally giving up. About damn time. Maybe we'll get a normally functioning government now he's proven himself to be, in fact, incapable of leadership. Maybe. Not to mention some of these "ministers". gtfo. Can't fall soon enough.

I may not be... Fit to print

I think the fallacy of LLM code assistants is that it feels as if you're going fast and they're doing a lot of work. But then you have to validate them, correct their course, and you end up with a ton more work, still typing it all out anyways. It do be addictive though.

If a company like msft is writing over half its code through LLMs then either they must have some kind of secret super LLM that surpasses current public models by a few magnitudes (unlikely) or the generated code is a mess and the code base will get bloated and unmaintainable as heck (more likely).

Finally got nice detection for ternaries in Preval. And by marking them, something like this becomes a lot easier. Before the binding was considered a let but now that I detect and mark them I can consider all reads for that binding as const. And so this sort of rule becomes a lot easier to do! :D

The change in question is pretty cool, something I've wanted for a while: a dynamic rotating list of transform rules. This means that when it restarts it doesn't always start over from the same rules but it's much more dynamic. Of course this dings all the heuristics. Which is good. But lots of work

The thing about Preval is that I keep getting into these inception cases; I've got a change planned for a month now and every time I'm close to a PR with minimal test changes, there's just one I gotta fix, and then I keep going into rabbit holes where I stash, go deeper, stash, etc. Until I fix it.

Managed to figure out how to tell the nvidia card to turn off the fans. `nvidia-settings -a [gpu:0]/GPUFanControlState=0` (the [gpu:0] part is relevant for me, it wouldn't work without that). This still refuses to set it between 0 and 30, that's a little annoying, but at least 0 works. I need ~5.

Let's crank up that brain of yours, Gemini. I didn't it see take three thinking passes before, heh. But it was still generating "is `void x` preserving x?" sort of hypothesis. All super basic stuff. The new tests created are more in the desired direction (though Preval certainly supports these too).

Oof. Gemini. How does it go off the rails so hard here?

It's really like a junior programmer. AI was supposed to not have this. We've gone too far.

I'm curious what memory usage would look like with LLRT (server js env like nodejs, except without garbage collection). I guess it wildly varies between applications. For a stateless parser, for example, you could explicitly drop the root of the AST and that should be that. But is it?

"This" morning i was in Austin and I made it in time to the musical of my oldest. That was quite a challenge but made it work. Reeling on 1.5h of sleep but ok.

Gonna be in Austin for the week 🙃 First time there. I always thought it was bigger than I now realize it is. I mean, still huge compared to Dutch cities, but I can't even fly direct to it. Let's hope the border queue is good on me this time 😓

Randomly cool stuff: onemillionchessboards.com#3048,3743 A million chess boards. A bit disappointing that you can make infinite moves as one side but oh well. Funny concept I once created onemilliontiles (100x100) php+mysql, with a "3d" zoomer. Shared hosting did not like it. Quite db intensive 🫠

The new computer is noisy af :'( Even playing chess would have fans go apeshit while reviewing. Turns out it's a feature I knew about and had long forgotten: intel turbo-boost. Trigger happy heat inducing pos. This boost is not worth my discomfort at default levels. askubuntu.com/questions/61...

Finally got webgpu running. What's a cool AI webgpu demo? Don't give me boring llm chat. Where's the "AI plays Zork" or "voxel sculpting with AI" demos?

To fix "Unable to create GL context" in various core windows of Ubuntu (and probably others) you need to update snap. How to is obnoxiously hard to find so here's the thread. tldr it's "sudo snap refresh --channel=latest/edge snapd" www.reddit.com/r/Ubuntu/com...

Computers with built in airbags. For when they're running too fast? I guess air escapes, cooling it down. Wow. What will they come up with next!

Today marks the end of node 18! This means we now get modulezzzz everywhere I wonder how much effort it would be to back port strip types to node 20. Seems like a trivial thing but probably not. Otherwise we have to wait another two years for that stuff to phase out.

Car is running an update. Takes an hour (wtf?). Can't sit in it, can't use it, can't even open it. No feedback on progress, status, or ETA. Only way I know it's not finished yet is that the doors won't unlock. Okay, cool cool. <enter windows joke here> And there's like three of these queued.

Hm, I wonder if strip types allows for a sort of conditional compilation hack. Consider this; let's say you have a verbose mode that is optional. What if you could turn the runtime code that handles the verbose logging into some kind of type annotation with one simple change? Feels plausible 🤷

Something that annoys me. I exclusively play Kings Indian Attack chess opening as white. I play at the 1100 level. That's not very good. This opening is the fifth best opening and relatively uncommon. So how come everyone and their grandmother knows how to play against it instantly. 5 moves in!

We got a new car. First time electric. And adaptive cruise. It's... I'm not sure I enjoy the tech so much just yet. That goes double for road sign recognition. It'll see them but the system isn't smart enough to know what goes when till where. Add ACC to that and it's a Pretty bad experience 😞