• 1 Post
  • 10 Comments
Joined 10 months ago
cake
Cake day: July 14th, 2025

help-circle
  • I use AI for small, atomic, stuff that don’t bring any intellectual value to spend time for.

    Like “Typescrit. Find smallest element in an array”. “Python. Simulate keboard event to avoid computer going to sleep mode”. Or copy/past error message because I missed an import and I just want to know which one.

    I also use it sometime for well identified algorithm that could be interesting but are not the core of the problem. Like “C#. Clustering algorithm to group points together in a point cloud”.

    The generated code is catastrophic in term of performances/memory, but it’s good enough 80% of the time.

    But eveytime I tried to use AI for higher level stuff, or that require several interdependant concepts, it ended up into hallucination pit.

    • I have this problem
    • Cool ! Use solution A !
    • Doesn’t work
    • My Bad, use solution B !
    • Doesn’t exist
    • Indeed ! For this problem you should apply method A which will work !
    • (-_-)’



  • I was prepared to use my Cunningham Law mental model to correct your article, but no. I have nothing to say 😊

    I’ve seen way too many wrong usage of git merge/rebase in lots of article but you get the point and clearly explained it.

    Maybe just at the end, instead of

    git checkout main
    git pull
    git checkout feature-branch
    git rebase main
    

    I would just do:

    git fetch
    git rebase origin/main
    

    This avoid checkout main and checkout back to working branch, which may takes times on big repos.




  • I gave a try to jj. It’s fine for personal projects or small team and make the workflow a bit easier. No more “git add; git commit; git push” each time you do a modification. You just “jj git push” and everything will be automatically pushed.

    However, the biggest criticism I have is that he doesn’t encourage to push every time. It really encourages you to keep your modif locally and push only to create a PR, and that’s not a good approach.

    Even if you code is WIP, even if everything crash, you really should push your code to backup it. Who cares ? As long as it is not on master branch, it’s your own mess.