Keith Kim’s Blog
Technology, Development, Tech Trends, Tech Team Management
25th
NOV
Erlang
Posted by Keith under Erlang
I’ve been looking at Erlang for some time now to see whether it gains popularity. At that time, I was looking for a new way for programming multi-threading/multi-processor (now multi-core). The existing methods were (and still are) little cumbersome and then I found Erlang after some searching. However the language is very different from other widely used languages, and I wasn’t sure if it worth the time to learn it…until recently. I’m beginning to hear more people are talking about it, and I see more people blogging about it. So I’ve played around with it a bit recently.
I installed Erlang on Sparc Solaris (v9), XP, Vista and Ubuntu. The installation for Windows was just a breeze. Ubuntu needed a couple of apt-get’s and the version doesn’t look like it’s the latest. On Solaris, it was a bit of hassle — the code itself compiles fine, but complained that I need ODBC. I never used ODBC on any Unix flavored OS except Windows — so I was a bit puzzled whether I could get such for my system. With a bit of googling, found that I needed to install libiodbc, and MySQL ODBC.
Erlang is getting a lot of attentions lately and I’m now reading tutorials and studying it — so far, it’s been fun experience. It’s very similar to PROLOG. So it’s not a completely strange language. I’ll keep putting some information on Erlang on my blog. I get bored easily, and lately Erlang makes my days little more exciting. Scala was at the top of my list (for interesting technology), but it’s Erlang (for now).
Btw, I’m toying around with followings these days: Python/Jython, Ruby/JRuby, Scala, PHP framework (Symfony), Android, Java3D, Statistical Learning….although I lost interested in Python and Ruby don’t play around with them much, but I’m still looking at them occasionally.
To Do with Erlang
- Test some web apps with ODBC — some claims Erlang beats Apache pretty badly.
- Find A.I. implementations in Erlang — NN, ML, NLP.
- Distributed file system. Found some software.
Some useful links
- Erlang and ODBC, http://romenlaw.blogspot.com/2008/10/erlang-odbc.html
- MySQL and iODBC, http://www.flatmtn.com/article/setting-mysql-iodbc
- Wikipedia, http://en.wikipedia.org/wiki/Erlang_(programming_language)
6th
NOV
Posting source code in Wordpress
Posted by Keith under Tips
http://faq.wordpress.com/2007/09/03/how-do-i-post-source-code/
[sourcecode language=’css’]
[ sourcecode language=’css’ ] .. [ /sourcecode ]
language= cpp, csharp, css, delphi, html, java, jscript, php, python, ruby, sql, vb, xml
[/sourcecode]
6th
chkconfig in Solaris
Posted by Keith under Unix/Linux
Adding services in Solaris 9 (and prior versions of Solaris) is a bit of pain compare to Linux. There is no chkconfig like Fedora/RH by default or solaris pkg. But I found this:
http://www.fastcoder.net/software/chkconfig/
It’s available in source code form, so compilation is necessary but it went smooth without any difficulties.
- For Ubuntu, it’s simpler than chkconfig:
[sourcecode language=’css’]
sudo update-rc.d name_of_the_script defaults
[/sourcecode]
- For Solaris 10, here’s info:
http://www.unix.com/sun-solaris/32936-solaris-10-add-new-svc.html
Recent Posts
- Using SVN in Mac
- Setting up CVS pserver on OSX 10.4 and up (10.5, 10.6)
- PhoneGap: development apps for iPad
- PhoneGap install
- iPhone and iPad development
Recent Comments
- Pranav on Intro: Java ME and Palm
- Keith on Code Review tools
- Jesse Gibbs on Code Review tools
- pdumsproject on MS Project replacement (Desktop apps)
- sparky on EverNote, better than Microsoft OneNote
Categories
- Apple
- Architecture
- Books
- Clojure
- Cool Apps
- Development Tools
- Erlang
- Fun
- Golang
- iPhone iPad development
- J2EE
- J2ME
- Java
- Lisp
- Management
- PDA
- Sites
- Tips
- Unix/Linux
- Windows
Archives
- July 2010
- June 2010
- January 2010
- December 2009
- November 2009
- July 2009
- May 2009
- January 2009
- December 2008
- November 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- April 2007