News for hackers. Stuff that matters.
Re:Ruby 3.2.0 Is from Another Dimension by p_l on Wednesday January 04, 2023 @07:13AM (#34244638)
I had over million euro of machinery stop because a rarely reached branch had one line with one less space due to missing linter run. Apparently Python 3 still doesn't fully parse and validate code on load, or somehow it made a valid if nonsense AST out of that.
Re:Ruby 3.2.0 Is from Another Dimension by andai on Wednesday January 04, 2023 @11:56AM (#34248072)
I know it's offtopic, but this is really a case of using spaces where tabs are the correct choice ;)
Re:Ruby 3.2.0 Is from Another Dimension by michaelteter on Wednesday January 04, 2023 @02:24PM (#34250134)
Perhaps, but should _that_ choice (or more likely, misconfiguration of a system) be so dangerous?
Re:Ruby 3.2.0 Is from Another Dimension by p_l on Thursday January 05, 2023 @03:15AM (#34257286)
Unfortunately, Python (and YAML, though it wasn't YAML this time) specifies spaces as the syntactically critical element.
Re:Ruby 3.2.0 Is from Another Dimension by mypalmike on Wednesday January 04, 2023 @04:48PM (#34252299)
Sure, Python has a variation of the same problem.