goodsoul
 
 

Muzzleflashes – Call of Duty 24. October 2008

Filed under: muzzleflashes,sammlung — eRiC @ 19:38

I always wanted to do a collection of these: Now here it is:

“Lets put a muzzle flash each gun even though there is no one shooting”

Probably cover artist face the insane demands of their bosses to add more action to it. The image is almost finished .. so what to do? ..

The game series Call of Duty is a perfect aspirant for that position: On Kotaku there was just a new cover posted :

I mean.. look: that guy seems completely relaxed. He’s just holding that gun. But BAM! There it is ^^

(more…)

Other Languages:


nice site: Lifehacker 23. October 2008

Filed under: autohotkey,bla,blog,customize — eRiC @ 19:38

Why shouldn’t I post about when adding a new link. Nice Idea huh? :]

Lifehacker.com is a real cool glog! There is almost everything I’m interested in besides 3D-Stuff, electronic music, games and demoscene and even more of topics that I really should take a deeper look into:

  • handy tools for every Operating system, even online and very likely free and Open Source
  • customization-stuff and scripts for all sorts of things: Browser, OS, Gadgets
  • helpful Tips & Tricks & Tutorials for OS and tools
  • collections and polls for “Best 5 things for …”

but even stuff like that:

  • DIY (Do-It-Yourself)- and CheapAss-instructions for all kinds of things
  • tips for concentration and sorting tasks (getting things done stuff)
  • simple and comprehensible environment tips
  • fitness for nerds

Of course there is always crappy stuff flooding in e.g. Apple-news … *yawwwn*. But you get to know things beside your everyday round and if you are not happy with anything 100% (Texteditor, Calendar, Notestool..) might be there is already an alternative discussed at lifehacker.

If I finally get to release something Autohotkey-related I’ll definitely try to get it on Lifehacker! There isn’t even a dedicated ac’tivAid-Post! OKok, it lacks a cool presentation… My ac’tivAid-Vidcast is still long time coming ;] nah it will it will..

First I gonna get melDrop going. But thats a quite Maya-kind thing. More about that another time … (hopefully soon :D )

Other Languages:


scripting insights – fall-throughs 14. October 2008

Filed under: dev,mel — eRiC @ 18:17

Oh if you are scripting or coding you might come across those “insights”. This is of course to share my thoughts but to have a place to keep and remember this stuff as well. I mean maybe this is completely bollocks!! Comment if you you think so! :]

Ok: fall-throughs:
As I always try to cover as many cases as possible (within reason of course!) I create a lot of masseges to the user. In this style I really became sick of that huge if-else blocks that have the fall-through-message at the end. These tree like creatures:

if ($condition1)
{
    // do all this ...

    if ($condition2)
    {
        if ($condition3)
        {
            // do this too ....
        }
        else
            error "bla because of ...";
    }
    else if ($condition4)
    {
        // do other stuff ...
    }
    else
        error "bla bla blub...";
}
else
    error "bla bla bla...";

this shows the usual style one would do: But there are major drawbacks: the conditions and the error-messages are at opposite positions. And if you add a condition that might escape the whole thing you’d have to add another “scoping-level”…
Ok, now the insight: I write the escape-relevant conditions in negative style a line in the very front of the script:

if (!$condition1)
    error "because of ...";
else if (!$condition2)
    error "because of ...";
else if (!$condition3)
    error "because of ...";
else if (!$condition4)
    error "because of ...";

// now do stuff ...

With this style I have the conditions right at the error messages. The indentation is much less deep. And all the stuff that could crap up the thing is coupled at a definite place.

Ok.. this might sound like kindergarten to a real programmer but. I felt quite smart when doing so ^^

whatever now I wrote it down. So be it.

No Translations