Read posts about website

November 25

Website ideas for the near future (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

It's been a while since I worked on the backend of this website. There are a few things I've been meaning to work on, so I may end up doing them sooner or later.

* Code cleanup. Currently, things work fine but the code is verging on becoming a mess. In light of future management it's best if I start cleaning up things.

* Minor debugging. There are one or two small things which don't work properly that I still want to fix, like the page reload after leaving a comment.

* Standardization of tags. Up until now I've been using new and random tags for just about every post I make, except for the articles or recuring subjects. This has made the tagging of my posts rather useless. It'll be a hell of a job, but I want to go over all the tags I have and rewrite them to a standardized set.

* Speaking of tagging, I'd like to learn how to make a tag cloud. That should be an interesting experience and it might be a nice addition to the site.

Time to setup my staging area again! I'm not doing all this stuff on the production server ^_^

Posted in: development , website
February 7

My sad, sad web page (Punkadyne Labs (Punkwalrus))

Holy crap, my web sites sucks. I mean, it used to be fairly decent, but it’s stuck in 2003 based on some programming I did back in the late 1990s. I keep meaning to update it, but I can’t think of a style or layout, nor do I have the time to really redo it.

My site has changed focus so much. It’s all about my blog now. And Flickr photos. I know I can easily incorporate them into some basic framework, but I have to actually, you know, DO it. I have scanned through some free templates, and they all suck.

So I downloaded Bluefish, and started on it there. That’s when I realized most of my CSS knowledge has decayed from disuse. Which means I’ll have to read up on it again. And that requires work and time.

I am considering a Victorian theme. I’d do a comic or anime theme if I knew some good cartoon illustrator who’d do it for free (or some free meals). But all the ones I know that I like their style... do it for money. And with good reason.

Maybe I'll add "need to learn how to draw" to that list. Posted in: html , web , website
August 23

Differences between OS X and Windows font rendering (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

The design and code behind the new site is about 98% done, but there's still one thing that irks me. Apparently fonts are rendered very differently when you compare OS X and Windows.

The new design looks wonderful in Safari and Firefox on OS X, but some of the DIVs are not wide enough on Windows. Why the heck is it that "verdana 10pt" isn't the same size everywhere?! On OS X the menus look neat and tidy. On Windows the characters get huge and start wrapping around to a new line. Meh...

I'll have to bang on that a little bit more :/

Posted in: darn , font rendering , overhaul , redesign , website

Differences between OS X and Windows font rendering (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

The design and code behind the new site is about 98% done, but there's still one thing that irks me. Apparently fonts are rendered very differently when you compare OS X and Windows.

The new design looks wonderful in Safari and Firefox on OS X, but some of the DIVs are not wide enough on Windows. Why the heck is it that "verdana 10pt" isn't the same size everywhere?! On OS X the menus look neat and tidy. On Windows the characters get huge and start wrapping around to a new line. Meh...

I'll have to bang on that a little bit more :/

Posted in: darn , font rendering , overhaul , redesign , website
August 19

A weird problem with PHP/MySQL/CSS/HTML (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

I've no clue what's going on and I don't like it. No sir, I don't like it at all.

I've almost finished the programming work on the new version of my website. Most of it seems to be working rather nicely and I've hammered out most bugs. Most of the code has been greatly improved and I've taken away a lot of the extraneous PHP files. For instance, no longer will I need six separate PHP files to display blog posts and the archives, nor to add or view comments. All of that is now handled by two site-wide scripts. Nice.

Of course now that things are wrapping up it's time for the weird bugs to show up. I should've learnt my lesson from The soul of a new machine. I mean, I've only read that book three times. :/

Anywho... This morning I added three articles to the database, through Firefox on my Powermac. All three of these articles show up with completely screwed make-up. The CSS is completely ignored, as is the HTML and some parts of the text itself. Two articles that were added after that show no problems whatsoever. The problems are independent of which index.php file I use to view them as each of these shows A) the buggy posts incorrectly and B) normal posts correctly.

So there's -something- in these three posts that's interfering with the post displaying code that I've written, that doesn't show up with any of the other posts. Remarkable. At first I thought this might be due to these posts having been written on my Powermac, as opposed to my Macbook. Who knows, maybe there's some difference in character encoding or whatever between the two. But no dice. I replicated one of those posts using my Macbook and the same problem pops up.

Weird.

I'm gonna have to spend some midnight oil on this =_=

Posted in: overhaul , programming , website , weird problem
August 18

Story Tracker (Stonetable) by Adam

When I was running WordPress I wrote a small plugin to track stories, word count, status, etc. Part of the reason for switching back to MovableType is that it's running perl and I just love writing perl code. Now that the move is complete, I've started on a Story Tracker plugin. Basically, it gives an author a nice little interface to keep track of a story -- title, word count, genre, if/when it's submitted/published. Basically a glorified spreadsheet. Coming from the Open Source world, I like doing things out in the open where other people can learn from my mistakes. Once those basics are done and I'm generating some nice looking widgets for the sidebar to the right, I'm looking at adding licensing information (Creative Commons) and display options. It's all for fun, but hopefully in the end it'll be useful to someone other than myself. Posted in: geek , website , writing
August 13

Upgrades (Stonetable) by Adam

Long story short, I've decided to switch back to Moveable Type running on stonetable.org. I'll be cross-posting to my LiveJournal, so my friends who read me there will be able to continue uninterrupted.

The nitty-gritty boring stuff follows.

I used Moveable Type when I first registered stonetable.org sometime in the 90's (whois will only show back to 2000, when I had to pay to recover it after letting the registration lapse). At the time, I only had a passing knowledge of perl so I couldn't do much in the way of custom modifications. Eventually I just installed WordPress, since I knew PHP fairly well and everyone else I knew seemed to be using it.

That lasted for quite a number of years. It's run well for me, but I decided it was time for a change for a number of reasons. I did switch to LiveJournal for a couple of months with the ultimate goal of combining the two. I was just struggling with the right way to do it. That's when I came across Joseph John Adams solution. He had the exact type of setup I wanted, so I sent him and email and asked him how he did it. As it turns out, he's just using Moveable Type on his website, and a now-defunct plugin called ljcrosspost that I managed to find a copy of. With it, I can keep posting to the domain that has really become my online identity and those posts will be automatically posted to my LiveJournal. I really like the community feel of LiveJournal and I'll continue to be active there. This just gives me a way to utilize both channels.

Another reason for the switch is that I now breath, eat, and sleep perl at my day job. I prefer it over any of the programming languages I've used in my career. Since the core of Moveable Type is perl, I feel completely comfortable writing plugins and hacking in to it whatever I feel I need.

I'm using a stock theme right now, but fitting given my location. I'll spend some time tweaking the theme and sidebar when I'm bored.
Posted in: website
August 9

A sneak preview: comments RSS feed (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

The past few weeks I've been working hard on the code behind the new version of this website. I'm quite proud of how things are turning out so far, though there are still loads of bugs to squash.

I've decided to implement one of the features for the new site in the current build as well. Let's call it a sneak preview ^_^

By subscribing to this RSS feed you will automatically get all comments left at my blog. That way, if you've left a comment or two, you won't have to come back repeatedly, just to check if someone answered your comment.

I'll be using this feed myself too. I favour it above the current scheme which sends me an e-mail every time someone leaves a comment.

Posted in: comments , redesign , rss feed , sneak preview , website
July 26

Making big changes to my website (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

The database model for my site's backend.
One of the benefits I reap from my move to DreamHost is the fact that I can now host multiple websites in parallel. This allows me to run both the production website and the work in progress on the same system, without one affecting the other.

For this overhaul of the site I've got two major changes planned:
1. The whole look and feel of the website.
2. Programming like I should, not like I can.

The first goal is easy to describe. My website has had the same look for over four years now, with only minor changes being made to banners and logos. This may make it recognizable, but it's also become a bit boring. Understated may be good, but dull never is. I'll still be using the same basic elelments, but they'll be arranged differently. The menu structure is going to change quite a lot and hopefully things will look just a bit more spiffy(tm).

The second goal is going to take a lot of hard work and a lot of deep thought. I recently read an article that suggested that one should keep all content in the backend database, as opposed to in the code. This may sound logical, but how many people fall for same trap?

For example, the menu in the Archives contains a list of months for each year with a month being a link to the list of relevant posts. If there aren't any posts for that month, there are no links. In theory that sounds great, but in reality it's all hard coded :( While it would be relatively simple to write the code to automatically generate the menu structure, I've written out all <a href> lines by hand. Yuck!

The menus in general are a good example as well! Instead of generating the contents of the menu automatically, I've created a bunch of HTML files with all the links that get included by PHP. Nasty. The same goes for all the articles I've written so far: all included HTML files.

But all of that is going to change! I've already redesigned the database backend and implemented the requisite changes. The picture above is a model of how things connect. When compared to other websites it's definitely not rocket science, but it's still a nice learning experience for me. For example, all the yellow tables are supporting tables that contain lists of types. Types of items, types of wishes, types of beliefs, types of links. E.g. wish X is of type 3, which in table wishtypes relates to the type book. I'm sill pondering whether I should just pile all types into one big table, thus saving a bit on complexity...

Some of the more intricate stuff that I'm looking at regards the sections of my site. Currently the division is made with file system directories. With my new approach I'll be using a new database table (sections) for the same purpose, although I'm not entirely sure if I'll completely drop the use of directories. The sections also have a great impact on the menus, since this time around I'll be using the titles and section numbers for articles to build the menus. This left me with one quandary: how to properly sort the menu listings. For now I've opted for an approach similar to a tree (the programming structure, not the foliage) where each article has the below characteristic that contains the ID number for the article above it.

Ah well... Loads of work to be done! :) Let's get crackin'!

Posted in: backend , database , php , redesign , website
July 18

Finally, all blog posts are in the database (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

Finally! Thank $DEITY. All of the archived blog posts are now in the MySQL database. I've entered the full years 2002 and 2003 in one blow tonight. *phew*

That should help me settle into the Dreamhost account.

Posted in: blog , blog posts , database , mysql , website
April 10

In other news, here's some updates (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

* Family

My mother and her husband had flown over to the Netherlands for a long weekend, so we went to see them at my sister's yesterday. It was very nice to see them again since it'd been at least a year! I'm sorry to say that we had to leave early, in part due to the crap I described in my previous blog post.

@ Anu: we're sorry for leaving so early, we really -do- miss you you know? :)

* Website

I've been cooking up ideas for a completely new build of Kilala.nl. Most of the content will remain the same (although some parts will be taken offline) and the change will be mostly visual. I plan on finally -really- learning CSS so I can implement some nice, graphical trickery.

In order to get to a point where I can start working on the new code I'll first need to get some things sorted. I'm already working on moving all archived blog posts into the database (only 2002 and 2003 remain) and I've set up MySQL + PHP on my Powermac so I can run a local version of the website. Still, it'll be a very long road 'till I finally get to the end result and I hope that the creative process involved will keep me a bit happier.

* Doubts about work (see yesterday)

One of the doubts I was talking about earlier, about work, is that I would love to do something more creative than systems administration. Of course I "make" stuff now as well, but I can never go: "This is me! This is what I've built! Marvel at my handiwork!". Scripts and proposals and solved incidents just aren't tangible like that.

I think this website is here to at least partially fill that gap: I'm trying creative processes that I never would get to use otherwise. Thing is though, jobs with tangible, creative processes start to sound more and more enticing! Jobs like gardening, cooking and carpentry where you make something and people care.

That's something jobs in IT are renowned for: most people outside your sphere of influence, but inside the same organisation, don't really seem to care about what you do. So if you're part of a team of sysadmins the "we care"-level drops steadily once you moved outside your department.

For now I'll stick to my current job and get more creative hobbies. There's still that sewing project lying in the corner and woodwork sounds rather relaxing by now :)

Posted in: family , mother , overhaul , website
March 17

Rudimentary search capabilities added (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

Hooray for another new feature to the website: searching \o/

Right now it's rudimentary at best, with the following limitations:
* It only searches through titles and blog post contents. No tags or articles outside the database.
* You cannot use (double) quotes to strong together queries like "os x". The quotes will be removed by Dirk's MakeSafe function and thus the search will find all posts containing both os and x.

Still, better than nothing ^_^ Now all I need to do is enter all the blog posts from before July 2005 into the database.

Posted in: new features , search , utfs , website
March 3

Adding new functionality to the website (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

Recently I've been expanding the functionality built into my website's CMS. A few days ago I implemented the Flash audio player which allows me to inline MP3 files and today I'm adding something new again!

Instead of just plonking links to video in the blog posts I can now inline video as well. It doesn't like very pretty just yet, but I'll try and find a way to make things look better. The video player functionality comes courtesy of the Anarchy player project of the An-Archos network. It works rather nicely, as you can see here.

Posted in: functionality , video , website
December 20

Keeping it real: no frills, just simplicity (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

*sigh* I got a little bit carried away with the whole Meebo thing today.

I was introduced to Meebo by a colleague as an easy way of having MSN (and other IM) access at the office, which works a treat. But in the meantime I also got enamored with the Meebo-me messenger widget that could be embedded into my website. "Wouldn't it be cool," I thought to myself, "if some passing stranger would be able to chat me up through my front page?"...

Well... Let's put aside that the widget looks ass when combined with my site's design. Seriously? Who the heck is going to "chat me up"? :D So after mucking about with my site's CSS for an hour or two, trying to make things look "nice", I decide to just fuck it and dump the whole idea. It was a rather dumb idea to begin with anyway.

Got caught up in the Web 2.0 hype, shall we say? So now it's back to who I am: somber, functional, no silly frills. :)

RSS feed = handy, functional.
Tagging = handy, semi-functional.
Meebo chatty widget = silly. Posted in: meebo , website

Don't mind me. Just hacking at index.php (Kilala.nl (Cailin Coilleach)) by Cailin Coilleach

Never mind me folks. Pay no attention to the screwy layout of the front page. I'm mucking about with the CSS of my site, trying to get that Meebo widget positioned the way I want it :)

It'll all be over soon. I promise... Posted in: css , learning new stuff , meebo , website