@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

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

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

docRekd ,

@fasterthanlime at least since https://pluralistic.net/2024/03/13/hey-look-over-there/ by @pluralistic I have an answer better elaborated than anything I could ever write

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

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

WolvericCatkin ,
@WolvericCatkin@mastodonapp.uk avatar

@fasterthanlime You know what, that actually kind of says something about opinionated defaults...

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar
alj ,
@alj@ieji.de avatar

@fasterthanlime SO NEW. MUCH RECENT. VERY WOW!

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.

seri ,
@seri@hachyderm.io avatar

@fasterthanlime Ah sorry, I use napi heavily at work, the just meant that that PR resulted from it ^^

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

@d2718 @tjf @nrab best and very important cw

syphdias ,
@syphdias@social.linux.pizza avatar

@fasterthanlime @Cyborus is that a Mac thing? Never had this is any terminal emulator.

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

leftpaddotpy ,
@leftpaddotpy@hachyderm.io avatar

@fasterthanlime one of the bits of .. somewhat complex behaviour this chooses not to implement is all the IMDS, profiles, and so on, that people often expect from AWS SDK using things. that being said all that shit is very complicated. but it's the reason we've not ripped the aws sdk for c++ out of lix so far.

tb ,
@tb@hachyderm.io avatar

@fasterthanlime FWIW that is what crates.io itself uses to upload crate files, readmes and other stuff. works quite well :)

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

reasonably happy with this scp invocation

cwalkatron ,
@cwalkatron@mastodon.social avatar

@fasterthanlime been using unix for almost 30 years and had never thought of this. bravo

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

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

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

oh boy.

cbleslie ,
@cbleslie@hachyderm.io avatar

@fasterthanlime RIP CPU & RAM 🐏

froztbyte ,

@fasterthanlime I hear ya - I accidentally started building php earlier this week

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

@dmelo Quelle est ta langue maternelle ?

dmelo ,
@dmelo@mastodon.social avatar

@fasterthanlime Le portugais. Très semblable au français dans toutes ses irrégularités 😉

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

thejpster ,
@thejpster@hachyderm.io avatar

@fasterthanlime I did the obvious thing and looked for it - it seems like it's there?

https://github.com/search?q=repo%3Arust-lang%2Frust%20unused-crate-dependencies&type=code

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

ericseppanen ,
@ericseppanen@hachyderm.io avatar

@fasterthanlime my next band name.

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?

ityt ,
@ityt@mastodon.social avatar

@fasterthanlime it works well (used in production)

Zlepper ,

@fasterthanlime We ended up moving away from it due to internal data store corruption several times :/ Instead we are using Rabbitmq, both the queues, but also their Stream, which behaves a lot like Jetstream except with fewer sharp edges.

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

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

whbboyd ,

@fasterthanlime Mail tends to get stacked in storage and sorting, doesn't it? So if you analyzed the surface topography of other pieces of mail, you could probably recover someone's CC info without even needing to go digging around in their trash.

Anyway, I'll second owning a shredder. I mostly use mine for invoices with my phone number on them, but there's always voided checks and the occasional very sensitive piece of PII that got printed for no good reason.

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

One thing code has that zed is missing is narrowing down by dirname in fuzzy search

In code I can do "Cargo.toml", it shows 8 results, I add space, then "cratename", it narrows down. In zed the query has to be "cratename/Cargo.toml", which is annoying.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

Another nitpick: using zed's "Go To Diagnostic" command expands the diagnostic inline (great!), but then if I fix it and save, and the checker/linter no longer reports the error, it's still shown! I have to hit "esc" explicitly.

gigantos ,
@gigantos@social.linux.pizza avatar

@fasterthanlime perhaps zed should start using Nucleo, it restarts the search from the beginning with every space. It is the fuzzy marcher used in the helix editor

https://crates.io/crates/nucleo-matcher

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

In personal news: jaw surgery round two will NOT happen over the summer like I thought, but in Q1 2025, which means I have the whole year to make cool stuff!

I was bummed to have my year split in half by surgery + recovery, so this is actually great news for me (although you'll see braces in every video this year I guess 😬).

Anyway. Onwards!

Igigog ,
@Igigog@mastodon.gamedev.place avatar

@fasterthanlime oh no, braces! Anyway...

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