An interesting video that shows what happens when you upload, download, and then reupload a video to YouTube. It really shows how lossy compression slowly degrades the quality. I remember seeing someone do something similar with a jpeg before.
I loved View Helpers in Zend Framework 2 so it’s nice to see their easy to use in ZF2 as well.
The question I want to raise is whether branching and merging are good tools for an agile development team, or a nuisance.
IMHO, the short answer is nuisance, which is why I push to merge back into the main line at least once a day and try to push/pull just as often.
Branches are inherently about creating isolation
I also agree with this statement which is why feature toggles are an excellent way to create new features without allowing them general adoption.
A blog post about using SASS to extend the Bootstrap classes in order to reduce the amount of technical dept we add to a project.
As someone who started a project using Skeleton, then switched to Bootstrap 2 and am now making the transition to Bootstrap 3, I can see where this would have saved me a lot of time. Another reason SASS and CSS preprocessors in general are awesome.
For my day job I work on a PC laptop (at home I’ve been using a Mac laptop) and for my work projects I’ve started using GitHub for Windows. Mostly because I don’t have to upload a new public key every time I create a new VM (or copy the private key and public key to the VM) but it also make common tasks easy and there is a spell check. The one downside is that my VMs are all Linux and the execute permissions I set in Linux don’t carry through to the git permissions and cause problems when I add an executable or script and then assume that the server will get the correct permissions.
The solution to this is to use
git update-index --chmod=+x path/to/the/file
I wish I could say I haven’t done the third, fourth, and fifth comments before but that would be a lie. I really hate it when I forget to save a file and have to repeat the last commit with a note that says I forgot a file.
We had to move about 30 databases from one server that had run out of drive space to another server with enough drive space to last us a couple years (at current growth). The problem is that the old server didn’t have enough space for the dump files (shutting down the server for the duration of the maintenance wasn’t an option, so we couldn’t copy of the database files) so we had to figure out a way to move them using
I love how easy SSH can make things. The quick fix for this problem was for us to pipe
mysqldump‘s output into SSH and then restore them on the remote server.
mysqldump -u username -p database | gzip -c | ssh username@hostname 'cat > ~/database.sql.gz'
We could have dumped the dump directly back to MySQL but because restoring these databases took upwards of an hour we found it easier to move them all over, run a script to restore them all, go home for the weekend, and look for errors on Monday.
An interesting article about how Diaspora starting using MongoDB and switched over to MySQL after they ran into problems with consistency. It’s a little long but I would recommend reading it because it explains one of the problems with using a document-oriented database. I would also like to say that I’m not a NoSQL database expert but I love the structured nature that traditional SQL gives us plus we have decades of experience with people using it.
How far we’ve come.
I’m always looking for ways to improve my workflow and on Shop Talk Show #90 they mentioned this presentation. It has a LOT of tools that I’m going to be experimenting with.