Arxiu de la categoria 'English'

Cukey

diumenge, 18/09/2011 (19:56) per carles

Vaig veure la paraula «Cukey» en algun lloc, i m’agrada. Urbandictionary diu:
“”"
A combination of cute and geeky. Used in the iCarly episode: iSaved Your Life:

girl: “You’re cukey”
computer guy: “What’s that?”
girl: “A combination of cute, and geeky!”
“”"
To contact me: cukey@pina.cat

Screensaver for KDE using Python and Pygame

diumenge, 11/09/2011 (19:49) per carles

At Mendeley we have already done two hackdays. That’s quite interesting event: during a period of time (first one was on Friday until late night or overnight, second one Saturday and Sunday) we do whatever we want to do, it only needs to be a bit related with Mendeley.

On the last hack weekend I did a screensaver using Python, which one is integrated with KDE. Probably with some small changes would work in other systems.

In this entry I’ll cover the basic of the screensavers in KDE (how to integrate the new screensaver in KDE), and how KDE interacts with the screensaver. You should know a little bit of Python and Pygame, but if you don’t know you can still understand the code and do the same using other systems.

The code is in Git. Or if you want the quick example look here.

(més…)

Pidgin plugin for MegaHAL

divendres, 18/03/2011 (17:11) per carles

Some time ago I wrote how to setup MegaHAL to have some talks with “it”.

But, after that, I went one step further and I wrote a Pidgin (multinetwork -Jabber/XMPP, msn, etc.- Instant Messenger client,plugin) so MegaHAL can automatically answer some people. In other words: you can say “for this Instant Messenger account, when this contact writes to me Pidgin will automatically answer some text using MegaHAL”.

(Warning: some people can get upset if they think that they are talking with you but they are talking with MegaHAL. Even if MegaHAL learnt from you and the co-worker chat logs.)
(més…)

Megahal: how to use it?

diumenge, 13/03/2011 (19:50) per carles

Megahal is a conversation simulator, free software, available as a package in Debian systems. This post will talk about how to use and train it. Not difficult, but the first time I was a bit confused.

First of all: install megahal:
apt-get install megahal
(or aptitude, compile from the source, etc.).

Then you can run megahal in the terminal, just typing megahal. It will probably show something like:

(més…)

Socks server, easy way: ssh

dimecres, 28/04/2010 (23:20) per carles

Short article:
I love ssh (really, what a nice piece of software, tunnels, reverse tunnels… and sock servers!):
ssh -D 1080 user@server
Setup your favourite application to use the socks server on localhost, port 1080. ssh will send to “server” the communications, cyphered. And from there to the world.
If your favourite application doesn’t have socks support: install tsocks and wrap your application with a tsocks call:
tsocks application
(you need to setup the server in /etc/tsocks.conf)

Long article:
I wanted to watch from London a basketball match that was broadcasted in the Catalan TV (and Spanish one) but only for Spanish residents.
(més…)

Delay the mails with Postfix

dimecres, 14/04/2010 (01:00) per carles

Some days ago I commented in Catalan that I wanted to delay the mails using Postfix. Why? To have a period of time where I could cancel (or “unsend”) some mails. Google has done it in GMail (see Labs option). It can be useful for these moments like “Ops! I sent the mail to the mailing list instead of to a person” or “ops, I sent to A instead of B”. It doesn’t happen often, but can happen.

My setup: mutt is sending the mails to a local Postfix using the sendmail program, Then Postfix sends the all mails (relay) to another SMTP server. Technically I could change both SMTP, but I only wanted to change the local one since it’s “my one” and closer to the MUA.
(més…)