Versioning Software – Semantic Versioning vs. Product Versioning

Keep it simple, stupid!

When we first released our tool to the end user, we proudly named it v1.0.0.

This is called semantic versioning – major.minor.patch

Makes sense for libraries where a minor change e.g. 1.0.0 to 1.1.0 means interface compatibility, just some new functions. A major change e.g. 1.0.0 to 2.0.0 means “Attention, I have to adapt interface changes” (renamed functions, added function parameter, different dynamic behavior )

But for a customer tool like a portal what does semver mean?

Is moving a button a major or minor change? What about renaming some menu items?

Ok, the next attempt was a bit more straight forward: we used the year and the calendar week like this 2017_cw16.

Not too shabby. But: Is a calendar week of any importance?

Versioning ala JetBrains

Sometimes You need that Eureka moment: staring at the splash screen of my PyCharm IDE:

Why don’t we use this sceme: YYYY.R (year.release e.g. 2017.2)?

What are the advantages?

Divide and Conquer: You can sort your backlog very roughly into the upcoming 4 releases.

Clarity about “What is the next release?” If 2017.1 is out, 2017.2 will be the next

JetBrains Toolbox—Release and Versioning Changes

We are running an experiment for multiple tools at the moment to see how it will work.

 

Excel Flash Fill

From time to time you have annoying things to do which you cannot avoid e.g. split names into surname and last name.

Here comes the flash fill feature:

Given you have the full names in column A

  • Go to cell B1 and enter the last name
  • Go to B2
  • Go to tab “Data”
  • Click Flash Fill (or Ctrl + E)

The rest of the B column should be filled with the last names

Repeat for first name in column C

 

My most used keyboard shortcuts in Windows 7

Cheat Sheet for myself 🙂

Shortcut Action
Ctrl + X/C/V 🙂
Win + Pause Control Panel\System and Security\System
Win + L Lock Computer
Ctrl + Alt + Del Lock Off / Shutdown
Win + R Open Run Dialog
Alt + Print Copy screenshot of complete screen to clipboard
Alt Gr + Print Copy screenshot of active window to clipboard
Ctrl + Shift + Esc Open Windows Task Manager
Win + Arrow Left / Right Arrange Windows

Bosch IXO Repair

In 2006 I bought my first Bosch IXO. It did a wonderful job over the last years and helped a lot assemble and disassemble mostly furniture. (I moved 3 times in the last ten years)

But when we started to renovate our  bureau at home the switch for changing directions started to get a slack joint. Here You can see the misery:

After a bit of a web search I finally found a replacement part and soldered it in:

Works like a charm!

Next steps:

  • Replace battery
  • Replace LED with brighter one

New Year’s Resolutions & Technology Learning Roadmap 2017 – Update 3

Updateception!

I registered for the event “The Mobility Quotient” which features Steve Wozniak and Jimmy Wales as keynote speaker! It will take place on September 7th/8th in Ingolstadt. I am stoked!

I started to learn knockout.js therefor I will drop MeteorJS from my list. Instead of dealing with npm,  I will try out yarn for a couple of projects. Grunt seems to be quite handy to handle client site development and bootstrap looks promising as well. Roll with the punches 🙂

New Year’s Resolutions and Technology Learning Roadmap 2017

Python 3 – there shall be just int

Trying to contribute to the Flask plugin flask-login I just added these lines:

if isinstance(duration, (int, long)):
    duration = timedelta(seconds=duration)

Looking quite plausible, isn’t it? But lo and behold: it doesn’t work under Python 3.x. Dang!

The reason: Python 2 has two integer types: int and long. In Python 3 there is only int, which makes it necessary to distinguish between these two major versions. I’ve found a nice page which deals with this issue. Here is what You must do to make it work in both Python 2 and 3:

import sys
if sys.version_info < (3,):
    integer_types = (int, long,)
else:
    integer_types = (int,)

isinstance(1, integer_types)