published on 12.05.2008 11:33.

Allowed Interactions in Robustness Analysis Diagrams

i think these are the sexiest uml diagrams by far :-)

Posted in  | Tags ,  | no comments | no trackbacks

published on 03.05.2008 15:55.

Running Firefox 3 beta, howto

happy bookmarking

I’ve used Firefox 3 beta for over a month now. And I am very happy! Not only is it stable and runs a bit faster, the best thing is the seriously improved bookmarking. Bookmarks can now be tagged, and the whole thing comes with an imho well thought-out user interface. visit dria.org for a nice overview. so bookmarks finally become useful as a knowledge archive, you now actually find what you once bookmarked.

running a nightly build

Firefox 3 beta 5 (for OS X) crashed fairly regularly on my box, so I tried running off the nightly builds. So far, they have been more stable, the crashing is gone. Additional benefit: I can get daily updates by going to “Help” > “Check for updates”. Excellent!

You’ll find the latest Firefox 3pre build here.

Enabling Extensions

Once you are so far, most extensions stop working—not good at all. Most extensions have not been updated for Firefox 3, so Firefox disables them on startup. But most of them will work in Firefox 3 nevertheless, all you need to do is create the boolean user preference “extensions.checkCompatibility” and set it to false (type about:config in the URL-bar to access the user preferences).

Chromatabs extension

On a side note, try the chromatabs extension! It colors tabs with a color unique to the page displayed, so if you memorize your favorite sites’ colors, you’ll easily spot them in the tab bar.

Posted in  | Tags  | no comments | no trackbacks

published on 23.04.2008 18:03.

Firefox 3 uses sqlite to store bookmarks (and most other things)

ever wanted to search your bookmarks with

SELECT * FROM moz_bookmarks WHERE title LIKE "%ruby%";

now you can:

in your firefox profile directory (~/Library/Application Support/Firefox/Profiles/xxxx.default on a Mac), type:

# open db file
$ sqlite3 places.sqlite

# show available tables
sqlite> .tables

# set output to sql insert statements
sqlite> .mode insert

# send output to file "firefox_bookmarks" 
sqlite> .output firefox_bookmarks

sqlite> SELECT * FROM moz_bookmarks WHERE title LIKE "%ruby%";

# list other available commands & options
sqlite> .help

Or, if you want JSON output you can export all bookmarks via the GUI. Use Bookmarks > Organize Bookmarks, click the rightmost icon in the top navigation and choose Export.

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

published on 14.04.2008 20:25.

thanks, shoe

shoe
today the cast came off my foot. the six weeks were much less annoying than i had feared, thanks to a smart cast i got. we customized (read: glued it with epoxy) twice, too, to make it waterproof, and i even went into the ocean with it.

no comments | no trackbacks

published on 03.12.2007 11:44.

digital art at it's best

no comments | no trackbacks

published on 24.11.2007 20:39.

Firefox LiveHTTPHeaders bugfix for Alt-L / @

the firefox LiveHTTPHeaders extension is a great tool for monitoring the http requests going on between your browser and a server—ideal for debugging requests or optimizing caching.

however, the extension has a small but very annoying bug, especially on Mac OS X. it’s sidebar shortcut is Alt-L, which is already occupied by the @ sign. so with this extension installed, you can’t type @s anymore. aaarrgh!

the bug is already (somewhat) fixed in CVS, but it doesn’t look like there’ll be an official release anytime soon. so i dove into the code, did the bare minimum to fix the problem, and made a new xpi. install the patched extension here: livehttpheaders-cvs-patched-071124.xpi.

i moved the sidebar shortcut to Shift-Cmd-J. ”!!?$ Shift-Cmd-J ???!!”, you ask?
“why from Alt-L to Shift-Cmd-J?” well, first, the CVS version already moved the command to Shift-Cmd-L. good. unfortunately Shift-Cmd-L (and Shift-Cmd-K) are already used by the firebug extension, so i moved the key leftwards to the first unoccupied one.

as mentioned above, i did the bare minimum to get the extension to work. no perfection here … but i hope it works for you, too!

Posted in , ,  | Tags , , , ,  | 1 comment

published on 11.11.2007 15:04.

"The suits people are surrounding us."

—Matz, on Ruby becoming “Enterprisey” (via project.ioni.st)

that’s almost a shock, makes me afraid. but he’s right—at last railsconf europe for example, sun, ibm & co showed up. pushing their tools, and ideas of “how to develop”, without any deeper knowledge of ruby. let’s hope they’ve learnt or are willing to learn, and aren’t just disguising just to enter this market and sell their stuff to people who can’t tell the difference.

make sure ruby and the community stay the way they are, it’s what’s makes it special, and what made it successful.

Posted in ,  | no comments

published on 11.11.2007 12:46.

very cool grafiti by "jef aérosol"

more in this set!

Posted in  | Tags ,

published on 18.10.2007 09:37.

alle nach süddeutschland

zur abwechslung mal ein richtig guter beitrag im heise forum! und natürlich ist das kein troll :-)

Re: Warum drängeln die sich alle nach Süddeutschland?

»Weil in Bayern durch die Christlich Soziale Union eine verlässliche und kompetente Politik gemacht wird. Darüber hinaus sind hier die Menschen zufriedener, das Wetter ist schöner und die Berge sind höher. In Bayern sind gelebte Traditionen und HighTech eine Symbiose eingegangen. Hier versteht man zu leben und leben zu lassen. Wissenschaft, Technik, Kunst und Kultur sind im Freistaat zu Hause und liefern in einem inspirierenden Umfeld Höchstleistungen. «

no comments

published on 07.10.2007 14:02.

so what's duck typing?

duck typing is actually a simple concept. the best explanations i have come across (from wikipedia 1, 2):

»Suppose you see a bird walking around in a farm yard. This bird has no label that says ‘duck’. But the bird certainly looks like a duck. Also, he goes to the pond and you notice that he swims like a duck. Then he opens his beak and quacks like a duck. Well, by this time you have probably reached the conclusion that the bird is a duck, whether he’s wearing a label or not.” (Immerman 1982, p. 102)«

So, in programming, duck typing is a style of dynamic typing in which an object’s current set of methods and properties determines the valid semantics, rather than its inheritance from a particular class, or implementation of a formal interface.

The ruby mailing list has a great post called ”How to duck type? - the psychology of static typing in Ruby”, explaining the rationale and why duck typing is a good thing (in ruby). an excerpt:

»Many people coming to Ruby from a statically-typed language are somewhat afraid of Ruby’s dynamism, or “don’t get it(TM)”. David Black and I (edit: Tim Bates) believe that this is in part because it is thought that the uncertainty and changeability built into Ruby are dangerous and one wants to find shelter from them.«

Posted in ,  | Tags , ,  | no comments

Older posts: 1 2 3 4 5 6 ... 8