HNHacker News
TopNewBestAskShowJobs

riscy

884 karma · joined November 28, 2013

computers were a mistake
submissionscomments
riscy··on macOS 14.4 causes JVM crashes
> macOS on Apple silicon processors (M1, M2, and M3) includes a feature which controls how and when dynamically generated code can be either produced (written) or executed on a per-thread basis. […] With macOS 14.4, when a thread is operating in the write mode, if a memory access to a protected memory region is attempted, macOS will send the signal SIGKILL instead.

This isn’t just any old thread triggering SIGKILL, it’s the JIT thread privileged to write to executable pages that is performing illegal memory accesses. That’s typically a sign of a bug, and allowing a thread with write access to executable pages to continue executing after that is a security risk.

But I know of other language runtimes that take advantage of installing signal handlers for SIGBUS/SIGSEGV to detect when they overflow a page so they can allocate more memory, etc. This saves from having to do an explicit overflow check on every allocation. Those threads aren’t given privilege to write to executable memory, so they’re not seeing this issue…

So this sounds like a narrow design problem the JVM is facing with their JIT thread. This blog doesn’t explain why their JIT thread needs to make illegal memory accesses instead of an explicit check.

riscy··on Functional ownership through fractional uniqueness
Swift recently adopted a region-based approach for safe concurrency that builds on Milano et al’s ideas (shared co-author as well): https://github.com/apple/swift-evolution/blob/main/proposals...
riscy··on SPEC says Intel's compiler used unfair optimizations to boost performance
It’s probably designed to recognize a very specific code pattern in SPEC, so it’s very unlikely to affect any other code. If it wasn’t so hyper targeted to only kick in for those two benchmarks, then there’d be no issue: it’d just be a common (mis)optimization that happens to help SPEC.
riscy··on Apple confirms it's breaking iPhone web apps in the EU on purpose
When did it become illegal to take features away from a products or create derivative products with different features? The “spirit of the law” most certainly is not what you’re imagining.

If they wanted, they could remove the App Store from iOS in EU, or pull the iPhone from the EU market entirely. Apple isn’t required by the DMA to part of a digital market at all.

riscy··on Sam Altman Wants $7T
That 7T to replace future people’s jobs could also go to producing the people to do those jobs. But I guess it’s too hard to make money investing in people.
riscy··on Show HN: ReadToMe (iOS) turns paper books into audio
Why not use Siri / the native TTS solution on iOS?
riscy··on Vision Pro Teardown – Why those fake eyes look so weird
The point is that you have to lock in a source of power while in use. There is no battery in the device and you’re meant to move around while using it! The other end is a special plug that locks yet can spin around so you can move the battery pack or with the regular power cable more freely.

Plain old USB-C cables are simply not suited for this kind of device. That’s why USB-C is only used to charge the battery. Hopefully you’re not too blinded by political agendas to see the engineering that went into this.

riscy··on Vision Pro Teardown – Why those fake eyes look so weird
It’s a power cable that locks on both ends so it doesn’t come loose and cause the device to shut off. Why does a USB-C plug matter, when no one has a locking USB-C cable anyway?
riscy··on ICJ orders Israel to prevent genocide in Gaza, stops short of ordering ceasefire
You can’t just call it “collateral damage” for the sake of avoiding the label of genocide while you’re murdering, starving, and barbarically destroying a society of millions of innocent people.
riscy··on ICJ orders Israel to prevent genocide in Gaza, stops short of ordering ceasefire
> The give away for Genocide is that there are mass graves, which in Gaza there are not.

The rubble of the numerous civilian homes and buildings you've leveled are the mass graves.

riscy··on Mozilla says Apple's new browser rules are 'as painful as possible' for Firefox
This is the fundamental problem with laws.
riscy··on Apple announces changes to iOS, Safari, and the App Store in the European Union
Whether runtime generated or downloaded from the internet, you cannot run instructions directly on the processor without requesting executable virtual pages in memory from the OS. Executable pages are also a major security vulnerability: https://en.wikipedia.org/wiki/JIT_spraying
riscy··on Sam Altman Says AI Using Too Much Energy Will Require Breakthrough Energy Source
In other words, if the people providing the AI demand the same money as the workers it replaces, it doesn't seem like society actually benefits.
riscy··on Ask HN: What is your best flight booking app/site
> Google Flights is usually the best search engine for most people, but don't clickthrough the links to book directly with the airlines.

My usual workflow is to pick the flights on Google Flights and then click the button at the end that takes me to the airline's page to book. What's the downside of that?

riscy··on US developers can offer non-app store purchasing, Apple still collect commission
It's "non-trivial" to switch to driving a 18-wheeler truck, or stick-shift transmission, or that funky wheel thing in Teslas, which don't support the same software that other car infotainment systems do.

You can't force everything to be uniform and support all of the same features to make switching between manufacturers of a product-class "trivial". How's that part of a healthy free market? Requirements to that effect kills all creativity and specialization of products for different purposes. Android and iOS are different and that's a good thing!

riscy··on I'm a Supercommuter. Here's What It's Like
I guess some people figure that if pilots can do it, they can too.
riscy··on US developers can offer non-app store purchasing, Apple still collect commission
That’s amazing. Wish we had an equivalent in the US.
riscy··on US developers can offer non-app store purchasing, Apple still collect commission
That is voting in a modern democracy. You put your eggs into Android, iOS, and/or one of the less popular candidates. Or you don’t get into the mobile space at all.

Just because you don’t like the options doesn’t mean it’s not voting.

riscy··on US developers can offer non-app store purchasing, Apple still collect commission
That 15-30% going to Apple isn’t going to go back to app users. Don’t pretend this is all about developers wanting to give users a discount.
riscy··on US developers can offer non-app store purchasing, Apple still collect commission
Apple provides the OS and SDKs developers need to make their app function at all.

Users do not care how much it costs a developer. They want it to be easy to see and cancel subscriptions all in one place. The web’s myriad of payment systems is the opposite of a good user experience, meant to only fatten the pockets of developers by making it difficult to cancel.

riscy··on US developers can offer non-app store purchasing, Apple still collect commission
It’s 15% for the commoners (<$1M) and I’d believe that in feudal times.
riscy··on US developers can offer non-app store purchasing, Apple still collect commission
I agree it’s lossy in some way. Most of the popular apps with purchases are tied to a login, so there’s a step of logging in again but the app is free to download.

Everything else you mention is part of the nature of changing operating systems: software incompatibility / unavailability. That never has and unfortunately never will be solved. It’s hard enough to keep old software working on new releases of the same OS.

riscy··on US developers can offer non-app store purchasing, Apple still collect commission
Don’t develop for iOS.
riscy··on US developers can offer non-app store purchasing, Apple still collect commission
Apple allowing alternate payment methods with a fee discount in the US, as Google does in other countries, is a wrongdoing?

Consumers don’t care about the fees developers pay.

riscy··on US developers can offer non-app store purchasing, Apple still collect commission
I really don’t think it’s about side-loading, principles of freedom, the spirit of hacking, etc. HN’s full of indie app developers trying to make money. They know iOS users more often pay for things so it’s their target audience.

I doubt existence of F-Droid is even a drop in the bucket of fee savings for those developers on Android. Otherwise, Google would do something about it to get their cut.

riscy··on US developers can offer non-app store purchasing, Apple still collect commission
The trillion-dollar Amazon is also the mafia of online shopping. No reason to give them any sympathy.
riscy··on US developers can offer non-app store purchasing, Apple still collect commission
Does there exist a payment processor that takes zero cut?
riscy··on US developers can offer non-app store purchasing, Apple still collect commission
Google gets mild-mannered, disappointed commenters sighing about how they've messed up search, the web, and has no product/customer support. When Apple comes up, people get on their soap boxes with expletives about how society and the world is fundamentally being ruined. The tone just isn't comparable at all.
riscy··on US developers can offer non-app store purchasing, Apple still collect commission
I've yet to see an HN hate thread about the trillion dollar company Google and its Play Store, with the same fees, stealing 30% from an even broader part of society.
riscy··on US developers can offer non-app store purchasing, Apple still collect commission
No it's not. Did you even read it? There's a big button that says "Read the guide" that keeps you on the page and tells you what to do. The FAQ even links to this: https://support.google.com/android/answer/6193424?visit_id=6...
← PreviousPage 2 of 8Next →