Monthly Archives: September 2013

Changing hosting

For a good number of years I was using Hosting365/Register365 as my hosting service. I was with another crowd before, but around 2005 I wanted to make some experiments with web applications in .NET 2.0 and they were the only company I found in Ireland offering it.

Later I added a Unix hosting (which was cheaper and gave me the chance to learn a bit about Linux in real life), dropped a few sites there and basically forgot all about it. Now and then I logged in to do some small thing, but I never really interacted with the site or its tools.

Time passed, and they merged with another company, put a fresh site and hosting plans, and since then I really tried to avoid doing anything around. It was too confusing and gave me little satisfaction. Lucky enough the sites were more or less on autopilot, and I liked that situation.

But, two years ago my friend Rob started working in wripl, and when I tried to deploy their plugin in WordPress, it asked for updates that I wasn’t able to apply with my existing hosting.

I messed around, not really wanting to deal with all of that, and soon realized that I needed to change my hosting plan. But then, it would just make sense to unify Windows and Unix into one account (I am not using ASP.NET anymore for web hosting), and then I had to do a lot of migration work that I didn’t want to do, and then I would need to pay just a bit more, and then… I quitted.

Some of my friends (including wripl) recommended Blacknight, and I know one of the founders from my involvement in MTUG years ago, then it looked like a good candidate.

I went to their site, bought the hosting and I was sorted, sort of. I had to move the sites from one hosting to the other, then I realized that all the backups that I was doing from mySQL were useless, then I couldn’t figure out where to put my files. The documentation in Blacknight is less than spectacular, and at least for me fairly confusing. After an afternoon messing around I started getting frustrated, and my friends didn’t remember how did they do anything there either.

The next day I started from fresh, created a trouble ticket and then tried the support chat. Both were very good, nearly the same response time (from two different contacts, on a Sunday afternoon), and things were resolved quickly. Both the tools and files location are different than in Register365, but once you get the idea of how things work they are good for my needs. Creating an SQL script to import the database was a bit more tricky, because one of them was around 50 MB and the import process didn’t like that, but splitting the text file was the solution.

In the end I am very happy with the move, and hopefully will stay the same.

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

Nginx and Vagrant

I have been using Vagrant for a couple of months now, and it is a fairly good solution to my usual problem of having too many projects in the same machine.
However, I was doing some front end Javascript development today, and none of my changes was served by Nginx. I disabled caching both in browser and server, but no updates were received.
The problem is that Nginx is using the filesystem if you are making calls from your local machine, and that didn’t work very well with Virtual Box.
For my own reference, the fix was simply to add the setting:

to my nginx.conf server section.

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

How to change an issue status in Bitbucket during push

I am using Bitbucket a lot more than usual, and keep finding interesting bits and pieces.

For my own reference, here is a list of the commands to change the issue state while pushing to Bitbucket.

Action Command Keyword Examples
resolve an issue
  • close
  • closed
  • closes
  • closing
  • fix
  • fixed
  • fixes
  • resolve
  • resolves
  • resolved
  • resolving

close #845

fix bug #89

fixes issue 746

resolving #3117

reopen an issue
  • reopen
  • reopens
  • reopening

reopen #746

reopening #78

mark an issue on hold
  • hold
  • holds
  • holding

holds #123

mark an issue wontfix
  • wontfix

wontfix #12

mark an issue invalid
  • invalidate
  • invalidates
  • invalidated
  • invalidating

invalidates #45

link to a changeset for the issue
  • addresses
  • re
  • references
  • ref
  • refs
  • see

re bug #55

see #34 and #456

The commands needs to be all lowercase, and seems to be doing the trick. Just to keep a real life example, I did a small project in Bitbucket to follow the history of an issue.

You can check the details in Bitbucket.

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

An interesting presentation from Netflix

During my work at emuse I got somehow familiar with some of the technologies in Netflix. They have an interesting recommender, and make contests to enhance it too, then I try to follow their adventures.

Some time ago I found a presentation about the culture in Netflix done by one of their executives as a stack in SlideShare, and I would like to keep the reference around.

In my case I am probably lacking many of the conditions they like (I remember a story about Bill Gates saying that if he had to apply to work in Microsoft they would probably not hire him), but it is an interesting goal trying to achieve them even though I am not interested in working there.

And if I ever manage to have my own company again, for sure I will try to have a similar culture in place.

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather