6th
DEC

Trying Erlang

Posted by Keith under Development Tools, Erlang, Unix/Linux

I tested DB and Yaws a bit, and found DB access wasn’t working for Solaris version of Erlang.  After some digging, I found that iodbc does not work.  There are two (open source) flavors for ODBC in Unix.  iodbc and unixODBC.  I recompiled Erlang with unixODBC, and DB access works — sort of.  Still some SQL doesn’t work properly, and I haven’t figured it out yet.  But it’s good enough to test Erlang and Yaws for now.  For Ubuntu, no problem.  Installing Erlang, ODBC, and Yaws were effortless.  But I like Sparc Solaris I use at home. :-)  It’s quite old, but still have enough disk space, RAM and works extremely well.

unixODBC: http://www.unixodbc.org/

One thing about Yaws on Solaris — while I was building Yaws, I got an error from ‘id’ with option ‘-u’.  This is due to Solaris 9’s ‘id’ (located in /usr/bin) doesn’t support -u option.  I temporarily changed GNU’s ‘gid’ to ‘id’ and it built correctly.

5th
DEC

vim, emacs, eclipse, NetBeans for Erlang

Posted by Keith under Erlang

I prefer to use GUI IDE such as eclipse and NetBeans, but I do have to work on terminals often.

Here is vim-erlang file: http://www.vim.org/scripts/script.php?script_id=1584

For emacs, read these pages:

http://www.erlang.org/doc/apps/tools/erlang_mode_chapter.html

http://www.erlang.org/doc/man/erlang_mode.html

http://code.google.com/p/distel/

And here is GUI IDE plug-ins,

Eclipse: http://erlide.sourceforge.net/

NetBeans: http://sourceforge.net/projects/erlybird

1st
JUL

PODS (Palm OS Development Suite) does not work on Vista

Posted by Keith under Development Tools, PDA

Tried everything.  I’ve gotten to the point where I can compile and get .prc file, but it just doesn’t work with IDE’s debugger, nor it launches the compiled PRC file to the simulator or emulator.

IT ONLY WORKS ON XP.

Of course, you can just drop the compiled .prc file onto the emulator/simulator and use the stand alone debugger it comes with.  But it is two extra steps — if you have a copy of XP, then it’s better to use VMWare or VirtualPC + WinXP.

I’ll post more info later.

…but it’s better to write apps for Android anyway…IMHO.

19th
MAY

Useful Firefox extensions (add-ons)

Posted by Keith under Cool Apps, Development Tools

Although not perfect, I use Firefox as my primary browser, along with IE and Opera (for different purposes). I use Firefox especially for development and bookmarking because its rich set of extensions. I’ve been using following extensions for a while and they’re very useful:

  • Adblock Plus
  • Advanced Bookmark Search
  • Bookmark Duplicate Detector
  • Dictionary Tooltip
  • Bookmark quick folder
  • Delegate to Remember The Milk
  • Enhanced Bookmark Search
  • Evernote Web Clipper (installed with EverNote v3 Beta)
  • Fast Video Download
  • Firebug
  • Flashblock
  • Flat Bookmark Editing
  • Foxmarks Bookmark Synchronizer
  • Google Gears (Installed with Google Gears)
  • Google Notebook
  • Live HTTP Headers
  • Locate in Bookmark Folders
  • PDF Download
  • SEO for Firefox
  • SEOPen
  • Server Spy
  • Show IP
  • Speed Dial
  • Tab Mix Plus
  • View formatted source
  • View Source Chart
  • Web Developer

12th
MAR

VisualVM

Posted by Keith under Java

https://visualvm.dev.java.net/


Excerpt from the site:
VisualVM is a visual tool that integrates several existing JDK software tools and lightweight memory and CPU profiling capabilities. This tool is designed for both production and development time use and further enhances the capability of monitoring and performance analysis for the Java SE platform.


Feature Matrix

Feature JDK 1.4.2
local/remote
JDK 5.0
local/remote
JDK 6.0
local
JDK 6.0
remote
Overview
System Properties (in Overview)
Monitor
Threads
Profiler
Thread Dump
Heap Dump
Enable Heap Dump on OOME
MBean Browser (plugin)
Wrapper for JConsole plugins (plugin)