I didn’t take any notes, but JQuery looks pretty cool. Maybe even cooler than Prototype and Scriptaculous!
[tags]barcamplondon3, jquery, javascript, prototype, scriptaculous[/tags]
I didn’t take any notes, but JQuery looks pretty cool. Maybe even cooler than Prototype and Scriptaculous!
[tags]barcamplondon3, jquery, javascript, prototype, scriptaculous[/tags]
This was a hands-on session playing with lo-fi flip-book animation, based on the techniques on Cathy’s blog. Here’s my very poor effort:
[tags]barcamplondon3, animation, silly walks[/tags]
It’s all here!
[tags]barcamplondon3, lifestream, yahoopipes[/tags]
HTTP not ideal for asynchronous stuff (“Are we nearly there yet?” “No.” “Are we nearly there yet?” “No.” “Are we nearly there yet?” “No.”). Message-passing architecture is better (“Let me know when we’re there” … “We’re there!”).
Also useful for clusters, multi-core machines etc.
Erlang (also Scala, Haskell, E etc) are becoming interesting because they operate using messages. Not that different to pure OO. No shared state. Scalability doesn’t come for free, but it’s much easier.
Spread, MQ, JMS etc: publish and subscribe. Stick a message on a topic or queue and any subscribers receive it. Allows very loose coupling. One-to-many, with publisher not needing to know about subscribers.
Comet allows a connection to be held open between browser and server, rather than having to poll.
Jabber can be used to return future results for a search (for example). “There will always be more pictures of kittens.”
Worker queues remove expensive calculations from synchronous tasks (eg calculating Dopplr coincidences does your own immediately, and queues a job to calculate coincidences for all your contacts).
Using JQuery you can create your own events in a browser. Becomes more like traditional GUI programming.
Extreme late binding: combine data and code in application (eg javascript and data in browser – mashups).
The Internet is the computer.
First question: “How does Dopplr work?” :-)
Interesting point about hiring: go for the people who are good at the cool stuff (Erlang, Haskell, etc), because they’ll probably be really good at the workaday stuff too, and are obviously interested in the field.
[tags]barcamplondon3, messaging, erlang[/tags]
Caja compiles Javascript into different javascript, allowing you to put untrusted gadgets in trusted container pages (eg OpenSocial). Removes potentially evil code (eval etc), and passes in an object representing the global scope (document etc).
Ben’s writing a Caja wrapper for OpenSocial. Lots of hairy stuff with closures wrapping callbacks in functions, then wrapping the response in more functions. I haven’t really looked at OpenSocial yet, so some of this is flying merrily over my head.
[tags]barcamplondon3, caja, opensocial, javascript, gadgets[/tags]
Many pages on bbc.co.uk allow comments, but they tend to be trivial (“Mylene’s dress was a bit short”), are heavily moderated (which costs a lot of time), and are tied into the BBC site. Many of the comments people make are actually direct contacts regarding participation in the programmes, which end up going to the production team rather than on the page.
Mark is experimenting with allowing/forcing people to post their comments to their own blogs, and linking them back (like how the real Web works ;-) ). As well as solving some of the issues mentioned above, this would help the BBC fulfil its remit of encouraging participation in the Web (as opposed to treating the BBC site as a walled garden.
Apparently the message sinks in when people are shown Technorati results for their pages, when they realise how many people are commenting on them without them being aware of it.
In the Q&A afterwards, someone mentioned disemvowellment, which is an interesting technique I haven’t heard of before.
[tags]barcamplondon3, bbc, comments[/tags]
Screen-scraping HTML is evil. APIs are better, and can return structured XML, JSON or even SOAP (everyone laughs at the latter!)
If page is marked up semantically using microformats, an XSL stylesheet can convert it into RDF. Put the stylesheet on a profile page and link to it from the HTML (<head profile="...">
), and triplr can generate triples from it in various formats. This can then be parsed using SPARQL.
The end result is custom microformats, possibly specific to your site, or something like class="nsfw"
to mark up stuff that’s not safe for work, which Tom uses on his blog.
GRDDL allows
[tags]semanticweb, grddl, barcamplondon3[/tags]
This is what happens when you take an intelligent, technical, idealistic, web-loving software geek and force him to spend 12-hour-plus days locked in an intensive, corporate, jargon-driven, artificially-competitive workshop.
Incidentally, a Google search for all lies maggots on toast currently returns Paul’s tweet above the Wikipedia page for the character the words come from.
[tags]psd, twitter, hothouse[/tags]
Jane‘s been talked into running round Christchurch Park dressed in an oversized Santa suit in aid of East Anglia’s Children’s Hospices. If anyone feels like sponsoring her a few quid it would be greatly appreciated, and is dead easy to do online. Thanks!
This session was run by Karl Scotland & Johanna Hunt. I helped run a coding dojo at work for a while, until it just kind of fizzled out, so I was interested to see how someone else approached it.
The twist was that the dojo was run using Inform 6, which is a domain-specific language for writing text-based adventure games (“You are in a maze of twisty little passages, all alike…”). this meant that none of the participants were familiar with the language, which forced us to take very small steps rather than quickly hacking together large chunks of code based on experience.
The baby steps thing seemed to work quite well, helped by the strict five minute pair rotations (driver back to audience, navigator to driver, audience member to navigator). Those rotations weren’t quite like the way we used to do it (we never really settled on a fixed policy, and experimented with ping-pong pairing, swapping both people out of the pair at once and increasing timeslots to ten minutes). We also weren’t as strict about banning suggestions and comments from the floor – stopping that seemed to help avoid circular conversations and let the pair get on with coding, although the unusual language may have helped here too. It was very frustrating though when you could see an mistake that was causing compilation errors, but the pair hadn’t seen it yet.
As it turned out we only got about halfway through the tasks we’d been set. It was quite an enjoyable hour and a half, but I’m not sure how much I learned.
[tags]xpday, coding dojo, pair programming, inform6[/tags]