published 6 months ago (12.07.2009 15:52)

Updated is-gd for Ubiquity

See this post for a description of Ubiquity.

I adapted the script for the API changes introduced with 0.5, and put the script on github.

Posted in , ,  | Tags  | no comments | no trackbacks

published 6 months ago (11.07.2009 12:12)

Cross-browser video support with HTML 5

Embedding video is easy in HTML 5, use the native <video> tag. Firefox 3.1+, Safari 4+ and Google Chrome (Windows) already have experimental support for it.

The HTML 5 spec does not specify which video format and codec should be used, so naturally ;-) the browser vendors have picked different formats. Getting videos to play cross-browser still is no problem, since the <video> tag can contain more than one source. So give an ogg and a quicktime version of the video, and all browsers currently supporting the <video> tag will be happy.

Example

The code
<video controls width="320" height="240">

  <!-- Firefox 3.1+, Google Chrome -->
  <source src="/files/swiss.ogg" type="video/ogg">

  <!-- Safari 4+, Google Chrome -->
  <source src="/files/swiss.mov" type="video/quicktime">

  <!-- All others (including Internet Explorer and Opera) -->
  Sorry, your browser doesn't seem to support the <code>video</code> element.

</video>
How to create the video formats (OS X)

Easy. Use Quicktime Player’s export feature (File > Export). But first get the xiph Quicktime Components to add .ogg support to Quicktime.

Posted in ,  | Tags , , ,  | no comments | no trackbacks

published 7 months ago (26.06.2009 00:50)

my latest tweet

“And then she goes grocery shopping like that, completely unconcerned. Interesting country #leggins #running #keep24h #copenhagen”

Wanted to keep this. #archive is not yet implemented in all_tweets_must_die.

Edit: #archive is implemented in the even better tag, #keep

lalala

Posted in  | Tags , , , ,  | no comments | no trackbacks

published 7 months ago (22.06.2009 11:35)

Altonale 2009 Photos



Posted in  | Tags ,  | no comments | no trackbacks

published 7 months ago (21.06.2009 22:21)

Señor Coconut - Smoke on the water

Epic, needs to be archived!

“It was such a pleasure to be with you, I feel so much love!”

Posted in , ,  | Tags  | no comments | no trackbacks

published 7 months ago (19.06.2009 23:19)

All tweets must die

I just published my first gem on github, all_tweets_must_die. It will become the core of a web app that regularly deletes your old tweets automatically. If you want to use twitter but value your privacy, this thing is for you.

I build the whole thing for fun and exercise. I’ll try to use as much new stuff as possible – Sinatra for the web app, Cucumber for testing it, CouchDB for storing user auth and preferences, and – if I actually get a couple of users on the site – possibly a small Erlang or Scala program for tweet deletion, connected to Ruby with Thrift. Lot’s of cool new technology, a lot of buzz. I know :-)

Posted in ,  | Tags ,  | no comments | no trackbacks

published 9 months ago (05.04.2009 10:46)

Revisiting bleep.com

Isolée

Just rediscovered Isolée on bleep. We Are Monster (2005) is more straightforward and varied than the album I found them with (Rest). Try Mädchen mit Hase and Schrappnell.

Syntheme

Lasers ‘n’ Shit (2009). Nuff said. Try Scotch Paper, easy, Mexicone or Xwc. Great stuff for DJ sets, I guess.

A tip for all the bleep tracks: click play again after the preview track has stopped, it will continue.

Posted in  | Tags , , ,  | no comments | no trackbacks

published 10 months ago (28.03.2009 19:46)

Ubiquity is the shit!

Ubiquity is a Mozilla Labs add-on for Firefox. It’s a new way of interacting with the browser and web content. Imagine Quicksilver, but for everything that can be reached from the browser. Common examples are controllign the browser, translating text on a web page in-place, looking up an Google maps address in-place, you imagine. It let’s you throw out half of the other add-ons. Oh, and on the Mac, it integrates with Growl.

And it’s super-easy to extend with JavaScript!

Example – using is.gd to shorten URLs

I hacked this together using the pretty good documentation. The code takes the text selection (an URL) and shortens it via is.gd.

CmdUtils.CreateCommand({

  name: "is-gd",

  description: "Replaces the selected URL with a short URL generated with is.gd.",

  author: { name: "Phillip Oertel" },

  takes: {"url to shorten": noun_arb_text},

  execute: function(urlToShorten) {
    var baseUrl = "http://is.gd/api.php";
    var params  = {longurl: urlToShorten.text};
    jQuery.get( baseUrl, params, function( shortUrl ) {
      CmdUtils.setSelection( shortUrl );
    });
  }

});

I embedded the above script into this page—if you installed the Ubiquity add-on, Firefox will notify you. Install the script, then select an URL anywhere on the page or in the location bar, press Alt-Space and type “is-gd”. The selected text will be replaced with a shortended URL. Neat!

They really have easy administration and extension in mind—go to chrome://ubiquity/content/cmdlist.html to get an in-browser interface to Ubiquity. You can directly write the scripts in there. Oh, and did I mention it already ships with jquery ?

Posted in , ,  | no comments | no trackbacks

published 10 months ago (22.03.2009 01:45)

The Warhol Superstars, and Velvet

»... They epitomized Warhol’s famous dictum: “In the future everyone will be famous for fifteen minutes.”« Nico among them.

Posted in ,  | no comments | no trackbacks

published 10 months ago (22.03.2009 01:06)

Isolee Schrappnell, 2005

who said electronic music ages quickly?

And here, Modeselektor rapes Hyper Hyper:

Posted in  | no comments | no trackbacks

Older posts: 1 2 3 4 ... 27