My gaffablog
Monday, August 21 2006 20:56 CETEdit Test This entry is chenaged through an edit. Blog Home
Monday, August 21 2006 20:56 CET
Ruby Home Page
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 :-)
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.
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 :-)
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
Monday, August 21 2006 20:56 CETCVS 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.
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
Monday, August 21 2006 20:56 CET
My home page
This is a link to my home page, it's been added using my eminent Gaffa Client.
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
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.
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
Monday, August 21 2006 20:56 CETPossibilities 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.
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!
Monday, August 21 2006 20:56 CETViewCVS
ViewCVS tarball.
ViewCVS Home
Installation document
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.
- Blog items are added using HTTP POST, edited through HTTP PUT, and retrieved through HTTP GET.
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++...
Monday, August 21 2006 20:56 CET
Curry Recipes
Mmmmmm.....curry!
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! 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.
Monday, August 21 2006 20:56 CET
NVU - The new Composer
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 :-)
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...
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.
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
Monday, August 21 2006 20:56 CET
Test
First test using my Firefox extensoion client
Monday, August 21 2006 20:56 CET
http://www.xml.com/pub/a/2004/12/01/tr.html
Read this
Monday, August 21 2006 20:56 CET
http://www.xml.com/pub/a/2004/12/01/tr.html
Read this
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.
Monday, August 21 2006 20:56 CET
TODO for the Gaffa Client
- Open the posted item in a new Tab in Firefox
- Ability to get and edit a single item
- Ability to delete an item
libwww Web Commander
GUI for using RESian servcies over HTTP/1.1 Looks quite cool!
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 :-)
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.
Monday, August 21 2006 20:56 CET
XulPlanet
In writing Firefox Extensions, I've used the excellent tutorials at XUL Planet (see link). A must for any Xul/Firefox extension developer!
Monday, August 21 2006 20:56 CETSourceforge 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.
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.
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.
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
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
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
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.
XBEL Documentation
http://pyxml.sourceforge.net/topics/xbel/docs/xbel.pdf.gz
XML Bookmarks exchange format. Looks good :-)
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.
Monday, August 21 2006 20:56 CET
This is a test
Testin, 1, 2, 3
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
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...
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.
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
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.
Monday, August 21 2006 20:56 CETSome 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:
- cvs directory is /cvs
- Uses pserver
- Uses impersonation to the cvs user
- Created a group for cvs admins, they must have a linux user, and be added to the cvs group in order to be allowed to change the cvs admin files (like passwd)
generics-tutorial.pdf (application/pdf Object)
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.
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 :-)
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.
Monday, August 21 2006 20:56 CETHTTP 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.
- Web Architecture from 50,000 feet
- W3C
- HTTP 1.1 RFC
- Architectural Styles and the Design of Network-based Software Architectures. Roy Fielding's famous dissertation
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.
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...
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
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
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.