Fri Aug 22 04:38:54 CEST 2008

cpp.png C++ for Runaways

Because of neuroinformatics I try to write a little neural network in C++. I am not a big C++ expert so I had to review some things.

If you would like to stream a file C++-like with std::ifstream file(filepath); and you put it into a function which needs the filepath as an argument you need to use char* filepath instead of std::string filepath. That surprised me much because char* is bad C++ style somehow.

Another problem was the output of real numbers. Firstly I used std::cout to print these using the float type. But it shows me only six decimal places.
Then I tried the C style with printf. The solution was, to use double (it is really enough for our purposes) and printf("%.10E\n", input);.
That surprised me, too, because I used a C element just another time instead of C++.

After it I've done a really bad mistake. I used the << operator together with an ifstream variable. But it is not defined with that. I had to use ofstream of course.

Another thing was that you cannot declare a variable y1 and y2 if you use math.h, because they were already declared there. Interesting. I didn't know that...


Posted by Sebastian Wieseler | Permalink | Categories: projects/programming |

Sat Aug 16 15:39:54 CEST 2008

Believing

Believing: Who believes in me? Who trusts in me? Anybody?

Sometimes I don't know where I should go - what to do next. Sometimes I feel alone. Why cannot anybody show me the right way?


Posted by Sebastian Wieseler | Permalink | Categories: personal notes |

Sun Jul 27 22:23:04 CEST 2008

Return to tomorrow

Can somebody please show me the return button of life? Somehow I would like to skip my current life and return to the beginning. Maybe I would do some things again, but maybe I would change something.

Somehow I lost my priorities. Somehow I don't know what is importand and what isn't. Somehow I lost myself.
Is a passed exam important? Friendship? Realtionship? Education? Joy? Fun? Tomorrow could change everything. What should I do today if there wouldn't be a tomorrow? Should I learn? Should I go out and enjoy the nature? Feel the world? Meet some friends? What?

There will be tomorrow. There will be tomorrow almost always. Why should I take time to do joyfull things? Why should I wait until tomorrow? Why shouldn't I wait?

Will be tomorrow the same if we take our time to do useful things or would it change if we waste it with hanging around? What if we change? What is if the world around us changed? Will we ever notice?

It is a strange feeling. Some time ago I've got fears. Now there are only empty feelings. My head is empty.

Tomorrow is a different day. (I'm not ready.)


Posted by Sebastian Wieseler | Permalink | Categories: personal notes |

Sun May 18 04:24:34 CEST 2008

loudspeaker.png 6th newcomer festival

Yesterday I was on the 6th newcomer festival in Ilmenau called VORSICHT! Band. It was a very loud event.
There were a lot of students, known faces and other rock people. The styles of the bands differed a lot. They played rock, hip hop, funky styles and many more on three stages. We all had a lot of fun and danced all the time. The bands rocked the house (ehm, our cafeteria ;))

My absolut favourite was the band Good Mourning. They come from Erfurt and played a good mix of low and loud accords. The female voice was really nice. The band got the second jury award.

After the festival we went to the BD club because the bhc closed because of to less people. So a lot of people celebrated the aftershow party in the BD. It was very very hot there. But we had fun nevertheless.

All in all a great night, too. And now after the long day, time to sleep for me.


Posted by Sebastian Wieseler | Permalink | Categories: events |

Sun May 18 03:35:15 CEST 2008

video.png 21

Two days ago I was in our local cinema to watch the movie 21. It is based on a true story of the MIT Blackjack Team.
Students of the MIT went to casinos to play there blackjack and to count probabilities of cards*. So they made a lot of money in Vegas.

It was a nice movie with a very good and interesting story. It fascinates me much that it is based on a true story.
The other point is, that it was the first time that I was in our local cinema. It is a really sweet and small one. It was a nice evening together with my girlfriend. It was fun to watch the film.


Posted by Sebastian Wieseler | Permalink |

Sat May 3 13:24:15 CEST 2008

Sunset

Yesterday on the way home I had a look at a wonderful sunset. It was like magic. It was a great feeling to look into this red light.

Sometimes it couldn't get better. And sometimes, it gets better. I hate the raining days if I can have more of these special days.
I miss you, darling.


Posted by Sebastian Wieseler | Permalink |

Mon Mar 24 17:17:55 CET 2008

video.png The Wave

Some time ago I was in the cinema together with Astrid and watched the movie The Wave. It is based on the social experiment The Third Wave, which has been done in 1967 on the Cubberley High School in Palo Alto.

The main question is: "Is another dictatorship in Germany again possible now?"
There is a teacher and his pupils in a project week and they are supposed to work together on the topic autocracy.
It begins as a little game between the teacher and the pupils but soon everybody loses control of the experiment. It becomes clearer and clearer that a dictatorship is also possible in the present.

It's a great movie about that topic. You feel a little bit involved into the plot. I'm happy that I saw The Wave.


Posted by Sebastian Wieseler | Permalink | Categories: video |

Fri Mar 14 00:47:21 CET 2008

wine.png Pi Day

Like every year - today is Pi Day. No need to say more. ;-)
Happy birthday, Albert.


Posted by Sebastian Wieseler | Permalink | Categories: general |

Thu Mar 6 21:05:11 CET 2008

rdiff-backup

Today I installed rdiff-backup to handle my backups. It is an interesting project which can handle incremental backups. It works like rsync over a ssh connection. So you needn't to up/download everything everytime. Furthermore it preserves all information, it is space and bandwidth efficient and you can backup several operating systems with it.

It has got a good documentation and there're step-per-step instructions to set up a "push up" solution.

But I needed a "pull down" solution. It wasn't very hard to set something like this up. But you should be careful with shell=/bin/false.


Posted by Sebastian Wieseler | Permalink | Categories: *nix |

Mon Mar 3 20:58:25 CET 2008

Chemnitzer Linux Days 2008

On Saturday I was on the Chemnitzer Linux Days 2008. It was hard to travel there and travel back, because of Emma. But it was cool as usual. I listened to one presentation about software licenses and then went around and talked to some people - for example to the Symlink guys and to the CACert guys and to many others. It was fun. All in all a very good event - since 10 years.

If you would like, you can even have a look at my pictures of the CLT 08.
Maybe I see you in the next year there, too. :-)


Posted by Sebastian Wieseler | Permalink | Categories: events |