Archive for the ‘RedGloo’ Category


30.04.2008

JabberIDs as URI

posted by Karsten

in RedGloo

Not sure if this potentially is an issue:

JabberIDs are case in-sensitive, whereas URIs are case sensitive!

I tried a testcase where a user was called systemUser (guess what he had rights to do? 😉 ), and when using that URI in couldn’t authenticate. It has taken me at least 45 minutes to find the when calling XMPPconnection.getUser() in the smack library the username is converted to lowercase. I use this method to add the user to the list of users with system rights, so when authenticating the JabberID systemUser, then this wasn’t on the list!!

It is obviously easy to hack this problem by checking lowercase versions of IDs,, but this is an awful hack, which might break, unless we specify that MeaUserID == jabberID and must be unique in lowercase versions.

Is this a fair assumption? I don’t know…

(EDIT: I’ve added this to the issues list at www.meaggregator.org)

Share
29.04.2008

Jena and URI’s

posted by Karsten

in RedGloo

I thought I finished a big part of the MeAggregator FFS authentication scheme. Just to end up in an exception being thrown. I was puzzled, how could this happen, as I had been testing all the way so that each bit I changed didn’t change any behaviour in the FFS?

The answer: Well, although I kind of knew this was the case I’d hope the jabber account adresses could work as URI. According to the URI spec (RFC3986) URIs start with a scheme + “://”, such as “http://” or “mailto://”. Therefore I’d testedthat Jena could handle jabber account without scheme and it does. But when I serialize the model into a string (where I stream it), which is the last thing that happens when exporting a model the exeption is thrown.

Strange that Jena allows usage of URI all the way until the model is streamed! But hi, I can add a scheme to the jabber accounts, just a bit annoying now that I thought it worked… Luckily this was an easy bug to find 8)

Share
24.04.2008

Soapbox XXMP library

posted by Karsten

in RedGloo

From the outset this library (Soapbox from Coversant http://developers.coversant.net/) looked like the most promissing .NET library for the XMPP functionality of the MeAggregator. Unfortunately my beliefe in it has fallen to a low point. Although it is very extensive in its supported functionalities, there is one that is really not that useful. The Jabber ID (JID) is tightly locked to the URL of the Jabber server that you use, hence you can't login to one Jabber server using a JID from another server. This is a functionality that is used (I use it often myself) thus this library can't be used for the MeA work!

I've spent 1/2 day now looking at the possibilities of changingthe behaviour, but there seems to be way too many references to the fact that server is part of jid, and that the login server is that server. 

Share
11.04.2008

Garry’s Mod

posted by Karsten

in RedGloo

Garry's Mod is a Half Life 2 (HL2) modification, that turns HL2 into something that I can best describe as a big box of lego. Suddenly you stand with the tools to sprawn new object, attaches rules of physics, engines, balloons, well almost anything to the objects and people from the HL2 games.

There are absolutely no rules, objectives or statistics, exept for the ones you create yourself. It is only your own imagination, scripting cababilities and artistic flair that set the boundaries. You can create even multiplayer scenarios.

Now, I've only tried this game for the first time this lunchtime, which turned into a lunchtime and a bit. At this point in time I'm facinated and can see a lot of posibilities. However I'm not sure if this facination will keep me building stuff in the long run. There are plenty of games and puzzles created by the user community, but I'd like to create something myself. Will I do that, or will this just turn out like the longtime want to create a "proper" computer game, that just keeps being taken over by other commitments like job and family life?

Share
05.04.2008

Date

posted by Karsten

in RedGloo

I know for a fact that I wrote the last blog entry on the 7th of April. (It is my birthday, so I should know!)

But the date on RedGloo said that I wrote it the 5th of April – Oddities! 

Share
05.04.2008

Glade

posted by Karsten

in RedGloo

As I'm venturing down into Glade# development I've found this http://www.codeproject.com/KB/cs/GladeCodeChanger.aspx useful tool for C# code generation of .glade files.

It works with vs2005. (This is the first time I've installed something to work with vs2005, and it just worked. So I'm well happy!!) Pat beware!! It probably won't work on your machine then…. 😀

Share
Tags: ,
27.03.2008

XMPP possible MeA transport layer

posted by Karsten

in RedGloo

Don’t know why I didn’t think of this before! But XMPP (the underlying protocol of Jabber) could be the easy solution of transfer between different MeAggregators.

Share
Tags:
25.03.2008

Yet Another Patent

posted by Karsten

in RedGloo

Right now the patent for the technology behind all Ajax processes and most p2p processes is up for graps in an auction (US Patent 6418462 http://www.regdeveloper.co.uk/2008/03/25/ajax_patent_auction/)

My question is how the beeeep Yongyong Xu was able to get a patent issued on a computer process so simple as connecting a client to a server through a "sideband service" after an initial server connection has been made?

What can I say about American patent laws!!

Share
Tags:
12.03.2008

Flock

posted by Karsten

in RedGloo

Has anybody tried out http://www.flock.com/ ?

They claim it is a social web browser powered by Mozilla. Maybe worth a trial…  

Share
Tags:
10.03.2008

VS2008

posted by Karsten

in RedGloo

Why oh why oh why do MS always change solution format, so that you can't open solutions in old VS instantiations? Even solutions that doesn't use any new features…

My VS2005 feels old, very old!

Share
Tags: