marcus's Journal marcus's use Perl Journal en-us use Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners. 2012-01-25T02:26:49+00:00 pudge Technology hourly 1 1970-01-01T00:00+00:00 marcus's Journal I give my Modules up for adoption After having not done any Perl related work in the last 12 months, I think I have to confess that I don't habe the time and interest anymore to be a good maintainer for my modules. If someone uses any of the stuff in feel free to email me and be a new maintainer for the stuff. marcus 2007-06-04T14:48:56+00:00 cpan FrOSCon Call for Papers <p> The first <a href="">Free and Open Source Conference ("FrOSCon")</a> takes place on June, 24th and 25th 2006 in Sankt Augustin, near Bonn, Germany. </p><p> Organized by a commited team, it aims to become a significant event for free software in the Rhineland. The conference is hosted by the faculty of <a href="">Computer Science</a> of the <a href="">University of Applied Sciences Bonn-Rhein-Sieg</a> in collaboration with the student body and the <a href="">Linux/Unix User Group Sankt Augustin</a>. </p><p> In a <a href="">Call for Papers</a>, the organizers ask for submission of contributions. A broad variety of topics concerning free and open source software is desired. Particularly welcome are contributions about programming languages, free software on the desktop, security, systems administration and networks. Aspects of free software in busincess and industry are also a focus of the conference. </p><p> Contributions can be submitted in English or German and should summarize the intended talk concisely and succinctly; talks should range from 45 to 60 minutes in length. Deadline for submission is March, 15th 2006. </p><p> FrOSCon will offer Developer Rooms (just like <a href="">FOSDEM</a> does) to Open Source projects. These projects can use the rooms to organize developer meetings as well sub-conferences dedicated to their project. Projects that have already registered a room or are interesting in doing so include: <a href="">Gentoo Linux</a>, <a href="">GNOME</a>, <a href="">Mozilla</a>, <a href=""></a>, <a href="">OpenWRT</a>, <a href="">PHP</a>, and <a href="">Wikipedia</a>. </p> marcus 2006-01-16T19:01:40+00:00 journal grrrrr <p>Ok, I'm in a really bad mood right now.<br>What I wanted to do:<br>Get a list of all X apps (executable names, window tiles, somthing like that) running on my current virtual desktop.<br>What I did:<br>First fatal error was that I figured my Window Manager might now. KWin<nobr> <wbr></nobr>:-(. So I thought ask him, using DCOP.<br>I needed about an hour to find out that:<br>1. is nearly nowhere linked<br>2. Debian has source only packages (aka kdebinding)<br>3. just lifes in KDE CVS and in this packages, nowhere else.<br>Then I started to hack and....<br>Maybe I'm too stupid, maybe today is not the day to Google, I don't know. But I couln't find any usefull DCOP examples which where longer than 5 lines and didn't open a window in Konqueror. KWin apperently has no DCOP function for giveMeWindowList and there is no easy (or google findable) way to call the task manager applet, though it knows, cause it show them.</p><p>So I'm out of this... hating my desktop environment.</p> marcus 2004-09-28T02:08:01+00:00 journal The Perl Conspiracy <p>There is a big conspiracy in the Perl World, trying to keep me from all major conferences and teasing me while doing so.</p><p>Want proof?</p><p>This year:<br>YAPC::NA in Buffalo, I'm in Europe, but in Toronto just one month later (for studying, so till the end of the year), YAPC::EU in Belfast, during the time me being in North America.</p><p>Next year:<br>Don't know about YAPC::EU yet (but I bet they'll schedule it so that I have Exams, or whatever) but YAPC::NA is here in T.O. (I won't be there unless I win the lottery).</p><p>See, the Camel God just hates me.</p> marcus 2004-09-22T17:06:40+00:00 journal Back to T.O. So, finaly I entered Canada last night and I'm back to Toronto. I wonder if I should go to the meeting tomorrow.... marcus 2004-08-25T17:20:30+00:00 journal There are three things... <p>...a man must have done in his live:<br> &nbsp; &nbsp; &nbsp; &nbsp; - plant a tree<br> &nbsp; &nbsp; &nbsp; &nbsp; - build a house<br> &nbsp; &nbsp; &nbsp; &nbsp; - write a wiki<nobr> <wbr></nobr>:-)</p><p>So I've done my own wiki, mostly because I used one that was simple but PHP, I wanted a feature, so I rewrote it.</p><p>TriplWki can do anything TipiWiki can do plus:<br> &nbsp; &nbsp; &nbsp; &nbsp; - user authentication<br> &nbsp; &nbsp; &nbsp; &nbsp; - POD output<nobr> <wbr></nobr>:-)</p><p>I know that user authentication is against the idea of a wiki, but I use it more or less as a CMS, so I wanted to make sure that I'm the only one who writes into it.</p><p>And it has a &lt;sourcecode&gt; special tag, which is replaced by its sourcecode, so it is really free software (online editing of the source is not yet supported<nobr> <wbr></nobr>:-).</p><p></p> marcus 2004-07-22T14:33:54+00:00 journal Perl Popularity <p>I just had a look into Debians Popularity Contest ( and it seems that Perl is one of the most popular packages:</p><p>#rank name inst vote old recent no-files (maintainer)<br>1 base-files 5672 5358 81 233 0 (Santiago Vila)<br>2 debianutils 5672 5283 48 341 0 (Clint Adams)<br>3 dpkg 5672 5345 45 282 0 (Dpkg Development)<br>4 findutils 5672 5310 240 122 0 (Andreas Metzler)<br>5 grep 5672 5370 219 83 0 (Ryan M. Golbeck)<br>6 gzip 5672 5349 138 184 1 (Bdale Garbee)<br>7 perl-base 5672 5323 44 305 0 (Brendan O'dea)<br>8 tar 5672 4908 595 169 0 (Bdale Garbee)<br>9 util-linux 5672 4667 447 558 0 (Lamont Jones)</p><p>The number 5672 means installations and these are all top 9 packages with the highest installation number. Before people install anything else, they have a Perl !</p><p>(The first Kernel Image on that list is at rank 1996)</p> marcus 2004-07-04T16:14:13+00:00 journal Not enough time <p> Oh my god. </p><p> I survived the German Perl Workshop, mostly with writing a drop in replacement for <a href="">TipiWiki</a> because I use it but didn't want to hack some authentication stuff into a PHP script. </p><p> I spend the rest of the time having really much fun with all the interesting people there and listening to plenty of good talks. Most of them where better than mine. <i>Note to myself: next time use images and more time to prepare the talk.</i> Jos and Autrijus did a lot of coding on CPANPLUS, so my Curses Shell will be really broken with the next release. This leads to my biggest problem: <b> I just don't have enough time </b> </p><p> Ok, today are the finals of the European Football Championships, tomorrow we visit a strange place with our BioMed class. BTW, I'll do some exams in about two weeks, therefore I should actually spend some time on doing stuff for that.</p><p>Far more important than that is to rewrite CPANPLUS::Shell::Curses to use the new backend and finish up <a href="">JZuul</a> till the exams.</p><p>As I said, there is just not enough time. BTW, I'll leave for Toronto at 24. of August</p> marcus 2004-07-04T14:17:59+00:00 journal German Perl Workshop Day 2 <p>Ok, I'm horribly tired but I survived my talk and yesterday evening's social.</p><p>The talks already started again and I'm trying not to fall asleep.</p> marcus 2004-06-30T07:16:22+00:00 journal German Perl Workshop Day 1 <p>The 6th German Perl Workshop started today. I'm giving a talk on Curses::UI this afternoon and I'm currently (more or less) listening to Leo's Parrot talk.</p><p>I'm a little bit out of sleep but I think that will get worse. We had a early arrivals dinner jesterday and Jos told me that I now can do a clean rewrite of C::S::C because CPANPLUS 0.050 will change everything.</p><p>All in all its a nice starting day.</p> marcus 2004-06-29T09:28:41+00:00 journal No YAPC for me :-( <p>Maybe I'm too dumb, but I'm unable to view the YAPC webcasts on my computer, using any media program available for Linux. Even MPlayer can't do it.</p><p>Why don't they just torrent them or put them elsewhere for download?</p> marcus 2004-06-17T20:03:19+00:00 journal Money Transfer <p>OK, there are a few things in our globalised/online world which really annoy me:</p><p>How it should be: I go to my home-banking page/the page of the german postal service/some other well known service, give my Credit Card and can make a Money Order for about 440 CAN$ to the place where I want to sleep in August.</p><p>How it is:<br>I burned an hour in searching for some hint how to do it and I don't know any more than before.</p><p>argh</p> marcus 2004-06-16T18:54:34+00:00 journal Time Machine <p> I just stumbled over <a href="">this</a> page. It's one of my first homepages and I really forgot that it existed. Thanks to my old friend google, I know now what I was up to almost 6 (!) years ago. </p><p> Ok, I was young (16), played a lot with Delphi, didn't care about free software and used MS FrontPage Express 2.0 (guess it came with some Internet Explorer) to create the page. I had a good laugh about myself. </p><p> Best is that I can still log in.... </p> marcus 2004-06-12T16:40:41+00:00 journal DTD to .... whatever <p>Sometimes it's quite hard to get some information and/or usefull free software out there.</p><p>I've been spending about an hour now to find something to generate</p><p>a) a usefull tree view out of a DTD file.</p><p>b) something that generates input forms (or something like that) out of a DTD file.</p><p>I found nothing appropriate! The only thing I found for a) is called Matra and creates ASCII trees! And it doesn't resolve multiple elements that point to the same subelement. Not that nice.</p><p>b) is even more pain. I expected some nice piece of software that I can feed a DTD file and that creates at least some nice GUI style input wizards or active html pages in whatever language but I found plain nothing! It's all there in the DTD file, why write your own software to create valid XML from that def?</p><p>The internet is to small and there are not enough free software people out there to serve my needs<nobr> <wbr></nobr>:-)</p> marcus 2004-06-01T22:00:03+00:00 journal How to burn 21 days in Java <p> Do you know these projects that start for fun and just get out of control? (Ask Larry or Linus) </p><p> We're doing this software enginering class in university and our teacher gave us this nice example of bad coding called "Zuul". It's so fun just coding on it. It's some kind of text adventure engine and written in Java.I burned about two man weeks on it by now and now we got NPCs, Items and a Dialog system. All described in XML of course. It's real fun but I don't think I'm doing something usefull. Just for fun.... </p><p> We GPLed it (as we rewrote 99,999% of it) and it's now a real free software project: <a href="">JZuul</a> </p><p> I'll come back to you when it has become an OS.<nobr> <wbr></nobr>:-) </p> marcus 2004-05-13T21:35:18+00:00 journal Testing Parrot <p>Ok, my friend call me mad actually, but it's like collecting stamps: collection Parrot test. A friend of mine has a rather good collection of strange platforms and I like trying to get Parrot compile.</p><p>It is a little bit hard at the moment, because libicu is not that friendly to other systems, but it works somehow.</p><p>I didn't integrate my stats into the usual Parrot Tinderbox System because I don't really do cron tests, but I gut a nice stat page at</p><p>P.S.: My friends keep asking me when I get a T-Shirt for my efforts. Is there a number of tests you must run before you get awarded?<nobr> <wbr></nobr>:-)</p> marcus 2004-05-02T18:24:15+00:00 journal The Slashdot Effect <p>Writing an article and actually getting it up to slashdot is fun. Yesterday I had about 55.500 hits on my article, which can be found on this page:<br> &nbsp;</p><p>It's fun to analyze the logs afterwards, because you can see when the article was actually posted. There is another peak, between 15:00 and 16:00 and I'm not sure where this comes from.</p><p>My ISP survived the "attack", though. Good job from them.</p> marcus 2004-03-18T08:29:27+00:00 journal Getting people to switch.... <p>Having done a lot of Windows help in the last time I learned some important things. The first thing is that people don't care which Browser or Email client they use if it is installed on their Computer. I usually remove IE and Outlook (as far as possible) and then install Firefox and Thunderbird. I tell the people it's more secure and they start using it on the fly. They just don't care and I feel better<nobr> <wbr></nobr>:-).</p><p>Another thing I learned is that there is far more software I'm used to use available on Windows than I thought. For example I didn't know that there is a Gimp port to Win32 and even Frozen Bubble is available. It's the best way to get people in touch with Free Software just to install it on their favorite OS.</p><p>The last thing even I always run into and Linux newbies tend to run in is that they know an application on windows and look for something that gives them the same functionality on Linux. I did some google research today but I didn't find something that I could imagine usefull regarding that case.</p><p>What I would propose is a free software library that gives the people to search for applications by "Windows Name". For example I kept looking for a good application that is similar to Dreamweaver on Windows. Nvu is the answer, a project started by the Lindows people. It took me a good amount of time just finding this project. Sourceforge and Freshmeat are good for what they do, but actually we need something that gives people a hand for finding what they need by their own means. One could even add something like windows ports and i18n stuff in order to make people test something on Windows knowing that it exists on Linux too. If the people are used to the applications, the OS doesn't matter.</p><p>Maybe I'll start doing something in that direction, but only after finishing my exams, doing another talk and write two articles I was asked to do.</p> marcus 2004-03-14T20:59:35+00:00 journal Multitasking is bad <p>Ok, I just read the nice article on OSNews about the power of the command line for newbies and I'm quite impressed. This guy is absolutely right.</p><p>I had an encounter with my uncle last weekend because he bought a new computer (which didn't work well BTW). He and some other people I know are not really close to the concept of multitasking. Multitasking for them is maybe to smoke and phone at the same time, but the way I multitask will never be archived in anytime soon. They do one thing at a time and actually don't need a computer that does multiple things at a time and disturb there workflow by doing this e.g. when a background mail program pops up an error message they are totally confused. So what to do with our nice GUIs when they suck on the one hand and most of the features they provide are actually unnecessary? I'll sleep over that.</p><p>Another thing I start wondering about while reading the article is the questions why there are actually email programs. For the average user who gets about 10 emails per week and doesn't care about nice rulesets, folders and whatever feature a separate email program is far too much overhead. Why not just put two more icons on the desktop, one for "Inbox" and one for "Write Mail". The inbox folder could add (like KMail) the number of unread messages to it's name and expand to a plain listview of emails. I believe that is enough for mostly everybody, despite of the people I know<nobr> <wbr></nobr>:-). The Write Mail icon could give a new mail window and nothing more. Would be far more easy for the average user to handle that instead of KMail, Thunderbird and whatever. Maybe I should start hacking KDE.</p><p>The last thing this article inspired me to was the gui notification system. How often am I disturbed by stupid, mostly unimportant messages by my desktop environment. There are actually better ways. Something like a system status log that would appear somewhere where it doesn't disturb and gives e.g. the last two events that would have lead to a message box otherwise. Another way would be to make the notifications intelligent. If I'm just typing an email or playing frozen-bubble, I don't want to know if my browser reports an error or not. Just put some heuristics in and it would be really nice.</p><p>The very last point for today is the intelligence of web browsers. We got a quite uniform system to find out if a domain name exists, called whois. But browsers keep telling me if I enter a non existent domain that the "server" is not responding. Think about that!</p> marcus 2004-03-09T22:42:16+00:00 journal Snow <p>We got snow! Actually quite a lot of it. Public transport is down and we got more than 40 traffic jams in the region. I like the way the modern human controlls nature.</p><p>Good that I walk to my university<nobr> <wbr></nobr>:-)</p> marcus 2004-01-29T07:25:08+00:00 journal I'm going to London <p>After all my plans seem to work somehow. I can do my internship at Fotango, which will be great. This keeps me from getting to far off home this summer. And I'm now on the speaker proposal list for the German Perl Workshop, what makes me really happy<nobr> <wbr></nobr>:-). The only thing I have to finish is my application for my scholarship for Toronto and this will be a joyfull travelling year. Juchuuu!!!</p> marcus 2004-01-20T22:53:33+00:00 journal Planning a year <p>Anonther week is over and I'm getting a small overview how my year might look like.<br>There are currently two chances to get out of germany. I got to do an internship beginning July, 19th and I'm applying for a scholarship to get to Toronto for the winter term.</p><p>But getting a job for my internship in Toronto is harder than I thought. What I actually thought would be the best idea was mailing to the mailing list and ask for help. The only two answers I got was one offering me to ask for a job in his company and another who told me that it is quite hard to find a job in IT in Canada even for locals. Quite promising. One of the professors of our university is also teaching at YorkU in T.O. but to depend on him in important matters is quite... not a good idea. The other problem is that I'd miss YAPC::EU, because I'd be in Toronto (and thus missing nearly every conference this year).</p><p>As I don't have many options, because my language knowledge is limited to German and English (and Perl<nobr> <wbr></nobr>;-), and Latin, but getting into Vatican is a no-op.) I got only one place to go to, Great Britain. But I'm not quite sure if that's what I want. I'll think that over and maybe ask for help.</p><p>The next problem I have is just plain room for living, as I know that there is a college in Toronto where I could stay but I've no experience with England (I've actually never been there).</p><p>Tricky situation.</p><p>I finished my new CV today, because when I'm going to apply for a job I'll need it, in either country. So I was quite productive. And I got to start to study a little bit, because I'm going to write exams in the first two weeks of February and I still have no clue about Maths.</p><p>We'll see, we'll see. Maybe I'll just contact the professor a second time to ask I've he'd provide me with the information I need, give him a deadline and otherwise look for a job in U.K..</p> marcus 2004-01-17T17:10:44+00:00 journal Annoying things <p>After having a looong day in university (most time spent thinking about what to do with the script I wrote once to check changes on websites in a statistical manner) I finally got home and lost the motivation to actually do anything with it.</p><p>Another annoying thing is that I again spent an hour to find a way to turn my local debian installation into a fine set of installation CDs. I still didn't find anything and fear that I got to write something myself. It doesn't sound that hard, because all you have to do is take all the packages installed, download them via apt-get, somehow fit them into a directory structure convenient for a installation CD, add an installer (there is actually more than one way to install debian, we got d-i (debian-installer), a port of RedHat's Anaconda installer to debian, the old way and I guess some more) and create ISOs. The problem is that I seem to be the only person on this planet who want's to do that instead of taking woody cd's to a friend, telling him that after installation he's got all "old" software, then to edit his apt sources and do a upgrade to unstable. This is bandwith consuming and needs time for conviction ("Why should I use something called "unstable"?").</p><p>There is much Perl in the Debian installing routines and apt-get, but I don't actually want to get started, because it sounds time consuming and I need to study for my next exams in February, I fear maths.</p><p>I finally got geekish, ordering my first set of T-Shirts and ThinkGeek. This will even more outlaw me, but some friend of mine told me that the binary people shirt is actually I fine way to get to know people (female) on a party. Hope they don't need to long to ship them over to germany<nobr> <wbr></nobr>:-).</p> marcus 2004-01-13T16:29:58+00:00 journal Survived first day <p>Today my university decided to steal again some of my valuable time. It is actually far more brutal than stealing, as I'm quite bored most of the time, at least on Mondays.</p><p>Tomorrow does not promise more, but I need to get some sleep. And I have to finish my regex talk till Thursday and that is getting much more a problem as I thought cause I can't really think of what to strip out in order not to bore my audience to death (all none perl guys with different skills in programming, quite hard).</p><p>By the way, there is a quite interesting incident this Saturday. The epoch will wrap around to 1000....</p><p>$ date -u -d "Sat Jan 10 13:37:04 2004" +%s<br>1073741824</p><p>$ bc -iq<br>2^30<br>1073741824<br>quit</p><p>Are we running into a big problem in 30 years?!?</p> marcus 2004-01-05T20:44:22+00:00 journal Survived Holidays <p>Having two weeks of Christmas holidays can be a tough thing. I thought I'd find time to do some work on Curses::UI and on a talk I'll give next Thursday, but my Family, Friends and heavy drinking consumed so much time that I was unable to do either stuff.</p><p>The last year ended quite easy for me, so it's time to schedule 04. I'm not quite sure what I want to do, but going back to T.O. (it's Toronto, Ontario for the unaware) is my first goal. Maybe in summer. Anyway, I'd like to join YAPC::EU, but as no date is set yet and YAPC::NA is quite early this year I fear to be on the wrong continent when either of both is held. But I'll survive this too.</p><p>German Perl Workshop is a big time problem, too, but I'll manage that. Maybe I'll give a talk, as they've not decided anything but the date till now. This depends on how my talk next week (about regular expressions) will be judged by the audience. We'll see. This talk is nonexistent, so I'll start creating some transparencies now.</p> marcus 2004-01-04T18:23:43+00:00 journal The Perl Standard Library When I look at that what I would call the Perl library at the moment, the CPAN, I see a whole bunch of modules (more than 14.000 when I remember my last count), some of them are OO, some are not and we got several different efforts running at the moment to make the situation, which is not bad but strange, better.<br> <br> Thinking about CPAN related projects that is what comes to my mind:<br> - The Phalanx Project<br> - CPANPLUS<br> - CPANTS<br> - The Core Modules<br> <br> The problem of all this is that we miss a real structure, something I will call the Perl Standard Library (PSL) from now on. <br> <br> See, we got all this beautiful modules which all more or less work with some version of Perl, some OS and some architecture. That is nice, as most of them work for me, on a Linux i386 box. Other platforms are hard to tell, e.g. Windows and compiling something can be really hard. <br> <br> The Phalanx project choose 100 modules, as I understand it to make it more or less the testing platform for Ponie, and try to improve them to be better modules(TM). CPANPLUS is an effort to make the management of the installed modules easier. CPANTS and make it more easy for the module developers to see their modules tested on hardware and version they don't have. The Core Modules (and the bad dual life modules) make Perl pumpkining harder (I guess so) and improve the basic functionality that Perl has. The Problem is that some useful modules are not Core (and maybe some useless modules are in core<nobr> <wbr></nobr>:-)). The next thing that is important in connection with module management is my OS vendor, or my Distribution as it is called in the Linux world. They bring a couple of modules, some CPAN original and just build for my version of the OS, or some changed ones, because a Dead Camel did not move and they needed the lib (as was a long time, at least SuSE, RedHat and Debian had their own patches because it didn't compile with 5.8.0). This all ends up in a big BLOB. I can't really tell by heart which modules are installed on my system, I'm not sure about every version number and can't promise that something I wrote works on every system. I don't have nothing to depend on when writing software, I don't have no Library. In my opinion a language is only as strong as it's library, but the problem with the library of my favorite language (guess what) is that it's library is maintained by over 1000 people and it has nothing you can rely on. <br> <br> What I want to say is that we should take a bunch of modules (as the Phalanx Project does), put the together, make it stable at mark it the PSL for 5.8.1. I don't have a list of modules I want to see in there, but I think it would be an advantage for Perl if we would take the material we got, take the material others contribute (like the modules which the distro vendors choose) and make something up we could depend on in eternity (or at least for the time Perl exists). When we have bundled it we could make another effort do restructure it, as I don't believe that the CPAN structure would fit all the time. Then we can improve documentation and make everything more homogeneous. One of the other problems with the CPAN is that there is no document I can think of that says how to do what with which module. There are many books out there that recommend many modules, but there is no single "Using CPAN" book out there that covers all of CPAN. <br> <br> To make myself clear again, what I would like would be a PSL project, that provides a big, stable and maybe pure OO library for Perl, version dependent, with easy to access documentation and that has obvious responsibilies. <br> <br> This is just an idea, maybe I have to restructure some parts and think over others. <br> <br> Another thing that came to my life lately was that another thing I'm missing at the moment is easier to install modules. I installed today just to recognize that it didn't compile because I had no ID3Lib installed. This is rather obvious but often it's hard to tell which libraries a Perl module depends on. Maybe this is something for the META files. The thing that I really didn't like was that the lib was just a line away (on my Debian) it's just 'apt-get install libid3'. I'd like to have something like CPANPLUS::Distro::Backend that would manage such thing for me. It's not very realistic to get something like that for every system, but if you can say the developer install lib foo it's more than just a missing include file. Would be some kind of community effort, but maybe it is possible. <br> <br> Enough revolutionary ideas for today<nobr> <wbr></nobr>:-) marcus 2003-10-27T22:13:04+00:00 journal Cure for headache: Release I did to much module maintaining in the last days and so I thought to stick to the old XP rule, release often.<br> <br> Somebody got to keep the PAUSE indexer busy. After having released GraphViz::ISA::Multi on tuesday (which after all is a fine module) twice cause a day of thinking about the code showed me some different algorithyms, I released both Curses::UI 0.8 and C::S::C 0.5 today. FREEDOM!! I didn't finish all the tests I planned for Curses::UI, but IMHO tests are something that grow and so I'll wait till the bugreports and test failures come in. After all it is a big step in my 2-steps-till-1.0 plan.<br> <br> CPANPLUS::Shell::Curses doesn't have that many changes, it is kind of colorful now (maybe I'll release a halloween-acme version in orange) and can show readmes again which is nice. And of course, I test for pod.... Maybe I should drop the Author of modulemaker a mail to include it...<br> <br> I'm still trying to find out how to release to CPAN, suggestions for a nice non TLNS are welcome.<br> <br> As I mentioned in the subject, I got an awfull headache today, but I think that is in connection to me having to write Java at univeristy.<br> <br> My next topic will be how to seem cleverer as you are, cause I voluntered for a talk at my local LUG and it will be about - guess what - Perl and I actually never gave a talk about a programming language, will be fun though.<br> <br> Good night, release often and regularly marcus 2003-10-08T20:38:21+00:00 journal Testing Curses::UI 2 &amp; OK, had a rather short day in university and thus a rather productive day at home, geeee. The short day in university was because we got a new practicing class in which we do --- Shellscripting. Will give me 2 hours of free time each week in this term<nobr> <wbr></nobr>:-)<br> <br> The problem with testing Curses::UI vanished after having some good idea: as I didn't want to test but Curses::UI I thought --- tada --- just replace it.<br> <br> Take, strip out all the code you don't need, use AUTOLOAD to define everything that is actually in @EXPORT and there you go. I just had to implement five functions myself, because Curses::UI expected different behaviour (shame on me, I forgot that @_ is just a list of references to the original values) and I had a running Curses::UI without actual Curses calls. That made me happy.<br> <br> Current count is about 98 tests, without doing really edge case testing or fault testing or testing complex things like the event system, but I think it is quite good. Will invest some more time and then release 0.8 (my precious).<br> <br> (What I forgot in my we summary was that I spend some time on forcing MPlayer to playback the audio in the LOTR:ROTK trailer, therefore I'm a little ringish at the moment)<br> <br> Did some work on CPANPLUS::Shell::Curses too, now it has colors (ugly red and green, but I like it). Is in CVS, the problem is that I had a bug in the Color support for status widgets and thus have to wait for me releasing Curses::UI 0.8 until I can release C::S::C 0.5 (I decided to go with the minor number of CPANPLUS to keep a better track of with witch version it works). And I added a test for the Pod. I think it is an easy way to get a test more<nobr> <wbr></nobr>:-) (Maybe I should start using Acme::Test) <br> <br> Ehm... yes. Ah, It's rather a quickhack than a Module, but I wanted to play webradios (<a href="">Kohina</a>) in a comfortable way (it is a Curses::UI Perl interface). I found the -slave option in MPlayer and thought it would be fun to implement the Perl Bindings, but the slave mode is (sorry) crap. Not really supported (as MPlayer is (I've never seen such an unfriendly mailinglist, they add automatically a "RTFM" message to every email)) and it does not really give featback. I don't know whether to put it on CPAN (have a look into it from my homepage and tell me). BTW I'm not sure whether to keep the name, too. Claiming a first level namespace is always.... ehm<nobr> <wbr></nobr>... sticky. (But it is quite idiomatic use MPlayer;). We'll see. <br> <br> Take a couple of hours of sleep now and think about new creative tests. And about when to release which module where (maybe CPAN<nobr> <wbr></nobr>:-). <br> <br> Good night marcus 2003-10-06T20:09:42+00:00 journal Weekend summary &amp; GUI Thoughts The weekend is ending and my new term starts tomorrow. Actually this a good thing because I got interesting classes like Local and Distributed OSes and two classes about Software Engineering, which sound all kind of interresting.<br> <br> This weekend started with me going mad about my emails. You know, as a kind of interrested person you get lots of mail, mostly from mailing lists. Last week I started getting some mails from my friend (worm) Sven and he didn't stop. I let all my email go through a german freemail provider, because they got spam filtering and virus protection and all the stuff and why should I do stuff myself when I can outsource it<nobr> <wbr></nobr>:-). I used to have my virus protection turned off (with a Linux system your always "secure") and had no problems till those Sven mails started (those mail all got stuck in the spam filter, but with about 100 a day my spamfolder got messed up and I needed far too much time to scan for false positives). The result till now that from 700 mails I got since frieday 5 p.m. about 220 were svenish. That's too much. The problem is that my mailprovider sends me a warning for each mail if it has a virus in it, so I got 220 virus warnings<nobr> <wbr></nobr>:-(. But I'm still better off, because on the one hand I see on first sight the false positives in my spam filter and recieving a 2KB warning is better than recieving a 300KB Virus mail over a 64K line.<br> <br> The next thing is again Curses::UI. I didn't really start writing the tests for all modules, but I finished the POD test. Starting tomorrow I'll write a test for a widget a day, I can't stand more boring things at one day. So I'll be finished end of this month. Actually there is a bug in Test::Pod docu, because it does not export <code>plan</code> which is mentioned in the SYNOPSIS. The other thing I did was trying GraphViz::ISA, which is a nice module for visualising ISA relations (Actually the whole GraphViz thing is a very nice module for visualising any kind of relation). The problem is that it does not support showing relations for multiple modules but shows only the tree for one module. I wanted it to show the whole Curses::UI Widget set and ended up doing a real nasty hack to make it do so. This actually looks quite nice, but I'd like to do it more cleanly and have it in GraphViz::ISA for later use. So I can add this to my TODO list. Will be fun.<br> <br> The last thing I did this weekend was thinking about usability. I had the nice experience that a friend of mine bought a new computer (with the "usual" WinXP on it) and asked me to help her getting started. Actually I wasn't needed that much because Windows was doing a good job on helping her. She always went like "I want to do bla bla bla" and the nice interface in Explorer always had the right shortcut (like "copy folder"). This and an article I read on slashdot about "Y" (Yet another X replacement) made me wonder about the way computer interfaces are designed today. The first thing I actually never realised was that most of the X apps (if they are not from the same desktop package) look always different. For a person like me, that on the one hand just uses software and on the other hand has the Matrix-like view on apps (just seeing widgets and imagining the underlieing code) this does not matter. For people new to computer it does. They need to do things on the same way in every app. The other thing is that interfaces should be more task-based. Everyone knows that Mozilla is a webbrowser, Evolution is an email suite and OpenOffice is an office suite. But you want to "browse the web" and not "mozill" or "read your email" and not "evolute". That's kind of stupid. Maybe all thos small Icons should vanish for some (ordered) task list. That would help people a lot more than a taskbar which actually never mentions a single task, but program names. I know that it is part of the creative process to give the program a name, but this does not help people and usability. Maybe we should redefine desktops and stop stealing what M$ already has.<br> <br> The last thing for this rather long summary is an idea a friend told me. He's starting to get used to the Linux world and has some interesting ideas. The best one he had till now was that one thing that is needed for Linux is something like the MS Office assistant for all of X (or KDE, or GNOME) to help people getting started. You can actually combine that with the "task based user interface" I talked about erlier, because if you can ask you Computer about how to do something it usually get's a lot easier. If you can tell your Computer "I want to move a folder" he can give you good (desktop dependend) hints. That's always kind of hard for people which don't have a clue about things like file systems, permissions and all the rest. They just want to do it, so let us help them do it. marcus 2003-10-05T19:07:37+00:00 journal Testing Curses::UI and version numbers I'm currently in a very constructive email chat with a (I guess) indish guy who keep constantly asking me how to do things in Curses::UI that are not even implemented. That's good, because he requested some rather usefull features like adding single items to a Listbox widget. Never thought of that and actually never did that. <br> <br> When thinking about Curses::UI and hacking it I always want to keep backwards compatibility, that's because I'm lazy and don't want to change my own programs that use Curses::UI. This can't be bad for other people.<br> <br> The problem is, as I took over Curses::UI there weren't really much tests. In fact, all tests in Curses::UI just test weather the modules compile, not their actual function.<br> <br> But how to test something that is rather a visual thing than something you can catch in the source. I mean, usually you test a module by knowing what a method should return and then using Test::Simple or Test::Moore. I guess about 75% of all subs in Curses::UI don't return anything. They just do something on the screen. And they don't know weather their call just worked or didn't. That's rather strange.<br> <br> It's actually not an excuse for not testing the 25% subs that return something. I'm going to do that before I release Curses::UI 0.80. The other problem that all the Test::* modules usually do output something, which can be hard if the screen is locked by Curses calls. This is a thing I've to figure out before I write the tests. The POD isn't tested either and this is something I consider as really bad. So besides all the other stuff I do I have to fix the and write tests for Curses::UI<br> <br> Another thing I just wonder about is versioning of modules. I got Curses::UI when it was version 0.70 or something and kept increasing the version number in steps of 0.01 for quite a while now. I think it's psychological more usefull to releas a verion 1.0 someday to tell people that I believe it is ready, stable and useable. Maybe I should create something like a releas plan. It should be easy to release a 1.0 version till christmas. I will release the next version, that has mostly bugfixes and the new tests I'm going to write till end of this month as a 0.8 version. After waiting for some fixes I'll go up to version 0.9 and if I find now showstoppers I'll release it as 1.0. Sounds far more easy than it will be. Only in writing all those test I will intoduce new bugs, find some, fix some bugs and write some new features, so I shouldn't be that optimistic.<br> <br> We'll see marcus 2003-09-30T17:42:35+00:00 journal