Tuesday, May 4, 2010

Can You Buy Razor Blades

integer value of a specific enums

To the integer value of a specific enumerator, I've built the following small helper method:

  private static int GetEnumValueByName \u0026lt;T> (string name) where T: struct 

{int value = 0;


try {var enumerator =
(T) Enum.Parse (typeof (T), name, true);
value = Convert.ToInt32 (enumerator);}


catch

{/ / No enumerator found


} return value;}



In my case, I read the name of the actual enumerator from the app.config and transferring it to my helper method. If the Enum is not found with the help of the name, I get 0th I would not throw any exception, as I have defined default values and use them accordingly, if my helper method returns 0th Otherwise it would of course clean when you throw an exception and the user informed so that he knows that was stored in the configuration, a bad value.
The third parameter also enables me to control yet, whether the upper / lower case should be considered. I ignore them, as it does in my code, no matter if the user "time out" or "time out" is stored in the configuration.

Monday, April 19, 2010

Legs For A Balsa Wood Bridge

not head in the sand

What was that again? At some point, always the perfect time comes for an idea? Should this happen, I have missed this time with the idea of a possible follow-up project apparent. I recently suffered a rejection now. But let's start from the beginning.

It's late in the night, as Rita and I had with a taxi in Rio de Janeiro's Copacabana to Barra da Tijuca drive. It is the night when I decide the relationship with Rita to give a real chance. This only works if I spend more time in Brazil or she decides to come to Germany. I myself am not a fan of long distance relationships. And Rita had made in the past experiences with long distance relationships, but prefers the vicinity.

Since they are but in the last semester of their studies, fashion is and will remain until at least late summer in Rio has, it's my turn to make a decision for me. Rita is worth it. And I can go about my work from anywhere in the world. That night is clear so I will soon as possible to return to Rio. And flying at regular intervals to Osnabrück for me to take care of my son.

I look out the window of the taxi. We have to stop at a traffic light and I see how a "sand cleaning machine" by plowing the beach of Ipanema. On a beach bar is already closed rejects a couple in love and kisses. I feel like Rita shakes my hand.
This romantic image is complemented by a Volkswagen "T2 Brasil based on the second track slowly comes to a halt beside us. "I would like to buy such a transporter for Rio. You could then also it leave when I'm in Germany, "I say to Rita and smile at her. But instead of being happy about such an offer, she looks at me with surprise and opens for a few seconds her mouth (that's her expression incredulous amazement, coupled with a corresponding Portion indignation). "Tell me. Can it be that you no longer love me, "she asks me." I will go with this type of van? That's almost a kind of punishment. "And then she explained to me why they are not my desire to drive a T2, can not share. The van is there in Brazil as the vehicle for the" considered lower class. "What in this country maintained a cult vehicle comes in Brazil often "only" used as a mobile business - mobile hot dog stands, rolling second-hand shops or so-called "FRET" (shipping company vehicles).

heard only a few days later on the radio the following message (which I translated Rita). "Volkswagen plans to discontinue production of the T2 in Brazil by the year 2013" Reason was supposedly that are changing the traffic laws and will in future also the van with several safety features (airbags, etc.) must be provided.

This moment is the birth of a new idea: A South American tour for several weeks organizing a T2. But a very unusual trip. For this I link my idea of "Extreme couch hopping" with the interior of the T2s. I was thinking because a bed is installed in the van where I sleep, I should find a host or even need a rest. On my trip, I would then meet other fans of T2 and worked up in my blog the story of the VW Transporter T1 to T5. Of course I have other ideas that can be incorporated into the project and are accompanied with corresponding media.

A corresponding request from the VW group was rejected. Very friendly Mrs. K. writes of the communication Volkswagen Commercial Vehicles: " (...) (...) we have your request received and read with great interest. After extensive and detailed examination we must regrettably inform you that your ideas for projects not on the basis of other projects to support. "

Well, so it should not be. But put no reason for me to head in the sand. is eventually used for new ideas. And since he is already seeing a new idea ...! time what it rumkommt.

the way, in terms of "book project I made a decision (thanks to many comments in the blog ). I will try this week as directly with publishers name and send them my reading test. Even I think here of course you informed.

finished first in this sense a nice greeting (yet) from Osnabrück,

your Daniel

Friday, April 9, 2010

How To Reset Dial Master Lock Combination

setback

The excerpt for my book. Actually I had thought that the agency would take care of the marketing, so I can sit in the next four weeks to the main plant. But unfortunately, everything changed.

There is a sentence in my book, which reads: "For innovative ideas always comes at some point the right time, most often but someone else quickly.." Well, the agency with whom I've worked has just my own quote used to be represented for me and my book will no longer perceive it.

because there is already a couch surfer, who has written a book (was not new to me): Brian Thacker. In his work: "Couch Surfing: An adventurous journey around the world" he does describe elements of the couch surfing, but is far from the topic that I cover. For each Thacker has spent several days with his hosts and has driven far fewer countries and cities in a long period of time. So we can certainly assume that the experiences I made during my trip so far unique in the world, significantly different from Thacker. And I know that my experience was very unusual - I've not all given up on this blog.

has also shown me the agency two other titles that deal with the "world travel". Pretty depressing if it does not work right away. I have my first line as a precaution even if two people I trust to read. Perhaps this is simply the quality of my writing. But the first chapter was very well received by readers. One consolation for me.

What remains to me now? Well, there are two other agency contacts that I could to get into the boat, but somehow I feel more and more confirmed in their thoughts, the marketing of my book to take over. The downside: It costs an awful lot of time. Time that I have not really, I must also work hard for a living. The advantage of an agency, however, is that they (usually) have the necessary contacts with publishers and have their percentage of the proceeds of a special interest in the best marketers have the work.

I will make my weekend probably more thought to how to proceed with the book. What do you think? Own market or contact new agency?

Kind regards, Daniel