back
user profile

layer8

40,765karma·16,215submissions·June 22, 2018
recent activity (16,215 total)
comment
The GP intended $ACTUALMIMETYPE to be read as a variable — there is no $ after replacement.
5y ago·view thread
comment
> How can we replace nested comments? s/^/\/\// (and the reverse) work well for me. It nests.
5y ago·view thread
comment
Nah, comments are important and should be in the main field of view. :)
5y ago·view thread
comment
I settled on 100 characters as the sweet spot, with an exception for trailing punctuation being allowed to go beyond (because you don’t want to wrap a line just because of some trailing punctuation).
5y ago·view thread
comment
Not exactly. For one, class files are just components of a program, so more akin to .o or .so files, not executables. That set aside, they are binaries for a virtual machine, the JVM. One difference t…
5y ago·view thread
comment
Class files contain compiled bytecode, not source code like shell scripts do. “Script” implies human-readable source code. Java bytecode is binary, a kind of portable machine language.
5y ago·view thread
comment
It’s not clear from the documentation [0] whether this also adds lambda values (i.e. enabling higher-order functions). [0] https://support.microsoft.com/en-us/office/lambda-f…
5y ago·view thread
comment
One difference to AlphaZero though, if my understanding is correct, is that AlphaFold is trained on a predetermined data set and hence didn’t learn how “arbitrary” proteins fold in general, but just h…
5y ago·view thread
comment
I agree in that there should be text with the progress bar showing what the progress bar actually measures, e.g. “57 of 285 records processed” or “3:05 (ETA 10:34)”. If you can’t, then it’s a sign tha…
5y ago·view thread
comment
It depends on how large the variance is, which I suppose you could measure first. You could even show the existing distribution (or typical range) within the progress bar. A somewhat related approach …
5y ago·view thread
comment
Does it work without network connection? (just curious)
5y ago·view thread
comment
I can‘t get away from Lucida Console because all those more recent fonts seem to be only designed for HiDPI use.
5y ago·view thread
comment
I would like to, but I hate tabs (due to the jumps it causes in horizontal cursor navigation, and also due to the nonlinear behavior when inserting/deleting characters preceding a tab in a line),…
5y ago·view thread
comment
Wouldn’t work well for ls -l.
5y ago·view thread
comment
Gödel’s Proof by Nagel and Newman is quite good. ISBN 0814758371
5y ago·view thread
comment
Trump did better in the election than predicted, and he has a very solid base. Without Covid the outcome might have been different. That being said, I hope that you are right.
5y ago·view thread
comment
I just realized that Trump could become presidential candidate again in 2024 for a second term. So it might not be over yet.
5y ago·view thread
comment
> 3) I still haven't figured out how to deal with circular dependencies at the module level. That is usually dealt with by distinguishing between interface and implementation (cf. dependency i…
5y ago·view thread
comment
I use mutt for that. ;)
5y ago·view thread
comment
While you can‘t configure it per recipient in Outlook, changing the message format is basically a single click in the message editor (you may even be able to bind it to a keyboard shortcut). Talking a…
5y ago·view thread
comment
Malloc is usually slower than GC-based allocation (which basically just increments a pointer). Of course, one can emulate this via custom allocators in C++. My guess is that Java development is just e…
5y ago·view thread
comment
Official version: https://youtu.be/kVq1yec1Ljg
5y ago·view thread
comment
Apparently that‘s allowed as long as they specify an RDA of no more than 1.000 IU per day (averaged) on the packaging.
5y ago·view thread
comment
Very unlikely. “Suse” is the short form of “Susanne” in German, similar to “Suzie” for “Suzanne” in English. For that reason Germans wouldn’t perceive it as a pun on “Zuse”, and also because in German…
5y ago·view thread
comment
The misnamed Visitor pattern does exactly this: decouple the operations on a polymorphic object structure from the implementation of the structure. It can be used in a way similar to FP-style patter…
6y ago·view thread
comment
> I don’t know why so many languages have string functions that should take a locale but provide an overload that doesn’t and which uses the system locale as the default. That‘s a relict from the p…
6y ago·view thread
comment
> I am skeptical if someone thinks they need to do this and how they will get it done I most often use title case mappings in the context of replacements of names into diagnostic messages. I.e. you…
6y ago·view thread
comment
The quoted material is important, because people expect to be able to retrace the conversation within the single message. Technical (and also nontechnical) exchanges often consist of a dozen messages …
6y ago·view thread