@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 , (Bearbeitet ) an Random Englisch
@fasterthanlime@hachyderm.io avatar

When you use the phrase “let’s be honest” do you mean “let’s be honest with each other“ or do you mean “let’s be honest with ourselves“?

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@tuxinal Ah yep I meant to remove it and forgot lol

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

I am in hell

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

..all the functions have the wrong documentation? what am I reading

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

FUCK YES I'm outta hell, and I can replace chromium+poppler+cairo+svgcleaner with node.js which is going to shave... 509 megabytes off my container image.

(the accolade shape is missing & the default styles are weird but that's for tomorrow GOOD NIGHT)

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@kouhai it's getting SOMETHING

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

Q: how do you know when Headless Chrome is actually done rendering a page, webfonts included?
A: not DOMContentLoaded, not load, not firstMeaningfulPaint, not fontsLoaded, but...

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

PSA: beware "negative" cargo feature flags. Flags they can't remove dependencies, only add them. For example, chrome_headless's "offline" flag is backwards: https://github.com/rust-headless-chrome/rust-headless-chrome/issues/489

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

current status

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@cr1901 yeah, "all the things that power my website" (including image & video asset pipeline, terminal recording, etc.)

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

...hello system TLS library

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@djc sqlx certainly, but also that fucking chain (even though I have the 'offline' feature turned on, so it never makes an HTTP request in the first place! but that would require flipping the cargo feature flags and that's a breaking change I guess)

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@djc Oooh, I do like this

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@djc down to one rustls! thanks!

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@djc I don't think I was using it to begin with (private routing in k8s cluster — not accessible from outside)

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

Having a little axum puzzle today???

(axum 0.7.5, rustc 1.79)

edit: https://doc.rust-lang.org/stable/std/future/trait.IntoFuture.html

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@wacker ohhhhhhh I forgot about that level of indirection x)

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

I know I know, "AI bad" but honestly OpenAI's Whisper model has been such a game changer

edit: Looks like Apple Podcast transcription might /not/ be Whisper? https://9to5mac.com/2024/06/17/apple-podcast-transcription/

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@luis_in_brief not sure but I suspect Whisper is backing 95% of the wave of products SUDDENLY gaining speech-to-text all at the same time.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@docRekd yup, I've been thinking that a lot

BreoganHackett , an Random Englisch
@BreoganHackett@mastodon.gamedev.place avatar

LMAO at this itch comment on Bleakshore. Like yeah buddy it's a like this game I played but it has uh different art direction and tells a different story. Not trying to be mean to this person I just find the games audiences tendency towards direct comparrison funny sometimes.

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

me: wow "cargo check" sure is doing a lot of rebuilding maybe it's a rust-analyzer/zed bug

also me:

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

I'm so very happy every time I feel like an idiot because it means I get to fix it!

When it turns out others are being idiots it's much much harder to fix.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar
fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@dysfun too expensive in terms of compile times, due to the Result<T, E> hack for enums?

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

PSA: I'm undoing the "splitting into more crates" section of this article: https://fasterthanli.me/articles/why-is-my-rust-build-so-slow#splitting-into-more-crates — and going for another strategy. I'll write about it.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@seri I didn’t know you worked on napi!!

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@seri still cool!

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

TIL about wezterm's "adjust_window_size_when_changing_font_size" option you can set to false and get the behavior I've wanted all terminals to have forever:

I'm doing Cmd+Plus and Minus, and the window size doesn't change: only the text size

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@Cyborus resize the window so the number of cols/rows remains the same

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@nrab have you been in the KDE ecosystem? most mac terminals do that, GNOME/XFCE terminals do that iirc

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@d2718 @tjf @nrab best and very important cw

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

PSA: if you need your Rust code to interact with AWS S3, you probably can get away with the lighter https://crates.io/crates/object-store instead aws-sdk-s3

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

reasonably happy with this scp invocation

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@Setzer22 yeah!

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@cwalkatron haha, thank you, that means a lot!

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

oh boy.

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

Accidental poetry is all too easy in Polish: if you say "w sobocie" (case 6) instead of "w sobotę" (case 4), suddenly saturday is not a time... it's a place ✨

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@duckonaut sure, but does anyone accidentally say "my girlfriend is Poland" in English because of word endings?

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@dmelo Haha tak, uczę się polskiego aby moja dziewczyna była ze mnie dumna 😌

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@dmelo Quelle est ta langue maternelle ?

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

Did -Wunused-crate-dependencies disappear from rustc? I get a warning about an unknown lint on a very recent nightly

https://github.com/rust-lang/rust/pull/72342

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@thejpster Then why is passing it as rustflags warning me about an unknown lint, mhhh

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

learning a lot today

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

So if you were looking for a distributed message bus to get a bunch of Rust servers talking, you could do worse than NATS jetstream, right?

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

Some French neobank. (Sumeria, used to be Lydia) just sent me a VISA card. It has raised lettering. So...

...if you take the card
...and you throw the paper out
...anyone can read the 16-digit credit card number, expiration date, first name and last name of the cardholder 🥲

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@overanalytcl I haven’t noticed that problem on other cards. I think the base Revolut card doesn’t actually have raised lettering. The other ones probably have plastic around them, or something else that doesn’t mark as easily. This one straight up acted as a printing press.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@krans That seems like good advice. I have just ordered one.

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