about author

Previous | Next Month

February 2003

alek blogs

insane blabbering without spelling (*)

use yout tags wisely

If St. Patrick were to write DeXiderata today:
(...) Many fears are born of fatigue and loneliness. If you cannot make that XML document parse, go get a pizza and come back to it.(...)
(...)Speak your truth quietly and clearly, making liberal use of UML diagrams.(...)



Moore law for abstractions?

From A Talk With Charles Simonyi (The WYSIWYG) on Intentional Programming:
(...)So an abstraction may be looked at from one side as a compression of many instances into one generality or from the other side as a special purpose power tool that yields the solution for many problems. If one could attach a dollar sign to this power, the economies would be amazing: rivaling that of chips or application software itself.(...)



New age of illuminated computing!

just thinking about increases my productivity - now i can work in complete darkness:
The EluminX Illuminated Keyboard has arrived! Be one of the first to experience the new age of illuminated computing!



Open source or Open prototypes?

Russell Beattie is making excellent points about Thoughts on Open Sourcing Your Code: The OSS Prototype License. I have done some of those prototypes and i agree that marking them as such is a good idea for longer term maintenance.



Life in cubicles

duo of text and image is a killer in: I Lost the Window Seat (image taken from Virtual Stapler)
And I said, I don't care if they lay me off either, because I told, I told Bill that if they move my desk one more time, then, then I'm, I'm quitting, I'm going to quit. And, and I told Don too, because they've moved my desk four times already this year, and I used to be over by the window, and I could see the squirrels, and they were married, but then, they switched from the Swingline to the Boston stapler, but I kept my Swingline stapler because it didn't bind up as much, and I kept the staples for the Swingline stapler and its not okay because if they take my stapler then I'll set the building on fire.



Life goes on ...

i can relate to what Chiara felt - so nice to see similar feelings:
I had million things to do, like be depressed, go to the gym, do 3 weeks worth of laundry( if i could help it, it would be 4-5 weeks), go to Whole Foods for weekly grocery shopping, catch up on the blog world, etc. etc.



Stigmergy or Why Ants are superior...

I must admit I do not like those biological analogies:
Using a weblog is communcicating through stigmergy. Just like an ant, as I blog I leave a trail of information and links to other information I find interesting.
not that i have anything against ants or bees (well unless we stay away) just that I think any progress requires intelligence, will, planning, and thinking and that is much much more than just following even tasty trails - there are simply too many of them to follow ...



Java Package Versioning is not easy...

As I have discovered after few hours of frustration support for versioning in Java is awkward and is based on Package Versioning spec that has only HTML description but does not have a working example (article in JavaWorld and working example provided were very helpful to figure out what was going on ...)

This is one of those rare moments that i wish i used other programming language than Java where they better solved this issue. for example it turned out that it does not work until at least one class from package is loaded into application and instead of trying to load package classes the API simply returns null exactly the same value if package is not available at all in current classloader - so the developer needs to guess why null was returned ...

My main problems are that it is only package based (i can always just version one package for library for simplicity) and it not possible to use API if code is not in JAR file and that is big problem. in such case Package.getPackage("package") returns not null but all calls to get getSpecificationVersion() etc. will always return null as implementation completely ignores my MANIFEST.MF even though it is on CLASSPATH but it is not in JAR file (one more reason to have real class metadata support in Java ...)

one nice thing i found is good and useful schema for assigning version numbers with MAJOR[.MINOR][.MICRO][_PATCH_NUMBER|-MILESTONE_NUMBER],
for example: 1.1, 2.20.1, 3.4.5_03, 4.5-beta1 (more details in notes about Specification-Version and very good rationale on not making implemntation versions comparable as described in Rationale for Limiting Implementation Version Numbers to Identity, excerpt:

A bug first appears in some version of a vendors package and may or may not continue to be a problem in subsequent versions. If the client of the buggy package uses a workaround based on version numbers, it could correctly work around the bug in the specific version. Now, if the buggy package was fixed, how would the client package know whether the bug was fixed or not? If it assumed that higher versions still contained the bug, it would still try to work around the bug. The workaround itself might not work correctly with the non-buggy package. This could cause a cascade of bugs caused by fixing a bug. Only the developer, through testing with a new version, can determine whether or not the workaround for a bug is still necessary or whether it will cause problems with the correctly behaving package. The developer only knows that the bug exists in a particular individual versions.

current solution: define package.Version.check(String version) (example in XSOAP) and not waste more time on it ...



Know Your Enemy ...

good article on How to Interview a Programmer, defintely worth reading, showing what somebody that wants to be hired should really worry about :-)

and here is my favorite part:

(...)Randy Stafford: Good citizenship is probably more important than technical prowess, because if you have people with the right kind of attitude and demeanor, you can help them gain the technical knowledge and software development habits. But if you have people who lack humility and maturity, it can be extremely difficult to get them to cooperate in reaching a goal, no matter how bright they are or what they've accomplished in the past.(...)



Lightweight Sun ...

I wonder if anything useful will come out of Back to Basics for Sun Software - interesting interview with new CTO John Fowler:

Q: How do you view the integration of Java with Web services?
Fowler: We've looked at the application server and how people use application servers and Web servers in real markets, and have found that current app-server technologies are not aimed at what most people want to do. A large segment of developers want to develop presentation logic and database-connectivity logic but don't necessarily need all the elements of EJBs. And there's no reason why this needs to be so expensive or complicated.

Will Sun be able to create something small, useful, and lightweight or will succumb to marketing and work on another big piece of J2EE machinery. There are some interesting problesm to solve like JAX-RPC that is heavily RPC and CORBA-ish bend people are now more interested with messaging (so we have JAXM) and XML schema defined types (so we have JAXB) with doc/lit encoding as WS-I wants to supersede SOAP 1.1 Section 5 with enhancements over standard XML schema - at least SOAP 1.1 encodign was self contained - so it will be interesting to see if they ca come with anything coherent that is easy to use and allows real flexibility (like AOP and interceptors) and do not finish heavy code generating and packaging just like EJB (and JSR 109 alreayd shown that this can be done for web services in EJB)...



Computer Science or Rocket Science

The ministry of silly names or other aspects of IT specailist life:
"What is it this time? Problem with the caps-lock key? Trouble remembering how to spell your mother's maiden name? Hard disk seized under the weight of all those JPEGs?"



This blog is about:
XML, Java, and everything else (or nothing ..)

Find more about
blog author

Blogroll:
Sam Ruby
Russell Beattie
Diego Doval
Joel on Software
and some (almost) harmless entertainment: The BileBlog

Projects::
MicroLogger
Xydra
WSIF
XmlPull API
XPP3/MXP1
XSOAP
XMessages

RSS RSS 0.92
0.92 [validate]
2.0 [validate]

Filter Entries:
Life Category Specific RSS Feed
Java Category Specific RSS Feed
XML Category Specific RSS Feed
Computing Category Specific RSS Feed
Web Services Category Specific RSS Feed


Valid XHTML 1.0!


Powered by microBlog (C) Aleksander Slominski

Disclaimer: personal opinions and observations that may or may not be taken seriously, or even based on shared reality and generally are very unreliable and personal and snapshots of volatile writer mind ...

NOTE: THIS PAGE IS UNDER CONSTANT DEVELOPEMENT