Better HN
topnewbestaskshowjobs
Log inSign up

hansvm

5,890 karma · joined Dec 22, 2019 (6y ago) · 3,064 submissions

Submissions

comment 18h ago · link · parent

Even the 1st amendment has limitations. The main question here is whether the 2 damaging stories per day cleared the bar for "actual malice" (very well might not clear the bar for reasons up to and including the reporting being true and suspected at the time to be true, but given your position that NYT did something wrong here it's worth addressing what that could mean), plus some potential other interesting wrinkles if the damaging claims were paired with shorts related to the stock crash or other such chicanery.

comment 19h ago · link · parent

Very few employees will be compensated with anything other than RSUs. Even with options though, contracts aren't refreshed/relitigated/created that frequently. Most employees with options would've had a strike price much lower than even this post -30% event.

comment 1d ago · link · parent

Vision models are pretty good at vision tasks. I've had a lot of success just having the model output a new image with a mask over the button it wants pressed and using normal CV algorithms to convert the delta into coordinates. I'm surprised to not see simple, effective solutions like that from a company which supposedly specializes in this sort of thing.

comment 1d ago · link · parent

Luckily there haven't been any critical vulnerabilities in high-profile Rust code discovered the past 30 days like HTTP request smuggling in Actix, UAF DF and OOB in SurrealDB, OOB in Apache Arrow, sandbox escapes in wasmtime/cranelift, sandbox escapes in cap-primitives....

Whether this is true or not, it's positioned as a bad thing because time and effort spent on memory safety isn't purely an additive benefit. It can actively reduce memory safety (high-perf Rust software needing more unsafe than we care to admit, and unsafe Rust being harder to write correctly than normal C), and it can fight against time spent focusing on other serious vulns (e.g., the cap-primitives issue is important because we're failing to do things as simple as when we run literally arbitrary code bothering to make sure it's the right code).

And that's only from a security perspective where legitimately informed and intelligent people disagree about whether Rust actually reduces vulns in high-performance code (again, whichever side you fall on, that's the argument being made). There's additional pushback against Rust when people would otherwise be silent about its security shortcomings because it has enough other tradeoffs in its design to hinder other metrics developers care about, like speed of feature delivery (or, in the age of vibecoding, cost of tokens and therefore also speed of correct feature delivery).

comment 1d ago · link · parent

A T-mo 5G home box is exactly the setup causing my issues.

comment 2d ago · link · parent

That's a nice story, but is there any evidence 2yo models with modern harnesses and the same compute expenditures wouldn't have produced the same results? This is written as some combination of a sales pitch and post-hoc rationalization without even bothering to control for the most basic confounding variables. Even if true, TFA isn't convincing, and not offering any more information than the conclusion it isn't helpful for any other purpose either.

comment 3d ago · link · parent

Responding to other comments here:

- Mobile internet (IP 172.56.47.136)

- The haveibeenproxied link indicates my IP is shared (expected)

- This is stock android/chrome with a DNS blocklist of advertising domains and some invasive Samsung the things I can't fix on the device (I doubt that's the culprit given that this is a new behavior I'm observing in the outside world after 8yrs with those settings and also because it's be strange for nginx to be the thing to immediately report that trackers have to load for me to get a glimpse of the main page, especially as something I'm seeing across multiple sites, but that's not impossible).

- No VPN

- I'm a "normie" internet user. Anything remotely questionable to even the cheapest and least aligned of LLM judges and executioners happens on non-home networks.

- I see it with other devices on the same network (Chrome, Linux, MacOS, Safari, Qutebrowser, etc), which suggests to me that somehow my IP or some other shared network property is the issue. I'm curious mostly about the commonality in separate nginx installations returning a 403. That suggests there exists a common blocklist or whatnot I can inspect and fix, either because of my IP or because something in the loop is forcing ipv6-only or who knows what.

comment 4d ago · link · parent

Derailing slightly, a variety of HN posts (the blogs/sites they reference) have started banning me with a 403 page from nginx, including this author. My IP reputation is supposedly fine. Does anyone have any ideas where I should look next?

comment 4d ago · link · parent

My best guess is it's sincere. That's been a core observation of LLMs for awhile. Filtered random search is basically an inefficient gradient descent. If you apply even a poor-quality "gradient" to a lot of problems with infinite compute (with large LLM budgets), it doesn't take that good of an LLM to accomplish great things from time to time.

comment 5d ago · link · parent

It's not over in terms of current capabilities. The future is uncertain, but the status quo is good engineers are more irreplaceable than they ever were in recent history.

comment 6d ago · link · parent

Zig isn't perfect, but I've definitely done this futamura stuff before. It's one of my favourite ways to implement a Forth in Zig (which, incidentally, is the default way that I introduce a backprop library or other DSL as I'm prototyping an idea). Interpreters are dead-simple to write, and I just write an interpreter with a comptime code argument. It definitely works, and the codegen is reasoanble out of the box.

comment 6d ago · link · parent

Is it just me, or is this system poorly thought out?

Like, let's say somebody manages to create an account in my name on ID.me. What has that proven? It relies on shared secrets known to be leaked, like my SSN and a photo of my license. It relies on additional information it can't possibly use to identify me without millions of false positives/negatives when applied across the country (address, phone number, etc), all of which are available from the same data brokers they're using in the first place (whether the info is correct or not) if they're validating against third-party data sources rather than vibes.

Twitter and Facebook can get away with that kind of nonsense if they want, but as a service securing quite large bond and tax refund accounts I'm pretty sure we want to do better.

comment 6d ago · link · parent

Oh good, we have a little time to pay the ransom.

comment 1w ago · link · parent

Because of the Chinese market, no?

comment 1w ago · link · parent

I was under the impression that there were scenarios in which licenses were revokable and that you're not necessarily allowed to waive that in the text of the license. If true though (obviously not a lawyer, and my memory is fuzzy on this point), it's definitely not been heavily tested in the courts.

comment 1w ago · link · parent

There's nothing I like better than wasting my time in court fighting a red-light violation from an impossibly designed speed limit + yellow timing configuration, fighting a speeding claim when the camera captured my plate rather than the motorcycle passing me, or even just the increasingly common practice of printing somebody else's plate number for your toll violations.

comment 1w ago · link · parent

It's the same problem you see with variable names though -- longer names add local clarity but give disproportionate weight to those local concepts rather than the global structure. There's value in selectively using less precise identifiers.

Maybe you agree with that and just disagree with where the line should be drawn?

comment 1w ago · link · parent

It's a technical forum. That's like asking to "please introduce the definition of a linker" the first time it crops up. If somebody really doesn't know, searching "aos vs soa" in Google yields a largely correct AI summary followed by a Wikipedia article on the topic followed by a StackOverflow discussion on pros/cons followed by a similar Reddit discussion. Aside from maybe the image/video results, literally everything on the first page looks like it would explain the concept well.

comment 1w ago · link · parent

> there are capabilities, such as DevOps, that are best handled centrally

It's okay to say that you have an Ops team in 2026. If it's not DevOps then let's not call it that.

comment 1w ago · link · parent

Absolutely. The rule of thumb is that two things should be abstracted together iff they should change together. The down-sampling constant matching the upweighting factor? Don't repeat yourself. Needing a half-dozen subtly different circular buffer definitions? Circumstances vary, but repetition is probably fine. Two pieces of code which are literally identical? As you said, the syntactic duplication suggests there's an underlying semantic duplication you might want to iron out, but if the two callsites really want the potential for independent behavior then byte-for-byte code duplication can make more sense.

But, like the rest of software, even that's just a guideline. Suppose you've been painted into a corner where code needs to be synced between languages. There are solutions, but especially if it happens rarely then those solutions might be a lot more expensive than just a comment at both locations.

comment 1w ago · link · parent

To a degree, yes. That's not _that_ long after Einstein had to seek out math experts because he didn't know the theory behind 5x5 matrices. Math professors I know who started much later than that didn't really get how linear algebra was useful when teaching ODEs. It's not that it wasn't useful, but it wasn't commonly used.

comment 1w ago · link · parent

Something seems fishy here. What am I missing?

> no torn state

Doesn't there exist a failure mode where you allocate from a batch, fsync that you've done that allocation, the application fails to do anything with that counter, and you thereby introduce a gap in whichever "gapless" sequence you're trying to construct? The primitive exposed here might be able to be gapless, but the API doesn't look like it'll compose nicely into creating an application with the gapless property you're trying to enforce.

That desync between application state and tsoracle state seems more likely when you consider other features like requesting a batch of timestamps (which is necessary to hit the stated performance numbers).

> gapless, high-throughput, monotonic

WAT? You don't get all three of these at once with any implementation. Looking at this implementation, you (as predicted) don't get it here either. It basically uses a partitioned allocation strategy -- allocate a window to each node, each node allocates from its window (seems at first blush like a reasonably good implementation of that strategy, not knocking it, at least not without reading further). That's not both gapless and monotonic though. Absolutely nothing enforces within-window synchronization from one node to the next. You do (eventually) get gaplessness if no node is ever eventually always idle, but only because you explicitly left a hole to fill as you allocated a bigger number before sometimes filling that hole with a smaller number. It's not monotonic.

Edit 1: Okay, I see, the sequence interface is different from the timestamp interface. That resolves the "gapless, high-throughput, monotonic" concern. Not the other points yet.

Edit 2: Yeah, I have a lot of concerns about the timestamp itself re monotonicity. It looks like [physical_ms: u46; logical: u18]. There's basically no high-throughput way to use a structure like that to enforce monotonicity in any meaningful way across nodes. To illustrate the problem (not a proof, just intuition-building), zoom in right next to a physical ms boundary. Microseconds of skew can cause two machines right next to each other to issue timestamps on one side or the other of that boundary. No matter what you do with the logical partition, that noise is going to dominate the resulting sort order. If those two nodes publish their respective timestamps, you can absolutely see a later timestamp before you see an earlier timestamp. You could even have the slow node observe time t+1 from the fast node and then afterward produce time t. Maybe the devil's in the details with the definition of "monotonic," but that seems like an incredibly hard abstraction to use correctly. This is marketed as providing timestamps you can use to order events across machines, but I'm not seeing anything better than what you would get with just a per-node monotonic clock.

comment 1w ago · link · parent

But what made "better not leak" challenging? I ask because it looked like you were positioning "incredibly complex CV pipeline in Zig" as a counterpoint to my claim that LLMs are bad at memory management. I still think they're bad at it, but I'm interested in evidence to the contrary, so I'd love to know why your application rises to the level of something I should expect an LLM to struggle with. I've seen (have in prod right now actually) relatively simple ideas not much more complicated than resetting an arena each request, which would paper over a lot of memory-management sins even with quite bad models. I'm curious if that's why the LLM did well or if there's something else going on.

comment 1w ago · link · parent

> why this happens?

Different tasks, different tools, different prompts, or different ability to evaluate the results, likely some combination of all of the above.

- Tools: I can't get the ChatGPT web interface, with any prompts, any models, any amount of retries, with any combination of settings, to respond to a coding task with anything other than <snippet ignoring multiple explicit requirements for what should be a 20 SLOC task> <here's how you make it actually prod-ready (often stating that it just refused to implement something I asked for)> <paternalistic essay about how I shouldn't use my vibe-coded URL parser to send a man to the moon>. The underlying models are a fair bit better. Fully controlling the system prompt helps a lot. Agentic flows paper over a lot of those deficiencies. Anthropic models (and web interfaces) work a lot better for codegen for me out of the box. Agentic flows make that delineation much sharper.

- Tasks: I don't like the concurrent data structures LLMs write. Its opinions about the novel pseudo-probabilistic algorithms I care about are wrong. The level of hand-holding I need to get proper matrix codegen is insane. It works extremely poorly when operating at a meta-type level and trying to design a cohesive API. But, if you're not doing those things, who cares? I vibe-slopped a new programming language yesterday just to try it out with a new harness I previously vibe-slopped. At this stage, it doesn't have to be correct. If I get it kind of working just a little and think the results look promising then I can do better later if I want. A lot of companies are in (or at least think they're in -- IME this mentality bites founders much earlier than they expect much of the time) that stage.

- Prompts: LLMs are much more sensitive than you might expect to minor variations in prompts. The classic example I hope everyone knows by now: There are precious few scenarios where your interaction with an LLM should be a very long session repeatedly telling it the mistakes it's made. Almost anything else is better, up to and including (as a bad solution but still better for codegen output than the baseline) still having a very long session but asking the agent to rewrite the previous messages as if it had succeeded and then having the person manually edit the conversation.

- Evaluation Ability: Really? You thought +3k SLOC was the best way to solve that feature? I have a whole SOTA event loop and multi-processing framework in 3k SLOC, and when interacting with most companies' codebases you really ought to be deleting code with the average feature you implement, not adding code. Like you said, the code smells are everywhere. Like, slop is fine from time to time (easily 30% of the code I write for work is slop, largely because it serves one-off tasks), but some of the people pushing it just can't tell the difference. Just a month ago, somebody (outside of $WORK) was showing off a fancy new UI feature on some geo-rich project. It had a small bug. The implementor said they knew about it. The problem is that "if you know you know," and the only reasonable way the code for that kind of feature should have that kind of bug is if it has major problems which just aren't surfacing much in this particular demo. I suggested a couple alternative test cases to optimize toward, and a week and a couple rewrites later it was in a much better place. There were tens of thousands of tests before I made that suggestion, dozens of times the LLM confirmed the system was working as intended, and on and on and on. None of that matters if you need to build something that works and know that it works. The tests were all shit, as were the false assurances.

If you're looking to make it better, there are some tweaks you can make to your CLAUDE.md or what have you to help a bit. I have a lot that I do to make mine generate passable code without requiring constant human intervention, but something it responds well to is (1) pinning down what you care about re abstractions, and (2) giving it explicit permission/guidance to spawn sub-agents to make that happen. A lot of the problems with LLM-generated code are fixed if you fix the abstraction issue, and many of those fixes are relatively "mechanical" checks you can apply:

1. When reading the name of an abstraction, do you have a good idea of what it does?

2. What about the name and signature?

3. Does the implementation match that intuition?

4. Does any part of the codebase reach past the intended abstraction?

5. Does your code require nonlocal reasoning? (side-note: this is very important for humans, but it's more important for models since their harnesses aggressively try to avoid bloating context windows, so it's quite common that if you need two lines of code far apart in a file to relate to one another then you'll see downstream bugs)

6. Do all of the abstractions pull their weight? Are they all even used?

7. Is it possible to delete 80% of the suggested code and have an equivalently working product?

8. Do existing abstractions/conventions solve the problem you wrote a new abstraction for?

And so on. You obviously can't compress all good engineering judgement into a brief model context window, but you can get a lot more than you might expect. Whatever it is that you see agents doing poorly, try to come up with a general principle you think it should try to respect, and write that down for your future projects.

comment 1w ago · link · parent

What made memory management challenging in that application?

comment 1w ago · link · parent

"why?" is an interesting question. My best attempt at an explanation is that they have a poor sense of layout, especially in more than one dimension. That hidden time axis makes 1D problems like concurrency or memory fundamentally 2D+, and the results are then piss-poor unless I do a lot of the heavy lifting in the design. For that matter, they still frequently F it up and tell me it's perfect even with otherwise solid agentic patterns which can one-shot all kinds of other tasks, violating the spec I wrote to protect the agent from itself.

I don't have any justification for that explanation other than anecdotes. I will say that LLMs are typically quite bad at avoiding those memory issues, whatever the reason might wind up being.

comment 1w ago · link · parent

The real problem is collectively agreeing about what the problem is.

comment 1w ago · link · parent

How cheaply? How accurately? Your proposed solution puts a lot of strain on the body, so even if it fixed cancer you wouldn't want to do it preemptively every day for example, likely shortening lifespan substantially despite cause of death not being cancer any more. It's a scheme that also relies on detecting cancer quite early (else the bulk of a tumor can easily be unchanged from that intervention), so you'd expect quite a lot of those false positive scenarios. Not to mention "cheaply detect genetic defects" sounds like a pipe dream for now with or without AI (assuming you're referring to single-cell mutations, since any other interpretation just doesn't address enough root causes to actually cure anything close to most cancers).

comment 1w ago · link · parent

The title doesn't really match the content. TFA talks a lot about the foundations of computation and what we know about arbitrary programs, and it appeals far too much to tools like Rice's theorem to be useful in ordinary engineering contexts.

In particular, I think its deductive proofs section is unnecessarily pessimistic. People have some idea as to why their code is correct when they write it. They're occasionally wrong (at a typical rate of single-digit bugs per 1k SLOC), but you can't often write an approximately correct program without an approximately correct proof of correctness in your mind. Yes, it's true that some proofs are intractably long, but that doesn't apply to the code we actually write. A language requiring you to write out those things you're relying on and concluding isn't much more verbose than any other programming language, and that mental scaffolding makes automated theorem proving vastly easier. You'll still fail to validate correct programs from time to time, but you solve that the same way the Rust people do -- add escape hatches and/or change your code to match the solver's limitations.

Even quite complicated externalities are similarly solvable. People talk about time and filesystems and what have you as unprovable balls of mud, and ... they're right ... but that misses the point. Precious little software handles an FS correctly. That's all the level of proof your program needs; not that you never corrupt your save state, but that if no other process mucks around with your data then you never corrupt your save state. For better software (like TigerBeetle) with stronger guarantees, well, they've already written their own proofs of correctness. All that remains is tying them to the actual implementation.

comment 1w ago · link · parent

It's pretty easy to circumvent all those checks if you're doing normal-ish things (like doing a single series of searches to prepare to purchase a single flight) and their detection doesn't ban a large fraction of non-bot customers. Those companies might sell bot detection, but it only works against the poorly coded bots and legitimately abusive accounts (sometimes) if you don't turn the false positive dial way up.
12345
103