Author Archives: nippius

Why creating objects inside constructors is a bad move

So recently I’ve started studying how to create multi-threaded applications and one of the problems I stumbled upon is the “this” reference escaping. What it means is that you pass the reference of an object that isn´t fully constructed to another piece … Continue reading

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

How to setup TivaWare in Code Composer Studio manually

The only steps needed are the following: Install TivaWare inside the “ti” folder. Go to View>Resource Explorer and import driverlib, grlib, sensorlib and usblib. Build the 3 projects. Now, when creating a new project define the following symbols (Properties>Build>ARM Compiler>Advanced … Continue reading

Posted in Uncategorized | Leave a comment

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

Diference between GPIOPinConfigure() and GPIOPinTypeXXX()

When working with the tivaware lib, you need two functions to configure the GPIOs to work with a given peripheral: GPIOPinConfigure() and GPIOPinTypeXXX() Now the discription of those functions where i little confusing (at least to me) so here is … Continue reading

Posted in Uncategorized | 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

Project: MP3 Player – Design and goals

As promised here is the first post about my mp3 player project. I´ll talk about mainly two things today: What are my goals  and what will be the basic design of the project. Well for my goals, what I have … Continue reading

Posted in Projects, Varuna MP3 Player | Leave a comment

First post!

Welcome to my little corner of the Internet! I’ve decided to create this blog, not only as a way to help document my little (and BIG) projects and to try and show that computer´s aren´t all that magical machines (although … Continue reading

Posted in Uncategorized | Leave a comment