Better HN
topnewbestaskshowjobs
Log inSign up

voidmain

1,781 karma · joined Jul 17, 2009 (17y ago) · 402 submissions

Software engineer, entrepreneur

Co-founder of Antithesis

Co-founder of FoundationDB

Co-founder of Visual Sciences

Submissions

comment 6y ago · link · parent

Someone should look at Sterilray and Ushio 222nm KrCl excimer lamps. Light at that frequency is extremely effective at destroying viruses but probably does not cause much skin cancer or eye damage like other UV because it is absorbed so fast it doesn't make it through the dead layer of skin etc. There are at least some studies but no FDA approval or mass production. If they work these might make a big difference in transmission in public spaces, especially via surfaces.

comment 6y ago · link · parent

In fact, at least one study has found plain old surgical masks noninferior to N95 masks for preventing infection by flu (others have found them a little worse, and that's probably the smart way to bet). Common sense suggests that anything that prevents you from touching your mouth would help at least a little.

There is a difference between the best tool for the job and better than nothing. Our civilization has a dangerous habit of mandating the best tool for the job, and then unnecessarily suffering with nothing in an emergency.

Moreover, even if the party line that coarse unsealed masks are completely worthless at protecting the wearer from infection were true, it would still make a big difference in the rate of spread of the virus for everyone to start wearing masks! Who cares what the private benefit is when there is definitely a public benefit? And yes, we could make plenty of masks for everyone if we weren't crippled by regulation, hatred of supply and demand, and the attitude that inaction is better than imperfection.

comment 6y ago · link · parent

Realtime PCR isn't sequencing. It increases the concentration of the targeted sequence exponentially, so it "should" take only logarithmically more temperature cycles to handle a smaller concentration of virus . If that is actually a big contributor to the testing cost, it would make the log in my analysis into a log^2.

comment 6y ago · link · parent

Why can't RT-PCR tests be used to detect virus in a sample mixed from a large number of individual samples? This would enable cheap and accurate mass testing, since you can find P positives from S samples with O(P*log(S/P)) tests. What's the catch?

comment 6y ago · link · parent

gpg is widely agreed to be a train wreck, but age is not generally suitable for encrypted backups because it doesn't offer any form of authentication (so an attacker can replace a backup with a malicious one).

comment 6y ago · link · parent

My understanding was that prior to Friday, CDC Atlanta's comically limited RT-PCR capacity was backlogged even under the "see-no-evil" testing criteria, and that approximately no other labs were able to do tests (since validation of the CDC issued tests failed). If there was also unused lab capacity that is good to know, do you have a source?

comment 6y ago · link · parent

Some clarification based on what I've been able to put together (caveat: I'm not an expert in this area)

The CDC developed a testing protocol (crudely, a set of 3 conserved RNA sequences of the virus to chemically "grep" for). The protocol is here [1] and I think anyone with suitable equipment (an RT-PCR machine and an oligonucleotide synthesizer to make the primers and probes?) could run tests using just the information on that web page, though they would probably also want known positive samples of the virus to validate against. And there are lots of labs with suitable equipment. But as that page says, it is not legal to do this clinically.

The CDC also sent out test kits [2]. These are just vials of primer/probe pairs synthesized from the short sequences on the above page, and a fake positive control to validate with. These were authorized by the FDA, and so are legal to use. But apparently somehow they screwed up the production of primer #3 (or maybe the sequence itself is wrong), and so almost all the labs were not able to validate the test. After several weeks the CDC has still not fixed this problem, but labs are now allowed to run tests using just primer 1 and 2, so testing capacity is rapidly increasing (though of course who knows how sensitive or specific the tests are).

The federal organization preventing labs from running tests is the FDA [3], not the CDC. It is also the FDA who would have to approve the commercially produced test kits.

[1] https://www.cdc.gov/coronavirus/2019-ncov/lab/rt-pcr-panel-p... [2] https://www.fda.gov/media/134922/download [3] https://www.fda.gov/emergency-preparedness-and-response/mcm-...

comment 6y ago · link · parent

The guidelines for testing were so absurdly stringent because there was almost no testing capacity in the US, despite their being hundreds of labs with RTPCR equipment, because the CDC screwed up their test kits and the FDA used emergency powers to prohibit labs from developing their own tests, and forbids the creation of commercial test kits and the importation of foreign ones. Three weeks after CDC (after an already unconscionable delay) shipped the non working tests, they have "fixed" this situation by permitting labs to use the 2 of the 3 primers in the original test that mostly work. So as of yesterday we are starting to have the ability to actually test, and the criteria are being loosened.

comment 7y ago · link · parent

P=BPP would contradict the extended Church-Turing thesis. Quantum computers can definitely be simulated by classical ones (with an exponential slowdown) so the CTT, which says nothing about performance, is not threatened by them.

comment 7y ago · link · parent

That is why you don't use SHA-256 (or other plain hash function, which is designed to be fast) as a password KDF (which needs to be slow).

comment 7y ago · link · parent

The next step after that will be machine vision based transformation of the rendered output. I think as long as end users can keep control of the browser and computing device hope is not lost.

There is also the option of actively attacking the business model of the ad and tracking industry. Ad blockers could simulate lots of "fake" traffic to make ad analytics harder (this is another arms race against attempts to filter out the fake traffic)

comment 7y ago · link · parent

...speculation attacks, and outright bugs in TSX, and the fact that even when everything is working it's a timing mechanism that VMX can't intercept. I really hope it becomes architectural (and gains a bit for HLE)!

comment 7y ago · link · parent

Can we please have an architectural MSR to disable TSX?

comment 7y ago · link · parent

It sounds like the camera was sending match results using a blocking send or write call, and no one was reading them, so once the total size of match results exceed the total size of socket buffers the camera software blocks and stops working.

comment 7y ago · link · parent

Browsers could safely pull a list of very commonly requested, content addressable resources from various CDNs and pre cache it (independently of any request). That would even help with first request latency, and for mobile (where bandwidth is expensive) you could do the pre caching on Wifi.

comment 7y ago · link · parent

How far does "non turing completeness" really get you in this context? It looks easy to write a program in this language that will take longer than the age of the universe to evaluate and whose result can't be represented explicitly without collapsing the galaxy into a black hole. How much comfort can you take in the fact that you know it doesn't diverge?

comment 7y ago · link · parent

The technical solution to tracking pixels isn't to disable remote image loading, it's to load all remote images when receiving the mail over smtp, and embed them in the mail. That way the sender gains no information whatsoever that they didn't already get from the smtp exchange.

comment 7y ago · link · parent

The Fastest and Shortest Algorithm for All Well-Defined Problems [1]

An algorithm M is described that solves any well-defined problem p as quickly as the fastest algorithm computing a solution to p, save for a factor of 5 and low-order additive terms.

(The constants in the "low order" terms are... large. Basically this is a delightful reductio of asymptotic analysis)

[1] https://arxiv.org/abs/cs/0206022

comment 7y ago · link · parent

When I took this class many, many moons ago, the close equivalent of the "cache lab" was graded not on the number of cache misses but on the cache hit ratio. When I pointed the problem with this metric out to a TA he blew me off. So I turned in the original code plus a loop that read the same volatile value a few billion times. It took a long time for the cache simulator to grade, but they dutifully gave me a very high grade (something like 200%) on the lab :-)

comment 7y ago · link · parent

A neural network of neural networks is... a bigger neural network. Having two or three layers of nonlinearities per "neuron" doesn't do anything qualitatively different.

There are probably lots of huge differences between NNs and brains but this article is really making the case that the brain can be modeled as a big NN, just with a few thousand times more activations than neural cells.

comment 7y ago · link · parent

If you are at all concerned about confidentiality (as opposed to just integrity) properties, you need to defend against speculative execution timing attacks ("Spectre") and other uncooperative timing channels.

Language based security like WASM can prevent untrusted code from receiving timing channels, but only by executing it absolutely deterministically and denying it anything that can be used as a clock, which definitely includes shared memory multithreading. So you would not be able to run anything originally multithreaded, except perhaps by heroic measures like a continuation passing lowering of fibers. If the code has any way to measure the passage of time, there is presently no known way to prevent it from using Spectre to read the whole memory of the process it is in.

On the other hand process sandboxing can rely on defenses provided by the operating system and hardware. These are not IMO as absolute as deterministic execution, but they are better than nothing if it's not practical to run the untrusted code deterministically.

Thus you see for example Chrome shifting its security model in the direction of assuming that anything mapped in the same OS process as untrusted JS or WASM has no confidentiality. I personally think it would be better, given the historically very limited access of JS to synchronous timing channels, to go for perfect determinism in that context. But definitely there are use cases where that isn't practical, so there is a place for process sandboxing. It also makes for a second line of defense - you can run your wasm vm inside your process sandbox, and an integrity failure of either one is not fatal!

comment 7y ago · link · parent

Regarding testability, what kinds of properties do the tests actually assert?

comment 7y ago · link · parent

Yes, the "fixed" (multimap) version looks to have the Halloween Problem [1]. As this illustrates, const correctness is no substitute for understanding of iterator invalidation and data structure invariants in C++.

As another example, the original code could have been writted with a multiset< unique_ptr< Employee > > and a suitably modified comparator and not required any const casting to have the same undefined behavior as the original (you can access a mutable object through a const unique_ptr).

[1] https://en.wikipedia.org/wiki/Halloween_Problem

comment 7y ago · link · parent

The New York Times somewhat ironically won't let me read this article in private mode. "You're in private mode. Log in or create a free account to continue reading."

comment 7y ago · link · parent

Gifts to charity can only be deducted up to 50% of AGI. Gifts of appreciated assets only up to 30%. If you are giving to private foundations, the limits are even lower. It is possible to carry forward excess deductions for a limited time, but that doesn't really help in the long run. If you are trying to consistently reduce your AGI to zero this approach does not work.

comment 7y ago · link · parent

Not at all. In a code path where the compiler reasons that x is definitely INT_MAX, it could simply omit this code, leaving y uninitialized and nondeterministic.

comment 7y ago · link · parent

> Where do you see a problem with this type of response?

"It is impractical because it is a descending spiral ending in destruction for all. The old law of an eye for an eye leaves everyone blind."

comment 7y ago · link · parent

I might not have time to continue this discussion.

Try this:

If standard vesting terms make you nearly indifferent to your co founder leaving, or to being fired, then they are perfect for you and you should definitely go for it.

Otherwise, you want some other kind of agreement with your co founders. It's not likely that the ideal agreement is one you can enforce through the weak economic incentives you can put in your corporate agreements (constrained by enforceability, tax considerations, what would totally freak out later investors or acquirers, etc). You will just have to rely on loyalty, integrity, etc. And it's fairly well known that adding weak but salient economic incentives to strong moral ones has a perverse effect. I don't think I can explain this any more clearly.

(And if you can't completely trust your partners, why worry about them leaving, but not about them colluding to fire you and repurchase a bunch of your stock? And isn't the prospect of a high stakes negotiation that could blow up your company a stronger incentive than losing some predictable fraction of equity?)

No matter what you do, there will be risks. I think what balance of risks is best depends on you, your partners, and your situation. We are in full agreement that you should address this issue, in one way or another, early.

(It hasn't been that long since I've raised money from a "real VC", but who knows? I'm happy to leave that out of the conversation)

comment 7y ago · link · parent

If you let it cool, it would stop fusing. The fusion power wouldn't magically go up.

comment 7y ago · link · parent

If you think that what the corporate documents say is the only or most important possible form of commitment between founders, we probably have very different philosophies about business and probably life.

To give a related example, I've sold a company to an acquirer for whom the deal was extremely material, and for whom I was a very key employee, who tied me down for two years with nothing more or less than a promise and a handshake. They were smart: I was far less likely to leave during that time than I was after another acquisition where I had big golden handcuffs.

(Also, I have trouble understanding the "10 years later" scenario. Is the assumption that there's a founder breakup and... everyone just forgets about it and goes about their business? THAT sounds nuts.)

1
456
14