Pages

Monday, July 16, 2012

Part 1: Let's talk about WCF

This will start a series about moving WCF configuration out of the typical application configuration files that are generated by Visual Studio and putting it somewhere, anywhere else, that is atypical of most systems. In this case, I will be showing how I was able to move it into a database.

You might ask why do this? For starters, this was a project for work. I fully support what this project's intentions and purpose was because it simplifies my life and the life customer support and the customers, even though there may exist people who will cringe at this (probably technical people who would see this as a bad idea, but see the disclaimer). Basically, the goal was to have a single point of configuration which would minimize work that would have to be done across multiple machines which share the same configuration, but each having its own copy.

For those new to WCF, it is Windows Communication Foundation. It's a framework for creating services, mostly web services and enterprise, and it's based on a client-server model. The server defines the operation contract, that is, what operations does the client have access to; and the data contract, that is, the data model the client and server expect from each other when communicating. In layman's terms, it's basically the server saying "We will communicate by speaking English and here are the commands and queries I will allow you to use". You can find the Microsoft page discussing WCF here.

So that's the very brief introduction. Next time, I'll go over the database side of things and what the application configuration looked like before and after I made my changes.

Disclaimer: I have limited knowledge of WCF in and of itself; I've done enough to know when something will work or when I should ask more questions. There could be design or security flaws in what I am doing here, but unfortunately for me, there was next to nothing about this on the Internet and at the moment there is nobody else on my team who understands WCF to this level. Also, my WCF intro could be completely wrong; if so I apologize for that. That being said, I welcome constructive criticism of my design decisions regarding this project (not my lack of WCF knowledge); post those in the comments.

Thursday, May 24, 2012

On PA bicycle laws

Apparently May is Bicycle Safety Month. So today will about the PA bicycle laws. The laws and summary of the changes enacted in April can be found here and here.

Let's talk about vehicle safety. I say "vehicle" because cyclists are considered vehicles on the road, thus responsible for following all road signs and having all the rights of motorists.

I got into a semi-heated debate with a friend at work over cyclists after mentioning how, as a cyclist, rampant cell phone use freaks me out. He responded saying he would respect cyclists when he sees them follow road signs. While as a motorist I understand where he comes from, the cyclist in me says there are motorists that do the same thing. I see cars that coast through stops signs more often than I do not follow a road sign. But this isn't a forum for a motorist vs. cyclist debate as both have the same responsibilities when it comes to safe transportation.

I think the most important of the new bicycle laws are the two which require motorists to provide a 4-foot cushion when passing a cyclist and putting motorists turning right, which would cut off a cyclist going straight, at fault. Even though cyclists may impede the flow of traffic, a cyclist may take the lane if his safety requires it. It is interesting to note that cyclists are not required to use the shoulder of a road. Personally, I stay as close to right as possible except for two occasions. The first occasion is if I am going around a right-hand curve where I have no view of the road up ahead. The second is when there is an obstruction extending into the road such as a tree or a car if I am riding through town. Many motorists think cyclists should use the sidewalks, however in many places riding on the sidewalk is illegal, mostly in business districts due to foot traffic. The new law does give motorists permission to cross over into the left lane in order to pass, provided the flow of traffic in the opposing direction allows it.

The second law makes it illegal to make a right turn which cuts off a cyclist. From observation, I can see this happening at intersections, however I have not personally been cut off. In general I will ride to the line at an intersection if there is no traffic or the traffic is moving straight. If cars are already at the intersection and are turning right, I yield to them. There is one occasion where I may not follow those rules, and that is if motorists are not signalling to turn. As motorists expect cyclists to signal their intentions, I expect the same from courtesy from motorists. Yes, I know there are inconsiderate cyclists out there, and I may even be one of them from time to time. I expect to be given the same courtesy a driver would give any other driver since the laws give me that right.

I will leave you with the Wikipedia page for hand signals which cyclists AND motorists are expected to know as these are to be used by motorists as well in situations where signalling lights to not work.

Tuesday, March 20, 2012

First Day of Spring

Wow, I haven't posted in a while. I'm going to have to get better at this blogging thing. Anyway, it's the Spring Equinox which was a soft-line goal for one of my New Year's resolutions. I didn't reach the goal, but I'm on my way.

Because of the warm weather, I've been able to bike to work fairly regularly which I plan to keep up, rain or shine (I hope). I've also added strength training to my workout regimen as well. Here's to reaching goals!

On another note, a new law banning texting while driving went into effect a couple weeks ago. While I personally don't text while driving, I know people who will and it freaks me out when they do it while I'm a passenger. While many news sources jumped on the "studies show texting ban ineffective" bandwagon, I was unable to find any citations for these studies. The best I was able to come up with was here and based on my glossing over of that document, it seemed that the frequency of accidents after the bans had taken effect had not really changed all that drastically. While it's somewhat true that the number of accidents hasn't decreased, it's important to note that they haven't skyrocketed either.

There are several issues around the ban. First of all, there is the issue of enforcement. The law prohibits the sending, reading, or writing of text messages on any "Interactive Wireless Communication Device" (http://www.drivinglaws.org/pa-laws.php). Does a police officer now have the right to search my phone's texting history (which would raise other issues if it is the case)? How does a police officer know that a driver is texting and not entering a phone number? Reading various comments on news sites tell that officers rarely enforced even the complete cell phone bans and would themselves not follow the bans (again, reader comments, take with a grain of salt).

Second is how the law is defined. What makes texting any different than calling? On top of that, why is it that it is the explicit sending of data which makes up the text and not the act of interacting with a phone at all? This law even bans text messages sent via voice recognition applications such as Siri. So I can hold the phone to my head to talk to my brother, but talking with the intent of sending a text in which I am in no contact with the phone means I'm breaking the law?

I'm sure there are other issues, but I don't have time to go through them all right now. While I question the motivation of this law, my goal is to make people pay aware to the dangers of distracted driving in general, whether it's texting, calling, messing with MP3 players, GPS units, whatever. This was a big concern of mine when all I did was drive, but now that I am on the roads as a cyclist, it is even more so.

As a final note, I'll leave you with the PA cycling laws which all PA drivers should know. http://www.dot.state.pa.us/bike/web/bikelaws.htm

Tuesday, February 14, 2012

Irish potato candy

Today's recipe for Irish potato candy was my first real attempt in which I did not have a concrete recipe. I knew the ingredients I would use, but I did not have a list of measures of each ingredient. This may sound scary to some, but experimentation is fun!

Irish potato candy is a Phily thing, there's even a Wikipedia article about it: http://en.wikipedia.org/wiki/Irish_potato_candy. There are many variations, but most don't require any baking so it seems like something that anyone can make.

The ingredients:
  • One large potato
  • One package shredded coconut
  • One bag powdered sugar
  • Cinnamon
  • Butter
  • Vanilla
First, cut the potato into small cubes and boil it. When it's done, you need to mash it with butter. I used about 2 tablespoons.

After the potato is mashed, add about 1 tsp vanilla and start adding sugar. Technically, you should be adding the powdered sugar until it's a consistency which is easy to roll; that's a lot of sugar. I used about 3/4 of a 2 lb bag and it was fairly sticky, so don't be afraid to add more.

Once it has reached the appropriate consistency, add in the bag of coconut. I used a 2 lb bag. At this point, you should pour some cinnamon in a small bowl and start rolling the mixture into little balls that look like peeled potatoes. After they are rolled, sprinkle them with cinnamon or roll them in the bowl of cinnamon to coat them.

That's pretty much all there is to the recipe. I let mine sit in the fridge overnight to cool and stiffen up and I sat them on wax paper, but I used less sugar than the recipe called for so mine were a bit sticky.

If you want, you can use cream cheese instead of potato, but feel free to experiment. Happy cooking!

Tuesday, January 17, 2012

Sugar and caffeine on the cheap

I hate leftover candy canes. They are nice to have at Christmas, but everyone always buys a ton of them and they either sit in a cabinet until the next Christmas or get thrown out after someone realizes they have sat in a cabinet for six months.

But I have a solution to this problem:
Mint Mocha

For this you will need one packet of hot cocoa mix, one cup of coffee, and one candy cane. Just mix the coffee and hot cocoa then add the candy cane. Or, if you are like me, save yourself from dirtying silverware and mix the coffee and cocoa WITH the candy cane speeding up the process.

The candy cane will eventually dissolve and turn your coffee into a tasty, sugar filled, and caffeinated deliciousness that is mint mocha. And you can relax in knowing you did not spend $3 or more per drink at Starbucks or some other coffee establishment.

Sunday, January 1, 2012

Todo for 2012

Well, 2011 has come and gone. I don't even remember what my resolutions were; there's a good chance that whatever they were, I didn't accomplish them. So let's make a list of what I would like to accomplish in 2012.

Drop body weight to under 200 lbs. This should not be terribly difficult. Currently, I am at 220 or 225. It's been fairly regular there since I graduated. In fact, it should be no problem to reach this by the Spring equinox.

Workout regularly. Again, shouldn't be terribly difficult. I already try to exercise regularly, but it's tough in the winter especially on a tight budget when I do not want a membership at a gym. My goal is 3 or more days a week of intense exercise. Once more hours of daylight are available I will starting bicycling to work again. Until then, I plan to do interval training and calisthenics during lunch on alternating days.

Learn a new instrument. I would like to learn more guitar, but re-learning to play piano is another option. I have a ton of music that I snagged from church services which doesn't look too difficult, and I think the biggest difficulty will be learning and remembering chords. This will be more of a challenge, especially because of the next goal.

Professional advancement. This is fairly open ended. To start, I am going to complete the Microsoft Certified Professional Developer for applications developers. If possible, I will try to complete the web developer path as well since it is two extra exams than the applications developer one, really only one since the other is the final exam. And if possible, I want to try to get into a graduate program.

Go shooting regularly. There is really no reason for me not to do this. I have a .22 rifle and there is a free shooting range a short drive away. I plan on getting a new shotgun since there is a club which has open trap on Friday nights for a reasonable price. In terms of pistol, I would like to take a safety course and perhaps buy one. I have my license to carry, but if I do purchase, I would not feel comfortable carrying without more practice and completing a handgun safety course.

Write a practical program for personal use. Again, this I should have done a long time ago. I had plans to write a web application for recipes, but that never happened because of video games and studying for the MPCD. I will still try to write the recipe application, but I haven't looked at it for a while.

Play less video games. This will probably be the toughest resolution, what with Elder Scrolls V: Skyrim, Minecraft, Portal 2, Sid Meier's Civilization 5, and a whole lot of other games on my computer right now. Again, pretty open ended, but if I can keep it to one or two nights a week for no more than 2 hours, I will be happy.

Sunday, October 23, 2011

Upcoming project - online recipe book

In my quest for expanding my culinary horizons, I have come to the realization that all my recipes exist in the form of a stack of folded papers, index cards, and miscellaneous clippings from various food packages and that all of these recipes are in no sort of order. They are not even in order by when I first made them since I shuffle them around when searching for a certain recipe which I plan to use.

While there exist solutions to this problem in the form of binders or little index card boxes, I either need to memorize recipes or have the physical medium present in order to view the recipe. Therefore, I am taking it upon myself to create website which will have the sole purpose (originally) of storing recipes.

You are probably thinking, why go to all that trouble? Well, for one, it would be a fun project for me to do in order to learn a new technology, as well as something that would have a practical purpose after its completion. As well as learning about the software life cycle from planning to deployment and maintenance. I also want to use this project as an opportunity for learning about different software management methodologies, the pros and cons of each, and the implications each style would have on a software product.

My hope is to have the site hosted for others to use as well and eventually add features, such as sending recipes between users. Because I will be planning the project on a per feature basis, I don't have a solid deployment date. My estimate is by mid-December I will have the first version ready to deploy.

Anyway, I don't expect everyone to understand the previous two paragraphs since some of it is industry jargon. However, if this is something that you would use, stay tuned for updates about the progress of this project.

Tuesday, September 27, 2011

Locking SQL databases

Have you ever wanted or needed to lock a table in an SQL database? It turns out that it's actually useful to do so, especially when testing software which assumes that all database queries automatically work correctly.

I found the below SQL script over at stackoverflow:

SELECT * FROM [dbo].[tableName] WITH (TABLOCKX, HOLDLOCK)

It will select everything from a table with an exclusive lock (using TABLOCKX) and it will hold the lock until the end of the transaction (using HOLDLOCK).

We can extend this by using

BEGIN TRANSACTION

SELECT * FROM [dbo].[tableName] WITH (TABLOCKX, HOLDLOCK)
WHERE 0 = 1

WAITFOR DELAY '00:09'

END TRANSACTION

The above will select 0 rows from the table (WHERE 0 = 1, which always evaluates false) and will hold an exclusive lock on the selected table for 9 minutes (using WAITFOR DELAY).

Practically, this can be useful for testing anything which may throw an exception in SQL. For instance, when testing a bulk insert which inserts hundreds of thousands of rows may take some time, especially if other transactions are taking place simultaneously, a table lock can simulate what would happen if the query timed out in a production environment.

Monday, June 13, 2011

Soup's On

Tonight's recipe is for a creamy vegetable soup. I've made this several times with different variations to the recipe, but I love it because it is the first recipe I've done that has been improvising and just throwing in ingredients that I had lying around.

The main ingredients include:

  • 3 stalks celery, chopped
  • 1/4 Vidalia onion, chopped
  • Carrots, chopped
  • 3 potatoes, chopped
  • Milk
  • Water
  • Flour
  • Worcestershire sauce
  • Salt, pepper as needed
  • Chicken, chopped, or ground beef (optional)
It's a fairly simple list of ingredients. Since I've only just threw stuff in, I've never measured anything out. I've done it sans-meat, with ground beef, and, tonight, with chicken. Since this is basically some improvisation, don't expect scientific precision of the ingredients.

First off, if you decide to use meat, throw that in the pot first so it can start to cook. I put a cup or two of water in as well so that it didn't stick to the bottom of the pot. Since the pot cooks for a while, I've never really checked to make sure the meat was totally cooked, I figured it would finish cooking with the rest of the soup.

Once the meat has started to cook, chop up and throw in the pot, the celery, onion, and carrots. I used a handful of baby carrots since that is what I typically have on hand. If you use full size carrots, I would think 2 would be enough. The size of the pieces is completely up to you. Carrots I will slice down the middle, then cut into about 1/4 inch half slices. Celery and onion I just wing it and toss them in the pot. At this point, I will add enough milk to cover the vegetables and meat and begin cutting potatoes. Assuming a small or medium potato, I will cut it into quarters, then make slices about 1/4 inch thick. Those will all go in the pot.

After the potatoes are in, I will add some Worcestershire sauce, a bit of flour, and a little more milk or water. Make sure to mix the flour in well, otherwise it may get clumpy. At that point, I basically let it cook for a while. Times differ just because this recipe is not exact. Usually I cook it for about 20 to 30 minutes on low to medium heat. By the time it's done, it should be a little thicker because of the flour, but not too thick. If it becomes too thick, add a little water and stir until it's the thickness you want.

Once it's done, I'll add a bit of salt and pepper for taste. And that's pretty much it. With the amounts here, it will probably give about 2 quarts of soup.

If anyone makes it, let me know your thoughts or any improvements you make. I always like to know what I can do to improve my cooking, and nothing seems to work better than constructive criticism.

Monday, June 6, 2011

Freedom in Christ

freedom
-noun

  1. the state of being free or at liberty rather than in confinement or physical restraint
  2. exemption from external control, interference, regulation, etc.
  3. the power to determine action without restraint
Several weeks ago, my pastor presented a sermon on what it means to be free in Christ, which my small group discussed during the week. The topic came out of Tim Keller's book The Reason for God: Belief in an Age of Skepticism. The primary argument refuted in the chapter this sermon covered is that Christianity is a straight-jacket, in that the followers of Christianity have too many rules and it is really a hindrance to true freedom. From the definition of freedom above, you may be able to connect the dots on how this view came to be. Christians are seen as people who follow a strict set of rules. Since they live their lives under some sort of regulation, it can be postulated that they are not truly free.

First let's ask what are the rules that Christians are "supposed to follow?" The first thing that comes to mind would probably the the Ten Commandments. After that would probably the the teachings of Christ in which he expands upon the Law saying that it is not just the committing of an act that makes it a sin, but merely having the will to commit that act in your heart. Adultery is a prime example of this. Not only is the act of adultery a sin, but looking at a woman lustfully is also a sin.

So we have the rules. Now let's ask, why is it seen that Christians have to follow these rules? Those who are not familiar with the grace God provided to us may say that it is in order to gain favor with God. Some Christians may even feel that if they follow these rules, they somehow gain favor with God. But that cannot be the case. Paul says in Ephesians 2:8-9, "For by grace you have been saved through faith, and that not of yourselves; it is the gift of God, not of works, lest anyone should boast". This passage tells us that following the rules does nothing in terms of our salvation. We only have salvation because God loved us enough to give it to us.

But if the rules don't help me gain favor with God, does that make them useless? Is there no purpose to the rules besides restricting people from freedom? Of course there is a purpose. To find it, let's look to the Old Testament. God gave the Israelites the Ten Commandments and the Law. Yet, how many times did the Israelites stray from following the Law? But, you might say, "that proves nothing except that the Israelites were stubborn" or "but the law was too strict, how could God expect us as humans to follow such strict rules?" From there, we can see that the point of the Law was to show us our need for God's help. Without His grace, we would be doomed to an eternity in Hell. Paul says in Galatians 3:24-25 "Therefore the law was our tutor to bring us to Christ, that we might be justified by faith. But after faith has come, we are no longer under a tutor."

So according to Paul, we are no longer under the law, but under grace. Because of this grace, we are no longer condemned to spend eternity in Hell apart from God. Now, you might ask yourself, "so if I'm not constrained to live under the law, I can do anything I want? Without consequence?" Well, not quite. What we are free from is the punishment which comes with sinning. Since we have salvation, we are no longer condemned to death, but we still have to deal with consequences of our actions.

The rules given to us show how we ought to live. Proverbs 22:6 says "Train up a child in the way he should go, and when he is old he will not depart from it." For example, my parents taught me not to lie, to cheat, to steal. But let's look at why I should not do those things? From a Christian perspective, they go against the law, but if I am not bound by the law anymore that should not matter. In Mark 12, Christ tells us that the greatest commandment is to "[30] Love the Lord your God with all your heart and with all your soul and with all your mind and with all your strength. [31] The second is this: 'Love your neighbor as yourself.'"

Based upon that, I would argue that if one loves God and loves others as he loves himself; the thought to lie, cheat, or steal would not cross his mind because those actions would not be showing love to God, or to others. And the more one grows in his love for Christ, the more he will begin to follow what is in the law, not because he is required to, but because his love for Christ has given him the freedom to do so.

Thursday, June 2, 2011

Banana split ice cream cake

I found today's recipe at FamilyFun.com. This dessert take a couple hours to completely make, but it is totally worth the wait.

As is the recipe is fairly straightforward. However, I will suggest a few additions as I get to them.

What you need:

  • 2 c. graham cracker crumbs
  • 1/2 c. melted butter, plust 1/4 c. butter
  • 4 to 5 medium bananas, sliced 1/2 inch thick
  • 1 1/2 quarts strawberry ice cream, softened
  • 1 c. chopped walnuts
  • 1 c. chocolate chips
  • 1 c. confectioners' sugar
  • 1 c. evaporated milk
  • 1 tsp vanilla extract
  • 1 (8 oz.) container whipped topping
Putting it together:
  1. In a bowl, combine the graham cracker crumbs and the melted butter. Set aside half of the mixture, and press the rest into a 9x13 inch pan.*
  2. Place the bananas in a single layer over the crust. Spread the softened ice cream over the top and smooth. Sprinkle the nuts on the ice cream, then cover with plastic wrap and freeze until firm.
  3. In a saucepan, melt the chocolate chips and the remaining 1/4 c. butter and stir until smooth. Add the sugar and milk. Cook, stirring constantly, over medium heat until slightly thickened and smooth, about 8 minutes. Remove the pan from the heat and stir in the vanilla. Cool the mixture, stirring occasionally. Pour over the ice cream and freeze until firm.
  4. Spread the whipped topping over the chocolate layer and sprinkle with the reserved crumbs. Freeze for at least 3.5 hours. Remove the dish from the freezer 10 to 20 minutes before slicing.
* Even with the 2 cups of crumbs, I was barely able to cover the bottom of my pan. If I did this again, I would probably up the crumbs to 3 cups and use 3/4 cups of melted butter, or possibly even double those ingredients. If you don't mind a thin crust, leave it as is. If you want it thicker, increase those ingredients.

Wednesday, May 25, 2011

Orange Meringue Pie

Tonight I present a recipe for orange meringue pie. This is most definitely the most ambitious dessert I have tried yet. I found this over at allrecipes.com and made it in an evening. Here's what you will need.

For the crust:

  • 1 1/2 cups of graham cracker crumbs
  • 1/4 cup sugar
  • 1/3 cup melted butter or margarine
When I made the crust, I just bought a box of graham crackers and hand crushed them. Try to make sure there are not any big pieces. Combine the crumbs with the sugar and mix it together. After it's mixed, stir in the butter. I made the mistake of only using softened butter, so it was almost like trying to cream the butter and sugar together. After it's all mixed, press onto the sides and bottom of a 9-in pie tin. You will want to bake it at 375 F for about 10 minutes, or until it's lightly browned.

To make the filling:
  • 1 cup sugar
  • 1/4 cup cornstarch
  • 1/4 teaspoon salt
  • 1 cup orange juice
  • 1/2 cup water
  • 3 egg yolks, beaten
  • 3 tablespoons lime juice
  • 2 teaspoons grated orange peel
  • 1 tablespoon butter
To begin, combine the sugar, cornstarch, and salt in a saucepan. Whisk in the orange juice and water until it's smooth. Cook it over medium heat until it's thickened and bubbling. Once it starts bubbling, reduce the heat and stir for 2 minutes.

This next part I did while the filling was on the stove. You need to separate the egg yolks from the egg whites. The whites are used later. For this, I used a two bowl method where I broke the egg into a bowl and scooped out the yolk and let the white kind of drain off. I then put the yolks in a separate bowl and beat them. After the mixture on the stove has been heated, take 1 cup of the filling and mix it with the egg yolks and then return it to the pan after it's mixed. Then bring the filling to a gentle boil and cook and stir for 2 minutes.

Next mix in the lime juice, orange peel, and butter and pour it into the pie crust. The original recipe calls for 2 tablespoons lime juice and 4 teaspoons of grated orange peel. I used 3 or 4 tablespoons of lime juice because I didn't have the proper tool for zesting an orange. So I had about 2 teaspoons of the grated orange peel.

To make the meringue:
  • 3 egg whites
  • 1/8 teaspoon cream of tartar
  • 6 tablespoons sugar
This part was a bit tricky. You can do this by hand, or use this handy guide I found over at thekitchn.com to do it with a mixer. Basically mix it until it starts to get foamy, then add the cream of tartar. Keep mixing and once it hits the soft peak stage, add the sugar 1 tablespoon at a time. After the sugar is added, mix until you get stiff peaks.

Once it's done, spread it over the filling so it seals the edges of the pie to the crust.

Putting it all together:

Once it's all together, you want to bake it at 350 F for around 15 minutes or until the top starts to have a golden color. Cool it for an hour and refrigerate before serving.

All in all, this turned out pretty well. The original website says that it should take about an hour total, but that might only be true if you have done this a few times. It took me about 2 hours total to make this dessert, but it was worth it.

Monday, May 23, 2011

Now with flavor!

Ah the joys of cooking! The smells, the tastes, the satisfaction of taking a combination of ingredients, each of which may be dull and bland on its own, and creating with them a masterpiece which can evoke great satisfaction and joy.

Despite cooking being considered womens' turf, I have found that I enjoy cooking. I seem to have a special affinity for desserts, which has led to me being described as "domesticated" by members of the opposite sex. If you, as a reader, cannot handle that sort of description for yourself and feel emasculated by that, you're welcome to stop here, but I have a different view.

Now, before I continue, I'll lay a foundation. I am a Christian guy who is one year out of college. This blog will not be all about cooking, however I may post particularly good recipes that I find from time to time. Most posts will be somewhat random ranging from religious or political discussion to how to set use the Model-View-Presenter design pattern in .NET (if you don't know what that is, don't worry. It won't be on the test).

Now, since I was young, both of my parents have cooked. Sometimes my mom's food was better and sometimes it was my dad who prepared the better meal. Since I am relatively frugal and I don't want to eat Chef Boyardee or cereal for every meal, I decided it would be in my best interest to learn to cook. But whatever the meal, you can bet there was a recipe involved.

To me, cooking is a science. Really, cooking can be described as a series of chemical reactions between the various ingredients in order that some expected result is achieved. Much like chemistry class, if you follow the right steps at the right time, you will get the expected result. Improvisation can, at times, be beneficial or it may be harmful. Add a different ingredient or perform a different step and you may end up with an unexpected result which may be better. Or you may end up with something is so vile which you could use it for a pesticide on your garden.

As I began cooking over the past few months, I have learned something. While cooking is useful for providing sustenance, one can draw a parallel between how a Christian ought to live and cooking. Some of you may be familiar with the Bible, which I have heard described as Basic Instructions Before Leaving Earth. In my opinion, that sounds a lot like a recipe for life. Now, I'm not talking about a legalistic view of Christianity. It is not merely enough to just follow the recipe. Like with cooking, there is something missing from a Christianity in which just following the rules gets the expected result.

Even with the ingredients and the correct mixture, a little bit of love and patience are needed to truly experience the full potential of cooking. Without patience, you will try to rush cooking and that can yield unfavorable results. For example, if you decide to turn up the heat to make a cake bake quicker, it may become dry and burned on the outside, while the inside may be doughy and not baked (which is dangerous if you used eggs, by the way). In the same way, trying to rush God's plans for our lives by taking our lives in our own hands will only get us burned. Deciding to live your life according to your own way instead of God's way is only a recipe for disaster.

I am not yet confident in my abilities that I can come up with my own recipes, but I hope I may be able to do that some day. Most of my cooking is done with recipes from others who have used them and have seen the results. In other words, I trust the recipes of those who have experience. As a fallen human, I try not to trust in my own abilities to take my life in the right direction. Instead, I try to trust in God's experience and His plans for my life. And I am confident that His plans form a recipe which will yield a truly amazing result which I could never experience on my own.