HN user

amptorn

700 karma
Posts6
Comments209
View on HN

I gave up on Clean Architecture after about one chapter. There's a section where he's graphing the number of lines of code in a hypothetical company's codebase over time - it grows rapidly at first and then it levels off, and he points at this like it means anything, specifically like it's a bad thing and it means the software has become difficult to work in. Also this isn't a line chart, it's a bar chart, and the X axis isn't time, it's unlabeled - eventually, in the text, you find that there's one bar per major release of the software, if that tells you anything about how retro this conception of software development is. Another bar chart shows the number of developers growing rapidly, as if that means anything either... It was just baffling.

I think that observation just lends further weight to the argument that the relationship between atomic time and universal time is a dynamic and unpredictable thing, which we need to handle correctly rather than pretending it doesn't exist.

The more surprising thing about `Array.prototype.sort` is that it both sorts the array in place and returns the (now-sorted) array. You can go a long time writing `const arr2 = arr1.sort()` without realizing that what you're doing is wrong, and the code you're writing is misleading readers about what it does.

Bitcoin can use energy in places you couldn’t get to before

You're suggesting a scenario where, instead of using energy at point A to do useful work, we use energy at point B to generate Bitcoin to buy energy at point A to do the useful work. In this scenario,

  1. the same amount of energy is still being generated at point A, and
  2. an incredible amount of additional energy is being generated at point B for no reason

That's stopped working! Google is just ignoring them from time to time now. Did you even read the article?

Unix filenames are just sequences of bytes, not defined as strings

"Write programs to handle text streams, because that is a universal interface except for filenames which are opaque binary"

Why in the world does Unix allow newlines in a filename in the first place? That's just such an obviously brain-damaged idea. There's not a single rational use case for it, yet it breaks nearly every text-based tool you could possibly imagine...

ROT8000 5 years ago

This is a very bad idea because it's going to rotate ordinary characters to code points where Unicode normalization has an effect, including combining characters, whitespace, control characters... After normalization, rotating back will produce garbage.

Yeah. These figures are completely irrelevant. The problem of increased CO2 concentration in the atmosphere isn't drowsiness, headaches and eventual suffocation, the problem is global warming. The figures seem to imply that once CO2 concentrations reach around 1000ppm we'll have a problem. But we have a huge problem right now.

SCP-055 5 years ago

The SCP Foundation wiki is hosted on Wikidot, which provides free wiki hosting. It can be accessed either via a Wikidot subdomain or via the dedicated domain. Annoyingly, it seems like both alternate routes into the same content have about equal search engine optimisation, so a random SCP link has an even chance of using either domain.

I recommend using <http://scp-wiki.wikidot.com/> rather than the alternative. Wikidot has some problems with it; one of those is that some browsers have trouble logging in when the domain name isn't *.wikidot.com.