Better HN
topnewbestaskshowjobs
Log inSign up

concede_pluto

344 karma · joined Apr 1, 2017 (9y ago) · 146 submissions

Submissions

comment 9y ago · link · parent

(vouched)

On #1, having just stumbled across a deserializer that can be commanded to allocate a 2^63 byte buffer, I agree 110%.

On #2, the problem is that the standard says things like "walking off the end of an array is undefined behavior" and "use after free is undefined behavior" yet we don't seem to have any programmers who can be trusted to reliably avoid these problems with zero runtime checking.

comment 9y ago · link · parent

[1] is part of the basic domain knowledge that makes one competent. E.g., any programmer who deals with US PII should also know that social security number collisions exist even though nobody on the team has struggled with it. Your coworkers' personal experiences are not the only or best way to learn about users' problems, because not only are they a very small sample but they are self-selected nerds and inherently unlike most users (unless you sell programming tools).

[2] is a product design decision, not a programmer's ignorant error. "A product should side with a child against their legal guardian who actually paid for the product" is by no means the consensus across all cultures.

comment 9y ago · link · parent

Nobody cares about diversity in accounting. There are no role models. It's just a bunch of nerds trying to score 100% on the big test because nobody else is obsessed enough to be any good at it.

That's what programming was like before these people chasing big paychecks invaded.

comment 9y ago · link · parent

If my code sucks, I have exactly the same experience fixing it that a black woman would have, because the arbiter of correctness is a computer without any opinions about the author. Diversity in skill comes from having worked in different kinds of software and languages and frameworks, not going out and collecting fifty shades of node hipster.

comment 9y ago · link · parent

It's GitHub HR and their ongoing war against meritocracy.

comment 9y ago · link · parent

An undetected I/O error is vastly more likely than even one accidental SHA-256 collision among billions of passwords. It's not quite literally impossible but I'd bet my car I never see it happen.

comment 9y ago · link · parent

> Can I not write a well designed and correct program in C?

We have decades of coredumps and exploits to convince us that nobody can. How many well-known apps can you name that have never blown up randomly? I can't think of a single one. How much more failure until it's reasonable to think that C requires an inhuman level of perfection and almost any alternative would be an improvement?

I hear good things about seL4 but that wasn't written so much as translated from Haskell during a formal process that makes Rust look like finger painting.

comment 9y ago · link · parent

38 characters of ASCII gibberish (all 95 printable characters) gives you less than 2^256 possible passwords, and pretty much nobody uses a password with more entropy than that.

comment 9y ago · link · parent

Isn't table-driven stack unwinding cheaper than having a bunch of functions each check an error code and return to their caller?

comment 9y ago · link · parent

The industry has two choices: stop trying to impose post-sale restrictions, or start openly leasing products for a limited time instead of selling them.

comment 9y ago · link · parent

If I could fly capsule-hotel class I'd love to try it. I think it'd be less awkward and uncomfortable. But it's not going to happen because airlines need to get passengers on and off quickly.

http://philip.greenspun.com/flying/unions-and-airlines is a compelling explanation of why the pilot's unions have the industry by the throat. I can't imagine investing in a business where every labor negotiation is an unconditional surrender because saying no means you have to shut down indefinitely.

comment 9y ago · link · parent

Google code can't age gracefully. They constantly replace key infrastructure in their monorepo, so either a project is important enough for engineers to keep it on the upgrade treadmill, or it needs to be shut down before it abruptly fails.

comment 9y ago · link · parent

I mistrust a list that rates C++ as more concise than Common Lisp (in which one can create domain-specific languages), and Visual C++ as somehow 50% more concise than both.

comment 9y ago · link · parent

How can there be a valid meeting of the minds if you're expecting me not to notice my words have been tampered with?

comment 9y ago · link · parent

> interface you must implement doesn't declare any checked exceptions

It verges on malpractice to design an interface and declare that no implementation of it could possibly ever fail. I'm looking at you, Runnable.

comment 9y ago · link · parent

Lisp has lots of mutable types and lots of ways to smuggle them into and out of a procedure. I'd say pure functions are tolerated but not supported.

Still hard to beat for creating domain-specific languages, though, and a carefully designed DSL can rule out nondeterminism and side effects.

comment 9y ago · link · parent

Anyone could get a schematic of their Apple ][ and crack the case. It wasn't until the Mac that they stopped treating customers like humans with tools.

comment 9y ago · link · parent

This is a self-inflicted problem. 787 engineers don't have to test their work on a Learjet.

comment 9y ago · link · parent

If you have machines with unused capacity, why would deploying a docker container image be easier than deploying a RPM package?

comment 9y ago · link · parent

Free Pascal seems to have all the memory safety drawbacks of C and C++, which I stopped using seriously years ago.

comment 9y ago · link · parent

The one that got to me was the Lunar Module Ascent Engine. You only get one and the fuel is so corrosive that it couldn't be test fired. It works on the first try, or it doesn't.

comment 9y ago · link · parent

Hypercapnia is the scary part. Turning off the O2 feed and passing out should be pretty peaceful if the CO2 scrubber still works.

comment 9y ago · link · parent

Motion you feel but don't see is the problem. Maybe a translucent display?

comment 9y ago · link · parent

They literally hire people to shove riders into cars. That has to slow down boarding, which becomes a vicious cycle after you already needed more throughput than you have.

comment 9y ago · link · parent

pg's early essays like http://www.paulgraham.com/avg.html and http://www.paulgraham.com/power.html drew a crowd who want to see language design move in the polar opposite direction. From that viewpoint, Tor only barely dodged a bullet.

comment 9y ago · link · parent

In practice "little tolerance for bigotry" means you might get fired for supporting a viewpoint held by the majority of Californians.
12345