Better HN
topnewbestaskshowjobs
Log inSign up

api

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

You can't write your GUI in those languages.

comment 6y ago · link · parent

There's a fairly substantial overlap between the people who completely drank the cryptocurrency kool-aid and the people who got sucked into so-called "alt-right" and associated fellow-traveling stuff ("red pill," NRx, etc.) around the same time period. Seems like there were some incredibly virulent meme plagues that afflicted the high-IQ-but-gullible crowd in the middle part of this decade.

Cryptocurrency has done a lot of damage to the tech world due mostly to the sheer amount of brainpower it's sucked up that might otherwise have been used for more useful stuff. It's been kind of a tar pit where you have vast resources chasing things that have no actual real world value. It sort of reminds me of that Star Trek TNG episode where they try to kill off the Borg collective by giving them an impossible geometric shape to ponder endlessly.

comment 6y ago · link · parent

The weird language is the big turn-off for me, not the license. This is also a turn-off for Flutter and Lazarus.

WHY do these projects insist on doing this? What is it about UI that leads people to think this is a good idea? Do not make me learn yet another language just to use your UI library.

It's not that FreePascal or Dart are bad languages. It's that they're another language to consume yet more precious attention and head space, and there's nothing compelling enough about them vs. C++, Rust, Go, Python, JS/TypeScript, etc. to make it worthwhile.

comment 6y ago · link · parent

So that means only 25% of your users will still have IE since they never upgrade? Then you have corporate environments where IT held back Edge because internal business software requires IE. (Yes that is still a thing. Yes you can install them both. Yes, IT will still do that.) Then you have systems where some badly written installer broke the native web view but the user isn't noticing because they only use Chrome.

This is Windows after all.

comment 6y ago · link · parent

That's sane. Sanity is prohibited in the realm of UI programming. There's apparently a law somewhere that states that all GUI libraries and APIs must be one of: platform-specific, bloated/slow, or incomplete/ugly.

9636.

NeutralinoJS: Lightweight Electron alternative using native browser controls(neutralino.js.org ↗)

347 points · by api · 6y ago · 190 comments

comment 6y ago · link · parent

Nor can it beat the resource efficiency and unified platform look and feel that would be offered if platforms supported some kind of common GUI API...

Honestly I'm not a fan of any of the things you mentioned because they're so fat. They insist on making you build the UI within this humungous runtime that also usually forces you to use specific languages and tooling. These also (with the partial exception of React Native) do all their own rendering, so the user's machine now had to run a million parallel rendering engines.

GUI programming in 2020 is a fucking disaster.

comment 6y ago · link · parent

Blame desktop OS vendors for insisting on parallel universes instead of getting together and coming up with a standard API. We have standard APIs for everything but UIs it seems.

Even huge companies find it prohibitive to develop an app two or three times. For smaller companies and indie vendors its unthinkable.

comment 6y ago · link · parent

React itself has a few rough edges but the functional render path design is just how UIs should be done, period.

Never tried Vue. Is it similar?

comment 6y ago · link · parent

IPv4 address space is too small, exhibit #34138408340314.

comment 6y ago · link · parent

It's MacOS, or at least I know MacOS does that.

One solution would be to run a local DNS service like Cloudflare DNS-over-HTTPS proxy and then enter ::1 (IPv6 loopback) as your DNS. I bet that would work, but I haven't tried it. It also improves privacy and security on untrusted networks. Not sure how it handles the captive portal problem though. Maybe Cloudflare's service has a shim for that.

MacOS used to do the simple thing, but at some point in a recent release they started being "smart" and added this annoying restriction.

comment 6y ago · link · parent

How hard would it be to re-use a lot of the ALU, MMU, and other components from the Apple A line of ARM64 chips with a different decoder and pipeline? Pretty much all modern chips "emulate" their instruction set anyway with the real core being a proprietary uop machine.

comment 6y ago · link · parent

The desire to be noncomformant or know secrets is a desire for a small social in group that is relatable vs belonging to the alienating mass. This is basically why cults exist. The motive is fundamentally social. Search for Dunbar's number, the maximum "social horizon" size for most humans.

comment 6y ago · link · parent

This is one of the more worrisome patent trolls. AFAIK it could apply to WebRTC, anything P2P, perhaps also Wireguard and other modern VPNs, VoIP, pretty much anything that makes a secure link on demand.

Anyone familiar with the current state of these patents?

comment 6y ago · link · parent

The key to understanding these and many other flagrantly irrational "beliefs" is that these things are believed for social or political reasons not simply rational ones.

There is an interview floating around with a flat Earth dude saying exactly this: that even if he were convinced the Earth were round he would stick with it because they have a community.

Humans are not rational robots. We are hyper-social emotional beings. The classical wire monkey experiment shows that primates will prioritize affection over food to the point of near starvation. It's not much of a leap to consider that humans may also prioritize affection over truth to the point of folly.

We see circumstantial evidence of this constantly. Most people would rather be wrong and have friends than right and alone.

If rational ideas look like they are failing, perhaps it's because we have failed to construct positive and lasting communities around them. If anything it's the opposite: the rational worldview is linked culturally to isolating sterile social orders with sterile objectives like GDP maximization or abstract political goals. These may be rational but they are not human.

If the rational can't rationalize community and culture we will continue to see a popular flight from reason.

comment 6y ago · link · parent

This doesn't mention charisma, and the fact that smart hardworking people often lack it.

From what I have observed charisma is by far the number one factor for success. It's more significant than hard work, intelligence/IQ, appearance, or the quality of one's ideas. You can put charisma behind an obviously stupid idea and get quite a bit of traction. It does often fail eventually but the charismatic founder often profits nonetheless and moves on to something else.

Charisma is so powerful that I find it disturbing. I've watched people who really ought to know better become transfixed at the presence of a charismatic person even if the stuff coming out of their mouth is nonsense. I think it works so well because it bypasses the rational mind and speaks directly to the brain stem and says "I am big alpha, follow me and I will get you food and safety" or similar. It speaks to the most ancient parts of the brain.

I don't mean to sound totally negative. Like any power it can be used for both good and evil. It's just that I've mostly observed it being used for evil in today's world.

comment 6y ago · link · parent

Heh... maybe we should be very afraid when a media known for fearmongering tells us to remain calm.

comment 6y ago · link · parent

Block chain and cryptocurrency is another thing that's gone from unhinged hype to heavy skepticism.

comment 6y ago · link · parent

Many large companies push this stuff out for publicity and recruitment. Sometimes employees are encouraged to spend a little bit of their time on it or to brand extracurricular activities with the company name for publicity.

The test for open source is if it keeps getting maintained and supported for years. That only happens when the project is a core business effort, has some direct means of support (e.g. dual licensing or SaaS), or happens to be one of the few genuinely volunteer driven large scale open source projects.

9650.

What is the actual x86 instruction decode overhead?(stackoverflow.com ↗)

2 points · by api · 6y ago · 1 comment

comment 6y ago · link · parent

One huge issue with introducing licensing in software engineering is the fact that there are a great many very competent self taught software engineers. This breaks the conventional model of how licensing works with its close coupling to university degree programs.

The reason you see so many autodidacts is that its one of the few engineering fields where tinkering is both cheap and safe. Civil engineers basically can't tinker beyond maybe building models or using physically realistic simulations, and neither of those is a substitute for really building things at scale. Anyone with a decent computer can tinker endlessly with software with little or no consequence to anyone else when it breaks.

The only other engineering field like this I can think of is electronics, where you also have a lot of autodidacts because components are cheap and unless you are messing with super high voltages it's pretty safe to play around.

There is always a huge pushback against licensing in this field because it would be (accurately I think) seen as a way for universities to erect a mandatory toll booth.

The second huge issue is that we don't have a good theory of good programming practice. There was an attempt to systematize things in the 90s "design patterns" era and all it got us was a ton of monstrous overengineering satirized by the many "hello world, enterprise edition" joke code bases on GitHub. More academic efforts around provable correctness have never managed to cross the practicality gap for widespread adoption.

comment 6y ago · link · parent

How messy is AARCH64 compared to X64? I imagine it's less, but ARM's been around for a while too hasn't it?

comment 6y ago · link · parent

The fact that it would save money may be part of the problem. The massive and very redundant health insurance bureaucracy employs a lot of people.

In the realm of government contracting and large scale policy decisions like this, efficiency is often politically inconvenient since it means jobs may be lost.

comment 6y ago · link · parent

I see containers, at least when used this way, as a consolidation loan for technical debt. They let you consolidate your existing debt load embodied in all your messy uninstallable ball of crap software and then max out your credit again.

One of the issues here is the lost art of writing installable and well-organized software. It's quite normal these days to have services and apps that consist of multiple often redundant services and sub-applications wired haphazardly together with crap strewn all over systems.

comment 6y ago · link · parent

IMHO containerization exists because of this "pattern." It's a way to just take big balls of crap, roll them up along with the entire host OS image, and deploy them as a unit. Problem "solved."

Of course now you have microservice architectures where you're basically creating programs made of containerized services. Any bets on how long it'll take to have containers-of-containers be a thing?

Maybe this could be the "big box of crap" pattern.

comment 6y ago · link · parent

https://www.youtube.com/watch?v=w0ChoHNEgRI
1
321322323
596