Monday, August 30, 2010

ObjectIcon 2.4 and Cygwin make

ObjectIcon 2.4 is available at code.google.com/p/objecticon

This is the Icon language of the late Ralph Griswold and others as extended by Robert Parlett with class-based objects and Unicode.

If you are a Windows user with Cygwin as your gcc build environment, you will have to recall how to apply env var changes to the current shell: ObjectIcon comes with a handy paths.sh file which will only be of use if run as
.  ./paths.sh
where the initial dot ensures that a script not using exit will have its variables export into the scope of the current shell in which it will run.  Just running the script will not set the var's for ObjectIcon to use.

This way you are able to pick up the ObjectIcon env vars such as OIHOME without adding them into a bash rc file or the like.

On my system that paths.sh file is
# Object Icon path settings

export OIHOME="/cygdrive/i/objecticon-2.4"
export OIBIN="$OIHOME/bin"
export OILIB="$OIHOME/lib"
export OIPATH="$OILIB/main:$OILIB/gui:$OILIB/xml:$OILIB/parser:$OILIB/ipl"
export OIINCL="$OILIB/incl"
PATH="$PATH:$OIBIN"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$OILIB/native"
export TRACE OIMAXLEVEL

Monday, August 23, 2010

IE8 compatibility and leaks links

Microsoft has their IE8 compatibility page here at http://www.microsoft.com/windows/internet-explorer/readiness/developers.aspx

There is a useful discussion in the forum at http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/772e4b07-29e1-4909-b77f-f61c503f9579

A long-standing resource is quirksmode.org at  http://www.quirksmode.org/dom/intro.html

David Hammond's webdevout.net shows no blog post since July 24, 2009 at http://www.quirksmode.org/dom/intro.html but still has a lot of information.

The wikipedia quirks_mode article at http://en.wikipedia.org/wiki/Quirks_mode is also useful.

Here are 2 links on Internet Explorer and memory leaks due to closures with circularities impeding GC:
Understanding and Solving Internet Explorer Leak Patterns
Circular Memory Leak Mitigation
At least msdn one page suggested by David Flanagan in the rhino book is now missing.

David Flanagan slides on ECMAScript 5 at http://davidflanagan.com/Talks/es5/slides.html

IE9 and ECMAScript 5 link at msdn: http://blogs.msdn.com/b/ie/archive/2010/06/25/enhanced-scripting-in-ie9-ecmascript-5-support-and-more.aspx

ECMAScript 5 conformance suite link: http://es5conform.codeplex.com/

Thursday, August 19, 2010

Camera Obscura and "Back to DSL"

With our re-location we are back to DSL as we are just past the area with Op Fiber to-the-door (this must be one of the few cities with free public wi-fi downtown and to cross the five feet with fiber.

Unlike the typical American publiv library in a small city, the public library here has a shelf of philosophy books both in Dewey 100+ and 180+ including one volume that was a very pleasant surprise.

The biggest treat: a hand controlled "camera obscura" in a dome by the river.  This is not augmented vision with adjusted focus as in a magnifiying glass, a spyglass, a telescope, a film camera or a video camera: this unique manner viewing a display ( I do not say "image") of reflections of the trees on the surface of a flowing river, passing gulls or tourists on the bridge - an artist's permanent installation - alone would be worth the journey.

Tuesday, August 3, 2010

Rebol Quick Reference Card

Over at rebol.com Carl Sassenrath has posted a Quick Reference Card for Rebol3.  If you only use Rebol occasionally, this could be handy.

Monday, July 26, 2010

Rebol reverence and followership

I noted to the Rebol3 group at the http://www.altme.com/ Rebol world that
>> test: 42
== 42
>> test:none
== test:none
>> testnone
** Script error: testnone has no value
comment  {test remains 42 but no error unlike, say, simple undefined testnone That missing space looks nasty when test:none should have been test: none Is this a bug in R3? test:none does not return none but instead returns test:none}
A tolerated bug in R2 becomes a revered feature in R3, no? If that is not a bug, then I may be the pope. Or is it "the caprice of the colon", otherwise known as 'the big C" ? You must excuse me, Jon Stewart just explained that science is faith and I am still in awe. Ohmmmmmmm.

Friday, July 23, 2010

disposable 10$ laptop to throw-away into recycling?

Years ago in a Byte article Alan Kaye conjectured on electronic paper - the prospect of a 10$ laptop is now in the BBC news. But it will run linux ... and which linux?

Wednesday, July 21, 2010

Java Smalltalk

When I'm between contracts I can end up in some odd "HR" conversations called "technical interviews."

Young Java team leads generally know nothing of Smalltalk (but they've heard tell of it), so they cannot believe that someone outside the fold would understand the difference of
  if  ( x == y )  {}
from
  if ( o.equals( obj ) ) {}
And yet this is the very difference that makes Smalltalk's IdentityDictionary suitable on one occasion and a mere Dictionary on another.

But how to talk about that to a Java interviewer? Better not to mention it. A Smalltalk Set of integer keys is not a Java Set.

And as for generics and Collections, best not to mention how long Curl (of http://www.curl.com/ ) had typed collections ( a Smalltalk abomination) and an {Iterator-of t:Type} class.  Or that Curl abstract classes with multiple inheritance an interface framework make.

There once was a day when COBOL developers could opt to work in Smalltalk on some banking and financial systems.  But would one of today's few Smalltalk teams be any too happy to be joined by someone with years in C++? Hmmm.  And some wonder why so little gets done in Logtalk or other specialized languages while talk goes on of "dialects" and "language-oriented programming".  What can multiple-paradigm languages such as Oz be taken for in the monoculture of C# and J2EE shops?  And all the while the scripting hares nibble quietly on their Python deployment scripts hidden from CIO- and CTO-view in over-grown weed patches ... called "integration" and "minifying" and "monitoring".

Perhaps it all stems from the obsession with mowing and trimming the chemically-perfected green lawn.  What humble vegetable gardener grows only the green bean, or only spuds? 

Monoculture.  Best practiced in the dark.  Now where was that Erlang posting? Hares, rabbits, meerkats ... it must be the O'R libra colophony.