@fasterthanlime@hachyderm.io titelbild
@fasterthanlime@hachyderm.io avatar

fasterthanlime

@fasterthanlime@hachyderm.io

hi, I'm amos! 🦀 I make articles & videos about how computers work 🐻‍❄ cool bear's less cool counterpart ✨ be kind

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

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

back on my bullshit

(trying to load Rust code as a dynamic library and getting the segfaults I well deserve)

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar
fasterthanlime OP , (Bearbeitet )
@fasterthanlime@hachyderm.io avatar

ok I took my site down for a sec because — you're gonna laugh — "mod_config" was setting the ENVIRONMENT: AtomicU8 to "production" alright, but..

..it was setting its copy. meanwhile the main binary's copy said "development". I THOUGHT IT WAS EVALUATING MARKDOWN TOO MUCH.

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

me as a rust beginner: yay I love adding methods to random types with trait MyExt
me now: what the fuck are these all traits, who the fuck added all of th-oh.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@baloo Using it excessively, let’s say

wingo , an Random Englisch
@wingo@mastodon.social avatar
fasterthanlime ,
@fasterthanlime@hachyderm.io avatar

@wingo "computers are for helping us multiply new matrices"

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

“We would like to share the trait solver with rust-analyzer by the end of this year”

Let’s goooo!! https://blog.rust-lang.org/2024/06/26/types-team-update.html#fnref-117703

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

P.S: can someone fix those links on the Rust blog footnotes? (the ones that lead to pull requests — people click those, you know!)

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Okay well JPEG-XL might not be supported in browsers but nobody said I can't use it as an "original" format in my blog's content/ directory, right?

(Note: I'm still serving AVIF to browsers)

Showing total file sizes: 1.1GiB for PNG, 16MB for JPEG-XL. I explain I used lossy compression with quality 30, which is still visually undistinguishable

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@Igigog those are very large pictures, and I used lossy compression for those JXL

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@thejpster bwahahah

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@porglezomp Yup I found out and started serving it!

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

mhhhhhhHHhhh

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

well I just switched to rspack (and lightningcss), that was on my list anyway

(and lightningcss is part of the parcel cinematic universe so it's not even a true betrayal)

fasterthanlime , (Bearbeitet ) an Random Englisch
@fasterthanlime@hachyderm.io avatar

IMPORTANT: did you get traumatized by watching Wallace & Gromit as a kid? Specifically “A close shave”? I still have nightmares

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@closingtags That and “wrong trousers” yes

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Ordering something from China (to Europe) is so fun, every day you learn about a new delivery status

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@blackwolf12333 I use the AfterShip app on iPhone!

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Wanna feel old?

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@FSMaxB Does your back hurt?

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Oh hey, .avif is supported pretty much everywhere nowadays: https://caniuse.com/?search=avif

I can drop .webp (and .jpg)

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@whynothugo do you use IE11, Opera Mini, or KaiOS Browser?

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@dpom I do AVIF or {PNG,JPG} (depending on what the source image is)

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@bigaston What a fantastic question for literally any search engine!

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