5minutenpause

father and developer from Berlin

A Gruntfile for frontend developers

| Comments

If I do any frontend development I want to make sure I can concentrate on the important things. Things like writing Sass, HTML or Javascript. I don’t want to spend time on basic stuff like copying files or making sure my Javascript files have a semicolon on every line. This is were task runners or build tools come into play. There are quite a few too choose from. My current frontend workflow is based on Grunt tasks. If you are still getting started with Grunt, or just never took the time to set it up, here are my tasks. Use them if you like and please let me know if there are things I could do better or if there are any questions.

Comprehensive guide to deploying Rails applications with Mina

| Comments

I have this small SaaS web application. It has no homepage and it has no signup form or signup site. It has no marketing campaign and people only hear about it from current users. I manually onboard new users and show them around, personally. From face to face. To put it short: “I do things that don’t scale”.
The people using my software depend on it for its purpose, though. They earn real money using it and they are serious about it. They have feature requests and get annoyed when something doesn’t work — for good reason. That’s why whenever I develop a new feature or roll out a security update or fix a bug, it is really important that I don’t mess things up. It is okay to have a few minutes of downtime when the app restarts, there is no need for deployments with zero downtime. But other than that, the software and all things the users got comfortable using should work as intended.

To achieve this there are a few things in place that make this easier for me. Let me tell you about them.

Enter: comments

| Comments

After having people ask me for it and considering the benefits, I will enable comments on my blog. Right now I’ll use disqus.com for this purpose. I am in the middle of creating my own comment system — based on Github issues — but that’s still a work-in-progress and I don’t know when I’ll be able to finish that. So please try commenting if that’s your thing.

Thank you.

Start hacking

| Comments

Some people learn programming because they want to fulfill a wish. Perhaps the wish is to get a (new) job. Or they want to take on a career where you can be creative and get paid well. Some learn programming because they have an idea for a piece of software, an app or a service.
Once they’ve completed the introductory course, you often see them stumble and wait. They aren’t sure what to do next, afraid to not know enough to get started with their idea. They go hunting for even more lessons on programming. Hoping the next course will teach them the things they don’t know yet.
Well here’s the secret:

I am just like you.

| Comments

I have a list in my simplenote app that contains ideas, headline and snippets for possible future blog posts. Right now there are about ten entries. It’s hard to tell how many exactly, because some are just a headline for a kind of mini series about something. Some of these possible posts are about ruby/rails technologies. Some are about workflows (e.g. deployment). One or two are about things I did earlier in my career, so they are something about funny or interesting anecdotes, or just for reliving and remembering things. Some ideas are even about me.
But all these posts have one thing in common: They are for me. Every single post would eventually be written by me for me. What I mean is, that these topics are things I have a personal interest in. Let me make an example:

So, he doesn’t know this, huh?

| Comments

You and I, we develop software. The things we create run inside browsers and on smartphones. They run on computers and on servers. They serve the need of some, and sometimes the needs of hundreds. Or thousands. Or, if we are lucky or have the right setting, millions use our software or parts of it. The systems we develop and write have many moving parts. They consist of a lot of different technologies. Depending on what you develop, you have to be a generalist, more than a specialist. But it depends.

Free programming books

| Comments

Because one of my main themes for this blog is learning, I want to share with you a resource I just stumbled upon. It’s a collection of links to free programming books. The collection has its origin on stackoverflow but migrated to Github for collaborative updating. There are links to several languages available so you don’t necessarily read an English book. You can find the collection on Github.

Happy reading.

How to: HTML5 video that works on every browser

| Comments

tldr;

HTML5 video sucks. Flash sucks. If you want to use HTML5 video anyway you should consider using a third party library. I suggest mediaelement.js.

Introduction

Integrating HTML5 video in your website and making it work in every browser (yes, Internet Explorer as well) still is no piece of cake. As I had the ‘pleasure’ of dealing with this task in the last weeks I want to write down what I found. There are some hoops you have to jump through, surprisingly even when dealing with a modern browser like Chrome. The only ‘just works’ solution seemed to be .mp4 files with Safari. But as I am on a Mac that might just be only my point of view. So let’s get this going one browser at a time.