Profile cover photo
Profile photo
Tor Håkon Haugen
1,297 followers -
IT-consultant with a passion for coffee, hiking, fishing, photography and much, much more.
IT-consultant with a passion for coffee, hiking, fishing, photography and much, much more.

1,297 followers
About
Posts

I don't understand the new Google+. Did they remove circles? How can they say that it's "Simpler, faster and better"? I was quick to leave, if that what they mean by faster....
Add a comment...

Post has attachment
Just had to stop and take a few photos on my way home from work the other day.
Åmsosen, Nedre Vats, Norway
Photo
Add a comment...

Post has attachment
I've shared this on my blog, Flickr and Facebook. So I might as well share it here on Google+
Photo
Add a comment...

Post has attachment

Post has attachment
Add a comment...

Post has attachment
Opening a file with "r" instead of O_RDONLY (using open()), fstat(fd, &buf) will set buf->st_size to zero without any warning (unless you include fcntl.h).

If the fstat() call is left out, open() will leave the file supplied alone, unless the file doens't exist. In that case open() will create the file and give it some random properties.

At least my program wasn't lying when it told my that the file size was 0 bytes. It is now. On all the three files I tested it on before I checked with 'ls'...
Photo
Add a comment...

Post has attachment
Coffee
Coffee
500px.com
Add a comment...

Post has shared content
The internet just got destroyed by Will and Carlton! You must watch every second of this video http://youtu.be/ZwS14TiO7Pk
Photo
Add a comment...

Bob + Alice == Secrets

Apparently Bob and Alice has a lot of secrets. Because whenever I read about cryptology, it's almost always Bob and Alice exchanging some information that they don't want anyone else to see.
Add a comment...

Post has shared content
A father's love...

"My three year old daughter and I play a lot of old games together. Her favorite is Donkey Kong. Two days ago, she asked me if she could play as the girl and save Mario.... I told her we couldn't in that particular Mario game, she seemed really bummed out by that. So what else am I supposed to do? Now I'm up at midnight hacking the ROM, replacing Mario with Pauline."
Add a comment...
Wait while more posts are being loaded