• 0 Posts
  • 157 Comments
Joined 3 years ago
cake
Cake day: June 16th, 2023

help-circle





  • So sick of this doomer BS. I went and had a look at Linus’ “FoSS vibe coded project” that everyone’s been flipping their shit over.

    1. It’s only the python UI
    2. It’s gluing together matlib and pandas
    3. It’s written like a crazy person and I would absolutely reject that if it was a PR.

    Like, it apparently worked for Linus and he also doesn’t care to learn python at all. But I was under the impression that these things are supposed to be good at python.

    This was completely unhinged garbage that I’m shocked even worked. It created the same function twice one after the other. We have nested python functions.

    We have these unhinged guard conditions where if navigation is true we return. THEN we immediately set it to be true and at the end of the function we set it to false again. I thought I was high reading that code. If you legitimately think these things are better at writing code then you are, you suck at writing code.









  • Whenever I try and get a proper explanation of a monad from the internet I get these miserable opaque examples which make me go “sorry I asked!” But I think a monad is basically just single type that when unwrapped gives you the result of a calculation and some metadata about the calculation.

    I think it’s more like Rust’s Result or Option types then go’s tuples but I’d say they both basically count.


  • Nah, I recently had to create a program that turned a bunch of extracted CSV files into an XML file for government reporting. I also had to parse some provided government XML files to add things into my output.

    This was going to be run by non-technical people on any OS so I went for python because “install python, download this file and click on it” was easy. Python has a big standard library so I could do everything I needed in it. I was considering using Go but asking people to open the terminal and build something was probably a bridge too far.