Archive

Archive for the ‘Uncategorized’ Category

Twirrsi :: Twittering away from irssi.

17 December 2008 Michiel 2 comments

I have now written a more extensive howto on this subject, what to install and how. You can read it all on this page.

A while ago, I wrote that I wanted to be able to write tweets from my favourite irc client (aka irssi). Back then I actually had a bit of a look around and trying to find something that could remotely work (and preferably also worked with perl [1])

Tonight, while being my usual insomniac self I decided to have another look on the net: And a good thing too, as this time around after applying some google-fu, I discovered “Twirssi

After downloading the script and installing it, the fun really started and I started to have a honest amount of geeking about having to hunt down and write a bunch of SlackBuild scripts for the various perl-modules.

dependency-tree for twirssi.pl [*]

  • Net::Twitter
  • Test::Exception
    • Sub::Uplevel
  • WWW::Shorten::TinyURL
  • LWP::UserAgent
    • HTML::Entities
  • JSON::Any
    • JSON
      • JSON::XS
    • JSON::DWID
    • JSON::Syck

So what is left to do. Due to time constraints (a.k.a head dunking on keyboard syndrome seems to be creeping up on me, and I already start to do stuff double).

I still need to write the SlackBuild for WWW::Shorten::TinyURL and go through my build scripts and make sure that for all the scripts the CFLAGS and SLKCFLAGS are correctly set in the script. Then find a place to actually publish these things [2]. Either they will go up on SlackBuilds.org or I’ll host them on buhkit.

Here you can see a screen shot of twirssi in action. (Running on irssi / screen on a Slackware 12.2 box).

First impressions that twirssi seems to be working well and could actually be rather useful. According to the webpage there should be some sort of integration / automation possible with bitlbee. :)

[1] – Especially since all irssi plugins are written in Perl.
[2] – IF you are interested in twirssi on Slackware, and want the build scripts, give me a shout and I’ll post them.

[*] – Builds highlighted in blue are available from SlackBuilds.org.

Upcoming weekend.

27 November 2008 Michiel 1 comment

Well this weekend (well Thursday morning) kethry will be leaving for a long weekend away at her parents. Which means all kind of geekery time for me. Huzzah!!

Most of it started today really while I tried to figure a way to get putty on a USB stick  so keth has a way to connect buhkit.net from her mom’s laptop. Normally putty writes to the windows registry. Thanks to straterra for pointing out that I can have putty store information in files rather than windows registry. This will also deal with the fact that I don’t have to worry that kethry has to figure out how to setup putty. Now she can just plug it in, click putty.exe and connect straight away.

Things to do:

  • Probably upgrading both Hades and Persephone to -current. (upgrade or reinstall)
  • Upgrade Dionysus (my Toshiba Tecra PII laptop) to the latest of -current and the (sorta) latest SVN pull of XFCE 4.6 [1] (with thanks to rworkman)
  • See if can convert my USB stick to ext3. [2]
  • Create the USB Installer on they USB stick, so I can have some way of booting Slackware-current’s installer.
  • Find a way to make more use of my 256MB (sure go ahead laugh) USB stick, than just a 25 MB Slackware boot disk. [3]
  • Still ponder why this piece of shite Lite-on DVD does not want to burn DVD’s in the first place. [4]
  • Drink beer, lots of it ;-)

[1] – XFCE 4.6 is really starting to look interesting. Although I am not sure that the extra clicks needed for the menu are helpful, It starts to fill in a nice gap below KDE and bare bones window managers ala openbox and fluxbox

[2] – Just for the heck of it. Considering I don’t have any Windows computers myself, so most data I transfer is between linux boxen anyway. Plus it beats using FAT16. If I really need to transfer data between a linux host and a windows host, I can always use kethry’s USB key.

[3] – Slax looks actually sorta interesting at 187 for the USB image. I wonder how much of it is really usefull. As for what I want really. Preferably a way to boot the latest slackware stable/current kernel, some minimal tooling would be nice, but the rest of the disk usable to transfer files.

[4] – Luckily, it does still write CD-RW’s. But I really would like being able if nothing else to make slackware-12.{1,2}.iso’s and slackware-current.iso’s. Just if I need to reinstall some computer without a net connection and not having accesss to my local mirrors.

Categories: -current, Linux, Misc, Slackware, XFCE, geek

Protected: Merry Christmas (2007)

25 December 2007 Michiel Enter your password to view comments

This post is password protected. To view it please enter your password below:


Categories: Uncategorized

of glxgears and bogomips

28 March 2007 Michiel 2 comments

Short statement of the day:

Using glxgears to hold somekind of contest to see how fast your card is, is totally ridicilous and complete and utter useless. Fact.

Why? by manipulating the window, the results can/will differ greatly. On my box, the results vary from aprox 50FPS (full screen), to about 1100FPS (normal mode without touching the screen) to round about 8000FPS (minimized screen).

I like to think that glxgears is becoming the “BogoMips” of the new generation [1]. BogoMips you can see when booting your computer. From the BogoMips howto [2]:

`MIPS is short for Millions of Instructions Per Second. It is a measure for the computation speed of a program. Like most such measures, it is more often abused than used properly (it is very difficult to justly compare MIPS for different kinds of computers).

BogoMips are Linus’s own invention. The linux kernel version 0.99.11 (dated 11 July 1993) needed a timing loop (the time is too short and/or needs to be too exact for a non-busy-loop method of waiting), which must be calibrated to the processor speed of the machine. Hence, the kernel measures at boot time how fast a certain kind of busy loop runs on a computer. “Bogo” comes from “bogus”, i.e, something which is a fake. Hence, the BogoMips value gives some indication of the processor speed, but it is way too unscientific to be called anything but BogoMips.

The reasons (there are two) it is printed during boot-up is that a) it is slightly useful for debugging and for checking that the computers caches and turbo button work, and b) Linus loves to chuckle when he sees confused people on the news.’

Anyway, I disgress.

In other words .. glxgears is a nice application in the way it’s nice to test if things actually works, but to use the results for something which is akin to a game of “my-card-is-better-than-your-card” or as an objective way of measuring how good your card is, is just plain nonsense. Other than that it’s about as usefull as a fart in a jam jar. end of story.

[1] – Remember you heard it here first.
[2] – Indepth explanation aka the BogoMips Howto

Categories: Linux, amusement, rants

Hello world!

19 December 2006 Michiel Leave a comment

Welcome to WordPress.com.

Right, two fold reasons for checking this out. I had a bit enough of lj. I want somewhere new somewhere fresh. Where I can put down my thoughts without everyone knowing about it (where applicable). And I want something focussed on me, not something else.

And of course, the saphire theme is pretty good looking and the other themes look really nice ;-). I need to find my way around this more and see what it offers. So far I am more than impressed.

or in the world of my favourite code:

#!/bin/bash
echo "Hello world!"
exit 0

or in another language:

#!/usr/bin/perl
use strict;
print ("Hello World!\n");
exit

Okay, I guess that proves enough that I am a geek above all!

find more examples of the famous “hello world” program

Categories: Uncategorized