My gaffablog

Monday, August 21 2006 20:56 CET

Edit Test This entry is chenaged through an edit. Blog Home

Permalink

Monday, August 21 2006 20:56 CET

Ruby Home Page

http://www.ruby-lang.org/en/

Well, it had to happen, didn't it. I've started looking into the Ruby Programming Language, and I'm honestly, truly impressed! The main problem so far has been finding reasonable documentation. I'll post the links here as I find it, starting with the main Ruby page :-)

Permalink

Monday, August 21 2006 20:56 CET

Ruby Standard Library Documentation

http://www.ruby-doc.org/stdlib/

Confusingly, Ruby built-in classes and modules are documented on different pages from the Stdandard Library. Here is the doucmentation of the latter.

Permalink

Monday, August 21 2006 20:56 CET

Wireless Linux

http://prism54.org/forums/viewtopic.php?t=901

I've been given an old laptop by a friend. Plans are to stick some kind of Linux distro on it, end get it to work with a wireless USB adapter. I might get it to work as a dumb home server. I've always wanted one of those :-)

Permalink

Monday, August 21 2006 20:56 CET

Streamed Lines: Branching Patterns for Parallel Software Development

http://www.cmcrossroads.com/bradapp/acme/branching/

A paper on branching patterns. Looks like a good paper, posting it here so that I can get around to reading it in it's entirity

Permalink

Monday, August 21 2006 20:56 CET

CVS over SSH TODO

Chrooted tunneled read-write CVS server. Nice and short title. Contains some usefull info on setting up CVS over SSH. This is my next task for my CVS server.

Permalink

Monday, August 21 2006 20:56 CET

SSH tips, tricks & protocol tutorial

http://www.openbsd.org/papers/auug2002-ssh.pdf

A very short, to-the-point guide of using SSH for different putposes. Very good reference for most common use

Permalink

Monday, August 21 2006 20:56 CET

My home page

http://www.kyrrecool.net/

This is a link to my home page, it's been added using my eminent Gaffa Client.

Permalink

Monday, August 21 2006 20:56 CET

Firefox extension tutorial

http://extensions.roachfiend.com/howto.php

I've already mentioned the XUL tutorial. I also have to mention the Creating Firefox Extensions. This is the best starting point for anyone starting off developing extensoins

Permalink

Monday, August 21 2006 20:56 CET

Stdcall and DLL tools of MSVC and MinGW

http://www.geocities.com/yongweiwu/stdcall.htm

To-read: I'm trying several different versions of the excellent curl package at the moment, so that I can use ut in my MSVC projects. One of the options is to use the MinGW-compiled dll, but I'm having problems linking my MSVC project to it. Hopfully this page will give me some pointers.

Permalink

Monday, August 21 2006 20:56 CET

Tool for checking Solaris memeory usage

http://security.royans.net/projects/solarismemory/

Just something relevant to work. Blogging it so that I don't forget

Permalink

Monday, August 21 2006 20:56 CET

Possibilities for the Gaffa Client

I've been reading about Mozilla development latelut, and this got me thinking about a few options fior using Mozilla to post items to the blog. One is a context-menu that allows you to blog a page (ie a link with description), another is a page to write a general entry.
Have to find out how to send the data back to the server, though.

Permalink

Monday, August 21 2006 20:56 CET

Mozilla update test

I've updated my Firefox installation to 1.0, and had to change the MaxVersion setting in install.rdf to make it work. This is just a test to see if it really works. Fingers crossed!

Permalink

Monday, August 21 2006 20:56 CET

ViewCVS

ViewCVS tarball.
ViewCVS Home
Installation document

Permalink

Monday, August 21 2006 20:56 CET

Things are starting to come together

My gaffablog is starting to come together, providing some basic functionality. This item will try to sum up some of that functionality

Gaffablog is a very simple, RESTian blogging tool. It's currently html-only, and has no real custimisation functionality.

I have to tie up some loose ends, and provide a simple client before I release any code. Eventually, I hope to use this as a productivity tool. In other words, the functionality I eventually implement will be to aid application development.

Permalink

Monday, August 21 2006 20:56 CET

Struts 2.x Proposal

http://svn.apache.org/viewcvs.cgi/*checkout*/struts/trunk/contrib/struts-shale/README.html

I'm planning to getting around to reading this. My first small projects were made with struts, and it'd be interesting to see how things have progressed. Getting slightly out-of-date on the Java front now that I'm programming C++...

Permalink

Monday, August 21 2006 20:56 CET

Curry Recipes

http://www.curryfrenzy.com/

Mmmmmm.....curry!

Permalink

Monday, August 21 2006 20:56 CET

Solaris memory fact

I've been having a bit of a problem with what seemed like a memory leak in a program on Solaris. After lots og googling, i went back to Solaris and consulted the man-page for malloc, and a surprising fact came up:

The argument to free() is a pointer to  a block previously allocated by malloc(), calloc(), or realloc(). 
After free() is executed, this space is made available for further allocation by the application,though not returned to the system. 
Memory is returned to the system only upon termination of the  application.  
If ptr is a null pointer, no action occurs. If a random number is passed to free(), the results are undefined.

This, in effect, means that the reported memory use (and the actual as far as the os sees it) is the max memory use of that process!

Permalink

Monday, August 21 2006 20:56 CET

Building with Rake

http://onestepback.org/articles/buildingwithrake/

I'm a bit annoied at Ant not being good enough to really capture dependencies between different files or sets of files, resulting in most Ant builds building everything, every time. Or you have to specify different targets to skip parts of the build. I want to specify a full build, but not building more than is neccesary, mostly by using timestamps on the files to figure you what must be built, and what is unchanged. This presentation goes through Rake, a Ruby Build tool (I'm all Ruby these days), covering most of the stuff that would be useful in that respect.

Permalink

Monday, August 21 2006 20:56 CET

NVU - The new Composer

http://nvu.com/index.html

I've always used Composer for my serious HTML editing (not that I've done to much of it). Now it's predecessor is getting closer and closer to a release, now under the great name of NVU (yes , another TLA). Posting the link, so that I can keep up with development of a very promising project :-)

Permalink

Monday, August 21 2006 20:56 CET

NDISWrapper

http://portal.suse.com/sdb/en/2004/04/pohletz_ndiswrapper.html

Hopefully the solution on hpw to get the wireless to work on Linux. No I only have to get the wireless kit...

Permalink

Monday, August 21 2006 20:56 CET

REST and the real world

http://www.xml.com/pub/a/ws/2002/02/20/rest.html

A bit more REST reading.

Permalink

Monday, August 21 2006 20:56 CET

Wikipedia entry on ITIL

http://en.wikipedia.org/wiki/Information_Technology_Infrastructure_Library

I'm reading up a bit on ITIL, and found a very informative entry on Wikipedia

Permalink

Monday, August 21 2006 20:56 CET

Test

First test using my Firefox extensoion client

Permalink

Monday, August 21 2006 20:56 CET

http://www.xml.com/pub/a/2004/12/01/tr.html

Read this

Permalink

Monday, August 21 2006 20:56 CET

http://www.xml.com/pub/a/2004/12/01/tr.html

Read this

Permalink

Monday, August 21 2006 20:56 CET

Architecture of the World Wide Web, First Edition

http://www.w3.org/TR/webarch/#information-resource

Another link I got from "How to create a REST protocol", discusses core design principles of the Web. Posting this so that I can get back to reading it entirely.

Permalink

Monday, August 21 2006 20:56 CET

TODO for the Gaffa Client

This would, of course require som XML representation of the list of entries, and the ability to navigate to a single item and do the required action on that

Permalink

Monday, August 21 2006 20:56 CET

libwww Web Commander

http://www.w3.org/WinCom/

GUI for using RESian servcies over HTTP/1.1 Looks quite cool!

Permalink

Monday, August 21 2006 20:56 CET

A question on XUL Planet

http://xulplanet.com/forum/viewtopic.php?t=1153

I've posted a question on argument passing to XUL windows on XUL planet. I post the link here, so that I don't forget to check it later :-)

Permalink

Monday, August 21 2006 20:56 CET

Ruby Standard Library Documentation

http://www.ruby-doc.org/stdlib/

Confusingly, Ruby built-in classes and modules are documented on different pages from the Stdandard Library. Here is the doucmentation of the latter.

Permalink

Monday, August 21 2006 20:56 CET

XulPlanet

http://www.xulplanet.com/

In writing Firefox Extensions, I've used the excellent tutorials at XUL Planet (see link). A must for any Xul/Firefox extension developer!

Permalink

Monday, August 21 2006 20:56 CET

Sourceforge CVS details

I've been looking a bit into how one can use the CVS special files to add functionality to CVS, for example by being emailed on commits, tags, etc. I stumbeled over a document describing Enhancing Project CVS Services using Scripts. I've not had the time to read it carefully, but it seems to have a few pointers on extending CVS functionality.

Permalink

Monday, August 21 2006 20:56 CET

Datakyndig

http://media.putfile.com/Datakyndig

A small, norwegian snippet a friend sent me a link to. I've not got a chance to listen to it at work, so I'll blog it and get back to it later.

Permalink

Monday, August 21 2006 20:56 CET

Locale and 8bit Characters

http://www.in-ulm.de/~mascheck/locale/

I'm having a hell of a time trying to do LDAP searches from a C client for anything containing Norwegian characters. To me, it seems to have something to do with Locale settings and/or character sets not being set up properly. I'll try reading this and see if it's of any help.

Permalink

Monday, August 21 2006 20:56 CET

Sockets programming in Ruby

https://www6.software.ibm.com/developerworks/education/l-rubysocks/l-rubysocks-a4.pdf

Also contains some useful references on general socket programming

Permalink

Monday, August 21 2006 20:56 CET

Firefox extension install generator

http://ted.mielczarek.org/code/mozilla/ffinstall/index.html

Handy tool to make the install files for Firefox

Permalink

Monday, August 21 2006 20:56 CET

XMLHttpRequest

http://www.xulplanet.com/references/objref/XMLHttpRequest.html

Details on the XMLHttpRequest, that I use to send the post request to the blog on the server. Really usefull for any HTTP client extension

Permalink

Monday, August 21 2006 20:56 CET

Blog design This is a blog I'm makig for several reasons. Fistly, I have a cgi-enabled server, and it runs Python, so why not?
Secondly, it's interesting to see what I can do from as limited resources as this is. All Python (which is not at all a limitation), all CGI (quite limiting), and no extra binary-installations allowed (which has some real limitations)
I've made the blog quite RESTian, but at the moment it only supports GET (show entries) and PUT (new entry). I'll implement POST as soon as I am a bit more satisfied by the way things are looking for the first ones.
I do have some plans to make it Atom-enabled, but first i want to be able to make the easiest implementation that is usable.
More on Atom later.

Permalink

Monday, August 21 2006 20:56 CET

XBEL Documentation

http://pyxml.sourceforge.net/topics/xbel/docs/xbel.pdf.gz

XML Bookmarks exchange format. Looks good :-)

Permalink

Monday, August 21 2006 20:56 CET

Configuration Management Yellow Pages

http://www.cmcrossroads.com/yp/index.php?oldpage=configuration_management.html

Lots and lots and lots of links to documents, books, tools, etc. on hte subject of configuration managenent.

Permalink

Monday, August 21 2006 20:56 CET

This is a test

http://www.kyrrecool.net/

Testin, 1, 2, 3

Permalink

Monday, August 21 2006 20:56 CET

How to create a REST Protocol

http://www.xml.com/pub/a/2004/12/01/restful-web.html

This article covers the main questions one would as oneself when designing REST services. Short, to-the-point and very well written

Permalink

Monday, August 21 2006 20:56 CET

2005 calendar with Norwegian hollidays

http://www.timeanddate.com/calendar/index.html?year=&country=18

I finally found a calendar on the net with all Norwegian hollidays on them. Now, if I could only find one with all my family members' bithdays...

Permalink

Monday, August 21 2006 20:56 CET

PHP Text DB API

http://www.c-worker.ch/txtdbapi/index_eng.php

This is a nice little feature. Since I don't have a DB available on my hosted server (I can get access to MySQL, but at a price), I've been looking at hosting a flat-file-db that handles SQL. That's exactly what this is! It's PHP, but it's quite nice, and comes with it's own web-based admin.

Permalink

Monday, August 21 2006 20:56 CET

GForge documentation

http://gforge.org/docman/?group_id=1

This seems good. It's supposedly a fork from Subversion. You can either register, or download and set up a personal or corporate Sourceforge-like server

Permalink

Monday, August 21 2006 20:56 CET

Solaris Memory Management

http://www.sun.com/sun-on-net/performance/vmsizing.pdf

A document detailing memory management in Solaris.

Permalink

Monday, August 21 2006 20:56 CET

Some more setup details

I've now created a repository with one user, myself :-)
I have to add more of the users, but this is enough to be able to change the config, etc. It's been set up as follows:

Permalink

Monday, August 21 2006 20:56 CET

generics-tutorial.pdf (application/pdf Object)

Permalink

Monday, August 21 2006 20:56 CET

Valgrind article

http://www.linux-mag.com/2003-05/compile_01.html

I'm doing quite a bit of C++ programming at work, and have just started using Valgrind for debugging memory problems. This article is, as far as I can see (I've not read it all in detail) a good introduction to the Tool.

Permalink

Monday, August 21 2006 20:56 CET

National Characters in LDAP search filters

http://swforum.sun.com/jive/thread.jspa?threadID=51008

Another question posted at the Sun Developer Forum. Hope I get a response this time :-)

Permalink

Monday, August 21 2006 20:56 CET

Learning Ruby

http://www.math.umd.edu/%7Edcarrera/ruby/0.3/

A good tutorial on Ruby, gets you up and running in no-time together with the reference material.

Permalink

Monday, August 21 2006 20:56 CET

HTTP and Web Architecture

Someone asked me about finding introductary information on web architecture and HTTP, so I hunted down some old (and some new) links I had. I'm posting these links here, for posterity.

Permalink

Monday, August 21 2006 20:56 CET

CVS Setup

I've used two sources of information for this: One is the excellent CVS manual. This contains som e information on how to install CVS server with the basic pserver protocol.
The only difference to the manual is that I installed it using xinetd instead of intetd. There are plenty of documentation on doing that around on the net, a simple search on google will give you more info than I could possibly give or link to here.

Permalink

Monday, August 21 2006 20:56 CET

Struts best practices

http://www.javaworld.com/javaworld/jw-09-2004/jw-0913-struts.html

More Struts stuff... I promise I have to geta around to reading this stuff one day...

Permalink

Monday, August 21 2006 20:56 CET

Subversion article in Norwegian

http://www.linuxguiden.no/index.php/Subversion#SSL-kryptering_ved_bruk_av_Apache_og_mod_dav_svn

A coleague of mine pointed this article out to me. I'm going to do a small talk on Subversion vs. CVS soon, so this piece gives me a bit of input on the norwegian terminology, rather doing it in norglish

Permalink

Monday, August 21 2006 20:56 CET

Tangled in the Threads

http://udell.roninhouse.com/bytecols/2001-08-15.html

A nice article by Jon Udell comparing RPC-style web services and using the URL line

Permalink

Monday, August 21 2006 20:56 CET

Ruby Class and Library Reference

http://www.rubycentral.com/ref/

A good reference for the built-in Ruby objects and modules.

Permalink