Tuesday, September 04, 2012

vmhgfs

broken vmhgfs
http://www.dead-trickster.com/post/VMWare-tools-on-32b-linux-kernels-(clipboard-dragndrop-problem).aspx

Monday, August 27, 2012

boost and zlib



char *data="test 1\0test 2\0test3";
std::ostringstream compressedData;//hold compressed data
boost::iostreams::filtering_ostreambuf txdat; //compress stream
txdat.push(boost::iostreams::zlib_compressor()); //init compress stream
txdat.push(compressedData);//init compress stream
 
boost::iostreams::copy(boost::iostreams::basic_array_source(data, 20), txdat); //pass data to compress stream

string compressedStr=compressedData.rdbuf()->str();//return as string?

std::istringstream rxCompressedData(compressedStr, compressedStr.length());//compressed string
boost::iostreams::filtering_istreambuf rxdat; //decompress stream
rxdat.push(boost::iostreams::zlib_decompressor());//init decompress stream
rxdat.push(rxCompressedData);//init decompress stream

std::ostringstream decompressedData;//decompress data
boost::iostreams::copy(rxdat, decompressedData);//output to decompressData


Thursday, February 23, 2012

Tuesday, December 27, 2011

Windows Setup could not configure Windows on this computer’s hardware

1. Yumi iso images into thumbdrive
2. Downloaded vlite.
3. Downloaded the latest Nvidia drivers for 105M and extracted packages
4. Replaced package .inf with .inf downloaded from http://www.laptopvideo2go.com.
.inf link references from blog.komeil.com/2010/04/nvidia-driver-windows-7-notebook-laptop.html
5. Package display drivers into win7 64bit with vlite

6. A required CD/DVD drive device driver is missing. If you have a driver floppy disk...
a) try removing and reinserting the usb drive
b) try going into windows repair and then going back to installation

Wednesday, September 21, 2011

So Chim!

data temporality
Event Driven Architecture
Software Craftsmanship

Sunday, November 14, 2010

Misery

It is having your goals tied to the approval of others.

Thursday, August 05, 2010

couchDb Installation

downloaded ubuntu server edition

apt proxy setting
sudo vi /etc/apt/apt.conf
Acquire::http::proxy "http://username:password@proxy:port"/;

apt-config dump to check settings


apt update
apt-get update

apt install
apt-get install
couchdb
curl
ubuntu-desktop
mozilla-firefox

Sunday, March 28, 2010

LISTEN

Lis·ten
intr.v. lis·tened, lis·ten·ing, lis·tens
1. To make an effort to hear something
2. To pay attention; heed
3. There is no need for any solution. Keep your mouth shut and agreed.

Requirements Management

Tracking Requirement is not managing requirements

http://www.softwaremag.com/L.cfm?Doc=1122-2/2008
These tools are like firewall for today engineers.

Working within constraints

What is proper and what is not?

Sunday, February 07, 2010

The solution

You will find the solution as soon as you start to learn to live with it.
Acceptance will come.

Thursday, February 04, 2010

SysPrep Vmware converter

1. download the sysprep for the respectively OS
2. run vmware converter, take note of the sysprep directory
3. extract the content of *.cab to the sysprep directory
4. run setupmgr.exe to generate the configuration template
5. run vmware converter, ensure generate new sid is checked
6. run the vmware image
7. perform a login, attempt to activate windows on internet(should see sysprep dialog)
8. perform a system restart

Somehow things did not work well. Windows refuses to accept my keys.
And I hit the following site.

http://surana.wordpress.com/2008/11/04/windows-activation-problem/

It directed to the following microsoft site to reset the key.

http://www.microsoft.com/genuine/selfhelp/XPPkuinst.aspx?displaylang=en&sGuid=611c3bc2-4d35-4b86-91c7-d29b375607c8

Sunday, November 01, 2009

Steve Jobs

Again, you can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. You have to trust in something — your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life.

Wednesday, September 30, 2009

Thomas Sit

"... it is all about where you want to go and how you think you are going to get there
then you build a self-development plan (to develop a skill and result portfolio) so that you can work towards that..."

"...speak about the things you are passionate about, work wise, and it will come naturally..."

"....i think initiative, innovative, customer focused and team player..."

"...emphasize, build on each of those values and make sure people know about it..."

"...it is also about developing your own brand and communicating to people in a consistent fashion about what the kian joo brand is good to realize that now so that you can get started on it! develop a vision and build your brand !..."

Monday, February 16, 2009

empathy skill

After having to attend a course...
this is the message I received,

Empathy Skill
stop thinking of what you want...
and speak of words of what others want to hear.

Tuesday, December 09, 2008

Animal farm

The never changing rule.

listen -> execute -> feedback


The ideals
listen -> feedback -> execute


Afterall the world needs dummies.
Boxer the horse, is your best friend.
Keep Bengamin the donkey away.
Tame the pigs.

Thursday, December 04, 2008

UBSS and qt

Qt Variables
LIBS
-L/usr/%user%/ubss_obj/ref/libc
-lbs
-lm

INCLUDEPATH
$(UBSS)/$(UBSS_VERS)/install/include

Open Source QT on vs2008 express
QMake shall generate vs2008 makefile.
Avoid source/header in sub directory.

Use external tools to configure the following shortcut.

QMake to generate project (.pro)
Command:%QTDIR%\bin\qmake.exe
Arguments: -project

Add QT+=SQL to .pro
Command:c:\windows\system32\cmd.exe
Arguments: /k echo QT += sql>> $(TargetName).pro && QT += designer plugin >> $(TargetName).pro


QMake to generate makefiles
Comamnd:%QTDIR%\bin\qmake.exe
Arguments:-makefile -tp vc -spec win32-msvc2008


QT Assistant
Command:%QTDIR%\bin\assistant.exe

QT Designer
Command:%QTDIR%\bin\designer.exe

Saturday, October 18, 2008

configure, make, make install

1. PATH
Many applications on Linux is dependent on the PATH,

for example, pkgconfig
need to export PKG_PATH_CONFIG = /usr/local/lib:/usr/lib to have lib packages in both /usr/local/lib/pkgconfig and /usr/lib/pkgconfig to know the library.

2. updatedb
Use locate to check if the system had the correct path.
use updatedb to update the path

Sunday, October 12, 2008

Weakness

Acknowledge your weakness, rather than rationalize them
- Get It, Set It, Move It, Prove It By Mark Graham Brown

Monday, September 15, 2008

Mapserver

Pretty interesting.
Was thinking of working on a mind map with mapserver
but again, it can be donw on a smaller scale with Dojo and Silverlight.


Hope i get time to do that.
Come to think again, y not thick clients WPF?

guess, I'm spoilt for choice.