What is the most useless but still aesthetically pleasing way of implementing a horizontal seperator in code without using comments (and without altering the calculations in the code, e.g. everything is the same as before with the new line inserted). The answer is ofcourse "fun with unary operators". From this little <hr> adventure a some what obscure kind of artform was born. A perfect mixture of beauty, uselessness and mindboggling results.
This is my first "art work" in this new art-genre so bear with me ;)
Ways of separating code with style
int main (int argc, char * argv[])
{
int x = 0;
int j = 0;
int a = 0;
int o = 0;
int lbs= 0;
int d = 0;
// Some cool horizontal lines
int i = + - + - + - + - + - + - + - + - + - + - + - + - + - + - a;
int n = + + + + + + + + + + + + + + + + + + + + + + + + + + + + a;
// Ahhh handles
int m = -+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+- -+- a;
// Get in shape with some weights..
int k = +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ a;
// For the fantasy people, some swords *ching*
int l = ++-- ++-- ++-- ++-- ++-- ++-- ++-- ++-- ++-- ++-- ++-- a;
int u = --++ --++ --++ --++ --++ --++ --++ --++ --++ --++ --++ a;
// The man in your computer
int p = (o)-(o) ;
int y = d ;
int z = i---i ;
// And of course the geek with the glasses
int r = (o)+(o)-j ;
int q = d ;
int w = i---i ;
// And the glasses-geek after too many beers
int s = (x)+(x)-j ;
int h = d ;
int g = i---i ;
// The BIG weights
int e = (lbs)+----+(lbs);
std::cout << e;
std::cout << x << j << a << o << lbs << d << i;
std::cout << n << m << k << l << u << p << y;
std::cout << z << r << q << w << s << h << g;
}
.. and the mind-boggling part you ask?.. Ok who can tell me why the variable e is printed out containing the value "-4" when lbs is initalized as 0 above? Can you actually create a number from nothing? *spooky music*
And if that is not enough for you, how can the value for i printed out at the end be "-3" although the variables z,w,g all printed out the number "0"?


Yup.. as you guessed I'm shamelessly lying in the title of this post. Not much happened.. not much at all.. :)
Well this week I've been working from home. Just haven't been able to get myself to go to school for work... I don't know what I was thinking working full-time at school in the summer also.. you just need a break from this environment in the summer.

Well the trip to Sufistinn yesterday was relaxed and nice, actually just showed up there alone. Which was very nice since I had brought a book with me to read. Had a Cappuccino and read through the "
Well a pure coffee experience yesterday when I went to Te og Kaffi on Laugarvegur. For the first time in these past five days I finally got a decent cup of espresso-based coffee. The best, even better than the other gourmé coffee house in Reykjavik "Kaffitar" (which I think has lowered it's standards considerably for the past year or so...) Got a great cup of Cappucino for only 290 and believe you me it was tasty, wheres the same cup costs 350 at Kaffitar.
So for day three of my CE experiment I met a few people in Kaffibarinn, which is a popular coffeehouse on Laugavegurinn (the main strip). The only reason for picking this place is because it is a hotspot (has wireless internet) and we wanted to share some music.. geeks! hehe..
So this weekend I decided to do a little informal social-experiment kind of a intro-/outrospective thing. The deal is that I must spend at least two hours each day goofing-off in a coffeehouse in Reykjavik Central. Last Sunday was the first day of the experiment and it went quite well I have to say (although I drank considerable amount of relatively-cheap beer and had work in the morning but..) Met a couple of my friends and we just goofed-off :)
Frábær útileigu-afmæli um helgina hjá Braga og hinum fjórum fræknu félögum hans í Húsafelli. Við Rannsa sóttum Styrmi seinni partinn á laugardaginn og lögðum á leið úr bænum (eftir að Solla þynnkudolla hætti við að koma með). Verð að viðurkenna að það var nú talsverð rigning á leiðinni og Styrmir jó-jóaðist á milli þess að gera gott úr málunum ("Þetta verður fínt maður.. erum með tjald") og missa sig í móðursýkiskasti í aftursætinu yfir vatnsmagni og vinhraða sannfærður um að við myndum aldrei komast lífs af úr þessari raun.. og hann var sá eini okkar sem var vel búinn með 3-piece poncho regnföt, fást nú á Essó stöð nálægt þér á 100kall.. !







Yup going camping this Saturday, attending a friends birthday party in Húsafell (
Today's word is "Flabbergasted" and for a good reason!!






Due to long lasting and irritating problems with the layout and look of my website I finally decided to give it a good overhaul and redesign the whole thing. I just don't know what I was thinking with that last design.. what a piece of shit!