Home avatar

Michał Smyk

Azure Platform Engineer · AI-native Engineering

Platform engineer sharing lessons from building Azure platforms — and honestly exploring AI-native systems on Azure.

Pet Project February '18

Finally some time passed since I had finished my 2nd degree college, and now it’s time to go back to writing some private projects.

As first one I decided to review once again ASP.NET Core, with SignalR Core and Azure hosting platform, to be more ‘up to date’ with latest Microsoft solutions.

Code is available on GitHub, and currently (this commit) is based on the version that I used during deployment of this project — as it was used in a real-world use case during last weekend’s Kawaii Time event in Wrocław. Hopefully I will find some more time to refactor it, as it definitely is not the nicest code that I could write (well, the clock was ticking so I had to skip a few steps).

How long-time work overload killed my productivity

In October one of my lecturers from college warned us that the current semester will be the worst of all that we have faced during our education. Sylabus for it had three projects related to Artificial Intelligence, and one course with only implementation tasks for some machine learning algorithms. Well, as long as you plan your time, nothing should go wrong… You just have to make sure that all deadlines has been meet… Right? Expectations vs Reality

Rider First Thoughts

Before I start writing about Project Rider, I would like to invite everyone to my lecture during 13th Linux Session.

A week passed and I had some time to work on the new JetBrains tool — Project Rider. I would like to share my thoughts about it with you.

Of course, I wasn’t expecting a revolution — I already had experience with previous JetBrains products, mostly with PyCharm and RubyMine (thanks to my student license it is much easier to use those tools for my college assignments). I had received another excellent IDE based on the same engine, and it works really well on my Fedora. It also works fast — which will always be an advantage over Visual Studio.

ASP.Net Core & Project Rider

So, just a few days ago I installed ASP.Net Core using their tutorial for CentOS 7 under Fedora. Good news — it works without any further issues (maybe except for the fact, that they forgotten to mention adding source ~/.dnx/dnvm/dnvm.sh to bash_profile). It went really smoothly, and I could even create new Visual Studio project using VS Code tutorial for creating projects, and it was working out-of box as well (using Yeoman for creating new ASP.Net projects is somehow weird solution in my opinion, but at least it works without any issues).

Google Authorization in ASP.Net MVC 6

So, as the new year break is coming to an end, I finally found some time to look into new ASP.Net 5 MVC version (currently marked as a Release Candidate) and started working on some simple project that I currently call FoodyRater on Visual Studio 2015 Community version. First things that I decided to set up was website layout and authorization by Google account.

As for layout, it went surprisingly smooth — I just right-clicked project name, selected “Managed Bower Packages” and replaced Bootstrap/jQuery with ‘Admin-lte’ package. Then all I had to do was change the shared _Layout.cshtml file and everything started working.

BOM of Integer.parseInt() doom

Tl;dr; version: Byte order mark in text file was responsible for Integer.parseInt() method throwing an exception (if it wasn’t obvious from a title).

That post is probably first one to talk about some specific issue, so here we go for a ride! In case you missed categories marks — it’s about Java, version 1.8.0_45.

Yesterday I was teaching my girlfriend how to code in Java (let me omit my reasons for choosing this language). It was actually related to the second day of Advent of Code (which was described in the previous post) assignment. Suddenly I received a complaint from her that her IDE was throwing a NumberFormatException for her Integer.parseInt() method.