HNHacker News
TopNewBestAskShowJobs

greggman65

89 karma · joined August 29, 2025

submissionscomments
greggman65··on WebGPU and the Price of Compiling WGSL
What makes you think there wouldn't be a translation step? The majority of the world is on DirectX and Metal, so even if it turn in SPIR-V there would be translation step.
greggman65··on Code golfing a tiny demo using maths and a pinch of insanity
If you just want it to work, stick this script on your page

https://github.com/greggman/virtual-webgl

If you want to make your own solution there's one listed here about 1/2 way down the page

https://webglfundamentals.org/webgl/lessons/webgl-multiple-v...

As an aside, WebGPU doesn't have this issue or at least has it less. For one, WebGPU can use a single device to render to multiple canvases, something WebGL can't. Another is that WebGPU is mostly stateless making it easier for both the user and the browser.

greggman65··on Almost anything you give sustained attention to will begin to loop on itself
people are different people at different times in their live as well.

In my mid 20s I saw Casablanca and was not impressed.

In my mid 50s I saw it again and cried until I trembled. The 20 something me didn't get what the 2 main characters were giving up. The 50 something me with life experience of loves lost by choice and circumstance had a very different reaction.

greggman65··on Almost anything you give sustained attention to will begin to loop on itself
I've had other experiences

Saw "Saving Arizona" right after losing my girlfriend. Saw every problem they had as tragic instead of comedy. Didn't like the movie. Some relatively short time later. Saw it again. I was my favorite movie for years after.

greggman65··on Almost anything you give sustained attention to will begin to loop on itself
Your summary of the reception of The Shawshank Redemption doesn't seem to fit the wikipied article you linked to

> Leading up to its release, the film was test screened with the public. These were described as "through the roof", and Glotzer said they were some of the best she had seen

> nominated for several Oscars in early 1995

> It went on to become the top rented film of that year

greggman65··on Action was the best 8-bit programming language
My best friend in high school, John Alvarado, and I, loved the game BoulderDash. John reproduced the algorithm for it in Action!

https://github.com/greggman/rockfall/blob/main/ROCK4.ACT

I've since ported that code multiple times. Once to Gameboy (unshipped, it was just for learning when I was hired to make a gameboy game). Once to C. Once to Java for a feature phone software interview. A couple of years ago to JavaScript

https://greggman.github.io/rockfall/

greggman65··on A look at XSLT 3.0 (2017)
Agreed. I tried XSLT once. I made an XSLT for RSS. Coding in XSLT really sucked.
greggman65··on John Carmack's arguments against building a custom XR OS at Meta
And yet, Sony did it, Nintendo did it, both have been pretty succeesful.

We also need to be clear what an OS is. Is it "darwin" or "macOS" - they have different scopes.

Things I'd want from an OS for an XR device.

1. Fast boot. I don't want to have to wait 2-3-4-5 minutes to reboot for those times I need to reboot.

I feel like Nintendo figured this out? It updates the OS in the background somehow and reboot is nearly instant.

2. Zero jank. I'm on XR, if the OS janks in any way people will get sick AND perceive the product as sucking. At least I do. iOS is smooth, Androind is jank AF.

Do any of the existing OSes provide this? Sure, maybe take an existing OS an modify it, assuming you can.

greggman65··on Some users have noticed settings that let Meta analyze and retain phone photos
> Why do apps request persistent access to camera roll at all?

Some apps are specifically for backing up all your photos.

> I want to send a picture now by selecting it.

Go to your photos, select a picture, pick send to app, pick the app

greggman65··on Some users have noticed settings that let Meta analyze and retain phone photos
If you gave them permisison isn't that on you?

iOS you can

(1) Choose no permission - Then, if you want you can go to your photos in the iOS Photos app, select a few, pick "Send to App -> Facebook" when you want to give Facebook a few photos

(2) Copy and Paste photos

(3) Choose "only selected photos" - In this case, in the Facebook app, you choose to add photos, the photos you previously gave the app permission to view appear and there's a button "Select more Photos". You can pick that and select more. I use this option peronsally

(4) Choose "all photos" - I give this permission to Google Photos since I use Google Photos to make all my photos visible across all devices.

If you choose 4, that just seems on you. You told them they could access all the photos.

← PreviousPage 2 of 2