Тёмный

When You Give Programmers a HUGE Database 

conaticus
Подписаться 59 тыс.
Просмотров 28 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 57   
@conaticus
@conaticus 9 месяцев назад
The first 500 people to use my link will receive a one month free trial of Skillshare: skl.sh/conaticus12231
@phusicus_404
@phusicus_404 9 месяцев назад
Hi, is this project in production now? I'd like to actually search courses.
@AquaQuokka
@AquaQuokka 9 месяцев назад
Inaccurate, no thigh-high socks.
@ClasicRando
@ClasicRando 9 месяцев назад
Not sure if this was considered, but the postgres COPY command would have likely made the first part of the video much easier
@Ta9i
@Ta9i 9 месяцев назад
or asking chat gpt to make seeding script
@olgierd245
@olgierd245 9 месяцев назад
Waiting for more! Keep up the good work, I'm curious what comes out of it.
@madhav1861
@madhav1861 Месяц назад
Sometime it takes s week to debug
@ljreinworth
@ljreinworth 9 месяцев назад
conaticus upload (real)
@karlkarlsson9699
@karlkarlsson9699 9 месяцев назад
Instead of dijkstra you could use A*, its easier to pronounce. But you really dont need to do pathfinding as the nooks and crannies of roads will even out and some would take the train so it wouldnt be a good comparison anyways.
@unicodefox
@unicodefox 9 месяцев назад
and then you end up downloading the Network Rail open data feeds to find the duration between the nearest train stations to
@bigerrncodes
@bigerrncodes 9 месяцев назад
Its just deek-struh for pronunciation sake
@unicodefox
@unicodefox 9 месяцев назад
@@bigerrncodes dyk-stra*
@w花b
@w花b 9 месяцев назад
​@@bigerrncodesdjeek-strah
@zwwz1424
@zwwz1424 9 месяцев назад
@@bigerrncodesthe way non dutch people pronounce his name is so hilarious
@BradenJohnYoung
@BradenJohnYoung 9 месяцев назад
Is this what qualifies as a huge database these days?
@Laflamablanca969
@Laflamablanca969 9 месяцев назад
Only for the soy devs
@Yassinius
@Yassinius 9 месяцев назад
2:10 You should pronounce it as "Daykstra" you silly Brit.
@mwguy
@mwguy 9 месяцев назад
Just use postgis extension to postgresql for filter/sort by geo location
@ph03n1x_dev
@ph03n1x_dev 9 месяцев назад
you should've asked me how to pronounce "dijkstra's algorithm" 😂 it's a dutch name. great video btw❤
@conaticus
@conaticus 9 месяцев назад
😂thanks, i hope dijkstra doesn't see this video
@ph03n1x_dev
@ph03n1x_dev 9 месяцев назад
@@conaticus i think it's impossible for him to see this.... 😂
@baxkill
@baxkill 9 месяцев назад
@@ph03n1x_dev What happened to him? is he having problems with his RU-vid account?
@haydra9380
@haydra9380 9 месяцев назад
i love your progress of never tried c# to start knowing it in a prev video to actually rating it the best backend lang and now; writing a whole API with it
@Dom-zy1qy
@Dom-zy1qy 9 месяцев назад
2:25 What are we caching ? The data that was returned from the users query? What would the key be ? Would we just use the request params as the cache key and cache the response to those params? Then perform the distance filtering? Havent used redis or any cache layer before so just trying to figure out what is going on here.
@yjawhar
@yjawhar 9 месяцев назад
Could have loaded the data into SQLite through the CLI, cleaned it there, then moved it to Postgres. Could have even left it on SQLite since it's mostly read operations taking place on the data
@neoplumes
@neoplumes 9 месяцев назад
If you're going to store the database in redis, why not use persistent redis and get rid of postgress?
@AndrewTSq
@AndrewTSq 9 месяцев назад
I think there is a new API for storing files on the users harddrive now, so you could probably send more than 20MB with ease :D
@kehan6252
@kehan6252 9 месяцев назад
1:14 can someone please tell if this is bad code or not? It seems alright to me
@borhaneddineguemidi6402
@borhaneddineguemidi6402 9 месяцев назад
For a quick a dirty way to calculate the distance you could use the openstreet/osrm open source project
@denitechYT
@denitechYT 9 месяцев назад
HUGE database eh Con?👀
@delofon
@delofon 9 месяцев назад
2:11 "daixtra" or smth like that
@lutzmmobil
@lutzmmobil 9 месяцев назад
For sending data to the frontend, why don't you just consider using a type of pagination meaning x entries per page, page offset by x * pagenumber something like that. You don't NEED too get all results at once, that would be horrible, but you also don't need to let that limit yourselves in showing more results.
@cxarra
@cxarra 9 месяцев назад
If you are using your own path-finding algs for mapping, you might as well write a separate front end for it and *boom* mapping app. That is to say, you should almost certainly not take this approach and instead leverage an existing services' API such as google map's. If you really do want to go down the route of hosting and running your own mapping algs, you're going to need far more data and compute than what you're currently working with not to mention hosting it at scale will wind up costing you a TON more than just leveraging an api (which will be far more accurate in any event).
@re.liable
@re.liable 9 месяцев назад
Interesting
@Yett1hhh
@Yett1hhh 9 месяцев назад
using Djnago for the backend woulda save alot IMO
@boris5937
@boris5937 9 месяцев назад
1min out of 5min video being an ad? RAGGGHHHHH
@SteveBClark
@SteveBClark 9 месяцев назад
Why, you don't live stream it ... I love your live stream
@Strawberry_Htet
@Strawberry_Htet 9 месяцев назад
I also once calculated the geocoordinate. Bruteforced to map out the house numbers to lat and long😂. LoL
@yungifez
@yungifez 9 месяцев назад
Should i build this but for Canada 😂😂
@fullstack_journey
@fullstack_journey 9 месяцев назад
wouldn't it be easier to use elastic search.
@riigel
@riigel 9 месяцев назад
rebuild everything in rust 😅
@ayushmishra6077
@ayushmishra6077 9 месяцев назад
Why are his lips so red No gay
@Duluper
@Duluper 9 месяцев назад
Idk what to comment
@0xsixneufquatredeuxzero
@0xsixneufquatredeuxzero 9 месяцев назад
What is the music from 1:27?
@ikbenwelthuis
@ikbenwelthuis 9 месяцев назад
Please tell me you're using Data Transfer objects because I didn't see them anywhere.
@Rami-fq4lr
@Rami-fq4lr 9 месяцев назад
we're using result sets which contains the data we need that way we don't have to use auto mapper or map one object to another
@yusfcag
@yusfcag 9 месяцев назад
Nice
@bruhbruh0000
@bruhbruh0000 9 месяцев назад
nice
@AliveOP
@AliveOP 9 месяцев назад
W
@johanrong
@johanrong 9 месяцев назад
Which countries does this include?
@conaticus
@conaticus 9 месяцев назад
Just the UK for the moment! That's all the dataset provides for now sadly
@johanrong
@johanrong 9 месяцев назад
@@conaticus Alright
@GdeVseSvobodnyeNiki
@GdeVseSvobodnyeNiki 9 месяцев назад
You should check google S2 or similar lib for querying entities within the range on a map. It's crazy efficient because you store coordinates as a bigint instead of real latitude and longitude. There are shitload of underlying math, but lib pretty much abstracts you from it.
Далее
Turning My AWFUL Code Into Professional Code
15:50
Просмотров 63 тыс.
You don't always need JOINs
8:16
Просмотров 118 тыс.
DAXSHAT!!! Avaz Oxun sahnada yeg'lab yubordi
10:46
Просмотров 334 тыс.
▼ КАПИТАН НАШЁЛ НЕФТЬ В 🍑
33:40
Просмотров 346 тыс.
I Made a FAST Search Engine
8:17
Просмотров 152 тыс.
The Most Legendary Programmers Of All Time
11:49
Просмотров 567 тыс.
Nobody Cares About Your Coding Projects
11:02
Просмотров 110 тыс.
Projects Every Programmer Should Try
16:58
Просмотров 464 тыс.
The purest coding style, where bugs are near impossible
10:25
I Built a FAST Package Manager (in Rust)
7:36
Просмотров 36 тыс.
How A Steam Bug Deleted Someone’s Entire PC
11:49
How I Made HTTP From Scratch
4:48
Просмотров 29 тыс.