Tuesday, March 9, 2010

Use Netbeans on c project with winscp

Normally I don't do much cee (actually it's Pro*c) my choice of editor in c is vi for quick change, but for larger project I needed to be able to code offline and have all the comfort of modern IDE.

Here is how I make my life easier. I do not have Pro*c compiler setup on Windows so the actual "make" is taking place on the Linux box. Which is fine during the coding phase and no need to deal with Makefile.

First install WinSCP screenshot below are from 4.2.7 I also setup ssh key with help of PuTTYgen this step is a separate topic. But in a quick summery first winscp login


You can navigate to the directory you want to keep in sync; there are few different options but I chose to use "Keep Remote Directory up to Date..." see screen shot below






I use the option that synch only existing files.
















btw, depend on what is your use cases Netbean 6.8 does have Remote Development tutorial maybe helpful in your project.

Now let's talk about Netbean 6.8 as c/C++ IDE.
I really love how the IDE high light unused variable (black arrow) if you had to maintain old code base this is a nice feature.

The call graph (blue arrow) is a nice touch if you have to navigate spaghetti code.

The big problem I have is its use of memory (red arrow), I notice memory usage keeps on going up than I start to notice I can type much faster than code appears. To work around this problem I clicked on the "memory bar" to run garbage collect. Seems to help, I am still not sure why this happens?

Saturday, February 27, 2010

Home network storage solution

After about 7 years the continues beating my 120 GB WD finally gave up.

Saturday morning press the power button thinking the computer is in sleep mode. Walk by kitchen to get a cup of coffee... still sleepy. WTF, blue background with deathly font froze on screen. I kick and scream but nothing will bring this coaster back.

I knew that my last backup was about 6 month ago... which would include 2 birthdays, 1 vacation and few other events. Work related file were amount the casualty, but most current project is always on my 2 GB USB drive.

so I look online and realize there LOT of different options anything from docking station, enclosures to Network Attach Storage (NAS). I decided to come up with a backup plan for my home office.

Of course my plan will be limit by the cost.

1) Need to have access from more than one computer
2) Security
3) gotta go with RAID (I'll choose 1; mirror)

I like the idea of BYOD (bring your own disk) so it's possible to upgrade to larger size in the future.

you can google to get all the updated review.

Some call it External Drive has full list of different type of NAS.

I am split between 2 "diskless" NAS.

If you want value NAS 2000 ( it was made by Linksys, now "by Cisco").

[Need photos]

D-Link's DNS -323, this has been around for a while, with lot of mod since it's running Linux.


for some reason Synology NAS cost a little more (~$100) but they do have nice to use interface and lot of feature bake into this little thing!


I went with Synology, because I really like their firmware that can do lot of things without me knowning my Linux commands.

Friday, January 8, 2010

Location location location!

prime location and priceless

Tuesday, January 5, 2010

Google unleash!

Google's phone is finally here... again? Personally I think it's more marketing's doing by calling it google phone than anything else, because the "google" phone has been out aka Android OS (DROID, Hero, G1). But this time Nexus One which is made by HTC.

Lots of news on the wire, I was hoping for video but live blog of the event is here.
PC magazine also has write up. It does seem WOW.... but we'll see how it handle outside of beta world.

Trust me this is not a iphone killer (beside iPhone wasn't much until 2.0), but it's another step toward a better smart phone. And sadly Nexus One only use one finger.... yes 1, I am sure it's pointing at the "fruit".

Friday, December 18, 2009

Yelp, Google want u!

very interesting look at how the online ad have developed. I use yelp from time to time, for big city it's very good source / reference!


http://news.cnet.com/8301-30684_3-10418625-265.html

Thursday, September 17, 2009

Quicken takes Mint... refreshing?

Intuit (i.e. Quicken, QuickBooks, TurboTax also has the free online version of Quicken) is buying Mint for approximately $170 million.

wow, after reading this I was thinking poor Mint got taking over, but the blog talks about Intuit's plan!

...After the acquisition closes, the Mint.com team will be leading the development of both Mint.com and Intuit’s existing personal finance products, Quicken desktop and Quicken Online. The fact that Intuit has agreed to acquire Mint.com, and is leaving our team intact, is evidence that Intuit has been impressed by and wants to build upon the user experience that Mint.com offers. We’ll not only improve upon that experience for Mint.com but also bring our know-how to the Quicken product line. Destroying the Mint.com user experience does not make sense for Intuit, Mint.com or any of our users.
(Aaron Patzer
Founder and CEO)
It's interesting because my previous was talking about the online personal finance application and MS Money.

Reference: businesswire

Saturday, September 12, 2009

Microsoft ran out of Money?

I am a unwelling Quicken user but couldn't believe Microsoft would drop their only entry into personal finance software. MS Money no more after June 30th, 2009!

The excuse:
With banks, brokerage firms and Web sites now providing a range of options for managing personal finances, the consumer need for Microsoft Money Plus has changed. After suspending annual updates of Money Plus in 2008, Microsoft ended sales of Money Plus on June 30, 2009.

What will happen to the plus member?

Update (8/5/09): Later this year, Microsoft will release versions of Money Plus Deluxe and Money Plus Home & Business that will not require online activation. This version will allow you to keep your Money files and transactional history but will not allow access to online services or premium services. Check back here for additional information or look for future announcements in Money Plus.


of course this got me thinking what will I do if Quicken drop it's support? I know it's unlikely since Quicken is Intuite's bread and better. I'll continue this line of thinking at end of this blog.
But first Intuite's ad to get M$ Money's shares:

The Quicken team is here to help.

Right now, Quicken can transfer up to 10,000 transactions from Microsoft Money. We're currently developing an easy way for Money users to transfer more of their data into Quicken desktop products. Our goal is to make it as simple as possible to make the transition.



There are other desktop applications, but for Windows platform Quicken is the best. Other good desktop personal finance software is Moneydance it can run on Windows, Mac and Linux!

A new trends is the online version of personal finance portal they are free! Best two that I have tried is Quicken online and Mint both have it's good and bad... nothing ugly yet :-) I'll have to list the pros and cons on my later blog.

Best of luck to M$ Money users!