@tojiro@mastodon.social
@tojiro@mastodon.social avatar

tojiro

@tojiro@mastodon.social

WebGPU/WebXR dev @ Google
"The downfall of modern civilization." - Joystiq

This profile is from a federated server and may be incomplete. Browse more on the original instance.

tojiro, to random
@tojiro@mastodon.social avatar

Every once in a while my kids pull my long-dead Motorola Droid X out of their toy chest and I laugh about how at the time I bought the phone it was considered just an absurdly large device.

The Droid X looking positively puny next to a Pixel 4 XL

tojiro, to random
@tojiro@mastodon.social avatar

I apologize in advance, but I had to get this dumb thing out of my head:

mcc, to random
@mcc@mastodon.social avatar

In my opinion you should watch the movie "Thief" https://mastodon.social/@onelson/112577141681889266

tojiro,
@tojiro@mastodon.social avatar

@mcc The game was absolutely brilliant, though I feel like it would really show it's age if you went back and played it today.

But you should at least watch the into cutscene! It's very 90s and goes harder than a 640x480 video has any right to.

https://www.youtube.com/watch?v=ws1hamUjm68

tojiro, to random
@tojiro@mastodon.social avatar
tojiro, to webgpu
@tojiro@mastodon.social avatar

A quick PSA: the async method adapter.requestAdapterInfo() is being replaced with the attribute adapter.info. You can try it now in Chrome Canary!

https://chromiumdash.appspot.com/commit/9e908a7dca56215132ec7afc8962b18f993bbd2d

requestAdapterInfo will stick around in Chrome for a little bit while we monitor usage, but we plan to eventually remove it and leave just adapter.info. From what I hear Firefox and Safari are considering only shipping the adapter.info variant.

Read on for a thread about why!

tojiro,
@tojiro@mastodon.social avatar

Both of these APIs report whatever the browser feels comfortable divulging about your GPU without any additional permissions. For Chrome this is typically the GPU vendor and a broad architectural family (eg: "nvidia" "turing") but not a specific model or driver version. Other browsers may choose to abstract these further or not report anything at all.

tojiro,
@tojiro@mastodon.social avatar

The original intent behind requestAdapterInfo() was to allow a second tier of information, where you could specifically request more details about the GPU (like a model number) and the user would get a permission prompt asking if they were OK with that. This was aimed at things like filing a bug report with a web app dev, where they could ask if you wanted to provide more GPU details to help with their debugging.

tojiro,
@tojiro@mastodon.social avatar

As the various vendors started implementing the API, though, it became apparent that some vendors would never request that permission, and even those that wanted to struggled to find a way to communicate what was being requested to your standard users. So the idea of requesting the second tier of information was dropped.

tojiro,
@tojiro@mastodon.social avatar

With no need to allow for an asynchronous permission prompt, though, the async nature of the call became an unnecessary hassle. And since Safari and Firefox haven't shipped WebGPU yet we felt this was a good opportunity to remove a small bit of developer friction. It means Chrome is going to have to go through a deprecation process, but that's worth it to us to squash a bit of historical API awkwardness.

tojiro,
@tojiro@mastodon.social avatar

One last thing to note: Browsers still have the option to allow users to opt-in to sharing more detailed adapter.info. For example, Chrome will expose more detailed information if you turn on "WebGPU Developer Features" in about:flags.

In any case, sorry if this causes a bit of code churn for anyone, but at the end of the day this will be a little bit easier for everyone!

tojiro,
@tojiro@mastodon.social avatar

@mcc Yes, exactly. And it's now synchronous because there's no reason to keep it async.

tojiro,
@tojiro@mastodon.social avatar

Kudos to my colleague François Beaufort for implementing the API change so quickly after the working group approved the change!

tojiro, to random
@tojiro@mastodon.social avatar

A fun "my first electrical project" that I just wrapped up: Light up, 3D printed "magic wands" for my nieces and nephews at an upcoming family trip. The fun part is that they don't have any buttons or switches to turn them on, they "magically" light up when you point them up!

Remixed from a couple of existing Thingiverse projects, more details here: https://www.thingiverse.com/thing:6650991

Seven completed wands
A partially constructed wand handle. The handle contains two AAA batteries, and at the top is a metal ball tilt switch.

mcc, to random
@mcc@mastodon.social avatar

Since roughly 1998 my go-to site for checking whether my Internet connection is functioning properly has been cnn.com . This worked well for a long time but somewhere around 2012 either CNN or American culture itself started getting kinda weird and now my Internet tests have become harrowing as every time I open CNN there's something on the front page that appears to be a dispatch from an alien planet

tojiro,
@tojiro@mastodon.social avatar

@mcc "It turns out that Yolo Smith, the trillionaire responsible for approx 5% of the global economy, is an outlier and should not have been counted. If we remove his contributions it turns out the economy has been terrible for everyone else a long time. We regret the error."

tojiro, to random
@tojiro@mastodon.social avatar

@BenHouston3D Incoming WebGPU change you'll want to be aware of for web3dsurvey.com! We're replacing adapter.requestAdapterInfo() with adapter.info. https://chromiumdash.appspot.com/commit/9e908a7dca56215132ec7afc8962b18f993bbd2d

tojiro,
@tojiro@mastodon.social avatar

@martinlaxenaire @BenHouston3D It's going to be a breaking change long term. requestAdapterInfo() will continue working in Chrome for a while, but we'll eventually remove it when usage is low enough. Safari will likely only ship with the new .info attribute, and Firefox might do the same.

mcc, to random
@mcc@mastodon.social avatar

Gonna upgrade my laptop to Ubuntu 24.04… expecting that, like everything else I have done on this laptop involving Ubuntu, I am going to regret this

tojiro,
@tojiro@mastodon.social avatar

@mcc Welp, it was either gonna be that or the graphics driver.

tojiro,
@tojiro@mastodon.social avatar

@mcc Ah, yeah. I had a corp Linux box once that I had to exchange because 90% of the time it went to sleep it wouldn't wake up again short of a hard reboot. Good times!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • tacticalgear
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • provamag3
  • ethstaker
  • GTA5RPClips
  • modclub
  • tester
  • Leos
  • osvaldo12
  • cisconetworking
  • everett
  • cubers
  • normalnudes
  • anitta
  • megavids
  • lostlight
  • All magazines