Thursday, October 06, 2011

Corticon (Rule Engine) - Override error in Users Guide


Corticon is a very good rule engine that stands out as a good competitor to a widely known jBoss Drools. Many companies use Corticon for storing and running their business rules.

There is one small error in Corticon's User Guide (that can be opened after you download and install their Corticon eStudio by clicking Help->Contents). The user's guide is very good as a step-by-step tutorial. However this error may throw you off. Here is the screenshot:









As you can see, the guide suggests that the Rule # 1 overrides the Rule # 2 and the cargo container size should be standard if volume=40 and weight=1000. However, when you continue going over the Corticon tutorial and run their first Ruletest you'll see that the result is the opposite: the container will be standard, i.e. Rule # 2 overrides Rule # 1.




As I said earlier, Corticon is a very good and fast rule engine with good documentation and when you go over their User's Guide remember of this small error.








Oracle SQL Developer - Change Java SDK

Oracle SQL Developer is a popular tool to connect to Oracle database and perform SQL queries (and not only). When you start SQL Developer for the first time it asks you where your Java SDK is.


You enter your JDK path and Oracle SQL Developer uses it for running in Java JVM. Now what if you want to change it? It is easy. Open [sqldeveloper_installation]\sqldeveloper\bin\sqldeveloper.conf (on my machine the path is C:\tools\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf) and modify it as following:




That is, comment out or remove the old path to Java SDK and place the new path. Now restart Oracle SQL Developer and verify that it uses the new path by going "Help->About" and selecting "Properties" tab:






















Tuesday, April 26, 2011

Grails 10 minutes application development presentation

Just gave a presentation to my colleagues in which I developed a full application with 2 domain classes with one-to-many relationships in 10 minutes.

Here are the slides: http://bit.ly/grails-quick-start

Monday, April 25, 2011

intellijidea vs eclipse in grails, android

I have been using Eclipse for ages. Now I tried to use it for Grails development. Sucks!! Even with Spring whatnot package - it always shows some syntax errors.

Tried intellij IDEA - good. Worked very well and smooth. I think I'll be developing my Grails apps in idea.

Android

Tried both also for Android development. It's about the same. Eclipse is good enough.

Wednesday, December 24, 2008

Widget for Internet Polyglot - Random Multilanguage Word Of The Day

We developed a widget for viral campaign for Internet Polyglot. You can see it on the sidebar of this blog. It was relatively easy. First develop a jsp page that finds a random word with all translations and then displays it and its image. Then use this page on Widgetbox or Clearspring, do some configuration and voila - the widget is ready!

So now it can be placed anywhere. Yes, practically anywhere: in your blog or a website, in you iGoogle, even on your Vista sidebar! So go ahead, click "Get & Share" and place this widget wherever you want!

Monday, December 22, 2008

Drupal vs. Joomla!

There is a huge number of articles that review Drupal and Joomla! - two the most popular CMS's (Content Management Systems). Most of them are very interesting, educating and entertaining. But until you try it yourself it's useless.

For a new site Mobile Polyglot I decided to try Joomla! first and spent about nightly 4 hours of trying to create a simple, not to say, primitive site. After 4 hours - there are still problems on how to do this, how to change that.

Drupal - 1.5 hours and everything is done! Very elegant and intuitive. Surely, my needs were very primitive and there are a lot of other tasks are waiting in the future. But for the starters - Drupal is the best!

And check out Mobile Polyglot!