Java and daylight saving time

October 26, 2014

0

I have written an alarm app for Android, called Fake Dawn. Friday I was talking to my friends, and we mentioned turning back the clock for daylight saving time (DST) on Saturday night, then proceeded to praise our phones that already do that automatically. Wait a minute: does my app work in this case? I […]

Posted in: Software

Sticky Bits » Vulnerabilities in C : When integers go bad!

October 25, 2014

0

Sticky Bits posted a lesson on C integers that explains the common pitfalls (and some uncommon ones) of arithmetic operations. It contains information that any C developer should know but that is often overlooked, and that might be the cause of many bugs that can result in misbehaviour or security issues. I think it’s written in […]

Posted in: Software

Using a buzzer with Arduino in pure C

October 15, 2014

0

Arduino UNO connected to KEPO buzzer

Since one of my most viewed posts is Programming Arduino Uno in pure C, I wanted to write other posts about common Arduino functionalities implemented in C instead of the default language. In my experiments I use a Debian computer with avr-gcc compiler. This time I’m using a buzzer that I bought at an electronics fair. […]

Posted in: Hardware

Fake Dawn app updated, and thoughts about Android API backward compatibility

October 12, 2014

1

Fake Dawn feature image

Some time ago I wrote an Android app called Fake Dawn, mainly to learn about the basics of Java development on Android, and also to implement something that I can use everyday: an alarm that wakes you up gently by gradually increasing the volume and the light in a customizable way. I collected the things […]

Posted in: Software

Eric S. Raymond: Time, Clock, and Calendar Programming In C

October 9, 2014

0

esr (of The Cathedral & the Bazaar fame) has just written a comprehensive guide on the many functions, structures and styles for dealing with time in C, mostly for UNIX, Linux and POSIX operating systems. It’s especially direct in marking obsolete functionalities, stuff that shouldn’t be used, pitfalls and recommendations. I’m sure he struggled with these APIs […]

Posted in: Software

Google announces Android One

September 15, 2014

0

The Nexus products are meant to be the flagship of Android smartphones and tablets, implemented at the state of the art, powerful enough to display all the latest features and efficient enough to have a decent battery life. Android One aims to be the smartphone of the masses, much like Nokia GSM phones were at the […]

Posted in: Hardware

Debian jessie XFCE hang on login [solved]

September 7, 2014

1

openlogo-100

Today I had a nasty surprise when turning on my computer: when I tried to login, it hanged while closing the login screen, and my desktop didn’t appear. So I started troubleshooting. Using Ctrl-Alt-F1 I tried to login from text console, and it worked. From there, I was able to run a desktop session with […]

Posted in: Software
Follow

Get every new post delivered to your Inbox.

Join 451 other followers