Dune

Dune is an amazing read that’s hard to strictly categorize. Most people say that it’s a science fiction book, which I guess it is to a certain extent. After all, it does take place in the future when mankind has moved out into the solar system and colonized many worlds. The book takes place so far into the future that all knowledge of man’s origins has faded into obscurity. There are certain technology elements to the book, but you won’t find robots, space battles, or anything of that sort. In fact, the author deliberately downplays technology and offers technology run amok as a reason for man’s venture into an almost anti-technology society.

In some respects, Dune is a fantasy. You’ll find mention of the strange spice melange which imparts almost magical characteristics to those who indulge in it (and almost everyone in the book does to some extent with differing effects). The backdrop for the book reads somewhat like a Gothic novel with kings and queens. The main character is a duke seeking to repair an incredible wrong done against his family. The book is also filled with the mythical creature, a sand worm that’s so large that people can ride it. Dune is a desert planet and it invokes a somewhat romantic view of the difficulty of living in such an environment.

However, in its innermost being, Dune is a book about political intrigue and the author, Frank Herbert, does an amazing job of creating a twisted plot. Because this book is a bit complex, some people will find it hard to read. Still, once you get into the meat of the book, you’ll find that it keeps your interest. Dune is for someone who likes almost Machiavellian complexity and doesn’t particularly relish a book with little substancemere mind candy.

The book has a strong cult following and you’ll find many follow on editions for it. In fact, two movies have come out about Dune in the past. The first is a shorter version (a little over 2 hours for the original theatrical offering) that stars Kyle MacLachlan, Virginia Madsen, Francesca Annis, Leonardo Cimino, and Brad Dourif. This version also includes Patrick Stewart before he became famous as the captain of the Enterprise in Star Trek. The second is a longer 265 minute version that stars William Hurt, Alec Newman, Giancarlo Giannini, Uwe Ochsenknecht, and Saskia Reeves.

Both theatrical versions of Dune diverge from the original book plot in a significant waythe book doesn’t spend much time discussing the action in battles, while the movies seem to focus on it to an extent. In fact, Frank Herbert is apt to simply say that the battle occurred and that a certain party won. Consequently, the movies and the book both have something to offer and are different presentations of the same plot. I enjoy all three and plan to review the movies at some point.

Dune is the sort of book to get if you want to become totally immersed and forget your cares for a while. The writing is good and you won’t find yourself distracted by inelegant prose. When you’re done, you’ll definitely find yourself wishing for more (and fortunately, there is more to be had in tomes such as Children of Dune).

 

Making Soap for Easter

Most of my crafting has a practical aspect to it. Such is the case with soap making. I make the soap because I use it. However, the soap I make has a certain artistic aspect to it and I also give it as gifts to friends and family I know will appreciate it. So there is more to soap making for me than simply an exercise in creating something to wash with. I mainly use these in the shower, so I wash with them, but they’re more for the fragrance. If I was to think about how I go about making sure I’m actually hygienically clean for the day, I’ll use anti-bacterial scrubs for my body, as well as Hand Sanitizer throughout the day to keep my hand as clean as possible. This then means I also have more of my crafted soaps to give as gifts!

I make glycerin soap and get many of my supplies from SoapCrafters. Rebecca grows all of the herbs I use in my soap, including the German chamomile, which can be quite expensive when purchased in the store. Given the season of the year, my soap making efforts this past weekend focused on spring and Easter. Here are some lovely springtime soaps with a lilac (top) and baby powder (bottom) scent:

Soap01

Both soaps use the same mold, an assortment of daffodils. I’ve used a special soap glitter to give them a bit of glitz. I found that this particular mold produces easily held soap, but children sometimes find it a bit large. Making the soap easy to use has been a quest of time (along with all of the other accessibility topics I tend to work through). Because of this, I also make egg-shaped and completely spherical soaps like these that are easier for smaller hands to use:

Soap02

The soap on the left is a lovely coconut smell, while the one on the right is another baby power scent. Of course, kids love shapes too, so I was extremely pleased when my wife found a jello mold that had pleasing kid-friendly shapes. These soaps are in a wonderful Creamsicle scent that kids really love (think orange/vanilla).

Soap03

A few of our friends raise sheep. What would be better than a sheep shaped soap (try saying that three times fast)? SoapCrafters had this wonderful sheep and I couldn’t resist buying it:

Soap04

This one also uses the coconut scent that seems to be a favorite with guys and gals alike. It smells quite clean and it’s refreshingnot heavy at all. A few people will receive a three soap medley of lemon, orange, and coconut soaps as shown here:

Soap05

So, what are your favorite shapes and scents? Let me know at [email protected]. In the meantime, I’ll continue crafting and letting you see the results !

 

More Spring Weather

Our weatherman predicted rain with a slight chance of snow this Saturday, with an emphasis on slight. So it was without any hesitation whatsoever that I planned to be snowed in the next day. Fortunately, it wasn’t as bad as all that. I think we ended up with about an inch or two that quickly melted as shown here:

Snow02

However, I do start to get worried about foul weather this time of year. Of course, there are my flowers to consider, but usually they hold up well. Even though my spring flowers look a bit crunched here, they sprang back up later:

FlowersinSnow

More important are the fruit trees. Fortunately, none of them were blossoming yet this weekend. In years past, I’ve had the blossoms get damaged by late spring frostsreducing my harvest later. Of course, the same thing can happen when snow or other weather elements keeps the pollinators inside and not out pollinating my trees. I hope that we don’t get more weather of this sort now that my trees are in the bud swell stage. All this led me to think of a haiku:

Crystal form that shows
Winter has not flown away
Spring is on the way!

 

Early Spring – The Orchard and Bud Swell

A lot of books, magazine articles, and gardening aids talk about bud swell, but then don’t show you what it looks like. I imagine the authors think that its obvious as to when bud swell occurs, but most people really aren’t sure. Our orchard finally had bud swell this past week. Here is an example of the early beginnings of bud swell.

BudSwell01

Notice that the outer brown wrapping of the bud has broken, showing the green underneath, but that the bud is still tight. In other words, the bud has swollen. Now these buds are starting to get just a tiny bit past bud swell.

BudSwell02

These buds have completely broken out and they aren’t quite as tight as those seen in the other picture. Both pictures were taken on the same day, but they’re of different tree types. The first picture is of a Luscious pear, which blooms slightly later (about two weeks) than the Ure pear shown in the second picture. We use the Luscious tree fruit to make pear nectar (a kind of juice with lots of the fruit included), pear sauce, and wine. The Ure works better for pear chunks and pear butter. Most important of all, the Luscious and Ure pollinate each otherpear trees aren’t self fertilizing for the most part.

Many of the activities in the orchard hinge on bud swell. For one thing, you should stop any pruning at bud swell (at least, I always do to keep the trees from bleeding to death from larger cuts). This is also the time of year that I spray the trees with a lime/sulfur spray to control various diseases, including woolly mildew, a constant pest in our area. The lime/sulfur mix smells absolutely awful, stains clothing terribly, but it does do the job. It’s also not that terrible from an environmental perspective. We try to use green methods wherever we can to control problems with the trees. This spray probably isn’t the organic solution, but it’s also not something that’s going to poison the environment (at least, as far as I know). More on the trees later! Let me know about your early spring orchard activities at [email protected].

 

Early Spring – The Flowers (Part 3)

Spring continues with its illustrious array of floral finery. The crocus have unfortunately croaked for the most part, but new flowers take their place. In fact, my spring bed is starting to look quite pretty with the introduction of hyacinth:

Hyacinth

The daffodils have also made an appearance and are looking quite nice now:

Daffodil

The tulips aren’t quite in bloom yet, but it won’t be long now. They’re actually the last of my flowers to make an appearance in most years. Even so, you can see here that the wait won’t be much longer to enjoy their beauty:

Tulip

Here’s hoping that your spring blooms are looking nice as well! Feel free to share your thoughts at [email protected].

Rod Stephens’ Visual Basic Programming 24-Hour Trainer

Learning a new skill, such as programminglearning it quickly and easily, is much harder than it sounds, but “Rod Stephens’ Visual Basic 24-Hour Trainer” makes the task considerably easier. The book begins with possibly the best Introduction I’ve ever seen. The author tells you precisely how to use his book to learn how to code in Visual Basic in a short interval. Additionally, he makes it clear what the book won’t tell you. This is most definitely a book for the rank beginnersomeone who has never written code before and the author makes it clear that better educated developers need not apply. (More advanced readers will benefit more from another of Rod’s books, “Visual Basic 2010 Programmer’s Reference“.)

The chapters tell you how to perform most basic tasks associated with desktop applications. You won’t find any Web development techniques in this book, but the author makes that clear in the Introduction. The reason for focusing on the desktop is that it provides a controlled environment that works anywhereno Internet connection required, no special setup needed. All you need is your system and Visual Basic.

The first chapter is the usual description of how to get Visual Basic installed on your system. Rod discusses a few different options and doesn’t wimp out by covering only Visual Basic 2010 Express Edition like many beginner books do. Because of the target audience for this book, Visual Basic 2010 Express Edition works fine.

The book takes the usual college approach of starting with a basic application, working through variables and structures, and then moving toward more complex application types. You learn all of the basics of working with classes, printing documents, working with the clipboard, and other usual fare for a book of this type. Rod does provide a couple of nice perks such as working with LINQ and databases using the entity framework. The goal is to learn how to use Visual Basic at a basic level, so these exercises will serve the reader well. Someone looking to start by creating a relatively complex example almost immediately will be disappointed. I know that some readers look for this approach now and Rod’s book definitely won’t serve their needs; this book is more traditional (and proven) in its approach.

Each of the chapters provides several methods to learn the material. You can read about the technique, try it yourself on your machine, work through exercises, and even watch a video. Most readers will find a technique that works well for them. Rod suggests using some or ideally all of the techniques to obtain a better learning experience.

The videos are a nice touch and Rod does them well. The longest video I watched came in at 17 minutes, the shortest at 4 minutes. He has a nice speaking voice and an easy manner of approaching the topic. The reader should definitely feel at ease during the presentation. Rod doesn’t resort to humor to cover up a lack of depth in his book. It’s not that he’s incredibly serioushe’s simply straightforward and businesslike in his approach.

Will you actually get through this book in 24 hours as the title says? I doubt it. I tried out a number of the chapters and found that I averaged about an hour in doing them fully (including the exercises) at a rapid pace. There are 39 chapters in the book for a total of 39 hours of training as a minimum. Even if you attack the book at a rabbit-like pace and skip some of the features, you still won’t get through it in 24 hours and manage to gain anything worthwhile. I’d suggest setting aside at least 40 hours of focused time to get through this tome.

The bottom line is that this is a great book for the rank novice to learn a new skill and discover the joys of programming. It’s not the sort of book that anyone who has written code before will want and it’s also not the sort of book that the impatient reader will find helpful. Rod has done a marvelous job of presenting a complex topic in a manner that will help most people get up to speed working with Visual Basic in a short time.
 

Working with Net User

The Net User command on page 142 of Windows Command-Line Administration Instant Reference seems to have generated a bit of confusion. The /Add command line switch is straightforward; /LogonPasswordChg isn’t. For one thing, the /LogonPasswordChg command line switch doesn’t appear to be documented, even in Windows 7. Here’s the help provided with Net User now:

NetUser01

As you can see, not even a mention for /LogonPasswordChg. Microsoft doesn’t help matters. For example, if you look at the “How to Use the Net User Command” Knowledge Base article, you won’t find any mention of this command line switch. While writing the book, I had found a tantalizing clue at Manage XP and Vista Users Using DOS Commands and decided to try it on Windows 7 as well. The command works fine when used correctly in Windows 7.

However, here is where the plot thickens. It seems that the command line switch doesn’t work in Windows XP. When you execute the command shown on page 142 you get an error message reading something like, “The option /LOGONPASSWORDCHG:YES is unknown.” Somewhere between Windows XP and Vista, Microsoft added the /LogPasswordChg command line switch to Net User and then didn’t tell anyone about it. Consequently, the command shown on page 142 won’t work under Windows XP.

There is another problem that occurs when using the /LogonPasswordChg command line switch. If the account currently has the Password Never Expires option checked as shown here:

NetUser03

the command appears to succeed, but doesn’t change anything. In order to make the command work properly, you must first set the password to expire using the WMIC Path Win32_UserAccount Where Name=’UserName’ Set PasswordExpires=True command. So, the sequence to set an existing account to force a password change during the next logon is like this:

NetUser04

When you execute these two commands, you’ll see the user account settings to change to appear like this:

NetUser05

which means the user must change the password during the next logon.

So, why does the command on page 142 work without this extra step? In this case you’re adding a new user and the Password Never Expires option is disabled by default. Creating the combined command works fine because there is nothing to hinder it with a new account. Please let me know if you encounter any problems with this particular command at [email protected].

 

The Lives of Others

The Lives of Others is a German-language movie about East Germany before the fall of the Berlin wall. The movie focuses on three individuals: Georg, an author who is initially devoted to the state, but eventually finds that the state is a dead end, Christa his actress girlfriend, and the Stasi policeman, Gerd, who is sent to bug Georg’s apartment. The movie received an academy award and deserves it. The plot is emotionally intense and well played.

This is a psychological movie. There aren’t any fabulous chase scenes or shootouts. In fact, the movie is about a single word, freedom. It asks the question, “How much is state safety worth compared to the freedom of living one’s life as one sees fit?” The movie answers the question by showing Georg risking his life to write articles for the West that show the state’s policies for what they arethe evil desires of a few corrupt individuals. It also shows Christa committing suicide and Gerd giving up a comfy position, all to protect Georg from the state. Both come to believe in what Georg is doing and are willing to die to obtain their freedom from extreme repression.

I can honestly say that I stayed focused throughout the movie because it has a lot to say, the actors do their jobs well. Actually, it has a lot to say to Americans who think that giving the state more power to make them safe is a good idea. Every time our government allows yet another freedom robbing bill to pass, I know we’re taking yet another step toward the sort of repression this movie presents.

Some people will find the scenes of torture during the movie hard to deal with. No, there aren’t any incidents of waterboarding or other physical cruelty. All of the torture depicted is of the psychological variety. I’m sure the actual torture techniques were far worse. Still, the way in which the torture is presented will almost certainly offend some people.

There are a few minor nits with this movie. The movie is in German, so I needed to watch with subtitles on, which isn’t a problem for me. However, some of the subtitles flashed by so fast that I had to go back and replay them in order to keep up with the movie. I also found a few of the scene transitions a little hard to follow. There was at least one scene where I lost track of where the actors are. It turned out that they were in Georg’s apartmentI had thought at first they might be somewhere else.

Overall, this is an excellent moviewell worth the time I invested viewing it. I don’t know that this is something I would watch very often and I’d have to be in the right mood to watch it again, but I did think that it’s worth at least one viewing and it has quite a lot to say. This is a movie of high social value and not very long on entertainment. It’s a thought provoking movie that more people should watch if for no other reason than to consider just how bad things could become if we don’t safeguard our freedoms.

 

Delimiters and Batch Files

The example on page 402 of Windows Command-Line Administration Instant Reference produces the correct result. You see the result of passing various bits of information between two batch files. However, as someone wrote to me recently, the output from the Batch2.BAT file isn’t the result you might expect. Instead of showing the entire %PATH% environment variable, you see just the first part of this environment variable as shown here.

BatchFile01

The reason you only see C:\Program as the environment variable output is the fact that %PATH% contains delimiters. There are a number of characters that the command prompt uses as delimiters, separators between elements in a single string. My testing shows that the space, tab, and semi-colon are three characters that always act as delimiters within a batch file. Of course, delimiters are extremely useful when you want to use one string to hold multiple elements for processing, but they can also cause interesting results, such as in this case where only part of the %PATH% environment variable appears in the output.

Of course, you’re probably asking how to obtain the entire environment variable as output. A simple change to Batch1.BAT makes this possible as shown here.

@ECHO OFF
Call Batch2.BAT
Call Batch2.BAT Passed %1 "%PATH%"
ECHO In Batch 1
GOTO :EOF
ECHO Goodbye

Notice that %PATH% now appears within double quotes. This change tells the command processor not to process the information within the %PATH% environment variable as separate entities. With this change you see the following output.

BatchFile02

Now you’re seeing the entire environment variable in the output. It’s important to note this difference in processing strategies when creating batch files of your own. What other batch file quirks have you encountered. Let me know at [email protected].

Weather Forecaster’s April Fool’s Joke

Normally I won’t post twice in one day unless something really exciting happens. However, I just couldn’t let this event go by without comment. The radio announcers were all laughing heartily this morning about the supposed near miss of snow in the Madison area as they talked with the weather forecaster. Little did they know that the promise of rain, rather than snow, was just a huge April fool’s joke on everyone. Naturally, everyone learned about the joke not long after. Here’s the view outside my window:

Snow

Yep, that looks like rain all right . Those really big lumpy bits of something isn’t dust on the camera lens either; it’s really big snow flakes. I’m sure the snow won’t stick around all that long this time of year and you’ll notice that it’s barely sticking to the pavement (so I won’t have to shovel), still, we made sure to call the radio station and let them know, “’tain’t funny McGee!”

As one woman at the local coffee shop stated, “It’s Wisconsin, what do you expect?” I guess that sums things up nicely. Whether you’re knee deep in snow or enjoying spring flowers, have a great day .