Andrea Grandi
About Archive Photos Replies Also on Micro.blog
  • Python Dojo @ PyCon Italia 2025

    Are you planning to attend PyCon Italia?

    Would you like to join Python Dojo workshop organised by me and my friend Nicholas Tollervey?

    More information and registration link here https://2025.pycon.it/en/event/python-dojo

    → 5:52 PM, Mar 28
  • How to workaround Ollama models pull issues

    In the past couple of days I was having this annoying issue while trying to pull a model from Ollama: I was running the command ollama pull deepseek-r1:8b, it was downloading something like 4-5% of the model and then the connection was reset, the client was “crashing” and it always restarted from 0%.

    It looks like I wasn’t alone: https://github.com/ollama/ollama/issues/8406

    Here is the solution: https://www.andreagrandi.it/posts/how-to-workaround-ollama-pull-issues/

    → 4:00 PM, Jan 26
  • Carbon: generating nice terminal images

    Self note: if you want to quickly generate images of terminal containing commands or short code snippets, you can use Carbon

    carbon.now.sh

    → 8:01 AM, Jan 21
  • This time it wasn't AI fault

    In the last couple of days I finally had the chance to test Copilot Edit (the multi file editing feature). I made sure to write proper and detailed specifications and I asked it to write the implementation.

    The good news? It was able to get it right at the first attempt and I was really impressed. Once the implementation was done, I asked it to also fix the two test files involved: it did it right 🎉

    The bad news? Thanks to my colleague who did the code review, I realised that I had asked the wrong thing 😭

    The thing I had to implement required way more changes than what I had asked for. I quickly reworked and simplified the code by myself this time, but for once it wasn’t AI fault!

    → 6:08 PM, Jan 15
  • GitHub Copilot

    Using GitHub Copilot as rubber duck, pairing buddy, to automate boring tasks, giving it clear and precise instructions and always verifying the results 👍

    Expecting it will do your work for you, with little or no guidance 👎

    Thanks for attending my talk

    → 10:50 AM, Jan 14
  • RSS
  • JSON Feed
  • Mastodon