Roberto Piva

Software and more.

About Me Bookmarks
  • Aug 6, 2022 API-first development with Quarkus

    When designing an API one of the first question you need to answer is who is the user of the…

  • Jul 23, 2022 JWT for service-to-service auth

    Microservice architecture has been around for years now, and I think it’s here to stay. The approach has many advantages,…

  • Nov 14, 2021 Test code performance with JMH

    I was reviewing a piece of code for a template renderer lately, and noticed something was a little bit off.…

  • Aug 4, 2021 Pulizia e ottimizzazione di un computer Windows

    Nota: questo post è una libera traduzione di un post di decent security. Trovate il suo lavoro presso https://decentsecurity.com **…

  • Nov 16, 2020 Running gnash on Ubuntu 20.04 with docker

    A couple weeks ago I helped my sister upgrade her laptop to the latest ubuntu version available, a process which…

  • Oct 26, 2020 It's never a network problem, until it is

    You know when you have a problem and you struggle to find the solution? And you just try and try,…

  • Oct 25, 2020 Viper configuration injection and Airhacks.tv

    I had a chance of promoting civitz/viper on Adam Bien’s airhacks.tv series. You can find the awesome adam bien series…

  • Aug 9, 2020 A note taking system in vscode

    I keep all my notes and interesting files in a single directory (e.g. $HOME/documents) and open Visual Studio Code using…

  • Aug 9, 2020 Build github pages with jekyll via docker

    Every time I want to write something in my blog, I somehow manage to mess with my ruby/jekyll setup, so…

  • Feb 20, 2020 Openapi/swagger editor from docker

    If you need to quickly edit or view a swagger/openapi spec, you can use the mighty swagger editor: https://github.com/swagger-api/swagger-editor For…

  • Feb 7, 2020 Boot ubuntu from graphic to text mode

    I recently switched from working fulltime from a VM in graphical ubuntu, to using the VM from windows via SSH.…

  • Oct 1, 2019 Sometimes the question is wrong

    So I came across this interview of Elon Musk which I handily link here: It is an interview, where, among…

  • Sep 16, 2019 Creating directories from maven

    I was working with a library which generates code from a template. To avoid committing the generated code I used…

  • Mar 23, 2019 Upcycle a KiSS DP-500 with Raspberry Pi 3 - Part 3

    After posting our previous issue to reddit i finally had time to tinker with the frankenstein (shall we call it…

  • Feb 22, 2019 Spotify does not make sense for musically curious people

    So you have a spotify account because you love music. You care a lot about quality of music, and you…

  • Feb 17, 2019 Upcycle a KiSS DP-500 with Raspberry Pi 3 - Part 2

    It’s been a long time since last update on raspberry frankenstein, so here’s an update. After some trials, the power…

  • Jan 10, 2019 Tests improve design

    I came across this wonderful article by Kelly Sutton about TDD and code design. He states that the sole fact…

  • May 28, 2018 Caring about code

    What does testing and code review, have in common? These are all ways to make you face your own work,…

  • Jan 6, 2018 Egoless programming

    I recently stumbled upon a great article about the attachment one programmer can have with his/her code. The article states:…

  • Nov 9, 2017 If it's stupid but it works, it's not stupid

    I was about to try the latest OSMC on my Raspberry Pi3, and I needed to backup my microSD before…

  • Apr 14, 2017 Audio-technica ATH-M50x for the music-conscious silent developer

    I am a silent developer. I like to be in a quiet room and to focus deeply on what I…

  • Feb 15, 2017 On blaming mocks to avoid testing

    Too often I hear that testing is hard or unnecessary because the need for mocks. Here’s my thoughts on this.…

  • Jan 6, 2017 How I Write Tests

    In this fantastic article by Nelson Elhage there are some gems that I share to you: Avoid running main […]…

  • Jan 2, 2017 The boy scout rule

    Robert (Uncle Bob) Martin is a founder of the agile manifesto and a rockstar among developers. In his speeches he…

  • Dec 30, 2016 How To Spot Single Responsibility Principle Violation

    So you’ve read about SOLID and you’re confused about the Single Responsibility Principle. What amount of responsiblity is too much(tm)?…

  • Dec 28, 2016 Upcycle a KiSS DP-500 with Raspberry Pi 3

    Here’s my journey into upcycling and old piece of electronics into a beautiful media center. So i got this old…

  • Dec 21, 2016 Recognizing bad code

    Recognizing bad code As Venkat Subramaniam says in this great talk: Recognizing bad code is easier than writing good one.…

  • Jan 9, 2016 On immutability and builders in java

    Immutable object with builders in java are a nice solution but can be tricky when there are mandatory and optional…

© 2026 Roberto Piva ·Software and more. ·GitHub ·Mastodon ·RSS