Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
moring
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
181.
▲
by
moring
3y ago
Things I am wondering: 1. Is the magnitude of the effect dependent on the angle of incidence? 2. Can the effect be increased by increasing the water surface, e.g. by stirring? 3. totally layman speaking here: is the peak at green somehow ex
182.
▲
by
moring
3y ago
Where in the definition of the complex exponential function is π used? IIRC its: the exponential function is defined to be its own derivative (note 1), i is the square root of -1, and exp(ix) is observed to have a period of 2π. There isn&#x
183.
▲
by
moring
3y ago
This has happened, and is happening all the time. Many groundbraking theories in physics can be framed this way. The problem is that "slightly different angle" is a huge space, so scientists throw a lot of theories at it and see w
184.
▲
by
moring
3y ago
Computing in the actual storage banks seems a bit over-the-top to me, but I always wondered about computing in the "currently open row". It seems like an obvious optimization candidate for fast memset() and memcpy(), by setting th
185.
▲
by
moring
3y ago
> So the only important difference is that Buffer creates a mutable view at slice(). It could use a better/distinct name for sure, e.g. mutableView(). But do you actually want to always copy a slice that is big enough? I think you a
186.
▲
by
moring
3y ago
The words "blame" and "guilt" do not even appear in the article, and "fault" only as part of "segfaulting". Rachel merely points out an easy-to-make mistake before others make them, to save them time.
187.
▲
by
moring
3y ago
The complexity in front-end code does not follow from that. User-oriented features are orthogonal to the issues described in the article (those are all developer-oriented), and all the described issues are not new in any way, and handled we
188.
▲
by
moring
3y ago
Could you explain this point to me? I just checked and out of those two, it was _Firefox_ that has tiny, barely visible, vanishing scroll bars and _Chrome_ that has thick, well-visible, persistent ones. (And no, I didn't configure that
189.
▲
by
moring
3y ago
It introduces _some_ of the failure modes of a distributed system, like unsynchronized / inconsistent data, but not all, like network failures. I think he does have a point there -- as a user, I should not have to care whether an IDE t
190.
▲
by
moring
3y ago
Why the downvote? It took me quite some reading before I understood it, given that LSP can refer to multiple things. I, too, thought about the Liskov Substitution Principle first.
191.
▲
by
moring
3y ago
He's saying (without saying it) that LSP is another instance of the "microservices everywhere" hype, and bad for the same reasons -- you have a problem, you try to solve it with a distributed system, now you have two problems
192.
▲
by
moring
3y ago
Only if you don't also redefine the convention to select speeds.
193.
▲
by
moring
3y ago
You can use your hand in a similar way: Spread your thumb and little finger in opposite directions. That's 20cm, with roughly the same accuracy as measuring a foot with a real foot.
194.
▲
by
moring
3y ago
Do you know if this is explained in detail somewhere? Both Wikipedia (English / German) and various websites only repeat that you need an angle "to lift the mold and to avoid stress cracks", but none seems to explain why. (My
195.
▲
by
moring
3y ago
IIRC, the precise frequency was further narrowed to _not_ be absorbed as well by water, because then all the energy would hit the surface of your food and not the inside (although I'm still not sure if that is relevant at a wavelength
196.
▲
by
moring
3y ago
> Unit testing private methods. Adding the single biggest reason I have encountered: Because the overall functionality is too complex to test through the API alone, so the alternative is to extract part of the "private" functio
197.
▲
by
moring
3y ago
I was thinking of hobbyists using homegrown ICs "because they can", not just for the final product, in the same way that people build computers purely out of 74-series ICs or discrete transistors. In fact, if the final product is
198.
▲
by
moring
3y ago
Something I have been pondering for a while: Is there a demand from hobbyists for custom, low-grade home-grown ICs to such a degree that somebody could make side money from it? Sam Zeloof is now going "all in", but we don't k
199.
▲
by
moring
3y ago
For clarification, by "df has a bug" I meant that it doesn't produce the result it should given the situation, but not necessarily that the problem is located in df's own source code, vs. the kernel, other process, libra
200.
▲
by
moring
3y ago
My interpretation of this is different: - free space is being used as swap until needed, then transparently released to be used - "free" uniformly means being used this way, unlike "not free" which means it will not be r
201.
▲
by
moring
3y ago
But you still bought this one and not one of the alternatives that start faster... which is part of the reason things get built this way.
202.
▲
by
moring
3y ago
> However, the fact that Linus Torvalds, who is in charge of a critical piece of our infrastructure made of 15 million lines of code (the Linux kernel), does not use a debugger tells us something about debuggers It _may_ tell us somethin
203.
▲
by
moring
3y ago
Totally naive layman's question: If the phonon and spin contributions cancel out, would it be possible to build a material in which the "negative" contributor is larger and which therefore shrinks when heated?
204.
▲
by
moring
3y ago
An optimistic view would be that courts decide what is right and wrong. They are supposed to be independent of both the government and the parliament, and if you fear a dystopian future where they aren't, shutting down TikTok isn'
205.
▲
by
moring
3y ago
Thread safety of char[] is the cause of the bug, but the effect is that String instances can violate their invariants, which they shouldn't even in case of thread-unsafe code.
206.
▲
by
moring
3y ago
They followed the spec though. They returned 200 for a resource that exists. > It’s like saying “what makes it wrong to signal left but turn right?” No, it's not like that. Signalling left but turning right would be like returning a
207.
▲
by
moring
3y ago
They followed the standard though. They returned 200 for a resource that exists. Many responses here seem to be based on the misunderstanding that this is about "not following a standard is sometimes okay-ish", when it's actu
208.
▲
by
moring
3y ago
I just checked, and no it doesn't. The icons in the navigation are separate .gif files. edit to add: And this makes a large part of the load time (when not cached). Other than that, the largest part is the SSL handshake and the fact th
209.
▲
by
moring
3y ago
This argument has been presented forever to excuse bad tools, and it is a strawman. Of course good tools don't fix bad behavior. The argument in favor of good tools is that competent people with good tools are insanely more productive
210.
▲
by
moring
3y ago
The demo code (now in subproject grumpyrest-demo) has a complete example. It works like this: public static class MyServlet extends RestServlet { public MyServlet() { super(buildApi()); } private static RestApi buildAp
More ›