Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/scripts/sb_display.php on line 404
Martins dies und das - blog.martin-enders.de
Convert pixelbased images to eps 
Tuesday, February 8, 2011, 12:10 PM - Computer, Linux, PostScript, LaTeX
I was looking for the best way to convert pixelbased images to .eps fileformat to use them in my documents created with LaTeX. The problem was that the eps-files where always very big (from 40kB jpg to 4MB eps).

At first I found jpeg2ps which produces eps files in eps version 2 or 3.

Beginning with the second version of PostScript (PS) the PS-Interpreter can render jpeg-images which are contained in ps-files.

So the easiest way I found was to use 'convert' which should be available on the most GNU/Linux Systems.

convert test.jpg eps3:test.eps

note the 'eps3:' at the beginning of the output file.

This produces eps-files which are just minimal bigger the the original jpg-file.
  |  permalink
Intel SpeedStep Article 
Wednesday, May 7, 2008, 09:57 PM - Computer, Linux
Today I need this article about SpeedStep with Linux from the Intel site (I mentiond it already on my NX7000 Notebook site).
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
CL-Webframework 
Thursday, February 28, 2008, 09:54 PM - Computer, Common Lisp, Web Framework
I fetched up the idea of the CL-Webframework mentiond three postst before. I tried to implement an prototype in PHP because this server is a virtual machine and I have some problems to install SBCL.

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
Structure of Content 
Monday, January 28, 2008, 10:36 PM - General, Computer, Web, Blog
<loose thinking>
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 :-P.

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
Debian init scripts 
Sunday, October 7, 2007, 03:34 PM - Computer, Linux
Making scripts run at boot time with Debian

Good HowTo about creating Startupscripts for Debian.
  |  permalink  |  related link
Setting up Debian on a HP-NX7000 
Friday, October 5, 2007, 12:15 PM - Computer, Linux
I moved the blog entry about the Debiansetup an my Laptop to a static page in this blog.
See here.
  |  permalink  |  related link
RegEx 
Tuesday, August 29, 2006, 06:59 PM - Computer
I learnd some RegEx the last few days.
It is really cool, I used it to convert .cvs files in html-tables.

At the first shot I used a macro in emacs to convert the comma-divided cvs in html.
But dad told me how I can do this with repalce-regex in emacs.

The list:
foo,boo

boo,foo

The Output I'd like to have:
<tr><td>foo</td><td>boo</td></tr>

<tr><td>boo</td><td>foo</td></tr>

The RegEx:
Replace: ^\([^,]*\),\(.*\) with: <tr><td>\1</td><td>\2</td></tr>


This is my first big Regular Expression.

I found much useful things at: http://www.gnu.org/software/emacs/#Manuals
  |  permalink  |  related link
Another reason for Linux 
Tuesday, July 25, 2006, 01:28 PM - Computer, Linux


"linux is free and easy, so it must be a slut.." (from linuxsult.net)

http://linuxslut.net/album/linuxsluts/
  |  permalink  |  related link
Ubuntu amendment 
Monday, July 3, 2006, 03:53 PM - Computer, Linux
I've read an article in the c't magazine and they said ubuntu is a real debian system with many user-friendly configuration-tools, so you can decide how much debian you want to use. I think this is an interesting aspect speaking for the ubuntu-system.
But the last time I tried ubuntu (a half year ago) I was not satisfied because I found some inconsistences. I changed my password with passwd in the comandline but the password for the gnome system was still the old one (I was really confused). But in the last few tests I read about ubuntu it performed pretty good.
  |  permalink
Ubuntu 
Thursday, June 29, 2006, 04:07 PM - Computer, Linux
A friend told me had installed Ubuntu on his Laptop and almost all features work out of the box.

3d-acceleration, display, wlan, mouse, speaker loudness buttons, cpu frequency scaling

I was surprised when I heard about this installation-success. It seems that Linux improved very rapidly during the last half year.


<My opinion>
I think it would have been better if Marc Shuttleworth didn't have developed his own Linux OS and develop directly for Debian because Ubuntu is based on Debian. So I think the community would profit much more if they develop new features together. So they don't have to invent the wheel new.

I've seen some programms in my Debian installation which are from Ubuntu so perhaps the two distributions run together.
</My opinion>
  |  permalink

Next