1,781 karma · joined Jul 17, 2009 (17y ago) · 402 submissions
Co-founder of Antithesis
Co-founder of FoundationDB
Co-founder of Visual Sciences
comment 8y ago · link · parent
I'm not able to find any reference to such a move, which I would think would be widely reported in English. So I suspect you may have your facts wrong. I read that Japan no longer collects sales tax on digital currency transactions, but that is not at all the same.
If, hypothetically, a major government accepted all tax payments and equivalents in XBT as well as their own currency, and credibly promised to keep doing so no matter what, they wouldn't so much be backing Bitcoin as "unbacking" their own currency. It would leave their citizens free to stop using fiat currency if they wanted, and if enough were eager to do that the value could go to zero. (In principle, that could be fine. In practice, contracts and other nominal rigidities would probably make the transition period... problematic)
If a major government decided to accept tax payments only in Bitcoin, they would be backing it in the sense intended.
(I'm not necessarily taking a bearish position on Bitcoin. Rather, I'm arguing that fiat currencies are not the right model for understanding its economics)
comment 8y ago · link · parent
Every American participating in that economy must pay taxes every year on their income. The taxes must be paid in US dollars, even if the economic activity uses a different currency or barter. Therefore Americans must come up with a quantity of USD proportional to the size of the American economy every year (or "go to prison"), and provided that the total amount of USD in existence is bounded (this part is the job of central banks) this places a floor on the value of USD. This story is necessarily simplified but I think essentially true.
There is an old saying that a language is a dialect with an army and a navy. Likewise, a fiat currency is a currency with a taxing authority.
Gold, on the other hand, is just valuable because it is expensive to produce and has a long history of being valuable. So that model can work.
comment 9y ago · link · parent
I've seen stranger things than this, including a cluster of servers in which 3 of the 4 machines had frequent bit flips, and when they were all replaced in response, 2 of the 4 new machines also had frequent bit flips. We diagnosed based on this same kind of distributional evidence (in our case, the bit flips occurred in certain address hyperplanes, consistent on each machine, like having bit 5 flip at an address like 0x???6?3B0 every time). The customer was, as you can imagine, pretty skeptical that this was not a software bug at that point. But all of the machines, when booted into memtest86 or whatever it's called, quickly found errors with the predicted physical address pattern! Dropbox doesn't have the luxury of tracking down the customer machines and testing them.
See also "bitsquatting": https://nakedsecurity.sophos.com/2011/08/10/bh-2011-bit-squa...
If it doesn't have ECC memory, it's an approximate computing device.
comment 9y ago · link · parent
comment 9y ago · link · parent
Individual liability seems much less likely to me, in the absence of statues explicitly forcing this liability onto individuals. If you are a consultant, and the market equilibrium actually shifts so that customers are demanding security warranties, your insurance costs would go up, but unless you are less competent than average your equilibrium income should go up to match. The legal incidence, and plausibly the economic incidence, is all on companies that actually handle personal data.
comment 9y ago · link · parent
See also my reply to @pishpash below.
comment 9y ago · link · parent
It's totally implausible that companies are going to start regularly suing their engineers personally for writing bugs. They'd recover very little money and make it impossible to hire. Programmers already write bugs that create liability in businesses all over the world every day. Worry about something else.
comment 9y ago · link · parent
But the reality is that no matter how much contractual solemnity you require to let other people trade in your personal information, most people will do it in order to get credit. If to get a home loan you had to copy down a contract giving the bank the right to do credit monitoring in longhand with a fountain pen and sign it sixteen times in your own blood, my guess is that people would still be doing it, because credit monitoring really does make loans cheaper. So as a practical matter, I don't think the Equifaxes of the world would go away if the problem you point to was solved. Whereas there's no reason they shouldn't at least internalize the cost of losing your information through incompetence.
comment 9y ago · link · parent
Ideally the liability would actually go to compensate victims (for example, via class action). But even if the government keeps it it might be better than nothing.
A potential improvement would be to require companies to carry insurance (or be able to solvently self-insure) for the maximum possible liability if all the personal data they store was disclosed. That way a company like Equifax has to price the full risk of the data they store even if it is larger than their whole market cap. And the insurance industry might learn to do some due diligence, and be a source of "regulation" with much better incentives to be optimal than a government regulator has.
comment 9y ago · link · parent
comment 9y ago · link · parent
If a bunch of stores are closing AND a bunch of retail chains are bankrupt, the causal structure seems more likely to be unprofitable->closing and unprofitable->bankrupt, rather than bankrupt->closing which makes no sense.
comment 9y ago · link · parent
Any power that you take away from (comparatively weak, subject to competition) Google by giving it to (already terrifyingly powerful and monopolistic) USG is not a move in the right direction.
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
Small aircraft get 10-20 mpg, and the world record is over 60 mpg. Energy efficiency might be a reason why ground transport would continue to exist, but I'm skeptical that it's the fundamental obstacle to "flying cars"
And since there is a lot more space in the air than on the road, the "self driving" problem is probably much easier.
It's true that the failure modes are a lot worse, not just for human error but for mechanical failures. But it's actually somewhat plausible to me that 100 years of unregulated innovation would have given us some kind of personal air transport.
> With strong AI this proposal is particularly dumb
Yes. So of course AI development is pretty much the only thing in the world that isn't regulated at all. Does this increase your confidence in regulation as a social technology?
comment 9y ago · link · parent
I've hired plenty of great engineers who didn't have side projects on github. I have never specifically been looking for people that don't have a life outside the field, and unlike GP I have found that there are other ways to evaluate people that can identify great engineers with very few mistakes.
But that doesn't mean I wouldn't see your high quality or impressive open source code as a huge plus. Quantity doesn't matter -- if anything if you're super prolific I might wonder if you have much energy for your day job -- but I'm not going to pass up a chance to see what kind of work you do.
And because quantity doesn't matter, I think that writing a little bit of code "for your resume" (every once in a while, to reflect your continuing development as an engineer) is a pretty reasonable investment even if you don't happen to want to spend your whole life outside work programming. It's not required, but it might get you a really great position some day, even if like the OP you're up front about having a life outside of software engineering.
comment 9y ago · link · parent
comment 9y ago · link · parent
And I still can't respond to equally uninformed speculation about the FDB transaction, because that was confidential.
But I can say that the article's technical thesis about the design space is wrong. A layered design (and, really, all databases are layered, so we just mean a design where distributed concurrency control is below the layer of the data model) is good for performance, exactly because it makes it practical in engineering terms to use the right data model for the job, often getting asymptotic wins rather than tiny constant factor ones. Row and column stores, hierarchical document or "table family" stores, conventional indexes, compressed bitmaps, spatial indexes, etc can all be reasonably efficiently mapped to K/V pairs and then take advantage of the same fast distributed storage and concurrency control. You can use them for different indexes in the same database or the same table. You can, just to throw out an example, store recently changed rows in a row store while transactionally moving them into a column representation in the background, and combining both seamlessly for reads. And you can have things that aren't a good fit for the relational model, like queues, graphs, and full text search indexes, in the same database and operate on them transactionally. You can still co-locate compute with the data, and you can actually scale indexes because they don't have to be co-located with the data as most databases wind up doing. And let's not forget that you have at least a chance to actually get the hard distributed systems part right, as so few products do, because it is not hopelessly entangled with your data model and execution engine.
To address some specific speculations from the article: you don't have to read metadata every transaction; you can just cache it in memory and just ask the distributed store to make sure it hasn't changed in conflict with the transaction (via a tiny read of a serial number, for example, or a usually-empty range read of a log of metadata changes). A key/value store designed for layering needs to be able to go full speed with real, cross-node, multi-key transactions rather than focus on a single node "fast path" (like, if I recall correctly, VoltDB does). It's also highly recommended to be able to do concurrency control on arbitrary ranges rather than just individual keys, both for performance and serializability reasons. Indexes, as I've already mentioned, are vastly more scalable in this type of design than most others. And you get to decide whether you want to read from them serializably or not. One way you can do push down (which in the modern world of 10GBE networking is way more important for OLAP workloads than OLTP, but let's be perfectionist) is to co-locate SQL and K/V store nodes and to let the higher layer see where data is located in the lower layer so that it can partition queries (at least approximately) to one of its own co-located nodes. You keep all the nice abstractions and the statelessness of the SQL nodes, and you can read data locally (a nice optimization would be to have a super fast shared memory path for doing this in the database driver).
There is some cost for every abstraction. But because human ingenuity is finite, successful abstractions on net greatly increase what we can do. We don't write everything in machine code, or build new custom networking hardware and protocol stacks for every piece of data we need to send, even though there might be some microoptimization opportunities if we did.
The real performance problem that any new SQL database is going to face is that its query planner isn't exactly the same as the one people are trying to switch from. So if the customer's random web app has 1000 queries, and 995 of them are faster on the new database and 5 of them are worse, guess what happens? The 1000 queries by selection bias ran acceptably on the old database, but the 5 worse ones can be arbitrarily worse, because the badness of query planning in such a rich query model isn't really bounded. So the application is now brokenly slow. So there is going to be a long, long game of whack-a-mole, and users' experience of the performance is going to tend to be negative no matter how good or bad it really is. In my view, the ideal database interface for scalable production "OLTP" applications would be as powerful as SQL, but do less magic in the query planner - it would make it more explicit in the query how challenging the execution plan is supposed to be, so that you don't have queries that explode into unscalability. Pushing a little more work onto developers in order to save the skins of the ops people when the cardinality of some table changes.
Sorry, /rant. I don't know anything about the engineering of TiDB or TiKV and can't comment on them. But I really strongly believe that a layered architecture is the right one both for databases and for lots of things that people don't think of as databases but that wind up having to solve all the same concurrency control and fault tolerance problems.
comment 9y ago · link · parent
It's kind of funny that we have Google pushing to force everything to be HTTPS, and in response everyone adopting a service provider that MITMs them through shared proxies written in a memory unsafe language, and doesn't require a certificate or even HTTPS from the origin site (so that third parties can still do MITM attacks), etc.
It's still an improvement over an `http` scheme site in an absolute sense -- at least it protects customers from their own ISP or unencrypted wifi -- but it also hides the insecurity from the user. Oh, well.
Maybe what we really need is strict liability for data breaches. A few companies getting successfully sued for $100 per user account after a breach would actually start to change the culture around security.