Category Archives: Knowledge

Disabling Intel Adaptive Contrast Enhancement via registry

WARNING: Don’t do this unless you know what you are doing. Messing with the registry can break your computer! NOTE: This is not related to Windows automatic brightness adjustment because that uses a light sensor, usually located near the keyboard. This … Continue reading

Posted in Knowledge | Leave a comment

Little MySQL optimization/weird behaviour

Here is another little weird behaviour about MySQL (5.5.46-0ubuntu0.14.04.2). Today i needed to make a query for searching a table with millions of rows for all rows between two dates. The query goes something like this: Running querys like this … Continue reading

Posted in Knowledge | Tagged , , , | Leave a comment

FU MySQL/MariaDB

I just spent an HOUR trying to find out why a stored procedure was returning NULL no matter what i did! Here is the procedure i was trying to create: Simple right? Can you spot the mistake? No? Well don’t … Continue reading

Posted in Knowledge | Tagged , , , , | Leave a comment

Sleeping threads using events in python

So today i needed to find a way to sleep() a thread in python without blocking the other threads. For some reason, time.sleep() wasn’t cutting it and was blocking my main thread. Well, unfortunately python dosen´t have a thread.sleep() (as … Continue reading

Posted in Knowledge | Tagged , , | Leave a comment

The Go language

Unfortunately i haven´t had much time to mess around with my MP3 player recently, however I’ve started to learn a new programming language called Go and it is awesome! The syntax is a little bit weird at first for someone … Continue reading

Posted in Knowledge, Uncategorized | Leave a comment