Archive for February, 2006
Microsoft Origami
Saturday, February 25th, 2006Microsoft has opened a viral marketing site about something called Origami. It was discovered by Design Tastes Good, they sent an email to Scoble with questions and Scoble responded in his snobby manner “I know everything, but I can’t say it to you”. And not the hell broke loose.
Engadged posted the pictures of the future gadget, but denying the validity. Todd Bishop remembered the Bill Gates’ WinHEC speech about new device, and Transmeta’s announcement about some agreement with Microsoft.
I hope that Microsoft will create something really useful and with neat design. What I need in such device is:
- It should be small. Preferably fits on one palm
- It should have keyboard. Even if it has touch screen - I ltype much better, than scribble.
- USB 2.0 connector/charger
- Bluetooth and Wifi.
- If it has IrDA - it’s beam must be strong enough, so I can use gadget as remote control
- No special (iTunes like) software required to connect to device
Sun at Blizzard Beach
Wednesday, February 15th, 2006I like this picture very much. It reminds me of good old times, when I was living in Miami…
Keeping phone call records
Wednesday, February 15th, 2006Ramit Sethi writes about capturing and keeping a records of every calls to customer services and provides an Excel file to do that.
This is wonderful idea. I do some of the call notes in my Moleskine, but never though of having Excel of Word file for this purpose.
Firefox memory tweak
Tuesday, February 14th, 2006Filenet does exception handling - 2
Tuesday, February 14th, 2006Week ago I wrote about unusual way of handling exceptions in Filenet Workplace.
Today I found another "gem":
-
try
-
{
-
invokeNamedEvent(eventName, uiModule, request, new WcmEventResponse(response, this, okToRedirect));
-
-
// If a non-null return value was returned from the invoke, check for true/false. If the
-
// result matches "false", set the redirect flag to true indicating to cancel processing
-
// of the page.
-
sendRedirectCalled = true;
-
}
-
{
-
throw e;
-
}
Why to catch an exception here? And why string comparison is used when Boolean has a constructor with the String parameter?
It seems that Filenet doesn't use any of code review procedures internally. Developers just hack the code all day, make no comments and only two of them really understand the whole Filenet Workplace system. Or it was written long time ago by developer, which left the company, and nobody has time and/or will to do a proper system.
Technorati Tags: filenet, source, exceptions
dotcoms and Web 2.0: history repeating
Monday, February 13th, 2006I was thinking about Web 2.0 and found some similarities between them and dotcoms:
| dotcoms | Web 2.0 |
| Generated a lot of ideas revolving around web enabling of normall stuff | Generate a lot of ideas revolving around web enabling of normall stuff |
| Generated some ideas and generated a lot of copies of the same ideas | Generate some ideas and generated a lot of copies of the same ideas |
| Nobody thought of generating revenue from ideas | Nobody thinks about revenue |
| Most of the sites were maid to be sold to venture capitalits | Most of the sites are maid to be sold to survived dotcoms |
History repeating, huh?
New gadget
Thursday, February 9th, 2006Remote control with WiFi support - the way to go. The remote control should understand modern devices and be able to sense all of them and get useful metadata: song names, volumes, etc...
Dozer - object to object mapping tool
Wednesday, February 8th, 2006This one looks like very promising solution when I will need to convert normal Java beans to Filenet's property bags.
Technorati Tags: filenet, object mapping, java, library, open source
This is how exceptions are handled
Tuesday, February 7th, 2006First, declare this:
Then, in ConfigurePage function, do this:
-
public void configurePage(ServletContext applicationValue, HttpServletRequest request, long windowIdMode)
-
throws Exception
-
{
-
... skipped ...
-
configureWindowId(request);
-
-
// If configureWindowId constructed an exception, throw it.
-
if ( configureWindowIdException != null )
-
{
-
if ( !sp.isSignedIn() )
-
{
-
// We attempted to propogate a window Id when not signed in
-
// probably the result of signing out of an info page.
-
// Don't throw. Fix the windowId to mainWindow instead.
-
//
-
WindowID assignedId = new WindowID(null);
-
WindowID currentId = new WindowID(null);
-
-
assignWindowId(assignedId, currentId, false);
-
configureWindowState();
-
postProcessWindowId(assignedId, currentId, currentId,
-
false, false, false, false, false);
-
}
-
else
-
throw configureWindowIdException;
-
}
-
... skipped ...
-
}
What about good old try-catch?
There is no proper exception handling in Workplace. Should I send this piece to The Daily WTF?
