He goes into their tech and how they do JS splitting and stuff. Looks old, but they’re using modern techniques afaik
He goes into their tech and how they do JS splitting and stuff. Looks old, but they’re using modern techniques afaik
Weird the example he gave isn’t imperative, which I think would be “Fix a null pointer dereference in …”
Context:
https://github.com/WinampDesktop/winamp/issues/17
Confidential Dolby code was pushed, though just some headers files.
i could’ve sworn frodo was 33
Big unicode doesn’t want you to know this one simple trick
asyncio.run(easy_peasy())
That’s fair! Takes time to get used to. Modern editors make this easier by highlighting the current indent level, or can even make the top X lines of the current closure “stick” to the top of the editor for those really long blocks.
Correct, I linked the source of the quote. My implication is the general idea is applicable here. Is python one of these languages where it is idiomatic to nest code deeply?
Flat is better than nested.
From the python I have seen and written, deep nesting is avoided.
Just curious, what about spaces made it hard? What language would have been easier? In curly brace languages, 99% of the time, a curly brace is followed by a line break and an indent. Python is similar except it’s typically a colon, line break, then indent.
What I have learned is: If the code is indented too deeply, it’s a code problem, not the language.
Torvalds infamously wrote:
“… if you need more than 3 levels of indentation, you’re screwed anyway, and should fix your program.”
This is such a weird non sequitur – what?
This is the coolest thing I have ever heard
Modern OSes handle memory management and background tasks. Unless you have something truly malicious running, you’re just getting in your own way by force quitting apps.
https://qz.com/stop-closing-your-iphone-s-background-apps-1851269132
Aren’t we all just disgusting, ephemeral creatures crawling around the surface of this fragile rock hurtling through an uncaring void? :)
Flies and mosquitos are friend food 🦇🐦⬛
What are we comparing here? Cyberbullying to r*pe? Social exclusion to being thrown down the stairs? Not sure if you’re attempting to draw equivalences or minimize physical harm but that is how I read this
opens htop threateningly
The only reason coders’ computers work better than non-coders’ computers is coders know computers are schizophrenic little children with auto-immune diseases and we don’t beat them when they’re bad.
Well… said?
Yes i like to keep tidy ty for noticing :>
how does it feel to be wrong!!!
I use AI as a rubber duck or to get general ideas all the time. For example, I wanted to make a “hand” of cards splayed out using css, so I asked AI and it gave me a nice starting point I could tweak without having to fuss with figuring the formula to tilt which element at which angle. It’s also quite good at guessing what boring boilerplate code I need to type next.
Another example: I was trying to figure out an architecture that adhered to OOP/SOLID principles for a specific task, and asked for an example implementation. I was able to test and think through a ton of permutations before landing on what I was taking to prod.
I think it’s a nice tool for the toolbelt, but it isn’t replacing a programmer anytime soon. You have to know what to ask and be able to intelligently analyze what it spits out to you