There was a brief time years ago when I attempted to do independent contracting building Wordpress websites. Today I am grateful that I never got very invested in that.
@dan@ricci@nullagent@irene I suspect this guy would have a strong legal case against the university, but why bother if he could just get a job and tell 'em to hell with your degree.
"Most software around us today are decent at accurately displaying colors. Processing of colors is another story unfortunately, and is often done badly... The solution is simple at a high level: instead of relying on what color space a file or display uses, color operations should be done with the use case in mind, to either model human perception or the physical behavior of light."
I'm translating some C++ to Rust and the original C++ code silently relies on unsigned integer overflow just... somehow working for this math??? 🙃 This function has tests which I've also translated to Rust, and the only way I can get the tests to pass is by preventing overflow using wider integer types in the intermediate math... u16::overflowing_mul does not do the trick so I don't understand how the C++ code is working??? 🤔
Does overflowing a uint16_t on 32 bit MCUs just work by treating it as a size_t/uint32_t? This function works on 8 bit AVR microcontrollers, but those have their own assembler implementation rather than the C++... 🤷
@skinnylatte@Viss In Chicago, only a small handful of bars around the city are allowed to be open until 4 AM and those permits are often opposed by neighbors and aldermen. I imagine it'd be quite difficult for a restaurant to legally be open at 4 AM here :/