HackerTrans
TopNewTrendsCommentsPastAskShowJobs

SassyBird

no profile record

comments

SassyBird
·2 yıl önce·discuss
Thanks for taking the most uncharitable interpretation of what I wrote possible. It’s so productive.
SassyBird
·2 yıl önce·discuss
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.
SassyBird
·2 yıl önce·discuss
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.
SassyBird
·2 yıl önce·discuss
Hopefully k is natural. ;)
SassyBird
·2 yıl önce·discuss
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.
SassyBird
·2 yıl önce·discuss
Transcendental numbers like e are a lot more "unnatural" than imaginary numbers.
SassyBird
·2 yıl önce·discuss
Following fashion has nothing to do with hacking.
SassyBird
·2 yıl önce·discuss
It’s great to hear. Thanks.
SassyBird
·2 yıl önce·discuss
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.
SassyBird
·2 yıl önce·discuss
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.
SassyBird
·2 yıl önce·discuss
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.
SassyBird
·2 yıl önce·discuss
> 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.
SassyBird
·2 yıl önce·discuss
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.
SassyBird
·2 yıl önce·discuss
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.
SassyBird
·2 yıl önce·discuss
> 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.
SassyBird
·2 yıl önce·discuss
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.
SassyBird
·2 yıl önce·discuss
> 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. ;)
SassyBird
·2 yıl önce·discuss
> 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.
SassyBird
·2 yıl önce·discuss
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.
SassyBird
·2 yıl önce·discuss
You can see part of its black beak on the right hand side.