Archive for July, 2008

Drupal: How to hide Google AdSense ads when you are logged in as admin

Wednesday, July 23rd, 2008

AdSense is a popular way for owners of websites to run content targeted ads on their sites. You are allowed to run up to three AdSense blocks on one page. One of the problems of running ads on your site is that if you click your own AdSense blocks you will be banned from the system and your latest payment will never be payed out to you.

(more…)

Five reasons why CSS is better than tables

Wednesday, July 23rd, 2008

1.     File size
Early web designers found out that a table could be used to position content on a page. Tables where never intended to be used for layout but worked good and was easy to learn. Not only is a complex design with tables nested inside other tables difficult to understand when looking at the code -the size of the page can easily reach 60 KB+. When the code for the page outweighs the content of the page you have a problem and that is a problem which is easy to get when using nested tables since they need lots of code. With CSS you will use much less code and your page size will shrink dramatically.

2.     Usability/accessibility
CSS layout is a must for a website that should have high usability and accessibility. For example, by specifying font size in “em”s, someone who has bad eyesight is able to view text on your site in double its size. A layout made in CSS degrades gracefully in browsers that do not support CSS, a site made with tables do not. The point is you can not know how a visitor to your site will browse it, with a CSS based design you know that the content will be fine if they browse it with some unusual program.

(more…)

How to create animated GIFs in Adobe Photoshop CS3

Wednesday, July 23rd, 2008

I used to do web graphics in Adobe ImageReady which came with older versions of Adobe Photoshop. Since I got a new workstation I also upgraded all my software and I am currently using the latest Adobe Photoshop CS3. ImageReady is not available anymore in CS3 since it has been integrated into the new Photoshop.

So this is how you can make an animated GIF in Photoshop CS3.

(more…)

Never stop thinking

Wednesday, July 23rd, 2008

For your dreams and visions to become a true reality, you must always continue to believe that you are going to become successful, that you will be going to surpass all of your expectations in life, and that nothing in the world is going to come in your path to fail you from reaching goals. Without positive thinking, you may never reach success.

You need to be able to imagine where you want to be in life and take control. Your imagination is the place where your dreams can wonder into new worlds. Having an imagination is the key to creativity.

(more…)

How to get your dream job

Wednesday, July 23rd, 2008

If you want to something but are unable to find a way to do so you may be doing something wrong. It is normal that whenever you want something you want it instantly. By splitting up something you want , a goal, into smaller pieces it is easier to reach your goal.

But what if your goal is for example to find the ultimate job? It is easy to realize that it is not possible for you to get the job that you are dreaming about because you may not have the right background or experience. This may be true and can be a sign pointing to things you should do in order to get the job you want to get.

(more…)

How to brainstorm for new ideas

Wednesday, July 23rd, 2008

Everyone gets ideas. By thinking positive you can motivate yourself to find new ideas and to further develop early ideas.

The normal way of coming up with ideas is to sit down and figure out a solution to a problem.

The first phase of brainstorming

The first phase of brainstorming for ideas is to come up with the perfect scenario. For example if your main objective is to create a successful website, sketch down notes of your ultimate website, how big it is, how many visitors it get and how it got there. The sky is the limit and you can be creative. Did you run a marketing campaign in the local newspaper? Maybe hired a hot air balloon with your sites name on it? It is important that you are not negative towards ideas in this step. Make a note about every idea you get.

(more…)

Shoot’em’up strategy

Wednesday, July 23rd, 2008

Shoot’em’up games are in nature very unforgiving. Unlike a modern FPS title it is impossible to quick save yourself through a shoot’em’up game (if not playing in an emulator and save states all the time). Shmup games with saving are few and rare, mostly concentrated to MS-DOS and the 486 era, so mastering a shmup usually takes skill and dedication.

Here are some tips in mastering a shoot’em’up game.

Play in TATE mode

If the game permits you to play in vertical mode then do so. TATE mode shows more of the screen, instead of playing a vertical game on a horizontal monitor shrinking the image down you can have almost twice as big screen in TATE.

(more…)

The Horace series – the Grand Theft Auto series of the early 80’ies (not really)

Wednesday, July 23rd, 2008

Horace was a character in three ZX-Spectrum games. He looked like a cross between a Kiwi bird, an egg and Pac-man. Some Horace games were also ported to the C64 but the ZX-Spectrum version is generally considered the better versions and the character is much better known by Spectrum users.

There where three Horace games released on the Spectrum.

Hungry Horace

The first one was called Hungry Horace and was released in 1982. Hungry Horace was a Pac-Man clone with some unique differences from the original. There are four different mazes (or levels) but you do not have to eat all green dots on a screen to get to the next maze since the door is always open. The fourth screen is the weirdest. Instead of a Pac-Man maze where you always have a possibility in most cases to escape the guards the maze are designed in such a weird way that you are guaranteed to lose a life in some occasions depending on where the guard spawns when you enter the level.

(more…)

How to play Game Boy games on a Game Boy-micro

Wednesday, July 23rd, 2008

The Game Boy Advance micro is a fantastic handheld video game. But it has a minor flaw since it does not play older black and white Game Boy games. The older Game Boy advance handhelds did play older games and could even play Game Boy color cartridges. This was made possible by miniaturizing the circuit of the Game Boy and the Game Boy color and adding it besides the GBA circuit. If a player inserts an old GB or GBC game into the cartridge port the cartridge would push a switch that would tell the GBA to switch itself to GBC mode and thus it was essentially an older Game Boy in a new case.

(more…)

FPS-games on the Amiga

Wednesday, July 23rd, 2008

Doom was an important game, it defined the IBM-PC compatible as the new gaming computer. Amiga users became angry because they where used to the fact that Amiga generally had better games than the PC. In order to show the world that the Amiga could handle Doom they began working on lots of “Doom-clones” to prove stupid PC users that the Amiga was better than they thought it was.

Doom clones:

Alien Breed 3D 1995

Alien Breed 3D was the first successfully commercial “Doom-clone” on the Amiga. It was only compatible with the Amiga 1200 and the Amiga 4000 because it used some clever hardware tricks for the game engine only present in the AGA chips. Alien Breed 3D can run on a stock Amiga 1200 with 2 MB but shines on an Amiga upgraded with a 030 CPU. In the graphics department Alien Breed 3D has worse graphics than Doom and runs in a much smaller window. The actual game though is very good and fun to play.

(more…)