Saturday, October 27, 2012

Unbaking a cake

Reblogged from : http://tumblr.tastefullyoffensive.com/post/31247906577

Friday, September 21, 2012

Printing from a Nokia E-72 to a Brother HL2270DW

I was able to have my Nokia E-72 print to my networked printer (Brother
HL-2270DW). Here are the settings that I used.

Brother makes very versatile printers. They accept Socket printing, so
quite easy to set it up.

Printer : (Some name for you to recognise)
Driver: General
Bearer: Socket/HP JetDirect
Access Point: (Name of your Wireless Network)
Host: Static IP Address of your printer [1]
Port: 9100
Orientation: Portrait
Paper Size: Letter

[1] Give your printer a static IP address. Even if you have local DNS
setup, the phone won't perform the required lookup.

Sunday, July 29, 2012

Duct tape designs


More colors/designs on duct tape, originally uploaded by Suneil.

Seen at a local store earlier today.

Monday, July 16, 2012

Migrating Contacts from Nokia 6020 to Nokia N8 (Steps)

This is version with the steps to follow:
>> All of this was done on a PC running Windows XP-SP3<<
  1. Nokia 6020 is supported by Nokia PC SUITE (version 7.1.62.1). [0] Install that on your PC. 
  2. Nokia 6020 supports either IR beaming of contacts, or you can use a cable. I used a Nokia DKU-5 serial cable that I had acquired in previous years. [5] 
  3. Connect up the Nokia 6020 to PC using the DKU-5. Sync contacts, then export to .CSV format. Nokia PC suite does not export to VCF. Shutdown PC Suite and disconnect the phone from the PC.
  4. Import the .csv files to Thunderbird Address Book – Map the field names correctly! This is IMPORTANT. Nokia’s idea of an Address Book and Thunderbird’s idea of Address Book entries are not the same. Their defaults are weird. Make sure you match these correctly. e) Install the Thunderbird Extension (MoreCols) [1] 
  5. Export the address book that you just imported into VCF format. This extension will export a single VCF file that has all the contacts
  6. Open the exported VCF file and do a search and replace of every entry named FN: with N: (FN: stands for Formatted Name, N: stands for Name. N: is the official VCF entity Name. A VCARD file must have an N: entry, but a FN entry is optional) [4] 
  7. Download Philp Storry’s amazing VCARDSPLIT [2] i)Run VCARDSPLIT on your combined VCF file (generated in step 5, modified in step 6). This will create multiple .vcf files, each containing one VCARD entry. 
  8. Obtain and install Nokia Suite [3]. You can install both Nokia Suite and PC Suite together. But do not run them together. 
  9. Connect up the N8 device – It comes with a USB cable in its package, connect it to the PC. let the Suite find it and sync it. Install any OS updates that you may be prompted to install. Do it, it is worth it. 
  10. Import the individually created VCF files (from Step i) into Nokia Suite – You can just drag and drop the files into the Contacts pane. 
  11. Click on Sync. If everything went to plan, all your contacts should show up on the Nokia N8. 
==Notes==
[0] Nokia PC Suite is available here: http://www.nokia.com/us-en/support/product/nokia-pc-suite/ Keep in mind that Nokia routinely removes older phones from its supported software, so the version available may no longer support the Nokia 6020. Version 7.1.62.1 is the only version that I have tested and I know works.

[1] More Cols / MoreFunctionsForAddressBook was available at : http://nic-nac-project.de/~kaosmos/morecols-en.html

[2] As of this writing, the link was http://www.philipstorry.net/software/vcardsplit

[3] Nokia suite should be available here: http://www.nokia.com/us-en/support/product/nokia-suite

[4] VCARD (.VCF) simple description is available on Wikipedia along with links to the more formal specification here: http://en.wikipedia.org/wiki/VCard

[5] Nokia’s DKU-5 cable works with the Prolific Generic USB-Serial Convertor driver. To get it to work on Windows XP, you can follow the instructions available here http://www.nogoodatcoding.com/howto/nokia-pc-suite-installation

Migrating Contacts from a Nokia 6020 to a Nokia N8 (Desciption)

This is the long story version. If you want just the steps, look at the other post. 
[ Migrating Contacts from Nokia 6020 to Nokia N8 (Steps) ]

I recently bought a Nokia N8 [1] to replace my mom’s aging Nokia 6020 [2]. I figured I’d do the right thing and move her contacts over from her old phone to the new one, so that she didn’t have to do the chore of transferring over 300 contacts between phones manually. This should be a piece of cake right? After all, I’ve done this transferring of contacts between Nokia phones before (from a Nokia 6126 to my current Nokia E-72)

Nokia has always made good phones and good connectivity options. The 6020 when launched in 2004 had the option to connect to a computer using a data cable (Either a DKU-5 or another Nokia data cable). My previous 6126 could also talk to a computer over both a DKU-5 cable or Bluetooth.

Later generations of the phones that have Bluetooth have a built in application called “Switch Phone”. This simple piece of software is now present on every shipping Nokia (Symbian based) phone. Its job is simple – make the process of changing phones simple. The process is relatively simple - pair the two phones over BT, initiate the Switch Phone software, go make a cup of coffee and when you come back, all your contacts, photos etc will get transferred from the source to destination.

Anyway, I digress, my mom’s venerable 6020 was built before phone-switch came around (and before Bluetooth became prevalent) so, I had to revert to using the data cable. Anyway, full of enthusiasm, I found my trustworthy Nokia DKU-5 transfer cable (that connects to the 6020’s Nokia Pop_Port [3]), connected it to my laptop, fired up Nokia PC-Suite (version 7.1.62.1) and without much hassle, I was able to pull all 393 contacts off the phone and into a .csv file. “Sweet!”, I thought. This was going to be easier that I thought. However, life’s never that simple…

To begin with, the N8, is not supported by Nokia PC suite. I had to get the new sync suite from Nokia called Nokia Suite, installed it, plugged in the N8, got it setup & got the latest updates (Software=Nokia Belle) for the phone. Ok, this was going smooth. Now to import contacts. So, I open the Contacts application, clicked on Import Contacts and… nothing… Nokia Suite cannot import from any format EXCEPT individual .VCF files.

Ok.. so I have to convert my 393 contacts sitting in a neat .csv file to 393 individual VCF files. How do I do that? To begin, I turned to my email client Thunderbird [4], got it to import the contact list. Now, Thunderbird will export as .VCF but it will export a single file with all the contacts inside it. VCF files come in two flavors –

a)Single contact (One file has one contact). This is the traditional email business card format.
b) Multiple contacts (One file with multiple contacts, each delimited as per specification). This is the traditional export for address books.

To export to VCARD, you may need the MoreCol extension[5]. So I went searching and found Philip Storry’s awesome VCARDSPLIT [6]. This tool does exactly what its name says. It takes a VCF file with multiple entries and splits it into individual files. I ran VCARDSPLIT on my exported list, got the 393 individual files, then dragged and dropped the entire collection into Nokia Suite. Nokia Suite then chugged away at my large drop of files and processed them and then said it was ready to sync. I clicked Sync Contacts and presto, in about 45 seconds, my mom’s new N8 had all her 393 contacts ready to be used.

 [1]http://www.nokia.com/us-en/products/phone/n8-00/
[2]http://www.gsmarena.com/nokia_6020-922.php
[3]http://en.wikipedia.org/wiki/Nokia_Pop-Port
[4]www.mozilla.org/thunderbird/
[5]MoreFunctionsForAddressBook : http://nic-nac-project.de/~kaosmos/morecols-en.html
[6]http://www.philipstorry.net/software/vcardsplit

Monday, January 30, 2012

Good customer service: Suddenlink

Company: Suddenlink, TX
Product: Internet (Cable)
Customer reps: Multiple.

Called Suddenlink to get my internet connection restored at home since
the existing one went with my roommate. Took three calls, but overall a
very pleasant experience.

Call-1: Jessica: Explained to her that I needed a new connection at home
- but we already have everything hooked up. She understood right away
that they didn't have to send a rep out to disconnect (roommate's named
connection being transferred out) and immediately reconnect.
Unfortunately the call dropped.. Jessica, if you read this: I tried to
have them connect me back to you, but they wouldn't?

Call-2: Kayli: Explained everything I had said to Jessica. Took some
back and forth before she agreed that they didn't need to send out a
technician because everything was already setup. (She placed me on hold
for a bit, so perhaps she did indeed talk to Jessica). Once that
happened, the rest was straightforward. Gave her my info, told her the
plan I wanted setup. She waived the installation fee because they didn't
need to send out a tech (Thank you!) Told me to wait 10 minutes and
reboot modem and call them back if I couldn't get back on line. This
call took maybe 15 minutes.

Call-3:Daniel: Like Kayli mentioned, I wasn't able to get back online.
So called their tech support. Daniel said that it was because the modem
was not registered. Asked me for some details (MAC id etc), punched it
in, transferred the existing equipment into my name and remotely
rebooted it. Problem solved and I was online!. This call took about 15
minutes.

So in all, 30 minutes to have the connection go live. Albeit, it was
faster because they didn't have to send out a tech to manually pull/push
a connector to places. I was happy with the customer service folks. So
good job Suddenlink!

Suddenlink - your pricing tiers for no-contract cable internet service
is a bit strange, but that's a post for another day.

Good Customer Service : Satechi

Company: Satechi
Product: Soundfly SD
Customer Rep: Jackie

I bought a Soundfly SD device from Amazon about a year ago. Over the
year, I managed to misplace the remote. I emailed Satechi customer
service to ask them if I could buy a new one.
To my surprise, after I gave them my order number, they mailed me (USPS)
not one, but two remotes completely free.

Hat tip to you guys. You made one customer very happy.

Wednesday, January 25, 2012

Cinnamon Gnome Shell Fork using Muffin

==Cinnamon Gnome Shell Fork using Muffin==

One of those wonderful headlines that says a lot but appears completely
bizarre and alien if you don't know what it all means.

Allow me to break it down:
GNOME[1] : This is the GNU Object Model Environment : a basic Unix/Linux
desktop environment

GNOME Shell[2]: This is the core technology/environment starting with
GNOME version-3

Fork[3]: A fork in the Unix world is where a certain software package
gets copied and modified by another developer - who then takes on the
responsibility of maintaining the code belonging to that branch of the
code. At the point of the fork, both the original code (say A) and its
fork (say B) are the same. After the fork, both A and B will (mostly)
travel separate development paths.

Muffin[4]: The name given to the fork of the Mutter window manager,
which was the base window manager (the software program that draws the
windows/screen on a display) for Gnome Shell

Cinnamon[5]: A fork of the Gnome Shell environment.

So what does this all mean? Basically, Cinnamon, the fork of Gnome Shell
now uses Muffin as its Window Manager.

If you want to read all about this development, go here:
http://cinnamon.linuxmint.com/?p=119

[1]: www.gnome.org
[2]: live.gnome.org/GnomeShell
[3]: http://en.wikipedia.org/wiki/Fork_%28software_development%29
[4]: https://github.com/linuxmint/muffin
[5]: http://en.wikipedia.org/wiki/Mutter_%28window_manager%29

Thursday, January 19, 2012

TeXnic Center : Auto complete = CTRL+SPACE

The default key combination to autocomplete in TeXnic Center is
CTRL+SPACEBAR

You can change this by going to Tools>Customize>Keyboard. Under Category
Select All Commands and then scroll down the list to the command
EditCompleteWord.

However, beware that you don't overwrite some other functionality.

Wednesday, January 11, 2012

The people behind Stephen Hawking's IT

Meet Intel application engineer Travis Bonifield and Graduate Assistant Sam Blackburn, the people who keep Dr. Hawking's Computer and software running so that he can still talk to people.

Monday, January 09, 2012

Baking Vegetables

I came home this evening and felt like making something with the vegetables in the freezer. I decided I would try to bake them. Not knowing anything about timing and temperature for baking vegetables, I gave my friend LadyParadox a call and asked for advice. Based on her advice, I made ...

"Baked Vegetables with Indian Spices"

Here's how to make it.

You will need:
  • A place to make it
  • The place (preferably a kitchen) should have an oven and you should have permission/rights to use the place for the next one or more hours. If you get kicked out of there in 30 minutes, you're going to find it difficult.
  • A refrigerator that you can put stuff into would be also nice to have access to.
  • A baking dish/pan/rack that can be used.
  • Non stick cooking spray + Aluminium foil OR non-stick aluminium foil. (That's the British spelling of the metal that has the symbol Al. Deal with it.)
  • Vegetables - whatever you feel like using (more importantly, these should be vegetables you want to eat). I used Cauliflower and Carrots. (bought frozen & cut from the local Walmart).
  • Spices: I used the following powders - coriander, turmeric, chilly, minced garlic, ginger, salt, a pinch of garam masala and a pinch of chicken curry masala. Use what you want, this is meant to be easy to make.
  • Yogurt
  • A timer/stopwatch
The How To Do It.
  • Step-0: Obtain the vegetables if you don't already have it.
  • Step-1: Cut/slice/dice as you desire. Defrost the vegetables if required. Do not defrost with heat since you don't want them to start cooking already.

  • Baked vegetables with indian spices

  • Step-2: Mix the vegetables with the Yogurt + Spices throughly.

  • Baked vegetables with indian spices

  • Step-3: Marinate by putting it in the refrigerator (if possible) for 30 minutes to an hour.

  • Baked vegetables with indian spices

  • Step-4a: Start heating up your oven to 350F.
  • Step-4b: Remove marinade from fridge and mix throughly.
  • Step-4c: If using baking pan + aluminum foil: Grease the foil with a light coating of non-stick cooking spray.
  • Step-4d: Spread the marinade onto the pan. Make sure its well spread out in a single layer.


  • Baked vegetables with indian spices

  • Step-5a: Place into oven and bake for 20 minutes. (Time this!)
  • Step-5b: After 20 minutes, check, and then place in broil mode for upto 10 minutes - check/mix/turn things around to ensure everything stays mixed and does not burn.



  • Step-6: Remove from oven and let cook to touch.

  • Baked vegetables with indian spices

  • Step-7: Once it has begun to cool, mix the spices and the vegetables again and let it sit.

  • Baked vegetables with indian spices

  • Step-8: Serve while still warm. I recommend serving with tortillas on the side.

  • Baked vegetables with indian spices

  • Step-9: There is no step-9. You're done!
Hat Tip to LadyParadox

Saturday, December 24, 2011

Wrapping up 2011

2011 comes to a close in 1 week. How has this year been? Hard to say. Its had its ups and downs. Overall better than 2010? Yes, I think so.

The good: I met some amazing people some of whom have become extremely good friends. They made me do some new stuff that I've never done before. Graduate school is going on, I learnt a bunch of new stuff (Across the spectrum ranging from arcane knowledge [1] to bleeding edge
research [2]). Being a teaching assistant has been a combination of being extremely frustrating and intensely rewarding.

The bad: I had my share of setbacks, failures, missed chances and lost friendships.

Did I learn stuff from this year? Yes. Experiences are good and as the saying goes, what doesn't kill you, only makes you stronger.

Also, note to future-self: Don't talk to people about an emotionally charged topic when you are hungry/angry/sleepy/tired or don't have enough caffeine in you. The conversation WILL go better when you've had a night's sleep and have some caffeine and some food in you. Trust the wisdom you gained in 2011 about this.

Resolutions? Sure! my standard resolution is to not make any resolutions. Actually, that's not completely true, I may make some resolutions internally but (a) they aren't tied to the date of January-1 with a 1-year validity period and/or (b) they are unlikely to be posted on a blog such as this.

To wrap up: Here's RFC 1882: the 12-days of technology before Christmas:
http://www.ietf.org/rfc/rfc1882.txt

[1] Van Halen's standard performance contract contained a provision calling for them to be provided with a bowl of M&Ms, but with all the brown candies removed. This was to check how carefully the crew went through the clauses to ensure that the setup was done to specifications.
http://www.snopes.com/music/artists/vanhalen.asp


[2]
http://www.anandtech.com/show/4313/intel-announces-first-22nm-3d-trigate-transistors-shipping-in-2h-2011

Wednesday, November 30, 2011

Cold Weather in India

"In India, 'cold weather' is merely a conventional phrase and has come
into use through the necessity of having some way to distinguish between
weather which will melt a brass door-knob and weather which will only
make it mushy."

- Mark Twain (attributed to)

Saturday, October 22, 2011

Remove turmeric stain

To remove the stain of Turmeric from a vessel, soak for a few minutes in
a mixture of Coke and Baking Soda. (alternatively (dilute) Vinegar and
Baking Soda)

Friday, October 07, 2011

Temperature Plot: Living Room

This is the plot of temperature in my living room. Recorded between 11pm
(10/6) and 10pm (10/7).

Plotted using a iButton from Maxim. 5 minute intervals.

Thursday, September 22, 2011

The Open letter collection

It seems to be all the rage to be writing "Open Letters" these days in India. Social networks (and email systems) across the planet seem to be buzzing with all the letters flying left and right. (or is it North-South/East-West ?)

I got to hear about so many of these that I initially pondered writing one of my own. Alas, I cannot write as eloquently as some of the writers, so I decided against it. Here instead, is a collection of the various open letters that are (to my knowledge) buzzing around everywhere.

The oldest and perhaps the most well read until  recently was the 2004 open letter quoted below

"The Travails of Single South Indian men of conservative upbringing" or "Why we don't get any..."
http://www.whatay.com/2004/05/17/the-travails-of-single-south-indian-men-of-conser/(Edit: Updated April 2012 for new URL)

More recently, we got the rant against men from the city of Delhi:

OPEN LETTER TO A DELHI BOY
http://raagshahana.blogspot.com/2011/09/open-letter-to-delhi-boy.html

This one set of a firestorm! Twitter, Facebook, Google+ ... take the pick of your favorite social network and I'm pretty sure you've seen it being quoted and forwarded and posted and #hastagged all over the place.

A Delhi boy wrote back in protest

Bhaiyya... Palika Bazaar ka kitna? 
(translates to "How much (does it cost) to get to Palika Bazaar" - a shopping center in Delhi)
http://disgruntledmob.blogspot.com/2011/09/bhaiyya-palika-bazaar-ka-kitna.html

There was another lady who didn't particulary care for the "Open letter to a Delhi boy" either.

'Tis the season for open letters

http://www.lavanyad.com/madmomma/?p=6298


Somewhere along the line, another open letter came up, this one ranting against the language skills of people from the Indian state of West Bengal.

Dear Bengali boy, what's with the accent?
http://theblackrosegal.blogspot.com/2011/09/dear-bengali-boy-whats-with-accent.html


(I haven't seen a response to this one yet, if you do, please let me know in the comments and I'll link it up)

The latest one I've seen is the one below, where she tries to analyze this North-South divide.

THE NAARTH-SAUTH WAR - a Madrasi take
http://www.sify.com/news/the-naarth-sauth-war-a-madrasi-s-take-news-columns-ljwkWphgcfd.html

There are so many open letters flying around, that it prompted one person to write an "Open Rant"

An Open Rant
http://unpredictableblog.wordpress.com/2011/09/15/an-open-rant/

Have I missed some? please let me know!

Sunday, September 04, 2011

Cherry cobbler

How to make Cherry Cobbler:

This is amongst the fastest desserts I've ever seen made. Recipe by the Awesome Kym.

You will need:

a) A can of cherries (the type you use for making pie filling, NOT maraschino cherries) (ask me how I know)
b) A box of Yellow cake mix.
d) A stick of butter.
c) A baking pan/dish - (9x11 or 8x8 are the ideal sizes, but for this dish, size of the dish doesn't matter. It all depends on how much of the dish you want and how thick you want it).

Make it:
a.1) Wash the pan/dish. (duh!)
a.2) Start preheating the oven to 375F 350F. (Updated based on feedback from the Awesome Kym)

b) Dump in the entire can of cherries.
c) Cover the cherries with the cake mix - (we made it about an inch thick)
d) Now cut up the butter into small strips (about an inch long by 1/8th of an inch wide) and place it all over the cake mix - Basically cover the cake mix with strips of butter.

e.1) Place this into the oven and let it sit for 30 minutes.
e.2) " the cherries are precooked, so you just want it hot and the butter to melt nicely into the powder"[1]

f) When done, take it out, let it cool, then eat!

g) There is no step (g).

Thursday, August 25, 2011

Ninite: For automatic multiple program installation

I had to re-install the operating system on my laptop recently. Leading to me wanting my entire list of frequently used programs reinstalled. This was going to be a pain. Amongst other things, I knew I needed the following programs.

Firefox
Thunderbird (Mozilla email client)
Keepass
Pidgin (Multi-protocol IM client)
Notepad++
WinSCP
PuTTy
Paint.Net
Inkscape
VLC
TrueCrypt
CutePDF (Standalone PDF printer)
Foxit PDF Reader

and more...
Installing each separately is a pain. (I've done it in the past) I remembered this post [1] on Lifehacker. Hence, I decided to give Ninite a chance.

Ninite is a bulk-installer. It automates the chore of downloading programs from their websites and then installing them. So, I went to their website and downloaded a custom installer for me. (The site gives you a list of programs available, you choose the programs you want, then the site gives you a smaller installer utility that downloads and installs the programs for you.)

Here's what I saw as it was installing:


Security paranoid folks might wonder what the implications are. There are risks - since you don't know what else this tool is installing for you. I had my anti-virus and firewall watch the application carefully and I didn't see it complain, so I guess I am good.

I will be suggesting this to people who want to make the re-install of applications painless on Windows machines. Ubuntu and other Linux distributions already do this with their package mangers and "software centers". Until this tool came along, either rolling your own OS installation disc with the other software slipstreamed into the disc or having a cloned image of a drive was the only way to have this sort of automated installation on a home machine. (Windows machines on a domain with a domain controller can have all sort of fancy features including a start up script that installs stuff from the server.)

[1] http://lifehacker.com/5388408/ninite-bulk+installs-great-free-windows-apps


Adding time servers to Windows XP

Windows XP by default allows you to configure it to automatically keep your system clock synchronized to two servers (time.windows.com and time.nist.gov). How about if you want to add another server to the list?

There are two ways to do this.

a) If you are logged in as an Administrator, you can directly type in the name of the server into the Internet Time tab (see image below, just type in the name of the server into the Server: box.) (ntppub.tamu.edu is the public facing NTP server from Texas A&M University)


b) Alternatively, you can add a couple of registry entries. [BEWARE! MODIFYING THE REGISTRY IS A RISKY BUSINESS, DO IT AT YOUR OWN RISK]

To make this happen: [1]
  • Open the Registry Editor (Start > Run> regedit.exe)
  • Navigate to to the following entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Current
    Version\DateTime\Servers. Click on the "Servers" entry to activate it on the right side.
  • You should see a list of servers (time.windows.com and time.nist.gov) listed in the window to the right.
  • Right-click in the window the right and select New > String value.
  • Name the value 3 (one more than the last # present) , and press [Enter] twice to open the "Edit StringValue" dialog.
  • Type the address of the NTP server into the textbox named Value Data, and click OK.
  • Close the Registry editor.
  • Now if you look at the Internet Time Tab, you should see your new time servers listed there.

    [1] http://www.techrepublic.com/article/tech-tip-add-internet-time-servers/5109818

    Monday, June 06, 2011

    MikTex and TeXniC center

    When using TeXniC center 1.0 on Windows-7 with MikTeX, look for the do
    the following to solve most issues especially related to BibTex acting
    up or PDF LateX complaining about GUI framework.

    a) Set packages to be updated automatically (Miktex>Settings)
    b) Install package 'translator' if you graphics in your PDF.
    c) Remove all languages you don't use Miktex>Settings>Languages.
    d) Leave MikTex to be in A4 size and use the Ghostscript/dvips settings
    to scale to Letter sized paper.
    e) Update MikTeX as soon as you install it.