It's a blog about nothing!

Quine
30/1/2010 - 21:11:11 - 0 comments - By D47
My new favorite scrabble word is quine. A quine is a program that can print it's own source code. Here is a basic one I wrote just now:

#include <stdio.h>

char *str = "#include <stdio.h>%c%cchar *str = %c%s%c;%c%cint main(void) {%c%cprintf(str, 10, 10, 34, str, 34, 10, 10, 10, 9, 10, 10);%c}%c";

int main(void) {
    printf(str, 10, 10, 34, str, 34, 10, 10, 10, 9, 10, 10);
}


This is just about the most awesome thing I've seen all week.
 
Japan and It's unbearably strong attraction
30/1/2010 - 02:36:08 - 2 comments - By D47
Honestly I don't know exactly why I love Japan so much, maybe it's just simply because it's so foreign and peculiar that it breeds fascination in people like me. Maybe it's that I glorify it too much based on the ridiculous amount of anime I watch. Maybe it is genuinely 1000x more awesome than Australia. I'll never know until I go there.

For a few years now I've been intensely absorbed in Japan and it's language that it's distracted me from my regular studies and makes me want to swap degrees. Just recently I've craved to just go there as soon as possible, verging on a spontaneous plane ticket purchase that I so desire.

I'm getting my passport renewed and plan to do another bachelor degree after my current Bachelor of IT and apply to visit Japan as an exchange student for a year. According to my universities website I will need a GPA > 5.5 to be eligible for some lucrative scholarship. That will be a huge motivator for me and I'm sure I will achieve much higher than that when the time comes just out of sheer excitement. I'm not very proactive with my current course because I don't really know what awaits me at it's completion and if it's all that exciting. Though I definitely do want to be a programmer in a tiny cubicle in the middle of a giant tower surrounded by busy people.

Apparently my oh so kind government allows me to take seven years worth of full time study and pay for it in the future when I'm allowed to cash in my monopoly money. This gives me two bachelors! but it doesn't count for anything higher, only undergraduate degrees.

My itching ambition to live in Japan was spawned by nothing in particular, it's probably totally arbitrary. I wouldn't be surprised to know that Japan just happened to be a foreign country I took interest in from a group of so many other countries that I could love just as much. I find myself getting so bored of the mundaneity (should be a real word) of every day Australian life and reading countless Japan travel journals written by other travelers.

When I go to Japan I'm definitely going to write a journal, I'll post it all right here on this website and it will contain many pictures and countless comments about glorified quirks of Japan and it's people. I'll even throw in the obligatory "Back at home you just don't see this.". Just watch me!
 
Exploitation
7/1/2010 - 18:58:26 - 0 comments - By D47
Thanks to some unknown benefactor who did a security report on my site some time ago, I regularly get visits from people obviously trying to hack my site using the exploits released in that report. I regret to inform these hopefuls that all the security issues mentioned in that report were addressed within a couple of hours from its release.

Nevertheless, the majority of my visitors are attempted exploiters trying to get access to my database. A noble task indeed. If you happen to be one of these hopefuls, I urge you to take a look around and read some stuff while your copying and pasting URL's from the report. Maybe you have something to say?

Also, for your information, the source code for this site is available from sourceforge at: http://sourceforge.net/projects/nullam/. Perhaps you can find an exploit nobody else has seen. I encourage it.
 
Obfuscation
15/10/2009 - 00:43:43 - 0 comments - By D47
This was easier than I thought it would be, but maybe mine isn't so great.


#define                                                             br putchar
#define                                                             obr 73
#define                                                             rdb int
#define                                                             erb main
#define                                                             bro ++
#define                                                             ber --
erb() {rdb bdr     =obr;br       (bdr bro);  rdb bed=obr   /2;bdr-=bed;rdb orb,
ord;      ord    =br     (bro     bdr        )-bed;        br(orb=obr+bed);
bdr      =bed   /ord     bro     ;orb        =br(          br(     bed-ord)
+(       orb/   orb+     ord/    ord)        *(ber ord*     ber     bdr));
bed=     br(     br(      br(     orb        +bdr          +(ber   ord)+ber
ord-(orb/orb     ))+      ord    + bro       ord)          -bdr    -ord);bdr=br
(br((bro bed+    bro orb)/ord     bro)/      ord);br(bro   bdr/ord-bed/bed);}
 
Life is lame
19/8/2009 - 18:00:19 - 3 comments - By D47
In life nothing exciting ever happens, nothing truly exciting anyway. I go through some levels of excitement but it always turns out to be not so great. Each moment I decide whether I want to go back to bed or not, to retreat into my room and watch some lame video until I forget that I have to do something tomorrow.

There are no great memories, just the memories that people decide were good for me, I really don't give them any special meaning other than their face value. I look forward to the future only if it means being past a mundane situation. It's like trudging through deep mud and not even knowing if its worth getting to the end.

It's so difficult making any meaningful friendships with people when I constantly judge everybody and fear of being judged myself. It's not something I do on purpose, I don't know how it happens, it's automatic I guess. When you walk passed a retard you think "There's a retard!", am I right? extreme example but it's the same.

And so everything is just boring, lame and unrelenting. There isn't much to look forward to, there isn't much to enjoy in the present and the past isn't part of the equation. I don't think depression can be cured, I think that its just a realisation of the world and human society, a state of mind that sees the world for what it is. To be happy is to be ignorant. Stop smiling, it's making me uncomfortable.
 

<<Older Newer>>

By Dylan McGannon. Feel free to copy, use and modify anything you find here.

The full source code for this website is available for free at http://sourceforge.net/projects/nullam/.

Valid HTML 4.01 Strict / Valid CSS!