Skip to content

Posts...

Page 35 of 49

House: Checklist

January 15, 2015Category: House
Here I'll build a checklist of things you need to do when building a house. Preliminaries There are some things which are generic, independent on the land or the end product: Make sure you want to build . I cannot stress this enough. While there are a lot of advantages (from tax to having your own…

Decoupled Analytics

January 8, 2015Category: Software
While writing my first app, I've decided to try some analytics services. The most obvious one is, of course, Google Analytics (well, it's an android app after all!). Then, I found out that other services can provide analytics too, like Mixpanel . Unfortunately, most code I found online advocates…

Add a Toolbar to a PreferenceActivity

January 6, 2015Category: Software
When trying to move a playground to Material Design , I stumbled upon the new Toolbar widget, which is supposed to replace the ActionBar (well, that's my understanding from all the posts I've read). Thing is, the Toolbar is designed to be added to an Activity . To do that, the Activity class…

Happy New Year!

December 31, 2014Category: Random
To all readers, Happy New Year and may the new year bing you everything you want! :)

Brand Colors

December 19, 2014Category: Software
A while ago I've found a list of common brands' colors. Here it is:   #121212     Squarespace     #464646     WordPress (grey)     #9c0000     Readability     #c4302b     YouTube     #c41200     Yelp     #cc0000     Red Hat     #cc0000     Staples     #cc0000     Virgin Media     #d7584f…

Make Dialogs Obey Your Material Theme

December 18, 2014Category: Software
Material design is nice. Flat, with well determined contrast rules... and most applications I've seen look excellent. I wanted my application to loon nice too and it does (well, almost right now :) ). One thing that is not in line is the dialog style. If you're here, you know that if you only set up…

Launch a timed service - Strategies

December 17, 2014Category: Software
An app I am writing at the moment needs to have a periodic timer, i.e. a way to run a bit of code at regular intervals. After digging through different sources, I've found two recommended patterns to code such behaviour: Using a periodic alarm: Android has the concept of periodic alarms (think an…

Fuzzy String Matching in PostgreSQL

December 16, 2014Category: IT
A database I am working on has a lot of records (40M+) and the guys mining it are currently using python to process it. This is very powerful ( nltk ) but also quite slow. One of the guys has found that you can do fuzzy string matching straight in Postgres and the feature is quite advanced…

Belgium Customs and DHL - A History of Legal Thieving

December 5, 2014Category: Random
The other day I ordered an item from Hong Kong, to be delivered with DHL, because DHL would be quicker. So the total cost was: The item: 30.40 USD The shipping: 33.80 USD Grand total : 64.20 USD The amount of taxes I had to pay for the package was... wait for it... approx 26 EUR ! My first reaction…

Split a Gradle Build File

November 30, 2014Category: Software
TL;DR: If you can, use ext {} with constants (hash). You can do call pointer things too! In the past days I've been trying to add some functionality to my Gradle build file so the version would be determined from the git tag. I've found this excellent entry showing how to get the actual string. My…
PreviousNext

All tags