FUNCTION OVERLOADING IN JAVASCRIPT
3:52
Пікірлер
@deejaysnake
@deejaysnake 27 күн бұрын
Thank you very much
@fatcat500
@fatcat500 Ай бұрын
What's an inflation-safe or even profitable place to put $1,000,000 then? Gold?
@JoelCodes
@JoelCodes Ай бұрын
I don't think there's anything that could be considered "safe". Any investment that claims to beat inflation will come with risk.
@WoJackHorseman24
@WoJackHorseman24 Ай бұрын
The point about inflation is valid, but a few details about taxes (for US residents) are missing. The standard deduction of $13,850 could apply here, reducing the actual taxable income to $36,150. With progressive taxation, the effective tax rate would be approximately 8.24%, resulting in $4,118 in taxes for this example. If given a million dollars, one could invest in high-yield income ETFs like JEPI, JEPQ, SPYI, etc., and yield about 10% annually without significant NAV decline (so far, anyway). Most people could live on a $100,000 income, assuming they aren't trying to live somewhere expensive like San Francisco
@JoelCodes
@JoelCodes Ай бұрын
Yep, your tax rate will affect the formula. If you have a lower tax rate, you'll benefit more. There are also other types of investments, that have more tax advantages and that would also massively affect the forumula.
@ethandavidson3395
@ethandavidson3395 Ай бұрын
Long time no see! Welcome back 😎
@JoelCodes
@JoelCodes Ай бұрын
Thanks a bunch. Appreciate the welcome. It's honestly very hard for me to make videos today and took a lot out of me to create this one. I wish I could do more here and honestly don't know when the next one will be. I have some ideas I just need the motivation :D
@NVIDIA_GeForce_Game_Ready_Driv
@NVIDIA_GeForce_Game_Ready_Driv Ай бұрын
when i use this i only get a https link, how can i also get an http link?
@yosoyjaff
@yosoyjaff 2 ай бұрын
Do you have any update for this?
@pawanojha1171
@pawanojha1171 3 ай бұрын
3 years later and this video is still a goldmine, Thanks Joel!
@kashmirtechtv2948
@kashmirtechtv2948 3 ай бұрын
Need to have videos on working on already very complex codebases where even a simple navigation requires changes in a lot of files... Like even some text is coming from some file. What will we call that type of code structure like if we want to explore more
@kashmirtechtv2948
@kashmirtechtv2948 3 ай бұрын
❤❤
@ExtraTurtle
@ExtraTurtle 6 ай бұрын
I love this explanation. people always talk about these things without mentioning closures. this really helps to understand the solution.
@satadhi
@satadhi 6 ай бұрын
i did not really get the explaination; care to elaborate. So my understanding is when i click the button multiple times, Multiple closures will be created and the canceled variable will be local to each on of them then how the communication between two different instaces of function call is taking place here ?
@kashmirtechtv2948
@kashmirtechtv2948 4 ай бұрын
I didn't get about closures here!!
@user-dm5ss5md2q
@user-dm5ss5md2q 7 ай бұрын
how can i delete a particular key from kv store?
@rtorcato
@rtorcato 9 ай бұрын
For anyone watching after 2023 you might want to skip Amazon s3 and host at Cloudflare R2. Cloudflare doesn't charge egress fees on object storage.
@DigiNums
@DigiNums 9 ай бұрын
Hi from shanghai
@Mement0Mori__
@Mement0Mori__ 10 ай бұрын
Dope! Great video man!
@Dongobog-ps9tz
@Dongobog-ps9tz 10 ай бұрын
What's actually wrong with that first function, it's perfectly legible? Like I can get doing this for nested if statements but the first example feels like dogma.
@HelloForeignWorld
@HelloForeignWorld 10 ай бұрын
Having an “early return” in a function is a symptom of an illness called “my language lacks expressions”. A function should have a single return statement on bottom of it.
@jochenhammer2520
@jochenhammer2520 10 ай бұрын
Fully agree! Even more, for example in Automotive Software with Safety Level according ISO26262 multiple return statements in a function are forbidden.
@lynskyrd
@lynskyrd 10 ай бұрын
YES! - 'early returns' are a bug chasing nightmare. The ONLY time an early return is acceptable is at the very beginning of the function- just as a way to 'disqualify' getting there in the first place and even then... you need to question WHY the function was even called. And don't get me started on bailing out early on 'for/foreach' loops.
@raisama4314
@raisama4314 11 ай бұрын
Do you have eye problem why do you blink so much?
@404Negative
@404Negative 11 ай бұрын
how to "simulate" operator overloading ?
@marianogonzalez6708
@marianogonzalez6708 Жыл бұрын
What about if I have various tables components, and each of them make a fetch? In my case, the fetch gives me data from backend and when I try to render in its respective table, data is not located in its respective table but in another? I dont want to cancel the fetch, I want to put the data into de correct table any time render the table component
@a.k.p7030
@a.k.p7030 Жыл бұрын
please tell me what does Operations/worker invocation limit 1000 means? KV limits docs says that there will be 1000 limit on both free and paid plan.
@susiebaka3388
@susiebaka3388 Жыл бұрын
Joel you're a God among mortals in this KZfaq wilderness
@susiebaka3388
@susiebaka3388 Жыл бұрын
Thanks for this it summed up some things I already felt intuitively but feel more sure of now
@susiebaka3388
@susiebaka3388 Жыл бұрын
thanks joel simple and to the point wouldnt have heard of this library otherwise
@susiebaka3388
@susiebaka3388 Жыл бұрын
omg mark cuban
@mohitmohlia8420
@mohitmohlia8420 Жыл бұрын
can you share your vs code theme?
@_chris_6786
@_chris_6786 Жыл бұрын
Even better in 1 line, if you want to return true or false base on the existence of a value, then you can do: function myFunc(p) { return (!!p); } If "p" has a value, it will return true. false otherwise.
@MuhammadImran-yr4pl
@MuhammadImran-yr4pl Жыл бұрын
you didn't give the source media file so i used some other photos as a source, but it's not working. though application is running but photo resizing mechanism is not working
@markdittrich2707
@markdittrich2707 Жыл бұрын
Crazy fire🔥
@sudhanshusharma9159
@sudhanshusharma9159 Жыл бұрын
you deserve lots of subscriptions. waiting for more knowledge sharing. Thanks for this.
@sudhanshusharma9159
@sudhanshusharma9159 Жыл бұрын
good one
@bntheyoutube
@bntheyoutube Жыл бұрын
Great video! I am curious if you have a solution to pass a predetermined list to each thread? Instead of each thread having to process the entire list. Hopefully that makes sense... thoughts?
@DnKZone
@DnKZone Жыл бұрын
You made it super easy!! Bet no one can teach clustering that much easy. Subscribed :)
@thelastninja4825
@thelastninja4825 Жыл бұрын
thank you
@alpha6.049
@alpha6.049 Жыл бұрын
Hi...I just wanted to say thank you for such a nicely done tutorial...I have one question though...I applied this method on one of my vps servers...I just wanted to know that does this turn my vps into a worker? and also does it still process certain number of requests based on the plan or no, it will be almost unlimited? Thank you :)
@monarchgam3r
@monarchgam3r Жыл бұрын
What font is this please
@ibrahimhusssein524
@ibrahimhusssein524 Жыл бұрын
hi, Joel I was trying to follow up with this code but how do I get this project up and running, each time I try npm start, or npm run dev, I keep on getting the same error which is "import marked from marked " syntaxError: the requested module 'marked' does not provide an export named 'default'
@tlita93
@tlita93 Жыл бұрын
I doubt that you'll see the comment, since it's an older video and it seems that you are not making dev videos anymore, but it's worth a try. :) How would you reccomend fetching APIs with lots of paginated data? By lots I mean thousands, which break the Worker request time limit almost always, especially if you combine a couple of APIs like that, so the request is pretty long. Cheers and thanks in advance 🙂
@sajad2126
@sajad2126 Жыл бұрын
360p ?
@phpmvk1
@phpmvk1 Жыл бұрын
Hi Joel, thanks for the helpful video! Just to confirm, at 3:05 you mention apply() is almost the same as bind(). Did you mean to say that apply() is almost the same as call(), with the difference being apply() expects the arguments in array format?
@CathalMacDonnacha
@CathalMacDonnacha 10 ай бұрын
You're correct.
@RohitSharmaYT
@RohitSharmaYT Жыл бұрын
how to add bunny cdn with s3
@Espionok
@Espionok Жыл бұрын
im developing on windows but hosting it on ubuntu. It works fine grabbing the env variables from windows, but once on linux it states theres no config files in that same directory despite there being the same ones. I am running it through a systemd service unit, and i do know that it works when i run it via the command line in its directory. Any ideas?
@pradipspeaks9395
@pradipspeaks9395 Жыл бұрын
Thank you. Sir how to add the AirBnp ruledeck?
@thewetfly9207
@thewetfly9207 Жыл бұрын
I am master, I am cluster. I am master of clusters 😉Like & sub, thanks for sharing.
@KallolMedhi
@KallolMedhi Жыл бұрын
the husky part is outdated otherwise this is a very good video. Thanks Bro
@howdy_suraj
@howdy_suraj Жыл бұрын
Nice one
@untitledmonster
@untitledmonster Жыл бұрын
thanks for the goldmine of knowledge! i love it when veteran experts teach in a noob-friendly fashion. sub'd!
@lasimek
@lasimek Жыл бұрын
Thanks for that honest video.
@bndissanayaka
@bndissanayaka Жыл бұрын
this great! really is a lifesaver. thank you very much ☺