Wednesday, December 15, 2010

Another day of bike class

It was good. We took a different route this time. Gotta take a different route everyday. Suggested Kishore that we take some time someday and do a hour long session or so. Lets us see.

- yam

Tuesday, December 14, 2010

Third day of bike learning class

Today was my third day of my bike learning tutorial, class whatever you call it. It was good. I drove from our office to Ghansoli, from there to Koparkhairane petrol pump to main road and back to office. It all took may be 30 minutes.

I feel more confident and slowly trying to sync the speed-gear and clutch-break thing. All in all its good. One thing that I found to be of great help is your trainer's confidence in you and suggestions while riding. Kishore is good in it.

We also did an enquiry about getting my learning license. It seems I have to take it from Mulund(Thane RTO). Will have to catch hold of some agent. Atya is a good sourcer for anything in Mumbai.

Good luck yogi!

- yam

Monday, December 13, 2010

Second day of bike learning

Wow! I rode the bike from our office, Millennium Business Park to Ghansole, Gharonda, where my colleague used to stay earlier. He is learning to drive a four wheeler.

My first lesson was withing our office premises, Millennium Business Park. Today was the second day.

I rode all the way from the crowd in MBP, to the main road, the flyover connecting Ghansoli and into the building. All in all, it was a great experience. I feel more confident now :) yay!

This clutch and break thing has to kinda get wired in to the brain.
  1. When you dunno what to do, just hold the clutch and the break.
  2. When the speed is low, change the gear to lower ones and higher ones when there is enough speed. Basically the bike should not give jerks.
I have asked my colleague to get his bike in the mornings and I take it to his house in the afternoon(that way I learn to ride bike) and he gets his car to office and back to home(that way he learns to drive)

Smart huh!

- yam

Tuesday, November 30, 2010

Windows 7 taskbar pinned application shortcut

I found this shortcut accidentally while deleting an email in gmail which is (Shift + 3, i.e #)

Press Windows + number(1,2,3.. . so on) for applications pinned to taskbar. Starting from the start menu button, 1 is the first application, 2 is the second, 3 is the third. Cool huh!

- yam

Monday, November 01, 2010

PyS60 - Multiplayer SMS based Hangman Game

Sometimes I do Pys60. Its a great tool to do POC type of apps. I referred Mobile Python by J├╝rgen Scheible and Ville Tuulos. There is a Hangman game tutorial to demonstrate how incoming SMS can be monitored etc.

I modified the game by adding some state of multiple players and made it multiplayer. If I can remember, I also added hints feature to it. Attached file is the latest code that I have. 99% its in running condition. You can test and lemme know if you find it useful.

For some reason, the program behaves stupid if delivery reports are enabled in the phone running the game. I guess this is because Delivery report is also an incoming SMS and the program wakes up for it. Also, its not for heavy traffic kind of ok.. Its just a POC!

Yes, 3 posts in 1Hr. today, I was desperate!

Well, seems like there is no way to upload files other than images and videos. Renaming the .py file to .jpg and uploading. Download and rename it before using. Does not work, it says file corrupt. Smart ;)

Edit : Added dropbox download link below.

http://dl.dropbox.com/u/20544295/hangman.py

OpenCMS Paging

Sometime back one of my colleague was looking at how to do paging in OpenCMS. I spent may be 20 minutes doing some google and reading the api docs and here's what I have arrived at.

Dropbox link : http://dl.dropbox.com/u/20544295/opencms_paging.snippet

There is one drawback in the above code. Folder navigation list is retrieved every time. This can be done only once by have the total_size variable stored in session for the first time.

I have to tell you, OpenCMS naming convention is not that good, also the way the functions accept parameters. Looking at the code above, its not easy to figure out what exactly is going on without having the javadoc on the side. Also, why would you want to accept string type values when yo uare expecting numeric values(page number and paging size)? Btw, this was tested on OpenCMS 7.5.3.

If anybody knows how to improve it, please comment.

- yam

Using Mobile Phone For Taking Orders

This occurred to me when one of the restaurants near my office printed their mobile number as well as the land line number on the take away menu card.

Basically, whoever delivers services through phone calls like restaurants, flower merchants, grocery etc should use mobiles to receive the requests. That way they need not jot down the address or caller's name etc every time they call. All of that can be stored as the caller's name!

A similar case can be seen in Meru Cabs. Whenever you book a cab from Meru Cabs, they update the telephone number you are calling from against the address where you are located currently(Obvious, when you say I have to go from X to Y). The next time you call them from the same number, they know that you would like to book a cab from your office, home wherever you are! I love this idea. People! start implementing it!

- yam

Friday, October 15, 2010

Qt sleepless nights

For the past couple of days I am experimenting with the Nokia Qt SDK. Its fun programming in C++ after a long time. Many things I had forgotten came to life. There are many resources available for Qt. Forum Nokia is I guess a one stop solution for starters, intermediate as well as advanced users.

Anyway, I followed the My First Qt App series from Symbian blog. I love the way it is written. In clean clear and baby steps, it feeds you some Qt in small bits. Very well written posts. Anybody interested in Qt development MUST read it.

Btw, one problem I faced for nearly 4 to 5 hours was Qt giving me collect2: ld returned 1 exit status. Most of the Google results were pointing to some libs missing etc. I downloaded the series example code and checked line by line. It was all the same except for some Macro definitions and header file inclusion techniques(just a different coding style).

Finally, it appears that I had declared a destructor for one of the toolbar widget in the .h file but missed its empty implementation in the .cpp file. Thats all to it. 5 Hrs and sleepless night :)

yam

Monday, September 06, 2010

Hotfile parallel download

Ok, here's how you can download two or more files from Hotfile in parallel. From Firefox, click the links till the timer expires and when ff gives you a download file box, wait for other times to expire. Click the download file links for others and click Ok to all the file download boxes one by one immediately.

I tried it with 2 files and it works. Apart from that, to bypass the 60 minutes download limit, just change your network and there you go. Its easy in WiFi to do so.

-- Yogesh

Dear God, terminate humans, save the planet.

Thursday, September 02, 2010

Dewey Color System

Took a color test from here. Interesting! Something similar to a project I did a couple of years back called Trait Analyzer for some graduate students. Well, the results are fantastic! Wonder how it works ;)

Results are below :

Best Occupational Category

You're a CREATOR

Keywords

Nonconforming, Impulsive, Expressive, Romantic, Intuitive, Sensitive, and Emotional

These original types place a high value on aesthetic qualities and have a great need for self-expression. They enjoy working independently, being creative, using their imagination, and constantly learning something new. Fields of interest are art, drama, music, and writing or places where they can express, assemble, or implement creative ideas.

CREATOR OCCUPATIONS
Suggested careers are Advertising Executive, Architect, Web Designer, Creative Director, Public Relations, Fine or Commercial Artist, Interior Decorator, Lawyer, Librarian, Musician, Reporter, Art Teacher, Broadcaster, Technical Writer, English Teacher, Architect, Photographer, Medical Illustrator, Corporate Trainer, Author, Editor, Landscape Architect, Exhibit Builder, and Package Designer.

CREATOR WORKPLACES
Consider workplaces where you can create and improve beauty and aesthetic qualities. Unstructured, flexible organizations that allow self-expression work best with your free-spirited nature.

Suggested Creator workplaces are advertising, public relations, and interior decorating firms; artistic studios, theaters and concert halls; institutions that teach crafts, universities, music, and dance schools. Other workplaces to consider are art institutes, museums, libraries, and galleries.



2nd Best Occupational Category

You're a PERSUADER

Keywords:

Witty, Competitive, Sociable, Talkative, Ambitious, Argumentative, and Aggressive

These enterprising types sell, persuade, and lead others. Positions of leadership, power, and status are usually their ultimate goal. Persuasive people like to take financial and interpersonal risks and to participate in competitive activities. They enjoy working with others inside organizations to accomplish goals and achieve economic success.

  • Section I: You and Your Team
    This personality overview section highlights your natural workplace talents—the tasks you pursue with passion. You'll learn how your natural strengths complement those of your coworkers and how, joining forces, you can resolve on-the-job dilemmas.
  • Section II: Your Key To Success
    Here you discover your capacity for dispelling disruption and maximizing profitability. Use this proven, beyond-self-perception advice to create a more positive career path free of detours.
  • Section III: Managing Strengths and Weaknesses
    Your evaluation's highest and lowest scores result in this section's recommendations for staying on-track in your career and reversing wrong turns. In focusing on your talents and missteps, you'll re-stoke your energy and enthusiasm for managing costly mistakes.
  • Section IV: Leadership Power Moves
    This final section identifies your "street sense," those power moves that turn obstacles into insignificant details. Here suggestions based on your color-ranked evaluations will guide you towards making the most of an interview or harnessing your fast-paced workday.

-- Yogesh

Dear God, terminate humans, save the planet.

Wednesday, August 25, 2010

I!

I buy stuff, I make riches.

-- Yogesh

Dear God, terminate humans, save the planet.