Better HN
topnewbestaskshowjobs
Log inSign up

api

35,898 karma · joined Oct 4, 2007 (19y ago) · 17,863 submissions

Founder of ZeroTier. Learned programming on a Commodore 64. Linux user since Slackware and kernel version 0.99.15. Been online too long and spent too long in front of a screen.

I live in Cincinnati, Ohio with my wife and two daughters. Ohio is terrible. Don't move here. (Locals still want to be able to afford housing.)

Opinions posted here are entirely my own personal views and not official positions of ZeroTier or any other company or group, unless I explicitly say otherwise.

Submissions

comment 4y ago · link · parent

> I thought it was a widely-known-secret that at least part of the insane hiring of engineers without clear teams, projects, etc for them to work on initially was to prevent individuals working for current-or-potential competitors.

Wow, I've suspected this for many years and people told me it was nutty.

comment 4y ago · link · parent

The problem with Java is much more with the ecosystem than the language, for all the reasons you describe. Clean, straightforward software can be written in Java but it seldom is.

comment 4y ago · link · parent

If you are shipping software for Windows just make sure your insurance has good mental health coverage.

comment 4y ago · link · parent

I've tried it. It's a very strong effort but if you want to support Windows then welcome to hell.

You'll need to ship Microsoft's new Edge runtime thing, which is a separate package. You'll either have to include that giant package in your package or download it on demand, and the latter is very brittle and will fail if MS changes their URLs or you're installing inside a very heavily firewalled (whitelisted) environment. If your product runs in enterprise settings you will get complaints from IT people about how your single installer installs a "hidden" second installer that they don't want, especially since the Edge runtime runs some kind of system service (why?) all the time. You'll have to basically take over maintaining up to date Edge runtimes in your bundles and handling edge cases because Microsoft can't ship software for their own OS. People will complain that if they uninstall your app it does not fully uninstall because it leaves the Edge runtime.

Tauri just works everywhere else but the headaches on Windows defeat the purpose to some extent.

Of course I guess shipping anything for Windows is "welcome to hell." The only way to have a package that installs and runs reliably is to bundle Every. Single. DLL. And. Dependency... or statically link it.

comment 4y ago · link · parent

It's endless in areas like nutritional science, public policy, energy policy, environmental issues, etc.

Here's a random five second search result:

https://www.science.org/doi/10.1126/science.aat3763

These are examples of academic communities being influenced by corporate or state interests.

It's much easier with informal online communities subject to herd effects.

comment 4y ago · link · parent

A gem from this article: "Minecraft would probably never have happened, if Notch started by asking in the forums if he should use Java or not."

Most things wouldn't happen if the creator asked ahead of time what they should do. This is the dark side of peer review and relying on peers. It leads to a kind of mental / creative vetocracy situation where ideas are killed in their most fragile state by casual comments.

comment 4y ago · link · parent

The problem with formal centralized standards is that they tend to become ceilings rather than floors for quality, and it's hard to write them otherwise. They do however serve a function in keeping total snake oil crypto out of government and industry. Having some rubber stamp from people who at least know something keeps people with no knowledge of cryptography from buying the latest absolutely uncrackable post-quantum military grade AES-4096 cryptography product.

I'm also not sold on the idea that informal popularity contests or academic processes (which are often themselves opaque) are always superior to formalized cryptography standards. It's absolutely possible for modern intelligence agencies to infiltrate, steer, and subvert decentralized communities and private sector institutions. We see it all the time.

IMHO Internet culture is unbelievably naive about this. Everyone of course believes that they are hip and smart enough to spot astroturf and could never be conned. Everyone thinks only other people who are obviously less savvy and smart than them could be conned. "Wake up sheeple!" is never spoken to the mirror.

For all we know the NIST curves and AES are stronger than the other stuff and there's an astroturf effort to get non-government entities not to use them! Get the hipsters using vulnerable stuff while NIST/NSA keep recommending the good stuff for classified government use. How do we know DJB doesn't work for the NSA? (I do not believe any of this.!)

This way is madness. So I stick with the rule of "solid evidence or go home" when it comes to allegations and with general consensus of people who seem to know more than myself when it comes to algorithms and constructions.

comment 4y ago · link · parent

Interesting link, and yes it does look like the GOST curves are really suspect. I didn't see a graph for the NIST curves and they do not appear to have called them out.

There's a big difference though with the GOST curves. They were generated in what seems to be a 100% opaque manner, meaning they could have been back-calculated from something.

The NIST curves were generated in a way that was verifiably pseudorandom (generation involved a hash of a constant) but the constant was not explained. This makes it effectively impossible to straight-up back-calculate these curves from something else. NIST/NSA would have had to brute force search for parameters giving rise to breakable curves, which is the basis of the reasoning I've seen by cryptographers I quoted above.

Note that the cryptographers I've seen make this argument aren't arguing that the NIST curves could not be suspect. What they're arguing is that if they are in fact vulnerable and were found by brute force search using 90s computers, all of elliptic curve cryptography may be suspect. If we (hypothetically) knew for a fact they were vulnerable but did not know the vulnerability, we'd know that some troubling percentage of ECC curves are vulnerable to something we don't know and would have no way of checking other curves. We'd also have no way of knowing if other ECC constructions like Edwards curves or Koblitz curves are more or less vulnerable.

So the argument is: either the NIST curves are likely okay, or maybe don't use ECC at all.

Bruce Schneier was for a time a proponent of going back to RSA and classical DH but with large (4096+ bit) keys for this reason. RSA has some implementation gotchas but the math is better understood than ECC. Not sure if he still advocates this.

Personally I think the most likely origin of the NIST constants was /dev/urandom. Remember that these were generated back in the 1990s before things like curve rigidity was a popular topic of discussion in cryptography circles. The goal was to get working curves with some desirable properties and that's about it.

comment 4y ago · link · parent

Isn't syncthing P2P all by itself? Why run it over something else? Is it encrypted or is its encryption suspect?

I'm also not a huge fan of the "put thing A on top of general purpose thing that can host all things of the same class as A" trope. Tailscale gives you a virtual network so you can run absolutely anything that speaks IP over it. It's like "how to run (insert random Linux service) in Docker" and similar blogspam.

comment 4y ago · link · parent

That's the difference between free speech and malicious libel and slander.

Jones is a total psychopath. What he did to those grieving families is just beyond despicable. Mentally abusing children who survived a murder rampage is way way beyond just dirty politics, propagandizing, and typical grifting.

comment 4y ago · link · parent

Here's the counter-argument that I've seen in cryptography circles:

Dual EC, a PRNG built on an asymmetric crypto template, was kind of a ham fisted and obvious NOBUS back door. The math behind it made such a backdoor entirely plausible.

That's less obvious in other cases.

Take the NIST ECC curves. If they're backdoored it means the NSA knows something about ECC we don't know and haven't discovered in the 20+ years since those curves were developed. It also means the NSA was able to search all ECC curves to find vulnerable curves using 1990s technology. Multiple cryptographers have argued that if this is true we should really consider leaving ECC altogether. It means a significant proportion of ECC curves may be problematic. It means for all we know Curve25519 is a vulnerable curve given the fact that this hypothetical vulnerability is based on math we don't understand.

The same argument could apply to Speck:

https://en.wikipedia.org/wiki/Speck_(cipher)

Speck is incredibly simple with very few places a "mystery constant" or other back door could be hidden. If Speck is backdoored it means the NSA knows something about ARX constructions that we don't know, and we have no idea whether this mystery math also applies to ChaCha or Blake or any of the other popular ARX construction gaining so much usage right now. That means if we (hypothetically) knew for a fact that Speck was backdoored but not how it's backdoored it might make sense to move away from ARX ciphers entirely. It might mean many or all of them are not as secure as we think.

comment 4y ago · link · parent

> I remember that some of the suggested changes from NSA shared with IBM were actually stronger against a cryptanalysis attack on DES that was not yet publicly known

So we have that and other examples of NSA apparently strengthening crypto, then we have the dual-EC debacle and some of the info in the Snowden leaks showing that they've tried to weaken it.

I feel like any talk about NSA influence on NIST PQ or other current algorithm development is just speculation unless someone can turn up actual evidence one way or another. I can think of reasons the NSA would try to strengthen it and reasons they might try to weaken it, and they've done both in the past. You can drive yourself nuts constructing infinitely recursive what-if theories.

comment 4y ago · link · parent

I don't think it's a bad thing to push back and demand transparency. At the very least the pressure helps keep NIST honest. Keep reminding them over and over and over again about dual-EC and they're less likely to try stupid stuff like that again.

comment 4y ago · link · parent

Why not? Isn't part of transhumanism the idea that a person could control their own biology? Trans people (especially those who have actually transitioned) seem like early adopters to me.

I think the histrionic overreaction to trans people shows one of the things that will hold any kind of real transhumanism back though. If you think we have a culture war now wait until we have extreme life extension, really powerful intelligence augmentation, and the ability to more deeply alter our physical form.

A certain subset of the religious and social conservative sectors are going to crusade hard core against any of this stuff. You can already hear it on the far right and most of this stuff doesn't exist yet.

comment 4y ago · link · parent

There's steady but slow progress in fusion in energy density and power output, so no.

comment 4y ago · link · parent

Yeah, right now any new protocol should pick either ChaCha if you want to be fast on general purpose hardware and/or be hipster certified or AES (256) if you want to be fast on AES accelerated hardware and/or be FIPS(ter?) certified. I can't think of a single reason to pick anything else right now or to support negotiation.

comment 4y ago · link · parent

> Twofish/AES128/ChaCha20

Supporting Twofish is really bizarre. It's basically dead and would be slow compared to AES or ChaCha unless someone rolled their own SIMD implementation (why?). AES128 is weird too since 128-bit key ciphers are kind of deprecated unless your target is a fridge magnet.

AES256 or ChaCha20 would be sane as they are both roughly equivalent security-wise (in practice, people will debate theory) and both still recommended for use in new stuff, but most cryptographers would recommend that you pick one and only one of these two for a new system unless something forces you to support both.

So yeah, weirdness abounds here.

comment 4y ago · link · parent

> We'll see if Apple's ad efforts extend beyond the App Store but even so, the incentives here are all fucked up. Why bother making App Store search better and cleaning up spam/scam apps when these problems enable a new revenue stream in the form of paid placements?

All commercial vendor app stores are trash fires. We need anti-trust action to force the ability to subscribe to alternative app stores. There's just no incentive to improve them once users are locked in and as you say there are often perverse incentives to do the opposite.

I'm really glad both power users and developers on the Mac roundly rejected the Mac App Store. I actually do use it for things like communicator apps and other limited-scope apps since auto-updates are nice, but if Apple pushed app-store-only for Mac or even made installing apps outside the store too hard (pushing via dark pattern) it's one of the things that would drive me off the platform.

I realize there are security benefits but like I said the App Store is a trash fire. They all are.

comment 4y ago · link · parent

That'd make a great sci-fi world setting: primitivists who occasionally hop in their spaceship and plug into a superintelligence.

Seriously though: I do think a far future option for preserving the Earth is to move at least heavy polluting industries off world. All technology is not going to happen but we could put Shenzhen on the moon. I could see the moon being Earth's industrial park.

comment 4y ago · link · parent

We're coming up on the end of open forums and open social media. Everything will require intrusive verification. Anonymous forums could exist but they'll require something else like an anonymous payment, a ton of proof of work on your local machine, etc. to filter out crap.

comment 4y ago · link · parent

The moon is in general a better place than Mars for a first attempt at a space settlement in part because there's more options for monetization. It might not pay for the whole thing but it would at least offset it a bit.

There are other big reasons too, like help being only days away instead of months away in the event of a catastrophe.

Once we figure out how to do a space settlement on the moon, then we could try Mars. Mars is likely a better long term home for humans but it's about 60X as far away in terms of travel time.

comment 4y ago · link · parent

Yeah, he's neither a comic book hero nor a monster. He's a rich dude who's pretty smart and decided to risk a bunch of his helping build up companies working in important innovative fields, but unfortunately he also trolls and overshares on Twitter like a 13 year old.

comment 4y ago · link · parent

Wow, how things have changed. I've been here since back when Google could do no wrong. Now they're a poster child for shady surveillance capitalism.

Same with Elon Musk. I remember him being compared to a comic book hero. Now he's an alt-right racist (if you are a leftist) or an evil globalist technocrat (if you are a rightist).

comment 4y ago · link · parent

I'm not really talking about store web sites and other classical (and appropriate) uses of the web. I'm talking more about all the SaaS applications that are really desktop apps running remotely on a "mainframe."

comment 4y ago · link · parent

It was explained to me like this: the credit score is not a credit score in the sense you might imagine. It doesn't track your likelihood to repay. It's a score indicating your likely aggregate profitability to banks as a borrower.

comment 4y ago · link · parent

“When it comes time to hang the capitalists, they will vie with each other for the rope contract.” - attributed to Lenin, probably apocryphal, but accurate.

comment 4y ago · link · parent

The real solution to this is how we solved it last time we were here: abandon the mainframe and go back to local applications on PCs.

The cloud really provides two things for most applications:

(1) Data synchronization at scale. This could be provided by a much, much thinner cloud that basically just syncs files but using CRDTs to make that more robust. Applications could use these services to sync state for collaboration. The vast majority of the brains could be at the endpoint.

(2) The cloud is copy protection and DRM. It gives software publishers an easy place to put a toll booth. This could be solved by a reboot of the concept of local licensing, or by just periodically calling out to a license server. Yes people will pirate your software but those people aren't going to pay anyway.

comment 4y ago · link · parent

This is a well known cycle in software. Systems grow in complexity until they collapse under their own weight, then a new system is created that steals the most valuable ideas from the old system. Repeat.

It happens in nature too. Your skull has fewer bones in it than the skulls of many fish and humans do not by any stretch have the largest genome in nature.

1
197198199
596