It’s a cool language but some of the syntax can just fuck offff
@doryan087 сағат бұрын
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.
@vcool7 сағат бұрын
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.
@frd857 сағат бұрын
awesome video
@ltecheroffical8 сағат бұрын
You can remove the browser part by using a web scraping framework that works without a browser instance.
@follantic8 сағат бұрын
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.
@pweddy19 сағат бұрын
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.
@dreamsofcode9 сағат бұрын
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.
@fahim04041509 сағат бұрын
Great video. Could you please tell me what font you are using?
@dreamsofcode9 сағат бұрын
JetBrainsMono Nerd Font!
@momensy21369 сағат бұрын
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 ❤🔥.
@dreamsofcode9 сағат бұрын
Thank you! I appreciate that a lot!
@angeldude10110 сағат бұрын
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.
@HikarusVibrator10 сағат бұрын
anyone know what font is used in the code snippets?
@berndeckenfels11 сағат бұрын
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.
@luigidabro11 сағат бұрын
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.
@dreamsofcode11 сағат бұрын
Thank you so much! I'm really glad people enjoy it! Was a complete labor of love :)
@jaddadzakaria12 сағат бұрын
Hey, i just want to know with what tool do you make this smooth and beautiful presentations and thanks guys
@dreamsofcode12 сағат бұрын
This was done pretty much exclusively with Adobe After Effects for the animations, and Davinci Resolve for the final editing!
@bnchi12 сағат бұрын
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.
@ericlindell377714 сағат бұрын
Great vid!
@dreamsofcode13 сағат бұрын
Thank you!
@paddingbox984514 сағат бұрын
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?
@dreamsofcode13 сағат бұрын
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
@GottZ14 сағат бұрын
this knowledge is gold..
@conaticus15 сағат бұрын
Amazing video as always! If only everybody taught this efficiently on KZbin 😄
@greasedweasel808716 сағат бұрын
5:54 the only thing better than the Lost reference is the rest of the video
@shuaibkhan777516 сағат бұрын
Hoping for B-tree ds in the next video
@ththththththththth16 сағат бұрын
4 8 15 16 23 42
@GabrielFury-mg8du17 сағат бұрын
I love your appreciation of Lost
@dreamsofcode16 сағат бұрын
My go to set of numbers! I'm glad you noticed haha
@nessitro17 сағат бұрын
I'll share this one with my friends, very informative!
@fahimferdous164117 сағат бұрын
new CS playlist loading?
@dreamsofcode16 сағат бұрын
You've found me out! 😄
@paddingbox984514 сағат бұрын
@@dreamsofcode I can't wait!!
@avishjha403017 сағат бұрын
Elegant as always! Also, nice play there with the git dates and commit messages!
@bibekjha562818 сағат бұрын
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_regularlove18 сағат бұрын
Would love a video going into the differences between binary trees and B-trees.
@dreamsofcode17 сағат бұрын
Absolutely! I'll add that to my backlog 😁
@angeldude10110 сағат бұрын
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_regularlove6 сағат бұрын
@@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.
@a1mer0618 сағат бұрын
I wish I had this video back in my first Uni semester 😭
@Simple_OG18 сағат бұрын
code aesthetic, dreams of code similar logo similar video style so much confusion
@phpsoftwareengineering18 сағат бұрын
Such a great video! Thanks!
@dreamsofcode18 сағат бұрын
Thank you! I'm glad you enjoyed it
@robertwhite350319 сағат бұрын
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-tomorrow742516 сағат бұрын
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 :) )
@angeldude1019 сағат бұрын
"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.
@muhammadnaqi424219 сағат бұрын
The quality of the animation of this video is really really impressing.
@dreamsofcode18 сағат бұрын
Thank you!
@paddingbox984514 сағат бұрын
@@dreamsofcode nice work
@SecretX18 сағат бұрын
@@dreamsofcode How do you create these animations? That could be the topic of a future video. Keep the good work!
@dreamsofcode8 сағат бұрын
@@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.
@uomolercio199219 сағат бұрын
Can you do quicksort and mergesort?
@dreamsofcode18 сағат бұрын
I absolutely can!
@anthonyraf19 сағат бұрын
In french we call it "recherche dichotomique". But the array needs to be sorted first.
@fateriddle1420 сағат бұрын
I hope people support these type of videos, instead of those IT drama shows.
@Eckster16 сағат бұрын
Agreed, good content right here
@dboydomr13 сағат бұрын
What is an It drama show?
@XDarkGreyX11 сағат бұрын
Uhm... and if people enjoy those? Also, they can enjoy both types....
@Redyf20 сағат бұрын
hello everynyan
@msalih20 сағат бұрын
binary search is used in Blind SQL Injection attacks
@robin-lol20 сағат бұрын
Nice little XZ reference you snuck in 🤭
@idontknowwhatimdoingwhatistobe20 сағат бұрын
loved this. please if possible do make more videos on algorithms and data structures.
@dreamsofcode18 сағат бұрын
Absolutely!
@paddingbox984514 сағат бұрын
@@dreamsofcode thank you
@yugalkhanal696720 сағат бұрын
first
@goporororo740420 сағат бұрын
I was first
@goporororo740420 сағат бұрын
1 min no views
@goporororo740420 сағат бұрын
Bro fell off
@goporororo740420 сағат бұрын
Bro fell off
@jatinjoshi989720 сағат бұрын
0 minutes ago is crazy!
@asdasdaa7063Күн бұрын
GIB MORE PostgreSQL's VIDEOS >:(
@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Күн бұрын
:sob: I apologize. I have a much slower paced video coming out tomorrow.
@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Күн бұрын
You can use some other waiting protocols, such as an open port
@nirjalbista9881Күн бұрын
Sorry bro, it didn't work and doesn't shows the install plugins just like you showed on the video.
@dreamsofcodeКүн бұрын
Make sure you're using the correct version. The link is in the description!
@liyuefu3 күн бұрын
How to disable SIGUSR2 during debug with dap and nvim ? Thanks.
@motbus33 күн бұрын
2:20 if you build release mode, it seems it resolves it automatically
@cloudboogie3 күн бұрын
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.
@dreamsofcode3 күн бұрын
I'm actually working on a video about zsh now! It'll be on my other channel: Dreams of Autonomy
@tonysanchez10003 күн бұрын
for silicon, is there a way to bypass saving the screenshot, and just directly copy it to your clipboard?