You know what should be in the next CES?

Really, since I moved from Puebla, I had video calls with my parents more frequently, I use the Apple TV so I can “mirror” my iPad screen there so my three kids can see them.

The advantage is that, they can see their grandparents in a big screen, the problem, they often start talking to the screen ?.

How to solve that??  Having the web cam in the TV, and the freaking videocall app in the TV.

If today’s TVs are so smart, why there is no Facebook Messenger app there?. It would be amazing to have a web cam (you can always put black tape there) and microphone directly in the TV so you can easily do videocalls. read more

One fucking day

I made the setup of this machine yesterday, today it just won’t boot, the problem is related to gpsvc service, either the windows registry got corrupted or there’s a problem with permissions and apps or something that I don’t know.

One fucking day.

Get attachments with Python over IMAP

This comes from the old blog:

I’m currently working on some stuff for my blog, well, not exactly this blog, another, I guess it may be better to sometimes post via email, sometimes just test, sometimes images. This is what I’ve got so far.

# @author    Marco Antonio Islas Cruz <markuz@islascruz.org> # @copyright 2011 Marco Antonio Islas Cruz # @license   http://www.gnu.org/licenses/gpl.txt   import imaplib import email imaplib.IMAP4.debug = imaplib.IMAP4_SSL.debug = 1   username,passwd = ('usuario','password')   con = imaplib.IMAP4_SSL('host',993) con.login(username, passwd) con.select() typ, data = con.search(None, '(UNSEEN)') c = 0 for num in data[0].split():     typ, data = con.fetch(num, '(RFC822)')     c +=1     text = data[0][1]     msg = email.message_from_string(text)     for part in msg.walk():         if part.get_content_maintype() == 'multipart':             continue         if part.get('Content-Disposition') is None:             continue         filename = part.get_filename()         data = part.get_payload(decode=True)         if not data:             continue         f  = open(os.join(os.environ['HOME'],filename), 'w')         f.write(data)         f.close()         con.close() con.logout() read more

What is the best desktop email client for Linux ?

I’m posting it here because I would like to have the answers in the comments of this post. I’ve been using for a long long time but also since 2010 I’m using OS X as my main desktop.

When I’m in Linux I usually check my emails in thunderbird or sometimes with evolution. Both are good but also both have their own issues.

Evolution is somewhat integrated with Ubuntu, by default the calendar and contacts are used in Ubuntu although the email client is not installed by default, for that Thunderbird is the choice, but I see that contacts are not synced (I’m using gmail as mail provider). Thunderbird have a nice notification widget but… contacts don’t sync natively. read more