Better HN
topnewbestaskshowjobs
Log inSign up

mrkeen

5,996 karma · joined Feb 13, 2017 (9y ago) · 3,013 submissions

Submissions

comment 2d ago · link · parent

Right. In that case China+US (which is strictly bigger than either) is the singular entity which needs to regulate.

comment 1w ago · link · parent

I believe Quantum is saying:

  Burger maker is granted seqnos 0..9

  Milkshake maker is granted seqnos 10..19

  They both get busy serving their items as quickly as possible
In what sense can we declare that burger eight (#7) was served before milkshake three (#12) ?

comment 1w ago · link · parent

I would reach for Lamport clocks in order to avoid the need for a sequence number oracle, e.g Alice tells Charlie about lunch plans, then Charlie corrects them, and Bob (or some central server) doesn't need to know about either.

Does this implementation actually relate to Lamport clocks in some way?

comment 1w ago · link · parent

I'm skeptical in the opposite direction (i.e. too difficult to have been solved)

I believe there's a tension between high-throughput (distributed) and centralised (id++), and I'm not sure it can be wished away.

I built a paxos implementation that could assign values to sequential keys. It runs at a decent speed when there's no contention, but slows down when different paxos nodes are asked to assign to the same key (they argue and retry etc.). A partial solution is to use a leader (i.e. putting id++ on one node), which prevents that kind of chatter.

Another partial solution is topics/partitions (which is just a fancy way of keeping independent id++ counters that don't interfere with one another.). I don't count this as a solution because it's morally equivalent to running multiple clusters that don't know about each other.

I can't quite picture the bookkeeping that would let 10 nodes record contiguous ids without paying the centralisation cost.

comment 1w ago · link · parent

For the opposite take, here's a former emacs contributor recoiling in horror at discovering that FSF isn't there to fight climate change, whaling, civil war or whatever moral struggle you hold dear this week.

https://lists.gnu.org/archive/html/emacs-devel/2026-11/msg00...

comment 1w ago · link · parent

And you're getting specific feedback to your specific feedback.

Just post the language that makes your example code look acceptable.

comment 1w ago · link · parent

Git is designed for a distributed situation. Different coders spread across time and space.

You always have the ability to try out the simple version that ignores that reality:

* Don't branch

* Always force-push to master.

comment 1w ago · link · parent

and be rejected for not having 8+ years experience in it.

comment 1w ago · link · parent

It's certainly not the whole story, but I haven't seen a better vehicle for trustworthy code than pure functions.

I might want my code to dabble in CORS, read env vars, or snoop around in my .ssh directory, but I don't want my imports to be able to do that.

comment 2w ago · link · parent

Here's how.

We use the world's resources at a rate of 1.73x the replacement rate. (It would be 5.1x if everyone lived like an American).

We've also built a pyramid scheme whereby we're so bad at meeting the needs of the non-working that we just need to pop out more workers indefinitely.

The fertility drop goes along with modernisation. India and Africa will follow.

So everyone on Earth will have an SUV that they're too old to drive and move into a nursing home with no staff or funding.

comment 2w ago · link · parent

I the moral of the story is that the defense side should have already been using PBT.

comment 2w ago · link · parent

Reread. GP is already paying an active subscription, and hitting friction when trying to give them additional money.

comment 2w ago · link · parent

On YouTube, I get the same rotation of 3 ads almost constantly. A shampoo that I have no interest in, a detergent that I used to have (but no longer, because I associate with spam), and a dusting brush (I had no idea these things still existed!)

Mastodon was my main source of doom-scrolling, but I got sick of the endless stream of posts about US politics and posts about Mastodon not having an algorithm, so I decided to give BlueSky a go, and climb back into my filter bubble, but it's even worse. Just an endless stream of people reporting US pol happenings at each other - unsourced - using screenshots of multicoloured block-letters.

comment 2w ago · link · parent

I think the argument was that it was more secure than the closed-source equivalent.

comment 2w ago · link · parent

Yes, when I started getting into Spring(Boot?) in 2013-14 I was complaining about the annotation magic that you needed to sprinkle around the code, so that you could have a Java project take a long time to start up and fall over. The response at the time was that it was so much better than the old XML way that you "had" to do. So that kind of XML hasn't been needed for 10+ years.

Unless you count the XML dependency management with Maven, which isn't too bad.

comment 2w ago · link · parent

It looks like you can have three union members, just not nesting (weak) or compatibility between T1|T2 and T1|T2|T3 (probably fine). I'm not convinced about ordering being a problem.

comment 3w ago · link · parent

I've always been skeptical about "unified memory" vs VRAM. But my memory isn't great, so I tried to measure it right now, and see if a tiny model was as slow as I remember.

llama-ui on unsloth/Llama-3.2 3B Instruct:

  > hello

  Runtime info
  Current time is 2026-11-02T13:00:18+01:00
  Runtime info
  Current time is 2026-11-02T13:00:19+01:00
  Runtime info
  Current time is 2026-11-02T13:00:21+01:00
  Runtime info
  Current time is 2026-11-02T13:00:23+01:00

  There is not enough information about the functions to properly answer the prompt.
Not really my jam.

I did do the yak-shaving for the longest time. llama in a second-hand RTX3070 8GB was a useful tool. When gpt-oss came out, I upgraded to a second-hand 16GB card. It was slower (didn't seem to one-shot as much) but it gave smarter overall answers. At some point I bought a 24GB card which was basically dead on arrival. I kept my 16GB card in a server and maintained my VPN infra so I could access it from wherever.

I was still using this setup even when my workplace was pushing windsurf/copilot harder and harder. For me they were just broken. I'd ask for trivial tasks like "copy this unit test into a second unit test which tests something slightly different" and it would just get confused and delete shit, or leave random UUID strings throughout the codebase.

Eventually I tried out cline/openrouter/deepseekv4flash, and that was actually useful enough for me to tell it to do something to my code base, and as long as I supervised carefully enough it was useful, and priced OK.

At some point in the process I tried Claude Code because of all the hype, but I couldn't get any useful value out of it. I tried working with it all morning on something and hit my token limit without achieving anything worthwhile, so I cancelled Claude and went back to Deepseekv4flash.

These days every job application requires proficiency with claude code (or similar), so I was forced to get it again. And this time it just worked better. I haven't hit any limits, and it works like a better version of my cline/deepseek setup.

So where does that leave me?

Deepseek-v4-pro is 1.6T params, the cut-down version is 284B params, and I wouldn't trust them to do something on their own.

I'm very skeptical of a model being both small enough to run fast on my hardware and somewhere in the v4-flash <-> claude quality range.

If I did put down $2k, I wouldn't want it in such an old chip (M1) or a second-hand device that could die tomorrow with no chance of refund, especially to just 'see if it's good enough' (compared to the effectively-free v4-flash token spend).

comment 3w ago · link · parent

Did we ever get back to 16GB feasibility?

AFAIK the timeline was:

  - AI was shit, models could fit in your GPU
  - AI was shit, models could no longer fit in your GPU
  - AI got good
Any chance a good model will ever be seen in a consumer GPU again?

comment 3w ago · link · parent

The explanation is more damning than the devex.

The condition is unsatisfiable, and the engine went ahead and gave a 0-warning result?

comment 3w ago · link · parent

"SQL engines implement well known SQL semantics"

That's why I preplied:

> if enough people did it that way it would be the new normal, and apologists would fall out of the woodwork

If 4=5 made it into the spec, would it be no longer up for criticism?

comment 3w ago · link · parent

I'm claiming that

1) It would be no more fucked up than anything else that has been grandfathered into our tools.

2) If it already had mass adoption in the market, people would jump onto this thread to explain to me that I just don't understand the brilliant semantics behind language of why 4 = 5.

comment 3w ago · link · parent

Hi apologist. How was the woodwork? Your exact comment was why I wrote mine.

  You could write predicates over non-existent columns:

  root=> SELECT * FROM t
         WHERE definitely_not_a_column = 4;
Cool, definitely_not_a_column doesn't exist, so therefore that whole WHERE clause doesn't exist either, so the real query is SELECT FROM t.

  SELECT * FROM t WHERE 4 = 5;
   a | b
  ---+----
   5 | 6
  (1 row)
We're comparing 4 and 5. Precedent?

  System.out.println(((Integer)4).compareTo((Integer)5));
  > -1
What happens when you treat -1 as a bool? The following languages agree that -1 is true: C, C++, JS, Python, PHP, Ruby, Perl, Lua, R.

So it's SELECT

FROM t WHERE true;

Now, let's get busy blaming Jepsen for using the tool wrong.

comment 3w ago · link · parent

I won't push back on it being garbage, but I would suggest that if enough people did it that way it would be the new normal, and apologists would fall out of the woodwork, e.g. [1]

I complain that mainstream SQL engines have no problem returning less than the total number of rows if you first query WHERE column = NULL and then query WHERE column <> NULL. Your example queries remind me of that.

[1] https://medium.com/dailyjs/the-why-behind-the-wat-an-explana...

comment 4w ago · link · parent

  The judge upheld prison authorities’ argument that McKechnie had failed to provide any proper foundations for his opinion that Vegemite does not interfere with drug sniffer dogs.
What is the null-hypothesis, who is making a claim, who has the burden of proof?

comment 4w ago · link · parent

Too late for that. Hoping that social media continues to be a bastion of free speech is like hoping that casinos continue to be responsible with their customers' finances.

https://www.hrw.org/report/2023/12/21/metas-broken-promises/...

https://www.theguardian.com/global-development/2025/dec/11/m...

comment 1mo ago · link · parent

I think the viewpoint that your're missing is: how do I make sure the machine code means the same thing as the source code?

Trying to one-shot 'print "hello world";' into

  .LC0:
        .string "hello"
  "square":
        push    rbp
        mov     rbp, rsp
  ...
is probably a non-starter, so compiler writers tend to attack the problem by breaking it down into lots of passes.

Parsing into an AST is obviously the first, then you might opt into other passes, like type-checking, handling closures, simplifying into some kind of IR, and finally generating code. Each of those stages can be effectively unit-tested (except maybe the last). If you make a mistake in parsing (e.g. mistaking a statement for an expression), you don't want to have to catch that error by inspecting machine code. It's nice if each pass can be easily tested. And one simple way to test these things is to write an interpreter for each pass (mostly because you get to enjoy the facilities of whatever host language you're writing in). Then you can start saying things like "for all inputs, interpreting the AST gives the same result as interpreting the type-checked-AST, gives the same results as interpreting the closured-AST, gives the same results as interpreting the list of IR instructions."

You mention "It ought to be easy because it is possible to only target the common subset of features these architectures support." <- That's your IR right there!

Once you have an IR that looks close enough to the target machine language, it shouldn't be too hard to translate the final step. Or just use LLVM.

I noticed in your code that you're using C, and really there's no need. Languages don't need to be stacked in a hierarchy (e.g. Clojure on top of the JVM which is C++ which compiles to asm). The compiler can be any language, because it only needs to be able to take in source code and spit out bytes.

comment 1mo ago · link · parent

Complexity budget and all that. But I'd sooner throw out inheritance than traits.
12345
101