Sorry about the lack of news…

I haven’t updated GimpsterDotCom lately, sorry about that :-(

An easter chicken Let me just give you a quick recap of the last few weeks… I had my Easter Holidays, and it was great. I spend a couple of days visiting my family in Aalborg, and I spend the rest of the time here at [Skejbygård][], enjoying the sun and the wonderful people you find here.It really made me long for the summertime which is just around the corner…

When I got back to [Skejbygård][], I discovered that Kristian Kristensen was going to Århus for a MicroSoft seminar on DotNet. So we met afterwards his seminar and I gave him a tour of DAIMI at the University of Aarhus and Århus itself before I showed him [Skejbygård][] so that he finally could see how and where I lived. It was really great to get together and talk about “old days”.

Skejbygård logo We’ve also had a “Decade Party” here at [Skejbygård][]. The name “Decade Party” means that the music that was played was grouped into music from different decades along the evening. We started with dinner for all of [Skejbygård][] at 19:00 and then the party was held afterwards. At 21 to 22 the music was from the 1930s: swing with the bartenders were dressed up like people from an old gangster movie. Then there was music from the 1950s, 1970s where Martin Justesen made a great performance as John Travolta from Saturday Night Fever, 1980s, 1990s and then just comtemporary music. It was a really great idea and the party was a huge success!

Editing text areas in Mozilla with Electrix

I’ve just found this super plugin for Mozilla called Electrix. This makes it possible to edit text areas in an outside editor, such as the great [GNU][] [Emacs][]. This is very handy for editing a site like this where big text areas are abundant…

Almost holidays…

An easter chicken Ahh, there’s just a single day left until the Easter holidays start, and I’m only having three hours tomorrow accourding to my schedule!

Not that I’ve been studying all that much the last couple of days… I sat down yesterday and tried to make the Turing Machine that would take an input tape with “aaaaaa#aaaaaaaaa” and turn it into “aaa“.

In other words: calculate the greatest common divisor of m and n represented by the input a^m#a^n. In the above case, the greatest common divisor of 6 and 9 is 3 if I’m not mistaken.

It turned out that Turing Machines are extremely annoying to program! Even the simplest operation gets enormously complicated. Somehow I managed to sit up all night trying to get things to work — I just kept tweeking and changing my program, hoping to catch that finaly special case that ruined the result. Amazingly I didn’t get that tired, it’s as if you reach a point and from then on you can carry on. But I still have a bad feeling that I’m going to get really tired soon…

I used a rather nice program called gturing to test my program, which you can find here. The comments are in Danish, sorry about that, but I used the program in a Danish hand-in exercise and when I rewrote things this morning I changed the English comments into Danish ones so that they would be easier to use in the report. I believe that the program now handles all correct input correctly. Correct input is input that matches the RegularExpression “a^m#a^n”.

The program also handles cases like “#“, “aaa#“, and “#aaa“. With the first input the machine calculates gcd(0, 0) = 0, the two other inputs represent gcd(3, 0) = gcd(0, 3) = 3. The reason why gcd(0, 0) = 0 is, that gcd(m, n) is defined as the unique whole number d that satisfies

Div(d) = Div(m) intersect Div(n)

where Div(n) = { d in N | d divides n }. Here we have that Div(0) = N, that is, all natural numbers divide 0 — take a natural number and multiply it with 0 to see for your self. So we look for a number d that satisfies that Div(d) = N. The only number that has this property is 0 itself, so this means that gcd(0, 0) = 0.

The Java RMI assignment

Mikkel Krøigård and I finished the assignment for DAIMI:dDist Thursday evening as we had predicted. After that I just relaxed, I don’t know what Mikkel did, but I suspect he did the same :-) It was really finally to get way from the project which we’ve coded quite a lot on all last week. We don’t even get a grade for it, we just have to have it approved before we’re allowed to attend the aural exam that will be held all too soon now.

Wow, FreeNet is on SlashDot

News for nerds, stuff that matters FreeNet version 0.5.1 has just been released, get it here from SourceForge or from GimpsterDotCom, see FreeNetSeedNodes for links. By downloading it from GimpsterDotCom, you’ll get a different seednodes.ref file than the one distributed from SourceForge. This means that you node will be better integrated into the network from the beginning.

A story is now running as SlashDot, getting lots of comments. The network is seeing a lot of traffict from new nodes, so it seams that new people are joining the network. But the network still works beautifully, it doesn’t show any signs of being “slashdotted”.