Bernie's Blog A confusing concoction of Java, mobile devices, technology and photography

24Feb/090

English To Bahasa Melayu in Facebook

Can you read Bahasa? Facebook added support for Bahasa Melayu not too long ago. I did the funniest thing and changed my Facebook to use it. We have a thing going on with regards to English -> Bahasa Melayu translation going on in my company - we laugh about it. Things just sound weirder. For example:

1) Live feed is now suapan langsung
2) Inbox is now peti masuk
3) Links are now pautan
4) Events are now acara
5) The Developer app is now called Pembangun
6) Settings, tetapan

I'm gonna keep my Facebook in Malay for a while (maybe indefinitely?) since English can get old pretty fast, plus my BM is nowhere near where it used to be :D

In Facebook's defence, the translations, to me, are pretty good. The words are correct, they might sound weird but that's just probably coz I've never heard them before. If the phrases catches on, Bahasa would be enhanced by new vocabularies.

Filed under: Ramblings No Comments
17Feb/093

Restoring Oracle’s Initial Database Settings

I messed up my local Oracle database settings while tweaking its SGA memory and the instance would not start. TNS Listener would run, and SQLPLUS connects, but no instance. I have XE installed and programs trying to connect to the XE SID would fail.

Tried connecting to SQLPLUS / AS SYSDBA works but running 'startup' gave me a weird

ORA-44412: XE edition memory parameter invalid or not specified

It was then I realized something went awfully wrong with the new memory settings but I couldn't find an easy way to undo it. Luckily, there's a way to start a db instance using the default settings that came with a fresh Oracle install. Here are the sequence of commands:

Try recreating it from the template init.ora (in the %ORACLE_HOME%\config\scripts directory). So connect to sqlplus as sysdba then run:

startup pfile = $ORACLE_HOME/config/scripts/init.ora

If the database comes up without errors then recreate the spfile with:

create spfile from pfile='$ORACLE_HOME/config/scripts/init.ora';

16Feb/090

Upcoming O’Reilly Palm WebOS book – Chapter 1 out

TamsPalm posted a mighty interesting news related to Palm's webOS. An initial chapter of an upcoming O'Reilly book reveals screenshots, bits of codes and other details of the new webOS. It's 9 pages long so it won't take long to finish. There'll also be a webinar that'll be available soon in which the SDK will be previewed.

Palm, get it out the door already. Please.

Source: Some News on the SDK Front -> TamsPalm - the Palm OS / web OS Blog
Link: Chapter 1 of the book

Tagged as: No Comments
14Feb/090

Emerald-Beryl Themes

These are themes that Compiz-Fusion folks can use. First get compiz-fusion-icon via aptitude, then pick from the many themes available. Currently I'm using LiteGlass Blur 2. Link: Compiz Community.

Filed under: Ramblings No Comments
5Feb/092

Maven 2 Repository Reinstall Tip

If you need to install a local Maven 2 repository (say Nexus or Apache Archiva) and you have a ton of libraries in your local machine (say ~/.m2/repository), a quick way to get the Maven 2 repository up and running is to upload everything fom ~/.m2/repository into the work directory of Nexus or Archiva. For Nexus, it's located in ~/sonatype-work/[your repo]/.

After the uploading has completed, locate the repo and force a full-reindex. Check out the documentation for the respective tools you're using on how to do this.

Finally, try a maven build. Use the '-U' flag to force an update if it still complains of missing libs (of course verify that you uploaded the lib in the first place).

Filed under: Programming 2 Comments
5Feb/090

Palm Pre – $129 2-year contract, $549 without

Malaysians should take note of the price without a contract. The price of an unlocked-GSM model (rumored to be announced in the upcoming GSMA mobile world congress) should be similar. So, the Palm Pre might sell for close to 2000 ringgit. Not an out-of-this-world price for a smartphone, but definitely not as cheap as I'd hope for.

Source: Sprint EOL list reveals target Palm Pre launch, plenty more : Boy Genius Report

Tagged as: No Comments