Archive for September, 2006

Hosting!

Tuesday, September 26th, 2006

Well, I decided on NearlyFreeSpeech.net. They offer a great service at very very good prices. I’ve registrered zerodogg.org, and it’s already up! Took 30 mins.

I’m still battling my old provider to get iamaturtle.org transferred to NearlyFreeSpeech.net, so far half-successfull (the domain is now in my name and unlocked), I just need the transfer code now. So we’ll see, maybe I get it before it expires. My old subdomains are now being forwarded to zerodogg.org (blog.iamaturtle.org -> blog.zerodogg.org and zerodog.iamaturtle.org -> zerodogg.org).

Hosting?

Monday, September 25th, 2006

My host sucks. The service they provide is great and cheap, but their support sucks. That is, I can live with slow response times, but they don’t answer me…ever.

So now I’m on the look for a new provider. I need:
- SSH access
- PHP(5)
- Multiple subdomains
- Good traffic (5+GB per month at a minimum I’d say, though I can live with less)
- Preferrably support for two domains (iamaturtle.org and another one)

Any hints? Put links in comments.

drakSimpleConf

Saturday, September 16th, 2006

I’ve been thinking of a method of creating simple configuration UIs.

Take the following config file:
RunMode = Inetd
AuthMode = Closed
Restricted = true

To create a simple configuration GUI for this I would write something like this:
filename is /etc/example.conf
setting RUNMODE can be (Inetd, Daemon)
setting AUTHMODE can be (Closed, Open)
option RunMode is RUNMODE with name "Run mode" and tooltip "Which mode to run in"
option AuthMode is AUTHMODE with name "Authentication mode" and tooltip "Which mode to use for authentication"
option Restricted is BOOLEAN with name "Enable restriction" and tooltip "Enable this if you want to enable restriction of user rights"

The initial filename option selects which file the config file is.
The first “setting” defines a type of entry in the config file that can be either of the value “Inetd” or “Daemon”. This would create a drop-down widget where you can select “Inetd” and “Daemon”.
The second setting defines the same for “Closed” and “Open”.
The first “option” defines that the option in the config file “RunMode” is of the type “RUNMODE” and the name of the option that is displayed in the GUI is “Run mode” and it has a tooltip saying “Which mode to run in”
The second is the same.
The third one defines that the option “Restricted” is of the predefined type “BOOLEAN” (which is predefined to be true/false, this creates a checkbox instead of a drop-down box).

Now begin your slaughtering. This is still just an idea. There is no code yet. What do you think of the concept of creating a whole configuration GUI for an app using a single file like this? I’m thinking it would be okay for daemons and such.
What do you think of the syntax? I just grabbed it out of my head today and thought it might work. I want the syntax to be simple and human-readable. The point is that you should be able to hack together a GUI for any program with a simple configuration file in a few minutes.

Flame me.