Better HN
topnewbestaskshowjobs
Log inSign up

colinmarc

466 karma · joined Feb 5, 2012 (14y ago) · 81 submissions

Submissions

comment 1d ago · link · parent

I thought that LLVM would be able to bury the `format!` in the latter example. Turns out that's not true, even with LTO!

https://godbolt.org/z/G548o33Gb

It's a shame, because I think the closure makes the code way less readable.

comment 1w ago · link · parent

How are people even using Baseten for coding agents? I am using Pi (so very small requests) in a "normal" single-agent way and I hit the rate limits on throughput immediately.

comment 1mo ago · link · parent

Yeah, that was my original point.

comment 1mo ago · link · parent

IANAL.

Here's a random example from the Skyrim EULA:

   [You may] use one copy of the Software for your personal, non-commercial use on a single home or portable console or computer.
   ...
   [You agree not to] use or install the Software (or permit others to do same) on a network, for on-line use
   ...
   Installation on a network server is strictly prohibited, and this Agreement shall not serve as a network license in any manner.

comment 1mo ago · link · parent

Some independent developers have stated they don't like that the experience is degraded on GeForce now (because of latency, control bugs, etc). They prefer that users are running the game in a way that they've tested themselves.

comment 1mo ago · link · parent

This is somewhat incorrect.

It's a bit of a grey area, and it's not true that Nvidia needs to have a licensing deal. It's definitely against the license terms you get when you purchase a game through steam to run it on arbitrary hardware, but most (at least EU) courts would probably hold that if you own a game, you can run it on any hardware you have access to.

What happened was that when Nvidia just got started, they had an opt-out framework (for developers) instead of opt-in. At the time, some game developers felt like Nvidia was profiting off of their work unfairly, and posted publicly about it, and there was a decent-sized backlash.

However, in the meantime, other competing streaming platforms have gone with opt-out and there hasn't been much of an issue around it. I think most developers have come around to the idea that it increases game sales.

comment 1mo ago · link · parent

I debated putting this editorializing in the title, but:

At $work we've been refreshing the Bun release page for days, wondering when they would push the fix. The PR with the change merged over 72 hours ago: https://github.com/oven-sh/bun/commit/ea6a2c7b7c98862627760d...

I'm not a security expert, but package managers seem uniquely vulnerable to MITM attacks.

I don't really see the point of spending $MM in tokens to create a software factory if you can't push security releases out in a timely fashion.

8.

Bun 1.4.4 removes compromised eMudhra certs(github.com ↗)

3 points · by colinmarc · 1mo ago · 1 comment

comment 1mo ago · link · parent

Lots of positive stuff in this thread which I won't bother repeating. Instead, I'll add a few ambivalent points:

- Today, a lot of functionality still in Docker has been upstreamed into the (Linux) kernel, so containers can be much simpler (and rootless). Docker is still carrying around some of that cruft, which is what makes it slower and heavier than Podman.

- As a devex technology, Docker/containers have been massively successful, but not as infrastructure. Containers never became secure enough to run multitenant workloads without some other form of isolation, so they ended up being redundant with KVM (or gVisor, or a similar second layer) in production a lot of the time.

That second contradiction led to lots of inefficiency. For example, on Google App Engine, for years when you ran a deploy it would create a VM just to run a single container.

comment 1mo ago · link · parent

Go is not vulnerable in the same way software using webpki is, because it generally uses the system trust store. However, this change is about golang proactively blocking the certs, so that even if your OS doesn't update, it still won't trust them.

https://github.com/golang/go/issues/82345

comment 1mo ago · link · parent

TL;DR:

The very urgent uv/certifi/etc releases (and yet-to-be-done bun release) are about removing the compromised CAs as described here:

https://emudhra.we-have-a-problem.com/

In other words, that software bundled the compromised certs into the binary, so upgrading it is the only way to remove them.

This is about Go proactively blocking intermediates. Which shouldn't strictly be necessary as long as your OS has removed or distrusted the CAs (on my laptop, macOS has done that, although it seems like it did so in a way not all tools have access to; for example, rustls-platform-verifier respects it, but rustls-webpki still loads the bad CAs from the system trust store).

edit: forgot I can't use code blocks on HN

comment 1mo ago · link · parent

The eMudhra CA compromises had nothing to do with LLMs? But I love the vibes.

13.

DevEx for developers who don't write code(bauplanlabs.com ↗)

1 points · by colinmarc · 1mo ago · discuss

14.

GitHub Actions Feedback Survey(survey3.medallia.com ↗)

1 points · by colinmarc · 1mo ago · discuss

comment 1mo ago · link · parent

Thank you for engaging with my point! I agree, actually. I think if good design patterns could simply be copied out of a book, LLMs might be better at software engineering.

My point is more about up-front investment paying dividends. To speculate, it seems like the reward hacking is not there for long-term thinking.

comment 1mo ago · link · parent

Good interface design allows extending or changing component X without having to step on the toes of your colleague working on component Y downstream. It's absolutely essential.

Interface design is one of the things Claude is worst at in my experience (using it every day for the past year).

comment 1mo ago · link · parent

Code quality - and its best friend, interface design - pay dividends in large codebases. The fastest moving and most effective organizations I've worked at are ones that focused on code quality from the beginning.

All software is broken, but LLMs seem to make the wrong compromises consistently when working in large codebases.

comment 1mo ago · link · parent

It's trivial to bypass this by tweaking the system prompt in other harnesses. They use string matching and a blacklist.

https://x.com/FlorianKluge/status/2041855675295318039

(Whether that's against the ToS is not clear.)

comment 1mo ago · link · parent

Nothing good can come of "hacking" our natural inclination to trust other human faces this way.

comment 2mo ago · link · parent

Would this work with video compression? Video codecs encode a lot of meaning; they use motion vectors to track the movement of objects on screen, for example.

comment 2mo ago · link · parent

What's interesting to me about this is that it targets Claude's specific tics. Anthropic has created model that reliably reaches for the same tools (yes, and phrases; `python -c` is a load-bearing tool for it). Everyone gets the same model, so by learning the model's behavioral patterns you can target it better.

comment 2mo ago · link · parent

I'm a big fan of iroh, but I think iroh's holepunching algorithm is at least partly based on tailscale's, so it's not 100% accurate to say iroh got there first. (Just the "as a library without a control plane" bit.)

comment 3mo ago · link · parent

Came here to post the same thing. DataFusion is fantastic.

comment 3mo ago · link · parent

...funnily enough, a few hours after posting this, it stopped working.

comment 3mo ago · link · parent

I use my Anthropic subscription with Pi. I thought they would start charging me API usage at some point, but it never happened. (If it did happen, I would switch to open weights models.)

comment 4mo ago · link · parent

It's conventional for semver to allow breaking changes for 0.x minor releases (but not for patch releases).

comment 4mo ago · link · parent

I find it works a lot better at smaller sizes.

comment 4mo ago · link · parent

I use my Anthropic sub with Pi. They keep saying they're going to disallow that and then walking back the decision. Or at least I think that's what's happening.

comment 4mo ago · link · parent

My absolute favorite modality is one I don't use all that much at the moment: Zed's edit completion.

If you're unfamiliar, it's like tab-completion, but it has a context that includes the edits you've made in the last few seconds, and it can predict around the cursor.

The model isn't advanced enough to understand complex tasks, but it has more the feel of the "crafting gun" in Subnautica or other survival crafting games, if that analogy makes any sense.

Personally I hate working with a chatbot - it's low-bandwidth and rage-inducing. If I could imagine a perfect workflow, it would be something like me whispering my train of thought as I program, and then pointing a very fancy "autocomplete gun" at the code.

123