Archive for the “Work” Category
Go online, book a tee-time
New interactive system lets you do this real-time for courses in and around Singapore, reports JUSTINE MOSS
Go online, book a tee-time - August 9, 2008.
Excited to share that Clickateeonline.com got a feature on Business Time Singapore on a great day(Singapore’s National day). Click on the link to check the article out. If not, come visit us at our site, Clickateeonline.com
Before this, i only know how to do a normal search string and searching for the string through the whole document. Now i can search and replace all.. Yay!
First occurrence on current line: :s/OLD/NEW
Globally (all) on current line: :s/OLD/NEW/g
Between two lines #,#: :#,#s/OLD/NEW/g
Every occurrence in file: :%s/OLD/NEW/g
Dropped off my MBP at the iShop service centre. It was really dumb when everything was back to normal again. Grrr. The service centre person(malay lady) kinda had this look of disbelief. I asked whether there were any related cases with the recent GPU problem and i got a “i dunno” reply.
She ran a scan with ‘Disk Utility’ and after about 10 minutes of trying hard not to disturb her, the laptop started to show signs of problem. The light went off and she said, “It looks like your back light has some problem.” Fiddling around with the screen brightness keys, she managed to get the screen up. Soon afterwards, my laptop started to get hangy with the usual multi-color rolling ball. This time i really have no idea what the hell is wrong with my laptop. Quite irritating that these people have no clear idea of what happen as well. She checked with her mates and told me she will send it in for servicing.
3-5 working days is my downtime. Hopefully, i can get a clear answer on what happened. Luckily i still have my iMac. I still love my mac in case you guys think i might be thinking otherwise.
Damn… just when i was all geared up to start work, my mbp just chose to give me a black screen of death. I narrowed down the problem to my GPU when i tried connecting it to a monitor. F7 simply does not switch the screen. Luckily everything else was intact when i could hear music with Last.fm activated with quicksilver.
The saviour of the night is my somewhat old iMac, a firewire cable and migration assistant on the mac. My MBP user workspace was all up and running in two hours of full user account migration. Everything remained the same (even desktop image and Stickies notes). Phew!!
Posted by: Kenneth in Flex, Happenings, Online Goodness, Work, tags: beta, booking, click a tee, clickateeonline, country club, golf, golf course, handicap, johor, launch, malaysia, portal, singapore, tee time, thailand
Between January 2008 and July 2008, my company has released 4 customised sites running our real-time booking engine for the following Golf courses.
More info can be found at our corporate blog, The Clubhouse
Now, we are excited to welcome all local golfers to our new online golf booking portal, Clickateeonline.com. Not only do we bring you real-time golf booking. We have added 9 more course for your golfing desires.
We bring you quantity. Now let me share what we have in mind to bring some quality to your golfing pleasures. Let me navigate you through the site a lil.
 Welcome Screen
Entering the site, you will see chiclet-looking buttons which represent each green fees for each session on a course. Clicking any of the chiclets will bring you to our booking page. Fill in the particulars of yourself and your other players, credit card payment information and your preferred tee-time and Click Reserve. Easy Peasy.
 My Game
Once you have made a booking, you will be able to see your booking information by logging in to ‘My Game’. ‘My Game’ page also allows you to edit the names of your other plays. If you are unable to play your game, you can cancel it but note that we have a cancellation policy and charges do apply.
 Courses
You can get a quick overview of the courses on the main page itself. To see more details, click on Courses. You will get to see interactive hole-by-hole photos and tips on how to play each hole.
 My Score
 My Stats
My Score - a personal score repository that let you submit your scores online. Once done, you can use our interactive charts at My Stats that help you track your performance over time, with callouts of specific scorecards and score breakdown.
To really experience everything, all you have to do now is click here. But WAIT! before you do, I have to say that all these was made possible with Flex.
Posted by: Kenneth in Flex, Work, tags: adobe, bug, compile, conflict, different version, fix, Flex, flex2, flex3, jsessionid, version
I have two different Flex apps, one compiled with Flex3(i call this F1) and the other compiled with Flex2(call this F2). Both are accessing the same endpoint.
Everything works fine when you access in the order of F2 and F1. Hell breaks loose when i access F1 followed by F2. I noticed that F1 creates a JSESSIONID cookie on my browser and deleting it allows my F2 to work.
My guess is that a bug was fixed between Flex3 and Flex2. Now i have to push up the schedule for a version upgrade for F2 app.
I asked my system administrator to update the hosts.allow file on my server to allow my new IP Address. Recently, Singtel upgraded me to their 1000 Broadband on Mobile plan. The change in IP is quite expected. My sys admin updated the hosts.allow file but also went to change the ssh login scheme to the key-based authentication. It’s nice that he is hardening the box but i wasn’t sure how to do the ssh login now.
His reply to enquiry on the steps to the new login scheme came in the form of PuTTy keys(.ppk extension) and some steps. I am no longer a windows user so i had no choice but to try and do it Mac style. Quote from shinchi: It Just Works. Not so.
First i need to try and change the keys to openssh keys. I am using OpenSSH which is provided with Terminal.app. Problem is ppk work only on Putty. So i needed to see if Mac can run Putty. You can do that by installing Putty with MacPorts.
% sudo port install putty
Once you have PuTTy installed, PuTTy-gen is what you need to change the ppk keys to openssh.
% puttygen <putty key>.ppk -O private-openssh -o <your openssh key>.ssh
Now with my new openssh key, i can now login to my server with
% ssh <username>@<server ip or hostname> -i <my openssh key>.ssh
Well i got lazy to enter the -i all the time so i renamed the file to id_rsa. But i wonder if this is safe. =/
References:
Posted by: Kenneth in Flex, Work, tags: DataGrid, Flex
What happens if you want to make your DataGrid editable but you want to restrict which rows are editable?
<mx:DataGrid dataProvider="{mx.utils.ArrayUtil.toArray(someModel)}" editable="true"
itemEditBeginning="onItemBeginning(event)">
<mx:columns>
<mx:DataGridColumn dataField="name" headerText="" width="100"/>
<mx:DataGridColumn dataField="hole1" headerText="1" width="50" editable="true" itemEditor="mx.controls.NumericStepper" editorDataField="value"/>
</mx:columns>
</mx:DataGrid>
private function onItemBeginning(event:DataGridEvent)
{
var item:Object = event.itemRenderer.data; //Does nothing
if (event.rowIndex == 0)
{
event.preventDefault();
}
}
Reference:
- http://flexblog.faratasystems.com/?p=127
I have been seeing this warning ever since i switched over to FB3. The moment FB3 went live, i did not have the luxury of doing a proper migration. Everything was pretty much in FB2 version and as long as it worked, nothing else matters.
But yesterday, seeing 600+ warnings was an eyesore compared to this:

What i have done is to remove all these from all my components and leave all the stylesheets declarations at the Application mxml.
<mx:Style source=”/location/to/some/Style.css”/>
Found the solution from here.
Posted by: Kenneth in Work
Urgency may get things done a few days sooner, but what does it cost in morale? Few things burn morale like urgency. Urgency is acidic. (”Urgency is poisonous” on 37signals’ blog)
I kinda agree with this but it is almost impossible to work like this in Singapore. Been working past 3am for the past two nights now.
I definitely want to work harder and faster; i mean i can but i think the harder i push, the harder i will be expected to push later on. What should i do?
|