The Gateway

Why? Just why?

by Andy on May.14, 2010, under General

As I’m currently working on designing the interface specification to connect an artificial intelligence to a game engine, I had to think a lot about causality. And damn it, it’s a complex topic! Perhaps the most defining question in our whole life. We all start as children on the backseat of our dad’s car, permanently asking “Why is sky blue?”, “Why is the car driving?” or simply, but not less difficult to answer “Why does it take so long to arrive at the zoo?”. While those questions, or at least most of them, are rather philosophic or scientific, our early days are usually followed by a much less world-shaking period with questions like “Why did she break up with me?” or “Why the hell do I have to learn all that shit for a stupid exam?”. Following that little downtime, we usually start to ask us more general questions again, but they will now depend on our experiences in the past, as our brain will try to answer those nasty “Why”s based on our collected knowledge. Sadly, that also denies many ways of thinking to us. Those we never collected experience for.

Nonetheless, the “Why” accompanies us through our whole life. That’s quite remarkable if you ask me. But what do those “Why” questions really ask for? In the most general case, they ask for a causal relation, trying to identify the trigger of an action we just witnessed or heard of. But why should we want to know? Haha, there it was again. Nope but honestly, we should try to get a feeling for our need to asking the “Why” question, as the “Why of Whys” can teach us much of our way, and the techniques, we tend to use to solve those questions. This knowledge might open our view to new ways of thinking.

(continue reading…)

Tags:, , ,
2 Comments more...

.Net 4.0 and you

by Andy on May.03, 2010, under General

The recently released Visual Studio 2010 includes the new .Net runtime 4.0 with a hand full of new features, including the official release of F#, our new functional .Net friend! Finally! Besides that, the new Visual Studio got a new, much better layout and few new options, like code metrics, a nice achievement system for the MMO-developer. Being a Visual Basic Developer of the first hour (okay not the first I must admit, but for quite some time now) I’m especially happy about some pure syntax improvements, like getting rid of that ugly “_” char for splitting lines.

Okay now let’s start with the fun. Opening up the first Visual Studio 2008 solution will show us a small converting box, but all goes well. The problems start once you click on the compile button. You will probably either get compile errors, runtime exceptions or a hanging application if using a library which was not compiled against the new CLR v4. Like Managed DirectX in my case.

That’s because of the side-by-side feature of the new CLR, allowing multiple runtimes in one app. Something the older runtimes can’t handle. Lucky, there is a switch with the elegant name of useLegacyV2RuntimeActivationPolicy that should allow your older dlls to load fine. But be aware that it also disables the side-by-side feature for those legacy libraries. Don’t turn it on ‘just in case’! Try to avoid it and upgrade your libraries if possible.

It’s too early for me to write a complete review for Visual Studio 2010 and .Net 4.0, but I will post here if I should stumble across something. Happy coding!

Tags:, ,
Leave a Comment more...

Damn, it’s about time!

by Andy on Apr.30, 2010, under General

Yea, it has been quite some time since the opening of this blog, but life gets busy from time to time..

Time is an interesting concept either way! You always happen to have far to much of it, while having no idea what to do. On the other hand, it’s always short if a deadline comes close. That’s probably not a scientific discovery, but just the result of my bad planning. Either way, time is a very interesting topic we rarely think about, yet it surrounds us ‘all the time’.

The first question that jumps into my mind when thinking about the universe is ‘when did it start?’. What a nasty question! If we consider time being part of our universe (and why shouldn’t we consider that) the question includes ‘when did time start?’. And that’s where the trouble starts! To define a certain point in time (that’s what ‘when did time start?’ should return) we require something to measure it. A clock like in the lower right of your desktop won’t do, as our clocks count time distances from a certain start. We could try to do that backwards.. so lets t_start be the first moment in history, aka the first moment our universe did ever had. Then t_kickoff would be the moment where time started.. the moment before the first moment.. wait a minute!

(continue reading…)

Tags:, , ,
2 Comments more...

Hello

by Andy on Dec.17, 2009, under Site Status

If you are reading this, you just strumbeled over another blog. As blogs are not that rare nower days, that’s probably not the daily achievement to make you remember this day in decades. The Gateway is just my little place to tell the world whats going on in the wicked brain of mine. Feel welcome to share some time with me!

So, what are we going to talk here about? That’s a good question, and basically, I don’t even know yet. Probably everything that seems to be interresting from the field of science, especially astronomy, but also gaming, game development and game project organization, art and rendering, along with other interessting bits here and there about coding and similar stuff. Yep, the braindump is ment literally.

I think that’s all for today. Let’s see where The Gateway will lead us.

1 Comment more...

Newer entries