When to use pop-ups
Should you use unsolicited pop-ups?
Unsolicited pop-ups are despised by most users but remain commonly used. Why is that? Should you add them to your website?
Elm & Django #1
Embed Elm code in Django
Here is a simple solution to run Elm code within a Django template. This could be used to handle the full frontend or just to embed a "widget" - like a search bar - via Elm.
eatsomecode new design
Better, lighter, faster
The year 2017 has been really busy; I haven't blogged since January. I had been planning to change eatsomcode.com design for months and the winter break is the perfect opportunity to do so. Basically, it's a simpler design which will ...
Learn hiragana and katakana online
The first step in learning Japanese (unfortunately) is to learn the "kanas". The kanas are two syllabaries: hiragana and katakana. To memorise them, you can copy them countless times or you can play a simple game regularly. You can do ...
Handling statuses in Django #2
Expose transitions to an API
As discussed in the previous article, django-fsm is a great plugin to handle statuses in Django. Let's use it with an API.
Handling statuses in Django #1
Choice field & finite state machine
Whether you're building up a CMS or a bespoke application, chances are that you will have to handle some states / statuses. Let's discuss your options in Django.
Testing dates in Django
Testing based on dates & datetime
Django makes unit & functional testing easy (especially with WebTest). Tests on routing, permissions, database updates and emails are all straightforward to implement but how do you test dates & time? You might for example want to test regular email ...
Django to Ember #1
Convention over configuration
If you know Django and want to learn Ember (or vice-versa), this guide is for you. To get started, let's see what happens when a user opens the `/contact` page in both frameworks.
Weird, useless, fun, inspiring or just dumb
The best and worst thing about the Web is that anyone can publish almost anything. In this blog post, let's forget about Wikipedia, Google, GoogleMap, KickStarter, etc. and all these platforms that have a tremendous impact on our lives. Let's ...
Premature code reuse
Avoid the delusion of code reuse
Reusing code is one of the first thing we learn in the IT industry. It's common sense, code reuse means it takes a lot less effort to get your application on the market. Everyone wants as much code reuse as ...
Faster Django Tests
Speed-up your Django test suite
Speed is a feature. When it comes to automated tests, speed is critical. A faster test suite means that your team is more likely to run the tests often, to enjoy the fast feedback and to therefore write more tests ...
Soft Skills review
The software developer's life manual
Have you ever worked with good developers that somehow struggled with money and who were afraid of unemployment? Have you ever worked with terrible developers writing spaghetti code but that somehow managed to get a good reputation and to get ...