David Pedersen

5.1K posts

David Pedersen

David Pedersen

@DavidPdrsn

Copenhagen Katılım Şubat 2009
308 Takip Edilen2.3K Takipçiler
David Pedersen
David Pedersen@DavidPdrsn·
Now I’m gonna take some to off to hack on side projects, play video games, and give dog some well deserved belly rubs.
English
0
0
13
976
David Pedersen
David Pedersen@DavidPdrsn·
Today was my last day at Embark Studios. Really enjoyed my time there the last four years but I'm feeling it's time for something new. I don't have anything lined up so if someone could use a programmer with 12 years of experience then let's have a chat! My DMs are open.
English
3
5
52
3.4K
Luca Palmieri
Luca Palmieri@algo_luca·
Pavex release ✅ Talk rehearsal (Nth) ✅ Workshop material ✅ Ready for @RustNationUK! See you all in London next week!
English
2
3
55
3.9K
Håvard 🇮🇸
Håvard 🇮🇸@Alacho_·
@DavidPdrsn Yo, dude. I am a massive user of your Axum framework. I am working on my master's thesis these days. Would it be okay if I sent you a message with some questions?
English
1
0
0
107
Dr. No
Dr. No@DrNo_21M·
@DavidPdrsn Serious question, can macros emit #cfg directives that are still recognized by the pre processor?
English
1
0
1
429
David Pedersen
David Pedersen@DavidPdrsn·
My finest work #L96" target="_blank" rel="nofollow noopener">github.com/tower-rs/tower…
English
2
4
65
10.7K
David Pedersen
David Pedersen@DavidPdrsn·
Being able to tap into that ecosystem was one of the main reasons I started working on axum so I'm happy to see tower getting more widespread support.
English
0
0
18
975
David Pedersen
David Pedersen@DavidPdrsn·
I always get happy when I hear of another rust web framework that supports tower for middleware. That means its not a zero sum game to write middleware libraries and so more people will. Regardless which framework you use you shouldn't have to reinvent logging, compression, etc.
English
2
6
82
5.5K
David Pedersen
David Pedersen@DavidPdrsn·
@adam_chal I’ve written code like this a few dozen times #L627" target="_blank" rel="nofollow noopener">github.com/tokio-rs/axum/… 😅 welcome to syn Not sure how to improve it other than a declarative macro that generates the early return but that’s meh 🤷
English
1
0
1
158
Adam Chalmers
Adam Chalmers@adam_chal·
Working on Rust proc-macros again today. This function takes a type and unboxes it. Any comments or suggestions for how to improve this? #L161-L180" target="_blank" rel="nofollow noopener">github.com/KittyCAD/model…
Adam Chalmers tweet media
English
1
0
8
733
Louis Pilfold
Louis Pilfold@louispilfold·
Is there an API on macOS to control the mouse, click on buttons, type into boxes, etc? I've some GUI's I want to script.
English
3
0
2
992
David Pedersen
David Pedersen@DavidPdrsn·
@mycoliza I mean of course. Pretty sure there aren't other languages than Rust. At least I haven't heard of any.
English
0
0
4
350
neural oscillator of uncertain significance
Language I dislike: Rust Language I begrudgingly respect: Rust Language I think is overrated: Rust Language I think is underrated: Rust Language I like: Rust Language I love: Rust Language I dream of writing in: Rust
English
11
34
547
34K
David Pedersen
David Pedersen@DavidPdrsn·
Graceful shutdown as removed from hyper 1.0 with the intention of adding it to hyper-util but it took a little while to get that worked out.
English
0
0
8
1.2K
David Pedersen
David Pedersen@DavidPdrsn·
This was probably the number one thing that prevented people from updating to 0.7 (besides waiting on other dependencies to update) so pretty excited to have it back!
English
1
0
12
1.3K
David Pedersen
David Pedersen@DavidPdrsn·
axum 0.7.3 now supports graceful shutdown 🚀 The API is pretty much identical to what it was in 0.6 #method.with_graceful_shutdown" target="_blank" rel="nofollow noopener">docs.rs/axum/latest/ax…
English
3
22
152
14.9K
Luca Palmieri
Luca Palmieri@algo_luca·
Writing tests that are meant to check the outcome of other tests is... tricky.
English
2
2
18
3K
David Pedersen
David Pedersen@DavidPdrsn·
@algo_luca That is a pretty stacked line up indeed. Maybe its time I make it to a rust conference 👀
English
1
0
3
300
David Pedersen
David Pedersen@DavidPdrsn·
@jeremychone @rust10x That was necessary for the new `impl Clone for http::Extensions`, which was a frequently request feature and required for `impl<B: Clone> Clone for Request<B>`
English
1
0
1
112
Jeremy Chone
Jeremy Chone@jeremychone·
@DavidPdrsn @rust10x Given the behind-the-scenes changes, this was a breeze! Well done. The only thing that puzzled me is why the extensions require T: Clone for inserts while the get method still returns an Option<&T>. But that's nothing an Arc can't solve.
English
1
0
0
92