Home » Blog

Giant Colour Charts

Posted by Roger Keays, 2 August 2008, 4:56 PM

Here are some A3-sized colour charts I prepared. Print 'em out and use the empty spaces to match your paints to the colours. Your printer is unlikely to be able to print the green section very well. Hmmm.. nor is your monitor likely to be able to display them accurately. Such is life.

Giant Colour Wheel

XCF source

Giant Lightness Scale

SVG source

 

No comments yet, be the first to comment!

Wikipedia Reading

Posted by Roger Keays, 2 August 2008, 1:40 PM

  • negentropy (n) - A physical characteristic of life is that it feeds on negentropy to keep its own entropy low.
  • gamut (n) - The gamut of human vision is not a triangle.

No comments yet, be the first to comment!

Malay for Everyone 3

Posted by Roger Keays, 2 August 2008, 12:00 PM

  • sebab (conj) - Saya tak terangkat meha itu sebab terlampau berat.
  • akan (adv) - Dia akan jadi seorang kerani.
  • esok (adv) - Saya pergi ke Ipoh esok.
  • semalam (adv) - Dia mula belajar Behasa Melayu semalam.
  • mana (adv) - Di mana pejebat pos?
  • yang (rel pron) - Itulah gambar yang saya hendak beli.
  • yang (rel pron) - Orang yang malas tidak ada wang.
  • siapa (pn) - Siapa orang itu?
  • apa (pn) - Apa itu?
  • punya (v) - Ini siapa punya?

No comments yet, be the first to comment!

Faster Builds with Maven in Netbeans

Posted by Roger Keays, 2 August 2008, 3:05 AM

An often expressed lament of Java developers is the slowness of compile/deploy round-tripping. Here are a few tips to help alleviate the condition in Netbeans.

  1. Change your maven build action to compile war:exploded. The default target for the run action is package, which unnecessarily zips up the war, and copies it to your repository. You can change the build action by right clicking on the project and selecting properties.
  2. Skip tests. Even if you haven't got any actual test cases, it can still take a second or two for the build to figure that out. There is a skip tests checkbox just below where you set the build actions.
  3. Debug instead of run. It takes a little longer initially, but the debugger can compile and deploy changes to a single class with the Apply Code Changes button. It doesn't seem to allow adding, renaming, or removing methods, but still pretty handy nevertheless.

No comments yet, be the first to comment!

Malay for Everyone 2

Posted by Roger Keays, 1 August 2008, 12:00 PM

  • paling (adv) - Itukah kamus yang paling baik?
  • sekali (adv) - Dia yang cantik sekali.
  • lagi (adv) - Kayu lagi ringan daripada besi.
  • lebih (adv) - Kayu lebih ringan daripada besi.
  • daripada (prep) - Perak lebih murah daripada emas.
  • sama (adj) - Awak dan saya sama tinggi.

No comments yet, be the first to comment!

How to Fix Your Television Set

Posted by Roger Keays, 31 July 2008, 11:13 PM

In this short video HOWTO, we reveal 3 simple steps to improve the quality of your television reception so you can make the most of your recreation time.

No comments yet, be the first to comment!

Malay for Everyone 1

Posted by Roger Keays, 30 July 2008, 12:00 PM

  • ada (v) - Dia ada datang malam itu.
  • ada (v) - Wang saya ada di dalam laci itu.
  • bukan (adv) - Ini kerusi, bukan bangku.
  • sudah (adv) - Dia adalah adik dia, tetapi sudah bertahun-tahun mereka tidak bertemu.

No comments yet, be the first to comment!

Reflections on 9/11

Posted by Roger Keays, 27 July 2008, 2:28 PM

Acrylic on cardboard

1 comment, post a comment!

Easy French Reader 16

Posted by Roger Keays, 27 July 2008, 12:00 PM

  • tant (adv) - Je ne me souviens pas d'avoir vu quelqu'un avec tant d'appetit.
  • ne .. que (adv) - Il ne mangait que le pain.
  • auprès (conj) - Je veux m'assurer qu'il y a quel-qu'un auprès de toi.
  • cependant (conj) - Cependant, le surveillant avait fait appeler le proviseur.
  • enfin (adv) - Enfin, je vais avoir un secret à garder!

No comments yet, be the first to comment!

EL Function Parameters with JBoss EL

Posted by Roger Keays, 26 July 2008, 4:00 PM

One of the current missing features of Unified EL as used in JSF is the lack of support for calling methods on an object. You can access a bean's properties that have getters and setters and get elements from a map by name, but cannot call simple functions like ${list.size()}or ${colours.RGBtoHex(0,75,50)}. The clever folks at JBoss built an EL implementation which adds this basic feature, and a recent thread on the JSR 314 mailing list prompted me to add it to our stack.

It's quite easy to do, and you don't have to install Seam. First, you need to download the JBoss EL implementation and add it to your build. Using maven, first add the jar to your repository:

$ mvn install:install-file -Dfile=jboss-el-2.0.1.GA.jar -DgroupId=org.jboss.el \
     -DartifactId=jboss-el -Dversion=2.0.1 -Dpackaging=jar

Then add the dependency it to your pom:

Read more...

15 comments, post a comment!