Swift Software Group

Signing in or out of Chrome signs you in or out of Google web services

Chrome 69 was released to users on September 5th, 2018. Besides the different look and feel one other annoying change is that Chrome now logs you automatically into Google services like Gmail with the same account that you use for browser syncing. Previously, users were allowed to keep those logins separate. To disable the forced login, navigate to chrome://flags/#account-consistency. Then set the option labeled, Identity consistency between browser and cookie jar to Disabled and restart your browser.

read more

How to Streamline Working Relationships with Multiple Parties

If you want to facilitate a smooth and efficient working relationship, all relevant parties must first agree on a few critical aspects of the project. The ability to communicate ideas is integral to the creation of any stable working relationship. Before starting a joint project, discuss these five elements with each party.

read more

3 Ways Blockchain Technology is Transforming the World of Advertising

If you work as an investment advisor or are part of the banking industry, you already know how blockchain technology is transforming your workplace and changing the rules of the game.

read more

Installing an Older Version of Xcode Alongside Xcode 9

Today I started working on updating Apport code from Swift 2 to Swift 4. So I got everything ready, made a fresh cup of coffee and opened the project workspace in Xcode 9. And then I got this message:

read more

How to Build an NGINX Server and Deploy a Python Flask App Using Chef

In this post we show how you can use Chef to build an Ubuntu 14.04 LTS web server running Nginx, Python 2, virtualenv, uWSGI, and Flask - all done on Windows 10 host.

read more

Getting Started with FlashDevelop on Windows 10

FlashDevelop is a free IDE for Windows. You can use it to develop Adobe Flash and AIR applications using ActionScript.

read more

How To Install Nginx On Ubuntu Using Chef

In this post we show how to install NGINX on Ubuntu using Chef on Windows 10 workstation.

read more

How to use Berkshelf, Chef Zero, Vagrant and VirtualBox

In this post we show how you can use Berkshelf, Chef Zero, Vagrant, and VirtualBox to provision Ubuntu 14.04 guest on Windows 10 host.

read more

Ubuntu and Chef with Vagrant and VirtualBox on Windows

In this post we show how you can use VirtualBox and Vagrant to launch an Ubuntu 14.04 guest and install the latest Chef client on it using Windows 10 as a host.

read more

Provision Chef with Vagrant-Omnibus Plugin

In this post we show how you can provision Chef from Vagrant using the vagrant-omnibus plugin. This post is for Ubuntu 14.04 guest running in VirtualBox on Windows 10 host.

read more

How to Install Jekyll on Windows

This post shows how to install Ruby and Jekyll via Chocolatey on Windows 8.1 or Windows Server 2012 R2 Update 1.

read more

Ubuntu with Vagrant and VirtualBox on Windows

In this post I show how you can use VirtualBox and Vagrant to create and launch an Ubuntu 14.04 virtual machine on Windows 8.1 host.

read more

Install Git on Windows via Chocolatey

This post shows how to use Chocolatey to install Git.

read more

How to use a different cache directory for Chocolatey packages

About Chocolatey

In short, Chocolatey is a package manager for Windows which saves time by automating otherwise manual installation tasks. You can install Chocolatey by following the instructions on chocolatey.org.

read more

Unable to generate an explicit migration because the following explicit migrations are pending

After renaming the namespace of some POCO classes from Primo.LicenseManager.Models to Primo.Licensing.DataModel, the Entity Framework scaffolding no longer recognizes the applied migrations:

read more

How to upgrade the Linux kernel to 3.11 on Ubuntu 12.04.4 LTS

I have two Ubuntu 12.04.4 virtual machines that I use for building and testing AVBlocks - one 32 bit (i386) and one 64 bit (x86_64). Normally I keep them in sync and regularly updated via the Update Manager.

read more

How to fix Tortoisehg Nautilus extension on Ubuntu 13.04

The TortoiseHg Nautilus extension stopped working after upgrading one of my Ubuntu machines from 12.10 to 13.04. It turned out the problem was it could not find libpython2.7.so.1.0.

read more

Executable shell scripts open in Gedit on Ubuntu

This started happening after an upgrade to Ubuntu 13.04. We have shell scripts here and there saved as .run files, e.g. Build.linux.auto.run, to automate AVBlocks builds on Linux. Normally Nautilus will ask you whether you want to run the script when you double click a .run file, but on Ubuntu 13.04, Nautilus suddenly started opening .run files in Gedit. It turns out there is a setting in Gnome for that. Here is how to fix it:

read more

Dual boot Windows 8.1 for VirtualBox and Hyper-V

Most of the time I use VirtualBox to run Linux distros like Ubuntu and Debian. At the same time, I have to work with Windows Phone SDK which needs Hyper-V to run the Windows Phone emulator. Understandably VirtualBox and Hyper-V will not run at the same time. The easiest way I found to solve that problem is creating a dual boot configuration where one of the boot options has Hyper-V disabled. Here is how to do it:

read more

Super Agile: Not possible without unit tests

It is never too late to start writing unit tests. Add unit tests to your “Definition of Done” document. Automate your build process, so it runs unit tests with every code change.

read more

Nvidia driver mismatch after upgrading to Ubuntu 12.04.3 LTS

After upgrading to Ubuntu 12.04.3 LTS, I could not boot in GUI / X anymore. I got this when trying to start X:

read more

Debian "Wheezy" guest on Windows 8.1 host using VirtualBox

This post is about using Oracle VirtualBox to install a Debian 7.2 x86_64 guest virtual machine on Windows 8.1 host.

read more

How to save XDocument to xml and use single quotes for attribute values

I had to do this for AVBlocks xml licenses recently. It is not straightforward, but here is the C# code.

read more

How to install and configure TortoiseHg on Mac

I finally got fed up with SourceTree and installed TortoiseHg on my Mac development machine. Read on:

read more

How to upgrade GCC to 4.7+ on Ubuntu 12.04

Note: This is only needed on Ubuntu 12.04. Ubuntu 12.10 already comes with GNU C++ 4.7 and above.

read more

Configuring PHP / CURL root certificates on Windows Server

This post is about configuring PHP/CURL root certificates for a WordPress installation running on Windows Server 2008 R2 / IIS 7.5.

read more

Setup Google Analytics for a Bitbucket repository

The idea is to create a new Google Analytics property for Bitbucket and then have a separate Google Analytics profiles for each repository. That way I end up with one profile per repository neatly grouped under the Bitbucket property. In the profiles, I also use filters to include only the traffic for the corresponding repository.

read more

Super Agile: Accept that your product will never be 100% complete

We now follow thesesimple rules for all our projects:

read more

ASP.NET MVC 4: Could not load file or assembly DotNetOpenAuth.Core, Version=4.0.0.0

I got this error in an ASP.NET MVC 4 application after installing DotnetOpenAuth via the Package Manager Console:

Could not load file or assembly 'DotNetOpenAuth.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=2780ccd10d57b246' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

The application was actually upgraded earlier from ASP.NET MVC 3, i.e. it was not autogenerated by Visual Studio 2012. The pre-binding info in the exception was:

read more

Upgrading a web app from ASP.NET MVC 3 to ASP.NET MVC 4

I recently had to update a web application from ASP.NET MVC 3 to ASP.NET MVC 4. Here are the the steps I had to go through to do that:

read more

PowerShell Prompt Here

I have been doing some scripting in PowerShell 3.0 lately and I found this post by Scott Hanselman. Just go to that post and download powershellhere.inf, right click on it and click Install. It will give you a nice “PowerShell Prompt Here” context menu in Windows Explorer.

read more

Starting with Mercurial, BitBucket and SourceTree on Mac

This is a quick step-by-step tutorial on starting with Mercurial and BitBucket on Mac. This tutorial was done on Mac OS 10.8.2.

read more

Ubuntu: how to add “Open in Terminal” to the Nautilus context menu

This one is easy:

  1. Install nautilus-open-terminal package.
  2. Restart Nautilus.
read more

Installing Mercurial and TortoiseHg on Ubuntu

This is a step-by-step guide on installing Mercurial and TortoiseHg on Ubuntu, and setting up a BitBucket account. This was tested on Ubuntu 12.04 LTS and Ubuntu 12.10.

read more

Getting started with Git and BitBucket on Windows

This post describes setting up Git on Windows and using a private remote Git repository hosted on BitBucket.org. Here it goes:

read more

Hg subrepositories: a how-to guide for the “svn:externals” junkie (Part 3)

This post summarizes the Mercurial subrepository vs the Subversion externals experience. This is the third and last post of a multi-part article about Mercurial subrepositories. Please make sure you read Part 1 and Part 2 before reading this post.

read more

Hg subrepositories: a how-to guide for the “svn:externals” junkie (Part 2)

This is the second post of a multi-part article about Mercurial subrepositories. Please make sure you read Part 1 before reading this post.

read more

Hg subrepositories: a how-to guide for the “svn:externals” junkie (Part 1)

This is the first post from a multi-part article about using Mercurial subrepositories when you are switching from Subversion to Mercurial and you heavily used Subversion subrepositories configured via the svn:externals property.

read more

Hg subrepositories: a how-to guide for the “svn:externals” junkie (TOC)

Table of Content

  1. Repository Setup
  2. The Commit/Push, and Pull/Update cycles
  3. Summary
read more

How to configure TortoiseHg to remember your username and password

I have been playing with Hg (Mercurial) lately to see if it would be feasible to move our projects at Primo Software from SVN (Subversion) to Mercurial. The things I am looking at are not just the version control capabilities, but also the tools that are available on Windows, Mac and Ubuntu. As part of the tools evaluation I have been playing with TortoiseHg, which seems to be the recommended Hg visual tool for Windows.

read more

Import a SQL dump from one schema into another with MySQL Workbench

When restoring a MySQL dump from MySQL Workbench, currently it is not possible to specify a different schema than the schema used during the export. The workaround for that is to edit the dump file (which is just a text file) in a text editor and change the name of the schema manually.

read more

Super Agile: Unknown is good for your team

Encourage developers to work on things or with technologies they do not know. Watch them becoming the fearless masters of technology, who can solve any problem you throw at them.

read more

The specified password for user account ‘root’ is not valid, or failed to connect to the database server.

While installing WordPress 3.4 via Web Platform Installer 4.0 on IIS 7, at some point the Web Platform Installer asks for MySQL ‘root’ user password. There you might get this error: “The specified password for user account ‘root’ is not valid, or failed to connect to the database server”. That happens even if you enter the correct password.

read more

Super Agile: Replace email with a shared blog

At Primo Software, we have switched from email to using shared internal blogs. That has improved communication in several ways:

read more

Convert an existing Google Apps account to a Google Apps Reseller account

This one was giving me a headache.

I was trying to enroll Swift Software Group in the Google Apps Reseller program, but the standard application form did not want to accept our domain name “swiftsoftwaregroup.com”. It kept coming back saying “This domain has already been registered with Google Apps.”

read more

Super Agile: A note about software requirements

Write your requirements as user stories, following this simple template:

As a , I want  so that .

In other words:

As a product owner, I want to describe features as user stories, so that I encourage myself to think about the added value for my customers.
read more

Android 5: If you make it, they won’t push the update

Android 4 was released in October 2011. Three months later we have just few devices running it. Today Android 5 is rumored to be launching in Q2 2012. We all know how this will end up: wireless carriers and device manufacturers will be late or will simply refuse to push the software update to existing hardware. It seems they do not care about sold inventory, but sure enough they will offer you new devices with the new Android OS.

read more

URLs OR The last ugly thing in web apps

Just look at this URL:

http://movies.netflix.com/WiPlayer?movieid=70198352&trkid=4213507&t=The+Event%3A+Ssn+1%3A+Us+or+Them#MovieId=70197638&EpisodeMovieId=70198352

Ouch! That is what I see in the Google Chrome address bar, while watching The Event – Us or Them on Netflix.

read more

App Stores – the future of desktop software distribution

After the success of the iOS App Store, an app store for Mac was a logical step for Apple. Many people have had doubts about a desktop software app store, but it is now official – the way to distribute apps for Mac going forward is the Mac App Store.

read more

Android fragmentation is bad for everybody

Android fragmentation will kill Android eventually. Some call this fragmentation a “wider consumer choice”, “differentiation” and other names. In reality it only creates headaches for software developers, hinders software upgrades and slows down innovation. 

read more

Why is it faster and cheaper to develop for Mac?

At Swift Software Group, which is our consulting business, we are seeing now more and more projects that have the requirement to run on Mac and Windows. What we found out is that making a Mac version of a software product almost always takes less effort than making the corresponding Windows version. That is a surprise for everybody, as we have been what some people call “PCs” for a long time. So naturally I started thinking why the Mac development turns out to be more efficient. It is definitely not the tools – Visual Studio is still a better IDE than XCode – it is not the OS either, Mac OS and Windows 7 are both nice and modern operating systems and both are centered around better usability and increased productivity.

read more

Zune will be no more

According to a report by Bloomberg, Microsoft will stop making any new Zune models and shift its focus to developing software for mobile phones and video-game consoles.

read more

Android Honeycomb emulator is completely useless

I decided to test drive the new Android 3.0 and tools today.

I updated my Eclipse environment to the latest Helios revision and then downloaded and installed the latest Android SDK and tools.

read more

XNA Game Framework for iOS and Android

I recently came across MonoGame / (formerly XNATouch) – a cool open source project that implements XNA on top of OpenGL. MonoGame currently runs on MonoTouch, Mac OS X and Windows, and MonoDroid will be supported as well. So now we have a portable .NET game platform for all major mobile platforms.

read more

Can HP become the next Apple

As you may know HP acquired WebOS when it bought phone maker Palm for $1.2 billion last year, and this week Leo Apotheker, the new CEO of HP, said in a Bloomberg interview, that starting next year, every PC shipped by HP will come with WebOS in addition to Microsoft Windows.

read more

Can Intel become the next Apple

Now that Nokia has abandoned Intel’s MeeGo,the most logical way forward for Intel is to start designing its own phone and tablet device. That way Intel will control both the hardware and the software and will be able to make them work together well.So what do you think? Can Intel become the next Apple?

read more

A few thoughts about Nokia-Microsoft deal and Windows Phone 7

A few days ago Nokia announced that it would start using Windows Phone 7 as the main mobile operating system on all its future smartphones. I think this is probably a good deal for Microsoft. I do not see how this is good for Nokia though. This deal basically reduces Nokia to just a hardware manufacturer.

read more

Mono will be the cross-platform tool for Android and iOS development

The nice folks on the Novell’s Mono team are almost ready with MonoDroid – a C# version of the Android API, and MonoTouch – the C# version of the iOS frameworks has been around for a while now. So, if you are about to start a new iPhone/iPad application and you already know C#, you should definitely check MonoTouch. If later you decide to support Android, it will be easier to port your app from MonoTouchto MonoDroid than to rewrite it from Objective-C to Java.

read more

The year of the tablet

At CES this year, I saw more than a dozen vendors who are preparing to launch tab, slate or pad device in 2011. Most of the devices are going to be Android based. Except for a few big exhibitors like Samsung and RIM, most companies were showing just prototypes.

read more

Windows Phone 7 – great platform, sad user experience

If you have been a Windows developer and at the same time Apple iPhone/iPad or Google Android user then you probably know what I am talking about here.

Windows Phone 7 is running on top of Silverlight and XNA, and then you can use Visual Studio and/or XNA Game Studio for WP7 development. So in terms of development WP7 is a dream platform.

read more

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!


I intentionally left this automatic WordPress post untouched to mark the beginning of this blog.

read more