Posted by & filed under Uncategorized.

As I showed in the previous post  it is possible to use WhatsApp service from Linux through a little client in Python. In that post I showed how to register a phone number to obtain a password then logging in and using WhatsApp. The interesting part is if whether is possible or not getting someone’s password and use his “user”. Well the answer is YES and its easier than what I thought it would be. The method I will describe was tested in Android and iPhone. Blackberry and Symbian weren’t successful.


First we must get the password for a user already registered and currently using WhatsApp, as it uses an MD5 hash of the IMEI/MAC (depending the OS) to generate the password; by only having any of them and the phone number we may use the user’s identity. Read more »

Posted by & filed under free software, linux.

Since some weeks ago I used a Python library to use Twitter from Linux (I may make an entry about it) It also urged me the question of using WhatsApp from Linux. Today a friend sent me this article (spanish) and trying to replicate the examples I managed myself to get something working.

Everything is made through yowsup (see requirementes) from Tarek Galal which within few simple steps we get a working client.
For the following examples i used a spare SIM card and an old cellphone, first we must register the line.


First we create a plain text file which we will use to save our ‘profile’, in it it is important to highlight 3 fields.

#Complete phone number

The first elements will be obtained directly from the cellphone, the ‘password’ field is left in blank at first. Now we execute the following

./yowsup-cli -c [config file] --requestcode sms

It is important to notice that there is no need to do dis more than ONCE. Once done we will receive a sms like this:

WhatsApp code xxx-xxx

So now we execute Read more »

Posted by & filed under ciencia, computación, logica, matematica, programacion.

Lately 9gag has been flooded with “Go are drunk” jokes. Few days ago procrastinating as usual I found this image posted:


I couldn’t help notice that actually Its correct replying “yes” that question, that it was a matter  of what meaning we commonly give to that question.

When we ask “Is it a tablet or a laptop?”  the regular intention is to know whether it is a tablet or if its a laptop. Notice that in this context it can be either one or another but not both.

An example could be “Its is a bird? or it is a fish?” , clearly it can be neither or either one but not both (unless you live near a nuclear facility, who knows what creatures may grow nearby).

However in the image the question is interpreted as if either of those definitiones defines the object. Lets think in the universe of the natural numbers, we can define two groups even and odds. The union of these groups gives us the whole universe, so its obvious that given any natural number it is going to be either even or odd. So if I ask “is 2 an even or odd number?” it is right to answer “yes” because 2 satisfies the even definition. In this case any given natural number the answer will be yes.

It is said that a mathematician once was asked if his child was a boy or a girl, he replied ‘yes’.

Posted by & filed under computación, free software, linux.

I have this netbook for about two years, It came along with Windows 7 Starter which I hardly ever used because I mostly use Linux Distributions. That’s where my problem started, finding a distribution which works best with my equipment.

Since I bought it on mid-2010 and casually had installed Ubuntu 10.04 LTS on my desktop, that was the first distribution I tried on it but no without some issues.

  • Native resolution not recognized, had to tweak it a bit to make it work.
  • Fn keys not working out of the box.

There’s also an app available at the Ubuntu Software Center (eee-applet) with some interesting features.

Now I was curious how other distro’s behaved on my eeepc so I made a few tests.


Did not recognize the native resolution & couldn’t make it work even with some ‘tutorials’ rounding internet about others eeepcs. Also had some problems with the wlan.

I don’t want to be too harsh so I must say there’s a chance Its my ignorance fault, I’m still an apprentice at Linux so its logic to find some difficulties with no-so-friendly-distros.

Before even attempting to try any other distro on my netbook (though trying CentOs, Mint, Ubuntu 12.04 on VMs) I decided to google “eeepc” and at my surprise found the following result:

It doesn’t list my 1201HA specifically but pretty close so decided to give it a try.


As soon as the installer screen showed up at the proper resolution I got excited about it, native resolution recognized with no tweaks needed, touch pad  working perfectly with “two-finger scroll” and most Fn keys Working. And here relies the only issue I’ve found so far, the brightness keys does not work (not even the gnome brightness control). I managed myself to make a rough solution by keyboard shortcut calling for an script that echoes values to the ../brightness file thus changing the displays brightness.

Its not a pretty solution but hey!…it works. Again, I’m pretty rookie with Linux so I cant call any distro’s fault. If I have any spare time (and energy) I’ll try other distros such as CentOs, Mint(Ubuntu & Debian based), eeeUbuntu to see if I get any better results.

To sum up, it seems there’s no easy road with this specific model, perhaps because of the GMA500 (I’ve read some swears because of it) or perhaps my lack of experience/knowledge…I don’t know…next time, I’ll google the model’s performance with Linux before buying it.

PS: My English is quite rusted, so pardon me.

Posted by & filed under internet.

If we have Sharedaddy we probably would like that whoever twitts our blog, mentions our account through a ‘via @ourAccout’.

Sharedaddy has currently no support for this, but by editing a simple php file we can make it on our own.

First we must find the ‘sharing-souces.php’ file; if we have Sharedaddy activated through Jetpack it’s located at /wp-content/plugins/jetpack/modules/sharedaddy folder, otherwise at /wp-content/plugins/sharedaddy.

In the functionprocess_request we look for the line that begins:

$twitter_url = add_query_arg( urlencode_deep( array_filter( compact( 'via', 'related', 'text', 'url' ) ) ),
 sprintf( '%s://', $this->http() )

and modify it so it loks like this:

$twitter_url = add_query_arg(
 urlencode_deep( array_filter( compact( 'via', 'related', 'text', 'url' ) ) ),
 sprintf( '%s://', $this->http() )

As simple as that