Sgoettschkes.me

Coding 5 to 9

All post for category "Dev"

Written by Sebastian on Dec 8, 2016 in Dev

(clojure 1) The beginning

After "The setup", I dove right into Clojure. As said before, I want to get to know Clojure by working on Advent of Code (AoC). I realize that coding puzzles and dojos and katas are not real world applications and one might miss certain things like performance or running an application in production. But they are small enough to provide fast feedback and to not hit a big wall. Even if I am not able to solve one, I can always skip that and keep going with another puzzle.

Read more

Written by Sebastian on Dec 5, 2016 in Dev

(clojure 0) The setup

In the last week I started playing with Clojure. The reason for this are some upcoming projects with the blossom Team. The stack will most likely be Clojure in the backend and ClojureScript in the frontend. So I better up my game. I started with the Advent of Code to have some real world exposure and not just write complicated "Hello, World" code. I'm planning on writing a series of blog posts, documenting my journey.

Read more

Written by Sebastian on Feb 29, 2016 in Dev

Idempotent version updates with Ansible

If you are a seasoned Vagrant user, you know the problem around provisioning. If some software version changes, everybody needs to provision his or her machine again. Otherwise, things will fail eventually. You'll also run into problems if running the provisioning twice fails for some reason (e.g. because a file already exists somewhere).

Read more

Written by Sebastian on Jan 21, 2016 in Dev

Dart, Vagrant and IDEs

Using Vagrant in order to have a reproducible development environment is second nature to me. All projects I work on have a Vagrantfile and it usually works great.

Read more

Written by Sebastian on Sep 13, 2015 in Dev

Deploying to PythonAnywhere with TravisCI

Many of you might already know it: Soon I'll be joining the blossom Team on their quest to project management awesomeness. The current development stack of blossom consists of Python and Dart running on Google App Engine. In order to get some experience with both Python and Dart, I started a small side project which is a perfect combination of my two main interests, development and music.

Read more

Written by Sebastian on Aug 21, 2015 in Dev

PhantomJS 2 on Wheezy and TravisCI

After playing with Dart for a little while, I also looked into testing with Dart and learned that the test library can use PhantomJS to test the code that interacts with the DOM. Being a testing junkie, I wanted to give this a try but learned that I needed PhantomJS 2 to get it working. Beside running it in my VM, I also wanted to have it running on TravisCI. This blog post tells you how to set up both.

Read more

Written by Sebastian on Jul 26, 2015 in Dev

Deploying a Jekyll website to Github Pages using TravisCI

Today I switched over this blog to be subject to continous deployment. Whenever I push a new commit (which might be a design change, new blog post like this or some small change), everything is build and automatically pushed to Github Pages, which host this blog.

Read more

Written by Sebastian on Mar 25, 2015 in Dev

Running Ansible devel (on Codeship)

If you are tasked with managing servers, you might have read about Ansible. If you do not know it, here is a quick intro: With Ansible you can define tasks which should be run on your (remote) hosts and Ansible takes those tasks, opens a ssh connection into your hosts and executes them.

Read more

Written by Sebastian on Jan 27, 2015 in Dev

Vagrant base boxes

If you are using vagrant on a daily basis, you might already be using something else than the base box suggested by vagrant (which would be the hashicorp/precise32 or hashicorp/precise64). If you are thinking about creating your own base boxes or are interested in the topic, read on. If you have no idea what I am talking about, the vagrant documentation can tell you more about Boxes.

Read more

Written by Sebastian on Jan 18, 2015 in Dev

Developing cllctr

Over the past two month, I have been building a new weekend project: cllctr. It's a CD database you can use to store information about your CDs. Say goodbye to excel lists and over-the-top stuff as discogs or collectorz. cllctr is focused on the right amount of data, balancing the time needed to enter new CDs or organize a exisiting collection.

Read more

Written by Sebastian on Oct 28, 2014 in Dev

Vagrant and tmpfs

When I am talking about Vagrant at usergroups and conferences, one thing I always mention is that shared folders are slow, especially with Virtualbox. While it's true for reading to some extend, the biggest bottleneck I experience is writing to the shared folder. This happens a lot with cache and logs in development mode when you use e.g. symfony2. These folders live inside the project dir and depending on your project structure you might not be able to redirect them to some folder inside the vm.

Read more

Written by Sebastian on Jun 28, 2014 in Dev

Jekyll: Update your sitemap automatically with rake

If you write your blog to also be found through Google, you may have a sitemap which makes it easy for Google and Bing to crawl your page. It might be good idea to inform both if this sitemap changes so they can send their crawlers your way and update their index with the great stuff you just put on their. This can be done by doing a GET request and passing the url to your sitemap as a parameter. Easy as pie, right?

Read more