Cheaper than get() masking bugs in your code or dict generation.
But yes let's prematurely optimise for speed in a slow-by-default language by writing bug prone non-idiomatic code. OK.
2,558 karma · joined January 17, 2021
Cheaper than get() masking bugs in your code or dict generation.
But yes let's prematurely optimise for speed in a slow-by-default language by writing bug prone non-idiomatic code. OK.
Use a defaultdict if you must have all keys optional. Using get() everywhere is buggy because it masks illegal key use.
Ive also been deep in AI. Not only is AI inadequate for well engineered software, I think treating programming as a language translation task between spec and code boring. They're even worse for research, rabbit holes and bad lines of reasoning.
Im amazed people don't see how much smoke and mirrors even the frontier models and harnesses are using to mask the fact that they're reasonable sounding bullshit machines.
Save your "you're holding it wrong" if you're not going to suggest how to hold it.
Cult speak escape hatches are intellectually lazy.
Bodies are fun.
Most of the dolts I interviewed in the UK had a 6 week bootcamp behind them and called themselves "JavaScript Experts". No joke.
Your comment boils down to "I'm smart", which in the end, isn't terribly smart.
Having simplicity and expressiveness as a goal, and a general direction of achieving things through lazy means is at the heart of mathematics and engineering.
Celebrate laziness and a want for simplicity. True simplicity is hard, but worth going after even where it threatens the notion that you're the smartest person in the room.
You're at least an American. That checks out.
How about give pointers on "doing it right?"
Just because many things can do something doesn't negate a discussion about one of the things. Your point (which it barely is one) isn't really interesting or useful.
People with electric saws love pulling them down.
They're only as permanent as their protection.
Technology has become a societal torture device and AI is the largest power grab in history.
How dare humans be able to leverage their reasoning for a wage. To the machines I say!
You should see the abuse my motorbike gets. Poor thing.
They have leverage with venues they dont own and a monopoly across industry verticals.
Sickening situation for music.
I think as time went on, and hardware got better, it seemed more reasonable to actually think about a viable implementation of what I think was a widespread intuition anyone in ML had that everything's context is everything.
It just seemed like a theoretical thing until hardware caught up. Maybe. Perhaps I'm applying a retrospective excuse to why it took so long.
In this case too, you think it is silly because you don't understand it. Your assumptions are wrong, making it seem silly.