Jan Bartnitsky - RAG on KDTree
23:10
Пікірлер
@gabrieltardif7660
@gabrieltardif7660 Ай бұрын
Polars + NVIDIA = 😍
@mikkoleppanen6425
@mikkoleppanen6425 Ай бұрын
Out of curiosity, I tried how fast the cumulative sum is in Rust, and the time spent per element is around 0.005 ns. Below is the code I've used: use std::time::Instant; const SIZE: usize = 10000; fn cumsum(vec: Vec<i32>) -> Vec<i32> { let mut acc = 0; vec.iter() .map(|x| { acc += x; acc }) .collect() } fn main() { let vec = vec![1; SIZE]; let now = Instant::now(); let cumsum = cumsum(vec); let end = now.elapsed().as_nanos(); println!( "Time spent per element: {:?} ns", end as f64 / (SIZE as f64), ); println!("{:?}", cumsum.len()); }
@encapsulatio
@encapsulatio Ай бұрын
Audio does not exist for the speaker.
@Bidek56
@Bidek56 Ай бұрын
Ritchie is the best ❤😂
@senhajirhazihamza7718
@senhajirhazihamza7718 2 ай бұрын
It seems that the rust implementation is not equivalent to mojo’s because you allocate the space at first in the Mojo list (a malloc…) and in the second case of rust you does’nt, which means that rust will have to allocate the size by himself without knowing the size of the list, so each time when the precedent size allocated isn’t sufficient, rust will reallocate ( i might be wrong but it seems like that to me)
@iceX33
@iceX33 Ай бұрын
This is true, but the time is taken after the list is populated in Rust and in Mojo. So the list population logic should be irrelevant, except if the Rust compiler decided to move `let tik = Instant: :now();` statement up.
@Whatthetrash
@Whatthetrash 2 ай бұрын
This is so cool! Nice to see you Arjan! :)
@CoombesJD
@CoombesJD 2 ай бұрын
Thanks for this talk
@DaveAronson
@DaveAronson 2 ай бұрын
There's a bit of a dropout at 11:54. Far as I can recall, the words between are: "any side effects. Mainly it could return any of *these* constants or expressions -- and many more, but I had to stop somewhere."
@grzegorzryznar5101
@grzegorzryznar5101 2 ай бұрын
Thank you for this! Keeping eye on Mojo from a while
@gretamozeikaite317
@gretamozeikaite317 4 ай бұрын
Can`t wait!!!
@Aidisstukas195
@Aidisstukas195 4 ай бұрын
Let's go!
@ninjabeatz905
@ninjabeatz905 8 ай бұрын
awesomeness
@user-qi5kb5th7y
@user-qi5kb5th7y 9 ай бұрын
man, 40 minutes in and you JUST STARTED talking about mypyc? what a waste of time this guy is.
@_elkd
@_elkd 10 ай бұрын
Best talks on Pydantic
@andrechristensen4488
@andrechristensen4488 11 ай бұрын
P r o m o s m
@ekrako76
@ekrako76 11 ай бұрын
Is there a link to the slide deck?
@Follo_me
@Follo_me Жыл бұрын
Санёк красава
@JPy90
@JPy90 Жыл бұрын
ídolo
@davidisavid
@davidisavid Жыл бұрын
🔥🔥🔥🔥🔥
@ahmedelamraoui3585
@ahmedelamraoui3585 Жыл бұрын
ربي وفقه لكل خير وأنعم عليه بالصحة والعافية ووفقه لما تحبه وترضاه يارب العالمين
@nunoalexandre6408
@nunoalexandre6408 Жыл бұрын
Love it!!!!!!!!!!!!!!!!!
@robertmazurowski5974
@robertmazurowski5974 Жыл бұрын
How do you configure mypy wiith fast api? I cant get it to work nicely together?
@akashb7515
@akashb7515 Жыл бұрын
Dude never forgotten to give credit.
@shubham_dev_coders5629
@shubham_dev_coders5629 Жыл бұрын
Awesome talk by FastApi creator.👌
@antoinel1029
@antoinel1029 Жыл бұрын
thank you, nice talk
@daytraderph
@daytraderph Жыл бұрын
fastapi still don't have throttling like django
@Adam-yf2ux
@Adam-yf2ux Жыл бұрын
Thanks for uploading ! Good stuff.
@CliffordFajardo
@CliffordFajardo 2 жыл бұрын
00:40 - who is sebastian ramirez (creator of FastAPI) 2:20 - modern python features "f-strings" 3:57 - modern python features "Type annotiations" 9:30 - type annotations with FastAPI 11:09 - FastAPI's free autogenerated documentation 13:50 - standards FastAPI is built on 14:07 - modern python type annotations using Typer 17:28 - FastAPI with Pydantic (data validation section of FastAPI) 21:44 - FastAPI with SQL 23:54 - modern python with async/await & how FastAPI takes advantage of it 29:36 - performance with FastAPI 32:47 - FastAPI open source community 33:23 - start of Question & Answers from audience
@jriggatx
@jriggatx 2 жыл бұрын
As someone coming back to Python after about 4 years, I really appreciate this overview of the current ecosystem.
@gurmohitsinghgrover7694
@gurmohitsinghgrover7694 2 жыл бұрын
So python will soon become scala 3.
@aureliojmnz2959
@aureliojmnz2959 2 жыл бұрын
Hermosooo hombre. What package/module to implement two-factor authentication, or 2FA implementation through FastAPI?
@Cpd9
@Cpd9 2 жыл бұрын
Already convinced in the first 2 mins 👌🏽
@juliocefe1807
@juliocefe1807 2 жыл бұрын
23:57 "python as a programming languages is very fast when you compare it... don't look at me like that xdd... when you compare it with the network" xD
@gofudgeyourselves9024
@gofudgeyourselves9024 2 жыл бұрын
ok
@__________________________6910
@__________________________6910 2 жыл бұрын
Wow
@jakalsable
@jakalsable 2 жыл бұрын
Thanks a lot for this comprehensive overview of your doing. I'm working with FastAPI and am loving it. :)