GFX::Monk Home

- page 23

German Parliament Enacts Internet Censorship Law

…and then: “a member of the conservative party (CDU) announced plans to also check if the law could be extended to include so-called ‘killer games’ like Counterstrike, only two hours after the law was passed.”

Two HOURS, Senator Conroy…

(view link)

Autonose: continuous test runner for python's nosetests

Today I’ve put up the first “releaseable” version of autonose. Basically, it analyses your code’s imports, and determines exactly which tests rely on which code. So whenever you change a file, it’ll automatically run the tests that depend on the changed file (be it directly or transitively). Give it a go, and please let me know your feedback.

All you need do is:

$ easy_install autonose
$ cd [project_with_some_tests_in_it]
$ autonose

See the github project page for further information (and a screenshot).

minor metaprogramming

Can anyone tell me why ruby’s instance_variable_set would possibly require the name of a variable to start with an “@”, rather than simply assuming it? It’s a ruddy instance variable, after all…

I can find no decent alternative to python’s setattr in ruby, which surprises me.

Javascript: smells like lisp

I was just struck by how lisp-ish javascript is getting (not in the powerful code-as-data way, just the “screw builtin language features, lets just use more brackets for everything” way). Exemplified by this tiny sammy example code:

$.sammy(function() { with(this) {
  get('#/', function() { with(this) {
    $('#main').text('Welcome!');
  }});
}});

All-Glass Firefox extension enables "slick" transparency effects

oh god, make it stop!

At least it seems to not include the inexplicably bright cyan lines across the bottom and right hand side of the window frame that I believe windows 7 still has. Seriously, does that not remind any one else of the days when you would accidentally see magenta pixels that were supposed to be transparent?

(view link)

gedit plugins

I’ve been using gedit at work and on my non-mac laptop lately, so here are a couple of itches I’ve scratched in the form of plugins: http://github.com/gfxmonk/gedit-plugins/tree/master