Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
munchler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
241.
▲
by
munchler
1y ago
Developing directly on the production database with no known backups. Saved from total disaster by pure luck. Then a bunch of happy talk about it being a "small price to pay for the lessons we gained" and how such failures "u
242.
▲
by
munchler
1y ago
I don't understand. You've got to save the edited result in a file somehow. What format do you use?
243.
▲
by
munchler
1y ago
My problem with HEIC is that if you convert it to another format, it looks different from the original, for reasons that I don't understand. I switched my iPhone back to JPEG to avoid that.
244.
▲
by
munchler
1y ago
I think most photography nerds who want to save edited images to a lossless format will use TIFF, which is very different from the proprietary "raw" files that come out straight out of the camera.
245.
▲
by
munchler
1y ago
In the future I’m describing (“empathy and respect for sentient beings”), people would stop eating chickens, so they would no longer be bred. Also, modern chickens are much larger than their ancestors from even 50 years ago as a result of t
246.
▲
by
munchler
1y ago
Yes, I think the subjective value of life for chickens in a factory farm is negative, so the most ethical outcome would be to stop breeding them, at which point they would presumably go extinct. I’m not a vegan myself, but I have several ve
247.
▲
by
munchler
1y ago
I don't think there's any version of factory farming that's consistent with your stated desire to treat chickens with empathy and respect. We'd have to revert to being an agrarian society.
248.
▲
by
munchler
1y ago
Agreed, but the logical conclusion of that line of thought is veganism, which, ironically, would mean the extinction of farmed chickens entirely. (And I think most ethical vegans would be OK with that.)
249.
▲
by
munchler
1y ago
Not to mention that you also have to survive any collisions with specks of dust in between.
250.
▲
by
munchler
1y ago
The difference between { … } and {| … |} is that the latter’s type is anonymous, so it doesn’t have to be declared ahead of time.
251.
▲
by
munchler
1y ago
Can I interest you in F#?
252.
▲
by
munchler
1y ago
> Because sum:int * product:int is a different type from product:int * sum:int, the use of a labeled tuple in this example prevents us from accidentally returning the pair in the wrong order, or mixing up the order of the initial values.
253.
▲
by
munchler
1y ago
Yes, but luck is what happens when preparation meets opportunity.
254.
▲
by
munchler
1y ago
This paper was not a retrospective analysis, it was a randomized clinical trial.
255.
▲
by
munchler
1y ago
The appointment schedule was randomized, so your objection is incorrect.
256.
▲
by
munchler
1y ago
> If your mentality is "just show up for work, do what they ask and go home" then it should be no surprise you're at the top of the list to get laid off. Conversely, if you think that devoting yourself to work will put you
257.
▲
by
munchler
1y ago
Surely the author teaches at Rutgers University, not “Rudgers”.
258.
▲
by
munchler
1y ago
True, but I think that only occurs in the upper atmosphere and at a very low rate. Atmospheric N2 is also converted by bacteria into ammonia, which is absorbed by plants. And lightning oxidizes N2, as do combustion engines. I'm not sur
259.
▲
by
munchler
1y ago
A sphere minimizes surface area. If you want to deliver more glaze for a given volume of cereal, literally any other shape would be superior.
260.
▲
by
munchler
1y ago
> If we assume that a breath diffuses evenly throughout the atmosphere and that these molecules are preserved over time In other words, let’s hand-wave away the most interesting part of the question, and then come up with a trivial answe
261.
▲
by
munchler
1y ago
The name is as dumb as the movement. Do they not realize that the word “enlightenment” has the word “light” right there inside it? It’s like asking for cold hot water.
262.
▲
by
munchler
1y ago
10/10. Would use this time machine.
263.
▲
by
munchler
1y ago
There are four people working on this project, not one.
264.
▲
by
munchler
1y ago
Are these languages pure in the functional sense? E.g. Do they allow/encourage mutation? My understanding is that APL permits mutable state and side effects, but maybe they are rarely used in practice? If you're modifying the cont
265.
▲
by
munchler
1y ago
This seems to assume that a 1:1 mapping between words exists, but I don't think that's true for languages in general. Compound words, for example, won't map cleanly that way. Not to mention deeper semantic differences between
266.
▲
by
munchler
1y ago
I have to agree with this as someone coming from a strongly-typed background (F#). PyTorch and NumPy are very flexible and powerful, but their API’s are insanely underspecified because every function seems to take multiple combinations of v
267.
▲
by
munchler
1y ago
Another typo (or thinko) in the very first sentence: "Here we introduce introduction to Boltzmann machines"
268.
▲
by
munchler
1y ago
In Step 2 (Gravity), why are we summing over the cube of the distance between the bodies in the denominator? Edit: To answer myself, I think this is because one of the factors is to normalize the vector between the two bodies to length 1,
269.
▲
by
munchler
1y ago
I hear you, although I respectfully disagree that my comment was either flamebait or a generic tangent. The topic is (IMHO) appropriate for HN, and a concrete example like this is a good way to highlight the issue. It seems quite far from a
270.
▲
by
munchler
1y ago
> This work was supported by the U.S. Department of Energy. Unfortunately, sentences like this are going to be way less common soon.
More ›