fyi1183 | 7 years ago | on: Temporal side-channels and you: Understanding TLBleed
fyi1183's comments
fyi1183 | 7 years ago | on: The advantages of an email-driven Git workflow
Bottom posting is so useful that even Outlook users reinvent it, badly of course, using different text colours etc.
It's been decades now, why have none of the advocates of HTML emails fixed this really basic problem?
fyi1183 | 7 years ago | on: The advantages of an email-driven Git workflow
fyi1183 | 7 years ago | on: 500px will no longer allow photographers to license their photos under CC
I don't think we have enough information to say for certain what really happened.
fyi1183 | 7 years ago | on: 500px will no longer allow photographers to license their photos under CC
It could also have been an intentional trial balloon, to test the waters to see how much they can get away with. Politicians do that kind of thing all the time.
fyi1183 | 7 years ago | on: AMD Tackles Coming “Chiplet” Revolution With New Chip Network Scheme
The more common approach is via SOCs though.
fyi1183 | 7 years ago | on: A Problem That Only Quantum Computers Will Ever Be Able to Solve
fyi1183 | 7 years ago | on: Linux: Introduce restartable sequences system call
fyi1183 | 7 years ago | on: A Problem That Only Quantum Computers Will Ever Be Able to Solve
fyi1183 | 7 years ago | on: No Copyright Law: The Real Reason for Germany’s Industrial Expansion? (2010)
It's kind of an interesting situation since it looks like source code even though it really isn't.
fyi1183 | 7 years ago | on: Learn just a little Awk (2010)
fyi1183 | 7 years ago | on: Ask HN: What comes after BitTorrent?
I would say that BitTorrent just fits is particular design constraints fairly well, so I don't see anything replacing it without changing the use case patterns.
fyi1183 | 7 years ago | on: First atomic bet on Bitcoin Cash using new opcodes
fyi1183 | 7 years ago | on: First atomic bet on Bitcoin Cash using new opcodes
fyi1183 | 7 years ago | on: Intel demonstrates a 28-core processor running at 5GHz
They don't go up to that insane frequency, but still. There's plenty of opportunity to shop around if you want really beefy systems, which is a very refreshing state of affairs compared to just two years ago.
fyi1183 | 7 years ago | on: Intel Announces Optane DIMMs
fyi1183 | 7 years ago | on: Python’s For - Else
In a way I find your comment contradictory: on the one hand, you appreciate and embrace that the body of common knowledge can change. On the other hand, you use the current state of common knowledge as an argument against doing things that can improve the common knowledge.
fyi1183 | 7 years ago | on: Python’s For - Else
To me and many others, having an else associated to an if that ends in break/continue/return is a code smell, because it misleadingly suggests that there are two possible paths of control flow that reach the code after the if/else, when in reality you can only reach that point through the else block.
fyi1183 | 7 years ago | on: Python’s For - Else
Also, it only happens to work due to Python's variable scoping rules. I have wished for a for-else construct in C and C++ many times: having to broaden the scope of a loop iteration variable just to duplicate a loop break check really sucks.
fyi1183 | 7 years ago | on: Python’s For - Else
First of all, the core of a linear search loop always has two exits: the break and the normal (unsuccessful) loop exit.
But in a lookup-or-insert pattern, a regular for loop has two possible states that the system can be in at the end of the loop. With a for-else loop, you can put the or-insert part into the else block, so that there is a simpler invariant: after the loop construct, the element always exists and has been found.
I was honestly surprised by all the negativity in this thread. To offer an alternative opinion, there have been plenty of times when I missed having for-else while writing C.