Better HN
topnewbestaskshowjobs
Log inSign up

procaryote

1,477 karma · joined Feb 13, 2025 (1y ago) · 646 submissions

Submissions

comment 3d ago · link · parent

Specifying the buffer size is a cleaner API boundary. Functions that take a buffer and a size are fairly common in C, even when the buffer size could be computed.

Calculating the buffer size wrong is always an error. You just have to pick if you prefer an API that detects this or one that silently buffer overflows.

comment 1w ago · link · parent

Java has a pretty good approach of promoting the more popular library for a thing to standard library status, with relatively minor changes. It's an easy way to get a really good standard library over time, as it's already proven in practice

comment 2w ago · link · parent

It will still collect this data.

Source: have never had Apple Intelligence enabled, have these files anyway

comment 2w ago · link · parent

But it does this even when siri is disabled

comment 2w ago · link · parent

Also the coincidence of 3 weeks later adding "oh, no passwords above 256 chars" making it easy to trigger

comment 2w ago · link · parent

Musl, which is vulnerable, is much younger and less battle tested than glibc, which is not vulnerable though

comment 2w ago · link · parent

What if you want a single language that's pretty fast while simple and maintainable?

comment 3w ago · link · parent

Thing is, you can run ipv4 only, dual stack or ipv6 only. Ipv6 only won't work. Dual stack has a larger attack surface and is complex. Ipv4 works but costs a relatively tiny bit of money so far.

Why would you not use ipv4?

comment 3w ago · link · parent

Second system effect. It's way more complicated

Replicating even a simple ipv4 lan with mostly stable local addresses and some isp uplink is pretty complex, even assuming all the devices involved support ipv6, which they wont

It's much easier to run a dual stack with v4 for ease of use on the lan and v6 as an additional address that can change whenever and is only used to reach the wan

But the main reason you'd care would be if you can't get a public ipv4 address to NAT to. And if you can't get that, some of the internet breaks anyway.

comment 3w ago · link · parent

Then imagine the security implications of trusting windows to serve just some selected files over FTP and never have any security hole that exposed other files or allowed RCE

comment 3w ago · link · parent

If you know the type you need fewer checks in the jitted code, and you can optimise to native types.

If it helps python specifically, given that the types themselves are pretty dynamic, who knows. A python integer doesn't map well to a native integer etc. Python really isn't designed for performance, and retrofitting it is hard.

comment 4w ago · link · parent

It sounds enough like real investing that it might make some more people put real money into crypto, while still being unregulated and vague enough that you can outright steal the money or take risks a regulated market wouldn't allow

Or you meant an argument for the person putting their money into it? No idea.

comment 4w ago · link · parent

That's a separate probem that probably wont be solved by reducing the work week.

That said, ppp adjusted median houshold income has grown fairly steadily even in the US, even with growing inequality... so workers too have benefitted, just not as much as they could of the gains had been spread more evenly

comment 4w ago · link · parent

The performance of python indicates otherwise. There are some performance critical libraries written in C or C++ but a lot of python is written in python.

Python in itself is poorly suited to ever become performant as it lacks the types required. I imagine that causes some issues for effective jit-ing too.

They had a chance to fix this when adding type annotations, but instead of making it "optional/gradual typing" they opted to make it "documentation or linting support", which is obviously the wrong choice, but there were cultural reasons

comment 4w ago · link · parent

> there's no reason you shouldn't be paid the same for less time because your output is the same/better.

The reason is economic growth for the company / the country.

This in turn is a more subtle point than it seems at first glance. Not having economic growth isn't really a desirable option for a company, a country, or in (the long run) the people involved.

comment 4w ago · link · parent

Give the low quality of microsoft's products, I am very ready to believe that even simple agents can do a better job.

comment 4w ago · link · parent

You get to understand more of how the world works.

What's the point of exercise when we have machines that can do physical labor? It keeps you healthy.

If you don't use and train your brain, you'll be unhealthy and stupid.

comment 4w ago · link · parent

Even if you were right about AI, if you plan on keeping humans around, you need them as educated as humanly possible.

comment 4w ago · link · parent

AI has replaced students in the same way as cars and elevators have replaced exercise

comment 4w ago · link · parent

You're free to do that, even if doing it isn't graded

comment 1mo ago · link · parent

The total time of their tasks or the micro-benchmark of ripgrep?

comment 1mo ago · link · parent

How do you make the world better without any useful skills?

Being nice is nice, but it doesn't cure cancer

comment 1mo ago · link · parent

Thinking radio, calculators, the internet etc will make teachers obsolete misses something fundamental.

Could people learn by themselves? – possibly.

Do they? – generally not.

Having agents changes nothing

Access to information isn't the same thing as competency or skill. Giving someone access to google does not make them educated. Have they met people?

comment 1mo ago · link · parent

You're giving them much more benefit of doubt than they deserve

comment 1mo ago · link · parent

The only place I've ever seen a trigraph is in malicious c code style content. It's a terrible idea for sure, but not a problem in pratice... to the point that gcc at least used to require an extra flag to turn them on

comment 1mo ago · link · parent

FOI is for administrative documents to increase transparency in government. Detailed 3D scans a museum does for research or preservation isn't an administrative document.

If you want a 3d scan of these statues, there's a lot of them around in scannable places like parks etc. If you just want to win, you're wasting everyone's time for no good reason.

comment 1mo ago · link · parent

If education doesn't matter, you've had the wrong education.

comment 1mo ago · link · parent

It sounds like they are ready to give up human readability of code for a mostly untested idea macros _might_ help LLMs?

It's certainly the weakest argument I have seen today

comment 1mo ago · link · parent

what would be a better repeatable measure of education?

comment 1mo ago · link · parent

Why enforce effort rather than outcome? Just have exams be without phones.

If someone manages to learn without doing the homework, or finds some way to learn better using an LLM, fine. The exam will show that.

12345
22