Archive for March, 2009

Notepad++: AutoComplete for ASP files

Friday, March 27th, 2009

In case you also have to code ASP pages ( I really don’t like VB but what can you do…)…:

My favorite editor is Notepad++ because its fast, and has some cool features, like the styler. It also comes with a Auto-Completion feature. See this blog post on how to switch it on.It doesn’t work for *.asp files with the standard settings. But there’s a quick way to fix this:

All you need to do is go to C:\\Program Files\\Notepad++\\plugins\\APIs and copy vb.xml to asp.xml and restart Notepad++.

Another thing that I did : I deleted all functions except the ones that I use a lot from the list in asp.xml because I never use 80% of the functions in that list anyways. In addition you can add brackets after functions where you definately need them, e.g. for Replace(). I also added these “XXXXXXXX”s, because this way I can easily double-click-select them and replace these blocks with variables.

So the “R”-part of my asp.xml looks like this:

<KeyWord name=”Public Sub” />
<KeyWord name=”Public” />
<KeyWord name=”QUERY_STRING” />
<KeyWord name=”Response.Write XXXXXXXXXXX & br” />
<KeyWord name=”Response.Redirect” />
<KeyWord name=”Response.ContentType” />
<KeyWord name=”Replace(XXXXXXXX,XXXXXX,XXXXXXXX)” />
<KeyWord name=”Randomize” />
<KeyWord name=”Rnd” />
<KeyWord name=”Round(XXXXXXXX)” />
<KeyWord name=”RTrim” />
<KeyWord name=”ScriptEngine” />

….

These little tricks make writing VBScript code so much more pleasant…

Budgetball

Monday, March 23rd, 2009

A while ago I was invited by Jackie of area/code to participate in New York’s first Budgetball tournament.

I gotta say I really enjoyed being part of the event. It was the first time I played a sport where you had to plan and make strategic decisions spanning not only over the current match: Instead you had to manage a budget of points over the course of the whole tournament.

Would you like to know more ?

I was on the purple team and we made the 2nd place due to our superior strategizing…

It was a great example of how you can take elements that have turned out to work really well in computer games and apply them to a physical sport. I’d like to see more of that. I could imagine some kind of sport where the computer would generate situations for the game and players could then influence the game world by actions on the field or the like.

I really think that computer games doesn’t mean that we have to sit in a chair or a couch. I suspect that soon enough a new wave of mobile games using location in an innovative way has the potential of creating a new genre of games….

Kindle & Rose

Sunday, March 1st, 2009

Das jüngste Kindle von Amazon sieht man hier in New York immer öfters in der U-Bahn.

Häusle, Mädle, Weckle, Bierle, Kätzle, Päckle.

Das sind meine Assoziationen als Baden-Württemberger zu dem Wort “Kindle”.

Kindle? Kindle!

Bin ja schonmal gespannt unter welchem Namen das Gerät in Deutschland auf den Markt kommen wird.

Auch wenn ich mirs nicht unbedingt jetzt schon kaufen würde, hat das kleine weisse Gerät doch einige interessante Features, auf die ich dank XKCD aufmerksam geworden bin. Wikipedia immer dabei zu haben wäre ja durchaus ganz nett. Auch Blogs soll man damit abbonieren können, wobei ich der Meinung bin, dass die meisten Blogs nur in Verbindung mit dem Zugriff auf das gesamte Internet wirklich Sinn machen. What about Trackbacks? Comments?

Über Amazons Kindle-Produktseite bin ich dann auf das folgende Video gekommen:

Die ersten 30 Minuten sind grösstenteils PR für Amazons jüngstes Kind, was halbwegs interessant ist. Danach wirds etwas allgemeiner und interessanter wenn die beiden Themen wie User Experience, Internet, Entwicklung von Medientechnologien etc. behandeln. Schauts euch an, der Kerl hat was zu sagen, auch wenn er für meinen Geschmack etwas zu oft lauthals lacht…

Die Sendung “Charlie Rose” hab ich erst kürzlich “entdeckt”. Das Format ist sehr einfach gestaltet, eine einfache Interview-Show. Viele der Interviews sind mit Hollywood-Stars und Teil von den gewöhnlichen PR-Kampagnen, etwa für Filme, die interessanteren mit Politikern oder anderen hellen Köpfen. Die Videos gibts alle zum Onlines-Anschauen. Hier mal ein paar weitere ausführliche Gespräche zur Wirtschaftskrise mit Wirtschaftsnobelpreisträger Paul Krugman oder Martin Wolf.

Du verstehtst kein English? Nicht schlimm, dann hör Dir wenigstens an was Dirk Baecker zur Krise zu sagen hat, und zwar als mp3 von www.dradio.de.