back
user profile
layer8
40,765karma·16,215submissions·June 22, 2018
recent activity (16,215 total)
comment
It’s only free for screen sizes up to 10", isn’t it?
comment
The way I remember how to write it is that "weather" and "whether" have the same number of letters.
comment
That doesn’t compose in a class hierarchy, though.
comment
That sounds like a more powerful variation of Excel's Goal Seek function. The latter however uses an iterative approximation approach. Given the non-exact nature of floating point, it would be in…
comment
Normally you want to reserve the "unused" opcodes in order to assign them new semantics (new instructions) later in an updated CPU model. To discourage programs from using those yet unassign…
comment
Languages without inheritance/subtyping are normally called object-based [1], in distinction from object-oriented . [1] https://en.m.wikipedia.org/wiki/Object-based_langu…
comment
At least with Bongard problems you don’t have heisenbugs.
comment
Parameters vs. algorithms is really a spectrum though. Just ask the lispers. ;)
comment
UI visual design has a propensity for bike shedding.
comment
IMO this is more about affordance than about skeuomorphism. The traditional tab strip UI is already an abstraction, because it has only two levels of depth (instead of each tab having a different de…
comment
You can visualize 4D objects by visualizing morphing 3D objects (i.e. use time as the 4th dimension). Where it becomes tricky is 4D rotation, but I suspect that after a while you can get some limited…
comment
In my view, consciousness is a gradual thing, not a binary property. In addition, it's also not really "a thing", as in not "something extra". By that I mean, when you make it…
comment
The "feeling of experiencing" is just a perception. That became obvious to me after dabbling in meditation/mindfulness exercises. My mental model of this is that in addition to regular …
comment
The "community" isn’t homogenous. Different topics will attract different people who comment. Time of day also affects the distribution of visitors from different time zones (and possibly ag…
comment
> "site:reddit.com" is significantly more burdensome to type than "reddit", particularly on phone keyboards. On iOS I use Text Replacement to replace (e.g.) "sr" by &q…
comment
Email is really the only way for structured, asynchronous, long-form communication. Everything that requires more than a short paragraph and/or that you want to be able to sort/list/fil…
comment
I would have used visual block mode to duplicate the 123 column and insert the remaining content for all three lines simultaneously. If the situation is a bit more complex, I sometimes use regex repla…
comment
Sounds like a good reason not to work for a big company then.
comment
We can’t even agree on when to have DST transitions (or not having them at all).
comment
> The emoji modifier is now modifying the newline character. In that case, the modifier should be displayed at the end of the preceding line, as newlines are generally associated with the line they…
comment
"Return" is much more reliable to spot (moreso with syntax highlighting) than having to identify the last expression, in particular in functional-style programming where expressions can take…
comment
You probably can make software of unknown pedigree out of it.
comment
It goes further than that. The debates around UB a more about whether the compiler can assume that there are no buffer overflows and perform optimizations based on that. For example, if you have a l…
comment
> In particular, nothing in the wording of the standard expliclty says that an implementation is expected to assume UB doesn't happen, or that a standard-conforming program can't have UB.…
comment
I noticed that I mixed up "implementation-defined behavior" and "unspecified behavior" a bit. Here are the actual definitions: implementation-defined behavior : unspecified behavi…
comment
Even if microscopic, wormholes that allow information to be transmitted through them would still be interesting if the ends can be moved independently: https://en.m.wikipedia.org/wiki&…
comment
Because there seems to be some confusion in this thread: - "Implementation-defined behavior" means that the C standard specifies the allowable behaviors that a C implementation must choose f…
comment
> Microsoft Edge has Internet Explorer mode I wish they would provide the opposite, Edge/Chromium engine in an IE skin/UI.
comment
> For users on Windows I recommend WinCompose: https://github.com/samhocevar/wincompose …