Wednesday, March 26, 2008
Procastinate
Get things done, no matter how small they are.
Putting it behind... had becomes a nightmare.
Get things done, before it snowballs into one of those fears.
Fear is nothing but a way the body gets you ready.
Be objective. Be open.
Busy is just another excuses of not wanting to do it.
Strike it off the list.
Just do it.
Putting it behind... had becomes a nightmare.
Get things done, before it snowballs into one of those fears.
Fear is nothing but a way the body gets you ready.
Be objective. Be open.
Busy is just another excuses of not wanting to do it.
Strike it off the list.
Just do it.
Tuesday, March 04, 2008
Changing DNS throught netsh
netsh interface ip set dns name="Local Area Connection" static 155.80.101.113 primary
Sunday, February 10, 2008
GlowCode
Was trying out to root some memory leaks on GDI. I was amazing. Pleasantly surprised. This was so much faster than Purify. Really fast. Things does not looks good for Purify, Purify had not been updating itself.
Tuesday, January 15, 2008
The 7 signs
1 - Surface deep
2 - Color blind
3 - The dark and hidden
4 - Not a solution, but another problem
5 - Not in sight
6 - North in South
7 - nano managing
Sunday, January 06, 2008
Focus on the problems
Now, I got great excuses. Read this up http://www.artima.com/weblogs/viewpost.jsp?thread=193593 Computing Thoughts, Hybridizing Java by Bruce Eckel. I disagree with the solution somehow.
Thursday, January 03, 2008
Read this somewhere
"Our client owns it when we deliver it and they are free to do whatever they want with it. As more people use the data, that will generate more dollars, somewhere along the line, for maintenance."
Monday, October 08, 2007
Work.
Work had taken a large part of time. But it does not translate well into knowledge.
I need to thanks to DDA,
"You do not need all the colors to paint a picture."
The best solution is a
1) working solution
2) a simple solution
3) there is always something better
Thanks DDA.
I need to thanks to DDA,
"You do not need all the colors to paint a picture."
The best solution is a
1) working solution
2) a simple solution
3) there is always something better
Thanks DDA.
Thursday, October 04, 2007
Peer Review(code walkthrough) does not work well for me
1. I do not have enough understanding/appreciate the implemention.
(to have the sort of appreciation, i will be doing it together)
2. It does not leave you to be desirably responsible for the implemention
In conclusion, it becomes another routine to just "walk" through.
(to have the sort of appreciation, i will be doing it together)
2. It does not leave you to be desirably responsible for the implemention
In conclusion, it becomes another routine to just "walk" through.
Monday, October 01, 2007
try it out...
There are so much to c#. Programming .Net Components by Juval Lowy is really a good book. It really tells you the pitfalls. I feel it is more like advance C#. I love the book. Read it up.
Thursday, July 26, 2007
Purify
Purify helps to detect memory leaks in applications.....
Was running from the command line interface rather than integrating into the development applications. But it does NOT seems to detect anything.
So scourging the web gives me the answer.
I need Purify to instrument the application in precise mode, for that to happen.
I need the "reloc blah blah data" sigh....
And finally, I need to an additional option /Fixed:No
to Configuration Properties -> Command Line -> Additional options.
another day... had gone by...
Was running from the command line interface rather than integrating into the development applications. But it does NOT seems to detect anything.
So scourging the web gives me the answer.
I need Purify to instrument the application in precise mode, for that to happen.
I need the "reloc blah blah data" sigh....
And finally, I need to an additional option /Fixed:No
to Configuration Properties -> Command Line -> Additional options.
another day... had gone by...
Saturday, June 09, 2007
Starting C#
Am starting with C#...
The difficult part of it... it is know what it has...
There are many times.....
When i am done with a module, it is fustrating to realise that C# had library for it.
For example, was doing a tracing class, and afterwards, i start using log4net.
And in the end, c# had it.
There are the dynamicmethod, anonymous class, delegation and it really nice to work in it...
but the template is HARD. Cos' it really limited of my knowledge to work on it.
I am really greedy, i wanna do what i am able to do in c++.
But C# is really a more comfortable to work with. Though i get awkard when there are many things better done in c++. I really love to be lazy. C# has it.
Be it that M is evil, I get what i wanted.
Learning a new language, is like starting a new life...
Holding on to the past does more harm than good.
The difficult part of it... it is know what it has...
There are many times.....
When i am done with a module, it is fustrating to realise that C# had library for it.
For example, was doing a tracing class, and afterwards, i start using log4net.
And in the end, c# had it.
There are the dynamicmethod, anonymous class, delegation and it really nice to work in it...
but the template is HARD. Cos' it really limited of my knowledge to work on it.
I am really greedy, i wanna do what i am able to do in c++.
But C# is really a more comfortable to work with. Though i get awkard when there are many things better done in c++. I really love to be lazy. C# has it.
Be it that M is evil, I get what i wanted.
Learning a new language, is like starting a new life...
Holding on to the past does more harm than good.
Sunday, April 01, 2007
Software Design?
Plan and design. That's what they always says. I can see I am pretty bad with this. By the time I got things ready, either I lost the interest or it can never be good enough. Do you know how one can be obsessed with good design, things never seems to be done? How much time it can take to perfect it? At the end of the day, you start to ponder if it is really worth all the effort and time.
I guess we still had to strike a balance somewhere. Just somewhere. And is this enough? Sometimes... it is just never enough.
I guess we still had to strike a balance somewhere. Just somewhere. And is this enough? Sometimes... it is just never enough.
Thursday, March 22, 2007
Ruby + Glade
The document for Ruby + Glade looks better than that for Fox. The best part is that you do not need to regenerate the code after any changes is performed for the GUI.
But Glade is ported to so many language, examples can be confusing at times.... Okie Okie... That's applies to me.. Solely me.
But Glade is ported to so many language, examples can be confusing at times.... Okie Okie... That's applies to me.. Solely me.
Tuesday, February 13, 2007
Python + Glade
A colleague shows me how easy you can code mmi with python and glade.
Interesting, hmmm... but i need to shelf it at the moment...
XML huh...
Interesting, hmmm... but i need to shelf it at the moment...
XML huh...
Thursday, January 11, 2007
Ruby + Fox
Guess Python is going through a transistion...
Ruby had a better support for Fox at this point of time...
And this really saves a lot of time...
yup... a simple window running on fox and ruby
Ruby had a better support for Fox at this point of time...
And this really saves a lot of time...
yup... a simple window running on fox and ruby
Python + FOX = FxPy?
Wanted to download some gui tool kit to play with...
So i decided to get started with Python and FOX.
Sadly, FxPy is no longer maintained.
Ruby had got the latest version. But i dun see myself using Ruby in another 2 years time.
So i google on. And i found TnFox, it provides Python binding.
But somehow there is some hackin to the boost lib.
Again, i spend a few nights trying to figure things out.
building boost.python on windows
1) download boost 1.33 or later
2) download the source ( TnFox\Python\BoostPatches.zip to overwrite files in boost -check the directories in the package )
3) download the header ( i did not download this, n got hell of a time)
4) download bjam for the compilation
But things are not smooth, i need to rename the JamFile_win32 to jamfile so that bjam get the correct file. And this had me going in circles and circles. How do you configure bjam to use another Jamfile? Sigh! Sleepless nights...
5) I got lots of link errors, hopefully these are the deliberate ones mentions in the guide.
when i m trying to process, i m required to run Geninterfaces.py
but I dun know where to get it.
Hmmm, Okie, i give up.
I will just get the binary and forget the whole thing.
Perhaps i should dive into ruby.
So i decided to get started with Python and FOX.
Sadly, FxPy is no longer maintained.
Ruby had got the latest version. But i dun see myself using Ruby in another 2 years time.
So i google on. And i found TnFox, it provides Python binding.
But somehow there is some hackin to the boost lib.
Again, i spend a few nights trying to figure things out.
building boost.python on windows
1) download boost 1.33 or later
2) download the source ( TnFox\Python\BoostPatches.zip to overwrite files in boost -check the directories in the package )
3) download the header ( i did not download this, n got hell of a time)
4) download bjam for the compilation
But things are not smooth, i need to rename the JamFile_win32 to jamfile so that bjam get the correct file. And this had me going in circles and circles. How do you configure bjam to use another Jamfile? Sigh! Sleepless nights...
5) I got lots of link errors, hopefully these are the deliberate ones mentions in the guide.
when i m trying to process, i m required to run Geninterfaces.py
but I dun know where to get it.
Hmmm, Okie, i give up.
I will just get the binary and forget the whole thing.
Perhaps i should dive into ruby.
Tuesday, December 19, 2006
Windows can be so painful at times
i managed to solve the network issues with the 3.5G connection... but along the way...
i messed up the connectivity for infrared.
Guess it will take forever.
i messed up the connectivity for infrared.
Guess it will take forever.
Boost Graph library
Wanna try out the graph library so i happily downloaded the library,
okie -> need boost jam to build
okie -> downloaded boost jam
okie -> build and gotten bjam
okie -> run bjam on boost 1_33
okie -> vc7 needs the include path to compile
okie -> vc7 need the library and path to link
okie -> requires bgl-viz.lib to read graphviz .dot
okie -> does a bjam under boost/libs/graph/built
okie -> vc7 needs to add bgl-viz.lib to the library path
okie -> gotten it compiled.
it is quite abit of effort.
And it took me 2 days.
okie -> need boost jam to build
okie -> downloaded boost jam
okie -> build and gotten bjam
okie -> run bjam on boost 1_33
okie -> vc7 needs the include path to compile
okie -> vc7 need the library and path to link
okie -> requires bgl-viz.lib to read graphviz .dot
okie -> does a bjam under boost/libs/graph/built
okie -> vc7 needs to add bgl-viz.lib to the library path
okie -> gotten it compiled.
it is quite abit of effort.
And it took me 2 days.
Sunday, December 17, 2006
Python and pspad
Was trying out python.
Too much hype from my colleague, am still trying to figure out tuple, list. dictionary.
Not as great, i need somethings much more simpler... Gosh, am i stupid.
Another thing, was using yapgvb (yet another python graphviz binding) .
Am trying to create the .dot file with the write function,
but it did not managed write correctly to a file(only the last few hundreds of lines)..Sigh.
Phew, it was able to pipe to the standard out. This saves me a lots of work.
It is a really good way to play with python, running with Pspad.
Posted by: vbr Date: 12/07/2006 20:21 IP: IP Logged
Try Settings :: Highlighters settings :: Python :: Compiler Compiler: e.g.: C:\Python25\python.exe
Parameters: "%File%"
[x] Capture program output window
Log parser
*file %F *line %L*
Then you should be able to run *.py files from within PSPad (File :: Compile (Ctrl+F9)).
Too much hype from my colleague, am still trying to figure out tuple, list. dictionary.
Not as great, i need somethings much more simpler... Gosh, am i stupid.
Another thing, was using yapgvb (yet another python graphviz binding) .
Am trying to create the .dot file with the write function,
but it did not managed write correctly to a file(only the last few hundreds of lines)..Sigh.
Phew, it was able to pipe to the standard out. This saves me a lots of work.
It is a really good way to play with python, running with Pspad.
Posted by: vbr Date: 12/07/2006 20:21 IP: IP Logged
Try Settings :: Highlighters settings :: Python :: Compiler Compiler: e.g.: C:\Python25\python.exe
Parameters: "%File%"
[x] Capture program output window
Log parser
*file %F *line %L*
Then you should be able to run *.py files from within PSPad (File :: Compile (Ctrl+F9)).
Subscribe to:
Posts (Atom)