Thursday, August 16, 2007

iPhone compatible websites

Eric Meyer has a great post on website compatibility and the classic "This site is optimized for ..." comment.
http://meyerweb.com/eric/thoughts/2007/08/08/the-veterans-charge/

And I think every word he writes is correct. Escpecially nowadays where more and more browsers, for Mac, PC and a large number of other devices, are beginning to cling on to the market. The "browser-wars" is still flaming hot, and the Internet Explorer army is not as strong as it used to be.

But I would like to further extend Eric's post, and say that even though you can view a website optimized for something weird on other browsers it isn't always that pretty. And sometimes a layout can be so buggy, that you have trouble getting the information you're looking for. And that's wrong too!
The Internet is for sharing information with everyone, not the people with the same browser as you. Therefore, I say, Webdesigners/developers: Please make the effort to create websites for more than your own browser!

Tuesday, August 07, 2007

The replacement has been found

Okay, so the aoa.dk domain name has been sold, as I mentioned earlier, and the new domain name to take it's place has been found: www.AoA.nu

Not a very drastic change but still a change...

Be sure to check out the relics section - that's where we're putting all the classic stuff. A lot is already out there, and more will come as we dig deeper into our hard drives in search of fun stuff that previously has been a part of out aoa.dk website.

I also have some more news, but you'll have to wait for that a bit longer...

Wednesday, August 01, 2007

”The Torben Nielsen affair” or ”How aoa.dk suddenly was something else”

Well – I hadn't thought about this ever happening, but it did. We've sold the domain "aoa.dk".

We bought the domain, the infamous MC T and myself, a long time ago, when AoA still wasn't too big to hang out with "The Sailors". Since then, a lot of things came to life there. Of course there has always been some sort of band website there, hardly informative, but damn pretty! Furthermore, the domain has suffered the fate of the following selected list of websites and applications:

  • AoA Fan Crib (a website for fans of AoA)
  • AoA Empire (the place from which everything stems)
  • Ravage's official website (at ravage.aoa.dk)
  • Forum and booking system for "Bjarnes kantine"
  • Poker show down
  • The well-known "OC-event" for VIP's
  • The "Konflikt" flash picture art book

And a lot of small stuff, not woth wasting time on.

I still have most of these things on my local machine, and I promise I will put all of it online, as soon as I get the chance...


 

The lucky new owner is a man known as "Torben Nielsen", who, with a friend i believe, are establishing some online community. Looking forward to see what that develops into. His price was hard to decline, so we let it go. Knowing that we would always have the memories of aoa.dk as a place of good music, friendship, everything important to everyone. Remember: We're here for the beer.


 

Anyway, AoA isn't dead, and we will bounce back with a new domain soon! So stay tuned – it might be radical, or it might not...

Thursday, July 26, 2007

Request.What?

I've experienced some confusion about the various Request properties that holds information about the current location. For example, what is the difference between Request.Path and Request.RawUrl? Well, if you're like me, check out the table in the pdf document below, which gives sample output data for a website that runs on the VS 2005 development server (Cassini). This website is locally placed at "C:\Websites\Website1" on the server.


The table can be found here: Request properties.pdf


Hope it's useful!

Saturday, July 21, 2007

What is a boy to do?

Well, I'm back from the wild (Roskilde Festival and scout camp) and have just gotten used to a keyboard again.

I haven't been wasting my time since I got back however. I've been reading the Microsoft BizTalk Server 2006 white paper, and found it quite interesting at first. But then it suddenly hit me. How am I going to gain experience with a technology I can't even install?

First the short story about BizTalk server. It's an application that can integrate various business apps, such as ERP or CRM products. The problem is, I have no applications to integrate! The way I see it, I can only gain experience with BizTalk by coming across it in some company at random.

But anyway, I'll read the paper to end, and have it in the bag, just in case. Next I'm going to get acquainted with Sharepoint I think. It's a looong summer holiday :-)

Thursday, May 31, 2007

XSLT is definetly the way to go

Lately I've been working on a project for at customer, when I was able to get away from all the things happening at CBS.
The project is a very complex website, build on top of the open source CMS and web site framework, umbraco.
The important thing here is, that umbraco relies heavily on XSLT for formating and rendering custom modules. It's been a while since I've had the opportunity to develop things with XSLT, anyway, I almost forgot just how nice it is... In little time, I made a functional dropdown navigation, a vertical navigation tree, a list of media from umbraco, a sitemap, breadcrumbs and a dynamic title-tag for the HTML page.

Lovely :-)

Wednesday, May 16, 2007

Preparing a career

Lately I've been registering profiles at several jobsites. I've been thinking that I will soon need som sort of job, and have therefore been keeping an eye out for openings in newspapers and on the Internet.

Some of the places I've created a profile:
http://www.linkedin.com/in/madsgodvin
http://www.kommunikationsforum.dk/Mads-Godvin-Jensen
http://www.it-jobbank.dk/ShowProfile.aspx?ProfileId=50141314

I'm mostly looking for consulting jobs. If you know of anyone looking for professional help regaring web- and/or software development, please let me know!

Monday, April 23, 2007

Something about ID3 tags

I've been wanting to research ID3 tagging of MP3 files, and have spent some time trying to read the tags using C# - without luck :-(

The streams I'm reading always seem to be flawed in some way. Well I've found an example where you use the shell32.dll Windows native library to read the tags. I'm looking forward to trying this out to see if it's me thats wrong ;-)

http://www.codeproject.com/csharp/ShellID3TagReader.asp

Sunday, April 15, 2007

Could not load file or assembly

I've started developing a website for a client, and have made some extensions for Umbraco CMS, which I'm using as platform for the whole thing. Then suddenly, while working, my machine crashed totally, leaving me with no choice but to turn it off the bad way – ie. holding down the power button.

When the computer had started again, I tried running the site at 'localhost' again, but got this error message:

Could not load file or assembly 'Blizan.Tools' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

Not knowing how to fix it, I found a few solutions via Google, but they where quite extensive. One forum said I needed to reinstall the entire .NET framework!

But then I had an idea, and it worked: Delete all the files in the "Temporary ASP.NET files" folder (C:\Windows\Microsoft.NET\Framework\%version%\Temporary ASP.NET files\root\)


Now I'm a happy working man :-)

Sunday, April 01, 2007

Testing Word 2007

Apparently Word 2007 has a "Publish to blog" feature, and of course I have to try it out ;-)

Interesting things to look at:

  • The HTML Word produces
  • Blogger support
  • The publishing process


 

So far I have only tried registering a blogger account in Word and writing som text (this text!)...

Friday, February 23, 2007

Mac and PC - a world of trouble

Now how can you ever have to operating systems collaborate when their founders act like this:

http://www.current.tv/pods/supernews/PD05440

Btw. "Finder" doesn't really talk like that.. In fact it doesn't ever talk as far as I know....


Update: The link was pointing at the wrong film...

Thursday, January 11, 2007

It will Zune be over...

Hellow


At the local bar a while a go, the most exciting thing that happened was talking to an "old schoolmate" about an interview with Steve Ballmer of Microsoft about the Zune MP3 player. He made me promise I'd post a link to the interview and then I forgot all about it.

Today, however, I was reminded, so here it goes:
http://news.com.com/1606-2_3-6129533.html?tag=cnetfd.mt


Try closing your eyes the first time you see it, and tell me if it's a man or woman that's conducting the interview ;-)


Other fresh and exciting things: My exams for the first semester are per today at 13 o'clock over! No more managerial economics for me...

Thursday, November 23, 2006

LINQ to Desktop Search

Yes! Yet another interview with Anders Hejlsberg on Channel9.

In this one he talks to Chris McConnel who is the architect for the Windows Desktop Search product. It's really cool to hear his takes on the world, and how LINQ fits into it. And as a new thing in Channel9 the person asking questions is actually not the interviewer but the interviewee (ie. Chris McConnell asks Anders questions). It seems like he's asking all the right things, and we get Anders' views on a lot of different problems in the programming world, for example:
- functional programming
- intentional programming
- LINQ to desktop search
- WinFS


Nice stuf...


Well, here's the link:
http://channel9.msdn.com/ShowPost.aspx?PostID=260202#260202

Tuesday, November 21, 2006

What about the link?!??

.. sorry. Forgot to post a link to some fun this time. I'm thinking it may become a tradition?

Link: http://bree25.buzznet.com/video/popup/39016/%20

It's a band called "Ok Go" performing. They are pretty cool. Their web site is here: http://okgo.net/

CBS - G1

Hey everyone

So, I been back at CBS for two days now, and have already heard about 100 people asking me about my G1. Not that I'm getting tired of it (I love being the center of attention) but sometimes I'm in the middle of something else when they attack me, wanting my autograph and personal tuition...

I have therefore decided to make the project availabe for download. You can find it right here:
Code: http://aoa.dk/demo/g1/code.zip
Text: http://aoa.dk/demo/g1/text.pdf


Please note that while I may have done a lot of code over the time, this project was my chance to get down and dirty with the special features of Java, and I haven't nailed every problem the most beautiful way...

I hope I can inspire someone to do better next time, or not loose it when things seem hard.

There where a few issues I had difficulties with as well.. For example the graph, which isn't actually correct.. So I was told. Another example is my use of LayoutManager's which may seem strange, because I was using the attempt-and-fail method while developing.

Thursday, November 16, 2006

C#'ing into the future

It's been a week since I was at the Microsoft event, where Anders Hejlsberg addressed the new features in C# 3.0, and better tell you about what he told me about..

I had seen a webast where he talks about C# 3.0 before, and he started the exact same way, by stating that:

Data != Objects

The rest was kinda like that webast, but he seemed to go more into details, which was brilliant. As mentioned I had seen a lot of his stuff before, but there where a few points that, if not supprised me, then made me think. Fx. in my head C# 3.0 == LINQ and nothing more. Anders made it quite clear that that wasn't the case. C# 3.0 is a whole bunch of small things that combined make the developer able to write C# in a query-like syntax. The small features are mainly:
- Extension methods
- Lambda expressions
- Expression Trees

As Anders said, the

var q = from c in Customers
where c.City == "London"
select c.Name

is only "syntactic sugar" translated by the compiler to:

var q = Customers.Where( c => c.City == "London" ).Select( c => c.Name );

ie. method calls! All very simple when it's explained to you like that..


The most important thing, however, was that before we left the lecture Marcus, the technical manager in Composite, got Anders' autograf in the C# 2.0 book :-)




In other news: My G1 school project is finished!! Now I only need the printing part, which I will do tomorrow, so I'm what you could call a free man tonight!! Hmm.. Where did I put that shortcut for Visual Studio ;-)


'Till next time...




Oh yeah, and check this out: http://www.zefrank.com/theshow/gallery/d/8544-1/yeeha.mp3

Wednesday, November 15, 2006

Get your Java!

I'm in the final phase of the G1-project for CBS now, and mostly writing the report... I read in the project description that we shall attach all classes in the project as text. Hmm.. That's a lot of pages with code!

I made a little utility (in C# of course) that reads all the files in your project and projects the content of them, with line number, in an HTML file...

I'm thinking a lot of people could use this right about now, so I made it available for download: Here.

Friday, November 10, 2006

A day of mixed emotions

Today I feel a weird combination of goodness and badness..

On the bad side:
- I haven't done any work on my Java-project at all today
- I'm hungry
- I miss Composite (and most of all C# - Java is making me a bit angry)


On the good side:
- I went to a guest lecture at ITU today, with Anders Hejlsberg himself.. He spoke of C# 3.0 and the new features they are implementing, and a few times he kinda blew me away, although I've seen most of the stuff before in previous preview-bits. Anyway, it was a cool experience, and definetly woth the time.



After the lecture I went to a house-warming reception at some software company that is currently building a whole new e-commerce application. Hmm... Interesting guys there... Then I stopped by Composite HQ to check how things where, and had a long discussion with a dude there about the W3C DOM spec and how .NET and Java implement it differently. Cool!


So now I'm still hungry, and still have a lot to do, so I better get started :-)

I fucking hate caps lock

I hate it when it happens: You're typing your user name and password, but it doesn't work. Then you do it again, and it doesn't work.. Then you do it AGAIN, and it doesn't work. Then you look at the little Logitech stand for your wireless desktop and realize caps lock is on !!!!

I have partly stolen, and partly adjusted and perfected this little JavaScript code snippet to check if caps lock is on, and displays a message if it is:


var capsLockOnMessageDisplayed = false;

function checkCapsLock( e )
{
var keyCode = 0;
var shiftKeyOn = false;

if ( document.all )
{
keyCode = e.keyCode;
shiftKeyOn = e.shiftKey;
}
else if ( document.layers )
{
keyCode=e.which;
shiftKeyOn = ( keyCode == 16 ) ? true : false;
}
else if ( document.getElementById )
{
keyCode = e.which;
shiftKeyOn = ( keyCode == 16 ) ? true : false;
}
if ( ( keyCode >= 65 && keyCode <= 90 ) && !shiftKeyOn ) { displayMessage(); } else if ( ( keyCode >= 97 && keyCode <= 122 ) & shiftKeyOn ) { displayMessage(); } } function displayMessage() { if( !capsLockOnMessageDisplayed ) { alert( 'Caps Lock is On.\n\nTo prevent entering your password incorrectly,\nyou should press Caps Lock to turn it off.' ); capsLockOnMessageDisplayed = true; } }


Ps. check this out: CAPSoff

Thursday, November 09, 2006

I'd like to welcome myself

Hello Mads, and congrats on your new blogger blog... Hey - and welcome to you reading this!


So far nothing's in here, but I think I'll try and do something about that. I don't really have the time to post a lot up here right now - I'm working on a project for "school" (Copenhagen Business School) which proves to be very interesting, but also more time consuming than expected.


Anyway, the next couple of posts will probably be about the project, and will most likely be of the not-so-optimistic kind.

'Till then!