Better HN
topnewbestaskshowjobs
Log inSign up

api

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

Calling C functions with minimal fuss and good performance, which requires C header parsing and linking or DLL loading support. It also requires built in or standard library support for whatever convenience types and functions are needed to make using real C APIs pleasant and as safe as possible. Support for exporting functions and passing function pointers the other way is great too if it can be done.

Go with CGo is okay from a usability perspective but performance is poor. I haven't looked much at Rust's implementation so I can't comment. I've also heard Python is not bad.

comment 5y ago · link · parent

Interoperability is generally a disaster. Most languages can interoperate with C ABI functions, but even that is painful in some cases. It seems like most languages consider this an afterthought when it should be a central consideration. There will never be a time when everything is written in just one language.

comment 6y ago · link · parent

It’s not complex problems. It’s being close to the metal. Rust isn’t bad but it’s still not as good as C or C++ if you need to get every last bit of performance or need to be really close to the OS and hardware.

Rust is coming along though. It’s the first language I have seen that might unseat C++.

comment 6y ago · link · parent

I don't think it's the best of all possible worlds, but it is better than some.

Only a small percentage of billionaires do incredibly valuable things, but those who do are doing things that I can't imagine the US government of today ever doing. The US government would be having meetings to schedule the meeting to discuss the meeting schedule, or fighting over culture war issues.

comment 6y ago · link · parent

If "Janik's black box" actually does exist, it would be among the deepest darkest secrets in the entire government. It would only be pulled out and used in extreme cases for fear of accidentally revealing evidence of its existence by breaking a code that one should not be able to break (similar to how the allies in WWII let the Germans sink a few ships rather than reveal that they could break German codes).

comment 6y ago · link · parent

The pandemic happened to hit while we had a particularly idiotic populist demagogue in the White House, but even if we'd had someone more competent I still agree that China would have done better. Assuming you believe their numbers, China seems to be doing better than most of the world.

I chalk up China's governmental competence to the number of scientists and engineers involved in their government. It may be authoritarian and a bit of a nightmare, but unlike the majority of other governments in the world you have a few decision makers in there who have some clue how the world actually works. Most other government are run by lawyers, career bureaucrats, delusional ideologues, or leaders who inherited their position either officially via some line of succession or de-facto via institutional nepotism.

There are some of all those categories in China's government, but there are also apparently enough people who actually know how to do things in the real world.

comment 6y ago · link · parent

Who would allocate resources better?

comment 6y ago · link · parent

Most cryptographers think we will see RSA and EC type public key code breaking at least for small keys (<=1024 for RSA, <256 for EC) within 10-15 years. Once that happens we can more or less consider classical asymmetric crypto unsafe since we can assume deep-pocketed adversaries (NSA, FSB, China, etc.) may be ahead of what is publicly disclosed. That's why classically computable but quantum resistant asymmetric cryptography is one of the hottest areas of crypto research right now.

comment 6y ago · link · parent

This form of world-as-simulation is effectively identical to strong theism. The world exists in the mind of God or runs on some supernatural "hardware" is basically the same thing as saying the world is a beyond-classical simulation.

comment 6y ago · link · parent

Mine didn't lead with it. It may have been buried in there somewhere but it wasn't highlighted as critically important. Instead you just got the mechanics of differentiating and integrating functions thrown at you without explanation.

This was back in the late 1990s and early 2000s. I hope things have improved.

comment 6y ago · link · parent

I've believed since college that math is the worst taught of all academic subjects. I never had a math professor that engaged the class, and practical applications were never mentioned.

Even worse the language of math was never adequately explained. You were expected to learn the meaning of some new squiggle or greek letter by... its context? Symbols and terms you'd never seen before were just thrown at you without explanation. Definitions when given sounded circular or were given in terms of other things that had never been defined clearly.

I had one professor who just turned his back to the class and wrote things on the board. Students were meant to just magically understand.

I'll never forget in year one of college being absolutely stuck in calculus. I called up my dad and he tried to help me a bit, then he stopped and said: "you know what a derivative is, right?" I said no, not really. They tried to explain in class but it didn't click. He said "a derivative of a function is the rate of change of that function." I thought for a second and then said "thanks, now I understand calculus." I was un-stuck instantly. My professors never explained it that clearly.

Later on I took classes in things like population genetics and evolutionary dynamics. The professors of those classes explained the relevant math better than my math professors did to the point that if I'd taken those classes first I would have done better in the math classes that were their prerequisites.

comment 6y ago · link · parent

That does sound like absolute magic. One hundred million? I didn't know about this algorithm, and it looks revolutionary for a ton of things.

If sketch size grows with only log(n) where N is the set size, then we are talking about practical efficient non-thrashing replication of billions of records at broadband speeds.

(insert mind=blown meme...)

comment 6y ago · link · parent

Intel had a footing in the very early phone market via StrongARM but they sold that off for some bizarre reason. They also got a little bit of a footing with Atom in the Android market, which is why Android/x86 was a thing, but they didn't seem to take that seriously either.

comment 6y ago · link · parent

Some recent PC/laptop displays can do 100hz and I even feel a difference between that and the long-standard 60hz. It's a small effect but it's noticeable and it looks a bit smoother and better.

comment 6y ago · link · parent

If they can really crack the PC laptop market, Intel is really in trouble. They lost phones, are losing Mac, are slowly losing cloud/data center/HPC, and if they lose PC that's about it.

comment 6y ago · link · parent

All these multi-cloud things by the big clouds are more like ways of putting each big cloud in control of other clouds. They're more a way for them to fight over their center of gravity.

A true multi-cloud solution would be cloud agnostic and independent.

comment 6y ago · link · parent

The boomers inherited the American system of the WWII generation and proceeded to dismantle it, cutting taxes for the super-rich, halting development of infrastructure, erecting a NIMBY "vetocracy" that slowed home construction and caused housing prices to skyrocket, and offshoring productive work and replacing it with financial shell games and dead-end service jobs.

GenX had the benefit of starting their careers toward the tail end of the wave of prosperity the WWII generation created and were therefore able to get established before the shit hit the fan in 2008.

Millennials were born once the ship had already sailed.

comment 6y ago · link · parent

Aren't GPUs a bit like your example but not quite as extreme?

The CPU you describe would be great for embarrassingly parallel simulation, machine learning, and similar tasks. I wish there was such a thing.

Another thought that I’ve had for a while is that Intel’s Itanium was maybe a good idea badly executed or before it’s time. If you really could offload a lot of that to the compiler you could in theory maintain a lot of single thread performance while having far more cores.

comment 6y ago · link · parent

I find the network and addressing model to be the worst designed and least interesting part of Urbit. That's the part that reflects Yarvin's political ideology, but I also think neoreaction is political flat Eartherism. Pretty much all of neoreaction boils down to refusing to account for survivorship bias. The average old thing looks better than the average new thing because crappy old things were forgotten.

The interesting parts are the functional programming approach used, which is somewhat novel or at least novel in its execution.

Another reply compared it to DNS, which is valid, but DNS does not have artificial limitations like Urbit does. DNS is also in many ways a bad design, not because it's inefficient but precisely because it encourages a feudal model that artificially constrains what the Internet could do. DNS was maybe the only viable model back when the largest machines online came with a whopping few megabytes of RAM, but some kind of distributed replication approach could be done today.

comment 6y ago · link · parent

Yes but AFAIK he is no longer with them.

In any case look at it for its technical merit not the politics of its founder. If you're going to eschew any tech founded by someone with... shall we say "interesting" views... then your tech stack will get pretty small.

I think Urbit is interesting, but I find it too weird and rigid and idealistic and far from the metal to see wide adoption.

comment 6y ago · link · parent

Clock speeds became similar by the 90s at least since things like instructions per clock and instruction level parallelism can make lower clock speed chips faster than “faster” chips on most code.

comment 6y ago · link · parent

You realize you can install Parallels on a Mac and create multiple Mac VMs, right? So just run the base OS on the hardware and never screw with it and run test/build VMs on it.

comment 6y ago · link · parent

If you need to run a Mac in some kind of server role in a secure DC that has a list of certifications, this AWS product may be for you. You are also very niche.

comment 6y ago · link · parent

Depends very much on how many of those you have. We have one AMD Threadripper box and one Mini for builds and some other various machines for testing, and we've had to screw with one of them maybe once a year.

Modern machines are less finicky than older hardware. Spinning disk is almost dead, and if you avoid it you've eliminated most of your moving parts that fail often. Fans are the only other thing. Solid state hardware can hum away for years and years.

This is for small scale of course. If you try to run a larger scale DC it gets to be a pain since even with rare failures they will now happen often if you have tens or hundreds of machines. I wouldn't try to run a DC these days unless there was a compelling reason or a huge cost saving.

comment 6y ago · link · parent

This is true for just about any architecture. It's usually a lot cheaper to buy your own machine and put it in a closet if you need it doing work most or all of the time.

The only time that doesn't make sense is if it's customer-facing and needs better than 99.9% uptime or needs a lot of bandwidth, as those things are better done from a data center.

comment 6y ago · link · parent

I think of it this way:

- Every system will be gamed, no exceptions.

- It is impossible for the architects of any system to imagine all the ways it will be gamed.

That's why it's not possible to create fixed laws that are just. Inevitably someone will find a hack that turns the intent of the law around while remaining true to its letter.

This seems to be what dooms both pure libertarian capitalist schemes and pure socialist command economy schemes. In the former case there is not enough structure to contain exploits and no recourse when someone finds a good scam. In the latter case it's impossible for central planners to imagine the results of their plans when they are exposed to opportunistic economic agents. The fatal flaw in both ideologies is their dogmatism. It causes them to fail to adapt when flaws and exploits in the rule system are inevitably found.

comment 6y ago · link · parent

You touched on the core problem with cryptocurrency, and it is not a technology problem.

The problem is that cryptocurrency and the community around it is absolutely crawling with scams to the point that it's hard to find things that are not scams. Bad drives out good. Even if the tech works perfectly and can be made to scale, if the ecosystem is full of scams it will never be used for anything but scams and black/grey market applications. Anyone not looking to scam will run away.

Contrast with the stock market. There are scams, sure, but the majority of stocks are not scams. If you bought stocks at random you have at least >50% odds of buying stock in a real and honest business of some kind. If you participate in cryptocurrency stuff at random I'd say you have a >90% chance of being scammed... probably closer to 99%.

All the ad-hoc regulations and institutions around conventional finance are the outcome of a multiple century long Red Queen's race between productive economic activity and noise. Noise includes scams, frauds, bubbles, and other forms of undesirable action or emergent behaviors in markets that get in the way of productive economic activity. That hodge-podge of adaptations is almost certainly sub-optimal, but you're not going to do better by just ignoring the problem domain and offloading everything onto individual market participants. That means every market participant has to operate their own SEC and investigative journalist outfit to have any chance of not being scammed. Not going to happen.

A recurrent fallacy of techno-libertarians and techno-utopians is to vastly underestimate human avarice and opportunism. The people designing these systems are usually fairly honest, so they have a hard time imagining what sociopaths and con artists will do with the things they create. If you create anything that offers even the tiniest chance at making money or obtaining some form of status or power, it will be DDOSed with fraud and con artistry of every kind.

Edit: I am not totally bearish on this stuff and I see valid uses for it, but I don't think it's as broadly world changing as its evangelists do.

comment 6y ago · link · parent

Why do you need NAT to have caching or traffic control?

comment 6y ago · link · parent

Just run ZeroTier on the Mini and join it to your network. That's what we do. Of course we are ZeroTier so this is how we roll. Anything with an Internet connection is in "the cloud." We just donate all its spare cycles to Boinc. :)

Pay by the second would perhaps be preferable but unless I am reading this wrong you have to pay by the hour and it's relatively expensive.

1
281282283
596