Better HN
topnewbestaskshowjobs
Log inSign up

secondcoming

2,085 karma · joined Jun 9, 2020 (6y ago) · 2,758 submissions

Submissions

comment 6mo ago · link · parent

But won't all those posix functions that take only `const char*` parameters need to be changed to be pointer/length?

comment 6mo ago · link · parent

I had unattended-upgrades cripple our VMs

comment 6mo ago · link · parent

numpy is a python wrapper over a C library written by people who have ground those gears

comment 6mo ago · link · parent

I'm not sure what the argument is here?

These are in the standard library because someone proposed their inclusion.

They're fine for the majority of people who really don't want to roll their own data structures each time.

They're not compulsory to use, you're still free to roll your own.

comment 6mo ago · link · parent

In my limited experience with looking at autovectorisation compiler output, gcc is quite bad unless you hold its hand, and clang tries to autovectorise everything it sees.

comment 7mo ago · link · parent

"Claude, don't create any technical debt please"

comment 7mo ago · link · parent

all your GPUs are belong to us

comment 7mo ago · link · parent

Well that is very disappointing news.

Even the decoder makes a copy even though it's returning a string_view? What's the point then.

I can understand encoders having to make copies, but not in a decoder.

comment 7mo ago · link · parent

Is this still true? New versions of protobuf allow codegen of `std::string_view` rather than `const std::string&` (which forces a copy) of `string` and `repeated byte` fields.

https://protobuf.dev/reference/cpp/string-view/

comment 7mo ago · link · parent

Google really dropped the ball with protobuf when they took so long to make them zero-copy. There are 3rd party implementations popping up now and a real risk of future wire-level incompatibilities across languages.

comment 7mo ago · link · parent

If a user of S3 knows that directories aren't real why would they expect directory-related normalisation to happen?

comment 7mo ago · link · parent

Ah ok, thanks

comment 7mo ago · link · parent

What even is a 'clobber build'?

comment 7mo ago · link · parent

How long would it take for the heat to be depleted? Humans have only managed to drill something like 12km into the earth because it gets too hot to go further.

comment 7mo ago · link · parent

I find that sometimes changing the font in my IDE can give me an inexplicable boost

comment 7mo ago · link · parent

> Imaging being able to work on a branch stacked on a coworkers branch while you’re both constantly modifying them

I think that's something I don't want to imagine

comment 8mo ago · link · parent

The advantage of VMs is that you can nuke them and be done with it if you need to.

I use my personal laptop for $WORK and everything work related is done via the VM.

comment 8mo ago · link · parent

No. It's because farmers sometimes pollute rivers (despite household sewage being pumped into UK rivers daily), want to kill badgers to stop TB spreading, and because they work large areas of land they're obviously wealthy.

comment 8mo ago · link · parent

> If collapse happens, it notes the UK does not have the ability to absorb global shocks through higher domestic output. It lacks enough land to feed its population or rear livestock to maintain current consumption patterns and price levels.

Yet they're pushing to use farmland for solar farms and social housing.

There's a real hatred of farmers among the UK Leftist/Green crowd.

comment 8mo ago · link · parent

My biggest gripe is why these JS APIs even exist in the first place

comment 8mo ago · link · parent

It is annoying that they didn't just apply this to all containers

comment 8mo ago · link · parent

Let's not vague post on HN. What's the problem with the above?

comment 8mo ago · link · parent

Your machine takes 30 minutes to boot because of the RAM? Or it takes 30 minutes to load a model?

comment 8mo ago · link · parent

> But as of now there is no such problem on any kind of significant scale.

This is not the same as saying there's no problem.

A fraction of humans will ever compete in the Olympics. People train their whole lives for it. It's not about 'scale', it's about safety and fairness. It's not reasonable to expect them to 'shut up' about it.

I don't want to watch a man beat up a woman in a boxing ring.

comment 8mo ago · link · parent

You're most likely part of the 2bn that showed no, or a passing interest, in the Olympics.

comment 8mo ago · link · parent

> Continuously capturing low-overhead performance profiles in production

It suprises me that anything designed by the OTel community could ever meet 'low-overhead' expectations.

comment 8mo ago · link · parent

If you enforce that the buffer size is a power of 2 you just use a mask to do the

    if (next_head == buffer.size())
        next_head = 0;
part

comment 8mo ago · link · parent

UK, California and Brazil, no?

comment 8mo ago · link · parent

If I get a beer with no head I'm assuming the glass was dirty

comment 8mo ago · link · parent

My first thought is that this is a sign of burn-out.
12345
92