#[Arabica]Arabica August 2007 Release
Here's the latest in what's becoming the tradional August Arabica release. It packages a number of incremental improvements, together with a major chunk of new code.
- Code
- This release includes the first drop of Mangle, the Arabica XSLT engine. It covers most common cases (at least in my experience), although there are omissions and misfeatures, and it shouldn't be considered production safe. Development is tracked against the OASIS XSLT Conformance test cases.
- There are a number of new SAX filters for whitespace stripping, tracking namespace declarations, tracking xml:base, and buffering multiple character(...) callbacks into a single callback.
- Build
- Further improvements to the Autotools build. The test cases can now be built and run using 'make check'. Wide string detection has been further tweaked, as has finding libxml2. Thanks to Bob Wilkinson for that.
- Solution and project files for Visual Studio 2005 are now included.
- Visual Studio builds now produce distinct debug and release versions of the library. Thanks to Timo Geusch and David Grigsby who separately suggested that.
This release has been built on a variety of platforms. Additional build reports are very welcome, particularly fon non-i386 platforms and/or non-GCC compilers.
Source tar.bz2
http://prdownloads.sourceforge.net/arabica/arabica-Aug2007.tar.bz2
Source tar.gz
http://prdownloads.sourceforge.net/arabica/arabica-Aug2007.tar.gz
Source zip
http://prdownloads.sourceforge.net/arabica/arabica-Aug2007.zip
[Add a comment]
#[Arabica]Arabica August 2007 Build Report
The Arabica August 2007 release has been build on the following platforms, with Expat 2.0.0 and Boost 1.33.1:
- FreeBSD 6.1, i386-unknown-freebsd6.1, using GCC 3.4.4
- DragonflyBSD 1.6.0, i386-unknown-dragonfly1.6.0, using GCC 3.4.5 (no Boost)
- Cygwin on XP Professional, i686-pc-cygwin, using GCC 4.1.0
- Mingw MSys on XP Professional, i686-pc-mingw32, using GCC 3.4.2
- Ubuntu Linux 6.1.0, i686-pc-linux-gnu, using GCC 4.0.3
- Intel Mac Tiger, i686-apple-darwin8, using GCC 4.0.1 and boost HEAD. (Thanks Alex Ott)
- Windows XP Professional using Visual Studio 7.1/2003, with both Expat and MSXML
- Windows XP Professional using Visual Studio 2005, with both Expat and MSXML
Additional build reports are very welcome, particularly on non-i386 platforms and/or non-GCC compilers.
[Add a comment]
#[linkfarm] Reconstructor is an Ubuntu GNU/Linux CD Creator. - For the Ubuntu Desktop base, you can customize the entire environment. For instance, you can add/remove software, change the default look (splash, themes, fonts, wallpaper, etc.), add desktop links, etc.
[Add a comment]
#[code] New
Arabica release. This release adds an XSLT engine to the existing SAX, DOM, and XPath implementations.
[Add a comment]
# My Ubuntu Linux installation has just announced it has updates available for both emacs and vi.
Coincidence?
[Add a comment]
# Went out with my chum Steve to see Nine Inch Nails. My, they do a good show. I saw them back in March and they were super. Since then, they've been touring more or less non-stop, and so I wouldn't have been surprised if they sounded a bit haggard. Not a bit of it, though. They sounded terrific, playing with lively aggression. Trent Reznor was engaged with the audience, positively chatty even. I did enjoy myself.
I know NIN don't appear high up on your list of top bands Russ, but you may be cheered by their opinion of the Academy ...
Russ L said Hyuck hyuck. I never said the man was stupid.
[added 30th Aug 2007]
[Add a comment]
#[linkfarm] The Dalai Lama says he won't reincarnate in Tibet - In one of history's more absurd acts of totalitarianism, China has banned Buddhist monks in Tibet from reincarnating without government permission.
[Add a comment]
#[linkfarm] Paul Haggis talks new JAMES BOND Movie - And it starts right after the last one, two minutes after Casino Royale this movie starts.
[Add a comment]
#[Arabica]XSLT: Test case state of play
My ongoing XSLT development uses the OASIS XSLT Conformance test cases. I found creating meaningful XPath tests hard enough, but XSLT is a magnitude or two above that and I just didn't fancy it. There's also the danger, of course, that you construct the test case according to your reading of the spec, rather than to the meaning of the spec. Whichever way round, I couldn't have done without them.
The test cases are in two large chunks, one provided by Xalan/IBM/Lotus, the other by Microsoft. Those chunks are then further subdivided. I'm currently running the Xalan tests, for no particular reason than they're listed first in the catalogue. The results, using this morning's Subversion head, are as follows :
|
attribvaltemplate
| Run: 12 | Failures: 0 | Errors: 0 | Skips: 1
|
|
axes
| Run: 130 | Failures: 0 | Errors: 0 | Skips: 2
|
|
boolean
| Run: 90 | Failures: 0 | Errors: 0 | Skips: 1
|
|
conditional
| Run: 23 | Failures: 0 | Errors: 0 | Skips: 0
|
|
conflictres
| Run: 35 | Failures: 0 | Errors: 0 | Skips: 1
|
|
copy
| Run: 62 | Failures: 0 | Errors: 0 | Skips: 8
|
|
dflt
| Run: 4 | Failures: 0 | Errors: 0 | Skips: 0
|
|
expression
| Run: 6 | Failures: 0 | Errors: 0 | Skips: 6
|
|
extend
| Run: 4 | Failures: 0 | Errors: 0 | Skips: 4
|
|
impincl
| Run: 29 | Failures: 6 | Errors: 0 | Skips: 2
|
|
lre
| Run: 22 | Failures: 11 | Errors: 0 | Skips: 0
|
|
match
| Run: 32 | Failures: 14 | Errors: 0 | Skips: 1
|
|
math
| Run: 107 | Failures: 1 | Errors: 0 | Skips: 0
|
|
mdocs
| Run: 18 | Failures: 0 | Errors: 0 | Skips: 7
|
|
message
| Run: 16 | Failures: 2 | Errors: 0 | Skips: 2
|
|
modes
| Run: 17 | Failures: 1 | Errors: 0 | Skips: 0
|
|
namedtemplate
| Run: 19 | Failures: 2 | Errors: 0 | Skips: 1
|
|
namespace
| Run: 133 | Failures: 39 | Errors: 0 | Skips: 0
|
|
node
| Run: 21 | Failures: 2 | Errors: 0 | Skips: 0
|
|
output
| Run: 108 | Failures: 78 | Errors: 0 | Skips: 1
|
|
position
| Run: 111 | Failures: 7 | Errors: 0 | Skips: 15
|
|
predicate
| Run: 58 | Failures: 0 | Errors: 0 | Skips: 0
|
|
processorinfo
| Run: 1 | Failures: 1 | Errors: 0 | Skips: 0
|
|
reluri
| Run: 11 | Failures: 9 | Errors: 0 | Skips: 2
|
|
select
| Run: 85 | Failures: 2 | Errors: 0 | Skips: 6
|
|
sort
| Run: 37 | Failures: 7 | Errors: 0 | Skips: 10
|
|
string
| Run: 133 | Failures: 4 | Errors: 0 | Skips: 8
|
|
variable
| Run: 70 | Failures: 7 | Errors: 0 | Skips: 0
|
|
ver
| Run: 5 | Failures: 0 | Errors: 0 | Skips: 4
|
|
whitespace
| Run: 22 | Failures: 1 | Errors: 0 | Skips: 10
|
|
Total: | Run: 1421 | Failures: 194 | Errors: 0 | Skips: 92
|
In total, 1329 tests run with 194 failures, for a success rate of 85.4% (or fail rate of 14.6% if you prefer).
A fail means the output Arabica::XSLT generated didn't match the expected output. An error means Arabica::XSLT threw an exception somewhere, didn't compile the stylesheet, or didn't produce any output for some other reason. A skip means that the test wasn't run for some reason - either it was marked not compilable, as compilable but not executable, or just not even touched. A test that's expected not to compile but does, or not to run but does is actually flagged as a fail. (It makes sense if you think about it :)).
The majority of the skips are because of unimplemented XSLT elements or functions (xsl:number, xsl:strip-space, xsl:preserve-space, xsl:key, key(), id()), or because the test output is HTML which Arabica:XSLT doesn't support. The biggest set of fails is the output tests (78 out of 108 tests fail), mainly because the output is text rather than XML. The test harness can't actually handle text output cases yet, so tests which generate text output will always appear as failures.
I haven't added these numbers up for a while. I've got to say I'm pleased.
[Add a comment]
#[linkfarm] Rent-a-dog for people too busy to own a pet - For a monthly membership fee, an annual account maintenance charge, a one-time payment for the mandatory introduction session and daily costs, members can rent a pooch.
Bargain! And how much for my granny? Would you like to take my kids to the park? No, sir, my wife is not on the menu, although I am, of course, flattered that you asked. *
Pete Ashton said Actually, this makes a lot of sense for people like myself who rent (with no pets being the general rule) and move around a lot but like animals. While I can't see me renting a dog (no real experience) and renting a cat would just be kinda odd I can understand where it's coming from.
Might be a bit tough on the dogs though? [added 28th Aug 2007]
[Add a comment]
#[linkfarm] This book is set in... - Chateauneuf du Pape Serif, a charming font with notes of oak and tannin
[Add a comment]
#[linkfarm] Duck Typing Project - The duck typing library is a .NET class library written in C# that enables duck typing. Duck typing is a principle of dynamic typing in which an object's current set of methods and properties determines the valid semantics, rather than its inheritance from a particular class.
[Add a comment]
# Ruby Glee -
I was chasing a weird Ape bug, and I found the problem: atomURI#absolutize was returning a URI not a string ... Crap, that’s used everywhere, what am I gonna break?
Tim Bray is rescued from a potentially horrible type error by just downloaded refactoring IDE support.
[Add a comment]
#[linkfarm] Refactoring Paralysis - But in Ruby, without a good refactoring tool, I sit and stare at the code.
Uncle Bob has fear.
[Add a comment]
#[linkfarm] Canadian Ham on the Dashboard -
What if I could combine the functional convenience of the SatNav with an iconic, universally adored star of stage and screen who is the very personification of drama, of bathos, of passion? What if those instructions were delivered with a fierce intensity and subject to random feats of tempo modulation? In short, what if I invented a SatNav that sounded like William Shatner?
When inspiration strikes chum Tom, it strikes hard.
Tom's MySpace handle, Zeppotom, is of course a reference to the Soviet lighter of the late 40s. Created on Stalin's orders as a Democratic Communist alternative to its Capitalist Imperialist counterpart, it was a cornerstone of the Fourth Five Year plan. Manufactured in Lighter Factory Number 1 (formerly Tank Works Number 3) in the heroic city of Tula, the Zeppo featured a number of design improvements over the US original. Not only was it wind proof, it actually didn't blow out at all. Each lighter was a tiny beacon, symbolising the perpetual and ongoing nature of the Revolution. Samizdat pamphlets of the time suggest that these lighters caused a number of pocket-fires, but there are no surviving eyewitnesses to corroborate these stories.
The popular success of Zeppo was brought up short, unfortunately, by the failure of the Plan to include lighter fluid manufacture, which was scheduled for the subsequent Fifth Five Year Plan. The powerful symbolism of lighters across the Soviet Union sputtering and going dark could not be ignored. Stalin moved quickly to suppress the Zeppo, writing it out of the official histories. Special trains carried the now counter-revolutionary lighters to Irkutsk where they were re-educated into a variety of hand tools. Lighter Factory Number 1 was closed and left derelict for many years.
These days Tula is a popular tourist destination and the site of the Zeppo factory now houses a small pryaniki bakery, its secret past hidden beneath the aroma of gingerbread and honey.
[Add a comment]
#[linkfarm] Two turns - Gymnastics is even harder and cooler than you think. European championships coming to Birmingham in 2010 btw.
[Add a comment]
#[linkfarm] RIP Joe Engressia, the original Phone Phreak - Complete with the text of 1971 Esquire article that brought phreaking to public attention.
[Add a comment]
#[linkfarm] Joybubbles - aka Joe Engrassia * anonymous said my name is also joe engrassia,middleboro,ma. [added 7th Nov 2007]
[Add a comment]
#[linkfarm] John Draper - aka Captain Crunch
[Add a comment]
#[linkfarm] bzrsvn - This plugin allows bzr direct access to Subversion repositories. This allows bzr branch, bzr push, bzr pull, and bzr co to work directly against Subversion repositories.
[Add a comment]
#[mango] The LGPL and Java - ... the LGPL works as intended with all known programming languages, including Java ...
Describes exactly why Mango is released under the LGPL.
[Add a comment]
#[mango]New Mango Release
Uploaded a new Mango release.
It adds a couple of new iterators. The Javadocs are up-to-date, but the web pages are lagging a little.
[Add a comment]
#[linkfarm] The 15N-Rich Low Temperature Nitrogen Component in Lunar Soilds - An Ammonia Related Species? - D.R Brilliant, A.D. Morse, J.Higgins, I.A. Franchi and C.T.Pillinger, Planetary Sciences Unit, Dept. of Earth Sciences, The Open University, Walton Hall, Milton Keynes MK7 6AA
Abstract of a paper I "co-authored" presented at the 25th Lunar and Planetary Science Conference, held in Houston in March 1994.
[Add a comment]
#
The JezUK corporate website has been redesigned in the business card image. This is JezUK's first visual identity remodelling since its founding in 1995, and provides a uniform brand presentation across web and print media.
JezUK remains committed to combining development expertise with constructive laziness to deliver high quality bespoke software and process consultancy services.
The logo was commissioned from Ken Davidson, Intelligent Graphic Design, who probably wants no part of this silliness.
allankellynet said Great improvement!
- I especially like the VAT number, never know when your going to need that in a hurry :) [added 17th Aug 2007]
smellygit said When you click on the google maps link it says
"Did you mean: B13 9HD "
Why would I? [added 17th Aug 2007]
Allan: If you look around, it's not uncommon for companies to give their company and VAT registration numbers, so it felt quite corporatey. Besides I copied directly from Kevlin, who's career (and presumably rate) I hope to emulate even though I'm not clever or energetic enough.
John: It's a post code just along the road. If you search for B13 9HD it doesn't say "Did you mean: B13 9HD", so I need to raise the corporate profile another notch or two. [added 17th Aug 2007]
Ken [e] said I believe it's now a legal requirement to display the company number on all 'literature' including websites. This isn't enforced much, but it is mandatory. Should be on the letterheads too.
As far as being part of any silliness - I detect no silliness ;) [added 17th Aug 2007]
B13 9HD is the post code of the local surgery, by the way. Perhaps the googlebot detected you were feeling a bit poorly after your long cycle ride John? [added 17th Aug 2007]
[Add a comment]
#[code] New
Mango release. It adds two new iterators.
[Add a comment]
#[linkfarm] SD West 2008 Call for Abstracts - With a 20 year history, the Software Development Conference and Expo is the place where software development professionals learn how to build better software. No other developer conference matches the comprehensive mix of training delivered by the industry's most respected faculty. SD has always been dedicated to highlighting the newest cutting-edge technologies as well as presenting a relevant core curriculum of development fundamentals. The event will be held at the Santa Clara Convention Center from March 3-7, 2008. The event will attract software project managers, senior developers, architects, software engineers, corporate managers, consultants and many of the largest software companies.
Yea, yea. Still thinking rather hard about pitching something though :)
Related: Elliotte Rusty Harold's Talks I Want To See At SD
[Add a comment]
#[linkfarm] Charlie Brooker' Screen Burn - This time round Richard Dawkins controls his temper, focusing it like a laser beam
[Add a comment]
#[linkfarm] Richard Dawkins - The Enemies of Reason - First part of Richard Dawkin's new series for Channel 4
[Add a comment]
#[linkfarm] Did Life Begin In Space? New Evidence From Comets
Even though Chanfra Wickramasinghe occasionally sounds like a loon, I do find panspermia a jolly attractive idea.
[Add a comment]
#[linkfarm] Crowther's original source code found; photos from inside the real Colossal Cave
Intriguing bit early computer games history. I'm amused to note that those games I played as a child are no longer adventure games, but 'interactive fiction'. Hmm. If it looks like a game and smells like a game, it's a game.
[Add a comment]
#[mango]Makeover
Prettied up the Mango website, including adding a logo designed by
Murray Altheim. He originally mailed it to me back in April 2004 while he was
just wasting time not writing a paper. It's obviously taken some time to work its way out of my inbox and on to the web, but I'm very pleased to finally get it up here. And chuffed too, that someone would take the time. Belated thanks Murray!
[Add a comment]
#[linkfarm] School condemns 'chav-hunt' spoof - The film, which showed teenagers wearing shell suits being chased by classmates dressed as aristocrats, was partly filmed on the school grounds.
Opening scene of The Invisibles movie anyone? It was optioned by BBC Scotland, you know ... *
Ewan said
Nah, That'll never get made now, not only did The Matrix killit, time is obviously running out. What with the world coming to and on December 22 2012, and all. [added 14th Aug 2007]
* Ewan said "...kill it..." "...coming to an end..." of course... [added 14th Aug 2007]
[Add a comment]
#[linkfarm] GPG - Corrupt Key Database
If gpg starts throwing gpg: buffer shorter than subpacket errors around try
gpg --delete-keys 0xCA57AD7C
and then verify with
gpg --list-keys
[Add a comment]
#[Arabica]Arabica: Visual Studio 2005 Builds
Recently checked in a set of solution and project files for Visual Studio 2005/VS8/whatever-you-want-to-call-it. Apart from a bump in version number, the actual text itself looks identical to the VS7 ones which makes me wonder if I can generate one from the other.
I've built everything through using libXML2 and MSXML, and one compiler bug workaround aside, everything seems to be in order.
[Add a comment]
#[linkfarm] Internal Versus External Iterators - Languages with well-integrated support for closures (such as Scala, Smalltalk, and Ruby) usually provide support for looping over their collections using internal iterators - they are, after all, easier to use in most cases - while other object-oriented languages (such as C++, Java, and C#) tend to use external iterators. Without well-integrated language support for closures, internal iterators would be too painful to use effectively. For that reason, the Java collection framework uses external iterators. But once we have closures in the language, wouldn't it be worth reversing that decision?
Java big boy Neal Gafter on adding internal iterators to Java.
[Add a comment]
#[linkfarm] Iterators: Signs of Weakness in Object-Oriented Languages - The appearance of iterators in an object-oriented language appears to be inversely related to the power of the language's intrinsic control structures. Iterator classes are used for the sole purpose of enumerating the elements of an abstract collection class without revealing its implementation. We find that the availability of higher-order functions and function closures eliminates the need for these ad hoc iterator classes, in addition to providing the other benefits of "mostly functional programming". We examine a purely functional iteration protocol for the difficult task of comparing the collections of leaves on two non-isomorphic trees--the so-called "samefringe" problem--and find that its type signature requires recursive (cyclic) functional types. Although higher-order "member functions" and recursive (cyclic) functional types are unusual in object-oriented languages, they arise quite naturally and provide a satisfying programming style.
Everytime I read an abstract like this I have to suppress my "uh-oh! Lisp-bigot" gag reflex. Even so, I've yet to be convinced that external iteration is somehow inherently flawed, and that internal iteration and mapping are the answer to the world's ills. I have, for example, a piece of code which I'm reasonably sure would be more difficult without external iteration. I also think it's important to seperate the concept/idea/fact of an iterator and the range it traverses from solely being a mechanism to walk through a collection. An iterator and its range - a sequence - are a useful thing on its own account.
[Add a comment]
#[linkfarm] Tintin in the Congo controversy comes home to roost in Belgium - As the international row about alleged racism in Tintin in the Congo seem to be quietly dying down, a Congolese man has pressed formal charges against Moulinsart, which manages the rights to the work of Tintin creator George Rémi, on the basis that this book is racist and should be withdrawn from the market. The public prosecutor is currently investigating the case, the Flemish daily De Morgen reports.
[Add a comment]
#[linkfarm] CodePress - Online Real Time Syntax Highlighting Editor
Madness. And yet ...
[Add a comment]
#[linkfarm] Harry Potter and the Qualified Recantation - When I was eight, Miss Beale, old and grumpy with white curly hair, taught me how to write stories, good and clear, which would earn me house points.
"Good stories," she articulated, slowly and clearly, "Must have lots of unusual, vivid describing words, including adjectives, which come before naming-words, and adverbs, which come after doing-words."
...
I think that children like the Harry Potter books because they are written in the style in which bad teachers tell conformist children constitutes "good writing". Eight-year-olds read J.K Rowling and think "I could do that too."
Mr Rilstone goes on rather longer than strictly necessary, but rather saves me the trouble of bothering to write down why I find it rather incredible that actual grown-up adults think Harry Potter is so fantastic. To be honest, I'm not entirely sure why children like it either. I'm fairly sure that Harry Potter won't hook Daniel in the way, for example, Fergus Crane, The Scarecrow and His Servant, or The Boy, The Wolf, The Sheep, and The Lettuce have. *
Andrew Rilstone [e] [w] said "Mr Rilstone goes on rather longer than strictly necessary"
I think that's the second best review anyone's ever done of my writing. (My favorite was a link to a multi-part essay on "Star Wars" with the single comment: "Possibly taking it all a bit too seriously") I may print it at the top of my blog...
Glad you found the piece meaningful
Andrew [added 13th Aug 2007]
[Add a comment]
#[Arabica]Always comes back to bite you in the end ...
++node;
if(getNodeId<string_adaptor>(node) != impl::Literal_id)
I'd had a feeling that this line might be dereferencing an off-the-end iterator but in the absence of anything blowing up never went back to check all the corner cases.
Started building Arabica with Visual Studio 2005 this morning. It's shiny new debugging Standard Library immediate caught that it absolutely is being naughty.
Oops.
Fix hitting svn now ... [added 7th Aug 2007]
[Add a comment]
#[linkfarm] Lift off for Nasa's Mars probe - Nasa has launched a spacecraft on a nine-month journey to Mars, where it will dig below the surface for clues to the existence of past or present life.
[Add a comment]
#[linkfarm] Dinosaur Jr on the Henry Rollins Show
It's becoming something of a cliche, but the old guys have still got what brought them to the dance in the first place.
[Add a comment]
#[linkfarm] The Henry Rollins Show - America Is Under Attack - Henry Rollins. He looks like a psychotic nutcase, but he speaks with such fluid rhythm. *swoon*
[Add a comment]
#[linkfarm] Jedi - Decluttering Java - It [provides] a library of routines: filtering, iteration, conversion from one collection type to another, first order logic functions, etc. It makes extensive use of higher order functions and closures (also known as 'blocks' or 'lambdas' - if you are unsure what these things are, you have almost certainly used instances of them, such as 'listeners' in AWT / Swing, commands or actions in Struts / Webwork, or any 'callback' mechanism)
Clever use of Java annotations aside, this covers exactly the same kind of ground as Mango
[Add a comment]