Wednesday, May 7, 2008, 09:57 PM - Computer, Linux

This is an really great source:
http://softwarecommunity.intel.com/arti ... g/1611.htm
I often need the commands to force my CPU to go down to 600MHz because sometimes my laptop is running without a reason with 1600MHz which makes my fan running all the time and that is really annoying.
By the way, my laptop died yesterday - I'm currently using my dad's laptop wich is the same model as mine so I had just switch the harddrive to bring up my system again.
When I was in University yesterday I started my laptop and the display flared - I thought it is flaring because I made a suspend to disk before (sometimes the display shows curious output for one or two seconds if I'm booting my computer after a powersave -U). So I removed the battery and restarted the machine but there happend just nothing - no display, no harddrive access ... NOTHING.
So I gave the laptop to the repair center of electronic market and now I hope that they can repair this defect.
Good Night (in Germany)
Martin
| permalink | related link
Wednesday, March 26, 2008, 07:01 PM - Web

I have some sites which are difficult to integrate in my current layout because there would be a lot of CSS conflicts. This sites are not validated until now.
The next step is to correct the bad HTML of this blog. For example the most styles are assigned with the ID HTML-attribute.
| permalink
Thursday, February 28, 2008, 09:54 PM - Computer, Common Lisp, Web Framework

But the Problem was that I have to deal quite fast with technical restrictions of PHP. That means that I have to think to much about the language itself and if you are a programming-rookie like me it's not so easy to keep track of all these language restrictions. In this way for me it is easier to write in lisp.
I have a little bit expirience with Edmund Weitz' hunchentoot HTTP-Server and I think I can do it easyer with such an setup.
I hope I'll can work a little bit on this small project the next time.
PS:
My concept of the Framework is not much more like the dispatcher of hunchentoot but I like some more functions which are more specific to web publishing which makes content-providing more flexible and easier to use.
I think the way I'd like to go is to provide an more abstract layer for the dispatcher of hunchentoot which maps the ideas and concepts of Publishing Documents in the Web to an Server.
| permalink
Tuesday, February 5, 2008, 09:15 PM - Linux, shell scripts

convert -fill 'rgb(128,128,128)' -background transparent -font FONT.TTF -pointsize 50 label:"EXAMPLE TEXT" -rotate 90 OUTPUT_FILE
-fill Color in rgb notation -background Background color (here transparent background) -font ttf-file (I think you can also use a system font). -pointsize size of the text -label:"" Text which appears in the image -rotate Rotate the image -OUTPUT_FILE filename of the output file (here png because I use a transparent background)
Source: http://imagemagick.org/script/command-line-tools.php
| permalink | related link
Sunday, February 3, 2008, 02:25 PM - Blog

I think thats because a search engine was crawling over this blog and opend every rating link.
I hope that the following robots.txt can fix this problem:
User-agent: *
Disallow: rate_cgi.php
PS: In the first moment I was wondering if there has been somebody on my blog and rated articles

It seems that the robots.txt is not working. Maybe there is a conflict with the following meta-tags:
<!-- Robots -->
<meta name="robots" content="ALL,INDEX,FOLLOW,ARCHIVE" />
<meta name="revisit-after" content="7 days" />
I decided to deactivate the rating functionality.
| permalink
Saturday, February 2, 2008, 11:41 PM - Common Lisp, Web Framework

So the content blocks are mapped to an URL
(URL (Content-I Content-II))
An Example:
Content Block I
-------
| abc |
-------
Content Block II
-------
| def |
-------
Block I and II are bound to serverrelativ URL
/content
(:/content ("Content Block I" "Content Block II"))
http://www.martin-enders.de/content leads to a page like this:
/-page----------\ | | | ------- | | | abc | | | ------- | | ------- | | | def | | | ------- | |_ _ _ _ _ _ _ _|
Idea
The idea behind this framework is that you can map differnt content blocks to an url.
Problems / Questions
How should sites be treated when you use special functionality. Is in content blocks just HTMl allowed or should it be possible to integrate lisp into the pages?
The content Blocks are integrated in an layout so the HTML in the content block is just a part between the <body> and </body> tag. If you need an extra css file you have to be enabled to integrate an special tag to integrate additional information into the HTML head.
But all these workarounds lead to inconsistencies in the framework - it seems that it's not a good design now.
Conceptual Lisp Dispatcher:
(defvar *dispatch*) (setf *dispatch* '(:/ ("index") :/web ("web") :/css ("css2" "css3"))) (defun get-content(content-block) content-block) (defun render-content(content) (format t "~a" content)) (defun dispatcher(script-name) "This function takes a string as argument and converts it into an keyword for comparison with the url's in *dispatch*" (let* ((request (intern (string-upcase script-name) "KEYWORD")) (content (getf *dispatch* request))) (dolist (content-block content) (render-content (get-content content-block))) request))
Conclusion
I'd like to have a small consistent framework for publishing in the web. But the current state of this idea has to many inconsistences.
| permalink
Friday, February 1, 2008, 12:32 AM - Web, Blog

I'd like to convert the static pages of this blog to html-pages and publish them under www.martin-enders.de - because they don't need any dynamically created content so there is no reason to manage them with a blog system.
From here to the future this blog has a new home at blog.martin-enders.de.
The former blog at mitglied.lycos.de/oberweissenbach/blog is no longer active.
| permalink
Wednesday, January 30, 2008, 07:03 PM - Web, Blog

I have choosen an virtual server because they are not as expensive as dedicated servers. I think for my small applications even a virtual machine is oversized.
My new server will be reachable over the martin-enders.de domain.
I like to set up wordpress for publishing things. One Problem is how to add this entries in a new wordpress installation. The easiest way is maybe to move this complete blog to a new home and link to it.
Now I'm really curious about this v-server.
I have to make some new pictures because the pictures of this and the last entry are not relating to the content of them.
| permalink
Monday, January 28, 2008, 10:36 PM - General, Computer, Web, Blog

Recently I found a new old website of me but this site by itself is a site which includes an older site of me.
So I'm glad that the contet I produced isn't lost but now I think that all this content should be structured.
The Problem is I don't know how to structure it. Should I convert all text-sites into content management system, or should I use wordpress as a combination of Blog and static sites. Or should I write a System by myselef.
I have really no idea....
The main problem is maybe that I don't know what I really want to do with my web-site.
Sometimes I'd like to provide interresting things I'm working on and sometimes I'd like to have a playground.
I'm going to be totally confused

Maybe I should smash all that old shit to bits (with Thors hammer Mjölnir (-; ) and start with a new small well designed and structured page.
</loose thinking>
| permalink
Tuesday, January 22, 2008, 07:02 PM - A-TEAM

I have two colleagues studying with me, who didn't know THE A-TEAM at all. At first I can't belive it but now I can (ab)use them for a test (-; .
10 ways to convert people into A-Team fans
by Hannurdock
*Giggle* - I'm tired, and this is the kind of weird thing I do when I am over-tired. Here's to the weekend !!! *Raising beer at 2.00 in the morning*
SCENARIO: OK, so your friend is not exactly an A-Team enthusiast. She hates the team, and your job is to convert. *giggle*
1. Hum the A-Team theme tune whenever you are around the AA Friend (Against A-Team). Eventually, whether she knows it or not she'll start humming it too. A catchy tune always catches them out.
2. Have an evening at home playing board games. Put a few episodes of the A-Team on the box. Play the game for hours, being as boring as possible. Eventually she will turn her eyes for entertainment towards the TV, and wham, got her.
3. Ask her opinions every minute on if she thinks Face is good looking. Show pictures, with him smiling broadly. If that doesn't work, nothing will.
4. Infect her Furby with A-Team words - like 'I love it when a plan comes together', 'and on the jazz'. The principle being simple, Furby owners love their pretend pets so much, they DO start to talk like them. (Believe me I know, I have two).
5. Comment on every movie with an A-Team slant. Like, oh isn't Aliens a good film. Yeah, but wouldn't Hannibal be an ideal choice instead of Hicks. More leadership experience, after all.
6. Ask her opinions on the war in Vietnam. Then spend five hours explaining how the team knocked over the Bank of Hanoi and got caught 50 clicks from Denang.
7. Smoke cigars in her prescence. When asked to put it out, chew off the end and spit it on her shoe.
8. Steal a straight jacket, put her in it and leave her with the television set doing a marathon of 10 ateam episodes. If nothing else, at least she'll act like Murdock when she's freed.
9. Create an A-Team computer virus especially for her machine. Have Hannibal snickering in the background, and BA telling her to SHUT UP, FOOL! would be extremely amusing, and also send her insane.
10. Last, but certainly not least, introduce her to the fanfic at the VA Canteen.
Well, that's it. If your friend is not seriously insane or salivating like a mad woman once your done, you may have scored a winner !!
Either that, or just throw her in the VA in a straight jacket !!!
Hannurdock
(Smiling wickedly)
Source: http://www.ateamfanfic.org/read.php?&sku=103
| permalink
Next