Me, Myself and Mayvelous
6 Feb
The Problem:
WinForm application to create and populate the development database.
The generated data, scripts and permissions files+folders are to be copied from the project folder to debug/release folder on a successful build.
Uses a pre-build event from ‘Project properties > Common Properties > Build Events’ of VS.Net 2003.
Uses xcopy to copy files and directories.
The Test and Check :
The (!@#$%*&) Error:
Performing Pre-Build Event…
‘xcopy’ is not recognized as an internal or external command,
operable program or batch file.Project error: A tool returned an error code from the build event
Pre-Build Event failed
The Solution:
After a bit of googling, I found out that I’ve messed up the "Path" variables from the registry while trying to install php manually a few week back. Because of it none of my basic command prompt were working and definitely pre-build xcopy would not work.
The reference article said,
"If commands don’t work, then, the first thing you should check is the contents of your Path variable. At a bare minimum, your Path should start with the following:"
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\Wbem
The system registry environment variable type should be REG_EXPAND_SZ, not REG_SZ.
You can find the path by: cmd > regedit > browse to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment.
So…
I’ve changed my mess up path:;C:\php;;C:\Program Files\QuickTime\QTSystem\
To the correct path:
C:\PROGRAM FILES\THINKPAD\UTILITIES;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI
Technologies\ATI Control Panel;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL
Server\80\Tools\Binn;C:\php;C:\Program Files\QuickTime\QTSystem\
Well you don’t need all those paths, I just added a few from my friends’ paths to make mine more complete.
Remark:
# 3 days to figure out,
# 10 min to search for the solution,
# 2 min to fix the problem.
You SUX May!
5 Feb
Incase of live and death emergency such this, Buried alive, who would you save?
TWO children and their mother were buried alive after a landslide tore through part of their home at Vunivau outside Labasa at the weekend.
Their 70-year-old grandmother, who survived after being thrown into a nearby drain by the force of the disaster was still in shock yesterday.
I was just wondering…where this man was sleeping when the event happened…the wife close by and go for the mother.
Hmmm…Impressive!
Don’t take me wrong, I do pity this poor man on his losts. Just that I’m trying to think logically to who he should go for.
How is the level of affection and love between the mother, the wife and to the kids?
I might not be qualify to judge on this as I’ve never been married or have kids but what would I/you do in case of this.
I don’t know which one is stronger, the love for your mother or the love for your partner or the love for your own child?
Ofcos if my husband is an arse-hole then I would definitely ignore him and go for my mother or my kids.
But then on the choice of the mother and the kids, I would go for my kids…I guess that’s what all mother/parents would do. Ok lets not talk from a gal point of view. From a girl point of view, no girl would try to save a husband, should be the other way round rite?
Lets try from the guy(your) point of view, who would he go for? Why he couldn’t help the wife who was sleeping next to him and why not kids? They are lighter to carry…why the mother?
Gosh I sounded like I hate my mother. You know what i’m trying to say rite?
My way of looking at it is:
The youngers have lots of future ahead so the youngers should get more survival chance than the 70 year old elder. and what a 70-year-old do much for…say next 10 to 20 years?
Am I right in saying what I said or what would you have done? Hmmm so what’s your opinion on this?
Or do we just blame on the rotten fate?
3 Feb
And…Fiji Water problem continues…
This is the latest update on Fiji water shortage.
It’s been 3 days no water in our area and I haven’t had shower for two days.
Me stinks!
Water tank comes just after when we got back from work.We were hurried carrying buckets of water to fill the bath tub, washing machine, pots and every single continer that you can think of.
Lucky for Aung, the guys are so nice to let him take a shower right on the road. I was so jealous I want to shower too. Well, the guys did ask me too but ofcos I can’t shower on the road!
Anyway I can’t help it but to ran and get camera to take a shot of Aung showering.
He was just showing off and making faces at me that I just want to throw stones at him.
Anyway this is how lifes on our island on my favorite day of the week.
Friday evening, chilling out, feeling stink, holding back the business, just what I like about my fav day. (NOT!)
1 Feb
WP 2.xx versions up.
Upgrade to 2.0.1 guys. I’m doing it tonight.
All in all we’ve closed 114 bugs in the 2.0.1 release, which you’re welcome to check out if you’re curious about every fix. To summarize:
- You can now specify an upload directory, and whether to use date-based storage or not.
- Caching has been fixed under certain PHP enviroments.
- Permalinks have been fixed for weird enviroments as well.
- XML-RPC uploading works.
- Compatibility with older versions of PHP.
- Several WYSIWYG fixes and cleanups.
- Imports now use much less memory.
- Now works with MySQL 5.0 in strict mode.
Download Link: WordPress 2.0.1