Skip navigation

Monthly Archives: February 2008

I Repeat: Do Not Listen to Your Users:  An interesting post from Jeff Atwood on users, nothing new but interesting none the less.

ASP.NET MVC Framework Scaffold Generator: Scaffolding for ASP.NET MVC!!

Alligator Tags: Like but for ASP.NET


And I am not capped, not downloading anything, or anything like that.

Sriram Krishnan: Cacheman – a fast distributed hashtable for Windows
I’m gonna have to keep an eye on this. It looks seriously awesome.

Blogged with Flock

Tags: , , ,

Today, as I was coding away at one of my projects, I found myself writing the same code as I had written before, the code in question was producing a couple of html pages.

So I decided to turn it into a .NET  library, 20 minutes later [the imaginatively named] HTMLTools was born.

As with most of my personal projects, It has no XML documentation, it should be easy enough to understand and work with. To produce a simple web page with a heading, this is what you would write:

using Josh.HTMLTools.HTMLGeneration;

class Program
static void Main(string[] args)
List<IHtmlElement> elements = new List<IHtmlElement>();

elements.Add(new GenericHtmlElement(“h1”, “Hello world”));

HtmlPage page = new HtmlPage(“test”, elements);


This will also save the page as Test.html in your program’s working directory.

here is the download link.

(yes I do realise that SingleTagElementType is completely random and has no use, I was planning to implement a feature that I decided to leave out for this release, after I uploaded it to Assembla)

as with most of my programs, you are free to do whatever with it, just give me some credit if possible.

If you have any questions or anything, feel free to leave a comment or send me an email (jhektor %at% gmail _dot com)

Yesterday for some unknown reason I decided to have a play with the planet software (this is the software that I sort of ported to the .net stack with JRN).

For my Install I used the Venus build (download here), I did this because Venus uses a flat file db system that works better on Windows.

After around 10 minutes of playing around with the config file I was able to start it with a simple command (python Josh/config.ini for those playing at home).

And the I suddenly realized how planet manages to be so fast, it generates static HTML pages and outputs them into a folder (I know it said that on the planet homepage but old age is starting to get me…)

So after a bit of consideration, for the next 6-10 months I have decided to not do any development on JRN in order to get some new ideas and finish some of my [incredibly large amount of] unfinished projects and to also try and get planet working with IronPython.

Blogged with Flock

Tags: , ,

defmacro – Functional Programming For The Rest of Us

Blogged with Flock

Tags: ,

So, a couple of nights ago, I was programming a web comic downloading library, and I needed to test a few things, so I started writing a test application.

After about five to ten minutes and a lambada or two I ended Up with an application that writes to the console the total number of Friday’s since 01/01/0001(as far back as .NET would allow me to calculate).

After I had done that, I decided that I would expand my application to all the days in the week (as you do).

as this is slightly interesting(well to me at least) here is the output from when I ran my program a few minutes ago:

Number of days as of 16/02/2008 4:07:51 p.m.
Monday: 104726
Tuesday: 104727
Wednesday: 104727
Thursday: 104727
Friday: 104727
Saturday: 104727
Sunday: 104727

I have not published the code as it is rather ugly, but if you want it email me or leave a comment on this blog

Blogged with Flock

Tags: , ,