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

From what I've seen monetization is usually associated with a sharp drop in content quality, at least for open platforms.

The platform usually assumes that monetization will cause market forces to drive the production of quality content. What usually ends up happening is that it drives the production of addictive content. That means repetitive, catchy, click bait, sensationalism, hate/fear porn, and trolling.

The very worst sorts of content are what drives engagement.

YouTube is the best example. It used to contain a good amount of quality content. Then they threw the monetization switch. There is still good content, but it's diamonds buried in an increasingly vast pile of shit.

comment 6y ago · link · parent

That's not a misspent youth. Most of the misspent youths I've seen involve some combination of rails of methamphetamine, injectable opiates, or jail.

comment 6y ago · link · parent

The 2020 Air has a version of these too. My guess is Intel is bending over backward to keep Apple.

comment 6y ago · link · parent

Recent versions have Windows and Mac.

comment 6y ago · link · parent

Ahh I see the difference... total forgery capability vs. forgery capability only with the same nonce (which can be detected).

comment 6y ago · link · parent

Doesn't ChaChaPoly have a similar sudden death property on nonce reuse? If I reuse a nonce, I can know the Poly1305 key which then allows me to forge endless messages with the same nonce, right?

If the implementation doesn't detect this somehow, I can inject traffic forever, right?

comment 6y ago · link · parent

It's asinine for factories to be kept closed while big box stores are open. I know some people who work in the latter and they've had customers refusing to wear masks, spitting on employees (cops called), etc. Factories have the ability to strictly regulate distancing and mask use and are heavily monitored places, so they are much safer.

9278.

Ask HN: Anyone used newer (2019-2020) Xamarin.Forms for cross platform desktop?

5 points · by api · 6y ago · 4 comments

comment 6y ago · link · parent

VSCode is by far the best Electron app... I mean by miles. It occupies a niche though where people tolerate and even want peculiar user interfaces that are highly optimized for their specific job-- in this case being a code editor and IDE. Electron and other HTML based UIs suck for more normal sorts of apps. They're bloated and look alien and clunky.

comment 6y ago · link · parent

That kind of software is not fun or sexy, so people have to be paid to write it. Same goes for accounting where there are few open source solutions. Boring as hell, and profitable.

comment 6y ago · link · parent

Read more. It doesn't, though it may be less frequent under OpenJDK (hard to tell as its random). Disabling newer GCs, SSE, and AVX has no effect either.

My favorite is that nothing else triggers it. Just this app. So, so bizarre. I am wondering about some mega obscure Intel errata, some specific pattern of highly improbable opcodes combined with some pattern of multithreaded memory operations...

My money is still on video though.

I too await the postmortem.

comment 6y ago · link · parent

By crash I don't mean can't use the machine. I mean hard total lock requiring holding down the power button and no dump is even generated.

comment 6y ago · link · parent

I've seen that too. I highly doubt it in this case. It's 100% specific to this app and I have done a lot of other heavy things.

comment 6y ago · link · parent

It'd be an extremely esoteric one if these products crash it and literally nothing else does including:

- Hours of CPU and RAM burn

- Multiple concurrent VMs running different OSes (Windows 10 and Linux).

- "make -j8" on a large C++ code base

- Visual Studio Code and other large Electron apps that also run under a JIT.

- I ran a 3D graphics demo to stress test the GPU, no issues.

Zero crashes of any kind, then I launch a Jetbrains app and boom at a frequency of about once per hour of app use. Sometimes the app just crashes, sometimes the whole machine crashes and does so very "hard."

The simplest explanation is an Apple bug being triggered by a Jetbrains runtime or JVM bug, or if not an outright bug something really odd and out of the ordinary that this software is doing via some OS API. Given that it only happens on this machine my bet would be on something video or screen related as the GPU differs slightly from other Mac laptops and that's a common place for bugs to hide.

comment 6y ago · link · parent

(Bug report mentions PHPstorm but it manifests on CLion, GoLand, and others.)

This is clearly an Apple bug as well as possibly a bug in Jetbrains' UI or other native libraries or maybe upstream in the JVM. It's an Apple bug because it can bring down the whole system, sometimes with an absolute hardest possible crash that generates no debug logs! Sometimes it also just crashes the JVM. Sometimes it's a softer crash with logs and sometimes a hard crash with no logs. Logs show crashes happening at random different places in the code.

Absolutely nothing else does this, including heavy stuff like running two Parallels VMs at once (Windows 10 and Linux) and running heavy multithreaded compiles. Also ran a RAM and CPU burn-in test. It's not a hardware problem. Many others are reporting it too.

Given that the new 13" Pro is a slightly larger version of what seems to be the same machine (10th gen Intel core, etc.) I would speculate that it will probably show the same weird problem. (The 2020 Air is a "2020 13" Pro, No Touch Bar Edition.")

People using Jetbrains products on earlier or different MacBook models have no issues. This includes the 2019 Air.

Posting here to attempt to get Apple's attention. Drawing attention on social media is the new way to get tech support focused on an issue -- "blue checkmark service" as it's called on Twitter.

Edit: I bet there is a security vulnerability here given that it brings down the whole OS. Any security researchers in the audience? The 2020 Air has a new 10th generation Intel chip and a new version of Intel integrated GPU graphics, so my money is on drivers or kernel support for one of those. (Runs off to disable WebGL and WebGPU...)

9286.

Jetbrains products all crash on the 2020 MacBook Air, sometimes crashing the OS(youtrack.jetbrains.com ↗)

68 points · by api · 6y ago · 21 comments

comment 6y ago · link · parent

I love Go for this reason. It minimizes it's own cognitive load, freeing the mind to spend more time thinking about being clever solving the problem rather than being clever with the language.

I also adore goroutines and miss them in any other language. They are really fibers and let you do light concurrency without fiddling with async constructions. Async programming is just an ad hoc way of implementing fibers, and it imposes more cognitive load because now you have two different approaches to every problem in the same language (one async, one not).

IMHO minimizing language-imposed cognitive load should be a core goal of any programming language. Human brains are finite, and programmers should spend the majority of their mental energy thinking about the problem being solved not the language.

comment 6y ago · link · parent

I hope I'm just being cynical, but I base my attitude on the general trend in the industry at least in any realm related to either cloud or mobile. Everything is about herding people into some kind of closed silo and then locking the door, or on the consumer front about invading peoples' privacy in new and creative ways.

I do agree in principle that it's harder to pull off this kind of lock-in with knowledgeable customers of the sort that deploy things on AWS.

comment 6y ago · link · parent

Next up: lots of proprietary extensions to drive vendor lock-in to AWS at the binary code level, then much lower pricing for instances that use these features to herd customers into them.

It's built right into the name of the product: graviton.

Prediction: today everyone will dismiss this as paranoid nonsense, impossible, or irrelevant. In 2-3 years everyone will be whining about how hard it is to migrate off AWS due to binary lock-in and the need to re-deploy packages. In 5-7 years people locked into AWS will be whining about how they pay 2-4X as much for cloud services but are unable to move due to deeply entrenched deployments and applications specifically written to take advantage of AWS CPU extensions.

This is the same sequence that has occurred for most other "paranoid" predictions about lock-in or privacy violation over the previous 10+ years. They're always initially dismissed as absurd or paranoid and then what ends up happening is usually considerably worse than what was predicted. Example: mobile and web surveillance today makes the predictions of meth-addled 1990s conspiracy freaks sound overly conservative.

comment 6y ago · link · parent

> Some shipped with schematics and ROM listings.

They were more open than an iPhone, but they were not particularly open to anyone with less than a CE/EE level of computer and electronics expertise. They certainly were not designed to be modular and open like the clone PCs that came later.

comment 6y ago · link · parent

It's a problem on the whole ARM architecture and is one reason that ARM servers have not taken off. Every ARM board and chip is a special snowflake with its own weird boot and driver and hardware setup incantations. There's a bit of de-facto standardization but it's rough and not dependable at all.

comment 6y ago · link · parent

I've come to the view that local zoning should be abolished. We should have standardized zoning at at least the state level patterned after Japan. Local zoning is nothing more than a property owners' cartel that restricts supply to extract rent.

Critics will see this as un-democratic when in reality it's much more democratic. Most local zoning is controlled by tiny opaque cabals of land owners who use all kinds of tactics to prevent participation by anyone beyond other sympathetic land owners with a vested interest in raising prices.

These cartels have sat around while an entire generation has been ruined by their practices. It's time to take their little fiefdoms away.

comment 6y ago · link · parent

I've argued that so far we've been in an era with smart phones that resembles early name brand closed PCs like the Commodore 64, Apple II, TI/99, etc.

We may be about to enter an era more reminiscent of the PC clone era, which was more boring from an aesthetic point of view but far more exciting in terms of innovation and opportunity.

New platforms usually start closed and then open over time.

I think a similar transformation is slowly building in the cloud space, but it's very quiet and nowhere near critical mass. I'd keep an eye on cheap bare metal hosts like packet.net and OVH, things that make it really easy to self-host and self-manage K8S clusters, and truly RAIN (redundant array of inexpensive nodes) ready databases like CockroachDB. Pretty soon you'll be able to combine those things and host at roughly 1/10th the cost of AWS or less, with absolutely zero lock-in. At the very least it will kick off a price war in conventional cloud.

Alternately if Starlink brings much faster connectivity to the edge while simultaneously kicking terrestrial broadband in the butt to offer competitive offerings, we could see a move of some hosting back to the edge where 99.9%+ uptime is not really needed. That could include batch processing, model training, analytics, and other stuff that doesn't directly power real-time customer API or UI interactions.

comment 6y ago · link · parent

Yeah, but wait an hour and its going to be all over social media as an actual Bill Gates quote.

I'm starting to think satire is irresponsible. People are too gullible for it and will actually believe it at face value.

comment 6y ago · link · parent

https://www.mnn.com/earth-matters/animals/blogs/are-there-re...

Not saying that's bad. It's just funny.

comment 6y ago · link · parent

I don't expect those popular areas to get cheap, but I'm speaking of the historic RE bull run that began in 2000 that saw the rate of increase vastly outstripping core inflation and wages. That was clearly a bubble, and RE is still ridiculously high as a multiple of median wages in many "hot" markets. LA, SF, Seattle, etc. are almost totally unaffordable to anyone below 1-2 standard deviations above the median income, which is crazy. SF Bay is by far the craziest at least among major cities, though I suspect there may be crazier small "boutique" markets around.

Bubbles are basically naturally occurring Ponzi schemes. They are not driven by fundamentals.

comment 6y ago · link · parent

Careful. It could go a lot lower. Millions and millions of boomers will be unloading homes too over the next few years.

RE has been in a bull market since around 2000. That bull run may be ending. It's even possible that the true bubble ended in 2008-2010 and what we have seen since then is a large bear rally a.k.a. "double top." RE is a very slow market where things that could happen in days or months in stocks take years.

comment 6y ago · link · parent

Makes me wonder if companies flipping homes and other fast high tech financial types getting into RE will actually lower prices in the long run. Part of the thing keeping prices high is that people see RE as a no brainer safe asset where they can just dump money. A faster market would end that perception.

comment 6y ago · link · parent

Its heartening to me to see this here, and to see people understanding that science and scientism are not the same thing. Scientism is actually anti-scientific. Science is a practice and a process, not a cult idol or a dogma.

I think a lot of people have promoted scientism in an attempt to fight low superstition and other obvious bullshit, but I think that's a devil's bargain. You may get some superficial acceptance of "science" that looks like progress, but you are not actually teaching rational thought. You are just getting people to misuse science by placing in the same role as any other superstitious idol.

I also think it in part is responsible for the huge resurgence of "scientific" racism. That stuff looks like science and sometimes even is, albeit of a cherry picked and spun nature and interpreted in a way that is devoid of deeper philosophical consideration. To really refute it requires both a deep study of the real science and of topics like ethics, morality, history, epistemology, and language. It's hard for that kind of discourse to compete with a few graphs and color coded maps and memes that all say "science."

You also have things like "Plandemic" that I am personally seeing catch on among some who have a cargo cultish belief in "science" but no understanding of what it actually is nor desire to really learn. Those videos and memes also toot the dog whistles and pay homage to the shibboleths of scientism, but they are maybe even further from actual science than race/IQ dogma.

Cultish idolatry of any form biases the audience toward short simple catchy messages that pay homage to the idol and toot the right dog whistles. Longer form discourse loses, especially if it even tiptoes anywhere near questioning the idol or the cult. Even if an idolatrous cult starts from ideas and premises that are somewhat rational it will drift into lunacy over time.

comment 6y ago · link · parent

There is actually a name for it: "the resource curse." You can even see it inside the USA by looking at the corruption and poverty in those states that have an economy based mostly on some kind of resource extraction. Oligarchs sit at the top and enrich themselves with the cooperation of bought politicians and other officials, and things like education or any attempt to diversify the economy are neglected as there is (to the oligarchs) no need. The money is flowing so who cares if the schools suck, the water is contaminated, and the people are all dying of opiate overdoses...
1
309310311
596