Better HN
topnewbestaskshowjobs
Log inSign up

api

35,892 karma · joined Oct 4, 2007 (19y ago) · 17,857 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 13y ago · link · parent

Hate to be another to point this out but: does it matter at this point? Even if we turned off the USA, China and India would still tip us far past 400ppm by 2050.

Those two, as well as most of the developing world, seem to have zero interest in doing anything whatsoever about CO2. The entire movement to curb CO2 seems exclusively American and European, with a small amount of participation from Japan.

comment 13y ago · link · parent

I didn't say it was the worst place on Earth. There are obviously a lot of candidates for that, and I can see how people from some surrounding regions would prefer it. But it's definitely not something to idolize unless you really love a micromanaging surveillance state with ridiculously unbalanced penalties for petty and victimless crimes.

As this story suggests, it's also an authoritarian oligarchy in which you have no real rights and can be "disappeared."

I honestly found it disturbing to see it idolized by smart people. Do they have no appreciation for cultural freedom? Or do they really believe that yuppie upscale boutique fascism is an ideal worth aspiring to?

Seriously, watch a film called THX-1138. "Buy, and be happy..." Sometimes I think politicians watch dystopian films and think "wow! that's a great idea! I never thought of that."

Learn to appreciate your local ghetto. Like the song says: you don't know what you've got 'till it's gone.

comment 13y ago · link · parent

A big, unmentioned one: virtually all middlemen who do not add significant value are obsolete.

This includes salesmen, sales representatives, dealers, warehousers (replaced by on-demand everything), many types of brokers, etc.

This is a huge chunk of the economy. In the old industrial economy there were layers and layers of bureaucracy and markups between the producer and the customer. Now there will be at most one. The customer and the producer will deal directly. Everyone else is cut out.

That one layer -- an Amazon type thing -- will be heavily monopolized by a few big players (Amazon, Wal-Mart, etc.) and will be very low margin / high-volume.

comment 13y ago · link · parent

I'm amazed at how many elite-school tech types idolize Singapore for some strange reason. I've heard a number of gushing recommendations for the place from the MIT/Harvard set.

I personally see it as some kind of horrible sci-fi "Stepford Wives" "smile or die" dystopia... like a yuppie latte-sipping upscale version of North Korea. It makes me thankful for ghettoes and dirt and bums, given the alternative.

comment 13y ago · link · parent

Short summary:

(1) Don't start a company just to feed your ego, or because it's trendy. You're unlikely to succeed, especially if that's your only reason for doing it, and failing is likely to bruise your ego even more.

(2) Don't start a company to "get rich quick," either. Most people don't get rich, and it's not quick. It's a load of work and involves a lot of sacrifice and a high probability of disappointment. You'd be statistically far better off with the "get rich slow" path of living below your means and investing.

I hope more people follow this advice. There's too much noise out there... too many get rich quick me-too schemes and Chief Ego Officers running around. Please clear the field for interesting stuff and experienced, honest founders.

comment 13y ago · link · parent

A few things:

(1) Code reuse, or lack thereof.

(2) Multiplication of surface area for things like security bugs... now you have five different stacks to keep track of security updates for instead of just one.

(3) Multiplication of deployment resources-- now you need multiple VMs, maybe multiple instances with different stacks to run them on, etc.

(4) Developers can't pinch-hit for each other unless they know every damn stack in the world.

(5) If you sell, God help whoever has to support that stuff in your new organization.

comment 13y ago · link · parent

The absolute worst is SOA (the "enterprisey" buzzword for lots of small services) architectures in which every service is written in a different language!

"Oh, our payment processor is in Node, but our site's in Ruby. Our file caching layer is in Python with bits of C for high performance and our crypto stuff is in C++ with Boost and libcryptopp but it talks to a Java app that uses Cassandra..."

(Runs outside, sets self on fire, shoots self in head...)

comment 13y ago · link · parent

Absolutely. A truly cool app written in VB.NET is more interesting than FizzBuzz in Haskell.

comment 13y ago · link · parent

Someone with ten million in the bank is a peasant in a nice suit to the people you're talking about.

comment 13y ago · link · parent

Related advice: don't destroy balance in your life to spend every waking hour working on the theory that once you get your big break you can then have balance. It doesn't work. You burn out.

(Speaking from experience.)

comment 13y ago · link · parent

Monsanto reminds me of Microsoft in the 90s, but worse.

comment 13y ago · link · parent

Also: merit is not one-dimensional. Which merit is being measured? Merit at what?

I've noted for a while that a significant fraction of those successful in business, especially in certain sectors, are basically glorified street hustlers. They're very good at rapidly building social networks, smoke and mirrors, and shell games that create the illusion of value. The game they play could be called "lie, leverage, flip."

Is this the merit that we want?

I would argue that all societies are meritocracies for some value of "merit." Defining merit in any objective sense is not easy. In fact, it's probably capital-H Hard and reduces to the same effectively-infinite-dimensional search problem solved by evolution itself.

I think meritocracy is a great example of a simple idea that is incredibly appealing but wrong in a way that creates pathologies. Economics and biology are just chock full of that stuff.

comment 13y ago · link · parent

Makes me wonder if someday a bug (or "administrative function") in the firmware of a hardware device used at a major virtualization farm (EC2, Linode, VPS.NET, etc.) will be used to r00t the hardware nodes and then go wild all over everything there. Be afraid.

comment 13y ago · link · parent

Honestly it seems like the the advantage boils down to two points:

(1) x86's baroque encoding is actually a data compression mechanism, making code size relatively small. Code size killed RISC and VLIW.

(2) A lot of work has been done to make x86's cache very, very good in order to compensate for its small register file and other minor shortcomings. This in turn resulted in the whole issue being sidestepped in a way that yielded better overall performance.

There's also kind of a third, broader point:

(3) There are all kinds of exotic architectures that could theoretically be faster with a very smart compiler, but that very smart compiler never materializes. This is also an issue with arguments about high level languages potentially being as fast as C. The mythical super-smart compiler never materializes. On the x86 angle, x86's "hacks" made it very fast for the kind of code real-world compilers generate, which makes it perform well on real workloads instead of just contrived benchmarks.

Interestingly, x86 even beats vanilla ARM for code size.

http://vanshardware.com/2010/08/mirror-the-coming-war-arm-ve...

But ARM has an encoding called Thumb-2 that turns the tables. Hence the upcoming ARM/x86 war. It really seems like code size is one of the big parameters affecting a CPU architecture's performance.

What's interesting though is this: now that code size is comprehended to be the huge issue it is, could we see new experimental architectures that do radical things in that department such as the use of actual data compression algorithms in instruction encodings?

17235.

Linus Torvalds: x86 versus other architectures (2003)(yarchive.net ↗)

9 points · by api · 13y ago · 4 comments

comment 13y ago · link · parent

If designing new crypto stuff, use a mode like GCM (Galois Counter Mode) or EAX. Avoid the old non-authenticated modes.

comment 13y ago · link · parent

I thought ECC was vulnerable to Shor's algorithm. Of course we probably don't have QCs good enough to actually do it even for "toy" key sizes, let alone for the 256 bit or higher key sizes that are commonly used.

comment 13y ago · link · parent

None of these look ready for prime time, but the fact that it's possible is a great sign. It means the age of asymmetric crypto and all it entails won't end with practical QC. (Which is still a ways off...)

Of course if QC does appear and these algos are still not ready, an intermedia stopgap would be to use RSA, DSA, or ECC with very, very big keys, since as far as I understand it Shor's algorithm must be run over a single block. (Correct me if I'm wrong.)

17239.

An example of quantum-hard classically-implementable asymmetric crypto(en.wikipedia.org ↗)

41 points · by api · 13y ago · 19 comments

comment 13y ago · link · parent

Interesting. Wasn't familiar with the deep details, though I knew Android did something like this.

I don't like the user-account-per-app paradigm. It seems like an ugly abuse of multi-user access control to compensate for the missing app isolation piece.

I agree that it's a hard problem.

comment 13y ago · link · parent

It's feasible, but I personally think the hypervisor overhead stinks. Better to fix to OS permission model.

comment 13y ago · link · parent

That's not true. Root access can be permitted to the user. It just should not be permitted to apps without specific permissions and it should not be required to install an app. Apps should not have to vomit all over the filesystem. They should be self-contained and run in isolation.

comment 13y ago · link · parent

That's quite true. The consumer currently faces three choices:

(1) Dangerous insecure apps-can-trash-my-machine desktop OSes with complicated or confusing install / uninstall semantics and "OS rot" due to installs/uninstalls actually modifying things outside the app.

(2) Jailed devices, where you control very little outside the app world and someone else has root.

(3) The cloud, where you don't control anything.

comment 13y ago · link · parent

It's a terrible trend, but I don't see it as some kind of conspiracy as some people seem to. It's a legitimate market trend being driven by several factors:

(1) Operating systems have an outmoded security model. Most focus on multi-user security, which still has its uses, but they fail to focus on application isolation. Applications should be installable by anyone and isolated completely from other apps unless specifically granted permission by a user/administrator. The entire malware problem can be laid at the feet of this.

(2) The (related) poor state of installability. Mac has this problem the least with drag-and-drop .app installation, though sometimes even that can be confusing (and .dmg packages are weird beasts... why?). Linux has .rpm or .deb, which applies a massive and complex band-aid to the otherwise awful state of installability on that platform. Windows is absolutely horrible... it's like Linux where you have "installers" that have to do package management instead of a formal package system.

The open source world -- and even commercial vendors that want to keep the PC alive -- have to either address this problem or accept the dominion of the locked-down vendor-controlled consumer compute device. This will require abandoning the old fashioned Unix design philosophy (and the similar way Windows works) and thinking seriously about the problems of installability and isolation. It would be worth taking cues from iOS and Android here, though there's also a lot of room for new ideas.

Oh, and I forgot to mention. If we don't address these problems, all app vendors will pay a ~30% per-sale tax to Apple, Google, and Microsoft in exchange for the valuable service of a platform that provides installability and application isolation. And you know what? The market will pay it, because for most users those things are that valuable.

Point, click, install, with no fear of damaging my system. If I don't like it I click and uninstall. Anything else is completely broken.

It's interesting to note that the prevalence of virtualization is also a sign of the failure of operating systems. OSes in a box (whether via complex container overlays like OpenVZ/Virtuozzo or hypervisors) are an ugly hack to fix the fact that the OS security model is broken even for multi-user operation. The fact that everything requires root to install is the deepest issue, along with the lack of permission structures for things like network interfaces. It should be possible to run an OS and sell accounts to the general public, not VMs, and people should be able to run whatever they want from their local account and this should be safe. The fact that this isn't viable is because OSes are broken, thus we have the huge overhead of virtualization as an ugly band-aid to fix it.

comment 13y ago · link · parent

What they don't include here is the money you end up spending repairing the apartment (yes, repairing an apartment) to make it livable. At least I saw a fair bit of this in Boston. Unless you want to spend an utter fortune, you might be getting an overpriced slum.

comment 13y ago · link · parent

I was actually making a bit of humor, but it really is true. All these things are common to all forms of currency I know of, so it's sort of a sign of Bitcoin's coming of age.

comment 13y ago · link · parent

Bitcoin has speculative bubbles, fraud, robberies, money laundering, gambling, and Ponzi schemes. I think that takes care of all the qualifications for a real currency. Am I missing anything? :)

comment 13y ago · link · parent

http://programinplacebostudies.org/

comment 13y ago · link · parent

This makes me think of peak oil and the fossil fuel crisis, where you have physicists and such ringing the alarm bells and nobody is really paying attention.

"But we just found more oil!"

And we will, until we don't.

comment 13y ago · link · parent

Physical touch? Seriously? Be careful. That's likely to be creepy in many circumstances, and not just across genders. It can easily come across as controlling, condescending, etc.

Maybe I'm weird, but money does motivate me. Or rather, the desire to make more of it. But it's more of a negative motivator than a positive one. If I feel I am not getting a good deal, I am likely to "strategically disengage," continuing to do what is required of me but not engaging in a meaningful way. Why would I truly engage if there is no reward for doing so?

1
574575576
596