News for hackers. Stuff that matters.

bradleyy

Re:What even are Cloudflare Durable Objects? on Friday October 02, 2026 @10:35PM (#49940908)
They're mostly pixie dust and magic.

It's kinda crazy, frankly, that such an ostensibly simple mechanism assembles into pretty crazy systems: websockets that scale for cheap, etc.

I know a shop that still runs an Apple ][: they have a Numerical Control machine. For those who don't know, NC is the predecessor to Computer Numerical Control, i.e. CNC machines.

They run on punch tape.

So this Apple ][ is connected to simulate the punch tape reader, and send the (I think) G-code commands to the machine. So it's now a CNC, managed by an Apple ][.

Re:Code similarity detection using Tree-sitter on Thursday September 24, 2026 @04:00PM (#49836069)
Thanks for posting this; I'm very interested in finding similar chunks of code in an AST-ish fashion, and using tree-sitter seems perfect.
Reaction to the title:

Only two?!

It might be my terminal ADHD speaking though.

Re:We made Playwright 2x faster and 80% more token efficient on Saturday September 19, 2026 @11:38AM (#49767437)
I'm using playwright to do diagnosis on customer sites, and I'm wondering some things:

1) Does it have full Chrome Devtools support? Like, able to diagnose where a fetch() came from, what script sets a cookie? 2) How hard would it be to set up in an AWS Lambda (I can run Playwright without needing to run a container, which saves a lot of startup time/cost)?

Always interesting to see forward work on these kinds of tools which get used so foundationally billions of times a day.

Agreed; the frontier models have gotten remarkably good at these sorts of analyses. I write fiction using AI, and I have a very involved process of humanization (remove AI tics, etc.) including running an ensemble of AI models, and it's pretty remarkable what they turn up. Note: I always mark the works as AI generated; my goal is to have good stories, not deceive.
Re:I've operated petabyte-scale ClickHouse clusters for 5 years on Saturday September 12, 2026 @11:29AM (#49673327)
They have a partnership IIRC, they could pay ClickHouse like they do many others.
Re:I've operated petabyte-scale ClickHouse clusters for 5 years on Friday September 11, 2026 @12:30PM (#49661155)
I'm aware; unfortunately that then leads to "must have a vendor approval" and a lot more process. If it were RDS, then it'd just be provision and done.
Re:I've operated petabyte-scale ClickHouse clusters for 5 years on Friday September 11, 2026 @11:47AM (#49660398)
I just wish Amazon would offer it as an RDS DB; it'd make my life so much easier.
Re:A better SQL in 11 lines of code on Saturday August 29, 2026 @03:24PM (#49492545)
I'm afraid I'm in the "uses column store" and not "understands the actual storage mechanisms", but this feels like something that's essentially the same thing?

Yes, I could ask my local AI, I'm just curious if anyone here's wondering the same thing.

This is a really cool idea, and now I'm thinking about adapting this for racecars; the telemetry and live tracking possibilities seem fantastic.
Re:Astro Loop on Saturday August 01, 2026 @01:38PM (#49136562)
I love that folks are releasing things that are privacy-first, no ads, like a gift to humanity. Thank you for this.
Could not agree with this more: with a little insulin on board, a quick walk (even 5 minutes) has a profound impact.

Calf raises are absolutely diabolical as well, if you haven't tried them. There's some lore around this that the calf muscles are better adapted to absorb glucose, I haven't dug in other than to verify they do work.

The invention of the CGM might only be second to insulin in improving the lives os T1Ds.

As a Type 1 Diabetic, I just want to say: the diabetes industry is a racket.

I have to repeatedly go to a doctor to get prescription refills for a drug that I have to self-manage. The doctor provides no input day-to-day, where a mis-dose is a death sentence (the first time I nearly put myself into a coma, doc was like "oh yeah that can happen: I can give you glucagon shots as a scrip". Thanks for the heads up!). But cool, to get the drugs that keep me alive, I have to talk to a doctor that will look at my Dexcom charts and mumble some things.

So no surprise that the ADA is a fully industry-captured organization, even though I'm certain that there are good people doing good work for the right reasons.

If it doesn't have 65,536 Motorola 1-bit processors connected in a 12-dimensional hypercube, and a stunning case designed by Tamiko Thiel, I'm out.
Also T1D, and I think the point here is adding lean muscle helps with blood sugar, and that seems to be pretty well established at this point.

Does weight lifting have an immediate effect? Like so many T1D things (I suspect you'll know what I mean): insulin on board/carbs on board/sleep/cortisol/temperature/phase of moon/vibes all play a part, haha. If you like doing the same thing and getting different results, you might be Diabetic.

Anyways, hope you're managing well, and may your time in range be great!

Not a direct example, although I know there are some (I just don't trust my personal knowledge on African hunts) from the US:

The Pittman-Robertson Wildlife Restoration Act of 1937 was lobbied for by hunters to self-tax (excise taxes) and reversed a long decline of wildlife in North America. The taxes raised $1.3 billion in 2025 alone, dedicated to state wildlife conservation and public access projects.

This is one pillar, there's a fishing one, duck stamps, etc.: hunters pay their own way for conservation (well, much of the P-R money is gun/ammo sales from non-hunters, but hey).

I'm using "harness engineering" to do this: smaller tasks, well defined stop conditions, runs in a VM with --yolo-mode. I've worked up to this, and ended up rolling my own thing because nothing I found did what I wanted:

* agent fan-out * VM containment * full harnesses with test/exit conditions * runs fully unattended

I expend a lot more energy on plans, though. I've got a full "Karpathy knowledgebase" that's effectively my jumping off point, so some of my projects have literally dozens or hundreds of docs they can source to build plans.

Skittles C4 is a Genuine Banger(TM).

Skittles candies are too grainy for me. I know they're a go to for many.

What if Financial Times has a vested interest in the real estate industry, and therefore wants RTO mandates? Something something AI I mean.
I think I'm actually going to go talk to my congressperson/senator/anybody who will listen. It's such an insult, that I have to go to an endo, who in my case probably knows some technical ephemera better than I do, but has done absolutely nothing to help keep me alive besides write prescriptions.

Like didn't even warn me of the dangers of hypoglycemia. After I nearly went comatose one time, "oh yeah, we have glucagon you can get if you'd like a prescription". Which is cool after you've been passed out in front of a restaurant, with people looking at you like they're going to hit you with narcan.

One of my secret terrors is getting narcaned by a cop.

Ideally, you're looking for something that spikes blood sugar fast (i.e. high glycemic index). This is why e.g. Skittles/Sour Patch Kids/fruit snacks (mainly the kind that don't... actually have any fruit, lol) are a go-to for type 1s.

You're basically looking for something that's analogous: as crack is to cocaine, <low snack> is to sugar. Hits fast and doesn't last as long.

I have to admit, the fact that a 12 pack is the same as a case of energy drinks combined with my "goblin energy" doesn't bode well, haha.
I'm trying to convince myself. But then it's just one more thing that the medical community is gatekeeping (you didn't book your followup appointment in time, so you're treated as if you're no longer in life-threatening danger of hyperglycemia is a reality for me, because I have a hard time with medical appts).

We really need some version of "permanent prescriptions" for insulin. Not OTC, because then insurance doesn't cover it, but infinitely renewable, so you don't have to go see an endo just to continue living.

I always carry ice packs and a yeti cooler. I have some other carry rigs, but 99/100 times if you see me out and about, that's me: cowboy hat, wayfarers, and yeti cooler.

So I just keep sour patch kids all the time in my pack.

But I'm always up for something else, especially when the SPKs are in an "ick" season. I appreciate the recommendation. SPKs have an absurdly high glycemic index though and seem pretty predictable for me.

I really need to get proper glucose tabs and stuff, and be like a "professional diabetic"... but I'm working on time-in-range, not "did you swab with alcohol" at this point, lol. I just feel good that I'm not shooting through my clothes.

Sorry for the day, fellow traveller, hope you get things nailed shortly.

This is literally the reason I'm still on multiple daily injections (MDI). I'm sympathetic to the author, I spent 50+ years without Type 1, and a few with it.

Just this morning, I ended up bolusing correctly, but then an emergency caused me to perform a lot more exercise than I had planned on. Then, bam, I'm paralyzed in bed, thinking about calling the ambulance, eating sour patch kids.

And believe me, when sour patch kids are an effective medicine, you have a disease that must just exist for spite.

So yeah, I feel like I can control conditions better with MDI, and can't seem to make the jump to a pump, even though it'd almost certainly improve my health and long-term survivability.

As someone working in the industry: August 1 is hanging out like the Sword of Damocles for the ~500 registered data brokers in California.

For consumers, it's already available though! You can join 275K of your neighbors and sign up.

Re:"Why not just use Lean?" on Monday April 27, 2026 @07:20PM (#47928601)
The two hardest problems in CS: * naming * cache invalidation * off by one errors
Re:"Why not just use Lean?" on Monday April 27, 2026 @07:19PM (#47928593)
Do not be surprised when I fork and call it Sizzurp.
Honestly, a pretty nice idea if you just want search without installing a bunch of dependencies/infra. I haven't used Tantivy, but I have a project it seems perfect for!

Older ยป