in 2 of the instances you can see (if you go in 0.25x) that the wheels start spinning before torque is applied by the pedals - physically impossible. also when wout is running with the bike, it starts spinning after losing traction on the ground
The environment variable isn't much better, both are akin to using a global var in your reentrant code, but at least STDDATA_FD is less likely to collide than 3.
Can't wait for scripts using this variable for something unrelated to break when they call my scripts.
That doesn't work reliably either. No existing code scrubs STDDATA_FD from their environment variables, and there's no way to know if anyone uses STDDATA_FD in the wild. Why not just use a command line parameter like everyone else? Different isn't better in a situation like this.
This is a larger concern I've started to see in a certain class of younger developer where existing conventions are just ignored without an attempt at understanding of why they exist. Things are only going to get worse as naive vibe coders start flinging more AI generated garbage out into the world. I pity the pole folks trying to maintain these systems a couple of decades from now.
Oh.. ya ok I guess you need to specify where to direct each output then. Kind of a weird use case. If it's not slow to process, you can usually just call the program twice.
Unfortunately not surprising, the quality of a lot of textbooks has been bad for a long time. Students aren't discerning and lecturers often don't try the book out themselves.
I agree. I feel that Springer is not doing enough to uphold their reputation. One example of this being a book on RL that I found[1]. It is clear that no one seriously reviewed the content of this book. They are, despite its clear flaws charging 50+ euro.
Yeah, ages ago, when I was doing typesetting, it was disheartening how unaware authors were of the state of things in the fields which they were writing about --- I'm still annoyed that when I pointed out that an article in an "encyclopedia" on the history of spreadsheets failed to mention Javelin or Lotus Improv it was not updated to include those notable examples.
Magazines are even worse --- David Pogue claimed Steve Jobs used Windows 95 on a ThinkPad in one of his columns, when a moment's reflection, and a check of the approved models list at NeXT would have made it obvious it was running NeXTstep.
Even books aren't immune, a recent book on a tool cabinet held up as an example of perfection:
mis-spells H.O. Studley's name on the inside front cover "Henery" as well as making many other typos, myriad bad breaks, pedestrian typesetting which poorly presents numbers and dimensions (failing to use the multiplication symbol or primes) and that they are unwilling to fix a duplicated photo is enshrined in the excerpt which they publish online:
where what should be photo of an iconic pair of jewelers pliers on pg. 70 is replaced with that of a pair of flat pliers from pg. 142. (any reputable publisher would have done a cancel and fixed that)
Sturgeon's Law, 90% of everything is crap, and I would be a far less grey, and far younger person if I had back all the time and energy I spent fixing files mangled by Adobe Illustrator, or where the wrong typesetting tool was used for the job (the six-weeks re-setting the book re-set by the vendor in Quark XPress when it needed to be in LaTeX was the longest of my life).
EDIT: by extension, I guess it's now 90% of everything is AI-generated crap, 90% of what's left is traditional crap, leaving 1% of worthwhile stuff.
Understandably I'm becoming a bit dogmatic but I'll say it again, AIMA/PRML/ESL are still the best reference textbooks for foundational AI/ML and will be for a long time.
AIMA is Artificial Intelligence: A Modern Approach by Stuart Russell and Peter Norvig
PRML is Pattern Recognition and Machine Learning by Christopher Bishop.
ESL is Elements of Statistical Learning by Trevor Hastie, Robert Tibshirani and Jerome Friedman.
Someone tell Wikipedia please, they have a weird sort of moving/hidden hamburger that floats which I've not seen anywhere else, I wonder if there's public stats on activity following the layout update.
Why do you think humans understand the world any better? We have emotion about the world but emotions do not grant you understanding, where “understanding” is still something you would still need to define.
“I get it” - is actually just some arbitrary personal benchmark.
> I drive rarely, but the oncoming headlights are blinding when I do.
I drive a shallow car with old lights, and once I was blocked on a street by a much taller car sitting in front of me with very bright LED lights, and I couldn't see a thing because of the glare. I was unable to manoeuvre out the way because of this. They sat there for a minute or so stubbornly refusing to move for me before finally moving out the way.
It's super common where I live for teenagers who drive jacked up trucks to replace their headlights with super bright led lights. They don't adjust the angle of the beam, so they're just like brights all the time. It's miserable.
Also, more people seem to be driving with their bright lights on 100% of the time. I once rode as a passenger at night with an ex-coworker driving and I noticed he used his brights the whole time, even when there were oncoming cars. I asked him why and he looked at me like I was stupid and said “because they’re brighter and let me see better.” When I pointed out that they blind other drivers he just shrugged and said “fuck em, not my problem.”