Readit News logoReadit News
rattray commented on Alex Honnold completes Taipei 101 skyscraper climb without ropes or safety net   cnn.com/sport/live-news/t... · Posted by u/keepamovin
rattray · 18 days ago
Does anyone have a link to good video footage of the climb?
rattray commented on Generate QR Codes with Pure SQL in PostgreSQL   tanelpoder.com/posts/gene... · Posted by u/tanelpoder
rattray · a month ago
Reading the code felt a little eye opening about what programming can be. Slightly like learning a bit of Haskell. Even though sql is so familiar.
rattray commented on I/O is no longer the bottleneck? (2022)   stoppels.ch/2022/11/27/io... · Posted by u/benhoyt
eliasdejong · a month ago
Increasingly the performance limit for modern CPUs is the amount of data you can feed through a single core: basically memcpy() speed. On most x86 cores the limit is around 6 GB/s and about 20 GB/s for Apple M chips.

When you see advertised numbers like '200 GB/s' that is total memory bandwidth, or all cores combined. For individual cores, the limit will still be around 6 GB/s.

This means even if you write a perfect parser, you cannot go faster. This limit also applies to (de)serializing data like JSON and Protobuf, because those formats must typically be fully parsed before a single field can be read.

If however you use a zero-copy format, the CPU can skip data that it doesn't care about, so you can 'exceed' the 6 GB/s limit.

The Lite³ serialization format I am working on aims to exploit exactly this, and is able to outperform simdjson by 120x in some benchmarks as a result: https://github.com/fastserial/lite3

rattray · a month ago
Does capn proto have similar properties?
rattray commented on JavaScript engines zoo – Compare every JavaScript engine   zoo.js.org/... · Posted by u/gurgunday
simonw · a month ago
Yeah my ideal is to have something that cleanly "pip installs" as a dependency such that users of my open source Python projects can self host tools that let them extend using arbitrary code, including code written by LLMs.

I've been picking at this problem for a few years now!

On the one hand I get why it's so hard. But it really feels like it should be possible to solve this in 2026 - executing arbitrary code in a way that constrains its memory and CPU time usage is a problem our industry solves in browsers and hosting platforms and databases and all sorts of other places, and has done for decades.

The whole LLM-assisted end-user programming thing makes solving this with the right developer affordances so valuable!

rattray · a month ago
Ah, in that context, why not just give the people workerd? People using & running OSS libraries are used to the fact that there might be vulns in libraries they're using, right?
rattray commented on JavaScript engines zoo – Compare every JavaScript engine   zoo.js.org/... · Posted by u/gurgunday
simonw · a month ago
Right - I trust workerd in the context of Cloudflare because I know it has a team of people who's job it is to keep it secure who are on-call 24/7.

The problem I have is that I'm just one person and I don't want to be on call 24/7 ready to react to sandbox escapes, so I'm hoping I can find a solution that someone else built where they are willing to say "this is safe: you can feed in a string of untrusted JavaScript and we are confident it won't break out again".

I think I might be able to get there via WebAssembly (e.g. with QuickJS or MicroQuickJS compiled to WASM) because the whole point of WebAssembly is to solve this one problem.

> But if you're not literally accepting code directly from anonymous internet users then the risk may be a lot lower

That's the problem: this is exactly what I want to be able to do!

I want to build extension systems for my own apps such that users can run their own code or paste in code written by other people and have it execute safely. Similar to Shopify Functions: https://shopify.dev/docs/apps/build/functions

I think the value unlocked by this kind of extension mechanism is ready to skyrocket, because users can use LLMs to help write that code for them.

rattray · a month ago
Wait, why not just actually use the Cloudflare Sandboxes product then? Is it too costly or something? Or you need to be able to run without a connection to their cloud?

https://developers.cloudflare.com/sandbox/

rattray commented on Show HN: Tracking AI Code with Git AI   usegitai.com/blog/introdu... · Posted by u/addcn
rattray · 3 months ago
We've been looking at using this at Stainless. Our evaluation isn't complete but my personal gut feeling is we'll be incredulous that we ever operated without it.
rattray commented on Show HN: Glide, an extensible, keyboard-focused web browser   blog.craigie.dev/introduc... · Posted by u/probablyrobert
probablyrobert · 4 months ago
Thank you! I just implemented the ones I use the most, e.g. diw, but the motions system is still in very early stages and there are lots of motions I haven't implemented yet.

I do plan on implementing as many motions as is feasible, but there are some intentional differences, e.g. `f` is used for hints instead of jump-to-char.

rattray · 4 months ago
is there a way others can contribute their favorite motions? like a link to the relevant bit of source that could be shared here?
rattray commented on Detecting and countering misuse of AI   anthropic.com/news/detect... · Posted by u/indigodaddy
Aurornis · 5 months ago
I’m actually surprised whenever someone familiar with technology thinks that adding more “smart” controls to a mechanical device is a good idea, or even that it will work as intended.

The imagined ideal of a smart gun that perfectly identifies the user, works every time, never makes mistakes, always has a fully charged battery ready to go, and never suffers from unpredictably problems sounds great to a lot of people.

But as a person familiar with tech, IoT, and how devices work in the real world, do you actually think it would work like that?

“Sorry, you cannot fire this gun right now because the server is down”.

Or how about when the criminals discover that they can avoid being shot by dressing up in police uniforms, fooling all of the smart guns?

A very similar story is the idea of a drink driving detector in every vehicle. It sounds good when you imagine it being perfect. It doesn’t sound so good when you realize that even a 99.99% false positive avoidance means your own car is almost guaranteed lock you out of driving it some day by mistake during its lifetime, potentially when you need to drive it for work, an appointment, or even an emergency due to a false positive.

rattray · 5 months ago
Sure; api.anthropic.com is not a mechanical device.
rattray commented on Detecting and countering misuse of AI   anthropic.com/news/detect... · Posted by u/indigodaddy
umvi · 5 months ago
To me this sounds like the path of "smart guns", i.e. "people are using our guns for evil purposes so now there is a camera attached to the gun which will cause the gun to refuse to fire if it detects it is being used for an evil purpose"
rattray · 5 months ago
I'm not familiar with this parable, but that sounds like a good thing in this case?

Notably, this is not a gun.

rattray commented on Ask HN: Who is hiring? (September 2025)    · Posted by u/whoishiring
rattray · 5 months ago
Stainless | Engineers, EMs, Former Founders, GTM, Business, more | NYC & SF ONSITE | Full-time

Stainless is building the platform for high-quality, easy-to-use APIs.

When you `npm install openai` or `pip install anthropic` or `go get …cloudflare`, for example, you’re downloading code that we generated.

We’re ~3y old, ~35 people, have strong revenue, several years of runway, and great customers (including OpenAI, Anthropic, and Cloudflare). We’re backed by Sequoia & a16z.

As one of our first 30 engineers, you’ll get autonomy to build great products, skilled peers, opportunity for tremendous impact, and competitive salary, benefits, and equity.

We’re looking for exceptionally productive, thoughtful, tasteful, and kind people with a passion for making software development better for everyone.

Want to build the future of API tooling? See more at stainless.com/jobs

u/rattray

KarmaCake day6365February 25, 2012
About
founder, stainlessapi.com

previously engineering at stripe, working on developer products. views my own (if that), etc.

feel free to get in touch (please no recruiting or solicitations):

alex at stainless dot com

View Original