HN user

dmitshur

3,726 karma

I pursue insight, then make things simpler and better. I enjoy writing correct, high-quality Go code. Minimalist.

https://dmitri.shuralyov.com/about

Posts11
Comments162
View on HN

Interesting that its HDMI is 2.0 and not 2.1. Hopefully it's still possible (for those that really want) to connect modern 4K TVs at 120 hz via the DisplayPort 1.4 output.

[...] the only reason to use gamma encoding for digital images is because it allows us to store images more efficiently on a limited bit-length [...]

It's interesting how this part of the trade-off changes when using float16 for color components (as is common when HDR is involved) rather uint8.

Good timing that Safari 27 adds support for srgb-linear and display-p3-linear color spaces.

I'm using it ocassionally - whenever I have time to do further WebXR development beyond what I've already done, and when an interesting new immersive video or 3D movie becomes available on it. I'll sometimes use it to relax and catch up on any new VR180 videos on youtube.

For other work or entertainment that doesn't take advantage of its spatial features, I tend to revert to using a computer with an external display. The display in the Vision Pro cannot quite match the resolution and HDR headroom of the external display I ended up having (a Pro Display XDR). Maybe if it didn't get outclassed by my external display when displaying 2D content, I'd have additional motivation to use it more often.

  > It’s my website: I can do what I want with it.
  >
  > And you can do what you want with yours!
This part in particular stood out to me, and I liked it very much.

I am at Google, but that's probably not relevant since the reason I was curious about this is that my personal website currently implements a git server over HTTPS[1], and git's CLI/API for that is not the friendliest[2]. It sounds like jj hasn't reached the point of tackling this problem space yet, which is okay. Thanks for confirming I wasn't missing out on something.

[1] https://pkg.go.dev/github.com/shurcooL/home/internal/code#Ne...

[2] https://pkg.go.dev/github.com/shurcooL/home/cmd/githook/pre-...

I’ve noticed something like this while playing the game Hollow Knight: Silksong. Most of the time when I was trying to beat a difficult boss, I wasn’t trying to beat it while it’s hard and would take a lot of effort. Instead I was working on making beating the boss easy (which was hard). So typically by the time I would beat a boss, it did feel like comparatively little effort was being expended.

Life After Work 9 months ago

A difference there is no one's claiming the machines in the factories are going to reach AGI levels of intelligence within some years.

Life After Work 9 months ago

Now consider humanity after full automation. Instead of millions of migrant workers, humanity will have trillions of digital laborers at its disposal.

One piece in the logic I don't get is this: why would (or should) the earnings done by those workers go into the pockets of humanity, who isn't doing the work, rather than into the pockets of the laborers, whether digital or not?

Apple M5 chip 9 months ago

It’ll be interesting to see how quickly this chip becomes available in the MacBook Air and Mac mini. So far those still have the previous M4 only.

If it doesn’t happen later this week, how long would the wait be? A few months? More?

Glad to see that unlike last time with the M4 release, this time they released M5 in more devices than just the iPad Pro at the same time. That said, there’s still room for improvement: the MacBook Air and Mac mini weren’t updated yet.

A random recent example off the top of my head: view photos in AVIF format. It does work in Photos app, but not in Preview app nor in Messages app somehow. At least this the case on iOS 26 and so I suspect iPadOS 26 too. It works on macOS 26.

Edit: I realize that ordinary people might not yet care about exporting to AVIF, but they may receive such photos from other people.

Apple M5 chip 9 months ago

The claimed 1.6x increase in video game frame rate compared to M4 seems pretty good. Looking forward to seeing it tested out in practice.

It's a very nicely crafted article. It was quite jarring to see a box containing the following text:

If you open this on a computer instead, you will have a chance to play with some emulators!

Instead of what? I was under the impression that the device I was on is a computer.

Edit: I was curious to understand what caused the site to show that box. From looking at the source and some interacting in the console, it seems to have been due to the 'isiOS' variable having the value 'true'. It was true despite the device not running iOS because '(navigator.maxTouchPoints && navigator.maxTouchPoints > 2)' was truthy, and window.MSStream wasn't. This device, a Surface Pro X, or more precisely the Chrome 139 browser running on it, reports 10 max touch points and doesn't have MSStream defined, and that appears to have been enough for it to be mistaken as a not-a-computer.

By now, after refreshing, I see an extra sentence 'Hey, site, you got it wrong. This is a real computer!' Perhaps the author saw this comment and added it quite quicky? If so, thank you!

To demonstrate some contrast (heh) with another data point from someone closer to the other extreme, I’ve owned a very HDR-capable monitor (the Apple Pro Display XDR) since 2020, so that’s 5 years now. Content that takes full advantage of it is still rare, but it’s getting better slowly over time.

Coincidentally, I noticed my blog’s first post¹ is from September 24, 2009, so yesterday it became exactly 15 years old.

I have taken great care to preserve all of the posts on my personal website, but unfortunately I don’t write new posts very often lately. I wonder if that’ll change.

[1] https://dmitri.shuralyov.com/blog/1