Sunday, December 04, 2011

A kickass plugin for Kate

Kate (http://www.kate-editor.org) is the default KDE editor, which is quite nice if I might add.  Also, it supports plugins.

Kick Assembler (http://theweb.dk/KickAssembler/Main.php) is a nice cross-assembler for C64.

So...introducing the kickass plugin :-)
As you can see it adds a "C64" top menu, where you can find 3 items.

  • Assemble, it assembles the file you are working on Kate (it saves the file before doing that)
  • Assemble and run, assembles the file and if there were no errors it runs output with vice
  • Display Error again, the kick assembler stops on the first error it finds.  When that happens a small passive popup windows displays the error for a few seconds and also the cursor on the editor goes to the line with the error.  Now, if you missed the displayed error, you can use this to redisplay the error. (Yeah, I am not happy with it either :P)

How to get (source code), compile & install 
svn checkout http://kickass.googlecode.com/svn/trunk/ kickass

cd kickass
mkdir build
cd build
(if you have both qt4 and qt5 installed you have to do this here: export QT_SELECT=4)
cmake ..
make
sudo make install
kbuildsycoca4

What packages do I need for the above to work?
Well, just to give a reference point, the following line for (k)ubuntu will probably suffice
sudo apt-get install subversion cmake kdesdk kdelibs5-dev

How to activate on Kate and configure the plugin
Go to Settings/Configure Kate/Extensions

You press the little config icon on the plugin's row and you finally get the following:

Well, you can see the path to where I have the kick assembler here.  When you first arrive here it will be empty and you need to find the KickAss,jar (Use the button "Find kickass...")

Oh, the assembler options and emulator options fields in the configuration dialog are not working for the moment.

Scratch that.
Now the cool thing is to have
Assembler options: -vicesymbols
Emulator options: -moncommand %b.vs
This will make the assembler export the symbols and start vice with the command to use them, so if you hit the alt-h on vice, you'll have your symbols in the dissasembly. Cool, eh?

Sunday, May 22, 2011

Γιατί το Σύμπαν χρειάζεται τη ζωή;


Αν κοιτάξουμε γύρω μας βλέπουμε τον πλανήτη μας να σφύζει από ζωή.  Άνθρωποι, ζώα, φυτά παντού γύρω μας, ορατά.  Και ένας ολόκληρος αόρατος μικρόκοσμος επίσης γύρω μας.  Αλλά είναι η ζωή απαραίτητη για το Σύμπαν; Τι τη χρειάζεται;  Ή μήπως ήταν κάτι τυχαίο;

Θερμοδυναμική - Δεύτερος νόμος
“Κάθε θερμική μηχανή έχει απώλειες ενέργειας”.  Σε ένα κλειστό σύστημα, μετά την ολοκλήρωση μιας διαδικασίας (για την οποία δαπανήθηκε ενέργεια), η ενέργεια έχει “υποβιβαστεί”.  Ο υποβιβασμός εδώ έχει την έννοια της μικρότερης δυνατότητας αξιοποίησης.  Άρα η ενέργεια δεν χάνεται, απλώς κάθε φορά που αξιοποιείται γίνετε όλο και πιο μη-αξιοποιήσιμη.  Βάσει το νόμου αυτού αποκλείονται οι μηχανές αεικίνητα.

Σε ακόμη πιο ελεύθερη απόδοση, ο δεύτερος θερμοδυναμικός νόμος, λέει ότι όσο περνάει ο χρόνος, και σε ένα σύμπαν που βρίθει από φυσικές διαδικασίες από την πιο μικρή κλίμακα των quarks μέχρι τα υπερσυστήματα γαλαξιών, η ενέργεια του σύμπαντος συνεχώς “υποβιβάζεται”.  Και στο βάθος του χρόνου, μετά από δισεκατομμύρια χρόνια, η ενέργεια του σύμπαντος θα έχει υποβαθμιστεί τόσο πολύ που δεν θα μπορεί να προκαλέσει απολύτως κανένα έργο.  

Η τάξη έχει χαμηλότερη εντροπία από την αταξία.  Άρα ο δεύτερος θερμοδυναμικός νόμος σπρώχνει την τάξη προς την αταξία.

Σε μια πρώτη θεώρηση, η ζωή μπορεί να θεωρηθεί ότι έρχεται σε αντίθεση με τον δεύτερο νόμο της θερμοδυναμικής, αφού ένα στοιχείο της είναι να φέρνει τάξη από την αταξία.  Όμως μια τέτοια θεώρηση αφήνει μια σημαντική παράμετρο εκτός.  Επικεντρώνεται στην ίδια τη ζωή, ας πούμε σε ένα φυτό, και όχι σε όλους τους παράγοντες (χώμα, νερό, αέρας, ήλιος, βαρύτητα γης, βαρύτητα σελήνης κλπ) που επηρεάζουν το  φυτό.  Ο δεύτερος νόμος είναι ξεκάθαρος “σε ένα κλειστό σύστημα...”. Η εντροπία ναι μικραίνει στο φυτό, η εντροπία αυξάνεται στο “περιβάλλον” του φυτού.  Αν τα προσθέσουμε η αύξηση υπερτερεί και έτσι συνεχίζει να ισχύει ο δεύτερος θερμοδυναμικός νόμος.

Αν η ζωή λοιπόν επιταχύνει την εφαρμογή του δεύτερου θερμοδυναμικού νόμου, μήπως αυτός είναι και ο λόγος που υπάρχει;  Μήπως το Σύμπαν χρειάζεται τη ζωή για να εφαρμόσει πιο αποτελεσματικά τον δεύτερο θερμοδυναμικό νόμο;  Μήπως το Σύμπαν χρειάζεται τη ζωή...για να πεθάνει;

Wednesday, October 27, 2010

Thursday, September 30, 2010

Lost: The Weight of Us

Superb editing once more.

Lost: Force my love

You'd think I should be tired of Jate videos....but I am not! :)


Sunday, September 26, 2010

Monika

Impressive young woman.  Just caught her on tv for the first time.  Sort of clicked...


Thursday, September 09, 2010

Lost: Your kiss is cosmic

Best video editing, hands down!


Saturday, August 21, 2010

Lost: To Remember

Very nice editing, music builds up perfectly.

Tuesday, August 03, 2010

Cry little girl (Nimbou) #2

You can blame your luck little Neevo :P

Thursday, July 29, 2010

More Lost

Nice song...

Friday, July 23, 2010

Monday, July 19, 2010

Another one for Lost...

Nice song, nice video editing.  And the actual script quotes as a bonus.

I am going to miss Lost...

A video that I like lately. It's probably the music that mostly...gets me.

Friday, July 16, 2010

Pvp, take #3

Ok, probably the last one I upload here.

WoWScrnShot_071610_001203

Wednesday, July 14, 2010

Pvp, take #2 (Almost feel pity for them)

Almost feel pity for the Horde...Nah, I am not.

Still pve-talents, pve-gear....pvp-0wn4g3


Sunday, July 11, 2010

Melting faces...

Shadow priest.  PvE gear. PvE talents.

Friday, July 18, 2008

Testing Kblogger in KDE4

Well, KDE4 is a reality for a long time now actually. And I΄ve decided to test the KBlogger application.



KBlogger lets you write your blog article in a nice rich client application right on your desktop. When you are happy with it you publish it upstream.

Looks cool, works cool, lets see how cool it sends the article out there ;-)

Tuesday, April 15, 2008

Quanta, shadows and Newton's apple

I was driving at work this morning, and I was stacked in traffic (as usual). I was waiting for a traffic light to go green and I was looking at a side of the bridge that was a few meters above my head.

The side has small pillars, I couldn't see the traffic on it, but the sun was sending traffic's shadow to fall on the pillars. And then it happened... :-)

I must have seen the same (more or less) thing a million times before. But it was so clear now! Crystal clear.

The shadow of a track was moving along the pillars, I wasn't looking at it, just had it in peripheral vision. But it felt wrong, something felt wrong. Instantly, my eyes started following that shadow. It was so weird. The motion...well it was not a motion...it was little jumps, little hops, from one pillar to another.

"Like quanta" I thought. "Quanta? Holy crap" my next thought. Just because we perceive some motions in the microcosm as not as in the classical world, that does not mean they happen like that. We just see the pillars cause we simply can't see the traffic!

It is not an original idea, I am sure I read it somewhere...probably in a superstring theory context, that what we see (in our 3-D world is actually shadows of a N-D world), yet I've never read an example, I've never related it with a physical observation.

And it felt good! :-) You know the story with Newton, that he was (allegedly) hit by an falling apple and then he thought about gravity...well, that was my apple.

Delicious!

Sunday, February 10, 2008

Paladin ftw :-)

Warcraft is an addiction. Yes it is. My first character is a paladin. Paladin levels slowly, but can do some pretty amazing things...like fighting a gazillion enemies at the same time.

Look at the screen shot if you don't believe me.

Now, I may be tired of my paladin. I play him the least, if at all. Still this screenshot feels so good :-)