Archive for August, 2011

Uses of your old (expired) SIM cards

Thursday, August 25th, 2011

Hmm, I got a plenty of SIM cards, all expired (!), what can I do with them?

  1. Throw away.
    Be careful! You shouldn’t just throw it into your bin. My suggestion is to put it into “electronics waste” and recycle. Not sure if there is recycle facility for SIM cards but group them as “electronics waste” will be a good starting point.
  2. Make earrings.

    Trendy and nerdy :)
    http://www.wikihow.com/Make-SIM-Card-Earrings

(more…)

What’s the difference between sys.exit() and exit()?

Friday, August 19th, 2011

I was trying to create a Windows binary using py2exe. When I run the exe file (it is a command line program) without any argument, it should print a usage message and exit. To my great surprise I saw this:

>> NameError: name ‘exit’ is not defined

Very weird. So I changed that line from exit() to sys.exit() and recomplied using py2exe, everything works perfectly now.

So what is the difference between sys.exit() and exit()?

(more…)

The meaning of MiB and GiB

Thursday, August 11th, 2011

Basically MB/GB means the prefixes M (10^6) and G (10^9) are counted in decimal. MiB/GiB means the prefixes are counted in binary - Mi (2^20), Gi (2^30).

See the article on Wikipedia: Binary prefix

Vendors specify capacities (of hard drives for example) using GB/MB which results in a higher value compared to GiB/MiB. However, Windows (and possibly other OSes) will usually only tell you the GiB/MiB value, despite the fact that it writes GB/MB as unit behind the value :)

How long can you keep your PAYG number without using it

Tuesday, August 9th, 2011

On my packing days, I discovered 10+ SIM cards…. Yeah… I kept all of them… and all of them were expired already… To keep the number alive (hence less rubbish SIM cards) I am going to list my findings on each operator’s policy on PAYG SIMs:

  1. T-Mobile UK: Need to make a chargeable connection every 180 days (6 months, every good!), top up also extend this period
  2. Virgin Mobile UK: Need to make a chargeable calls/text every 90 days (3 months).
  3. Lyca Mobile: Need to make a chargeable calls/text every 90 days (3 months).
  4. To be continued…