John Hoffmann's Weblog

All | AI | Comedy | Cool Threads | General | Java | Open Source | Robotics | Solaris 10 | Wiki
« Previous month (Jul 2005) | Main | Next month (Sep 2005) »

20050831 Wednesday August 31, 2005

Blastwave.org needs our support I sent in my donation this morning. If you use Blastwave, crack open that virtual wallet called PayPal and donate. It's nearly painless, I promise. (2005-08-31 08:51:16.0) Permalink Comments [1]

20050818 Thursday August 18, 2005

Smashup: SQL for the "Real World"

Excerpts from the new smashup "SQL for the 'Real World'"
Part of O'Reily's "Add some geek to your cool" series.

Lesson 1
Goal: Introducing the use of _ and '' into everyday language

Select clothes from stores where cool_friends like 'to shop'

Lesson 2
Goal: Introducing the use of = and capitalization

SELECT cheeseburger FROM menu WHERE fast_food_chain='Sonic' ORDER BY drive_thru_window

Lesson 3
Goal: Introducing the use of . () and >

UPDATE your.morals_with VALUES('bling','cool','hot') WHERE your.living='on_your_own' 
  AND your.age > 18 AND your.opinion_is LIKE 'totally'

Lesson 4
Goal: Putting it all together

SELECT guy AS boyfriend, SUM(bank_accounts) AS bling FROM club_scene WHERE body='hot' 
  AND peers_say='he''s cool' GROUP BY boyfriend HAVING bling > 100,000

Note to self: Watching Pauly Shore's Minding the Store is not advancing your skilz. (2005-08-18 07:08:25.0) Permalink Comments [0]

20050812 Friday August 12, 2005

Fair Tax Eliminating the IRS sounds good to me. There is growing momentum behind the idea of the Fair Tax. I bought and read The FairTax Book after hearing about it on the radio. I have emailed my representative in the House to pass it, bill number is HR 25. Thanks for the kick in the action pants, Skrocki! I've even asked The Donald over at Trump University what his opinion of it is!

Here are the main points of the Fair Tax:

The goal

What goes away What gets added Expected results My questions New areas for fraud (2005-08-12 13:37:12.0) Permalink Comments [8]

20050810 Wednesday August 10, 2005

Don't call it AI The last few days my colleagues and I have been wrangling with various approaches for architecting a provisioning solution. We need to integrate an entitlements system with Sun's Portal Server. The entitlements system will store user/asset mappings while the portal stores user/role mappings. The disparity is that not all entitlements map to a role. An obvious approach is to create a simple webapp for business users to manage those mappings and expose a webservice for the entitlement and portal systems to interact with.

However, considering that I have experienced 8 years of interesting and ever evolving marketing requirements, I wonder if this might not be the perfect opportunity to implement a rule engine. This would give the business the flexibility of developing more complex logic to derive roles from an assortment of entitlements. It would also put the power to change the rules in their hands. The idea behind rule engines is that the business logic can be coded by non-programmers in simple syntaxes - or even GUI abstractions - like drag and drop flow charts. These new rules can be added to the system on the fly like any other data. Essentially the rule engines allow the logic of a system to be changed just as easily as all systems allow the data to be changed.

Looking at rules engines and the Java Rule Engine API, JSR 94, led me to a neat interview with the inventor of Jess (Java Expert System Shell), Dr. Ernest J. Friedman-Hill. I was particularly entertained by this exchange regarding the perception of AI in the job marketplace (emphasis added):

JM: I'm concerned that AI/expert systems experience is still too esoteric for most employers of Java programmers to value as a skill. Am I wrong? How does a Jess developer market him/herself?
EJF: You're right to say that AI experience isn't going to impress many potential employers. But I just did a search at monster.com for business rules and found 1,200 job listings. Like anything else, it's all in the marketing. The cardinal rule of defining AI [is] if it works, it's not AI anymore - €”it's just programming.
(2005-08-10 07:17:44.0) Permalink Comments [1]