Some Tech I Wish I Learned Sooner

  Рет қаралды 15,493

Ben Davis

Ben Davis

Күн бұрын

AWS, SQL, Linux, and more, this is basically just skill issues: the video

Пікірлер: 65
@rod6722
@rod6722 11 күн бұрын
Docker for me. Thought it was some extremely convoluted thing, turns out it's not that hard to understand and actually super convenient!
@bmdavis419
@bmdavis419 11 күн бұрын
FUCK I should have included that, 100% same
@RemotHuman
@RemotHuman 10 күн бұрын
I just learned the basics of dockerfiles recently. I thought it could have been made simpler by just having it be a superset of bash files instead of its own language: start from a consistent base image like the real docker does, and just tell it what commands to run to set up the system to your liking. There is probably something wrong with this idea idk, maybe it wouldn't work irl for some reason like maybe important security updates to the lts linux version your using need to be run but will end up breaking your commands in practice, or maybe I am missing an important usecase for docker that this wouldn't support, I basically just used it for upload a web service to railway
@throwaway-lo4zw
@throwaway-lo4zw 10 күн бұрын
for sure
@claytonkruse
@claytonkruse 8 күн бұрын
Definitely what I would have said.
@stanleyvandenbos
@stanleyvandenbos 7 күн бұрын
I still want to learn Docker. It feels so big for some reason. I've tried a couple of tutorials before but it doesn't make sense yet. Any tips on where to start or any great tutorials I should watch or read?
@PraiseYeezus
@PraiseYeezus 10 күн бұрын
Honestly Postgres is the gift that keeps on giving. Foreign data wrappers, JSON column storage, time-series data, semantic search, even queues can all be built on it. Honestly the most useful and versatile piece of tech that exists in software development outside of maybe Docker.
@nosajboodhan64
@nosajboodhan64 6 күн бұрын
Jack Harlow can really code 😂
@GrimaldGorb
@GrimaldGorb 5 күн бұрын
22 is still young bro, not a fossil, I'm 31 and still learning it.
@gauthamvijayan
@gauthamvijayan 7 күн бұрын
The OAuth 2.0 said here is a hidden gem which is missed by many. As our application grows, we need to access other 3rd party data sources. Understand how access tokens an refresh tokens work and then integrating them into our custom backend is a must.
@bmdavis419
@bmdavis419 7 күн бұрын
Learned this one the hard way lol
@tom.watkins
@tom.watkins 10 күн бұрын
Love the honest takes here, the best engineers often go on this type of journey. I still remember when the idea of running JS on the server was a mind boggling concept for me as a mostly front end developer when node was blowing up 😅
@anthonygayflor
@anthonygayflor 10 күн бұрын
“Drizzle tricked me into using SQL” hahahaha
@thompson_ian
@thompson_ian 11 күн бұрын
We have a very similar story when it comes to web development. I’m 23 and began learning web stuff around 2020ish. Before that, I mainly did iOS related projects in Swift. I thought web development was a beast I’d never be able to learn, after attempting to learn how to use react a few times. Then I found Svelte and everything changed lol. Programming has always been a hobby and I have no formal training nor is it my profession (I am a school teacher), but you’re definitely right; it is crazy to go back to past projects and see how much you really didn’t know.
@abdirahmann
@abdirahmann 5 күн бұрын
here's sth else you'll wish you learnt earlier when you progress in your career, its Networking!!, learn vlans, subnets, route tables, routing protocols, BGP and just general advanced networking, it makes you a wizard when you combine it with development, the amount of dev youtubers that don't know a good bit of networking is mindblowing!!!, this helps a ton when your infra is self hosted but also in big entreprises in the cloud etc.😊
@UliTroyo
@UliTroyo 10 күн бұрын
The more tools to use, the harder it becomes to gauge how much context you've gained. I'm here laughing at my old self having tough times with JS tooling, future me is over there laughing at how much trouble I'm having with WebGL.
@gauthamvijayan
@gauthamvijayan 7 күн бұрын
Resonates with me. Now I am jumping more into Postgres and backend in general.
@JS_Jordan
@JS_Jordan 11 күн бұрын
Nice vid man, for me 100% it’s just networking in general. I thought things like load balancers were this crazy thing and that’s why serverless was invented but anyone could learn it in a week
@JS_Jordan
@JS_Jordan 11 күн бұрын
Also agree with you that gcp sucks ass
@Restai
@Restai 10 күн бұрын
I would try neon as a Postgres provider (Yes, I know there are some hell stories). But 300 USD sounds really expensive
@webpkric
@webpkric 11 күн бұрын
Can you go into when and how people get surprise AWS bills? Is there a service where that will not happen. I am ok my website not working but don't want a surprise bill. Is there a guide for that.
@bmdavis419
@bmdavis419 11 күн бұрын
Anything that can "scale infinitely" (lambdas, queues, etc.) are vulnerable to this. Often what happens is either 1, a DDOS attack or 2, they accidently recursively call some function and it runs infinitely building up obsene amounts of compute. The most important thing is to put rate limiters on your stuff (I recommend upstash) and test it to ensure nothing can self reference
@RemotHuman
@RemotHuman 10 күн бұрын
What you could do is try to pull the plug once the spending starts to get too high. I think there is a service in AWS where you can set up a webhook or something once your billing goes over a certain limit, then you have to code it yourself to shut down your other services (I guess this could be a benefit because you could hook it up to only shut down if your profit or other metric is not spiking too, aka its a ddos or bug and not your product going viral). in some other cloud solutions such as vercel (which is a basically just a nicer but more expensive wrapper around aws) there is a setting to pause your entire project after a certain spend threshold
@tcurdt
@tcurdt 10 күн бұрын
You can specify a monthly budget and get notified when you surpass that. This will probably not safe you from quick spikes though. Not really great. I am sad that they get away with this.
@skyhappy
@skyhappy 10 күн бұрын
Should've used gcp over aws. gcp dx is so much better, for a saas idea I switched to it last week from aws. One example: gcp logs feels like a modern car, very powerful and intuitive UI/UX while aws cloudwatch logs is decades behind. My research on reddit about people who used both clouds is that gcp has better dx. Don't get me started on gcp cloud run vs. aws app runner. The latter is notorious for crappy logging.
@aldierygonzalez7249
@aldierygonzalez7249 10 күн бұрын
Isnt their SQL really expensive?
@skyhappy
@skyhappy 10 күн бұрын
You should check out convex, it's supabase but better. It has built in type safety (you define ts types when making the db schema), and for serverless functions, blows supabase out of the water.
@okkashaally2115
@okkashaally2115 9 күн бұрын
Don't compare anything with Supabase
@ultrasive
@ultrasive 10 күн бұрын
Unfortunately I think my old projects where i leaned on Prisma; a ton have grown so far and have other people working on them that I can no longer switch it out for Drizzle, i can only do that for new projects. Even in golang i used to use GORM and still do because i thought it was the only way to protect myself from sql injection.
@sylarfx
@sylarfx 8 күн бұрын
dude GCP is fine in comparison with AWS, AWS is fine in comparison with Azure, you should give GCP a second try
@fakebizPrez
@fakebizPrez 7 күн бұрын
Stay away from all cloud providers. Take the time to setup a VPS correctly and when you have a product that scales your profit will be significantly more.
@duckblast
@duckblast 6 күн бұрын
It depends on the application (some architecture like event driven stuff could benefit from serverless) but most of the time yeah.
@massy-3961
@massy-3961 11 күн бұрын
Hey Ben if your ever trying to get back into the Golang world, there’s a cool new technology called Connect which is an RPC like tRPC but with basically any language to any language. I know you love that shared types and dev experience.
@snipernosnipey8162
@snipernosnipey8162 10 күн бұрын
I hate mongo, but during Covid everyone was pushing it. Wish I started wtih psotgres.
@lcarv20
@lcarv20 10 күн бұрын
You should try cloud run from gcp. Pretty simple
@alibarznji2000
@alibarznji2000 10 күн бұрын
SQL is the OG. I have to add though, when it comes to cloud providers, AWS while being the best option, your apps shouldn't rely on it too much. I've gotten to the point that I think apart from S3 and EC2 instances and maybe a little bit of lambda, you shouldn't do too much on there, your costs are gonna stack up. your mindset should be not to be too dependent on anything ,whether it being a library or a giant cloud provider, if your programming language is not scaling up better (cough Javascript cough cough), you should move on from it, especially on the backend, and I'm not saying this lightly as I've been a Nodejs dev for almost 6 years.
@sfulibarri
@sfulibarri 10 күн бұрын
Be careful with lambda, it feels really nice up front but a whole world of pain awaits.
@victorbuikem
@victorbuikem 10 күн бұрын
It's a monstrosity but a beautiful monstrosity 🔥🔥
@smrdotgg
@smrdotgg 10 күн бұрын
Did you use AWS raw or with SST?
@smrdotgg
@smrdotgg 10 күн бұрын
or any other tool?
@adolfomartin5456
@adolfomartin5456 8 күн бұрын
No Docker, AH AH AH AH AH
@tcurdt
@tcurdt 10 күн бұрын
AWS works reliable - but the DX is still awful.
@skyhappy
@skyhappy 10 күн бұрын
GCP gang rise up! As someone who migrated from aws app runner to gcp cloud run last week. GCP is 100 years ahead.
@PTBKoo
@PTBKoo 10 күн бұрын
Sst fixes that
@tcurdt
@tcurdt 9 күн бұрын
@@PTBKoo Partially.Last time I checked one would still need to use the horrific AWS console from time to time. And IAM permission management is still all but KISS. Feels like they rather sell certifications than to improve.
@boccobadz
@boccobadz 10 күн бұрын
ORM is just OOP guys getting their way lol. There's a reason why nobody uses OOP in the real world. Why would you willingly give up on the power of Postgres (eg loops, triggers, etc)? ORM is good for "react bros" whose most complicated queries is 'select * from xyz where clientId=abc'. Anything even remotely complicated falls apart. Remember, SQL code written once will work forever (if schema stays the same); you can't be sure it will be the same with any ORM-based code.
@KingMinePlay
@KingMinePlay 10 күн бұрын
OOP is used in the real world everywhere I don't know what you are talking about. You can always write raw SQL queries even if you are using an ORM. I personally prefer plain SQL and you are absolutely right that it is the only option when doing really complex stuff.
@tinahalder8416
@tinahalder8416 10 күн бұрын
OOP is used everywhere lmao. ORM is also extensively used. This KZbin uses Both ORM and OOPS
@art-ificialblon-die7013
@art-ificialblon-die7013 10 күн бұрын
Another one of these OOP-haters. Please, try writing enterprise-scale software using just procedural/functional programming. There's a reason why OOP exists and it's not for elitist programmers to ejaculate themselves over their own pet project.
@M0J0-RL236
@M0J0-RL236 7 күн бұрын
have you ever worked in the real world? Wdym OOP isn't used lmfao
@tobychidi
@tobychidi 10 күн бұрын
Have you tried Lucia for Auth?
@DitherWither
@DitherWither 10 күн бұрын
I don't get why anyone would use lucia, writing your own cookie or bearer token auth is simpler, and oauth is simple enough that you don't even need a library for it
@tobychidi
@tobychidi 10 күн бұрын
@@DitherWither I think the better question would be why not?
@tobychidi
@tobychidi 10 күн бұрын
@@DitherWither Will also definitely be looking deeper into OAuth implementation soon.
@DitherWither
@DitherWither 10 күн бұрын
@@tobychidi It might just be me, but it took more time to use lucia than to simply use my backend framework's built in signed cookies with postgres's uuid Use uuids as the primary key for your users table, and then set a signed cookie with the uuid as the content. Do you need to make a database query every request? yes, but its good enough for smaller projects
@cotyhamilton
@cotyhamilton 10 күн бұрын
Lucia is great
@user-td5gy2fh3p
@user-td5gy2fh3p 10 күн бұрын
Maybe you should focus on... you know... computer science instead of chasing web dev, then you won't have these skill issues. Any good computer science program would have taught you fundamentals, including SQL, to not have the issues you're referring to. Because of this, I'm sure that you do not have a computer science degree. Furthermore, I'm also sure you aren't even interested in the topic to look up these things on your own. That is why web devs like yourself get so much hate.
Unexpected Lessons I've Learned After 15 Years Of Coding
43:05
Theo - t3․gg
Рет қаралды 67 М.
Higher-Order Components Are Misunderstood In React
17:38
Jan Hesters
Рет қаралды 1,1 М.
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
The FASTEST way to PASS SNACKS! #shorts #mingweirocks
00:36
mingweirocks
Рет қаралды 16 МЛН
小丑在游泳池做什么#short #angel #clown
00:13
Super Beauty team
Рет қаралды 36 МЛН
Setting up a production ready VPS is a lot easier than I thought.
29:50
The Weird Rise Of Anti-Startups
12:57
Enrico Tartarotti
Рет қаралды 263 М.
OpenAI Releases GPT Strawberry 🍓 Intelligence Explosion!
21:21
Matthew Berman
Рет қаралды 219 М.
AWS CEO - The End Of Programmers Is Near
28:08
ThePrimeTime
Рет қаралды 455 М.
is apple intelligence safe?
10:39
Low Level Learning
Рет қаралды 91 М.
OpenAI o1 is Better Than I Expected
17:11
NeetCodeIO
Рет қаралды 78 М.
No-Nonsense Backend Engineering Roadmap
10:16
Codebagel
Рет қаралды 197 М.
Why More People Dont Use Linux
18:51
ThePrimeTime
Рет қаралды 216 М.
Replace Is Number Saves 440GB A WEEK
9:54
ThePrimeagenClips
Рет қаралды 155 М.