Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stefco_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
61.
▲
by
stefco_
7y ago
> This applies to a very small minority of men. The confident, attractive types with great bodies. An average woman will still get lots of attention on dating website and have a lot of guys to pick from, an average guy won't really
62.
▲
by
stefco_
7y ago
Yeah. Men are still, to a huge extent, discouraged from sharing and expressing their emotions as much as women (since that behavior is seen as inherently feminine). People still make fun of guys for crying and other healthy ways of expressi
63.
▲
by
stefco_
7y ago
> a zillion NASA engineers didn't really think it through when lives were on the line The in-depth investigation following the Challenger disaster [0] actually reached a slightly different conclusion: engineers tended to estimate ~1
64.
▲
by
stefco_
7y ago
Yeah for sure. I mean I was just trying to make a joke about divergent series and how "Every Noise at Once" is a deeply vague statement. But you're right that in the discrete arena it is literally a finite sum that can cancel
65.
▲
by
stefco_
7y ago
I'm not missing arbitrary frequency components; please reread the penultimate paragraph, where I mention them explicitly. As I said there, you can extend my argument about a single frequency to include all multiples of that base freque
66.
▲
by
stefco_
7y ago
I think I've thanked you before in the HN comments for it, but thank you again!! itermplot is one of those great tools that actually makes things just work in a pinch. I wrote/maintain a low-latency gravitational wave/high-
67.
▲
by
stefco_
7y ago
Well, for starters, it's physically impossible to have an infinite number of speakers playing an infinite number of waveforms simultaneously, so this silly idea does require mathematical abstraction to be meaningful. That shouldn
68.
▲
by
stefco_
7y ago
iTerm2 is incredible. I recently tried alacritty, though, and was amazed by how much faster it is with screen redraws on my 2014 Macbook Pro. I was shocked the first time I used mouse scrolling in vim through Alacritty and found that it was
69.
▲
by
stefco_
7y ago
Depends how you take the sum! https://en.wikipedia.org/wiki/Divergent_series#Absolute_conv... [edit] See my comment below: my joke is about the fact that, depending on the order in which you sum an infinite sequence
70.
▲
by
stefco_
7y ago
The PDFs are vector image based.
71.
▲
by
stefco_
7y ago
I tried those too... after three seconds of waiting and watching the "Downloading..." message with no app loaded, I felt the same dreadful feeling I used to get when I'd see a Java applet. I'm sure there are some use cas
72.
▲
by
stefco_
7y ago
> Pumping CO2 into the ground sounds like it works great on paper, but I think we're fooling ourselves that it won't reenter the atmosphere. Sequestration alone shouldn't be the solution, but if we can find a thermodynamic
73.
▲
by
stefco_
7y ago
Unless I'm misunderstanding what you're saying, that wouldn't be pseudo-random; cosmic-ray arrival times are random * (in the sense that we don't have a formula for finding their arrival times). * Unless you can figure o
74.
▲
by
stefco_
7y ago
The sheer number of animals abused and killed for food [0][1] is 3 orders of magnitude larger than the number for research [2] (at least in USA). Animal research is more abstractly upsetting-sounding than killing animals for food (perhaps
75.
▲
by
stefco_
7y ago
gp's approach works best when you know that the argument is a list or tuple (something which can be empty). Of course, due to python's lack of typing, you should only use that approach when the function is being used in well-under
76.
▲
by
stefco_
7y ago
This is the idiomatic way to add mutable defaults.
77.
▲
by
stefco_
7y ago
Python is generally terrible at providing immutable types and workflows. No such thing as a constant, class variables are mutable by default, no built-in immutable dictionary class, etc. I use a linter to catch this sort of thing and subcl
78.
▲
by
stefco_
7y ago
Functions in most popular languages behave this way. `get` is just a method; its arguments will never be short-circuited. If you wanted short-circuiting, use the ternary operator: my_dict['existing_key'] if 'existing_key&
79.
▲
by
stefco_
7y ago
I found the main problem was at the interface with other people. I never got org's iOS app working properly and generally missed the multimedia flexibility of Notes (nothing beats scanning PDFs and instantly having them show up in your
80.
▲
by
stefco_
7y ago
Right? Totally nonintuitive! But easy enough to remember and type. I figured I wasn't the only one who found it a bit surprising ^_^
81.
▲
by
stefco_
7y ago
In vim: :%s/\<div\>/p/g (add C at the end if you want to confirm each change)
82.
▲
by
stefco_
7y ago
I second this! I'm sure there's lots of people on HN who would find this really useful. There's so little corporate accountability that individual legal action might actually prove significant. And as far as applying economic
83.
▲
by
stefco_
7y ago
IIRC you had to agree not to join class action suits to take advantage. Seems like a pretty self-serving tactic given that we're the ones who have to deal with their idiocy.
84.
▲
by
stefco_
7y ago
This is partly a matter of taste, and since I don't find it distracting at all, there's no downside for me. But as far as value added, I find it super convenient. I like that gitgutter gives a quick indication of what chunks I
85.
▲
by
stefco_
7y ago
I haven't had any problems with gitgutter so far, but I'll give it a look! I think gitgutter can also be configured to only update on save, though I actually like the live updating and have never had issues with it (IIRC I set it
86.
▲
by
stefco_
7y ago
I've taken this approach halfway and only install plugins/config that I can easily do without. Things like git-gutter [0] and a line at the 80th column [1] are great, but I don't depend on them when I log into a remote machin
87.
▲
by
stefco_
7y ago
That's a fair point, but you can also flip it the other way: someone with 5 years left on Earth might be much more interested in improving things for future generations. Thinking about how your impact will live on after your death is
88.
▲
by
stefco_
7y ago
...as one of the rendering backends. The syntax is what I assume was being referred to.
89.
▲
by
stefco_
7y ago
Like I said, I agree for verbose cases like complex logical arguments, where the contents of each node are longer and should look more paragraph-like. You're also picking an example with tons of formatting in it. If you have a bit le
90.
▲
by
stefco_
7y ago
The dot language used by graphviz is simple enough and portable to web implementations [0][1]. I think this is more useful for its specific domain. [0] https://github.com/dagrejs/dagre-d3/wiki [1] https:/&#x
More ›