Better HN
topnewbestaskshowjobs
Log inSign up

concede_pluto

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

Submissions

comment 9y ago · link · parent

MIME was using "application" in media type names in 1996. I think macOS may have started it because they needed to distinguish them from desk accessories.

comment 9y ago · link · parent

Declaring that every method throws Exception doesn't break the world any more than every Go function returning an argument of type error. You're intentionally saying pretty much anything could go wrong and nobody can plan ways to recover.

comment 9y ago · link · parent

It's also strange that a language that wants to encourage parallelism requires for loops, and specifies that they always run sequentially. Java 8 can put map/reduce with a thread pool in the standard library precisely because it doesn't use a for loop; imagine how tedious and repetitive the Go version would be: https://docs.oracle.com/javase/tutorial/collections/streams/...

comment 9y ago · link · parent

If you declare a map[string]int, Go will guarantee that keys are always strings and values are always ints, and it's a compile-time error to pass it to someone expecting a map[string]float64. Without generics, the only way to do that is to generate and compile a MapStringInt struct and a MapStringFloat64 struct and a...

comment 9y ago · link · parent

If we ship code that runs on SuSE 234 and RHEL 345, that's what we test on. If we run on our own hardware or AWS, we pick a distro and test on that. I don't care whether it builds or runs on a laptop; I don't write twitch games and interesting problems don't fit on a single machine anymore.

It's been a decade since I worked at such a tiny nascent company that all the software was written in just one language. Language packages almost never express dependencies on either system packages or other languages' packages, making "bootstrap to the point of being able to use all of the languages' toolchains" a manual process that lacks any guardrails. Nothing ensures you have a httpd version that's compatible with all your apps, because each of them just sort of assume httpd is out there somewhere without saying anything about it. Staying on the right versions of shared libraries is even more error-prone since the system package manager literally doesn't know you're using them.

If you want to read upstream security advisories and use such bleeding-edge software that even the bleeding-edge distros don't trust it yet, you're basically rolling your own distro that only exists on one machine in the world (because some languages' package managers aren't idempotent and symmetric) and is supported by nobody besides you. I'd rather delegate that to the people who specialize, because the best case is that I don't fuck it up too badly, I'll never add value that way.

comment 9y ago · link · parent

What exactly counts as repatriating income? Could a foreign subsidary buy shares of the US entity (akin to a buyback) instead of putting money into the US entity's treasury?

Not that I'm a fan of playing games with the market cap rather than rewarding owners...

Edit: apparently the IRS did not take kindly to IBM doing exactly this: https://seekingalpha.com/article/893331-how-microsoft-can-fr...

comment 9y ago · link · parent

If the answer to "are my dependencies installed and up to date?" is "well, yes and no, we can't tell which copy I'm actually using", I am not ready to go to prod.

> "diamond" where you depend transitively on two different version of the same library

That's a trainwreck waiting to happen. It's not even worth testing, much less deploying.

comment 9y ago · link · parent

This. Make as big a mess as you like on your own box (your sysadmin can pave it when you're hopelessly confused), but everything in prod has to be registered with the one and only package manager because otherwise nobody will know where it's deployed or what its dependencies are or whether they're up to date. cpan/pip/gem/cargo/go get/hackage/melpa are not sysadmin problems.

comment 9y ago · link · parent

Only paragraphs, code literals, italics, and URLs.

https://news.ycombinator.com/formatdoc

comment 9y ago · link · parent

You can't street park an EV, you have to run a 220V outlet to your garage if you plan to drive it two days in a row. Which means nobody in an apartment can use one.

comment 9y ago · link · parent

> it's great for the users to read the answer on Google

Do you disagree with that part? If a user reads a couple of sentences and decides they won't gain anything more by reading your page, are they wrong?

comment 9y ago · link · parent

There's nothing reasonable about expecting others to read your email when you don't read theirs. All these orgs should be blackholed as abusers of the commons, little better than spammers.

comment 9y ago · link · parent

This. At 47 I'm 13-2 in interviewing, where one of the rejections was mutual (a recruiter added bullshit to my resume and sent me for an obviously bad fit) and the other was Palantir years ago (coding didn't go badly, I think it was culture fit). I've never practiced for interviewing and I'm pretty suspicious that you only need to if you've spent your career gluing together code you don't understand. I've been worried about ageism but it hasn't kicked in yet.

comment 9y ago · link · parent

Buffett's favorite holding period is forever. Cuban points out that non-dividend stocks aren't much more than baseball cards. Kiyosaki argues that the reason people suffer financially is that they purchase liabilities and list them under the asset column.

The difference between investing and speculating is whether you get paid for owning it or only for finding a greater fool to relieve you of it. The wheels have come off the equities market because management has realized putting on a convincing show for speculators nets more dumb money than actually succeeding as a business worth owning.

comment 9y ago · link · parent

One of the worst things about the Docker fad is that people are wasting effort minifying things like the JRE and libc so that having many copies on the same machine isn't quite so blatantly foolish. They could be accomplishing something but instead they're wallowing in a problem that was solved decades ago.

comment 9y ago · link · parent

If I want you to email me, I will give you my address. If I haven't done that, there's no legitimate reason to pay a third party for it. 100% of your partners are spammers.

comment 9y ago · link · parent

It's not one-time; Go will always have an ongoing time cost in reading and writing tedious boilerplate to reimplement features Hack already had built in.

comment 9y ago · link · parent

Cities that limit the number of taxi drivers allowed to work are demonstrating that there's a viable market-clearing price lower than current taxi rates.

comment 9y ago · link · parent

ConstructionItem::TableColumnFragment is 37 characters[1]. A style that permits huge identifiers like that should allow more than 2.2 identifiers per line and should not allow alignment that requires the eye to jump over that much whitespace and land on the correct line.

[1] not columns. Bitmapped displays don't have columns, and it's objectively measurable that humans read fixed-pitch fonts more slowly.

comment 9y ago · link · parent

As long as I can tell at a glance which lines are more or less indented than other lines, I don't care how big indentations are. Making the right margin line up is a waste of time; I'm not going to spend my entire life staring at a fixed-pitch font to indulge someone else's retro ASCII art hobby.

comment 9y ago · link · parent

It's a reference to the tension between the high value of information and the declining cost of distributing it.

https://en.wikipedia.org/wiki/Information_wants_to_be_free#H...

comment 9y ago · link · parent

I haven't worked on shrinkwrap software since 2006. For the last eleven years, every developer role I've had required me to be on call and troubleshoot when prod fails in the middle of the night. If you can't be relied on to do that, there are only certain teams that can use you, and I don't conduct their interviews.

comment 9y ago · link · parent

All you need to know about WHATWG is that the monstrosity they're billing as "HTML" has neither version numbers nor a formal grammar.

comment 9y ago · link · parent

> a base living wage without work does not a happy life make

Makework doesn't cut it, though. You can hire a guy to dig a hole and another guy to fill it in, but both of them will be utterly demoralized. And I have trouble believing garbagemen wouldn't be happier staying home even though they know they're doing necessary work.

comment 9y ago · link · parent

Rollback is quite appealing but it does leave a window during which malware can exfiltrate your private info before you pave over it.

comment 9y ago · link · parent

> When deploying a web application, some administrators simply clone the repository.

Step one: stop randomly smearing crap around. Prod should only have files that came from a .deb or .rpm signed by the legit build process, because that's how you know your system is reproducible and has everything it should and nothing else.

comment 9y ago · link · parent

By violating the spec you're assuming you'll never want to use a tool that strictly adheres to the spec. Postel's Law works best because it accommodates some people not following it.

comment 9y ago · link · parent

This. If a 5% lower price makes a sale 10% faster or more likely, that's what a full-time real estate agent wants to recommend.

comment 9y ago · link · parent

Not understanding why anyone could favor Trump's agenda is a good way for a politician to keep losing elections.

comment 9y ago · link · parent

I found myself wondering whether the paranoid mindset that finds static typing reassuring is more likely to realize when code doesn't work.
12345