The government didn't invalidate a legal contract; the contract is simply no longer legal. If your position is that the government should never make laws that contravene existing practices, then I have to disagree. In…
'e' ^ 'f' ^ 'g' == 0x40. Uh-oh. Edit: I misread the post; my bad. The post effectively uses a bit vector to store the last N chars in a window, and the bit vector happens to fit in a single machine word. Also, XOR…
I do not believe it follows from "Much much more people die from processed foods/air pollution in the world than from motorway accidents" that nobody should care about speeding and motorway accidents. After all, far…
The higher your speed, the higher your speed differential with the road and guard rail. A car nudging another at 250 km/h can cause the other to violently roll over, while a car nudging another at 40 km/hr can't. Speed…
The title needs to be changed, because: > This isn’t meant as a lens tutorial. Prerequisites are some basic knowledge of how to use Haskell, GHCI, and familiarity of the idea of lenses, if not the specifics. With that…
utf-8 has an elegance that utf-16 lacks: utf-8 decode switch (std::countl_one(unit)) { case 0: /* one unit */ break; case 2: /* two units */ break; case 3: /* three units */ break; case 4: /* four units */ break;…
It's because the grandparent comment has misconceptions about nutrition, including that animal products are necessary for a healthful diet and how much protein is required for a healthful diet. The first misconception…
I think a demo of the transpiler output for a short function would make a great addition to the readme.
You misunderstand me; I agree with you, which is why I think we should quiet down and not upset the sensibilities of the majority in the community. I understand why you would assume my comment is not in good faith, and…
The vast majority of people in the Hacker News community clearly take offense to your view. Perhaps you should take a moment to consider your own antisocial behavior and quietly not express your opinion. After all, we…
> The proposed syntax is probably a consequence of a modern trend... ML uses `name: type = value`. It came out over a decade before C++ and just one year after C.
The government didn't invalidate a legal contract; the contract is simply no longer legal. If your position is that the government should never make laws that contravene existing practices, then I have to disagree. In…
'e' ^ 'f' ^ 'g' == 0x40. Uh-oh. Edit: I misread the post; my bad. The post effectively uses a bit vector to store the last N chars in a window, and the bit vector happens to fit in a single machine word. Also, XOR…
I do not believe it follows from "Much much more people die from processed foods/air pollution in the world than from motorway accidents" that nobody should care about speeding and motorway accidents. After all, far…
The higher your speed, the higher your speed differential with the road and guard rail. A car nudging another at 250 km/h can cause the other to violently roll over, while a car nudging another at 40 km/hr can't. Speed…
The title needs to be changed, because: > This isn’t meant as a lens tutorial. Prerequisites are some basic knowledge of how to use Haskell, GHCI, and familiarity of the idea of lenses, if not the specifics. With that…
utf-8 has an elegance that utf-16 lacks: utf-8 decode switch (std::countl_one(unit)) { case 0: /* one unit */ break; case 2: /* two units */ break; case 3: /* three units */ break; case 4: /* four units */ break;…
It's because the grandparent comment has misconceptions about nutrition, including that animal products are necessary for a healthful diet and how much protein is required for a healthful diet. The first misconception…
I think a demo of the transpiler output for a short function would make a great addition to the readme.
You misunderstand me; I agree with you, which is why I think we should quiet down and not upset the sensibilities of the majority in the community. I understand why you would assume my comment is not in good faith, and…
The vast majority of people in the Hacker News community clearly take offense to your view. Perhaps you should take a moment to consider your own antisocial behavior and quietly not express your opinion. After all, we…
> The proposed syntax is probably a consequence of a modern trend... ML uses `name: type = value`. It came out over a decade before C++ and just one year after C.