Category Archives: Tools

Developing with Docker over a mobile phone tethering

A few weeks ago I moved my development to Docker. Today I was preparing my development environment to be able to work from an office with limited access to the Internet.

I was trying to provision containers using my Android phone as an Internet link.

The connection failed initially

To fix it, I edited /etc/resolv.conf and added

After it I had to flush the DNS cache

and restart docker-machine

The connection is slow compared with my normal wifi, but it allows me to work on my own when not at home or the office.

References

Can’t pull image on my ubuntu 13.04 #1470

How to Flush DNS Cache in OS X Yosemite with discoveryutil

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

Installing Git into a Synology NAS

I have a Synology NAS at home, and I was trying to install Git to reduce the number of private projects I have at Bitbucket.

After using the package manager to install Synology’s Git package, I tried to access Git remotely, but I was received with a message telling me that:

The solution was to create that directory in my user homes directory. After doing it, I got an interactive Git shell when I open an ssh session.

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

More work for Ngramatic

Today I continued working in Ngramatic’s code instead of a side project. I know that it might not be the best idea, but I really want to see the product moving, and a quick fix of half an hour end up eating two hours and something.

While I was waiting for scripts to run, I gave a quick shot to deploy Ghost in OVH. The site is still not working, it is complaining about the access rights, and I haven’t really looked at them yet.

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

Domains and hosting

Nothing too exciting tonight. I was checking hostings outside AWS, because the prices don’t fly too well with me if it is only for a messing around after working hours.

In the end I picked up a VPS Classic from OVH. For 6.5 euros I get two cores, 2GB of RAM and 25 GB of disk, which should be enough to do some experiments. The contract goes monthly, then I can stop it for the price of three coffees. Not too bad.

Then I was busy with administrivia, a few of my registered domains are close to be renewed, and I am consolidating all those operations with the guys in Blacknight.

Tomorrow I will try to deploy Ghost there, and see how it works.

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

New laptop, twice the fun

Apart from the cluster and the other dozen of computers at home, I got my last work horse in 2003, an Inspiron 5160 from Dell.

The thing was expensive, badly designed (it spent three months in service, one for each new motherboard it required until I clipped the insides of the case to stop it ripping the board apart) and lived miserably until a couple of years ago when I stopped using it. Before that I even tried to upgrade it a bit with more memory and a new hard disk, but finally the external wifi card failed and I didn’t bother getting a new one (a few Eee PCs replaced it, thank you very much).

But now the Colmenar is working, Visual Studio 2010 has a good number of nice features, and after a few months thinking I decided to get a new laptop. I got an HP ProBook 6550b, and I am liking it nearly as much as the Eee PC.

It came with Windows 7 64 bits, and a sledge of applications that I didn’t want, so after a few hours trying to remove them I wiped the disk and installed Ubuntu instead. The setup was fast and detected everything but the finger print scanner (which I don’t care).

After installing VirtualBox I went for Windows, and found that the disk that came with the machine had a 32 bits version instead of 64. I imagine that I could have called the guys in HP, but it is not a big deal (as other .NET people are doing, I wonder how longer will I stay in the lands of Uncle Bill) and the setup of Windows 7 32 bits in Virtual box worked without flaws. Visual Studio, SQL 2008 and the usual suspects went in without protests, and now I finally have a machine where I can run Python and mySQL on their natural neighborhood, as well as doing C# as fast as usual in Visual Studio.

The only point a bit annoying is that on the first boot, when Windows asked for my details, some of the dozen weird applications wrote the BIOS with a username and password related to the Mickey Mouse network I said I was using. After wiping everything, when I accessed the BIOS setup to change some details for virtualization, I found that those user details were used and now I can not change them. I didn’t spend too much time investigating, but I guess that I will be in trouble if I want to do a BIOS upgrade, but I think that it will not be another period of seven years until the next laptop. Hopefully, that upgrade will never be required.

All in all I am very happy with the ProBook, it is solid, good looking, the keyboard is surprisingly good for a laptop (I am writing this on it, even than the Natural Keyboard 4000 is my interface with the processor), and the screen is great.

Now, the only bit missing is to do some real programming :)

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

Kanban and Pomodoro

One of the things I do with Evernote is to keep a log of my activities at work.The idea is to make my life easier when I am asked what I was doing in the last few days.

It goes fine, except that very frequently it contains only one line indicating that I started doing something, or that I stay working on the same as the day before. What happens is that after I start a non trivial task I get a better understanding, and it end up in many small things, that I forget to note (because I am doing them, instead of writing!).

Since I put my 20 cents kanban in place, each time a new sub task appear it goes as a stickie to my ‘Ready’ page, which takes only a second (being the same to scribble in a todo list or in a stickie).

When it moves to the ‘In progress’ page, the first thing I do is to start a pomodoro (at the moment I am using Promodoro in the iPhone). Making a pencil line in the stickie each time it ends is trivial, and at the end of the day I just count them, divide by two and write the date besides.

Less than a minute a day and my reporting is done, and visible for everyone.

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

Visual management and personal Kanban

A few days ago I was viewing some of the talks in Øredev 2010, and two of them dealing with agile methodologies fired my interest a bit.

The first is about visual management, and the interesting point for me was that the guy is applying it for any kind of project, including the birth of his daughter. Usually I regard agile with programming, but his approach is very interesting. The video is full of tips and practical ideas, and left me lingering for something similar in the office (even than we do Scrum, there are no white boards around us).

The second is about a personal kanban, and the ideas are simple and extremely practical. Even if the rest of the team is not applying them, there is nothing stopping me from using a similar process on my own. Some time later I was checking the Internet for small boards and stuff. The total cost should be around ten or twenty cents, which is not too bad for an experiment.

This morning I was thinking about implementation, and given than my philosophy is to not acquire anything until I go slower for not having the right tool, I decided to give it a go on the cheap. Here is the result:

A personal kanban for 20 cents

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather