Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
271.
▲
by
eis
4y ago
Fully agreed. You can never prevent all issues because there's always a chance for a fire, bitrot due to cosmic rays etc and thus you can only reduce the probability as you correctly concluded. Unfortunately the world we are in right n
272.
▲
by
eis
4y ago
Most CPU architectures provide atomic read, write and barrier primitives. Locking is a higher level interface and usually involves use of those atomic primitives. The point is that once you have these low level guarantees, you can actually
273.
▲
by
eis
4y ago
> Except none of that is true, the USB storage could be reattached and the write successful. The system has no way to know whether the failure is transient or permanent. What is not true? I stated an opinion. It is IMHO not the job of th
274.
▲
by
eis
4y ago
When you say transactional storage do you mean hardware support for transactions? I don't think that would be required. As long as the storage hardware interface (e.g. NVME) guarantees certain low level primitives like atomic sector wr
275.
▲
by
eis
4y ago
I'd argue some modern hardware e.g. NVME SSDs already expose a hardware interface that would let a new transactional storage API be faster than what we have right now. Unfortunately it is a rare example in a see full of specs that do t
276.
▲
Files Are Hard
(danluu.com)
5 points
by
eis
4y ago
|
1 comments
277.
▲
by
eis
4y ago
You are probably thinking of WinFS https://en.wikipedia.org/wiki/WinFS > In 2013 Bill Gates cited WinFS as his greatest disappointment at Microsoft and that the idea of WinFS was ahead of its time, which will re-eme
278.
▲
by
eis
4y ago
My point is that we need a new storage interface that is transactional. It's extremely hard to build a sound interface on the existing ones. And it would not be built on the existing FS because those are already built for the broken in
279.
▲
by
eis
4y ago
One example for marking dirty pages as clean after fsync failure that they mention filesystem developers having given them is a USB stick that has been pulled and keeping dirty pages causing memory leaks in that case. But to me that argumen
280.
▲
by
eis
4y ago
After decades of issues with the storage layer and even some of the most popular programs written by top notch developers having bugs due to the problematic nature of the APIs and filesystems involved I wish a completely new storage API wou
281.
▲
by
eis
4y ago
The paper explains that even crashing after fsync fails you can end up with lost or corrupted data because after the next start you might get the wrong data from the page cache which survives the crash as it's not part of the programs
282.
▲
by
eis
4y ago
I wonder why they limit it to 2 WAL files instead of creating a new WAL file once the latest one reaches a certain size and a checkpoint is done. Then delete the WAL files that have been successfully flushed to the main DB. That could minim
283.
▲
by
eis
4y ago
You get a link inside Instagram to some website that does not belong to Instagram. It is none of Instagrams business what you do on that website. People do not even realise they are still inside Instagram while logging into their bank accou
284.
▲
by
eis
4y ago
They not only track very invasively what you are doing but they create real problems for websites because certain features wont work anymore. Be it due to them disabling them or third party services having to block their usage because of th
285.
▲
by
eis
4y ago
In Bitcoin transactions are not just "from", "to" and "amount" even if some wallets abstract them in that way. In the simplest case there are coins that get marked as being spendable by some public key (address
286.
▲
by
eis
4y ago
I recommend the excellent articles by the SQLite authors themselves like How To Corrupt An SQLite Database File: https://www.sqlite.org/howtocorrupt.html Atomic Commit In SQLite: https://www.sqlite.org/atomi
287.
▲
by
eis
4y ago
Coins in Bitcoin are not necessarily fungible. Tainted coins (from sanctioned individuals, from hacks etc) are traced and for anyone else who has to adhere to for example US law these tainted coins are not of the same value as non-tainted o
288.
▲
by
eis
4y ago
Yes but in Bitcoin like mentioned you can ignore those coins and never use them. In Ethereum one could argue you are using them whenever you are doing your next transaction because there is no concept of coins that can be differentiated. It
289.
▲
by
eis
4y ago
If the US Gov comes to you and asks you why you received funds from a sanctioned entity it's not enough to claim "But I intend to never use them, I will never let the balance in this address run lower than this amount". You&
290.
▲
by
eis
4y ago
OP's point is that in Bitcoin there are coins (unspent transaction outputs) that are associated with an address but the receiver can leave them untouched. He can continue and ignore the tained coins from Tornado. In Ethereum you don&#x
291.
▲
by
eis
4y ago
You are misunderstanding his point even though masklinn explained it. It's not about the specific point of operator precedence. It is about designing something that has internally sound logic but is very unexpected by a typical new use
292.
▲
by
eis
4y ago
Fully agreed. I stopped considering this practical in any way when I read > 3*4+5 is 27 I'm sorry but if your calculator does not follow standard mathematical rules for operator precedence then I'm out. But the space issue take
293.
▲
by
eis
4y ago
Apples and oranges. You would need to compare energy needed to produce the tank and fuel cell to the production of batteries.
294.
▲
by
eis
4y ago
That is the weight of the hydrogen fuel. It does not include the weight of the tank nor the fuel cell so is not comparable to battery weight in a regular EV. The trucks also have 72kWh worth of batteries in them and it is not clear if a 400
295.
▲
by
eis
4y ago
I can't see this being "the next big thing". Can't you just take a picture of your document with your phone if you want a digital copy for storage?
296.
▲
by
eis
4y ago
While you are correct that the neutron star has angular momentum and then you'd use the E^2 = (p c)^2 + m0^2 c^4 for it, the question was if it is losing mass by emitting neutrons and how much. For that, the momentum energy of the Neut
297.
▲
by
eis
4y ago
Regarding the city-size: you are right that "city" is a whole range of sizes but so is the size of a neutron star, they are not all of the same size. Don't read too much into it, they just want to give a very rough idea. You
298.
▲
by
eis
4y ago
Sorry if this is a bit negative but from a cursory look I wouldn't use this. An efficient Bloom Filter should only allocate on heap exactly once: when allocating the initial bitmap. This implementation seems to be not very efficient as
299.
▲
by
eis
4y ago
Actually it's trivial to detect if JS was completely blocked with the <noscript> tag. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/no... And on the flip side you can triviall
300.
▲
by
eis
4y ago
The point is that the host can modify the code at will and can therefore access the messages if they wanted to. It defeats the idea of e2ee which is to make it impossible for a middleman to access the messages. With e2ee you have to trust t
More ›