@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

Can someone hardcode in rust-analyzer that Future always comes from std::future::Future and not, like, futures_util::Future or something

Gottox ,
@Gottox@chaos.social avatar

@fasterthanlime

looks at C23

envies

ilmai ,
@ilmai@hachyderm.io avatar

@fasterthanlime same for std vs. portable_atomic please

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

Since when did rustfmt start formatting "calls on tuples" like this:

{  
 (  
 StatusCode::OK,  
 format!("serve transcoded for {hapa} / {bp}"),  
 )  
 .into_http()  
}  

And how do I convince it to simply do

{  
 (  
 StatusCode::OK,  
 format!("serve transcoded for {hapa} / {bp}"),  
 ).into_http()  
}  

Instead?

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime 'simply' 😬​

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@dysfun load-bearing simply

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

One thing that is cool about LLM‘s right now is how there’s actual competition, the likes of which I haven’t seen in other fields lately.

I’ve been enjoying GPT-4o, now Claude Sonnet 3.5 is out and I can just switch to it with one line of config. Until next time.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@dluz Yeah, I agree the next few months will be crucial to the space and I'll be keeping a close eye on this.

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

@__head__ Like another answer mentioned, it's delicate when you lack the requisite skills to validate whether a solution makes sense or not, but I would recommend using chat interfaces to even know what to search for.

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

💪 I finally took the time to report my current-most-annoying @zeddotdev issue: pasting changes indentation

(feel free to leave a 👍 if you've noticed this too!)

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

syphdias ,
@syphdias@social.linux.pizza avatar

@fasterthanlime pretty sure that is to keep compatibility to vim’s paste behavior /s

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

this is probably just me / my fault in some way but it is, to me, really funny

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

oh wow no, they're returning 520 (TIL about this status code) and also using astro dot build???

erika ,
@erika@webtoo.ls avatar

@fasterthanlime (I work at Astro)

We don't do the deploying or hosting, Astro just generates the files. The way they set up deploying, hosting and caching is up to CloudFlare here

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

Avec mes excuses aux parisiens de la TL (ou pas)
https://hachyderm.io/@fasterthanlime/112645162644857554

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

Who needs a bundler when you've got ✨ global scope ✨

raymondwjang ,
@raymondwjang@neuromatch.social avatar

@fasterthanlime @jonny don’t tell us what to do 😤

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@raymondwjang @jonny You’re both grounded

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

I'm looking at parcel's "engines" field — what's a reasonable browser target nowadays? Still Chrome 80? Aren't we at Chrome 243 or smth? https://parceljs.org/features/targets/

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

@malwareminigun
> the UML designer
whatever it is, it's macabre

(but I suppose, both?)

robin ,
@robin@hex.st avatar

@fasterthanlime @malwareminigun I picked ourselves but I definitely read the poll as 'our collectif self'. = Let's not kid ourselves, let's be serious. (Whereas 'with each other' sounds more like "let me tell you some facts", almost aggressive tone-wise.)

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

I am in hell

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@kouhai it's getting SOMETHING

pointlessone ,
@pointlessone@status.pointless.one avatar

@fasterthanlime Turning nocturnal is one of the perks of working from home.

But TBH I miss getting fired up so much I couldn’t stop until sunrise. 😔

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...

Kiskae ,
@Kiskae@hachyderm.io avatar

@fasterthanlime makes sense. I remember lots of spa frameworks waiting for those events before rendering dynamic content. To avoid freezing the UI.

Eunakria ,
@Eunakria@mastodon.online avatar

@fasterthanlime netwhatnow

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

Gottox ,
@Gottox@chaos.social avatar

@fasterthanlime Actually I would call it nooffline.

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.)

cr1901 ,
@cr1901@mastodon.social avatar

@fasterthanlime

x86 memory Rust crate size models:

<50: Tiny app model
50-100: Small app model
100-200: Compact app model
200-500: Medium app model
500-700: Large app model
700+: Huge app model

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

...hello system TLS library

djc ,
@djc@hachyderm.io avatar

@fasterthanlime how did you deal with the sqlx one? Disable the TLS on your database connections?

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

wacker ,
@wacker@sharkey.world avatar

@fasterthanlime .await uses the IntoFuture trait, maybe tokio::spawn only accepts Future? you could try calling server.into_future() (you might need to import the trait)

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

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

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