When You Give Programmers a HUGE Database

  Рет қаралды 28,489

conaticus

conaticus

Күн бұрын

Пікірлер: 57
@conaticus
@conaticus Жыл бұрын
The first 500 people to use my link will receive a one month free trial of Skillshare: skl.sh/conaticus12231
@phusicus_404
@phusicus_404 Жыл бұрын
Hi, is this project in production now? I'd like to actually search courses.
@AquaQuokka
@AquaQuokka Жыл бұрын
Inaccurate, no thigh-high socks.
@ClasicRando
@ClasicRando Жыл бұрын
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 Жыл бұрын
or asking chat gpt to make seeding script
@haydra9380
@haydra9380 Жыл бұрын
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
@karlkarlsson9699
@karlkarlsson9699 Жыл бұрын
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 Жыл бұрын
and then you end up downloading the Network Rail open data feeds to find the duration between the nearest train stations to
@bigerrncodes
@bigerrncodes Жыл бұрын
Its just deek-struh for pronunciation sake
@unicodefox
@unicodefox Жыл бұрын
@@bigerrncodes dyk-stra*
@w花b
@w花b Жыл бұрын
​@@bigerrncodesdjeek-strah
@zwwz1424
@zwwz1424 Жыл бұрын
@@bigerrncodesthe way non dutch people pronounce his name is so hilarious
@BradenJohnYoung
@BradenJohnYoung Жыл бұрын
Is this what qualifies as a huge database these days?
@Laflamablanca969
@Laflamablanca969 Жыл бұрын
Only for the soy devs
@Dom-zy1qy
@Dom-zy1qy 11 ай бұрын
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.
@mwguy
@mwguy Жыл бұрын
Just use postgis extension to postgresql for filter/sort by geo location
@yjawhar
@yjawhar Жыл бұрын
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 Жыл бұрын
If you're going to store the database in redis, why not use persistent redis and get rid of postgress?
@olgierd245
@olgierd245 Жыл бұрын
Waiting for more! Keep up the good work, I'm curious what comes out of it.
@Yassinius
@Yassinius Жыл бұрын
2:10 You should pronounce it as "Daykstra" you silly Brit.
@kehan6252
@kehan6252 Жыл бұрын
1:14 can someone please tell if this is bad code or not? It seems alright to me
@lutzmmobil
@lutzmmobil Жыл бұрын
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.
@ph03n1x_dev
@ph03n1x_dev Жыл бұрын
you should've asked me how to pronounce "dijkstra's algorithm" 😂 it's a dutch name. great video btw❤
@conaticus
@conaticus Жыл бұрын
😂thanks, i hope dijkstra doesn't see this video
@ph03n1x_dev
@ph03n1x_dev Жыл бұрын
@@conaticus i think it's impossible for him to see this.... 😂
@baxkill
@baxkill Жыл бұрын
@@ph03n1x_dev What happened to him? is he having problems with his KZbin account?
@borhaneddineguemidi6402
@borhaneddineguemidi6402 Жыл бұрын
For a quick a dirty way to calculate the distance you could use the openstreet/osrm open source project
@AndrewTSq
@AndrewTSq Жыл бұрын
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
@ikbenwelthuis
@ikbenwelthuis Жыл бұрын
Please tell me you're using Data Transfer objects because I didn't see them anywhere.
@Rami-fq4lr
@Rami-fq4lr Жыл бұрын
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
@0xsixneufquatredeuxzero
@0xsixneufquatredeuxzero Жыл бұрын
What is the music from 1:27?
@cxarra
@cxarra Жыл бұрын
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).
@denitechYT
@denitechYT Жыл бұрын
HUGE database eh Con?👀
@delofon
@delofon Жыл бұрын
2:11 "daixtra" or smth like that
@Strawberry_Htet
@Strawberry_Htet Жыл бұрын
I also once calculated the geocoordinate. Bruteforced to map out the house numbers to lat and long😂. LoL
@fullstack_journey
@fullstack_journey Жыл бұрын
wouldn't it be easier to use elastic search.
@Yett1hhh
@Yett1hhh Жыл бұрын
using Djnago for the backend woulda save alot IMO
@johanrong
@johanrong Жыл бұрын
Which countries does this include?
@conaticus
@conaticus Жыл бұрын
Just the UK for the moment! That's all the dataset provides for now sadly
@johanrong
@johanrong Жыл бұрын
@@conaticus Alright
@ljreinworth
@ljreinworth Жыл бұрын
conaticus upload (real)
@SteveBClark
@SteveBClark Жыл бұрын
Why, you don't live stream it ... I love your live stream
@madhav1861
@madhav1861 3 ай бұрын
Sometime it takes s week to debug
@ok-alarm
@ok-alarm Жыл бұрын
rebuild everything in rust 😅
@yungifez
@yungifez Жыл бұрын
Should i build this but for Canada 😂😂
@boris5937
@boris5937 Жыл бұрын
1min out of 5min video being an ad? RAGGGHHHHH
@re.liable
@re.liable Жыл бұрын
Interesting
@yusfcag
@yusfcag Жыл бұрын
Nice
@bruhbruh0000
@bruhbruh0000 Жыл бұрын
nice
@Duluper
@Duluper Жыл бұрын
Idk what to comment
@AliveOP
@AliveOP Жыл бұрын
W
@GdeVseSvobodnyeNiki
@GdeVseSvobodnyeNiki Жыл бұрын
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.
@ayushmishra6077
@ayushmishra6077 Жыл бұрын
Why are his lips so red No gay
I Made a FAST Search Engine
8:17
conaticus
Рет қаралды 160 М.
I Learnt Another JavaScript Framework
6:09
conaticus
Рет қаралды 24 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 247 М.
The purest coding style, where bugs are near impossible
10:25
Coderized
Рет қаралды 1 МЛН
I Built An App To Speed Up Coding Using AI
3:30
Harrish
Рет қаралды 836
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,6 МЛН
I Built a FAST Package Manager (in Rust)
7:36
conaticus
Рет қаралды 36 М.
5 advanced coding projects to expose you to complex concepts
10:24
Bennett Garner
Рет қаралды 79 М.
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 611 М.
The Algorithm Behind Spell Checkers
13:02
b001
Рет қаралды 420 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 901 М.
world's shortest UI/UX design course
6:53
Juxtopposed
Рет қаралды 1,4 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН