Using docker in unusual ways
12:58
Should you learn Elixir in 2024?
6:34
Should you learn C++ in 2023?
8:06
The perfect Neovim setup for C++
17:45
Пікірлер
@changthunderwang7543
@changthunderwang7543 4 сағат бұрын
It’s a cool language but some of the syntax can just fuck offff
@doryan08
@doryan08 7 сағат бұрын
Please do more videos about other algorithms and their application on real life like Dijkstra or A*. The animation that you use is very useful to understand those.
@vcool
@vcool 7 сағат бұрын
Pro tip: Learn it if you have a personal concurrency project to implement in it that you intend to maintain for years to come. Do not learn it to get a new job in it, as the jobs are extremely rare, and moreover they require years of experience.
@frd85
@frd85 7 сағат бұрын
awesome video
@ltecheroffical
@ltecheroffical 8 сағат бұрын
You can remove the browser part by using a web scraping framework that works without a browser instance.
@follantic
@follantic 8 сағат бұрын
Also very useful when you can test if a value is too small or too large, but not the desired value. Such as an auto grow text area.
@pweddy1
@pweddy1 9 сағат бұрын
I feel like we need Donald Knuth to reply to this. "Premature optimization is the root of all evil." Never implied that you should not ever optimize your code for any reason. And I kind of feel like that's what the "more readable" advocacy is for. I spent an entire entire semester using recursion and dynamic memory allocation. Just for the last few classes to tell you, you could do all the same things using arrays and it's way faster.
@dreamsofcode
@dreamsofcode 9 сағат бұрын
The point of this video is more about languages that don't have iteration and how that works. Not sure where "premature optimization" fits in here. That's a whole nother kettle of fish.
@fahim0404150
@fahim0404150 9 сағат бұрын
Great video. Could you please tell me what font you are using?
@dreamsofcode
@dreamsofcode 9 сағат бұрын
JetBrainsMono Nerd Font!
@momensy2136
@momensy2136 9 сағат бұрын
I really feel so lucky that i found your channels Please keep up on the content, can't wait to see your channel grows well and get what it deserves ❤🔥.
@dreamsofcode
@dreamsofcode 9 сағат бұрын
Thank you! I appreciate that a lot!
@angeldude101
@angeldude101 10 сағат бұрын
One of the reasons to prefer linear search over binary search is the cache, since reading one value will make the CPU implicitly fetch the values around it, and if you can use those rather than discarding all of them and jumping away, then the fewer data transfers can actually trump the fewer operations of the binary search. However it is actually possible to get the best of both worlds, with fewer comparisons while still respecting the cache. It just requires an unusual form of sorting. The structure is similar to an array-backed heap, but the order of the nodes is that of a traditional binary search tree. This type of structure was first described by Michaël Eytzinger in 1590 for efficiently searching through genealogical data and a person's ancestry... on paper.
@HikarusVibrator
@HikarusVibrator 10 сағат бұрын
anyone know what font is used in the code snippets?
@berndeckenfels
@berndeckenfels 11 сағат бұрын
Unlike b- or binary trees a sorted array has zero (pointer) overhead, so it’s great when it can be pre-calculated and is static.
@luigidabro
@luigidabro 11 сағат бұрын
This video is the greatest example of explanation. You even care for edge cases of the algorithm. I love that detail at 2:01. The animations are great, too! This video is truly a masterpiece.
@dreamsofcode
@dreamsofcode 11 сағат бұрын
Thank you so much! I'm really glad people enjoy it! Was a complete labor of love :)
@jaddadzakaria
@jaddadzakaria 12 сағат бұрын
Hey, i just want to know with what tool do you make this smooth and beautiful presentations and thanks guys
@dreamsofcode
@dreamsofcode 12 сағат бұрын
This was done pretty much exclusively with Adobe After Effects for the animations, and Davinci Resolve for the final editing!
@bnchi
@bnchi 12 сағат бұрын
I'm new to rust and take what I'm gonna say with a grain of salt I could be wrong, but In chapter 10 you mentioned that the compiler will complain if your state type doesn't implement send + sync + clone, however the compiler only complained cause clone isn't implemented, so you just had to do that in order for the code to compile. I know that wrapping the hashmap with arc and read write lock would make the state thread safe for read and writes but still hashmap auto implement sync + send if you look at the docs.
@ericlindell3777
@ericlindell3777 14 сағат бұрын
Great vid!
@dreamsofcode
@dreamsofcode 13 сағат бұрын
Thank you!
@paddingbox9845
@paddingbox9845 14 сағат бұрын
I really enjoyed it, especially the awesome animations. question: If I want to learn data structures and algorithms, where should I begin? Can you recommend a KZbin channel?
@dreamsofcode
@dreamsofcode 13 сағат бұрын
I haven't found many channels with DSA content personally but I'm sure there are some out there! It'll take me a while to build out my DSA collection. I personally learnt from some great books! I heard that Grokking algorithms is a good one as well which I plan on reading soon
@GottZ
@GottZ 14 сағат бұрын
this knowledge is gold..
@conaticus
@conaticus 15 сағат бұрын
Amazing video as always! If only everybody taught this efficiently on KZbin 😄
@greasedweasel8087
@greasedweasel8087 16 сағат бұрын
5:54 the only thing better than the Lost reference is the rest of the video
@shuaibkhan7775
@shuaibkhan7775 16 сағат бұрын
Hoping for B-tree ds in the next video
@ththththththththth
@ththththththththth 16 сағат бұрын
4 8 15 16 23 42
@GabrielFury-mg8du
@GabrielFury-mg8du 17 сағат бұрын
I love your appreciation of Lost
@dreamsofcode
@dreamsofcode 16 сағат бұрын
My go to set of numbers! I'm glad you noticed haha
@nessitro
@nessitro 17 сағат бұрын
I'll share this one with my friends, very informative!
@fahimferdous1641
@fahimferdous1641 17 сағат бұрын
new CS playlist loading?
@dreamsofcode
@dreamsofcode 16 сағат бұрын
You've found me out! 😄
@paddingbox9845
@paddingbox9845 14 сағат бұрын
@@dreamsofcode I can't wait!!
@avishjha4030
@avishjha4030 17 сағат бұрын
Elegant as always! Also, nice play there with the git dates and commit messages!
@bibekjha5628
@bibekjha5628 18 сағат бұрын
Loved the video and the animation just great hope to see more of this kind of video may be one on breadth first search. ❤️
@dr_regularlove
@dr_regularlove 18 сағат бұрын
Would love a video going into the differences between binary trees and B-trees.
@dreamsofcode
@dreamsofcode 17 сағат бұрын
Absolutely! I'll add that to my backlog 😁
@angeldude101
@angeldude101 10 сағат бұрын
A binary search splits the remaining nodes into two at each node. Similarly, you can make a "ternary search", where you check 2 roughly evenly spaced nodes to determine which of 3 sectioning the desired node is in. A B-tree is ultimately a "variable-ary search tree", where the number of immediate children of a given node isn't a fixed 2 or 3, but can vary depending on the situation, such as based on how many nodes will fit within a pre-decided maximum size when the nodes themselves might not necessarily have a constant size (though they should be the same within a given node to enable random access). Often, finding which child node has a desired value is done with a linear search of the values in the current node.
@dr_regularlove
@dr_regularlove 6 сағат бұрын
@@angeldude101 Thanks for that, yeah I can see how this would lend itself well to use cases such as DB indexing, especially with tunable parameters like that pre-decided maximum size with variably sized nodes like you mentioned. Still would love to see a Dreams of Code style video going into it with the minimalist visual aids that imo can go a long way in terms of really impressing a concept into the brain.
@a1mer06
@a1mer06 18 сағат бұрын
I wish I had this video back in my first Uni semester 😭
@Simple_OG
@Simple_OG 18 сағат бұрын
code aesthetic, dreams of code similar logo similar video style so much confusion
@phpsoftwareengineering
@phpsoftwareengineering 18 сағат бұрын
Such a great video! Thanks!
@dreamsofcode
@dreamsofcode 18 сағат бұрын
Thank you! I'm glad you enjoyed it
@robertwhite3503
@robertwhite3503 19 сағат бұрын
Most arrays are small. A linear scan is fine for small arrays. Larger amounts of data are typically stored in databases which do not used arrays (generally) and are generally based on B-tree as mentioned in the video. B-tree is quite different from binary trees in concept.
@no-tomorrow7425
@no-tomorrow7425 16 сағат бұрын
Yeah, I agree with this point. For large amounts of data one usually just uses the search functionality offered by databases... no need to implement search from scratch (unless one works for a database company :) )
@angeldude101
@angeldude101 9 сағат бұрын
"B-tree is quite different from binary trees in concept." What do you mean? Is a binary tree not simply a B-tree where the minimum and maximum number of child nodes are 0 and 2 respectively? Yes, binary trees are often balanced, but they don't strictly have to be, and B-trees are usually balanced too, though in a slightly different manner.
@muhammadnaqi4242
@muhammadnaqi4242 19 сағат бұрын
The quality of the animation of this video is really really impressing.
@dreamsofcode
@dreamsofcode 18 сағат бұрын
Thank you!
@paddingbox9845
@paddingbox9845 14 сағат бұрын
@@dreamsofcode nice work
@SecretX1
@SecretX1 8 сағат бұрын
@@dreamsofcode How do you create these animations? That could be the topic of a future video. Keep the good work!
@dreamsofcode
@dreamsofcode 8 сағат бұрын
​@@SecretX1 Pretty much all of this was done using Adobe Illustrator and After Effects! I def had to learn a lot. Absolutely would love to do a video on it! There's also some code with after effects expressions.
@uomolercio1992
@uomolercio1992 19 сағат бұрын
Can you do quicksort and mergesort?
@dreamsofcode
@dreamsofcode 18 сағат бұрын
I absolutely can!
@anthonyraf
@anthonyraf 19 сағат бұрын
In french we call it "recherche dichotomique". But the array needs to be sorted first.
@fateriddle14
@fateriddle14 20 сағат бұрын
I hope people support these type of videos, instead of those IT drama shows.
@Eckster
@Eckster 16 сағат бұрын
Agreed, good content right here
@dboydomr
@dboydomr 13 сағат бұрын
What is an It drama show?
@XDarkGreyX
@XDarkGreyX 11 сағат бұрын
Uhm... and if people enjoy those? Also, they can enjoy both types....
@Redyf
@Redyf 20 сағат бұрын
hello everynyan
@msalih
@msalih 20 сағат бұрын
binary search is used in Blind SQL Injection attacks
@robin-lol
@robin-lol 20 сағат бұрын
Nice little XZ reference you snuck in 🤭
@idontknowwhatimdoingwhatistobe
@idontknowwhatimdoingwhatistobe 20 сағат бұрын
loved this. please if possible do make more videos on algorithms and data structures.
@dreamsofcode
@dreamsofcode 18 сағат бұрын
Absolutely!
@paddingbox9845
@paddingbox9845 14 сағат бұрын
@@dreamsofcode thank you
@yugalkhanal6967
@yugalkhanal6967 20 сағат бұрын
first
@goporororo7404
@goporororo7404 20 сағат бұрын
I was first
@goporororo7404
@goporororo7404 20 сағат бұрын
1 min no views
@goporororo7404
@goporororo7404 20 сағат бұрын
Bro fell off
@goporororo7404
@goporororo7404 20 сағат бұрын
Bro fell off
@jatinjoshi9897
@jatinjoshi9897 20 сағат бұрын
0 minutes ago is crazy!
@asdasdaa7063
@asdasdaa7063 Күн бұрын
GIB MORE PostgreSQL's VIDEOS >:(
@revoktorment440
@revoktorment440 Күн бұрын
Dreams of code makes really good videos but as a frontend dev learning go, I gotta watch his vids on 0.75 speed...
@dreamsofcode
@dreamsofcode Күн бұрын
:sob: I apologize. I have a much slower paced video coming out tomorrow.
@kevinmarques9334
@kevinmarques9334 Күн бұрын
But what if the container stops right after it shows the log message? I'm having this problem in a small application and I can't find any function that checks the health of the container even after it stared... :(
@dreamsofcode
@dreamsofcode Күн бұрын
You can use some other waiting protocols, such as an open port
@nirjalbista9881
@nirjalbista9881 Күн бұрын
Sorry bro, it didn't work and doesn't shows the install plugins just like you showed on the video.
@dreamsofcode
@dreamsofcode Күн бұрын
Make sure you're using the correct version. The link is in the description!
@liyuefu
@liyuefu 3 күн бұрын
How to disable SIGUSR2 during debug with dap and nvim ? Thanks.
@motbus3
@motbus3 3 күн бұрын
2:20 if you build release mode, it seems it resolves it automatically
@cloudboogie
@cloudboogie 3 күн бұрын
Can you make a video about customization of ZSH? Maybe comparison with Fish? omz, omf, p10k, etc. And something about shell configuration, maybe dotfile managers video? chezmoi, makup, etc.
@dreamsofcode
@dreamsofcode 3 күн бұрын
I'm actually working on a video about zsh now! It'll be on my other channel: Dreams of Autonomy
@tonysanchez1000
@tonysanchez1000 3 күн бұрын
for silicon, is there a way to bypass saving the screenshot, and just directly copy it to your clipboard?