@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

having some fun with https://earthly.dev tonight

gianarb ,
@gianarb@hachyderm.io avatar

@fasterthanlime nice! is it for your own fun or work related?

bew ,
@bew@floss.social avatar

@fasterthanlime looks interesting 🤔 How would you say it compares to Nix ? (exclusively the ui)

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

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 , an Random Englisch
@fasterthanlime@hachyderm.io avatar
iacore ,
@iacore@mastodon.de avatar

@fasterthanlime isn't this is correct usage of tests? tests don't end up in the final application, types do.

orizuru ,
@orizuru@mastodon.world avatar

@fasterthanlime I prefer the dbg! macro, but I guess that's a solution. 🙃

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

andyeff ,
@andyeff@hachyderm.io avatar

@fasterthanlime Out of curiosity, what tool / util are you using to create JXL and AVIF files?

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@andyeff Custom CDN! I do PNG to JXL with Magick but then my site converts with the image crate and some libjxl binding

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

Wanna feel old?

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@FSMaxB Does your back hurt?

FSMaxB ,
@FSMaxB@mastodon.cloud avatar

@fasterthanlime it does unfortunately!

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)

niklaskorz ,
@niklaskorz@rheinneckar.social avatar

@fasterthanlime cries for JPEG-XL

xenodium ,
@xenodium@indieweb.social avatar

@fasterthanlime weirdo checks for avif support.... yup caniuse is now complete:

(use-package image
:mode ("\.avif\'" . image-mode))

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

blackwolf12333 ,
@blackwolf12333@hachyderm.io avatar

@fasterthanlime you get status updates? Mine usually just shows up two months later with no warning

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@blackwolf12333 I use the AfterShip app on iPhone!

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

So I'm probably doing it wrong, right, but one of the (technical) downsides to nix is that I think it currently needs to fetch several gigabytes' worth of things from cache to finish evaluating and come to the conclusion that it.. doesn't need to do much at all?

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@msfjarvis (I am)

ivan ,
@ivan@hachyderm.io avatar

@fasterthanlime @msfjarvis apologize for being slightly pedantic here: when using flakes, nix requires downloading all flake inputs transitively before it can evaluate derivations.

Derivation inputs are only downloaded when trying to build the derivation.

Unless IFD (input from derivation) is triggered, you technically don’t need toolchains present just to evaluate things (eg via nix build .# --dry-run).

Happy to take a look if crane seems to be at fault triggering IFD

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

Every time I sit on a draft instead of shooting a video I learn something more that's relevant to the video

The logical conclusion is I should simply never shoot videos

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@Kiskae precisely
!

vedang ,
@vedang@fosstodon.org avatar

@fasterthanlime

Yes! This is the reason why I never publish anything 😂. Always this pesky "perfection" thing!

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

closingtags ,
@closingtags@mastodon.social avatar

@fasterthanlime
In the process of adding all the media that traumatized me as a child to my Plex library so I can pay it forward to my children. Is this something I need to add as well? 🤣

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@closingtags That and “wrong trousers” yes

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

@bjorn3 !! all 689 crates in the dep graph of my website do compile under aarch64-apple-darwin (but do not link, either with the hacky patch in you-know-which-wasmtime-issue, or with the classic linker).

I'm really excited though!

bjorn3 ,
@bjorn3@hachyderm.io avatar

@fasterthanlime What is the linker error with the classic linker? As far as I'm aware it should work with the classic linker.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@bjorn3 So cargo-clif itself wouldn't build with the classic linker (exported via setting $RUSTFLAGS), I had to check out cranelift, apply the patch in https://github.com/bytecodealliance/wasmtime/issues/8730#issuecomment-2143671958 and then it'd build

For my crates, I also had to patch ring to comment out two assertions: https://gist.github.com/fasterthanlime/eb2a81ddd9d36eaa6d9275d265a5c04c

Here's an asciinema of both failing scenarios (classic linker first, XCode 15 second): https://asciinema.org/a/MK9nHfKbqFleHrHjlic5KHcwr — note that the patch I applied to cranelift may hurt here? not sure.

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

I solved "tool Y is great... but it's mac-only" by only having macs around 😬

malwareminigun ,
@malwareminigun@infosec.exchange avatar

@fasterthanlime ftp itself is kinda barbaric isn't it? 😅

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@malwareminigun correct, but uh, seedboxes

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

I messed something up in my asset pipeline and ended up with this beautiful and eerie bear chain

(can you guess what I got wrong?)

fabs ,
@fabs@mastodon.gamedev.place avatar

@fasterthanlime I would take this kind of error in my stride.

Klowner ,
@Klowner@mastodon.gamedev.place avatar

@fasterthanlime unexpected ursined integers?

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

Reported another Zed papercut because it's so good that even small bugs are really noticeable

edit: Already fixed!! Thanks Piotr :)

https://github.com/zed-industries/zed/issues/13419

mikkelens ,
@mikkelens@mastodon.gamedev.place avatar

@fasterthanlime yeah either they changed plans in the last few months or the website is seriously out of date. Originally it said something akin to “macOS is our only priority right now, with linux support in consideration”. Nevertheless, I’m on still on Windows 10.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@mikkelens Well they’re also working on the Windows build for sure - but I don’t know how hard it is to build!

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