khi gia

Jun 19, 2009 11:29pm
Feb 12, 2009 9:10pm

hellotxting :)

Feb 8, 2009 1:40am
antique junk

antique junk

Feb 5, 2009 11:52am

Netezza muti-proc system give nearly always different ordering on the same query/same data (no ‘order by’ in query of course!). Even partitioned table in Oracle seems to give always same ordering.

Nov 27, 2008 7:11pm
Nov 27, 2008 7:08pm

join on command line

join -t’,’ -1 2 -2 1 -o “1.1 0 2.2” -a 1 f1 f2

This create a join of 2 CSV files f1 and f2, using column 2 as key for f1 and column 1 for f2, printing column 1 fo f1 and the key and column 2 of f2, and ensuring all lines of f1 are in output (left outer join).

Oct 6, 2008 10:53pm
Aug 6, 2008 9:58pm

blackhole

This is not a dead pixel on my LCD screen … this is a dead mosquito inside my screen :(

Jul 29, 2008 6:37pm

VB callback from C++ library

Spent few hours learning to call C++ from VB and VB from C++. It’s relatively easy (type convertion is ok, just be carefull that calling conventions is not the same in IDE (require std call conventions) and executable (both C and std are ok)).

Biggest problem is that a thread not managed by VB cannot call a VB callback (it’s here:http://support.microsoft.com/kb/q198607), so I will probably need to capture a VB thread (a windows timer thread also works) in my C++ API (through a blocking call) and share data between thread with a protected queue … all that to have a callback kind of thing from a C thread to the VB world!

Update: passing Variant from VB to C++ is not fun :(

Jul 28, 2008 2:04pm
Page 1 of 4