I moved my blog to a new domain, it is now on a spicy new domain.
Posted on 24 May 2005
Check ChomskyTorrents for your dissenting needs in torrent form.
Update: Fixed the previous link.
Maria Laura just introduced me to Nina Simone, wonderful.
An transcript of the amazing declarations of George Galloway in the US Senate: here.
Update: Even better, there is a video.
Ex-UN weapons inspector Scott Ritter talks about the background of the hearing.
Posted on 23 May 2005
The demo shows:
The Java magic is achieved through IKVM and the GNU Classpath.
Read Lluis' blog for more information on the futures for MonoDevelop.
Found about the existance of ccMixter: the Creative Commons site for sampling, mashing and sharing music.
Zoltan, hacker extraordinaire, has embarked on the last frontier.
Posted on 17 May 2005
I have strategically placed a few cities on this Eurotrip to visit some friends and meet with some developers in the way. If you want to join me for lunch, dinner to discuss Mono, .NET, Gnome, free software or Linux write me an email to my gmail account [email protected].
The dates are as follows:
Update: Sorry about the dates. A bug in my brain prevented me from incrementing the month to June. The dates above have been fixed.
A few new ideas for C# are being tried out on Spec#. It is taking steps into building tools to prove the correctness of the code. This is done by integrating into the language things like pre-conditions, post-conditions, object invariants, non-null types and checked exceptions. A separate tool is later used to do a lint-like process on the program.
You can now write your own user-level file system in C# bindings are here
It was one of the most fun dinners I had in a while everyone had tons of stories to share. We went to Casa Romero one of my favorite restaurants in Boston. Ben ordered "shrimp with something". Only later he learned that "something" was a sauce of corn parasites. He seemed to like it.
Only today I found that r0ml's not only had a blog, but he was raised in Brazil as a kid. His portuguese is vastly superior to mine, even after having being married to a brazilian for almost two years.
Posted on 13 May 2005
After my post on Apache's Harmony project I have been watching the fireworks on the blogs and the mailing lists. One thing is clear: nobody quite knows what Harmony is supposed to be.
Unlike Mono, open source Java faces a big problem: there are a number of free commercial Java runtimes available for every operating system that matters. The group of people who would have contributed to a free java to scratch an itch are gone. From those who remain another large chunk will switch in a heartbeat to a commercial implementation the moment they run into missing features, scalability issues, the lack of a moving GC or a hard to debug problem.
So you must rely purely on free software advocates or people employed to clone Sun's Java for a strategic purpose.
To illustrate my point: Mark reports that for the two months leading to May 7th GNU Classpath had 299 commits and today is made up of roughly 900,000 lines of source code. Mono in the same time frame had 985 commits to its core class libraries and has roughly of 1,600,000 lines of code. The previous count is only for the core class libraries and does not include Mono-specific or Gnome-specific class libraries. The Mono effort is also three years younger than Classpath and five years younger than Kaffe.
For an open source Java effort to succeed, it not only needs to match the functionality of Sun's Java first, but it must offer functionality that is not available anywhere if it wants to attract developers to its core. Today there are probably two openings in this area. IKVM which makes Java and .NET run side-by-side and GCJ which turns Java code into native code.
Havoc last post bounces across every possible point.
I was not going to enter the language discussion on PlanetGnome, because it touches on too many topics. For one, I think that:
I think my comments echo Mikael's post, which both Jeffrey and Havoc seem to have missed.
I wanted to follow up on a few things that Havoc mentioned:
Posted on 11 May 2005
Jamie correctly points out that the idea of having the search functionality present at all times without popping up an annoying dialog box predates Firefox, it has been availble on Emacs and XEmacs forever:
Emacs search functionality is also a bit more evolved at this point than Firefox (in an Emacs kind of way). Anyways, I can not wait for more desktop applications to use this model for searches.
Gonzalo has posted some details on the evolution of Mono's performance for WebForms and WebServices here.
Summary: Loading a test that shows a directory listing without any caching enabled has gone from 30 requests per second a year ago to 155 requests per second as of Mono 1.1.7. Check the details on the incremental improvements that got that performance.
Posted on 10 May 2005
To get the law approved, legislators used a clever hack: the actual RealID thing is not being discussed or debated, instead it was just hidden inside another piece of legislation which will likely get approved (some military budget).
Bruce Schneier, security and cryptography expert also has some negative things to say about the plan, but focuses more on the lack of security that this will bring and comments on the legislative hack:
If you haven't heard much about REAL ID in the newspapers, that's not an accident. The politics of REAL ID is almost surreal. It was voted down last fall, but has been reintroduced and attached to legislation that funds military actions in Iraq. This is a "must-pass" piece of legislation, which means that there has been no debate on REAL ID. No hearings, no debates in committees, no debates on the floor. Nothing.
ID cards have successfully been used in totalitarian regimes to impose the will of those in control. Am not saying this will be the case in the US, but I figured I might share some perspective:
Of course the situation is not the same in the US. In Lebanon people are pretty much "born" into their political party, as their political party is very much tied to the religion.
Probably other developed nations of the world have National ID documents and they have been very happy with it, I have probably not paid attention to those.
My point is that its a resource easily abusable by those in control. If you care about these issues, you got less than 48 hours to call your representative.
Posted on 09 May 2005
Very amusing: the Medium Lobster sets the record straight on the invasion of Iraq.
Also from Fafblog: Great Moments in History: God Hides...
Some people fell in love with the idea of REST-based web services. But they mistakenly confused REST as `encode the operation anywhere you want, send and parse the document in any way you feel, hey we can do whatever we want as long as we use http'.
The problem was that they did not follow the directions in the small print, and the Google Accelerator was the first application to byte them in the ass:
Well, you didn't listen to me, did you 37Signals? Did you? Now Google releases their Web Accelerator and your application is broken. Apparently you used GET to delete items from Backpack and when Googles Web Accelerator pre-fetches that URI in you web app, items get deleted. Let's make this clear, Google didn't break your application, your application was broken, Google was just the first person to point it out to you. Do you feel the pain? Do you feel it?
This is a good example of something that people predicted would break (Dare has a post here).
Not being a web developer, I just kind of watched the debate without much insight on what was going on until now.
Posted on 08 May 2005
For quite some time there have been a number of open source Java virtual machines implementations, it could be easily understood that each project was trying out different ways of implementing the virtual machine or had different goals, milestones or requirements.
All of these JVM efforts at least shared the class libraries (which is a large component of a Java VM) in the form of the GNU Classpath, and this certainly helped these communities collaborate.
The Apache Foundation is now starting up a new effort (Harmony) to put together a virtual machine and its class libraries under the Apache License. The FAQ posted is a bit short on the motivations for this effort. I can only speculate that this was done to avoid the side effects of class libraries licensed under the GPL-with-exceptions or the LGPL which make people nervous.
Depending on how this process is managed, this could either become a big delay in bringing a full free software/open source Java implementation (as people take sides on the licensing debate) or if managed properly could make open source java more viable.
The challenge that the Harmony project faces now is significant. They need to convince enough of the existing open source Java developers that they should abandon the current GNU classpath effort and either relicense their code to be Apache-license compatible, or that they should rewrite their code to assist this new effort on the grounds that the Apache License is better. This last point does not seem to be very well articulated in the FAQ which merely dances around the issue. The FAQ at this point seems to mostly focus on spinning things positively while not explaining the rationale for this split, as can be seen by the first follow ups.
If they are not able to bring these existing contributors over they are going to have to grow this codebase from scratch and depend on member companies to contribute code to the effort. IBM might be interested in donating parts of their code (assuming they are allowed to) and might even be behind this split.
We have been working on the open source Mono for almost four years now and it has helped me put things a bit into perspective. I can not blame the Apache folks for going down this path. This should have been sorted out a long time ago in GNU Classpath land, but am fairly skeptic about the viability of Harmony's class libraries.
It is hard to tell what will happen, but without the endorsement of the majority of the GNU Classpath developers this is a major setback for open source/free software Java. It might be a necessary step, but am skeptical of its success possibilities.
In the meantime, gentlemen, you can start using Mono with its lax license today! Get it while its fresh!
Mhm, sorry about that. I just felt like plugging Mono again. Lets move on.
Licensing wise, we went through a similar issue in the early days of Mono. Our class libraries used to be under the LGPL license. We switched the class libraries license from it to the MIT X11 license in response to comments from our potential users and contributors. Of course the MIT X11 license has pros and cons. On the pro side, it imposes very few restrictions on the users and its very easy to mix and match, and in general people feel comfortable with adopting it. On the downside, it is possible for companies to "appropriate" the code and never contribute anything back.
Certainly people have copied the Mono class libraries into their proprietary products and not given changes back (mostly people find Mono components easy to reuse on the Compact Framework that lacks plenty of functionality), but even the GPL and LGPL would not have changed things dramatically in this case (only the receiving end would have the right to the source, and for Compact Framework users, even more irrelevant than desktop users).
When it comes to large users of the Mono class libraries, Mainsoft is probably the largest consumer of it. Mainsoft has a product that turns CIL bytecodes into JVM bytecodes and allows users to port their C#/.NET code to a Java VM. Mainsoft could have chosen to make a proprietary copy of the class libraries, improve their copy and ship that to costumers. But instead Mainsoft has chosen to become an active contributor to the project, and is relicensing its own code under the same terms, the MIT X11.
There are a number of reasons: it is simpler to get new improvements from the community into your own code base, you can drive the direction of the project, and they have created a great aura around their company in the community: they are not only socially responsible contributors, but the world can see that their contributions are top-notch. In addition, their customers get access to the code and can benefit from the shared knowledge pool of the resulting code.
I mention this because a common reason to use the GPL and the LGPL, as opposed to a more lax license like the MIT X11, was that third-parties would tend to keep their improvements to themselves and that only a license with stronger terms could get them to contribute back. A few examples are usually mentioned: the X11's own failure in the 80's to get vendors to share their improvements and the success of GCC in forcing the C++ front-end to be released.
Maybe those examples did apply in a poorly connected world and much smaller ecosystem of the 80's, but none of the two previous scenarios necessarily apply today for horizontal software. The Mono class libraries have demonstrated that companies are willing to contribute to the class libraries and that collaboration will help them reduce the cost of development.
I am now less convinced that forcing people is the best way of achieving collaboration. The GPL has certainly played a role in educating people about free software, but for the most part people who contribute to nascent open source/free software projects have done so do for a plurality of reasons that have nothing to do with being forced by the license, including shared R&D costs, joy, need, curiosity, challenge, sense of community, social responsibility, or fame.
This must be obvious to every Firefox user now, but am still amazed at the simplicity and the beauty of Firefox's search design.
Ever since I can remember GUI applications, searching has been implemented as a popup box that pops in the middle of your document covering the text you want to search. Descriptions on how to float these dialog boxes and the discussion about how to create these non-modal dialog boxes is present in most GUI programming books that taught these principles to developers.
The beauty of placing the search at the bottom as opposed to using a sidebar is that the document is almost never reformatted.
I find myself missing this interface on my applications. Evolution for example still has the old-school search dialogs:
The new Adobe Acrobat pops up a small enough window with only the basics: the text to search for, backwards and forwards button, and configuration options are done from a button on the left:
An improvement, but not as good as Firefox.
That being said, the places where I miss search the most in my applications are:
It should be noted that this dialog probably needs some love anyways.
Posted on 07 May 2005
Alex Graveley's story. An interesting read
Posted on 06 May 2005