Better HN
topnewbestaskshowjobs
Log inSign up

enneff

14,622 karma · joined Jan 27, 2009 (17y ago) · 2,278 submissions

adg at golang dot org
Submissions

comment 4y ago · link · parent

I think the problem in this case was that the entire file was the script that ran top to bottom. It’s not so much that the file was big, but that the function was huge and impossible to reason about.

I agree that obsessing over file length is it’s own kind of anti pattern. I have had colleagues who insist on putting every little thing in a different file and that is its own special kind of hell.

comment 4y ago · link · parent

I did that and made a point of following only people who tweet things that are interesting or funny. I would mute any account they posted something that made me feel bad. But Twitter kept finding ways to recommend tweets that would get under my skin in some way, no matter how many accounts I mute.

comment 4y ago · link · parent

You assume there is some interest in the viewpoint in any way whatsoever. There are vast subsets of humanity that I don’t want to hear anything from. Life is too short.

comment 4y ago · link · parent

I have reviewed some of the crypto code in the Go standard library that this is built with, and there is use of constant time primitives in there so it is at least possible and some attention has been spent on it.

comment 4y ago · link · parent

I think when starting out a design the non-goals are just as important as the goals.

comment 4y ago · link · parent

I’m not familiar with the background of the poster you replied to, but your assumption that they are not simply choosing a common name from their culture is telling.

comment 4y ago · link · parent

Yeah, it’s the real world tasks that GeekBench tries to simulate that don’t tend to scale linearity with processor count. A lot of software does not take good advantage of multiple cores.

comment 4y ago · link · parent

Racism is not just perceiving one race as superior to another. It is about prejudice, which stereotypes promulgate.

comment 4y ago · link · parent

O’Rourke has written hundreds of thousands of words that promote racist ideas. Of course people will always debate whether making racist jokes make one a racist, but the sheer volume of his work is surely evidence of a kind.

comment 4y ago · link · parent

Lol how is “ha ha Chinese eat dogs” not racist. It’s playing on the racist stereotype that asian people eat dogs. (It is true that in some parts of Asia they eat dogs but not in China.)

comment 4y ago · link · parent

If you’re a prolific writer then the occasion of your death will inevitably be a time for the public to reflect on your life’s work. He was intentionally antagonistic, so it’s actually a sign of respect, not the opposite, that people continue to engage with his ideas after he is gone.

comment 4y ago · link · parent

What’s scary is the huge number of bugs in the Linux kernel that wouldn’t exist if it were written in a safer language.

https://syzkaller.appspot.com/upstream

comment 4y ago · link · parent

> The conversation in question was "heated" and I certainly pushed hard, but it certainly wasn't anything out of line with what I grew up with.

I similarly used to think that having "heated" conversations with raised voices was normal and fine, and just a sign of caring deeply about something. But the more I have worked with different kinds of people, I have realized that it's just straight up unproductive. If you're getting emotional about work, you need to take a step back, and it's not fair to inflict your negative emotions on your colleagues.

I'm glad that the industry puts pressure on people to be less like this. It has made me a better teammate.

comment 4y ago · link · parent

People often suggest forking large projects like this, as if it would solve a problem. If you actually think through what that would entail, you'll find that it would actually create more problems.

The people that actually do the work on Swift are those that control the language and its destiny. You could fork it, but without a similar amount of effort behind your fork there's no way you can convince people to switch from the mainline.

comment 4y ago · link · parent

I worked at a startup whose product wasn’t that great but the CEO aggressively networked and marketed and he made it work. It’s so important.

comment 4y ago · link · parent

That’s not really how software patents are (ab)used. Just having the patent and a vaguely credible claim that someone is using the patented technology is enough to encumber them with enough legal issues that many people will settle instead of fight it.

comment 4y ago · link · parent

> This alone trumps any arguments against bitcoin.

This is a ridiculous claim. Just because a technology can be used for good does not mean it is beyond criticism.

comment 4y ago · link · parent

Seconding this. Great firmware and I own some of their hardware and it works well.

comment 5y ago · link · parent

What this really means that once you get to a certain level of experience and seniority the actual code you write in the small is pretty much irrelevant. What matters is the overall architecture of what you’re building: the data structures and APIs. The challenge becomes about working together as a team, and with other teams within your ecosystem. Sophisticated language constructs don’t actually help you solve those problems, and imo their benefit is marginal where they do help.

comment 5y ago · link · parent

Nepo is fantastic. And of course Magnus is brilliant. The game is at an all time high imo.

comment 5y ago · link · parent

Not sure where to go from here except to say I disagree with your characterisation of these events, and the events you have chosen to represent the history of these things.

comment 5y ago · link · parent

I thought the implication was they’d have to tell the kids that he died. That he didn’t say goodbye is something they’ll immediately know themselves.

comment 5y ago · link · parent

Except neither of those things are true! GUIs were tremendously exciting from the start and when Apple launched the iPhone saying “just build web apps” everyone was disappointed. How did you even think to offer those examples?

comment 5y ago · link · parent

Nobody cares about VR.

comment 5y ago · link · parent

This reinterpretation of the song is really amazing https://youtu.be/bjWFNgKE4uw

comment 5y ago · link · parent

Monorepos can and often do have ACLs per directory.

comment 5y ago · link · parent

They’re valuable to collectors as there is a finite supply of them. There is literally an infinite supply of NFTs, and the works they are a pointer to can be cloned digitally. There is no comparison.

comment 5y ago · link · parent

The final response from the team at Amazon is incredibly gracious considering how condescending and entitled almost all the other comments are. Please don’t be like those commenters.

comment 5y ago · link · parent

Often they get enjoyment from ruining other people’s fun, too.
1
111213
76