Archive for the ‘Computers’ Category

Gnome Subtitles in the Press!

March 19, 2007

Great news. An article on Gnome Subtitles, my pet project, appears in the latest issue of Linux Pratique, a French magazine released every 2 months. This 2-page article covers many things that can be done with Gnome Subtitles, as well as some basics of working with subtitle files. A thumbnail version is available (Gnome Subtitles is in pages 26 and 27).

Running Postr in Gentoo

February 6, 2007

For those of you using Flickr, there’s this little GTK+ app – Postr – which allows you to upload pictures.

To get it to run in Gentoo, as no ebuild seems to be available yet, i had to install the following dependencies: dev-python/twisted-web, dev-python/elementtree and dev-python/pygtk.

iPhone

January 9, 2007

Finally, a reason to replace my mobile phone… and iPod! For all who have been appart from all the fuzz, i’m talking about the now-official iPhone. This new phone does look like a totally different phone, starting with support for Wifi, bluetooth, GSM and EDGE, and finishing with actually including a version of Apple’s OSX in it. This means access to applications like iCal, iTunes, Safari (web browsing), iChat, email client (don’t recall its name), etc. With a maximum amount of 8GB of storage, it’s also very good to completely replace the old iPod.

It amazes me also in this phone the fact that it has no buttons. There’s a big wide screen with which the user interacts by simply using the fingers. Also very interesting, imagine you’re viewing a landscape image. Rotate the phone and it will automatically rotate the screen so you can see the picture in its full size. The phone also has other sensors, like detecting the luminosity features in the environment and adjusting the screen’s brightness accordingly.

C pointer arithmetic weirdness

January 7, 2007

Here’s an interesting example of the uniformity inherent to C pointer arithmetic and vector indexing. Will this piece of code work?

int v[10]; //let's assume it is initialized
int elem = 3[v];

It turns out that yes, it’s valid code. Any good C compiler (like GCC) should accept this. This is explained with a set of equalities:

v[3] == *(v + 3) == *(3 + v) == 3[v]

Quake and APC

December 13, 2006

I just found the perfect soundtrack to listen to while playing Quake III with my housemates: A Perfect Circle. I can actually feel the efficacy (and sometimes anger) rise with it. Audioslave is good too, but not as good, not as “obscure”.

A plentiful of movie collection managers for GNOME

December 12, 2006

Surprisingly, there appears to exist tons of movie collection applications for GNOME. A quick search on GnomeFiles revealed the following:

Some others were found but not included as they didn’t seem so complete. Even cooler, most of these seem to support IMDB integration.

I’ll be trying them one by one, right now i use a simple php+mysql web application i wrote myself. Maybe i can comment on all of these applications later on.

The Shepherd

December 6, 2006

This one just came by on email. It’s kind of funny for those in the field, and perhaps not very funny for the rest, but still:

A shepherd was herding his flock in a remote pasture when suddenly a
brand-new BMW advanced out of a dust cloud towards him. The driver, a
young man in an Armani suit, Gucci shoes, Ray Ban sunglasses and YSL
tie (Corb), leans out the window and asks the shepherd:

“If I tell you exactly how many sheep you have in your flock, will you
give me one?”

The shepherd looks at the man, obviously a yuppie, then looks at his
peacefully grazing flock and calmly answers:

“Sure. Why not?”

The yuppie parks his car, whips out his Dell notebook computer,
connects it to his AT&T cell phone, surfs to a NASA page on the
internet, where he calls up a GPS satellite navigation system to get
an exact fix on his location which he then feeds to another NASA
satellite that scans the area in an ultra-high-resolution photo. The
young man then opens the digital photo in Adobe Photoshop and exports
it to an image processing facility in Hamburg, Germany. Within
seconds, he receives an email on his Palm Pilot that the image has
been processed and the data stored. He then accesses a MS-SQL database
through an ODBC connected Excel spreadsheet with hundreds of complex
formulas. He uploads all of this data via an email on his Blackberry
and, after a few minutes, receives a response. Finally, he prints out
a full-color, 150-page report on his hi-tech, miniaturized HP LaserJet
printer and finally turns to the shepherd and says:

“You have exactly 1586 sheep.”

“That’s right. Well, I guess you can take one of my sheep.”, says the shepherd.

He watches the young man select one of the animals and looks on amused
as the young man stuffs it into the trunk of his car. Then the
shepherd says to the young man:

“Hey, if I can tell you exactly what your business is, will you give
me back my sheep? ”

The young man thinks about it for a second and then says:

“Okay, why not?”

“You’re a consultant.” says the shepherd.

“Wow! That’s correct,” says the yuppie, “but how did you guess that?”

“No guessing required”, answered the shepherd. “You showed up here
even though nobody called you; you want to get paid for an answer I
already knew, to a question I never asked; and you don’t know crap
about my business… Now give me back my dog.”

Gnome Subtitles – now in Portage

December 1, 2006

Gnome Subtitles, my pet project, has made it to the Gentoo Linux Portage.

This will greatly ease the installation of the application by Gentoo users, while also hopefully gathering more attention and contributors to the project.

Time for an “emerge gnome-subtitles” now. 😉