Better HN
topnewbestaskshowjobs
Log inSign up

erik_seaberg

4,519 karma · joined Aug 21, 2015 (11y ago) · 3,139 submissions

Submissions

comment 1y ago · link · parent

It’s better to quote a reserved word than to be unable to use it.

comment 1y ago · link · parent

Seems to me the article focused on how they did this big job, rather than why.

comment 1y ago · link · parent

There are times when mistakes will cause more serious problems for customers. There are times when staff will be less available to aid recovery. A good strategy shouldn't deny these truths.

comment 1y ago · link · parent

Will the compiler infer that a lambda or a method ref implements Func with its exception type param, or do you have to rewrite call sites?

comment 1y ago · link · parent

Software demand skyrocketed because of the WWW, which came out in 1991 just before Python (although Perl, slightly more mature, saw more use in the early days).

comment 1y ago · link · parent

Deep work needs peace and quiet. This is getting hard to find in an open plan office, except late in the evening.

comment 1y ago · link · parent

This. It's so frustrating that sync.Map isn't generic and reusing the builtin map API is impossible.

comment 1y ago · link · parent

Boring repetition is a bad fit for the human brain. Working memory is very small. Mistakes per line are frequent. It wants to see patterns that are not quite there. Even when it works out, it's millions of times slower than having the computer fill in grunt work from a more concise and readable spec of the problem.

comment 1y ago · link · parent

I remember science news articles about cooling rather than warming. Newsweek had to retract at least one of theirs: https://www.newsweek.com/newsweek-rewind-debunking-global-co...

comment 1y ago · link · parent

Around competitive prices and terms rather than a monopoly.

comment 1y ago · link · parent

It might seem really unlikely any acquirer would ever sue, but if your big company has compliance auditors they will need to see something in black and white.

comment 1y ago · link · parent

The warning went at least as far as the inland side of Fremont, which seemed extreme.

comment 1y ago · link · parent

Pairing doesn't replace code review because the reviewer needs to see the finished branch with fresh eyes, unbiased by discussion and false starts, to know whether it's safe and clearly explained in writing for every oncall in the future.

(I also need peace and quiet to think.)

comment 1y ago · link · parent

A "trusted team" pushing unreviewed code to prod is breathtakingly reckless. I don't trust anyone to do that. Not even myself. Please review my code, because our customers matter and so does oncall's peace and quiet.

On svn we reviewed finished feature branches and merged them to the next release branch every few days, though svn routinely crapped itself on spurious conflicts like renames. Git just enables this reliably.

comment 1y ago · link · parent

I'm reminded of Bright's https://en.wikipedia.org/wiki/Empire_(1977_video_game), a turn-based PvP strategy game. My friend's 1989-ish instance was sadistic enough to batch execute four turns per day. Every player had to rush to a TTY every six hours to give new marching orders. If you study or sleep too late, your forces and factories could be wiped out.

The obsessives, living on campus newly free of supervision, were line printing maps and writing logistic planning tools that foreshadowed EVE Online's "spreadsheets in space."

comment 1y ago · link · parent

Fixed pitch fonts and ASCII art are outdated; not even Dwarf Fortress relies on them anymore. You can sort of line up numbers, but you have to be careful to use U+2007 FIGURE SPACE (not U+0020 SPACE) and U+2212 MINUS (not U+002D HYPHEN-MINUS) to match the size of an Arabic digit. Code indentation only needs to be visibly bigger or smaller, and lining up words and formulae are jobs for TeX.

comment 1y ago · link · parent

This comes down to Postel's Law; they recommend liberally receiving what you conservatively cannot send. Also from RFC 2616 but not cited by the author:

> This flexibility regarding line breaks applies only to text media in the entity-body; a bare CR or LF MUST NOT be substituted for CRLF within any of the HTTP control structures (such as header fields and multipart boundaries).

They aren't going to allow sending LF until at least one bump to a higher protocol version where every server MUST accept it.

comment 1y ago · link · parent

The resources are 0.004% of the population of one wealthy country, who devoted themselves to shaping about 400 tons of stainless steel. Nothing constructive comes of starving a project that size, certainly not the global carbon sequestration I'd like to see.

comment 1y ago · link · parent

Escaping pollution is not a reason for going. Creating habitable areas on/under Mars is clearly harder than maintaining habitable areas on/under Earth. We have people who are much more motivated to do it and we might learn more from it, though.

comment 1y ago · link · parent

Is there tooling to automatically transpile from other languages to this?

comment 1y ago · link · parent

Hundreds of programming languages set very high expectations, which should support groundbreaking ideas like Lisp style macros and multimethods, ML style pattern matching, Prolog style search and unification, and Smalltalk style metaprogramming on runtime classes and overriding doesNotUnderstand.

I have to admit that right now it's a dynamically typed imperative language that looks a lot like Python.

comment 1y ago · link · parent

Static typing prevents reusing functions unless they're generic. The other option is to give up static typing and pass "all" everywhere, like a dynamic language.

comment 1y ago · link · parent

Google is famous for tough interviews and accepting a small fraction of applicants. I was impressed with everyone I met, and Pike's "incapable" statement was baseless and insulting.

comment 1y ago · link · parent

Half of my comments were "nit: consider blah blah" where I want it on his radar, but I approved anyway and if he declines I'm fine with it.

comment 1y ago · link · parent

Fitting a C compiler on a PDP-11 was an impressive achievement, but as a language it was a poor foundation to build anything reliable, and we still live with the consequences.

comment 1y ago · link · parent

I'd expect that because Promises are small Javascript objects while goroutines each get a stack that grows from at least 2 KB.

comment 1y ago · link · parent

f(g(), h()) can't work with MRVs, only f(g()). multiple-value-list, multiple-value-call, and quietly ignoring unneeded values makes them much more usable.

comment 2y ago · link · parent

Imagine Walmart telling all their customers "Come back tomorrow, maybe, we can't manage to keep any of our stores open. At least nobody is going to die."

comment 2y ago · link · parent

I remember someone arguing that disabling assertions in prod is like wearing a life jacket in the harbor but throwing it overboard going to sea. And Moore's Law paid for them years ago.
12345
105