HN user

mcdonje

1,638 karma
Posts4
Comments671
View on HN

I wish PWAs took off, or a "desktop" environment for phones and tablets that allows me to save a simple website shortcut as an app.

I want my phone to be the portal to the places I want to go to and the things I want to see. I want to have the same experience going to a web app or website I regularly visit as with a normal app.

Like, I want to click on an icon and be there. I don't want to click on the browser and then find the tab.

Also, I want PWAs and website shortcuts to be first class citizens. I want a normal icon, not one that has some sort of visual marker that it's not a normal app.

It's been an ongoing annoyance, but it's getting to be more commonplace of an issue because there are a lot of people building cool things on atproto, and they generally start as a web app before they maybe build a phone app.

To whatever degree this site isn't a cesspool, we owe it to Dang, not the bad word police. They didn't swear at you, so there's no reason to get bent out of shape about it.

It's ironic you're taking this stance on an article about a respectable family that literally kept a slave.

There's a difference between superficial trappings of respectability, and actually treating people with respect.

I read Don Quixote and thought it might be fun to visit some parts of Spain mentioned in the books. Then after looking at some maps and seeing a stark lack of trees, I decided I wouldn't enjoy the trip.

US companies outsourcing all of their manufacturing to countries with cheaper labor and laxer environmental & labor laws led to this. What did those titans of industry think would happen down the road? "I'll be retired." Corporations have way too much power in the US, and that has considerably weakened it.

Quote the entire sentence.

It doesn’t matter that the language you use is memory-safe, if you didn’t design for correctness or have no process that will eventually lead you to fixing all bugs.

It's also worth noting that they linked a post about how memory safety is literally a matter of life and death, so it seems like their point is that memory safety is one class of bug, and a compiler guarantee about it doesn't equate to a guarantee of correct, bugless, unexploitable code.

Like, the linked author brought up that Khashoggi's wife's phone was hacked. Maybe that was due to a memory bug or some other kind of bug. Maybe the next journalist who gets hacked is a victim of a memory bug or some other kind of bug. But that linked post didn't take a holistic view of correctness, but went straight to, "Rust is safe. Rust saves lives." There's a logical error there that's being pointed out.

If you really want to save lives, you need to eliminate exploits. Not just do a victory lap because your compiler ostensibly eliminates one class of them. The compiler doesn't catch all bugs. The compiler isn't the only tool for catching bugs.

That's my reading of it, anyway. I think he has a point, and the Rust people do as well. I think it's wrong to portray him as bitter.

What you're describing seems reasonable, but it doesn't align with what I quoted, unless I'm missing something, which I very well could be.

Having apps sleep and a daemon wake them to handle notifications doesn't require all of the notifications coming from Apple.

The entire architecture here is surprising to me.

an iPhone could not afford to let every installed application maintain its own background poll against a remote server. The proposal...a single persistent TLS connection from each device to Apple, over which any registered third party could deliver alerts.

I thought apps were sending notifications locally in the device. Like, if a messaging app receives a message, there's a network call for that. Then if the messaging app wants to tell the user they received a message, it can just hit a local API for that, right?

Is the pattern actually that the app makes another network call to the notification service to register the notification, which makes another network call to the device to deliver it?

Seems like you're claiming Ukraine's 2014 "Revolution of Dignity" and subsequent democratic elections were something the USA did. That's a controversial claim, and one that ignores the recorded actions and sentiments of the Ukrainian people. It's also unrealistic and gives the US too much credit.

The US does have their hands in pies across the globe, but that was a large scale uprising of Ukrainian people. No outside force can make something like that happen if the people aren't already aligned.

The simpler explanation is the Ukrainian people wanted to be closer to the EU, and didn't like Yanukovych's authoritarian tendencies. I wouldn't be surprised if some propaganda blamed it on the US, but it doesn't make sense. If the US wanted to do regime change and the public wasn't behind it, it would look very different. There are unfortunately many examples.

Whataboutism. Which is funny because it's literally the same problem.

It's somewhat intractable at this point unless or until we can figure out how to structure society in a way that can actually prevent it. Not sure we have the organizational knowledge at this point.

The government used to have better guards in place, but then what happened? They got weakened because of the monied interests already existed were successful at largely capturing the government. Guess what else happened during much the same time period; The government largely stopped breaking up monopolies, and many unions were busted or otherwise weakened or eliminated.

"would"? There is currently a disparity in how rich and poor people are policed.

I get the point that there should be some limited immunity so they can do their jobs. Debatable, but worth the debate.

The argument about the repercussions of eliminating immunity is logical. It just seems like one of those things where there are multiple factors contributing to undesirable outcomes, and that makes it necessary to talk to experts.

Deno 2.8 2 months ago

seL4 is an operating system that uses capabilities

I thought about mentioning nulls, but it's a complicated subject. Not all columns are nullable. Null handling rules differ. It's not always ISO/ANSI.

A bool can be represented by a single bit. A tern(?) takes 2 bits or 1 trit to represent. Alternatively, a bool takes a trit to represent.

So, in terms of radix economy, ternary computing is the most efficient, but you're leaving information density unused if you use it for binary, and representing ternary with binary is inherently inefficient.

In one respect, boolean logic is popular because of bits. If we had ternary processors, ternary logic would be more popular.

In another respect, boolean logic is popular because it's easy to reason about. The truth tables are relatively small in size and quantity. Not the case with ternary.

Ternary is probably way better at modeling the real world, but the complexity could make code hard to understand. Maybe that can be solved.

That said, boolean logic is more expressive than I think the blog post gives it credit for because it's usually only a part of the code. Like, it gets used a lot in SQL, where you're reasoning about with several columns. So, yeah, it's binary thinking on each dimension, but there are N dimensions.

The alternative presented is intuitionist logic, which is practically what in the computing world? Where is it used? Or where could or should it be used? I guess it can be represented in lamba calculus...