« May 2007 | Main

June 2007 Archives

June 14, 2007

WebService::Hatena::Graph version 0.06 released

Today, I released the new version of WebService::Hatena::Graph along with some updates of Hatena::Graph API. It's become totally new, adding several features, getting graph data and setting/getting configurations.

The feature to set new graph data has been offered since the API was released, but the method to enable users to do so is now renamed to postdata() from post() to distingish posting some graph data , postdata(), from posting some configs, post_config().

Here's a usage of this module:

use WebService::Hatena::Graph;

my $graph = WebService::Hatena::Graph->new(
    username => $username,
    password => $password,
);

# set data to the specified graph
$graph->post_data(
    graphname => $graphname,
    date      => $date,
    value     => $value,
);

# retrieve graph data
my $graph_data = $graph->get_data(
    graphname  => $graphname,
    username   => $username,
);

# set config
$graph->post_data(
    graphname      => $graphname,
    graphcolor     => $graphcolor,
    graphtype      => $graphtype,
    status         => $status,
    allowuser      => $allowuser,
    allowgrouplist => $allowgrouplist,
    stack          => $stack,
    reverse        => $reverse,
    formula        => $formula,
    maxy           => $maxy,
    miny           => $miny,
    showdata       => $showdata,
    nolabel        => $nolabel,
    userline       => $userline,
    userlinecolor  => $userlinecolor,
    comment        => $comment,
);

# retrieve config
my $graph_config = $graph->get_config( graphname => $graphname );

Enjoy!

Glitchr: Glitches the Web

Glithr

Yesterday, I hacked up a website, Glitchr, which is heavily inspired by youpy's great work, GlitchMonkey. It aimes to let people know fun of glitched things easier without installing greasemonkey script.

A glitch is a short-lived fault in a system. The term is particularly common in the computing and electronics industries, and in circuit bending, as well as among players of video games, although it is applied to all types of systems including human organizations and nature. The term derives from the German glitschen, meaning 'to slip.'

Source: Glitch - Wikipedia, the free encyclopedia

As the entry from Wikipedia says, glitch is a word which originally come from electronics industries terms, but it's also a name of a genre in some kind of arts, music, movie, image, and so on. Speaking about music, I really love Oval, who compose songs filled with glitched noises, nevertheless, they're really melodious and beautiful.

Glitchr is a website which glitches images in webpages, and of course, you can also specify the image by its URL on the Net. Anyway, seeing is believing. I'll show you some examples (by specifing an image).

Original image

Glitchedr image

It's interesting!

Surely, it's totally useless. But usefulness doesn't matter for arts at all, you know ;)

About June 2007

This page contains all entries posted to blog.kentarok.org in June 2007. They are listed from oldest to newest.

May 2007 is the previous archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34