HN user

cyberpunk

3,456 karma

mef.

Posts6
Comments1,511
View on HN

I’ve never enabled swap on a production system in ~25 years, so i have to say it’s not really my experience.

Shared memory can be a problem, sure, which is why I don’t generally use that either. Erlang, of course, generally does not use shared memory outside of some cases with ETS etc which must be used carefully but i’d rather solve those problems myself.

Concurrency systems in other languages i’ve written, for example Go, there are ways to architect to avoid it also. I’d rather go slightly slower and copy be value than have to solve mutex contention and trying to make everything atomic and so on. YMMV, I don’t work in HPC just large complex busy systems.

Pre-Emptive scaling ala erlang can help with scenario one somewhat, if the jobs aren’t locked on some resource. For example, on my erlang system 20 would all run just each slightly slower as they get a smaller amount of scheduler reductions each.

It’s a hard/interesting problem, and harder still once you’re running across a lot of machines — but if they all get slower under the load it turns out that it’s easier to scale / work out a good balance of idle capacity to guarantee x time sla under x requests.

Fast ramp up for additional capacity is important too, but less so if you know to start the process once median execution time drops to some % of your worst target

GPT-5.6 13 days ago

I run codex in a dedicated vm, I have a cronjob which resets it to clean installed state every week. Nothing too fancy just bhyve and debian, 8gb mem. It has root access there, can install stuff, no permissions to push to protected branches etc. It didn't take very long to setup, and I can sleep a bit better...

AI 2040: Plan A 13 days ago

Then, in the mid-2030s, they pause at AIs around the level of top human geniuses.

They being the US and China and by agreement.

It would be ideal, but there’s far too much money on the table to overcome human nature.

So my hope is we hit some kind of limits naturally.. Wishful thinking?

What’s the insurance setup like in norway? In germany at least, your insurance pays for (at least part) of this time, and since its mandatory to pay it and hundreds of euros a month, I’m not in any way inclined to give up my precious family time (holidays) to save my insurer money. I have a hard time understanding how one would feel otherwise.

Also, generally, I can’t think of a time i had off work where something ultimately failed to be delivered because of it, I’ll typically put in some extra time etc when i’m back if a deadline is looming.

So who really loses?

May be decorative only —- Isn’t it due due to their wimpy electricity that it takes forever to boil a kettle and that’s why everyone gets coffee externally? Or, absolute horror, they microwave teacups….

Or has the situation improved? :)

Poor trade off, the model is then designing a massive chunk of your solution instead of you. With a good spec, bits of typo’d pseudocode, and slightly more effort than a couple of sentences they can actually produce passable software.

I think the reason claude has so much mindshare is exactly because it’s more useful to non-developers who wouldn’t know how to describe what an api call executes to his grandmother.

For those who can, I can’t find much of a difference between them. Codex has the slight edge, but that’s all just “feels” to me.

"we will inquire into something, but we will not grasp it, if in some way we depart from ourselves and from our own nature, and besides, in the same way as the remaining arts may be said to be perfected in one respect, but to be deficient in practical wisdom in another respect"

- Philodemus, On Gods, Book 8 Year 0. Ish. :}

The AirPods Effect 1 month ago

Did you happen to get covid or had a really heavy reaction to a inoculation around that time? That's what triggered mine; but it's actually been getting a lot better and (pure anecdotal) but I think 6 months or so of a b complex vitamin pill in the mornings have helped. Apparently, it can promote nerve repair, there's absolutely no money in studying this effect however so research is scant. I think you have very little to lose by trying it, though.

It's still there, but I routinely go weeks without noticing it now.

Backups in such a system are quite pointless; if losing 10 seconds of data means you lost 4000 transactions then periodic backups are invalid if not instantly than close to instantly.

The system I work on has such a property and the only real infra style approach is sync replication before responding to a caller and a delayed replica for delete/drop protections (say with a 2hr or more window).

Should also defend for this in your code (be able to reply from your initiation systems also etc)

I am a fan of the idea, but the websocket is also quite a big attack surface; you can do a lot more by sending messages over this socket to your phoenix app than you would likely expect to have exposed via some api on another framework.

It’s difficult to secure, in my opinion. Perhaps not impossible but the cost of doing so pretty much eclipses the benefits of using liveview imo.

Claude Fable 5 1 month ago

Yeah. I’m not looking forward to years of retraining to earn half the salary either. Us old timers at least got a good 15-20 years out of it. Bananas.

We also hit scaling problems with temporal.

Postgres doesn't scale at all four our workload, so you're into cassandra.

For a medium sized deployment, you're looking at 200+ vcpus, and then lets say standard dev/uat/prod. So now you're at 600 cpus. Now you need two geographic regions, dev can stay in one place, so now you're at 800. Want a failover cluster for prod? Have another 200 cpus.

and 200 CPUs is a medium deployment, assuming something like 36 cpus per cassandra node, then say 4-8 per instance of matching, worker, history, frontend. Then all your other components around it, ingress controller, service mesh, etc.

There's a million a year easy, for a small deployment.

Our prod one is 4x this size.

From Rust to Ruby 2 months ago

Hell with lombok it’s not even uncommon to have entire classes with no defined functions at all. shudder