Archive

Archive for the ‘Personal’ Category

Up again!? :)

March 23rd, 2010

“Hello world” again,

Due to hosting stuff I was away from blogging since June 2009… Now fixed the stuff and just restored the backups!

Hopefully, I’ll be here posting new stuff.

Personal

Weirdo

June 3rd, 2009


PROGRAM WEIRDO;
USES CRT;

VAR
N:INTEGER;
TMP:INTEGER;
I:INTEGER;
J:INTEGER;
A:ARRAY[1..7] OF INTEGER;

BEGIN
A[1]:=1;A[2]:=3;A[3]:=5;A[4]:=7;A[5]:=6;A[6]:=4;A[7]:=2;
N:=7;

J:=A[N];

FOR I:=1 TO N-1 DO
BEGIN
TMP:=A[J];
A[J]:=J;
J:=TMP;
END;

WRITELN('RESULT IS');
FOR I:=1 TO N DO
BEGIN
WRITE(A[I],' ');
END;

END.

What the heck you’ll say… I’ll tell you later…

Here I go, this was just posted after a lengthy study about data structures & algoirthms. And this was just an implementation to one of the possible questions that could have came out in the exam. And the question is, A word is getting scrambled using an array like this {1, 3, 5, 7, 6, 4, 2 } (N=7) such that odd numbers are written from start of the array to the middle whereas even numbers from the end of the array to the middle. unscramble a word given, without using a secondary array.

– Btw, question not asked…

Lame stuff, Personal

Addicted to Notepad

March 1st, 2009

Do you open at least 10-15 notepad’s just to paste some stuff that your later copy and paste to somewhere else or save them for later reference?

If you do, then you are like me a notepad addict…

The good sides of the notepad are

1. Low memory footprint
2. Never seen it crashed
3. It doesn’t deal with a special format… it’s just plain ascii or uses your local’s encoding without problems…
4. It’s really fast to open and use.

Downsides are
1. Not compatible with unix files… (just for this reason I have now wordpads half the count of the notepads)

No matter what, it saves me from intermittent connection errors, whenever I write something bulky to post to a new site I just open a notepad and paste the thing before I click the submit button. The frustration of having lost a bulky text you wrote is really big… especially for someone that is quite lazy like me…

So if you find someone that have numerous txt files in his/her storage and his/her desktop is cluttered then that person is probably a notepad addict… like me… like you?

ps: copies the text above and puts into the new notepad he just opened.

Personal , , , ,

Google advertising

March 1st, 2009

It’s been nearly 4 years I put google ads into my site (http://www.tepetaklak.com)
I specifically targeted the kanji enthusiasts and wrote a small c program to extract the kanjis out of the default kanji font of the jwpe (japanese editor)

Combined it with the information I got from kanji database… After 4 years, now if you search for “kanji list” in google, my site comes up first… Though I did nothing to improve the site after launch.

At the start of this month, I got my first payment from google… Earned just $100 in 4 years :)

Quite the big portion of this amount resulted from the kanji pages, the rest from my homepage, the old and ugly inek (http://www.tepetaklak.com/inek/) which I had written nearly 9-10 years ago.

Total cost of this site to me for four years was $10*12*4 for the hosting and $10*4 for the domain registration summing up into $520…

Point of this post is, don’t overestimate the ads you see on sites :)

Personal