Search Results: "jak"

17 November 2006

Evan Prodromou: 26 Brumaire CCXV

I've been pretty interested in making Web sites WebSoftwareFriendly for a while, so I'm pretty psyched to see that Yahoo and Microsoft have embraced the Google Sitemaps format. They've started a site for the format, http://www.sitemaps.org/ , which lists out the protocol, which seems to be unmodified from the original Google version. Sitemaps have been a necessary part of Web sites for years. Netscape -- back when it was a browser -- had an RDF-based sitemap format that had a brief flare of popularity just before Netscape went into its weird late-90s spiral. Then RDF people got really abstract and academic, and decided that sitemaps weren't what RDF was all about, and RDF sitemaps were forgotten. So sitemaps went off the air, and we've had to wait for a standard on the idea until today. Yahoo lets you submit sitemaps today, as does Google; Microsoft Live supposedly will support it sometime in 2007. One thing that's interesting is a new "ping" protocol, for when the site is updated. I'm not sure how well it works or if it's even implemented, but it's interesting to see it working. I think the weak part of this whole thing is that site owners have to submit sitemaps to each search engine; it would be nice if there were some sort of discovery, like an HTML <link> element, so that other types of Web software besides the big search engines would benefit. tags:

Knowing when to hold 'em From O'Reilly's wrapup of the Web 2.0 Summit, I got a good link to some other Evan's Knowing When to Hold Em. It's a little discourse on the growth of Web 2.0 sites after they've been acquired. Evan Williams, the author and the guy who sold Blogger to Google, knows whereof he speaks. He has some graphs that show traffic for various Web 2.0 sites sloping precipitously upwards after their sale to some big company. The implication being, I guess, that the sites would have been more valuable to sell later. He also points out that few of the sites have benefited visibly from being acquired. I'm not sure the argument makes sense. Traffic is a cost centre as well as a potential source of revenue for companies. Keeping servers up, running, and cogent is hard work. Most small Web sites have been throwing labor and cash into their sites for a while, and the ability to keep such a site going into the Alexa top 100 is beyond most small companies. Paying for a lot of servers, developers, designers, sysadmins and bandwidth for another couple of years may make the site bigger and more desirable for acquisition, but it's a big risk to take. My favourite part of the discussion is that my friend Kevin Fox shows up at the end with some good points about when and how to invest. tags:

Free Software Java I've been programming in Java off and on since the first beta versions of the VM and JDK in 1995. The language has always had a certain cachet with the Open Source set -- the free-as-in-beer tools, good documentation, and cross-platform compatibility made it an Open Enough system, roughly equivalent to proprietary C compilers shipped with every Unix variant. Its release was roughly synchronous with the growth of the Web, and Java applet support in Netscape made the first round of rich client applications conceivable, if not exactly elegant. And then Java grew onto the Web server; and into other parts of the network; and then all of a sudden everything had to be Java. The system grew from this nifty little tool to The Enterprise Solution For Your Enterprise. Serious people worked on Java. I worked on Java when I needed to be serious. Java stopped being fun. Early efforts at getting Open Source Java VMs and development kits working were pretty successful, but they just couldn't catch up with the rapid pace of development on Sun's core product. But inclusion of the language in the Gnu Compiler Collection, the great JBoss J2EE system, the growth of Apache's Jakarta project, and the growing Java Community Process made Java less and less a regular product, built in a silo behind a corporate firewall, and more of an Open-Source-y project. So I guess it was inevitable that Sun would either Open Source its codebase, or end up irrelevant. They probably squeezed just about all they could out of it without going Free, so that's pretty impressive. I think Free Software advocates are supposed to be grateful about this; my main reaction is: why did you put everyone through all this crap for so long? You've wasted 12 years that could have gone into making Java really incredible. We'll see what happens. My main interface with the JVM for the last year or so has been through scripting languages like Rhino JavaScript engine (very fun) and Pnuts. Who's got time for Java programming any more? tags:

13 September 2006

Joachim Breitner: My Name is j a m

A lot of people outside Germany, including here in Ghana, can't pronounce my name right (whereas right is what I'm used to...). So I looked through the German wikipedia and tried to figure out how to write my name in the IPA. The result is:
j a m
If you don't have unicode available, this will probably look strange to you. All these sounds have strange names, here they are:And yes, it is the same letter as in Te , but not the same pronounciation, which is t x. Update: I had to convert my serendipity blog to UTF8 to make this entry right. Did so by mysqladmin dump'ing the whole database and running it through iconv, and then re-inputting it. Sorry to any planets that had a broken entry for a while. Maybe this update paragraph makes these planets update the entry :-)Update 2: As I'm already showing of with unicode characters: The name Joachim is derived from Jehoiakim (Jojakim in German), which is Hebrew and looks like this:

4 September 2006

Branden Robinson: Destination: Oldenburg, Mission: Security, Java, and a bit of odd old hardware

On Friday afternoon I'll be arriving in Oldenburg, Germany, for the eleventh annual Linux developers' conference. Historically, this conference has had a strong focus on non-x86 ports of the Linux kernel, boot loader development, the GNU toolchain, and so forth. At long last, it looks like this may be my opportunity to get my Macintosh Quadra 840AV out of mothballs and back into commission, thanks to Wouter Verhelst. I should be able to fit it into my luggage if I don't bring many clothes... :-) This year, however, in addition to that, a couple of mini-conferences are being piggybacked onto the Oldenburg meeting. These include the GNU Classpath and Debian Java DevJam and the Debian Security Summit. The Java programming language is a divisive issue in the Free Software community, and has a degree of controversy that sets it apart from the usual language wars. The dominant factor in this controversy stems from what Richard Stallman refers to as the Java trap; with the specifications controlled, and the reference implementation kept unavailable on DFSG-free terms by, an industry consortium dominated by large corporations, a Free Software hacker might fear that using Java will consign them to either having to compromise their principles by using non-free class libraries (for example), or being doomed to chase the taillights of standards that could conceivably be tailored to disadvantage competitors. (Java is not alone in this respect; many people fear that Microsoft's .NET, despite being openly standardized through ISO/IEC, will in actuality be completely controlled by Microsoft.) Despite this peril, Java is attractive to GNU/Linux-using organizations. The Free Standards Group, developers of the Linux Standard Base, has received inquiries about a Free Java standard and implementation from organizations already committed to GNU/Linux. In my job, I've encountered an interest in Java from several customers and prospects. Intriguingly, these institutions are, by and large, very much aware of the Java Trap. They like the language, and are not strong advocates of Free Software, but they too are worried about vendor lock-in. They've seen the success of community-driven development as GNU/Linux moves from strength to strength, claiming territory formerly held by Microsoft and proprietary versions of Unix. Even if I can't persuade a customer to adopt a Free Java stack, I can exhort them to only code against Java standards that have seen a free implementation. That way, their development bets are hedged against any "madman theory" of the controlling vendor. Furthermore, this way they only code to standards that are seeing independent implementations, and they leave their engineers free to switch between varieties of development kit. Engineers like flexibility because it enables them to work more efficiently; sales people, marketing personnel, and strategists like efficient engineers because they make a firm more nimble. That's where the GNU Classpath and Debian Java DevJam comes in. Free Software Java enthusiasts want to see their implementations fully mature, and are working hard to make it so. The Free Software community has the opportunity to make its Java implementation not just an available alternative, but a compelling alternative to the proprietary ones on technical as well as licensing grounds. The recent release of GNU Classpath 0.18 shows just how vigorously this opportunity is being seized. Having mature software is only half the battle, however; that software has to be coherently put together and easy for the user and developer to manipulate. For many of these folks, it's not enough just to have good, Free Java virtual machines (like Kaffe and SableVM), class libraries (GNU Classpath), compilers and interpreters (gcj and gij, respectively, from the GNU Compiler Collection), and application servers (Jakarta Tomcat, JBoss, and JOnAS, among others). They also want these technologies to be mutually integrated and easy to install and use. Good software and good packaging complement each other to drive adoption of the technology, and that's what the DevJam is all about. I'm glad to see that representatives of Debian's Java packaging team will be joining not just upstream authors, but their counterparts at Fedora, Ubuntu, and Gentoo in furtherance of this goal. I've approved a budget of EUR 2000, which Petter Reinholdtsen will administrate, to support the expenses of Debian's participation in the DevJam. We've received 1500 USD in sponsorship of this event from a corporate sponsor that chooses to remain anonymous. The other mini-conference I'll be attending is the Debian Security Summit. We're bringing together the heads of our Stable Security and Testing Security teams — the two Joeys, Joey Schulze and Joey Hess, as well as a bevy of other security-minded people, with the goal of revitalizing and streamlining our security processes. Several members of the Stable Security Team have gone dormant over the past several months (or longer), leaving an increasingly small number people to handle, as of Sarge's release, not one but two stable releases. This is because we do not terminate security support for our previous stable release (in this case, Woody), until some time has passed. We've had other challenges on the security front. We had what amounted to a security support hiatus for about three weeks in June, which caused much consternation. More recently, klecker.debian.org, which provides the security.debian.org has suffered some occasional availability problems, and it hasn't always been clear what's caused them. It's my understanding that we have new hardware in place that can serve in a backup, supplemental, or failover capacity. The general feeling at DebConf 5 was that our security apparatus was in need of attention to make sure it keep pace with the demands being placed on it. I've been in fruitful contact with Joey Schulze, Steve Kemp, and others over the past several weeks, and I look forward to a productive few days.

22 May 2006

Arnaud Vandyck: What about JSF in Debian?

And what about Java Server Faces (JSF) in Debian? We already have Struts and it seems JSF could replace it. While googling around, I found a lot of websites, tutorials, plugins and so. It seems the JSF community is growing and the API seems powerful. I already work with Struts, maybe I have to have a look at this promising technology too. If we put JSF to Debian, maybe we should start with release 1.1 because of the lack of free J2SE50 at the moment (even if ecj, classpath-generic-branche, jamvm are very promising). We’ll need (list of dependencies):

15 May 2006

Jonathan McDowell: Sort of stranded at my parents'

I went back to Northern Ireland for the first week of May. Vicky and Branwell were getting married on the 5th, so I figured I'd go home the weekend before (with the bank holiday), work a 3 day week, then come back on the Monday. Plenty of time to see my folks, some friends, and relax. I did end up feeling a little stranded at points. My parents live in Newry, and I don't know anyone there any more. Public transport in NI is dire and I didn't have access to a car (even if I'd been insured for Mum's she's far too busy for me to be able to borrow it for any length of time). Kathy was in Banbridge (15 miles away) and there were people in Belfast (40 miles away) but it wasn't like I could just pop out and see them. However, what I did realise is that there's a social system in place back "at home" that I could easily slip back into. I spent the Bank Holiday afternoon pottering round Belfast with Jake, Paddy and Peter, ending up in The Kitchen. It was, as it always is, good to see them. Later I went out with Kathy, Mal and Miranda for dinner. At Vicky and Branwell's wedding I saw a bunch of people I probably haven't hung out with in 5+ years, all of who were chatty and friendly; the wedding was a good day/night. I didn't have time to see ct, though it would have been good to. I'm sure I could slot back into a similar setup in Oxford, but I found it surprising and comforting to realise I still have that in Northern Ireland.

10 February 2006

Michael Janssen: Pet peeve number 1

Okay, something bugs me, and it's somewhat irrational, and somewhat rational. I totally hate really long URLs needed to "verify" that the sign-up is valid. There are more than one type of these, sometimes they are required to continue into the site, sometime just for extra features, but they are more often that not, very long. Now, I don't like long URLs in general in emails, because there are many services which allow you to shorten them for public use. Recently I signed up for 30 boxes and they sent me this monstrosity:

http://30boxes.com/signup.php?action=finishSignup&d=aSDFJKLa43da
safjdAL5RLKj4afjrafa45J5kljtyTGJrALKJgFKLsaj5klJ4jkljakljdkalflk
fASJKjdfa4r23890fdfjskl342390fakjlei309dk390ujkal39032kd03j9djd9

Okay, so lets look at this rationally for a bit. How many unique strings can they have from that huge behemoth of an identifier. There are 145 characters. They are using the entire uppercase (26), lowercase (26) and numbers (10), so there are a total of 62 unique symbols for each spot. That gives us a total of 62145 different strings. That's

78848779858160540639233408124436328679807474352650645474403652978
77812230999983634922053904324829205441837830921209410767866820350
39259149646534571887966722870103317751633817974743087029882020930
78213775489032524047364643001443429901072761743321026356976812032

different combinations. In scientific notation, thats 7.8 × 10259. Just for comparison, the entire number of atoms in the universe is high-balled at 6 × 1079 (on this page). That's more than a googol of identifiers for EACH ATOM, EVERYWHERE. Isn't naming each atom once enough? Then you would only need 45 characters, which would nicely fit in one line of my email client if you just shortened your "finishSignup" to "fS" and action to "a". As a bonus, it also saves you approximately 117 bytes of bandwidth per email. UPDATE: Apparently it has ALL the information, in addition to being completely too long. I replaced it with random crap.

30 January 2006

Antti-Juhani Kaijanaho: Counting lines

Insipired by Daniel Burrows’ tests, I decided to do mine. The object is to come up with a Haskell program that performs the job of wc -l as efficiently as possible. My test material is a randomly generated file with all lines less than 80 characters long. Summary: my final idiomatic version is twice as slow as wc -l, and my final nonidiomatic version is as fast as wc -l, or at least within the margin of error. First, the baseline:
$ time wc -l testfile
7798137 testfile
real    0m12.127s
user    0m0.765s
sys     0m0.399s
Then the most idiomatic program. Honestly, I expect it to suck performance-wise:
main = getContents >>= print . length . lines
And it does:
$ time ./wcl1.hs < testfile
7798137
real    1m14.993s
user    0m54.182s
sys     0m0.573s
But only by a factor of six. My first hypothesis is that garbage collection is the culprit. And, indeed:
$ time ./wcl1.hs +RTS -sstderr -RTS < testfile
./wcl1.hs +RTS -sstderr
7798137
25,236,174,340 bytes allocated in the heap
5,070,193,924 bytes copied during GC
117,484 bytes maximum residency (3750 sample(s))
96274 collections in generation 0 ( 26.36s)
3750 collections in generation 1 (  0.74s)
2 Mb total memory in use
INIT  time    0.00s  (  0.00s elapsed)
MUT   time   27.17s  ( 42.72s elapsed)
GC    time   27.10s  ( 33.72s elapsed)
EXIT  time    0.00s  (  0.00s elapsed)
Total time   54.27s  ( 76.44s elapsed)
%GC time      49.9%  (44.1% elapsed)
Alloc rate    928,824,966 bytes per MUT second
Productivity  50.1% of total user, 35.5% of total elapsed
real    1m16.616s
user    0m54.278s
sys     0m0.700s
As you can see, GC takes half of the processing time. Unfortunately, minimizing GC time does not have as big an effect as I hoped:
$ time ./wcl1.hs +RTS -H100M  -RTS  < testfile
7798137
real    1m1.354s
user    0m44.371s
sys     0m1.171s
Here, I’m effectively telling it to use a 100-megabyte heap. A separate GC profiling run tells me that GC time has dropped from 50 % to 1 %. The memory problem seems to be a red herring. What we’re doing here is creating four separately allocated memory cells for each character in the input. Of course, the cells are generated lazily, that is, a cell pair is allocated when the lines function demands another character; it then creates another cell pair to denote the same character in a list of lines. As soon as each line has been counted, the four cells become garbage. This sounds like a lot of work! But apparently it isn’t; I tried a few variations that did away with the stream of input altogether, not much unlike what Daniel did in his tests. Surprisingly, the performance worsened a lot. The lesson: functional programming language implementations, unlike typical imperative ones, are built on the assumption that you’ll be doing a lot of allocation. What I suspect is taking a lot of the time is arithmetic. Haskell’s Int is boxed, and lazy by default, adding a lot of overhead. I hand-fused length and line, yielding a tail-recursive countLines function, and I added the command-line switch -funbox-strict-fields, which enables a few significant optimizations of the laziness of Int. The results were nice:
ajk@kukkamaljakko:~/scratch$ cat wcl4.hs
module Main (main) where
main :: IO ()
main = getContents >>= print . countLines 0
countLines :: Int -> String -> Int
countLines n ('n':r) = countLines (n + 1) r
countLines n (_:r) = countLines n r
countLines n [] = n
ajk@kukkamaljakko:~/scratch$ ghc -O -Wall -funbox-strict-fields --make wcl4.hs -o wcl4
Chasing modules from: wcl4.hs
Compiling Main             ( wcl4.hs, wcl4.o )
Linking ...
ajk@kukkamaljakko:~/scratch$ time ./wcl4 < testfile
7798137
real    0m37.961s
user    0m29.853s
sys     0m0.495s
ajk@kukkamaljakko:~/scratch$ time ./wcl4 +RTS -H100M < testfile
7798137
real    0m25.153s
user    0m13.497s
sys     0m0.803s
ajk@kukkamaljakko:~/scratch$
With a large heap, the program is only twice as slow as the baseline. This is pretty good, considering that the code is still idiomatically functional. The following rather ugly, imperative program does away with the lazy stream and carefully avoids any laziness without doing any too dirty tricks:
ajk@kukkamaljakko:~/scratch$ cat wcl7.hs
module Main (main) where
import Data.Word
import Data.Array.IO
import IO (stdin)
count :: Int -> (Int, Int) -> IOUArray Int Word8 -> IO Int
count 0 _ _   False = undefined -- force ac evaluation
count ac (l,u) _   l > u = return ac
count ac (l,u) ar
    = do a < - readArray ar l
         let ac' = case a of 10 -> ac + 1
                             _  -> ac
         count ac’ (l+1, u) ar
maxn :: Int
maxn = 4096
main :: IO ()
main = do
  arr < - newArray (0,maxn) 0
  let loop :: Int -> IO Int
      loop acc = do n < - hGetArray stdin arr maxn
                    if n == 0
                       then return acc
                       else do acc' <- count acc (0,n) arr
                               loop acc'
  res <- loop 0
  print res
ajk@kukkamaljakko:~/scratch$ ghc -O  -Wall -funbox-strict-fields --make wcl7.hs -o wcl7
Chasing modules from: wcl7.hs
Compiling Main             ( wcl7.hs, wcl7.o )
Linking ...
ajk@kukkamaljakko:~/scratch$ time ./wcl7 < testfile
7798137
real    0m13.431s
user    0m10.342s
sys     0m0.467s
Of course, this program is not Haskell 98, but the nonstandard things it uses are fairly common. As can be seen, this version’s performance is, considering the margin of error, equal to the baseline. The compiler used in this test is The Glorious Glasgow Haskell Compilation System, version 6.4.1, as packaged in Debian sid.

27 January 2006

MJ Ray: Blogs: Tips to improve your blog

Want to better your blog? It seems that new year 2006 is the time to do it. I've seen a few lists recently that I'd I recommend:
  1. First, from a few months ago, but very good: Jakob Nielsen's Alertbox, October 17, 2005: Weblog Usability: The Top Ten Design Mistakes - I sometimes deliberately use mistake 4 (mystery links) for effect, I've only recently addressed mistake 5 (classic hits) and I'm still working on mistakes 7 (irregular frequency) and 8 (mixed topics)
  2. Find those too hard to start with? Try Performancing's Quick and Easy Blog Improvements (via Dave Briggs) - I feel I've only one of that list left to do.
  3. Lastly, a very new one: How to Build a High-Traffic Web Site (or Blog) by Steve Pavlina - if you just got your confidence back with the "quick and easy" changes, this one is a noble but ambitious list to stretch you again!
Remember my remarks about comment images and moving blogs too, please. Happy hacking!

22 December 2005

Daniel Stone: [tech/x] x11r7

A big word up to X11R7 being released. The benefits of modularisation are pretty well-documented: distributors can do security updates much more easily, as well as keep better track of upstream sources, users can build drivers easily if need be (and the drivers can get released promptly upon releases of new cards), etc, etc. But for me, the biggest win is that it's finally over: I've been working on it since Jan 2004, and the xlibs and xserver projects basically began in October 2003. I'm really glad that the release didn't, as suggested, get dragged into 2006.

People who deserve a great deal of thanks for this release include, but are absolutely not limited to, Kevin E. Martin, Adam Jackson and Alan Coopersmith as the release cabal, S ren Sandmann Pedersen as a modular partner in crime, Keith Packard and Jim Gettys who basically got modularisation moving, LinuxFund for funding Xizzle and Debrix (the genesis of the modularised X server), Jakub Stachowski and Kristian H gsberg for work on Debrix when I got busy with other commitments (and krh for ongoing modularisation work). I'm sure there are others who I've forgotten here; if you feel you should be on this list, then sorry. The code contributions are too many to mention: Eric Anholt, Ben Herrenschmidt, Billy Biggs, Alan Hourihane, Zack Rusin, Dave Airlie, Aaron Platner, and a cast of thousands.

I've heard the other release parties are rocking along nicely; I plan to make Melbourne's pretty damn good. Cheers!

14 December 2005

Gunnar Wolf: oa-(k)ste-PEC - oakstep&Atilde;&copy;c (or the attack of the nested parenthesis)

Yes, you can surely tell I am no guru when it comes to describing sounds - maybe that's because in Spanish every letter has one, or at most two, sounds? Anyway, Christian, that's the way to say it - The O sometimes sounds a little bit U-ish, in some places you could see this same sound (coming from N huatl, Mexico's main indigenous language) as huaks. The k (in the x) is usually pronounced, but quite soft - sometimes we just refer to the place as "Oastepec", and nobody gets hurt (or worse, sent to Oaxaca (Huajaka - yes, the X is the only letter whose sound truly changes (and that is because Spaniards used it as a wildcard for S, KS, SH, J - In fact, M xico is pronounced M jico, but never (EVER) spelt that way besides what other Spanish speakers say. The original sound, though, was closer to M shico)))
And, yes, I am also one of many thousands of people longing to ride through the Copper Canyon. It's supposed to be really, really beautiful. Too bad Chihuahua is ~20 hours away from Mexico City :(
And about Oaxtepec's location: It's 60km south of Mexico City, not of Downtown Mexico (that would still be out of the city, but not by that much). The best route is not straight, so from my house (in South-Western Mexico City, ~15m away from where the Cuernavaca highway begins) it's about 90 minutes. The highway is _very_ good and safe, don't worry. I do expect people coming by car from the USA. Here you have a good map of Morelos state. Oaxtepec is on the third column, second row, near Cuautla. Just for completeness sake, just North of Morelos you have Distrito Federal, where Mexico City (partly) lies. The airport, where most of you will arrive is again in the second row, third column (hmmm... A pattern starts to emerge! Lets see what that means...) - We are working so we don't have to explain to you all how to get from there to Oaxtepec, I hope we can provide buses covering the route, at least in the days with most arrivals.

29 October 2005

Clint Adams: Some things are just Mormonic

Steve: I seem to remember that one can write a more functional HTTP server in fewer lines of Z-Shell code. Benjamin: As I understand it, Orson Scott Card is the problem. I'm sure other people can point to examples in his writing which illustrate poor judgment; I will stick to the topic at hand. Orson Scott Card has reportedly expressed his belief that Jake Lloyd is a fine actor. Orscon Scott Card has expressed his wish that Jake Lloyd play Ender in the movie. In case you are reading this with some program that strips hyperlinks (be sure not to miss the changelog for version 1.5.7), I'll remind you that Jake Lloyd is the kid who played Anakin Skywalker in Star Wars: Episode I - The Phantom Menace. If I recall correctly, Mr. Card was relieved to discover the high quality of child acting, because it meant that he wouldn't have to dumb down the story quite so much. I'm almost certain I heard that Peter and Valentine would be dropped entirely. I cannot bear to go on. Finally, the unifying theme between HTTP Server and Orson Scott Card is that, some time ago, Mr. Card attempted to co-author a novel with the Internet. Does anyone have a link for that?

27 October 2005

MJ Ray: Dear West Norfolk Council,

There are three ways in which your new web site is worse than the previous site :- 1. it is hard to read. It doesn't set a background colour (which is good because my browser preferences are my preferred colours), but it sets black text, which is hard to read on my preferred background. This means the site is not following the Web Content Accessibility Guidelines. 2. All of my links and bookmarks for pages on the council web site have been broken. This is very irritating. I will delete most of the links rather than try to find the pages' new homes. Why have you not followed the advice of Tim Berners-Lee (1996, URI Axioms) and other web experts (for example, Jakob Nielsen's Alertbox for June 14, 1998: Fighting Linkrot) and set up redirects? 3. When browsing the site, I sometimes get an ASP.Net error page with a stack trace telling me that I haven't got permission to use the site. If I wait a minute and reload the page, it usually appears. What is the problem and why aren't you using customised error pages? It looks like the site could be quite an improvement, but it currently doesn't get the basics right for us old visitors. Also, why is this comment textbox so small? It's barely 10 letters wide for me. I await your reply with interest. MJR Postscript for blog only: I didn't even start on the more general problems with the navigation, attempts to make page links look like adverts, abuse of query strings, or all other others. I think the site is still an improvement, especially if you use View->Page Style->No Style.

24 October 2005

Matt Brown: Choosing Original names for software

I spent some time yesterday evaluating and tweaking the Original (Online Remote Image Gallery Initially Not As Lovely) photo gallery for use on my website which is currently running an old version of PHP gallery. This got me thinking about the naming of software, and particularly about the fact that while Original is a nifty name for an online gallery script, choosing an adjective to use as a noun can have some interesting effects later on! Read on for the full story. I’ve been becoming more and more unhappy with PHP gallery for quite some time now, but I hadn’t found a credible replacement until Original came along. For me, PHP gallery has become far too bloated and featureful to the point where it is excruciatingly slow to perform any task (even browsing) on my gallery. I don’t think my gallery is particularly huge, with 26k photos, spanning 113 albums, it’s certainly at the larger end of the scale, but nothing that I wouldn’t expect some well written software to handle. Couple to this the fact that PHP code like gallery is notorious for being a huge security whole in your server and I was keen to get rid of gallery as quick as possible. I should point out that gallery2 might address some of these issues as it is much more modular than gallery 1 ever was. It still wasn’t enough to tempt me to stay with gallery though. Other well-known galleries like coppermine failed the aesthically pleasing test (not that PHP gallery ever passed it either!). So that left Original. Written by Jakub ‘jimmac’ Steiner, a well known GNOME coder it fulfills most of my requirements: I took me about 2 hours to get Original set up, themed and working to my satisfaction which did involve hacking the code a bit. Mainly to change the layout of a few of the pages, if you weren’t as pedantic as me you would probably get away with just creating your own stylesheet. Now that I have Original setup and ready for photos I have to somehow get all my photos (and preferably their captions and comments!) out of Gallery and into Original! As part of this I would quite like to narrow down the selection somewhat and have my online gallery being a “best of” collection, rather than the canonical repository of my photo collection. My tool of choice to achieve all this is F-Spot, one of the new bread of Mono apps for GNOME sponsored by Novell. F-Spot already supports creating Original galleries, but doesn’t officially support importing from gallery. More on that in another post. To stay true to the title of this post I want to finish up by pointing out that choosing an adjective “Original” to use as the name (noun) of your software, isn’t the best idea in the world. The first time I tried to export an Original gallery from F-Spot I gave up and concluded that it wasn’t supported. I went to the File > Export menu, Choose “Export to Web Gallery” and stopped. This option seems to only support exporting to the very gallery program that I’m trying to rid myself of! I didn’t really expect to find support for Original anywhere else (seeing as it’s a web gallery), but just to be sure I checked the other options, Export to Flickr, no. Export to CD, no. Export to Folder… Maybe. In the Folder Export dialog there is a set of options title “Export Method”, the options are: The first (and second) times I looked at that dialog, despite the fact that I was trying to export photos to Original, and was conciously looking for the option, I completely failed to realise that “Use Original” was what I wanted. My mind was reading the caption as “Use original folder structure” rather than “create folder structure for use by the Original gallery script”. I’d like to file a bug on this to get the wording clarified, but I’m having trouble deciding what it should be. Once you know what it is it seems obvious, the O is capital, so it’s not being used as an adjective, but that is a detail easily thrown away by your mind when scanning the dialog! I’m currently favouring a longer caption such as “Use Original Gallery Folder Format” perhaps with Original in quotes. I also think that moving it into the “Web Gallery” export tab rather than the “Folder Export” tab would clear things up immensely. So, fun and games with software names. What other sofatware uses an adjective as a noun, and does it cause as much confusion as this has?

20 October 2005

MJ Ray: Selling, the web, chipping and bloody hacking

The Internet Advertising Bureau thinks the UK spend could be over a billion for the first time. It's now 5.8% of the national advertising spend and is growing at a pretty remarkable rate. Is Christmas coming early for online? OSCommerce - the future will be templated. We're doing more OSCommerce work and 2.2 MS2 is a fairly typical PHP application, with some structure, but also lots of spaghetti code. The next version is looking a lot better, including this announcement from the lead developer. Templating and styling has to be the most-requested work. I find it a little worrying that OSCommerce is not more openly developed, but it'll be good when the new release ships. Jakob Neilsen has announced the top ten web design mistakes of 2005 and "Legibility Problems" are number one. This isn't a surprise to me. Many websites, including some big names, are totally broken if your browser defaults are light text on a dark background, because that's easier on your eyes. I once spotted the Disability Rights Commission getting this wrong. Even planet.debian.org is missing a:link color: ... . The second top mistake is bad linking, including:
"In particular, don't open pages in new windows"
.which is another thing which I find irritating on many sites. If I want a new window, I'll pick the link for a "new window" from the context menu, or by shift-clicking. Does Mozilla or Firefox or something have an "ignore _blank link targets" option yet? It's only a matter of time. My own company's web site has been updated and I've tried to take these on board. We don't do any of the worst things, but there are always things we can do better. Our site isn't that high a priority - there's so much else to do. The W3C's internationalisation working group has issued a note on working with time zones. I get a lot of unusual time zone requests while programming, but I'll remember these explanations and I think I usually follow the recommendations in s1.5 anyway. Also from W3C is a Working Draft of "Mobile Web Best Practices 1.0" which they'd like feedback on, if you use or develop for mobile web devices. At first glance, it seems that many of the items are stronger versions of the Web Content Accessibility Guidelines. PlayStation chipping is legal in Australia but not in the UK, where it was ruled illegal last year. Chipping is the practice of adding a part to the games console so that it can play imported titles. If the chipping and the risk of breaking it costs less than the difference between imported and domestic releases, some people will want to do it. It's competition between markets. I remember similar things for the old cartridge-based machines of my youth. UK law-makers seem to be trying to kill off that trade in favour of foreign companies that want to tightly control the consoles long after they've been sold. The ruling from Australia might bring the start of a backlash against the increasingly restrictive UK laws, but it's more likely that the EU, US and others will press Australia to fall into line. Copyright seems to be one of the few areas where free trade is being reduced, rather than increased. And finally, I remember the feeling of getting sparc32 Linux working.

Next.

Previous.