matt

@matt@toot.cafe

Software developer, formerly at Microsoft, now leader of the AccessKit open-source project (https://accesskit.dev/) and cofounder of Pneuma Solutions (https://pneumasolutions.com/). My current favorite programming language is Rust, but I don't want to make that part of my identity.

Music lover. Karaoke singer. Science fiction fan. Visually impaired (legally blind). Secular humanist

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

karolherbst , an Random Englisch
@karolherbst@chaos.social avatar

anyway, some 🦀 content today:

I'm considering using serde in rusticl, however my use case is not to parse arbitrary data, but always structs with no custom data allowed. In short: the struct defines the data layout.

And we have some helpers in mesa dealing with reading/writing data to a blob.

So I'm wondering if a custom serde serialize/deserializer is what I want, or if I want something more special/focused as serde seems to be too generic for my use case here.

matt ,

@karolherbst I think you'd probably be better off with something more focused. serde tries to support both human-readable formats like JSON and efficient binary formats, but the code that it generates for the latter is sometimes not as efficient as it could be, particularly for enums.

When you say "And we have some helpers in mesa dealing with reading/writing data to a blob", do you mean you already have helpers for that in Rust, or only in C so far?

karolherbst , an Random Englisch
@karolherbst@chaos.social avatar

hot take: the next C release should just remove data types with an unspecified size, e.g. int or unsigned

matt ,

@karolherbst Getting computer science departments to teach Rust before teaching C or C++ might be more feasible. Then, maybe the next generation of programmers would at least avoid those types with unspecified size when they have to work in C or C++.

matt ,

@karolherbst I learned C starting in 1994, when I was still a teenager, so of course, if the tutorial said to use "int", believing that there was a good reason for it was the most natural thing.

matt ,

@karolherbst If you realized early that types with unspecified size were a bad thing, I guess that makes you a better systems programmer than me.

matt , an Random Englisch

Question for users of NVDA and web-based Mastodon clients like Semaphore: When looking at a toot with an image, what's the easiest way to run high-quality OCR on the original, full-sized version of the image? Pressing NVDA+R runs OCR on the image as it's rendered on the screen, which is possibly a shrunken version, leading to less accurate OCR. Am I missing something obvious?

matt , an Random Englisch

Here's my latest update on Newton, the -native, -friendly project for the modern ecosystem, developed as part of @gnome and funded by @sovtechfund. It's not ready for production yet, but this blog post includes a demo video and links to GNOME OS and Flatpak runtime builds you can try. As a bonus, because I'm integrating into , GTK apps will finally have on Windows and macOS. https://blogs.gnome.org/a11y/2024/06/18/update-on-newton-the-wayland-native-accessibility-project/

matt , an Random Englisch

Question: Has anyone run into any real accessibility challenges in a work or (more likely) educational environment because Linux GUI apps aren't accessible with ChromeVox on Chrome OS? Thinking about a potential future project that could build on my current Wayland accessibility work. Wondering if it's really worthwhile though.

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine