Nice video, Earlier today I had a conversation with a co-worker about the most efficient way to generate a javascript Array with a length 10,000. We looked into new Array(10,000) and gave up quickly giving the quirks of using new Array, Now thinking about it some more it does sound like we were engaging in "microbenchmark"ing without noticing. Cheers on the timely video. Also Kudos to Surma for nailing that "outro"!
Love the style and quality of this video. And yeah the sound maybe is not studio level but the content is and I think this video is a big 9/10. Good work 🥳
Audio is good enough Paul, I know that's not how you normally roll, striving for excellence, but if you hadn't have flagged it I, for one, wouldn't have given it a second thought.
Great video. Totally agree with everything you both said. Nowadays I value explicitness more than cleverness and try to write JS that is easy to understand by humans. Not long ago I had a colleague who strongly believed that the fastest loop is `while` counting downwards. So every time we had to loop/iterate over a collection, we were expected to use `while`. And on top of that we had a style guide written again by him in which he specifically forbid us from using `forEach` on arrays (even small ones with just a few items) because `it was slow`. It was a heart breaking experience for me every time I had to iterate over an array because I couldn't use `forEach`.
Unfortunately the implications of code can be non-obvious. I mean, yes you want to avoid document.write or other troublesome APIs, but more complex code will suffer from the Halting Problem.
For what it's worth I tried a few routes on the audio. I found that in all cases they made the audio worse by adding artifacts or muffling. I think it's the particulars of the audio noise profile that make it hard to isolate well.
Re: 04:10 to clarify, Array.prototype.forEach doesn’t skip over explicit `undefined` values. It does skip over holes though.
Pinning this because it makes the point so well.
I meant holes, arghh
@@dassurma clumsy language. hi hi
Nice video, Earlier today I had a conversation with a co-worker about the most efficient way to generate a javascript Array with a length 10,000. We looked into new Array(10,000) and gave up quickly giving the quirks of using new Array, Now thinking about it some more it does sound like we were engaging in "microbenchmark"ing without noticing. Cheers on the timely video.
Also Kudos to Surma for nailing that "outro"!
According to my benchmarks, your videos make my day 300% better on average (tested on a mobile device)
A+
I love your intros / transitions! Have you worked in video production before or are you just naturally talented?
That's very kind of you to say. No, no formal training, nor have I worked in this area before. I just do my best and hope it works out!
@@aerotwist very impressive! Looking forward to the next one.
+1 to this! Love the care taken to add that bit extra - really entertaining. Does it take you ages or are you getting pretty efficient with it now?
Song is HDBeenDope - For The Record for those interested. Great video and chat!
Love the style and quality of this video. And yeah the sound maybe is not studio level but the content is and I think this video is a big 9/10. Good work 🥳
Thanks for the encouragement
Readability is one of the biggest issues I see in development right now.
First i like the video, then i watch!
Very informative and I really appreciate the effort you put into your videos!
Great talk! I know I've gone down that path in the past. Great take aways for new projects or refactoring old :)
lol wish I saw this 6 months ago!! Definitely spent an entire day figuring out the most efficient way to process an array difference.
background music for the ones looking for it: ruclips.net/video/OLuku1tK6ug/видео.html
Audio is good enough Paul, I know that's not how you normally roll, striving for excellence, but if you hadn't have flagged it I, for one, wouldn't have given it a second thought.
awesome content and the video production quality!
Intro was awesome :) And thank you both
The intro is my fave bit. Anything with B roll and I'm happy, honestly
Surma nailed the outro 😂👌
I learnt from the best ;)
Wow incredible video edition !
ye, okay, but what about automatic FLIP tech? it wont appear at web-studio level, it has to be engineered into library.
I was able to find HDBeenDope - For The Record but not the specific remix you've used. :)
Head to Epidemic Sound and check the ooyy remix ;)
Great video. Totally agree with everything you both said. Nowadays I value explicitness more than cleverness and try to write JS that is easy to understand by humans.
Not long ago I had a colleague who strongly believed that the fastest loop is `while` counting downwards. So every time we had to loop/iterate over a collection, we were expected to use `while`. And on top of that we had a style guide written again by him in which he specifically forbid us from using `forEach` on arrays (even small ones with just a few items) because `it was slow`. It was a heart breaking experience for me every time I had to iterate over an array because I couldn't use `forEach`.
It can take a long time to unpick those decisions as well. Little by little we will get there tho :)
Nice video, I learn a lot from your videos.
Thank you.
We need analyzers as part of the build step that will parse the code and optimize it for best perf.
Unfortunately the implications of code can be non-obvious. I mean, yes you want to avoid document.write or other troublesome APIs, but more complex code will suffer from the Halting Problem.
General rule: DOM's your Mom - the rest is fun and games
Now-me is 100% onboard with this one :-)
So in summary, forget IE, forget that's even been there in existence #goodpoint
I'm not saying ignore it, you need to know your audience, but mostly only fix problems you know you have, and weigh it against other constraints.
@@aerotwist ruclips.net/p/PL_IlIlrxhtPMqW4b0-v8OgLvFZQes6SoZ
I think you can subtract noise frequency from the sound to make it clear. Audacity/Sound Forge have this option
Tried it. And in Logic with no success :(
Nice and useful!
Why have the subtitles been generated _in Korean?!_ 🤔
What?!
@@aerotwist It's probably because of the rap song at the beginning that tricked RUclips language recognition 🤣
iZotope RX would get that job done easily with audio restoration. Give it a try!
For what it's worth I tried a few routes on the audio. I found that in all cases they made the audio worse by adding artifacts or muffling. I think it's the particulars of the audio noise profile that make it hard to isolate well.
Past Surma, Past Paul, Past Josh are jerks :P
What's your new camera setup?
Still in flux. But a Canon 6D Mk 2
Leave the optimisation to the engine - roger that :) Sound wasn't *that* bad, but yeah theres an excuse for you to get a new gadget.
It is like you read my mind. Plus I have super high standards for myself. I'm unbearable.