March 28, 2005

Python - Pycon summary

Pycon 2005.

I didn't get a chance to attend (again). So I am happy that people did such a good job of summerizing the goings on...

Posted by Anthony at 01:27 PM

March 18, 2005

Microsoft to kill RIM

Microsoft could do a simple one two chop to kill RIM and it could look something like this:

1) Create proprietary Middleware Wireless Messaging API for Exchange
which 3rd party companies could write adapters for MSN Messenger, POP3, IMAP, and Notes as well as clients for different OSs (Palm, Symbian). Ensure it is illegal/impossible to access Exchange through any other way. (Use Kerberos/X.509 Key Exchange)

Client <-> MS Wireless API <-> Exchange Server / POP3 /Hotmail

in MS world it would like
Outlook <-> MS Wireless API <-> Exchange Server

or it could look like
PALM OS <-> MS Wireless API <-> Exchange Server

or
Symbian (Nokia) <-> MS Wireless API <-> POP3/SMTP


2) Once you've got client support for PALM etc and sufficient market share pull support for different clients so only Outlook is supported.

Posted by Anthony at 09:44 AM

iRiver iFp-799 review

I've had the iFP-780 for a while (the 128 Meg version) and recently BestBuy had the 1 GIG version on sale for roughly $170 USD(about what I paid for the 128 Meg version a while ago). My wife wanted an MP3 player so I picked it up. I upgraded the Flash to 1.28 which supports UMS.

Here is what I like:
- I can use it for files at work (presentations etc) as long as I have the cable
- Ogg support
- MIC, External MIC support
- Radio, Radio recording on schedule
- Tons of features
- UMS support so you don't need any special drivers (so Linux mounts it perfectly)
-Excellent battery support (40 hrs on a AA). No proprietary battery.

Lacking:
- Ogg Vorbis support is only 96 kbs as a min bitrate, so I can't rip audio books in Ogg format
- Have to use a cable - I know some of the Creative ones plug directly into the USB port
- When using UMS the files are ordered in the date they are copied, not alphanumeric sorting. It is very annoying if you are trying to listen to an audiobook. It ends up jumping around eg chapter 1 and then chapter 6 and then chapter 2 etc.
- People complain that it only records in @96Kbs when you use it in UMS format. Not a big deal for me, but I understand why that is so annoying.

I'm still waiting for the all in one device that will be a phone, email client, mp3 player, recorder and pda for a reasonable price. The Treo 650 looks promising, but still has some growing pains. Until then the iriver is an excellent tool.

Posted by Anthony at 08:41 AM

March 11, 2005

Media Manipulation

I watched The Revolution will not be Televised, last night. A film about the short-lived coup d'etat to topple Hugo Chavez, Venezuela's left-wing president, who was elected by a landslide in 1998. The wealthy manipulate the media to create a coup. Very worth watching and somewhat shocking.

Posted by Anthony at 10:59 AM

March 10, 2005

In Electronics, U.S. Companies Seize Momentum From Japan

Today's WSJ describes how US firms, specifically Apple, Kodak and others are taking the leadership technology by focusing on the pc platform. US leadership in software is allowing US firms to lead in technology again. While this may be partially true I think the real story is that China is taking away Japanese leadership in electronics manufacturing and US Brands are leading the way to the US market. So this shift is really about US Marketing + Taiwanese electronics manufacturing + China cheaper labour.

The article makes it sound like the US is winning back the business. In reality Chinese firms have tendency of moving up market to seek improved profit margins: BENQ, ACER, GIANT, ASUS, Trend Micro, Hyer.

Posted by Anthony at 03:12 PM

MS Infopath XSLT vs xForms

I've been testing out InfoPath. I is fairly easy to get started, In typical microsoft fashion they try to make the path of entry fairly easy. Also in typical MS fashion it looks really nice and only works in Windows. The one thing it is really lacking when compared with Lotus Notes or other form applications is a security model. This is really a huge gap, ok for a simple workgroup form but really no good for complex enterprise forms.

They say it supports and impressive set of technologies: XML 1.0, Namespaces, DOM 1.0, XML DSIG, Parts of XSD 1.0, XSLT 1.0, XHTML 1.0, UDDI 1.0, WSDL 1.1 and SOAP 1.1.

I noticed from the MS website: "InfoPath supports W3C’s XSLT 1.0 instead of W3C’s XForms."

Maybe someone should tell them that XSLT is not a replacement for xForms - in fact the technologies don't really compete. Extensible Stylesheet Language for Transformations (XSLT) is a language specifically designed to take XML of one form or structure and convert it into XML of another form or structure. XSLT deals with all kinds of information and doesn't really try to draw any meaning from it; it simply converts the source into the target. XForms, on the other hand, provides an easy way to take information that starts out not as XML, but as data in a user's head. Think of it as HTML forms on steroids. It has a specific vocabulary, meant to be interpreted by an XForms client such as a browser. The client acts on the XForms elements directly, using them to render in some way form entry fields such as text boxes and pulldown menus.

Posted by Anthony at 01:02 PM

Microsoft .mhtml is not html!

I've been playing around with InfoPath for use in a simple form. One of the export formats is "Web" which produces a .mht or .mhtml file. This is a single "mime" encoded file which contains all the parts of the html document.

MIME-Version: 1.0
Content-Type: multipart/related;type="text/html";
boundary="----=_NextPart_000_0000_01C52552.A0F56570"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
...

This is similar to a mime encoded .eml message, except that there are no email headers.

Firefox has a similar tool. It seems that Microsoft follows its own "pseudo standard" instead of with the MIME "Application/Vnd.pwg-multiplexed Content-Type"
in a Microsoft HTML (message/rfc822) RFC3391 file whose suffix is .mht. Note in the RFC3391 it specifically states that "It does not specify an Internet standard of any kind.".

Files saved in this manner do have some detrimental side effects in that
images are stored as .bmp.

More on this

Posted by Anthony at 09:37 AM

March 08, 2005

xCHM a nice CHM reader for linux

I've been using xCHM chm reader for linux. It works extremely well. It has worked on almost all the chm files I've opened with the exception of MSDN magazine.

From the help it doesn't work with 'proprietary' .chm files, making heavy use of MS-ITS:, mk:@MSITStore: links. With these you can switch to wine and use hh.exe.

Posted by Anthony at 08:13 PM

March 05, 2005

Fighting with Linux (I mean PC hardware)

I recently upgraded my home pc by adding a new maxtor harddrive, lite-on dvd burner, and 19' Hyundai L90D LCD. At the same time my friend said I should upgrade my video card. I had an older ATI All in Wonder and I was tempted to upgrade it to a newer Radeon card.

Big mistake....

It took me a week of fiddling with my computer to get it up and running again. I won't bore you with all the details but they were basically as follows. When I got home when the computer booted the linux kernel core dumped with an PCI interrupt error. I disabled all the peripherals in the bios of the computer. It core dumped again. Each dump contained something about the new ATI video card. Knoppix also wouldn't boot. I called my friend - he said that he believed it was a linux problem! In windows you can change the interrupts in the hardware manager. Ya - right. Anyway I reinstalled Ubuntu 4.1 and figured out it was a conflict between the video card and the network card. I tried using the bios to configure the pci cards interrupts without any luck. At least I could boot now as long as I remove or disabled the network card. Tried another network card. Now it would boot but still randomly hang. Finally I went back to the computer store and asked for my old video card back as well as a Aopen Gforce (overkill but why not). I used both "dpkg-reconfigure xserver-xfree86" as well as "xf86config" to reconfigure it. Now when I used the old card (or the Gforce) it still hung occassionally! I ran a dmesg it still mentioned the video card! Finally after several evenings wasted I went into the bios and kept trying every combination of settings.

Turns out it was the AGP settings - when I set them on default safe settings the issue when away. Almost made me tempted to get a Mac. The screen was a great buy $400 USD and doesn't have any bad pixels. The authorized repair shop is near my office so if I have any problems I won't have to spend a fortune shipping it to the states.

Posted by Anthony at 12:13 PM

March 03, 2005

OpenOffice 2.0 preview: OpenOffice 2.0 vs MS Office 2003

I've been itching for the pending release of OpenOffice 2.0 and so decided to give it a trial run. How is OpenOffice 2.0 going to compare with MS Office 2003 or OpenOffice 1.x? As a quick test of the upcoming OpenOffice 2

As a quick test of the upcoming OpenOffice 2.0 release I downloaded 1.9.79 version of the software and ran through a set of tasks that an advanced office worker might use. The applications suite is full of new features, and at first glance looks nicer.

Initially I download and unzipped the Linux binary tarball from the Open Office website and ran the following commands to get the package to install in mepis 2004 - debian linux.

convert rpms to deb with "alien -k -c *.rpm"
install debs: dpkg -i --force-overwrite *.deb
chmod a+rx /opt/openoffice.org1.9.74/program/soffice
/opt/openoffice.org1.9.74/program/soffice

Different office workers have differing needs – for example accountants and bankers would be more likely to give Calc a thorough testing. Your average office worker doesn’t use MS Access, so I skipped the testing of the new database functionality. I also skipped testing the drawing functionality, digital signitures, and VBA Scripting, Here are the results with pictures.


Success?

Tests done in Write


Notes

Y

Create a table with formatting


Layout on some of the dialog boxes is clunky – lots of unused space


Y

Table within a table


Y

Add an image – put it in the table


Y

Create a style – use it to format part of the table

The OpenOffice UI is nicer than MS Office 2003 for this.

Y

Manipulate an image

Lots of functions require JRE for image management.

The JRE missing window opens 7 times and you have to click ok each time.

Y

Change the first row of table to grey


Y

Rotate text in the first row of the spreadsheet 90 degrees


Y

Track Changes to document


Y

Test the word count feature



Y

Copy formatting (paintbrush)


Y

Create Index for document

Simple nice interface

Y

Check Spelling


Crash but worked.

Save as HTML to check the quality of the output


Looks great except the rotated text was stripped out and the table of contents didn’t work like anchors. Generally fairly clean HTML generated. Crashes have a nice recovery


Y

Open a MS Word 2003 document with Styles, Indexes, Change tracking, and fields. Change the document, save it and open it Word 2003 in windows


Worked excellently with the exception that embedded items were turned into pictures and were squished a bit on the round trip back to word. If you stick to embedding pictures instead of OLE objects you should be fine. Not a huge loss.


N

Edit Python Scripts

The JRE missing window opens 7 times and you have to click ok each time.

Y

Export to pdf






Tests Done in Calc


Why still no Lotus 123 import filter?

Y

Add a row


Doesn’t have some of the old Lotus 123 keystrokes – CTRL and + keys should give you a new row, CTRL and - keys remove a row.

Y

Sort the spreadsheet


Y

Format the spreadsheet as a List /Autofilter table


Y

Change the text in a cell so that part of it is Bold and in a different font


Y

Change the header of the spreadsheet



Y

Create a basic Chart

Charting functionality doesn’t feel as slick as Excel. Although Improv from Lotus probably had one of the best charting tools I’ve ever used.

Y

Create Pivot Table (DataPilot)

Seems to work like Excel. I don’t often use this feature.





Impress


Y

Created a basic presentation

I’ve always found Impress met my functionality needs. Really the only “cool” feature that I liked from PowerPoint is the ability to create a webcast with Windows Media and PowerPoint.

Crash

Practice Presentation






Interoperability



Y

Embed a Calc spreadsheet into Write


Crash

Copy and paste table into a presentation


Somewhat

Copy and paste a table from Write into Calc

Cells didn’t come over cleanly, several spanned columns.

Crash

Paste a table from Write into Impress


No

Paste a Table from Calc into Write


Didn’t work as expected. Either embedded spreadsheet, or pasted all selected data into every cell.





I had a look at the xml (.odt) file that was generated. When I opened it with kwrite it appeared as garbage. I assumed that there are using gzip as they have in the past so I tried unsuccessfully to uncompress the file. Renaming the file with a .gz extension didn’t work either.

If they are able to deal with the crashes and interoperability issues then I would rate this application suite a 7.7 of 10. It hasn't quite caught up with MS Office 2003 in terms of functionality - but who cares? OpenOffice 2.0 is more than good enough for your average office worker. The suite is comparible to older versions of MS Office, which are functioning fine on millions of desktops around the world. The only things that I really disliked was the increased reliance on proprietary software (Java JRE) and the interoperability issues I experienced cutting and pasting tables between calc, write and impress. The Beta is currently a bit slow – however that should improve once it is released and any debugging code is removed. The user interface feels significantly nicer than the previous version; however, the dialog boxes are still not perfect. The suite uses Oasis file format – which may become the holy grail of document formats. HTML editing in write is far superior to MS Word and I recommend OpenOffice as a filter for word documents that require conversion to HTML or Oasis. Write includes a long awaited WordPerfect import filter. Overall I was extremely impressed with the new MS Office interoperability and the application’s overall functionality.

Score Card:

  • Very good new functionality

  • Oasis file format – may be the new killer feature

  • Meets the needs of your average text oriented office worker

  • Excellent MS Office Integration

  • Annoying Java JRE reliance. Either open source java or remove the dependancy.

  • Dialog boxes occasionally still feel clunky

  • Crashes and table copy and paste issues need to be cleaned up before gold release

  • Free and open source

7.7 out of 10


*This document was created in OpenOffice 1.9.79

Posted by Anthony at 04:24 PM

How to improve the gmail value proposition

The value proposition offered by gmail isn't yet good enough to convince users of hotmail and yahoo over. In particular ever person under 18 that I've met in the past year or so seems to have msn chat and use it constantly.

Here's how they could tip the value proposition.


1) More user names. I've used the same anthony_barker address with hotmail and yahoo for years and I when I got gmail it was taken. This pissed me off. Why not offer the naming convention of firstname.lastname@state.country.gmail.com. Eg john.smith@ca.gmail.com or john.smith@fl.us.gmail.com.

This gives a name that everyone could remember without writing down. My friend john smith in Florida john.smith@fl.us.gmail.com. looks a lot better than smithj0128@gmail.com.

2) Open chat which gets logged in your gmail account using Jabber protocol or similar. If they could convince phone manufacturers to integrate this into the phones this would be a killer app. Another step would be to integrate chat into the browser/gmail. Sort of like what Lotus Notes 6.5 does. You can see if the person you are emailing is online or available and can click on their name to launch a chat session. Yahoo does this as well.

3) Notepad functionality. Yes it is a trivial feature in yahoo mail. But I use it extensively.

4) Access to your documents from anywhere. This would appeal to students who need a place to store and backup documents they are working on. Workers who want access to a document from work but their company isn't set up to share documents. They could create a plug-in to MS Word that allows you to "Save to Gmail". I've created similar apps that use MS Vbscript XMLHTTP to download or post binary data. I've also created similar apps in python. This would give sort of stripped down Sharepoint functionality to users.

5) Sync your address book with your phone. MSN requires outlook/outlookexpress, Yahoo requires 3rd party software. Why not build a plug-in right into the browser that does it?

6) Calendar which can integrate with other apps and uses open standards. Seems like they are working on this one.

Posted by Anthony at 09:39 AM

March 02, 2005

The death of commercial J2EE + Oracle

I've been pricing out J2EE/Websphere Enterprise 5.1 + Oracle solutions and I've come to the conclusion they are going to die. Not now - but 5-8 years out. Microsoft will drive the stake through their overpriced hearts.

Lets have a look at pricing. Note the big difference isn't between AIX/Solaris vs Windows its in the middleware and db. Note this solution is without failover and DR. Multiply by 2.5 for Disaster Recovery. These are all CDN prices and include vendor discounts - so deduct 20% if you are in the US .

Typical 3 teir system.

Server 1 Webserver Tier (IIS/Apache)

IIS:
IBM 365 4 CPU @ 3.02 ghz, 4 Gb RAM, Windows, NIC, Disk
$12,000

Apache + Sun:
Sun V240 Server 2 CPU @ 1.5 ghz 2GB RAM, OS, NIC, Disk
$16,000


Server2 Business Logic Teir( .NET/J2EE - Websphere)
.NET Solution:
IBM 365 4 CPU @ 3.02 ghz, 4 Gb RAM, Windows, NIC, Disk
TP Monitor - COM+ Free
$12,000

Websphere:
Sun V440 Server 4 CPU @ 1.28 ghz 4GB RAM ($24K)
Websphere @$22K per CPU = $88K
TP Monitor: TXSeries: $40K
Total: $152K

Server3 RDBMS Teir (SQL Server 2005/Oracle)
SQL Server 2005:
IBM 365 4 CPU @ 3.02 ghz, 16 Gb RAM, OS, NIC, Disk ($24K)
SQL Server 2005 License: $3.2K for 3 years
Total: $27.2K

Oracle Server:
Sun V440 Server 4 CPU @ 1.28 ghz 16GB RAM, OS, NIC ($36K)
Oracle licenses @$55K per CPU (not including maintenance)
Total: $256K

Total MS: $51.2K
Total Oracle + Websphere + Sun: $424K


Note these costs don't include, Development, Development tools, SAN Storage or any redundancy and are for illustrative purposes only. My gut feeling is that the Websphere + Oracle solution is slightly more stable. If well managed and with Disaster Recovery, both would be sufficiently stable. The J2EE solution is roughly 10 times as expensive. All it takes is some younger up and coming excutives in large IT infrastructures to push this and I believe the Oracle + Websphere will be pushed out.

What can we learn from this?
1) Microsoft is giving its technology away to large customers to gain market share.

2) Oracle + CICS (TXSeries) + Websphere are doomed.

Could you design a similar Open Source solution?

Opensource is almost there but is missing a solid TP Monitor (pgpool) and a XA Transaction enabled database that allows for enough backup options. JBOSS (or similar) + Postgresql 8 + slony-I plus perhaps LVM + DRBD would cover most of the rest. In the long run the Open Source solution would be cheaper and without the risk of vendor lock in.

Posted by Anthony at 10:58 AM

March 01, 2005

Browsing more Productively

The first thing that I discovered in the mid nineties that improved my browsing efficiency was google.stanford.edu. A project put together by a couple of grad students. The site had photos of all their hardware and explained what they were doing.

The second major thing that came along after I used Mozilla for a couple of years (early versions were slightly buggy) was tabbed browsing. Actually several applications used the metaphor of "tabs" - Lotus Notes for example before firefox/mozilla. Opening a set of bookmarks in tabs is simply an extension of this.

Other web innovations are a mixture of frontend and backend (oddpost/gmail) to make applications and web pages more responsive. Jon explains it here , and other look at XMLHttpRequest. Honestly there are only a couple of applications that I use that do this. So it hasn't really effected my browsing that much.

One tool that has improved my browsing and content reading speed recently is simple. Linky. Linky is a power tool that opens a set of links found on a web page into a corresponding set of browser tabs. The only feature missing from it is I would like to have standard exceptions. This way you could add *.google.com and you could avoid opening all the google cached pages.

The other cool tool that I have seen but can't track down is for translation. Run your page through the tool and every word becomes clickable. Click on it and a javascript window opens with a translation into the language that you would like. This is excellent if for example you are fluent in French but don't know the odd word.

What's next?

1) Open Web apps need to be improved in the way Microsoft has been working on them with proprietary datagrids + winforms. Hopefully xforms will improve the situation. Developers want some of the power of Delphi integrated into their web development.

2) CDMA 1X EVDO Cell phone + Bluetooth technology so I can use my cellphone as a connection to the web. Honestly why is this still leading edge technology and why isn't it main stream yet? This has nothing to do with browsers but is annoying none the less.

3) Offline content manager. As more and more people read news and get content via a browser instead of print media we will need a tool for managing that content (somewhat like the mp3 jukebox apps that are available).

4) Integration with print material

Posted by Anthony at 01:57 PM