Gradient Buttons and HSL
For future reference, James Tauber has a very useful article on using the HSL color scheme to create shiny gradient buttons. It’s worth knowing that in Java HSL is actually called HSB (brightness instead of luminosity) and there are various methods on the java.awt.Color class for converting between HSB and RGB as well as creating color objects directly from HSB.
I Love mod_proxy
After my amazingly successful use of mod_proxy to provide clean URLs in an IWWCM instance, it’s been added to my bag of useful tricks to know about. When you realize you can proxy differently based on the current virtual host it’s a very powerful solution.
My latest use for it was to add name based virtual host support to two completely separate virtual machines. One machine runs IBM WCM and the other runs Quickr. Both use the same port, and in the future there will be more VMs with different versions as well, so while it would be possible to assign different port numbers, I’d prefer to not have to remember which VM is using which port etc. The firewall however can only forward connections on a given port to one VM.
One Line Toolbar
I was going to write a post around accessibility and WCAG 2.0 but got annoyed once again about the EditLive! toolbar taking up two lines instead of one. I’d already removed a whole bunch of stuff from it but it was still wrapping around by a few buttons.
It occurred to me that there are a range of functions that I had on the toolbar because I use them frequently, but that aren’t actually required because I always use the keyboard shortcut. In particular, I have no need for cut, copy, paste, undo or redo because without exception I use keyboard shortcuts. I could probably apply the same logic to strong, em and insert hyperlink as well but my toolbar fits on one line with them so they may as well stay.
“New” Dutch Accessibility Laws
They aren’t really new anymore, but I just discovered them. Apparently the Dutch accessibility laws go beyond just the WCAG standard and require a whole range of best practices for web sites. Good stuff.
Why Do We Have Same-Host Restrictions?
There’s a lot of talk around at the moment about how to allow cross-domain AJAX requests without compromising security. What I don’t get, is why this whole thing is an issue. What’s the difference between the two examples below:
Option 1: Browser connects to site A which loads JavaScript and initiates a request via AJAX to site B.
Option 2: Browser connects to site A which loads JavaScript and initiates a request via AJAX back to site A. The server at site A proxies the AJAX request to site B.
What’s The Difference Between a Wiki and a CMS?
Permissions and an edit link.
All too often we think of wikis as some special breed of software that’s completely different to CMS. In reality any good CMS should be able to be a wiki simply by opening up the permissions, removing the workflow and adding an “Edit this page” link when viewing the site. The problem is, most CMS implementations spend all their time focussing on locking things down and adding 10 stage workflows. It’s no wonder user adoption is such a problem, no one has the required permission to do anything!
Clients Decide Worth, Not You
As part of a very good series on sustainable software, Gianugo Rabellino writes:
The market couldn’t care less about your developers’ kids in need of new sneakers or your VC craving about his next Lambo: the argument that someone has to pay for software development is one of the biggest straw man of Open Source – the market pays for value, and if you build very little, guess what, you won’t get more than peanuts. This isn’t just limited to Open Source software or even software in general. Far too often people make the mistake of thinking that company expenses justify the price of goods and it’s simply not the case. Value to the consumer decides what something is worth and if that happens to be below the cost of manufacture that’s the company’s problem, not the consumer’s. If that means the company stops making the product, consumer’s won’t care because they’ve already decided to go without.
Installing Quickr on Existing WAS/Portal
Dear lazyweb (actually, just more intelligent web, I’ve done a lot of searching on this already…),
I have a nice install of WebSphere Application Server and IBM Portal 6.0.1.3 up and running with the WCM component configured. This is great, really happy.
I’d like to add Quickr (later also Connections and maybe even Sametime) but all the Quickr installs I can find want to deploy a second instance of WAS which isn’t ideal. Is it possible to just add Quickr to an existing install or is it possible to install it separately and move it into an existing install?
Loading PICT Images In Java
Since the search function for Apple’s mailing lists is pretty much useless, I’m making a note of the Reading PICT Images thread which contains numerous options for rendering PICT images in Java on OS X.
Name Your Intranet
Having a catchy and memorable intranet name is a great way of promoting the intranet.
A name can help build an identity, even give the intranet a personality, removing that ‘techy’ edge. This is useful when trying to build staff awareness and engagement with a new or relaunched intranet.
It is an opportunity to leverage off the organisation’s brand or simply to differentiate the intranet from the organisation’s internet site.
Annoying Discovery of the Day
So here’s a surprise – FireFox 3.0.1 can’t handle RSS/Atom feeds that have a port number in the URL. The problem stems from the fact that it uses a custom feed: protocol instead of just working off of the mime-type of the content. So if you visit http://www.example.com:10038/
and it provides an RSS autodiscovery link that points to /feed/
, FireFox will try to go to feed:http//www.example.com:10038/feed/
. Note the missing colon after http.
What People Want
Ephox provides a bunch of different sites with feeds to help people keep up to date about what’s happening with our software and the company. For example, LiveWorks! helps you learn more about our products and get the most out of them, the releases blog keeps you up to date with the latest stuff and the official Ephox blog has all the company news. Then of course there’s a range of blogs by Ephox employees like this one and they’re all gathered up at People@Ephox. So guess which feed is the most popular by far?