Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbri
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
jbri
14y ago
An ordinary car battery (you know, with the exposed terminals on top) will short if you submerge it in salt water. It's not a problem specific to hybrid cars in any way, and it's kind of weird that the article tries to paint it as such.
92.
▲
by
jbri
14y ago
If you change the API design in any way, it no longer fulfills its purpose - interoperating with other software that uses that API. Hence, API design is functional. However, you can change the design of a piece of software (for example, a u
93.
▲
by
jbri
14y ago
Apple was ordered to make a statement that Samsung had not copied them. Saying "Joe told me to tell you X" is not the same as me telling you X. Apple trying to pull a fast one by saying "The court of appeals says we should tell you that Sam
94.
▲
by
jbri
14y ago
The easy way of reasoning about what optimizations the compiler can do with a volatile location is to think "If this were actually a memory-mapped IO port, would this compiler optimization change the observed behaviour".
95.
▲
by
jbri
14y ago
Arithmetic coding avoids the "wastage" of entropy you're talking about entirely - there are no "waste bits" in the middle of the stream like there would be with a fixed-size encoding.
96.
▲
by
jbri
14y ago
Is the probability density actually uniform? Once all million numbers have been processed (which is the only case that matters - anything with <1M numbers has a strictly smaller encoding than it would if you tacked a bunch of zero delta
97.
▲
by
jbri
14y ago
The file system doesn't do wear-levelling. Trim has nothing to do with having a finite number of write cycles. The low-level SSD internals are already part of the low-level SSD firmware like you seem to be asking for.
98.
▲
by
jbri
14y ago
This reminds me of the "pi encoding" - if pi is, in fact normal, you can encode any file as a tuple (`start`, `length`) encoding a substring of the expansion of pi. It's often phrased as a compression paradox of a sort - surprisingly many p
99.
▲
by
jbri
14y ago
In the long run, you'd expect carrying heavier payloads to be cheaper per-kg (because you're lifting more payload and less rocket, relatively speaking), but carrying larger payloads to be more expensive (because you need to be using a bigge
100.
▲
by
jbri
14y ago
Where else would that heat end up? Fundamentally, all cooling is the process of transferring heat from one place to another.
101.
▲
by
jbri
14y ago
It's generally hard to speculate on how things "would" be if the universe were markedly different than it how it actually is. Or rather, it's easy to speculate, but it's nigh-impossible to come up with one solution to the exclusion of other
102.
▲
by
jbri
14y ago
How does distance affect brightness? Distant stars are exactly as bright as close stars - however, the "brightness" is just spread over a greater area of space. In particular, the perceived brightness of a star falls off according to the sq
103.
▲
by
jbri
14y ago
Surely "presenting yourself to the other jurors as an expert due to your prior experience" is over that line, no?
104.
▲
by
jbri
14y ago
> IANAL, but I don't think the responses in voir dire (especially to follow the instructions of the judge or the letter of the law) are any kind of binding promise. > Won't the appeals judge just say, "too bad for you, Samsung, for
105.
▲
by
jbri
14y ago
Yes, _ indicating that a parameter is not relevant is how it's used in Haskell. Though I do feel obligated to point out that, being lazy-evaluated, even if you do give a parameter a name it still won't be evaluated until you actually use it
106.
▲
by
jbri
14y ago
Why doesn't $15 "sound right"? Because it's not 700? Judging share prices by whether they "sound right" is not good investment advice.
107.
▲
by
jbri
14y ago
> I am certain that if the same line had come from a lady, no one would have found it offensive. Well yes, because context matters. When you have a power disparity, comedy only goes one way - if a member of a majority group makes dispa
108.
▲
by
jbri
14y ago
Is that really the case? The chance of someone being injured by a "warning shot" is essentially the proportion of the ground surface which is occupied by a person. Unless you're in a crowded area, this is very low - in fact I would think
109.
▲
by
jbri
14y ago
Of course the idea behind "generated code" is that you don't look at it. Looking at generated code is like disassembling an .o file - unless you need to debug your compiler (or code generator), there's no reason to treat it as anything ot
110.
▲
by
jbri
14y ago
What I'd like to see at some point is language-aware merge tools that can both correctly merge stuff like that, and flag conflicting edits even if they don't touch the same source lines.
111.
▲
by
jbri
14y ago
There's a difference between the triple-A mass-market games you see at Gamestop, and the social games you see on Facebook. Pointing out that AAA-games are expensive to develop in a discussion about social games is missing the point a little
112.
▲
by
jbri
14y ago
If you're signed in to a Google account already but your session is inactive, you might be asked to re-authenticate. If you're not signed in at all, you don't get asked.
113.
▲
by
jbri
14y ago
That assumes you're providing the output as a list of elements. Since it's a contiguous sequence, you can uniquely identify a particular output as a tuple (start, length). So you can get a constant-time solution if you're allowed to assume
114.
▲
by
jbri
14y ago
Your ideas have other suboptimal consequences though - sucked-in bags don't look as nice on the shelf, and in fact they look smaller . This makes them less attractive and thus less likely to be purchased.
115.
▲
by
jbri
14y ago
If MitM attacks are so rare, why bother encrypting your traffic in the first place? Packet-snooping attacks are also "extremely rare" by most metrics, so why protect against one but not the other? Either go all the way on security, or be ob
116.
▲
by
jbri
14y ago
I am unsure if you're being ironic, but the grandparent did use "your" correctly - if you take "awesome" as a thing someone possesses rather than as an adjective.
117.
▲
by
jbri
14y ago
If it only went one-way that might be plausible, but I don't see how an invisible-T on the right side and an invisible-Y on the left can be anything other than a deliberate feature.
118.
▲
by
jbri
14y ago
It starts out very slow - the second level introduces w, e and b. That seems to be it so far.
119.
▲
by
jbri
14y ago
On an actual typewriter, backspace just moves the head one character backwards. It doesn't inherently erase anything But if you do want to actually erase text, there still is a way - many typewriters had multiple ink ribbons. In addition
120.
▲
by
jbri
14y ago
If an end-user upgrades their operating system, and Adobe WhateverIUse stops working, who do they blame?
More ›