Archive for August, 2006

You are now browsing the archive for August in 2006.

The Fine Line: English in an International Setting

This is reflection about the introduction to the book “The Fine Line: Communicating Clearly in English in an International Setting” by Ellen Wallace. The Fine Line is a collection of (among others) grammar and spelling rules recommended for International Baccalaureate students.

One single sentence, that’s all Ellen Wallace needed to entrance me. The introducing paragraph immediately grabbed my attention with its warm words, setting a nice atmosphere, and at the same time putting my brain at work – as soon as I realized where Wallace was going with her multinational breakfast, I thought about me, and she was right on so many points, not only the breakfast. This undoubtedly interested me, and forced me to keep reading.

Without ever losing her grasp of my interest, Wallace goes on to identify the problem. Which English is the better one? Mine. Therein lies the rub. Shakespeare quotes add a sense of class and education to a text that only Shakespeare quotes can.

The next page contains a sub-heading. The format in which it is presented at first confounded me – it seemed like a part of a table or a definition list – however, I noticed that it is indeed easy to overview while being original, in my frame of reference, that is.

Another reason that I like this text is the spread-out anecdotes and tales, such as the one about eggys/eyren. They really make the text personal, and it feels like the author reaches out to touch you. As opposed to a boring, fact-filled documentary on the English language’s evolution and diversity, which I was expecting, I got a mesmerizing essay, personalized just enough to show that the author was dedicated to the work.

Another part that caught my attention was the ending: The formality that we count on to give us credibility too readily pushes us into obtrusiveness. That sentence lingered in my mind for a while, and actually that helped me understand it. It’s also wonderful to see Wallace apply the theory about which she is writing in the text itself – if ever, it is at this point that you have the fullest understanding of the technique in question.credit consolidation debt card aaacanada california card credit merchant accountcredits music mile 8of accreditation education health alliedimpact credit account transfer scoreagency accreditation australiaagency consolidation creditor debtdistance accredited learning degree master Maploans status consolidation in-schoolhome loans ing equityform loan installmentsettlement instaloansuk loans car instantloans instant depositloans personal instant online approvalpayday explained loan instant Mapxxx pics porn ebonyporn ebony previewsporn rss 2.0 ebonyporn ebony starpinky star ebony pornthumbnails porn ebonyebony porn torrentebony tubes porn Map

My School Works Will Go Here

Just like so many kids of my age, I too am doomed to go to school. However, I’m not going to let all of the text that I produce for the sole purpose of satisfying the teachers’ sadistic demands fall into oblivion. As you might have realized by now, I’m going to upload all of the English written works here.

Why?

  • Organizing. It’s a simple way of organizing my texts and making them available for me everywhere, since the school’s rules don’t allow installation of SSH or FTP clients.
  • Spreading Information. The chances are big that other students struggle with the same essays as I am, and most of them could probably use a little help. The fact that I go the International Baccalaureate program, which is nearly completely in English, also makes it easier to share.
  • Google AdSense revenues. Come on, at least I’m honest.

Jealous? If you have written something in English that you don’t want to be forgotten, just e-mail me. Of course, proper credit would be given.300 the ringtones movieactually free ringtonesadult free ringtonesringtone 24 verizon56 ringtone siemenscell free phone absolutly ringtonesaka ringtonestelephone 24 ringtone series tv Mapfree ringtones scatmansean paul ringtonesfree phone ringtones to sendringtone sesame street3 player music ringtones sidekickreal ringtones slipknotdogg midi ringtones snoop quotesringtone free spider pig Map

Project: Starfighter,

Being bored, I just looked through Wikipedia’s list of opens source games. A particular one caught my eye, Project: Starfighter. According to reviews it would be nice, and so I downloaded the source code. It compiled nicely, without any problems. SDL, SDL_image and SDL_mixer were required, but I happened to already have those packages.

I tried to run the binary that the makefile created, but it didn’t work:

[tim@adamant starfighter-1.1]$ ./starfighter
Couldn’t access the Project: Starfighter data file!
Cleaning Up…
Freeing Graphics
Freeing Background
Freeing Sounds
Resetting Lists
Freeing Font
Removing Mod
Closing Audio
Done Cleaning Up…
Thank You for playing Starfighter
[tim@adamant starfighter-1.1]$ ./starfighter

A googling for the phrase “Couldn’t access the Project: Starfighter data file!” was fruitless, and so I began debugging the source code, which was very neatly written. First, find were the error message string is. The source code is in the code/ sub-directory, so that’s where to search.


[tim@adamant]$ grep -R access code/
code/unpack.cpp: printf(”Couldn’t access the Project: Starfighter data file!\n”);
code/unpack.cpp: printf(”Couldn’t access the Project: Starfighter data file!\n”);
code/graphics.cpp: /* Lock the screen for direct access to the pixels */

After Google, grep is your best friend. In unpack.cpp, this error message is given when the filename denoted by the constant PACKLOCATION can’t be opened. I added a line to the code that printed the value of PACKLOCATION upon failing to read it, recompiled the source code and ran the game again.

[tim@adamant starfighter-1.1]$ ./starfighter
Couldn’t access the Project: Starfighter data file!!!
/usr/share/games/parallelrealities/starfighter.pak

I checked manually, and Project: Starfighter was right: that file didn’t even exist. However, there was a file called starfighter.pak in the main directory. I suppose the makefile just failed to copy it to its right location, and so I did it manually.

[tim@adamant starfighter-1.1]$ mkdir /usr/share/games/parallelrealities
[tim@adamant starfighter-1.1]$ cp starfighter.pak /usr/share/games/parallelrealities/starfighter.pak

After this, the game started up flawlessly. I’ll try to play it now.marie 14k teena mp31723 rocket mp3 error progood 20 mp3 reasonsmp3 medley 2112ninja mp3 21emon27468 22612 30333 24040 mp3 33394mp3 340ml zipable 504 mp3 dvd Mapanal porn stripperporn trailers analclips anal pornoportal anal sex pornopornpasswords analporn anal poundingcreampies anal porn sexsex anal stars porn Maphowto lg ringtonesringtones lg4650polyphonic your ringtones make ownmaking ringtones mp3martin luther jr and ringtone kingmassari ringtonesringtones mep freebuble free ringtones michael Mapcredit estate bad loans realus bad credit remortgage loannews payday loan industry for badbaldwin park loan officer californiahome loan savings rates bangor bankbank home loan ratebank operations loan informationloans california capital bank Map

Can’t Log In to MSN Messenger: 80048820, Proxy

Today I tried to log in to MSN Messenger. Unfortunately it failed, giving the cryptic error message:

Sorry, we were unable to sign you in to the MSN Messenger at this time. Please try again later.

To let us try and troubleshoot the problem, click the Troubleshoot button.

80048820

Unfortunately, this error message seems to appear as the consequence of a lot of errors. Only the 80048820 identification part gives anything. I chose to troubleshoot, just like they told me. The following parts succeeded (roughly translated from Swedish):

  • IP
  • Standard gateway
  • Offline-options for IE
  • Host files
  • DNS

After them, two failed:

  • Proxy server
  • Main entrances

The wireless part didn’t get a success/failure mark, which probably is because I don’t have a wireless connection. It seems pretty obvious that the proxy server doesn’t work, and checking reveals that there is indeed a non-responding proxy set in Internet Explorer. After removing it, MSN Messenger worked again.

I’ve been told that there are several symptoms that might cause error 80048820, but this worked fine for me.

Perl: Ineffective Script to Permute Words

I just wrote a script that rearranges every letter in a word. It works very ineffectively, though it does complete the task.

while (<STDIN>) {
   chomp;
   @w = split //;
   $m = 1;
   for (my $i = 1; $i <= @w; $i++) {
      $m *= $i;
   }
   $i = 0;
   for (my $n = 0; $n < $m; $i++) {
      $v = join('',@w);
      if (!exists($ws{$v})) {
         $n++;
         $ws{$v} = 1;
         print "$v\\n";
      }
      $rn = rand(@w);
      $rm = rand(@w);
      ($w[$rn],$w[$rm]) = ($w[$rm],$w[$rn]);
   }
   print "(only " . $i . " attempts)\\n";
   undef %ws;
}

As long as the word is less than eight characters, it will go fairly fast. Unfortunately you can’t use it for words containing several instances of the same letter, but since there is absolutely no practical usage for this script anyway, that should not be a problem.

Dungeons & Dragons Reference Database

I just finished writing a script that allows searching a giant database of Dungeons & Dragons items for their source. Use it to find what you need faster: it is very handy if you’ve got many of the books and don’t want to check the index of each of them. You can find it here: Dungeons & Dragons Source Database.

The items are sorted into several categories: Armor, Armor Special Ability, Artifact, Class, Class Feature, Cursed Item, Deity, Domain, Epic Class, Epic Spell Seed, Feat, Flaw, Gem, Goods and Services, Invocation, Magic Armor, Magic Weapon, Material, Material Component, Miniature, Monster, Monster Class, Natural Item, Poison, Potion, Prestige Class, Psionic Crown, Psionic Item, Psionic Power, Race, Relic, Ring, Rod, Rule, Skill, Spell, Staff, Template, Variant, Weapon, Weapon Special Ability, Wondrous Item. They’re also listed by book title.

The list was given to me by Surreal, a member of the Wizards community, and was compiled by someone at juicymango.co.uk, which now unfortunately is offline.

HBH Logical 1: Bags and Beads

The first of Hellbound Hackers’ logical challenges is Bags and Beads:

You are given 5 bags. There are 10 beads in each of the bags. In four of the bags, the beads each weigh 10 grams. In the remaining bag, each bead weighs only 9 grams. All the bags and beads look and feal identical. You must find out which bag has the lighter beads. You can use a scale, but it has to be a single-tray scale, not a two-tray balance scale. Also, you may use the scale only once. After you place something on the scale it will get stuck so taking anything off or putting anything on will not be weighed. You cant tell the difference by picking them up, they will all feal the same. How can you find out which bag has the lighter beads?

This challenge requires thinking outside of the box, which makes it a good exercise for hackers. You must realize that you are not limited to weighing the bags that already exist.

Take one bead from the first bag, two beads from the second bag, three beads from the third bag, and four beads from the fourth bag. You can leave the fifth bag. Put all the beads you picked up on the single-tray scale, and see what their total weight is.

If they weigh 100 grams, all of the beads are 10 gram beads, and therefore the fifth bag must contain the lighter beads. If they weigh 99 grams, 1 bead is lighter. Then the first bag must contain the lighter beads, since you picked one bead from that bag. With the same logic, it’s the second bag if the beads weigh 98 grams, the third if they weigh 97 grams, and the fourth if they weigh 96 grams.

Note that this solution is easier than some other solutions, since they state that you need five beads from the fifth bag. You don’t, though: and it’s easier to weigh 10 beads than 15.

Ego-Google Automatically

I just wrote a PHP script that automatically googles for a name along with “is”, such as “Tim is”, and extracts the facts to show in a list. Try my Ego-Google script for a self-confidence boost: It says that Tim is a wonderful being. Unfortunately, it also says that I am dead.alltel ringtones free v265 motorola4500 ringtone lg vx freeaccrington super ballusb a900 ringtone samsung transferfree alltel v265 motorola ringtonefree 5350 sprint ringtone lgfree absoluteley 3595 nokia ringtonesbedford carrington amanda Mapmichigan casinos all incasino aladdin posterall casino miami about online beachslots all online casinoaffiliate 888 casino marketingflorida internet account casino offshore merchantracing american and casinorating 007 casino royale Map

WordPress Plugin: Favicon Head

Favicon Head is a simple way to automatically include correct tags for linking to your favicon in the head of every page in your blog. No file editing is required, you only have to upload the file to the plugin directory and activate it. The default favicon location is favicon.ico, but can be changed through the options page.

Features:

  • Animated favicon support
  • Custom favicon location
  • Works in WordPress 1.5 and 2

Download and Install

  • Download Favicon Head 1.1.
  • Unzip the file and upload it to wp-content/plugins/.
  • Click the “Plugins” tab in the WP admin panel and activate Favicon Head.
  • Go to the “Options” tab and click the “Favicon Head” sub-page in order to change the favicon location from /favicon.ico.

Changelog

  • 2006-11-21, version 1.1:

    • Animated favicon support added (patch by pp)
  • 2006-08-21, version 1.0:

    • Initial release

HBH Javascript 3: HTML Entity Encoded

Hellbound Hackers’ Javascript challenge 3 looks a lot trickier than it actually is. First, you must find the relevant section of the source code. The following is enclosed in SCRIPT tags:

Fix the indentation and linebreaks of the above code, and it’s much easier to read. The content of a1 is substitute with “string” in order to keep the code readable.

var U7 = window, W8 = document;
var a1 = "string";
V0() {
  var V0;
  V0 = unescape(a1);
  W8.write(V0);
}
V0();

This code first defines W8 as the current document, and then a1 as a long, illegible string. The function V0() creates a variable with the same name and is assigned the unescaped value of a1, after which it is printed to the W8 (the window). V0() is then run.

In order to see what is printed, we must decode a1. This can be done in several ways, such as with the PHP function urldecode(). I used an online URL decoder.

The string decodes to an HTML form and two Javascripts, one that negates right-clicking and one that checks the username and password. You should be able to find and extract the password and username without any problems:

function pasuser(form) {
var text2='lolage'
var text4='hahaomgz'
  if (form.text1.value==text2) { 
    if (form.text3.value==text4) {              
      location="index.php?text1=lol&text3=haha" 
    }
    else {
      alert("Invalid Password")
    }
  }
  else {
    alert("Invalid UserID")
  }
}

My username/password combination was lolage/hahaomgz.adverse personal loan unsecured 10k12 new loan 17 paydaypayday 12 loan com 18 quick123 loans125 loan bad home13000 loanno credit 1500 loan check1st loan home horizon Map

Earlier Posts »
FireStats iconAnvänder FireStats