• 1 Post
  • 20 Comments
Joined 3 years ago
cake
Cake day: June 17th, 2023

help-circle




  • A floppy disk is fine, just like Photoshop uses terms like dodge and burn, references to obsolete dark room methods, like cutting and “pasting” were literally how some layout projects worked.

    Referencing the last physical incarnation of saving a file seems fitting!


  • Imagine a beach of infinite length with one lemonade stand on it.

    Where do you open a second lemonade stand to maximize sales if people will buy from the closet stand?

    The answer: next to the first stand. Everyone to the left of your stand will find you are the best option and everyone to the right will choose the other.

    This model explains why two political parties along a spectrum can end up not too different from each other in an attempt to capture the most votes.










  • This is interesting, I would be quite impressed if this PR got merged without additional changes.

    We’ll see. Whether it gets merged in any form, it’s still a big win for me because I finally was able to get some changes implemented that I had been wanting for a couple years.

    are you able to read and and have a decent understanding of the output code?

    Yes. I know other coding languages and CSS. Sometimes Claude generated code that was correct but I thought it was awkward or poor, so I had it revise. For example, I wanted to handle a boolean case and it added three booleans and a function for that. I said no, you can use a single boolean for all that. Another time it duplicated a bunch of code for the single and multi-monitor cases and I had it consolidate it.

    In one case, It got stuck debugging and I was able to help isolate where the error was through testing. Once I suggested where to look harder, it was able to find a subtle issue that I couldn’t spot myself. The labels were appearing far too small at one point, but I couldn’t see that Claude had changed any code that should affect the label size. It turned out two data structures hadn’t been merged correctly, so that default values weren’t getting overridden correctly. It was the sort of issue I could see a human dev introducing on the first pass.

    do you know why it is uncommented?

    Yes, that’s the fix for supporting floating windows. The author reported that previously there was a problem with the z-index of the labels on these windows, so that’s apparently why it was implemented but commented out. But it seems due to other changes, that problem no longer exists. I was able to test that labels on floating windows now work correctly.

    Through the process, I also became more familiar with Rust tooling and Rust itself.



  • This weekend I successfully used Claude to add three features in a Rust utility I had wanted for a couple years. I had opened issue requests, but no else volunteered. I had tried learning Rust, Wayland and GTK to do it myself, but the docs at the time weren’t great and the learning curve was steep. But Claude figured it all out pretty quick.