This is as days pass by, by Stuart Langridge

Yahoo Hack Day unofficial forum

In less than a month's time I shall be at another event; this time it's Yahoo Hack Day. Some chap called Peter CooperTom Scott (thanks pig for the correction) has set up an unofficial Hack Day wiki where you can note what your skillz are and so on. I need to put my thinking cap on to come up with some cool ideas for something to hack on; suggestions for things that you think would be cool and incorporate the Yahoo and BBC APIs welcome! Hack Day: London, June 16/17 2007

The Hour of Power at LugRadio Live

Get all your LugRadio Live news and updates from the LugRadio Live Latest News Blog!

This year at LugRadio Live we're having The Hour Of Power again, like last year. It's a one-hour main-stage session where people demonstrate cool visual things. Last time there was Justin Hornsby demoing MythTV, dotwaffle demoing, well, demos, Malcolm "pepsiman" Parsons demoing Linux on the Nintendo DS, msemtd demoing his home-built MAME arcade cabinet, and Mirco "MacSlow" Muller demoing Lowfat. This year we're looking for more things in that vein. So, if you want to show off your media centre software or something you've built into an Altoids tin or some exciting pretty web technology or something else, contact us to volunteer!

The end of an era

As you'll find out if you listen to the next episode of LugRadio (released next Monday), Matt Revell is leaving LugRadio. He lays out his reasons, and they're reasonable (as reasons ought to be). All I can say is: cheers, Matt. We had a great time, and the show wouldn't be where it is without you. Best of luck with all the other cool stuff that you're now moving on to, and welcome to Adam Sweet who now joins the team on a permanent basis. LugRadio listeners, prepare yourselves for more server stuff, less marketing stuff, more of Adam's strangely attractive accent (according to the mailbox at LugRadio Towers, anyway), and many many fewer phrases in foreign languages. Certainly the average language ability across the team has dropped by a significant margin. Thanks for everything, Matt! We knew the two days. Matt says goodbye, and Adam says hello. Goodbye, mate.

Jokosher one of the 15 open source projects to watch

According to this Datamation article by Matt Hartley, Jokosher is one of the 15 open source proejcts worth watching.
Where Jokosher stands out beyond other audio applications is that it provides for easy inclusion of a fantastic new GUI. This allows the ability to distinguish one track from another with the help of icons and other visual references...Feels like Audacity with regard to simplicity, but has a full set of features and seems to be more fun to use from a visual perspective.
Good work the Jokosher team!

Replacing Flash with something else

Benjamin Otte writes about replacing Flash with SVG, HTML, and JavaScript. It's possible -- look at the OpenLaszlo LZPIX demo for the same app in Flash and HTML to see that it can be done -- but there are a few things in the way. Flash has a number of advantages which would need to be replicated.
  1. Multimedia support. YouTube and the like have recently become the biggest Flash users in the world, I imagine, and what makes that possible is Flash's support for video; similarly, there are lots of in-browser mp3 players (like XSPF) which use Flash because of its support for audio. Existing play-sound-from-JavaScript projects like SoundManager2 use Flash to actually play the sounds. The WHATWG-proposed <video> and <audio> elements will provide this in the browser eventually, assuming that they're actually implemented and we can get around the issues of what video formats are supported (Apple are lobbying hard for video format support to not be mandated, meaning that the element will be broadly useless on the web itself -- Safari will support QuickTime-supported videos, IE will support WMV, Firefox and Opera will support Ogg Theora). This is a big problem, but there are tentative steps toward solving it.
  2. Single-file deployment. Once you've made a Flash file it's one file -- whatever.swf. That's highly easy to deploy. It will be possible to make single-file deployments of a scripting+SVG+HTML+images bundle, but it's harder; images are a particular problem if you intend to support Internet Explorer.
  3. An IDE. This is what Otte calls for, above, noting that animations require coding in an HTML+SVG+JS environment and they don't in Flash, and that "the best Free authoring tool is either vim or emacs"; not what he's suggesting that we do use, but a wry comment on the lack of authoring tools for standards-compliant rich web apps. An IDE is fairly critical to get this sort of technology out to the masses.
Ignoring the elephant in the corner of multimedia support for the moment (but it's a big elephant, and mustn't be forgotten), everything else is pretty much doable. Creating an IDE would be possible; SVG is available most places now (and is emulable in IE, and there's always the <canvas> element, which is also emulable in IE); single-file-deployment isn't critical, really (instead of a complicated <object> tag to embed a Flash file, it's <iframe src="mywidget/">, with your JS/HTML/SVG widget in a folder). It'd be supported everywhere, you wouldn't have to worry about the direction being solely controlled by one vendor, and it uses technologies we already know rather than trying to supplant the open web as Microsoft's Silverlight is doing. Those of you who doubt that HTML is capable of this sort of thing, take a look at Apple's Dashboard widgets, which do many cool things and are pure HTML, JavaScript, and <canvas>. You might even be able to convert existing Flash movies to it using flasm, which would get the project up and running pretty quickly. Of course, the idea needs a name. It would be nice to have it not be named after toilet cleaner, like Flash or Ajax. Whoever writes the IDE gets to think of the catchy name and be immortalised for ever. If you need a name, call it "April". No catchy acronym, it's just a nice word, and it's when my daughter was born. Currently desperately trying to not start writing this.

Principles

"It’s hard to live up to your principles. If it were easy, your principles probably aren’t worth a damn anyway."

Mark Pilgrim

This week's guest publication

Jeffrey Zeldman asks his readers which they're more interested in, Adobe CS3 (presumably some designer thing?) or Windows Vista. In a similar vein, I'd like to ask readers of this site which you're more interested in, Sun's JavaFX or signing up for TissueWorld 2008, the Premiere Exhibition and Conference for the International Tissue Industry. Answers on a postcard. Please, spare me the oh-so-amusing "I'm way more interested in bog roll than I am in Java" answers, if you would.

One Python, singing in the darkness

Mod-python is an Apache module which loads one copy of Python at Apache startup, and then all subsequent Python web applications use this one Python interpreter. It means that you don't incur Python startup times every time you visit a URL, and it's really useful. (There are similar-but-different approaches, such as FastCGI and SCGI; they all basically involve running one Python interpreter, though.) Lazyweb: Would it be possible to do this for the Linux desktop? Have one Python running and have it run all the applications that use Python? I don't know how you stop a crash in one application crashing all unrelated applications, but the modpython people have presumably solved this problem. Python isn't significantly slower than C for most actual applications, which are event-driven anyway, but startup is certainly slower; it'd be rather nice to have that startup wait go away.

Nicetitles now handles image links

My nicetitles JavaScript library now handles links with images in them. Countless people have mailed me about this over the last four years; finally Vigdor mailed me and chased me down on instant messenger and I decided to get off my lazy arse and fix it. It now works. There is clearly a lesson here for those of you who want me to do stuff.

Your Honey Pot Caught A Harvester!

---------------------------- cut ---------------------------- Stuart -- Regardless of how the rest of your day goes, here's something to be happy about -- today a honey pot you installed successfully identified a previously unknown email harvester (IP: 61.183.167.138). The harvester was caught by your honey pot installed at: www.kryogenix.org Don't forget to tell your friends you made the Internet a little better today. You can refer them to Project Honey Pot. ---------------------------- cut ---------------------------- Project Honeypot is a system designed to catch email spammers. Basically, you sign up for their site and they give you one PHP (or ASP, or Cold Fusion, or half a dozen other things) file. You drop it somewhere in your webspace and throw in a couple of links to it (hidden on your own pages). The idea here is that ordinary people don't follow the links, but spammer screen-scraping robots do. On the page is an email address and what looks like a weblog comment form, randomly generated, but tied to your Project Honeypot account. If any email arrives at that email address, which is run by Project Honeypot, or comments are posted through the comment form, then they know it's spam (because only robots will scrape the email address and then mail it). Whether it's a large help in the great fight against spam or not I don't know, but it's pretty easy to set up and once it is set up you don't have to do anything. And as you can see from above, I've already identified a spammer that they didn't know about. You can see my honey pot at http://www.kryogenix.org/random/hpot/pedatetightknit.php if you want to take a look. Just looking at it confers no penalty. The comment form on it is hidden with CSS by default, so it might not be visible when you look. Don't mail any email addresses you find on the page, though! Signing up for your own honeypot is pretty easy (although I wish they'd use OpenID for accounts); I'm supposed to refer you, but there's no "affiliate accounts" or similar. Go get one, and we'll all try and help.

This is why to have friends

(11:21:11) Jono Bacon: ping

---

(15:57:42) stuart.langridge@gmail.com/Gaim: you pung?
(15:58:38) Jono Bacon: fuck you
(15:58:38) Jono Bacon: :P
(15:58:39) Jono Bacon: brb
It warms the cockles, I tell you.

Aquarius the Depressed

OK, which one of you shower of bastards is responsible for gingalingling, eh? I knew I'd get grief about getting a LiveJournal :-) Consider me subscribed; if I'm going to be depressed I'm surely better finding out about it through RSS than paying £200 an hour to a psychotherapist. Nonetheless, you should indeed come and cry with me at LugRadio Live! LugRadio Live, it's the greatest Update: and Jono too! ilovemybeard says "there's so many people here i can talk to about the community. it's like communitising a community within a community using community tools to promote community tools." Ho ho ho :-)

This website belongs to Stuart Langridge. Contact details are available. Don't eat yellow snow. Valid HTML5, at least in theory, except for the bits that aren't because I'm that futuristic that I'm ahead of the spec, oh yes. HTML5 help from Bruce Lawson, among others. Fonts from the superb FontSquirrel. End.