Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

3,226 karma · joined Jun 14, 2019 (7y ago) · 4,043 submissions

Submissions

comment 4y ago · link · parent

You're redefining "safe" to mean "doesn't segfault".

Telling your boss that the frontend is splattered with 'undefined' and all the balances are unsynchronized, but, hey, it's not a bug because no segfaults were involved in the process is a very good way to get fired.

comment 4y ago · link · parent

It's a secret we will never know the answer to. Maybe historians from the far future will find some clues.

comment 4y ago · link · parent

'undefined' is never safe in Javascript.

As for the rest of your comment - good job on completely missing the point.

When we talk about "buffer overflows", privilige escalation exploits are the least of our problems.

https://hackernoon.com/null-the-billion-dollar-mistake-8t5z3...

comment 4y ago · link · parent

The vast, vast majority of buffer overruns, memory leaks and race conditions live in Javascript code. (An interpreted, garbage-collected language.)

You don't understand what the memory safety promised by Rust actually does.

(No, it won't save you from buffer overruns. Only from segfaults.)

comment 4y ago · link · parent

The actual stuff is being written in C++ still.

Rust is for "programming is hard, let's go (language) shopping" programmers. Unsurprisingly, they don't tend to finish their projects.

comment 4y ago · link · parent

> And that an immediate action is for cities like Venice, New Orleans, and Miami to ready themselves for that.

If you really believe in what you say, now is the time to go short on housing in these (mega-expensive) cities and re-invest your incredible profits into clean energy.

Alas, nobody is actually serious about what they say, on both sides of the so-called "debate".

comment 4y ago · link · parent

Again?

comment 4y ago · link · parent

The only difference between HTTP/1.0 and HTTP/1.1 is having to send the 'Host:' header.

comment 4y ago · link · parent

> What is the advantage of GPU acceleration for a terminal emulator?

I haven't found any. Seems like it's just a fashion accessory for $THIS_YEAR.

comment 4y ago · link · parent

PHP :P

comment 4y ago · link · parent

I'm guessing we'll eventually converge on something like Nix except where every artifact is in a Ducker image. (And with a micro k8s on a "cluster" of one machine to make this mess sorta work.)

comment 4y ago · link · parent

"Secure" as in "security by closed source and obscurity, because, hey come on, we need to upsell you on 'enterprise' features"?

Yes, of course. Not really any different from the Internet we have today, though.

comment 4y ago · link · parent

> Flu is (for the most part) the exception

Flu and coronaviridae.

Shit, thoughtcrime. Hope I don't get vanned.

comment 4y ago · link · parent

> ...and the assumption of a cooperative system provides more opportunities for optimization

Also much more opportunities for blocking and starvation. Especially when people try to reinvent schedulers without understanding how they work in the first place.

comment 4y ago · link · parent

> ...is because they have much higher throughput than the alternatives

You're equating "high-performance" with "throughput". This is a classic newbie mistake and exactly what I mean when I mention cargo-cult.

comment 4y ago · link · parent

Get with the program.

Smoking tobacco = bad.

Smoking cannabis = good.

comment 4y ago · link · parent

You realize that C++ templates are just a compile-time Lisp-like language interpreter, right?

comment 4y ago · link · parent

> before the late-19th century, seeing a doctor was more likely to shorten your lifespan than lengthen it

Medical malpractice is the third-leading cause of death. (After cancers and cardiovascular problems, aka "old age".)

This is inevitable as we can't really experiment on people and do real science.

comment 5y ago · link · parent

I have used compile-time parsing in production for great effect. Think protobufs except without the preprocessing steps - you can embed a human-readable schema right into your C++ sources.

comment 5y ago · link · parent

Use busybox instead.

comment 5y ago · link · parent

You can already kill yourself if you really want to. Nobody can stop you.

The whole idea of "assisted suicide" is like Bitcoin - invented for the express purpose of finding and abusing loopholes in the current legal frameworks.

comment 5y ago · link · parent

Money is nice, but if you counted where the Internet's websites are hosted you'll probably see a different picture.

AWS solves mostly an accounting, not a tech problem.

comment 5y ago · link · parent

"Studies show water is wet".

comment 5y ago · link · parent

Yes?

Not sure why the '/s'. Options exist, and not just "AWS or GCP".

comment 5y ago · link · parent

Seems like Americans live in some sort of other parallel reality Internet where Hetzner et al., don't exist.

comment 5y ago · link · parent

Point is that measuring stability and safety by counting the number of fashionable buzzwords is totally braindead.

comment 5y ago · link · parent

> This is a big point for companies that are worried about running current Nix (which is fairly easy to segfault) on production machines as root.

Oh wow, wait till they find out what language the OS on their production machine is written in!

comment 5y ago · link · parent

Bitcoin solves the problem of getting rich quick without access to a bank.

comment 5y ago · link · parent

> I get that nix is supposed to be hermetic, but does it enable two of something?

No, it doesn't solve the TCP port isolation problem. (But Docker doesn't really either. Linux network namespaces should, but nobody bothered to develop tools for that yet.)

1
9899100
135