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.
comment
> How can we replace nested comments? s/^/\/\// (and the reverse) work well for me. It nests.
comment
Nah, comments are important and should be in the main field of view. :)
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).
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…
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.
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…
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…
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…
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 …
comment
Does it work without network connection? (just curious)
comment
I can‘t get away from Lucida Console because all those more recent fonts seem to be only designed for HiDPI use.
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),…
comment
Wouldn’t work well for ls -l.
comment
Gödel’s Proof by Nagel and Newman is quite good. ISBN 0814758371
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.
comment
I just realized that Trump could become presidential candidate again in 2024 for a second term. So it might not be over yet.
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…
comment
I use mutt for that. ;)
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…
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…
comment
Official version: https://youtu.be/kVq1yec1Ljg
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.
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…
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…
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…
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…
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 …