Thanks for taking the most uncharitable interpretation of what I wrote possible. It’s so productive.
HN user
SassyBird
Is it standard for people in the Andes to take offence at people taking pictures of them? I don’t know, maybe it is, haven’t been there. It is not in Europe.
If you avoid the slightest possibility of unpleasant and pointless confrontations, then you’re going to lead a very dull life. I sometimes photograph random people. Never has anyone had an issue with that. Sometimes they approach me and we have a chat. That’s all that happens. I’ve had more chances of being hit by a car than anyone having an issue with me taking pictures of them. Boils down not being a dick about it.
Hopefully k is natural. ;)
It doesn’t matter which definition you pick. I e.g. had it defined axiomatically when I studied, i.e. we were given a list of properties which identify exp unambiguously and then we were given a proof of its existence. The fact that those properties were part of the definition doesn’t take away from their profoundness. The function could still just not exist. Same thing with defining by formulas. The map is not the territory.
Transcendental numbers like e are a lot more "unnatural" than imaginary numbers.
Following fashion has nothing to do with hacking.
It’s great to hear. Thanks.
It’s Qt: https://github.com/rstudio/rstudio/blob/main/src/cpp/desktop...
It seems with some JavaScript generated from Java via Gwt. Regardless, I prefer it over VSCode UI.
Are they going to drop RStudio? I very much prefer its Qt interface over whatever VSCode invented. It’s fast, has nice keyboard shortcuts, none of that pointless padding and it just feels great to use.
The base graphics packages make the plots as ugly as the ones generated by gnuplot though. ggplot2 on the other hand has very pretty output. And the concept of grammar of plots just makes so much sense to me.
So, what, exactly, am I looking for?
This can’t be answered in general. Flamegraphs are measurements of what happened. But just like a ruler doesn’t tell you whether a given human is atypically short or tall for its species, a flamegraph can’t tell you which portion of the program takes too long a time. You need to have prior knowledge about data structures, algorithms, memory bandwidth etc in order to confront your justified expectations with the reality and be surprised with something. And it will all depend on the particular program you profile.
This has nothing to do with GCC being a first-class citizen in Linux. It’s a kernel feature. The kernel doesn’t care which compiler or debugger you’re using. You can dump core of any process regardless of the language it’s written in. Every modern OS supports that.
You must not have seen Bloomberg Terminal then. Most devs on this forum wouldn’t be even able to build anything this performant and ergonomic.
100% branch coverage means that you've fundamentally covered all potential states your software can enter.
No, it doesn’t.
bool is_even(int n) {
return true;
}
bool test_is_even() {
return is_even(2);
}
100% test coverage. And yet.And even if you do know what it does, it’s very impractical given that it’s a global option. Turning it on for selected portions of code would be a completely different game.
It's still not a feature you can expect all implementations to have, so OCaml is not in a bad position there I think.
The number of SML implementations supporting this feature is greater than the number of OCaml implementations. ;)
In the first year of the University you write cpngruence with three horizontal lines. In the second, you just use two lines, aka an equal sign.
Obviously in the next step you achieve enlightenment when you then write them as just one horizontal line, but most don’t reach that stage.
When would you use it?
Emacs dired works fine on other platforms, which don’t have GNU ls on them, so I’m guessing by default it doesn’t run ls on its own.
You can see part of its black beak on the right hand side.
Without HiDPI (sic!) scaling that means that a correctly-sized display for that resolution would have a 30" diagonal on Windows (standard PPI: 96) and 40" on Mac (standard PPI: 72). If you don’t have HiDPI (sic!) scaling enabled in your system and your display is smaller than that, then you’re basically browsing everything zoomed out.
9pt == 12px on the web. You can check that in Web Inspector in computed styles.
Alternatively:
1px = (1/96)in
1pt = (1/72)in = (1/72)*(96/72)*(72/96)in = (96/72)*(1/96)in = (4/3)*1px = (4/3)px
9pt = 9*1pt = 9*(4/3)px = 12px
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Values_...It’s the opposite for me. I keep finding dumb bugs in Chromium, when it comes to correct website rendering and event handling (always regressions). Safari and Firefox on the other hand never have those issues.
The only problem is: Safari has piss-poor ad blockers. Firefox blocks custom system-wide keyboard shortcuts (on Mac).
I’m not a fan of concatenating strings either. I was thinking about the MSVC/Pascal-style inline assembly here, which isn’t based on strings.
Correct me if I’m wrong, but I don’t think that you can guarantee a routine is constant-time by using intrinsics. You need asm for that. Asm that won’t be changed by the compiler. So you need to write an external asm file for that now, which is fair enough, but I just wouldn’t present intrinsics as all-around superior.
It seems that MSVC supports inline assembly only on 32-bit x86. For amd64 and ARM they moved entirely to intrinsics.
1. Justified text without hyphenation is a quick recipe for very odd-looking uneven spacing, like in your example.
2. The inset used by the headings is jarringly big.
3. The text is too wide for comfortable reading.
4. The fonts used in the body and in the figures don’t match.
Other than that, it’s probably the best-formatted Word document I’ve seen.
I wouldn’t want to use Word, because in my experience even outside of maths its UI is working against me. In particular it’s hard to recreate the same document in two different major versions of Word. The spacing, the sizes are always off. Moreover, I don’t like how formatting is very sticky based on where you position your text cursor. I constantly need to disable styling copied from some text nearby.
Finally, there's never going to be a readable error message from LaTeX.
FTFY. If you learn TeX from Knuth’s TeX book, along with the typographical concepts it works with, the error messages generated by documents written in raw TeX are understandable.
LaTeX on the other hand is what the metaprogramming-heavy Boost/STL libraries are to C or C++. Abandon all hope.
You just need a toggle to comply with the rules, so that the user decides what they’ll see. One example is Flickr. Another is Tumblr. They both have toggles for explicit content.
App Store allows and contains plenty apps with NSFW content.
What a world we live in that allowing NSFW content is seen as desperation, while monetisation through ads isn’t.