Markus on 28.12.09 at 10:05 pm

Moving - Now I am perfect at that

/var/log/life/markus.log

We moved our flat again. This time, we found a flat, which is bigger than our last one (83² instead of 64 m²). Now we have:

- a sleeping room
- a kitchen
- a living room
- a room for working
- a bath room
- and a nice corridor

Actually, I don’t want to move again so soon. It’s not funny. But thanks to my friends, we were able to move most of the things within one weekend.

The internet is working - that’s the most important thing.

Finally, I am also happy, that we found a nice neighbor. One like this seems to exist in any house. She is hanging at the window all day. And there, she notices everything. For example, that I was parking our car at the wrong parking space. When I introduced ourselves, she said: “Ah, yeah, I know. You are the one, who parked the car t h r e e times in the wrong space.” I was like: “Uhm, yeah.” It’s not even her parking space…

Whateva. We will enjoy our nice place now. More space for us and even for a dining table.

Markus on 29.11.09 at 9:25 pm

Das sind ja wieder Behauptungen

Ungedingstes

… was mußte ich gerade bei Yahoo lesen? Elch tötet Frau. Soweit, so schlecht.

Nur, in diesem Artikel läuft mir folgender Satz über den Weg:

“… sagte Westlund, der knapp 50 Jahre verheiratet war und Vater von zwei Töchtern sowie drei Enkelkindern ist.”

Soso, demzufolge ist der Gute, also in Summe Vater von fünf Kindern, oder wie sehe ich das?

Markus on 24.11.09 at 5:04 pm

MS Project: Print schedule and zoom to the time of the project

Windows

When using MS Project for planning your projects, you will most certainly want to make a printout of your project for showing off.

But, if you do so, MS Project starts your printout at the todays date. If your project will start in the future, you waste a lot of space on your schedule. What can you do, to make MS Project create a printout, where your schedule fits on one page?

First step: Go to: file - Page Setup and choose “Fit to one page”

Second step: File - Print and choose “Dates from … to …” Enter the dates of your project.


As a result, you should get a printout, which shows your schedule fitting on one page.

Markus on 20.11.09 at 5:44 pm

Excel: Repeat header rows on all printed pages

Windows

If you create a large table in Excel, and you want the first header rows to be printed on each page, you can do it like that:
File –> Page Setup –> Sheet
Choose the rows, you want to be printed on each page.

Markus on 17.11.09 at 10:42 pm

Bye, bye, source of pain …

/var/log/life/markus.log

Markus on 24.08.09 at 9:52 pm

Nice algorithm for the evaluation of step functions

Electrical engineering

Last week, I did measurements. And today, I tried to analyse those measurements. The problem: I recorded with a LDS - Nicolet system. And I used Perception for the evaluation. But the functions are quite limited. That’s what I think.

So I exported the recordings to ASCII. Which meant, I had 17 MB for each record. With 7.5 million samples each. And then I needed to find at which point, a step in the digital signal occured (High=10 Volts, Low=0.xxx V). So I imported the records in Scilab. Then I programmed some loops to run through all the records. It took Scilab 40 minutes. So obviously, there was room for improvement. What to do?

1. Create a vector, containing the analogue data of the more-or-less digital signal.
2. Create a second vector, comprising the same data
3. shift the second vector one row upwards
4. Subtract vector one from vector two
5. Divide the resulting vector by 10, and round it to integers
The result is a vector, which only contains -1 (down-step), 0 (no step), 1 (up-step).
6. Create a sparse-vector out of it.
7. Get all the values, which are in the original matrix, at the points of the sparse.

The result is: Instead of 40 minutes, the result was prepared within 10 seconds. But, you need to give Scilab a higher stacksize. By: stacksize(’max’)

If you want to have a look, you can download the file here.