- 25
- 118 569
David Pedersen
Denmark
เข้าร่วมเมื่อ 2 ต.ค. 2018
Live coding streams, mostly in Rust.
Rust live coding - axum web framework #3
In this stream we work towards axum 0.6 with updates to state handling.
If you want to catch me next time I'm live go follow at twitch.tv/davidpdrsn. I also announce streams ahead of time at davidpdrsn.
If you want to catch me next time I'm live go follow at twitch.tv/davidpdrsn. I also announce streams ahead of time at davidpdrsn.
มุมมอง: 2 988
วีดีโอ
Rust live coding - axum web framework #2
มุมมอง 2.8K2 ปีที่แล้ว
In this stream we work towards axum 0.6 with updates to the routing. If you want to catch me next time I'm live go follow at twitch.tv/davidpdrsn. I also announce streams ahead of time at davidpdrsn.
Rust live coding - axum web framework #1
มุมมอง 13K2 ปีที่แล้ว
In this stream we work towards axum 0.6 and add a new middleware to tower-http. If you want to catch me next time I'm live go follow at twitch.tv/davidpdrsn. I also announce streams ahead of time at davidpdrsn.
Rust live coding - Tower deep dive
มุมมอง 15K3 ปีที่แล้ว
In this stream we dive into a Rust library called Tower. Tower is "a library of modular and reusable components for building robust networking clients and servers." but does that actually mean in practice? Topics include the Service trait, building leaf services and middlewares, tradeoffs when implementing Service, basic usage of pin-project to implement futures, Layer and ServiceBuilder, and l...
Educational Rust live coding - Building a web app - Part 8
มุมมอง 3.5K4 ปีที่แล้ว
8th part of our series where we build a web app from scratch in Rust. We really start to build out the frontend as we implement signup/login, posting tweets, and the timeline. We also look at error handling an other misc improvements. You can find the code at github.com/davidpdrsn/witter If you want to catch me next time I'm live go follow at twitch.tv/davidpdrsn. I also announce streams ahead ...
Educational Rust live coding - Building a web app - Part 7
มุมมอง 8654 ปีที่แล้ว
7th part of our series where we build a web app from scratch in Rust. I talk about how I solved the routing problems we worked on in part 6. Then we dive into making the communication between the frontend and backend type safe. That is one advantage to using the same language on the frontend and backend. You can find the code at github.com/davidpdrsn/witter If you want to catch me next time I'm...
Educational Rust live coding - Building a web app - Part 5
มุมมอง 9854 ปีที่แล้ว
5th part of our series where we build a web app from scratch in Rust. We clean up some tests, address some issues people have opened, implement the timeline including pagination, and finally we do a small release of a dependency I maintain. Starts at 10:26 You can find the code at github.com/davidpdrsn/witter If you want to catch me next time I'm live go follow at twitch.tv/davidpdrsn. I also a...
Educational Rust live coding - Building a web app - Part 6
มุมมอง 9384 ปีที่แล้ว
6th part of our series where we build a web app from scratch in Rust. We build the one remaining endpoint on the backend and dive head first into the frontend. Most of the stream is spend figuring out how routing works in Seed. You can find the code at github.com/davidpdrsn/witter If you want to catch me next time I'm live go follow at twitch.tv/davidpdrsn. I also announce streams ahead of time...
Educational Rust live coding - Building a web app - Part 4
มุมมอง 2.4K4 ปีที่แล้ว
Fourth part of our series where we build a web app from scratch in Rust. We update some dependencies and begin adding more functionality to the backend. Timestamps: - 0:00 - Intro and dependency updates - 1:07:29 - Sharing code between backend and frontend - 1:35:31 - Fixing a small bug - 2:02:08 - Implementing posting tweets - 2:41:18 - Implementing following You can find the code at github.co...
Rust live coding - Generics, iterators, and parsing
มุมมอง 7K4 ปีที่แล้ว
In this video we do a deep dive into writing generic code. Specifically we look at how Iterator works and apply the same pattern to build a small JSON parsing library. You can find the code at github.com/davidpdrsn/json-parser If you want to catch me next time I'm live go follow at twitch.tv/davidpdrsn. I also announce streams ahead of time at davidpdrsn. 10:11 - Video starts 11:25 ...
Educational Rust live coding - Building a web app - Part 3
มุมมอง 2.4K4 ปีที่แล้ว
Third part of our series where we build a web app from scratch in Rust. This we bring a bit more structure to the backend and start explore for WASM space and get a small frontend app going. You can find the code at github.com/davidpdrsn/witter If you want to catch me next time I'm live go follow at twitch.tv/davidpdrsn. I also announce streams ahead of time at davidpdrsn.
Educational Rust live coding - Building a web app - Part 2
มุมมอง 4.5K4 ปีที่แล้ว
Second part of our series where we build a web app from scratch in Rust. This week we clean up our testing setup and tackle user authentication. You can find the code at github.com/davidpdrsn/witter If you want to catch me next time I'm live go follow at twitch.tv/davidpdrsn. I also announce streams ahead of time at davidpdrsn.
Educational Rust live coding - Building a web app - Part 1
มุมมอง 42K4 ปีที่แล้ว
In this live coding stream we begin building the backend for our Twitter clone. You can find the code at github.com/davidpdrsn/witter If you want to catch me next time I'm live go follow at twitch.tv/davidpdrsn
Educational Rust live coding - Building a git CLI
มุมมอง 12K4 ปีที่แล้ว
In this live coding stream we build a small CLI to delete old git branches. We do it using Rust and I try to explain everything as we go along. Topics include: - Error handling, without using unwrap/expect - Fixing common ownership issues - Finding your way around a large third party library - Lots of other misc Rust tips and tricks You can find the code at github.com/davidpdrsn/delete-git-bran...
Building a Rust test runner. Live coding stream
มุมมอง 1.3K4 ปีที่แล้ว
In this live coding stream we attempt to scratch and itch I have: In Rust it is not possible to easily run all tests in a file or to run a single test on a given line number. You can find the code at github.com/davidpdrsn/test-wrapper
Rust: Building internationalization library
มุมมอง 8605 ปีที่แล้ว
Rust: Building internationalization library
Rust: Supporing custom error types in GraphQL library
มุมมอง 1695 ปีที่แล้ว
Rust: Supporing custom error types in GraphQL library
Rust: Fixing a bug in a GraphQL library (part 3)
มุมมอง 945 ปีที่แล้ว
Rust: Fixing a bug in a GraphQL library (part 3)
Rust: Fixing a bug in a GraphQL library (part 2)
มุมมอง 1075 ปีที่แล้ว
Rust: Fixing a bug in a GraphQL library (part 2)
Rust: Fixing a bug in a GraphQL library (part 1)
มุมมอง 8865 ปีที่แล้ว
Rust: Fixing a bug in a GraphQL library (part 1)
Live-coding a static(ish) site generator in Rust (part 1)
มุมมอง 1.7K6 ปีที่แล้ว
Live-coding a static(ish) site generator in Rust (part 1)
Either edit your video to make it shorter or give us a content list, how can I work with a 4 hrs video without having a content list?
OMG, I need more content, please.
Can you please tell me the font name you're using in Vim? Thanks
Rust ❤
hey David - would you consider doing one of these for Tonic?
What font are you using on vim?
what font is that on vim?
We miss your videos, hope you are doing well.
Fantastic stream. You’re a great educator! I hope you get the time for more of those!
What model/brand is that keyboard?
I am an bit confused on Futures and the trait bounds (the letters with type E: Error::bla::blah; really look complex do you know any resources to get those down first I like to learn them
can you share your vim extensions?
1:42:57 Q: "Do you need to be smart to be an engineer?" A: "No...there are plenty of stupid engineers out there. It does help though." LOL, RIP.
Watching this on Linux Mint right now. I played around a bit with Manjaro in the past, but it wasn't a great experience tbh. Mint is definitely less adventurous, and perhaps provides less "street cred", if you will, but it functions a lot more cohesively, and feels a lot less like a hodgepodge that will break if you breathe on it too hard. I've had no breakages yet, and the experience is definitely better than Windows, which is what I was running before.
I wish you had more time, your coding sessions are great
Is this a video of refactoring axum framework?
Just wanna express my appreciation for you taking the time to record your coding sessions and upload. Really helps me improve as a (Rust) programmer!
Starts at 3:50
go on
font?
@37:15 sorting is probably because it is not naturally sorting the numbers explicitly but rather sort the whole string as it
Thank you so much for Axum!
Good stream. It would be nice to see an intro to Axum tutorial series. It would certainly help adoption.
would you mind sharing the source code of this video and source from other parts (part 2, part 3...)
github.com/tokio-rs/axing
Hi, could you tell me what's the plugin at the bottom right?
It looks like toggle term for nvim
It's helpful...Like it.
You're back! Dude I've been re-watching your vids, waiting for you to make another one. Welcome back!
Would you mind sharing the keyboard you're using? Thank you.
ZSA moonlander
@@davidpedersen2649 Very interesting!
WOW!)
Hi friends, i find more than 1000 learning rust every day in China. you could find this in bibibi.
Hope axum more and more better
good,maybe i known you from github
Excellent Insights, Greetings from Nairobi, Kenya
WOW! I WAITED THIS FROM YOU, thx! haven't seen any tutorials for Axum from you, are they planned? or maybe, you know some tutorials for Axum another authors?
no new upload? please upload more rust development
Thanks for the good tutorial . BTW ,which window layout manager is this using ?
Great video! I wish I stumbled upon it many months ago ... 😅
So I'm trying to follow along, and when I just have your cargo.toml and main.rs files and try and build, I get the following error: "error: one of the features ['runtime-actix-native-tls', 'runtime-async-std-native-tls', 'runtime-tokio-native-tls', 'runtime-actix-rustls', 'runtime-async-std-rustls', 'runtime-tokio-rustls'] must be enabled". Not sure how to fix this, any help would be appreciated!
Thank you so much for doing this kinda videos, this is super helpful!
we can now send json value 1:08:30
awesome video!!!
what is version of rust used?
Whatever version was the latest at the time. I don’t remember exactly which.
"sudo apt install libssl-dev" You're welcome;)
Thx. Does it work on macOS?
How do you get those warnings/errors inline? I am using nvim and coc but I cant seem to find an option to do that...
I use coc-rust-analyzer. It should show errors inline by default.
@@davidpedersen2649 I use the same however I have to move the cursor to the error indication location to view the warning/error text. Anyways, thank you creating this gem of a stream! In case you decide to do another stream in the future, can you please work on creating a utility which requires some sort of client-server stuff, wherein the server is a daemon on the same machine...
Maybe coc changed since I made this video
@@davidpedersen2649 yeah maybe. Thanks anyways !
3:29:03 Couldn't you just write #[cfg(test)] hasher.configure_iterations(10); ?
And also `matches!(self, Self::Test)` at 3:37:46 :)
Very nice video, makes things clear now. Thanks for making those :)
Appreciate the entire video/series, but specifically wanted to say thank you for the way you answered the question around the hour and ten minutes mark with respect to whether or not you're self-taught in Rust. This is a term that people use, or a badge they wear, seemingly to make themselves look like they did it all on their own...but really? Perhaps your learning path was self-directed, but there isn't a programmer alive today who was truly self-taught in the sense that they lived in a world devoid of communication, and through their own divine greatness managed to come to be a software developer. In my case, you're teaching me now, and Sentdex before you, and Brian Hawkins, and the Tech Lead, and Raymond Hettinger, and Computerphile, and Web Dev Simplified, and countless stackoverflow posters, medium article writers, redditors, documentation creators, etc etc. So long story short, thank you for not immediately jumping to "hell yeah, I'm self-taught" and I appreciate you giving back to me in the way that those before you helped you down your path. Much appreciated my friend!
Hi, just want to say thanks. I was looking for a real-world example of TDD, this video is almost hypnotic :) And definitely very helpful.
thanks , what is the config file for vim
github.com/davidpdrsn/dotfiles/blob/master/nvim/init.vim
Love hearing the keyboard. Please don't change it. Keep o clacking.