Taken from their company announcement on SGX. A piece of good news to me, I’m usually too lazy to go down to Sim Lim

So around my area, there’s quite a few branches. Excluding the upcoming one, there’s one in Tampines 1, one in Eastpoint Mall, one in Parkway Parade

http://info.sgx.com/webcorannc.nsf/AnnouncementLast3Months/92D6AC4B193A94274825774400246E2A?opendocument#
Tags: ,

Related posts:

  1. Bedok gets new mall? Got this piece of news from Lushhome. Frasers Centrepoint Ltd (FCL) has bought the adjacent...
  2. Bedok and Tampines Army Shop address and contact numbers Contacts of shops selling SAF stuff in the East. Bedok Army Shop: Tampines Army Shop:...

Comments No Comments »

With the World Cup around the corner, I dug out my trusty A-B converter again to tune in to the Indonesian channels. The reception is a bit grainy but still acceptable. And it’s way cheaper than the $94.16 you have to shell out for Starhub and Singtel’s World Cup package.

A-B Converter

The good news is that I’m getting pretty good quality on Malaysia’s TV1  and TV2, so I can watch that as well.  As I said before, if our neighbours can provide us with free World Cup coverage, why can’t the local channels do the same?

Tags:

Related posts:

  1. World Cup 2006 on free-to-air channels RTM channel blocking by Starhub Though that I could watch the World Cup from the...
  2. Trying out Joost – the new, free way to watch TV over the internet I’ve finally got an email from Joost telling me I can download the program and...
  3. EasyEclipse – Free, open source, easy-to-use EasyEclipse – Free, open source, easy-to-use Eclipse distributions and plugins for Windows, Mac and Linux...
  4. The A-Bike – the world’s smallest and lightest folding bicycle The A-Bike is probably the smallest foldable bike that I’ve ever seen. The things that...

Comments No Comments »

Just spotted this comment, which I will mark as spam.

Couple of days back I have started my local recruiting agency and now i am looking for some good highly professional place that is dedicated in placement of professionals, that can help me to expand my business of recruiting. I am also having many professional candidates looking for professional jobs and I also look for professional companies that require professional candidates from different areas right from restaurant jobs to highly trained engineers job and also management jobs. Does anyone know about anything nice place?

That’s 6 “professional”s in 2 sentences. Wow. Besides showing a lack of vocabulary, the author also trips up on his/her grammar.

Tags:

No related posts.

Comments No Comments »

Edsger W. Dijkstra should be a familiar name to any computer science student, since one of the most important algorithms, Dijkstra’s algorithm, is taught in graph theory.

Besides being a brilliant computer scientist, he’s also written some articles regarding the computer science discipline and the computer industry. Click here for the link.

As such, most of what he covers are quite esoteric to those without any programming experience. Case in point, when I first started programming, I had to get used to the fact that in many languages, numbering starts at zero. Ie, the the first item in a list is indexed as 0, the second item is indexed as 1, and so on. An interesting view I discovered is that according to him, many mathematicians view computer science in poor light, and these are usually the poorer mathematicians.

My favourite piece is The Humble Programmer.

Some quotes:

On poor mathematicians:

I gave the puzzle as a sobering exercise to one of the staff members of the Department of Mathematics at my University, because he expressed the opinion that programming was easy. He violated the above rule and, being, apart from a pure, perhaps also a poor mathematician, he started to look for interesting, non-obvious properties

On poor mathematicians again:

Programming is one of the most difficult branches of applied mathematics; the poorer mathematicians had better remain pure mathematicians.

On learning:

We are all shaped by the tools we use, in particular: the formalisms we use shape our thinking habits, for better or for worse, and that means that we have to be very careful in the choice of what we learn and teach, for unlearning is not really possible.

On the Internet’s impact on computer science:

No, I’m afraid that computer science has suffered from the popularity of the Internet. It has attracted an increasing —not to say: overwhelming!— number of students with very little scientific inclination and in research it has only strengthened the prevailing (and somewhat vulgar) obsession with speed and capacity.

On the power of machines:

Machine capacities now give us room galore for making a mess of it. Opportunities unlimited for fouling things up! Developing the austere intellectual discipline of keeping things sufficiently simple is in this environment a formidable challenge, both technically and educationally.

On society’s expectations:

…..machines have become several orders of magnitude more powerful! To put it quite bluntly: as long as there were no machines, programming was no problem at all; when we had a few weak computers, programming became a mild problem, and now we have gigantic computers, programming had become an equally gigantic problem. In this sense the electronic industry has not solved a single problem, it has only created them, it has created the problem of using its products. To put it in another way: as the power of available machines grew by a factor of more than a thousand, society’s ambition to apply these machines grew in proportion, and it was the poor programmer who found his job in this exploded field of tension between ends and means. The increased power of the hardware, together with the perhaps even more dramatic increase in its reliability, made solutions feasible that the programmer had not dared to dream about a few years before. And now, a few years later, he had to dream about them and, even worse, he had to transform such dreams into reality!

Tags: ,

Related posts:

  1. Young programmers win big Young programmers win big Straints Times, July 20, 2009 TALK about starting young: Celine Chan,...

Comments No Comments »

I was playing around with the Google Maps API, when I found that I can’t access my Javascript files in Glassfish. The JSPs were working fine, so I guess it’s some URL handling thing in web.xml. As it turns out, there’s a default servlet in Glassfish that should be used to serve static resources (like CSS, Javascript, PDF, image files, etc). Digging into ${GLASSFISH_HOME}/glassfish/domains/domain1/config, I found the default-web.xml. Under the section called “Built In Servlet Definitions”, there’s this XML snippet:

<servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>

I copied this verbatim into my web.xml.

Now, I want the default servlet to handle all the accesses to the static resources. I tried to map URLs with certain prefixes to this servlet like so:

<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/js/*</url-pattern>
<url-pattern>/css/*</url-pattern>
<url-pattern>/img/*</url-pattern>
</servlet-mapping>

Not sure what the problem is, but it doesn’t work. I’m forced to try extension matching instead:

<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>*.gif</url-pattern>
<url-pattern>*.jpg</url-pattern>
<url-pattern>*.png</url-pattern>
<url-pattern>*.js</url-pattern>
<url-pattern>*.css</url-pattern>
<url-pattern>*.txt</url-pattern>
<url-pattern>*.pdf</url-pattern>
</servlet-mapping>

Well, now that works, but it’s not an elegant solution. Imagine, if I want to serve a new kind of file, say an Excel file, I have to remember to include the extension in web.xml, besides just throwing the file into the correct folder. I will have to relook into this again, but for now, I’m just happy it works :)

Tags: , ,

Related posts:

  1. Problems creating a JDBC resource with Glassfish 3 and PostgreSQL 8.4 drivers What I initially thought was a straight-forward task turns out to be more complex than...
  2. Struts DispatchAction – unspecified method I was going through a tutorial about DispatchAction and trying to define a default page...
  3. Installing PHP 5.2.5 on Windows XP for Tomcat 6.0.13 – Issues resolved I was playing around with the idea of doing a small personal PHP project, and...
  4. Debugging a JSP compilation problem on Tomcat 6 I was doing some experimentation with Maven and Tomcat 6 when I hit this error....
  5. Maven2 – installing 3rd party JARs Have a little time these few days, trying to get familiarised with Maven2. Not for...

Comments No Comments »

It’s quite common to see 2 people playing one one piano. It’s indeed rare to see 2 guys play the same guitar. Check out this clip for the duet (and look our for Tommy’s expression :) )

Related posts:

  1. Excellent 11 year-old guitarist Was looking for a specific song on Youtube when I came across this video clip....
  2. Antoine Dufour – Song For Stephen Usually we tune a guitar before or after a song. Watch Antoine Dufour tune it...
  3. Amazing Graffiti Animation For those who don’t read Matthew Mullenweg’s blog, check out this amazing (though freaky) clip...
  4. Beautiful rendition of Masaki Kishibe’s Scudding cloud(流れ行く雲) Masaaki Kishibe is famous for the beautiful, melodic guitar pieces he creates. This Youtube clip...

Comments No Comments »

SINGAPORE: 92.2 per cent of students who graduated from the three local universities last year found jobs within six months of graduation, according to figures posted on the Education Ministry’s website on Monday.

The employment rate of graduates from the Singapore Management University (SMU) is the highest among the three local varsities.

96.8 per cent of its graduates found jobs within six months of graduation.

In comparison, about 91 per cent of graduates from the National University of Singapore (NUS), and about 89 per cent of graduates from the Nanyang Technological University (NTU) found jobs within six months of graduation.

In terms of salary, graduates from SMU’s Information Systems Management course earned the highest mean monthly salary of about S$3,450.

Graduates from the Business Administration with Honours course at NUS came close with a mean monthly salary of about S$3,400.

At the other end of the scale are graduates from NUS’s Applied Science course. Their mean monthly salary is about S$2,400.

That’s slightly lower than graduates from NTU’s Art, Design and Media course, who have a mean monthly salary of about S$2,430. – CNA/vm

Source

In terms of salary, graduates from SMU’s Information Systems Management course earned the highest mean monthly salary of about S$3,450.

Related posts:

  1. MOM’s Report on Wages in Singapore, 2006 The annual report on wages in Singapore has been released recently by Ministry of Manpower....
  2. When higher education harms While we usually equate higher education with increased job opportunities, this is not the case...
  3. Spamming the word “professional” makes you look quite the opposite Just spotted this comment, which I will mark as spam. Couple of days back I...
  4. 1.24 million Chinese college students to graduate without jobs this year Quoting the People’s Daily Online, About 1.24 million Chinese college students will graduate without jobs...
  5. MOM’s Report on Wages in Singapore, 2005 MOM’s Report on Wages in Singapore 2005 The above link is broken…….use this one instead…...

Comments No Comments »

Inside the pgAdmin tool, run
CREATE DATABASE my_spatial_db TEMPLATE=template_postgis

More details here

Tags: ,

Related posts:

  1. At least I can say I have some Oracle experience A lot of my present work revolves around generating reports and listings from Oracle, so...
  2. Problems creating a JDBC resource with Glassfish 3 and PostgreSQL 8.4 drivers What I initially thought was a straight-forward task turns out to be more complex than...

Comments No Comments »

I was downloading Nvidia drivers and I saw this benchmark for Star Tales. Basically it’s rendering 5 girls dancing to Wonder Girl’s monster hit, Nobody. It’s supposed to demonstrate the power of the PhysX in enhancing games. Here’s a video of the benchmark

I downloaded the benchmark and installed it. When I tried to run it, the program complained of missing files. That’s pretty bad, but worse was to come.

Today, I saw this

That's evil, dude!

That's evil, dude!

Related posts:

  1. Problem starting Netbeans 6.1 RC – resolved Recently I’ve downloaded the Netbeans 6.1 RC1 and RC2 but I could not get it...
  2. Installing PHP 5.2.5 on Windows XP for Tomcat 6.0.13 – Issues resolved I was playing around with the idea of doing a small personal PHP project, and...

Comments No Comments »

After fiddling around with the persistence.xml for a while, I found the bug report here.

Get the 3.0.1 snapshot!

Tags: ,

No related posts.

Comments No Comments »