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
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.
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
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
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 ?
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.
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.
Fully agree! Even more, for example in Automotive Software with Safety Level according ISO26262 multiple return statements in a function are forbidden.
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.
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
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.
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
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?
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 :)
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'
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 🙂
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?
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?