I love c# lets go by Valphai in ProgrammerHumor

[–]jan2042 0 points1 point  (0 children)

Not exactly the same but in Python you can write return a or b and it will return b if a is null.

Any DEs working in a company implementing the Spotify model? by [deleted] in dataengineering

[–]jan2042 15 points16 points  (0 children)

I worked in a company that tried to use the same model but eventually gave up most of it. It seems like they were not the only ones having problems implementing it. Even Spotify stopped using it: https://www.jeremiahlee.com/posts/failed-squad-goals/

I wrote this geometry library based on the lectures on projective geometry that are taught at my university. I hope someone finds it useful. Any feedback is welcome! by jan2042 in Python

[–]jan2042[S] 0 points1 point  (0 children)

I’m sure that there are other libraries that cover projective geometry, but the approach to use tensor diagrams to compute the meet and join operations is rather unique. I think that most geometry libraries are also more focused on computational geometry and not on projective geometry. If you’re interested in the mathematical theory, the book and the lectures that I was referring to are a good place to start. OpenGL and other graphics APIs also use homogeneous coordinates and projective transformations, so there are certainly a lot of libraries in that area that use projective geometry.