Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chronial
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
chronial
7y ago
If you do Assert(ExpensiveOp()), removing all of it is only a valid optimization if ExpensiveOp() is 100% side-effect free. But even when that is the case, the compiler won't inline ExpensiveOp() and go through the effort of proving th
92.
▲
by
chronial
7y ago
I think the parent's point was that it might seem questionable to find penises and vaginas disgusting. There is a healthy reason to find feces and defecation disgusting - feces carry diseases and are a waste product. Sexuality is not.
93.
▲
by
chronial
8y ago
See here for a detailed explanation: https://www.cleanenergywire.org/factsheets/why-power-prices-... Here's an excerpt: > There are several reasons why conventional power station operators, which are either los
94.
▲
by
chronial
8y ago
Remember that e.g. any chinese text will contain only non-ascii characters.
95.
▲
by
chronial
8y ago
You need to look at the ground. Right moves your ship to the right, but also shifts the camera to the right, so you can see where you're going. That results in the ship actually moving to the left side of the frame.
96.
▲
by
chronial
8y ago
SVG is not very well suited for favicons. At that size, you often want to hand-tune the single pixels.
97.
▲
by
chronial
8y ago
The saying is actually "The proof of the pudding is in the eating". I don't quite understand what "the proof is in the pudding" is supposed to mean and how that relates to making a lot of pudding ^^.
98.
▲
by
chronial
8y ago
As the author mentioned, you should use Zotero for that.
99.
▲
by
chronial
8y ago
That is intended behavior. Game ending moves are not allowed. See the explanatory blog post: https://incoherency.co.uk/blog/stories/chess-steg.html
100.
▲
by
chronial
8y ago
I absolutely agree – it's the specific usage in the class that I don't like. Having a factory instead of using the constructor, with that IMHO not that obvious interaction with the context manage. A factory that is actually a cont
101.
▲
by
chronial
8y ago
The difference between `lambda` and `for` vs `iota` is that the former are key concepts and often reserved keywords. There is only a very small amount of those. `iota` on the other hand is just one of many standard library functions. There
102.
▲
by
chronial
8y ago
This is stated even more clearly here: https://doc.rust-lang.org/std/mem/fn.forget.html#safety > forget is not marked as unsafe, because Rust's safety guarantees do not include a guarantee that destructors
103.
▲
by
chronial
8y ago
I think I prefer this version: class Session: def __init__(self): self._connection = db.connect(...) def __enter__(self): self._connection.__enter__(self) return self def _
104.
▲
by
chronial
8y ago
> By embarrassed I meant as when you are in a foreign country and you can’t remember the native words for please or thank you. The reason why this is embarrassing is because it might imply a certain disrespect for the country you are vis
105.
▲
by
chronial
8y ago
This has its roots in a very strong anti-nuclear movement from the seventies. Why it was that strong in Germany, I don't know. But there is a Wikipedia article – maybe it has some information for you: https://en.wikipedia.or
106.
▲
by
chronial
8y ago
I think you misunderstood the way these reference locations work. Both google maps and bing will resolve the given plus code to the exact same location – a margin of error of 0cm. It's only important that the reference point doesn'
107.
▲
by
chronial
8y ago
The Plus code I gave as an example addresses a 14x14m square, Not 10 km.
108.
▲
by
chronial
8y ago
> That's only a partial plus-code, though, which relies on external positioning of Honolulu. Yes, a concept that is very human-friendly. > Also, that particular plus-code you used as example is not recommended. Reference points s
109.
▲
by
chronial
8y ago
I find them a lot more human-friendly, but I guess that's subjective. The example from the wiki page you linked: MGRS: 4QFJ12345678 Plus Code: 835M+Q7 Honolulu
110.
▲
by
chronial
8y ago
Make that two :). To elaborate: different body sizes give you different balance points, different leverage and different angles of attack. That can make specific moves harder for taller people.
111.
▲
by
chronial
8y ago
Am I understanding correctly that the score of 0 at the top means that the chess engine thinks their positions are exactly equally good?
112.
▲
by
chronial
8y ago
This article describes a way to split a square into three non-overlapping regions that all have the same border. It is very counterintuitive that this is possible. If you imagine a line on a square, you can define two parts of the square th
113.
▲
by
chronial
8y ago
The article already states that it will never be on the road and already mentions your concern as one of the challenges.
114.
▲
by
chronial
8y ago
I can't help you regarding the US. I live in Germany and there's a law (§15 StVO) that says "The driver of a vehicle must take the necessary precautions to prevent accidents and disturbances to traffic when they exit the vehi
115.
▲
by
chronial
8y ago
> If someone uses my car for a malicious act [...] I'm clearly not liable. It is not that simple if you left your car unlocked. Leaving an unlocked car around with the key in the ignition is clearly a public danger.
116.
▲
by
chronial
8y ago
>>> What's "wrong" supposed to mean in this context? >> The sun reaches its highest point at a time sufficiently far from 12:00. > That's answering by reformulating the question. Now I would ask why is
117.
▲
by
chronial
8y ago
> What's "wrong" supposed to mean in this context? The sun reaches its highest point at a time sufficiently far from 12:00. > the whole world could just use UTC and nothing would happen. That is not true. What would hap
118.
▲
by
chronial
8y ago
It's like the difference between prosperity and happiness.
119.
▲
by
chronial
8y ago
Thanks, that is a lot clearer than the article.
120.
▲
by
chronial
8y ago
The important point is that there are massive delays between these steps: 1. Your brain wants to move a muscle 2. The muscle moves 3. The effect of the move is processed by your brain And still you think stuff happens insta
More ›