@tomayac@toot.cafe
@tomayac@toot.cafe avatar

tomayac

@tomayac@toot.cafe

Developer Relations Engineer at Google, focused on WebAssembly and Project Fugu 🐡. Dad-of-3. Alum of Université de Lyon (Postdoc), Universitat Politècnica de Catalunya (PhD), Karlsruhe Institute of Technology (MA).

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

rgadellaa, to random
@rgadellaa@mastodon.social avatar

Hi @tomayac I think I pinged you about this before (back then you asked for patience, which is 👍).

It's about a bug in Chrome that completely crashes PWAs on Android when you open an external link and then "open in browser" - but there's been no movement on getting it fixed since January ☹️: https://issues.chromium.org/issues/41495930

Could you look into it / pass this on? Thank you!

tomayac,
@tomayac@toot.cafe avatar

@rgadellaa I've pinged our PWA engineering team. I can reproduce the issue, though wouldn't speak of "crash", but just "reload" (which is still unexpected).

tomayac,
@tomayac@toot.cafe avatar

@rgadellaa @ondra It opens the start URL indeed for me, so looses all state. Maybe, just to be sure, try temporarily switching back to the stock launcher, if you now see what we're seeing.

Edent, to academia
@Edent@mastodon.social avatar

Hey #academia friends.

If - and it is a very big if - I wanted to start a PhD in about a year's time, what should I do now to prepare?

I got my MSc a year ago. I haven't started looking at any specific programmes yet.

UK-based tips especially appreciated!

tomayac,
@tomayac@toot.cafe avatar

@Edent Find an advisor who's interested in the field you want to explore. Make sure they're okay with the way you want to work on the PhD (full/half-time, present/hybrid/remote). At the stage of your career, make sure you're clear you're doing it for yourself, and yourself alone—this won't give you a salary bump, neither in your old job if you stay working or arrange for an unpaid educational leave, nor in a new job if you switch. Finally, find areas where you can dig a 1m wide, 100m deep hole.

tomayac,
@tomayac@toot.cafe avatar

@Edent If you decide to work out some sort of agreement with your current employer, see my lesson from my PhD: https://blog.tomayac.com/2021/10/02/14-years-at-google/#the-phd-time-2010-2014. This may or may not affect you mentally: prepare for rejection, and prepare for being the oldest PhD student (by a distance) in the room when you submit to conferences. Oh, in Computer Science submit to conferences; submitting to journals means you won't interact with others in person, and that's the most meaningful, fulfilling part. If you can afford it, do it!

tomayac, (edited ) to random
@tomayac@toot.cafe avatar

New bookmarklet 🔖:

// Name this so it's quick to autocomplete  
// in the URL bar, like "Paywall be gone".  
javascript:(function(){window.open('<https://archive.today/'+encodeURIComponent(window.location.href)>);})();  

Thanks, @paul for documenting how to use bookmarklets on Android Chrome: https://paul.kinlan.me/use-bookmarklets-on-chrome-on-android/.

tomayac,
@tomayac@toot.cafe avatar
simevidas, to random
@simevidas@mastodon.social avatar

Political billboards for the EU election in Germany.

Notice how with blurred vision, the magenta word is harder to read than the white words.

This political party is probably not getting their message across to some people due to the poor accessibility of their billboards.

tomayac,
@tomayac@toot.cafe avatar

@simevidas (No harm done. )

tomayac, to webassembly
@tomayac@toot.cafe avatar

Be sure to check out Deepti Gandluri's and Austin Eng's talk on and enhancements for faster Web AI: https://youtu.be/VYJZGa9m34w?si=_PPuJQJ9Zor5AyID. Running Al inference directly on client machines reduces latency, improves privacy by keeping all data on the client, and saves server costs. To accelerate these workloads, and WebGPU are evolving to incorporate new low-level primitives.

tomayac, to webassembly
@tomayac@toot.cafe avatar

Our talk is finally online 🎉! Thomas Nattestad and I share how Goodnotes ported their award-winning iPad app to the Web thanks to , and SwiftWasm specifically. Next, we give an overview of how is being used by various product teams at Google, including Google Photos, Sheets, Meet, and others. Lastly, I show how C++ image filters from a fictitious iOS and Android app called Delayedgram (🥁) can be ported to the Web and the filter code be shared!

https://youtu.be/c8hZFtl8EuQ?si=xNEU9zn4ycpLA5YV

tomayac, to random
@tomayac@toot.cafe avatar

When to use tabindex="0": https://tetralogical.com/blog/2024/04/04/when-to-use-tabindex-0/. Hint: rarely.

tomayac,
@tomayac@toot.cafe avatar
tomayac, to random
@tomayac@toot.cafe avatar

Just finished the presentation of my History of the Web track paper on "Toward Making Opaque Web Content More Accessible: Accessibility From Adobe Flash to Canvas-Rendered Apps":

📄 Paper: https://goo.gle/opaque-web-content-paper
🖼️ Slides: https://goo.gle/opaque-web-content-slides

tomayac, to random
@tomayac@toot.cafe avatar

ECMAScript proposal: Promise.withResolvers()
https://2ality.com/2024/05/proposal-promise-with-resolvers.html. Great overview of the ideas behind this.

aral, to web
@aral@mastodon.ar.al avatar

Here’s a niche gotcha with the clipboard API’s navigator.clipboard.writeText() method that’s unique to Safari:

If you access a function from a module within your gesture handler (e.g., click handler), you will get a permission error.

The (sadly hacky and not as robust) workaround is to set a global variable from your module instead.

Full gist:

https://codeberg.org/aral/gists/src/branch/main/clipboard-writetext-permission-error-when-using-modules-in-safari.md

tomayac,
@tomayac@toot.cafe avatar

@aral @raymondcamden The best way to get this fixed is to file a WebKit bug: https://bugs.webkit.org/enter_bug.cgi.

jensimmons, to random
@jensimmons@front-end.social avatar

For those of you who make a PWA / Home Screen web app, do you use Fullscreen API inside your web app? Do you need it??

Or as a general web developer, how do you like Fullscreen API?? Do you wish it were different / better?

tomayac,
@tomayac@toot.cafe avatar

@jensimmons I've seen the Fullscreen API feature used for "Zen mode", that is, a view fully focused on one thing, without distractions from other windows of unrelated apps, and even the app UI that's not relevant for the concrete thing.

nikitonsky, to random
@nikitonsky@mastodon.online avatar

New blogpost: Going to the cinema is a data visualization problem

https://tonsky.me/blog/allekinos/

tomayac,
@tomayac@toot.cafe avatar

@kexuyo @nikitonsky That's my question as well. Other than that, with some CSS wizardry (no JS needed) this could be made work super well on mobile, too.

Edent, to random
@Edent@mastodon.social avatar

Grrrr. Google Slides doesn't support WebP.

Why, yes, my #EMFcamp talk prep is proceeding nicely, thanks!

tomayac, (edited )
@tomayac@toot.cafe avatar

@Edent Wait until you try to paste an SVG 😂.

jensimmons, (edited ) to random
@jensimmons@front-end.social avatar

Safari 17.5 is out today! With
text-wrap: balance and text-wrap: stable
light-dark()
@​starting-style
@​import &lt;url&gt; supports(&lt;feature&gt;);
• AV1 for WebCodecs
• WebGL EXT_conservative_depth and NV_shader_noperspective_interpolation
and more!

https://webkit.org/blog/15383/webkit-features-in-safari-17-5/

tomayac,
@tomayac@toot.cafe avatar

@jensimmons For "WebKit for Safari 17.5 adds support for AV1 to WebCodecs when an AV1 hardware decoder is available.", could you clarify what this means device-/operating-system-wise?

ricmac, to webdev
@ricmac@mastodon.social avatar

Eleventy is an act of rebellion against the dark forces driving today’s internet, said its creator @zachleat at . Also at the lively event, we discovered that @eleventy does scale! https://thenewstack.io/static-sites-do-scale-eleventy-vs-next-js-at-11ty-event/

tomayac,
@tomayac@toot.cafe avatar

@ricmac MissingEmojiException

raymondcamden, to random
@raymondcamden@mastodon.social avatar

I've been using Airtable to track conference submissions. Banner year for me... out of 38 submissions so far, I've gotten... 2 acceptances.

Seriously considering just stopping - focusing on writing, video, streaming.

tomayac,
@tomayac@toot.cafe avatar

@raymondcamden One thing worth considering might be to submit to conferences you might have seen as out of scope. For example, I recently learned that our core CSS folks at Google very successfully present on pure CSS stuff at conferences with React in the name, without mentioning a single word of React.

SaraSoueidan, to random
@SaraSoueidan@front-end.social avatar

I get the appeal of email newsletters. I really do.

But nothing gives me as much anxiety as sending out an email and then constantly obsessing about whether I made a typo or messed up a link, because I simply can't just edit it like I can with a post on my blog. 😭

tomayac,
@tomayac@toot.cafe avatar

@voxpelli @SaraSoueidan I'm in the same camp. I love it when people publish their newsletters on the Web, too, with an RSS feed so I don't miss any edition. More often than not, I even link to a specific edition, like to share it on chat ("Hey, congrats, you made it into the Foo newsletter!").

tomayac, to homeassistant
@tomayac@toot.cafe avatar

If you run a #HomeAssistant in your home, give #MusicAssistant a try. It's amazing! The power of starting an AirPlay stream from an Android device alone is gold! Music Assistant 2.0: Your Music, Your Players: https://www.home-assistant.io/blog/2024/05/09/music-assistant-2/.

tomayac, to random
@tomayac@toot.cafe avatar

Starting my trip to in Singapore 🇸🇬. I'm co-chair of the Resource track (https://www2024.thewebconf.org/calls/resource) and will present a paper in the History of the Web track (https://www2024.thewebconf.org/calls/history-web) on "Toward Making Opaque Web Content More Accessible: Accessibility From Adobe Flash to Canvas-Rendered Apps". Anyone else from my timeline at the conference?

tomayac, to random
@tomayac@toot.cafe avatar

Fantastic write-up of how the developer team pulled off 2916 (https://xkcd.com/2916/), "Machine": https://chromakode.com/post/xkcd-machine/. The source code is on GitHub: https://github.com/xkcd/incredible. 🌬️🔴

gabrielesvelto, to random
@gabrielesvelto@fosstodon.org avatar

Memory errors in consumer devices such as PCs and phones are not something you hear much about, yet they are probably one of the most common ways these machines fail.

I'll use this thread to explain how this happens, how it affects you and what you can do about it. But I'll also talk about how the industry failed to address it and how we must force them to, for the sake of sustainability. 🧵 1/17

tomayac,
@tomayac@toot.cafe avatar

@gabrielesvelto Maybe saving someone else a Web search: Error correction code memory (ECC memory) is a type of computer data storage that uses an error correction code (ECC) to detect and correct n-bit data corruption which occurs in memory: https://en.wikipedia.org/wiki/ECC_memory.

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