i program, therefore i am

November 17, 2008

Micro blogging?

Filed under: Tips — Prakash @ 8:32 pm
Tags: , , , , , ,

While there are few compelling suggestions to have your Blog, this one struck me first and kept me thinking for a while.

Anyway, apart from full length blog posts (which might not be for everyone), for the lazy ones who still want to be in the blogosphere without spending too much efforts on writing, apparently there are too many options to blog (or Microblog as they call..)

Here’s what i came across so far.

I will try and update this list as i get lost in more of these.. If you know and recommend any, do comment.

October 17, 2008

Software Development Meme

How old were you when you first started programming? 
15.

How did you get started in programming? 
Joined an evening class for Computer programming during High School (1990). I think the first program i wrote was to print multiplication tables. Then i really wanted to print some nice Greeting cards ;)

What was your first language? 
GW BASIC.

What was the first real program you wrote? 
Wrote a C program to interface with Doppler Ultrasonography hardware to read the blood pressure signals from Transducer (c. 1976).

What languages have you used since you started programming? 
FORTRAN IV, Z-80 assembly, 8080 assembly, 8085 assembly, COBOL, Turbo Pascal, Turbo C, ANSI C, C++, Java 2 SE, J2ME

What was your first professional programming gig? 
Getting paid strictly for programming Windows CE application for demonstrating Location aware applications using a Star Trek theme.

If you knew then what you know now, would you have started programming? 
Absolutely, and I would have been more serious and careful. 

If there is one thing you learned along the way that you would tell new developers, what would it be? 
Learn the basics first and Never under-estimate the value of learning basics like C.

What’s the most fun you’ve ever had … programming? 
Writing Guide applications for PDAs powered by PalmOS. I was at the download station @ CeBIT 2001 distributing(via IrDA) the application to the visitors. I have literally seen thousands of people getting my application on their PDAs and started using them. And it did hurt to see when the application crashed :(

So Who’s Next? 
Here’s some Software Development Meme of few really famous people!

3 major annoyances in Windows Mobile Device Center..

If you have not migrated yet to Vista, Here’s one more reason to defer :)

By now, everyone knows, that in Vista, ActiveSync have been downgraded to Windows Media Device Center.

Here’s top 3 annoyances in using that.

  1. Can’t Backup / Restore anymore
  2. Windows Mobile Device Center troubleshooting guide clearly states, backup and restore device data feature is only available for Windows Mobile 2003 devices. So if you have Windows Mobile 5 or 6 or 6.1, You cannot backup / restore using Windows Mobile Device Manager. You should look for 3rd party applications for doing this.

    Anyway, Everything you need to know about backing up (and, thus, securing) the contents of your Pocket PC gives a comprehensive overview and tools available, and benefits of the available options. Have a read there. 

  3. Un-useful links in Programs/Settings
  4. The fancy menu is kinda insulting if you want to find stuff. Hovering the menu over Programs and Services shows this

    I wonder how many would find these links useful. In my opinion, this is the last place i would look if i want to “Do More with my device”. 

  5. Difficult to find most common things
  6. The most frequent item i would use is Add/Remove Programs. Seriously it took a while for me to notice that this option is buried in Programs and ServicesAnd the next most common thing i would use to change the connection Settings. This is also buried under Mobile Device Settings. 

    Why not list them as the first items in the fancy menus? 

 

    

October 9, 2008

Shelfari..

Here’s another goodie to organize stuff!

Shelfari is another book cataloging software helps you organize your books and let you rate, review and even discuss about it with other bookworms ;)

I just started and have added only my alltime favorite author’s collection.

The ajax UI is real smooth to add tag and enter info like when you read the book and how many times you’ve read so on..

You can even create a widget and keep in your blog/website it seems [as long as you have your blog is hosted on the following]

But unfortunately the blogs hosted by wordpress.com can not have this widget as WordPress does not allow javascript based widgets!

And trying to include in facebook poses this question

I have no idea why my photos and my friends information is required?

Btw, another Interesting thing note is Amazon acquired Shelfari recently!

October 8, 2008

Lack of Accelerators in few Symbian Apps..

Filed under: Programming, Self Mockery, Tips — Prakash @ 2:37 pm
Tags: , , , , , , ,

I always thought, Who would use Accelerators on a mobile phone?

For instance, In Windows Mobile, if you want to copy and paste text, you would most likely do from context menu [select the text, tap and hold]. But if you want to use Ctrl+C, Ctrl+V as you do in desktop, you CAN do that by invoking keyboard, select ctrl, then select c, the text is copied and then select ctrl, select v, the text is pasted.

Well, this is clearly not friendly for many. And you might even wonder why would anyone go with all that trouble.

Imagine you have a dialog asking “Are you sure you want to do blah blah?” and present you with two of the hardest choices “Yes” and “No”. How convenient would it be to select the key ‘y’ to Yes and ‘n’ to No. Especially when you have a keyboard its easier to reach for the keys instead of picking out the stylus and tapping the buttons.

Well, normally i am not this much hooked to keyboard usage. But recently my m600 survive the fall from 3 floors though it looks like:

The touch screen is totally unusable. The screen is crushed. The only reason the broken glass pieces sticking together is because of the screenprotector i used. Ohhh.. Is that why they call it so? But the amazing thing is the call works flawlessly. I can type the numbers as usual but instead of softkey “Call” i press the jog dial on left and the default action (Call) gets executed.

Pretty basic operations are still doable. Like Launching the Messaging application and starting an SMS and after typing the message, press Jog-dial sends the SMS :)

I can even navigate the lists (SMS, Call History) and press backspace key to delete :)

But the delete operation always should ask a question. “Do you really want to delete?”

Heres where my crazy need for keyboard access comes. Ofcourse, when being asked these questions, i can press ‘y’ or ‘n’ for Yes and No. This is so great!!!

But when a java midlet needs to access internet, it poses a question whether the application can be allowed to connect internet. Here i cannot use any key to confirm the action. Jog-dial press always acts like pressing the middle softkey. And middlesoft key is not always the default action to go to next step with positive response.

It would be so much easier if there is an accelerator available for every option in every question. I know i know, this is pure greed. But i am just thinking for lazy hands and ones with broken display.

So another option i have is AT Commands.

I can connect either via USB or IrDA and simulate keypresses through at commands.

And for some operations like setting volume or muting i use direct AT commands.

Heres what my mostly used commands:

AT+CKPD = 91 (Pressing left soft key)

AT+CKPD=93 (Pressing right soft key)

AT*SEVOL (Volume control)

AT*SESP (Enable/Disable Speaker mode)

AT+CRSL (Ringer volume Level)

You can get the complete list of AT commands supported for you specific model at developer.sonyericsson.com

October 6, 2008

Cannot copy files from drives mapped with Clearcase views on Vista..

OK. I dont hate vista as much as i thought i would.

But heres a compelling reason. 

I have a clearcase view mapped to Z:\ and my build process needs to copy some helper executables to local drive to continue with build. All of a sudden(After migrating to vista, ofcourse) the build failed. And the failure message was showing where the copy file was failed as “Incorrect Function”

More than surprised, launched the commandline and tried to copy the file manually. Now Same error in my commandline window. Incorrect Function. 0 Files copied.

Without believing myself, i tried to the same thing in Windows Explorer. To add surprise, the displayed error message is “Invalid MS-DOS Function”. Since when copying is invalid MS-DOS function ?????

I really banged my head for a while and later found that Vista has some real issues copying files larger than 256kB. Can you believe??

So the fix is :

  • Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System
  • Create a DWORD entry and name it CopyFileBufferedSynchronousIo
  • Set the value to 1
  • Either restart or flush Registry keys by Start->ShutDown but when the dialog to shut down comes, press Cancel.
Voila.. You can now copy files larger than 256kB in Vista..
Hats off guys Vista team!!

October 2, 2008

Blogging from WordPress on iPod-Touch

Filed under: Apple, Recommendations — Prakash @ 7:20 pm
Tags: , ,

I was browsing through the appstore and just found wordpress. The iPhone/iPod touch client for wordpress.

So, here is my blogging experience from iPod touch!

Installation was quick as with other apps.

Here how the main page looks like

Setting blog is just as simple as it should be. Just 3 fields to get going!

After that, you are all set.

The page edit is getting stored in Local store.
Attaching pictures is little bit cumbersome. For example, i wish I could have more control placing the images wherever I wanted. But otherwise its quite usable. You can tag them and your categories there to be picked easily.  And you can set a publish date.

 

Happy blogging with WordPress!!

 

October 1, 2008

Five Lists of Five Best Ever..

Filed under: Programming, Recommendations — Prakash @ 12:02 pm
Tags: ,

I read this article Five Lists of Five sometime back and weeks/months later often i had to search in google and go read the series again. So here i keep in my blog so i can access quickly.

And i think you will do too.. dont bother with google.. just bookmark this blog entry ;)

  1. The Most Important C++ Books.. Ever..
  2. The Most Important C++ Non-Book Publications…Ever
  3. The Most Important C++ Software…Ever
  4. The Most Important C++ People…Ever
  5. Scott Meyers Most Important C++ Aha! Moments…Ever

Scott Meyers Lists his own book as best one after Stroustrup’s own book :) And i agree tooo..

September 25, 2008

Can’t Chrome on Vista with Norton?

Filed under: Tips — Prakash @ 12:28 pm
Tags: , , , , ,

Just migrated from Windows 2000 to Windows Vista today!

Instead of bothering with every application installation, i chose Google Pack and went ahead first! Thats one common set of apps i use most of the time.

Then started Google Chrome! As i said, i was using Windows 2000 before on this work machine. Couldnt install Chrome as it was not supported on 2000. Now that i have Vista, its one of the first applications one must install i think ;) Well, Installation was fine. With much anticipation, i started the application only to get the welcome dialog

Googled around and found that this is an issue on machines with Symantec

Unauthorized NT call rejected by protection driver.
Caller Process: chrome.exe

Parameter: FuncID=74H, RetAddr=17005CH

and that there are two workarounds.

And as one of the workaround, it was suggested to start chrome with –no-sandbox as parameter.

Anyone who read http://www.google.com/googlebooks/chrome/big_26.html can tell this is not a good option at all!

The other workaround from Symantec is:

We are aware of this issue and currently investigating.
I trust that your SEP is unmanaged ?
If yes, please perform the step below :


1) Back up the registry on an affected system.
2) Open the registry on the Agent system by entering regedit from a run prompt.
3) Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysPlant.
4) Open the Start DWORD.
5) Change the value to 4 to disable the drivers.
6) Reboot the system to commit the changes.

After doing this, Chrome starts without any problem!

Another Finding - If you have the same issue but your env is WinXP with SP3:

The issue of running Google Chrome with Windows XP SP3 is because of a process
“ctfmon.exe”

To resolve the issue of Google Chrome running with Windows XP SP3 can be resolved by
following steps:
- Goto Run
- Type “regsvr32 /U msimtf.dll”
- Click on OK
- Again, Goto Run
- Type regsvr32 /U msctf.dll
- Click on OK
- Now, Reboot the Machine
This will resolve the problem and Google Chrome will start working normally.

September 24, 2008

Apple Keynotes Podcast

Filed under: Apple, Tips — Prakash @ 12:32 pm
Tags: , ,

Just noticed Apple has a video podcasts for KeyNotes/Presentation..

Next Page »

Blog at WordPress.com.