Mac Notification Center does not work: the Quick Fix

I had this happen to me a few times already. Notification Center on the Mac goes completely numb: no more notifications and the list is empty. I’m writing down the fix, so I do not have to google the forums once again the next time. Open the Terminal, then: # this usually fails, as the notification server is already running launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist # kills and restarts the notification center - fixed! »

Author image Nicola Iarocci

Announcing my first online course

I am super excited to announce the launch of Eve: Building RESTful APIs with MongoDB and Flask, a brand new TalkPython Training course. Authoring this course has been a new experience for me, and I must say that I very much enjoyed every minute of it. Finding myself in the exciting position being at the same time both the project author and the instructor, I did my best to focus on the typical issues I know from experience most people face when they start setting up their first RESTful web service with Flask and Eve. »

Author image Nicola Iarocci

Quick fix: MongoDB fails when saving Decimal fields

So today I was trying to store some decimal fields on a MongoDB 3.4 instance and I kept failing, miserably. In Compass I was getting a somewhat obscure “connection lost” message on every save attempt. Upgrading to Mongo 3.4.10 (I was on 3.4.4) improved things, as the error message was now hinting at the setFeatureCompatibilityVersion setting which, apparently, was preventing some features to be made available. Now that made sense, as this specific database had been upgraded all the way from up Mongo 2. »

Author image Nicola Iarocci

Spesometro Open Source per .NET

apologies, this post is about an Italian open source release, so it’s going to be in Italian Spesometro.NET è un nuovo progetto open source che ho rilasciato con la mia azienda. Si tratta di un package .NET che permette di leggere, scrivere e convalidare lo Spesometro o, come è chiamato formalmente, la Comunicazione delle Fatture Emesse e Ricevute. Si tratta di un adempimento che in tempi recenti, per ragioni che non è il caso di affrontare in questo articolo, ha causato grosse difficoltà sia ai fornitori di soluzioni software che, e soprattutto, agli utenti finali di dette soluzioni. »

Author image Nicola Iarocci

Python Workload now officially supported in Visual Studio 2017

Visual Studio 2017 just received an update (version 15.2). Among other nice things, this update brings full support for Python back into the official release of VS2017. As you might recall (see my old whiny post), previously Python was only available with Visual Studio 2017 Preview (a separate install). I just upgraded my copy of Visual Studio, added the Python Development Workload to it via the VS Installer, and finally (and very happily) uninstalled the whole Visual Studio Preview thingie. »