Wednesday, May 30, 2012
Story: Lovely Hypocrite?
I've decided to try one of Chuck Wendig's Flash Friday challenges. This week's challenge was to go to use a random sentence generator to generate your first or last sentence in your story. I got "Will the company suffer the lovely hypocrite?" I figured that I could work with that, so I wrote the following story. I hope that you enjoy it!
---------------------------------------------------------------------------------------
"Will the company suffer the lovely hypocrite?" General Mitchell asked. It was clear from his tone that he would not suffer my presence any longer. Asking the rest of the company showed that he was sure of their answer. "He has defied my command and has tried to sow dissent into our ranks. Would you keep him in our honorable company?"
The company responded with growls and many men shouting, "No!" Their anger didn't intimidate me. I was in the right and didn't need to fear any immediate violence from them. The code of conduct amongst the mech companies would prevent anyone from hurting me, for now. Instead, they would just exile me from the city to roam the wastes. People survived out there, but just barely.
Mitchell let the growls and yells settle down before speaking again. "It is decided. Rex Waters, you will be exiled in the heat of the day tomorrow." He pointed to two men who grabbed my arms. "You two take him to his quarters and lock him in. Stand guard until someone relieves you."
I considered fighting, but I quickly dismissed the idea. The entirety of the mech company surrounded me and I would be quickly overwhelmed. They would hurt me, if I started a fight. I needed to bide my time for an opportunity to escape to present itself.
The men guided me back to my quarters. Without a word, they pushed me inside. One of them pulled a pistol out and held me in the corner while the other ransacked my quarters. Further hope fled as they found my service pistol and the two backups I had hidden. Smiling at me, they pocketed my guns and left the room. I heard the door lock. "At least they didn't take what little money I have," I said to myself.
Knowing that I would need as much rest as I could get, I laid down on my bed. I must have fallen asleep, as I was awoken by voices in the hallway outside of my room. I quietly crept close to the door and listened.
"...come to relieve you," one of the voices said. I recognized the voice of Sergeant Clost, the left gunner of the mech I commanded.
"I doubt the general would send two of Waters' subordinates to relieve us. Go away before we lock you up with your former commander," one of the guards replied.
Corporal Winters, my right gunner, laughed. "That bastard is getting what he deserves. We said as much to the general when he offered us the opportunity to push the traitor out of the gates tomorrow."
Clost chimed in, "I look forward to pushing that backstabber out into the wastes."
The four of them laughed for a moment. The same guard said, "Welch, you wait here with Clost. I'll go with Winters to verify that they're legit."
I heard some footsteps, then what sounded like a scuffle and two loud thumps. A moment later, the door opened. I saw Winters standing there smiling at me and the bodies of the guards lying in the hallway.
"Move over, Colonel," Winters said, "we need to hide these two before anyone else comes to join them in their fate."
I sidled over so that Winters and Clost could drag the guards into my quarters. Clost said, "I don't envy the headaches these two will have in the morning."
Winters laughed and added, "Not to mention the beating they'll get from the general when he finds out about this."
They dropped the bodies unceremoniously on the floor, turned to me and saluted sharply. I smiled for the first time since my confrontation with General Mitchell. Returning the salute, I said, "So, you're looking forward to pushing me out of the gates?"
The two exchanged amused glances. Clost said, "The general did offer us that chance, sir."
Winters remarked, "And we did tell him that. I wish we could see the look on his face when he figures out what happened."
I smiled back at them and said, "Do you two have a plan, or do I have to do everything around here?"
They chuckled. Winters said, "You are the commanding officer, sir. We're just a couple of grunts following our commander into battle. What are your orders, sir?"
I retrieved my weapons from the guards. Once that was done, I said, "Let's go get our mech and show the general how strong our convictions are. If the general thinks I'm going let him overthrow the civilian government of the city, he has another think coming."
We raced towards the armory where the mechs were stored. Since it was night, we didn't run into anyone in the halls and the armory was deserted. We stopped in front of my mech and I was surprised at how relieved I was to see it. A mech soldier spends most of his time in his mech. It was like home to me and I hadn't known if I would see it again.
We mounted up as quickly as possible, but someone came in as we were finishing our pre-mission checklist. Winters quickly aimed the right arm of the mech and fired one 50 caliber round. The man's torso exploded into red mist as the round tore through him.
"Well, so much for secrecy," I said as I got the mech moving. "We'll have company soon, gents, let's get out of here."
I ran the mech through the armory doors and into the same courtyard where I had been condemned earlier. Clost aimed his arm of the mech back towards the armory and launched a few missiles into the building. We cheered as I directed the mech to jump the wall of the compound to the sounds of secondary explosions. The excitement of fighting for a just cause was a welcome change to our previous role of oppressing the people of the city we were supposed to protect.
Thursday, May 24, 2012
Javascript TDD/BDD/Unit Testing
I've been doing some pretty cool stuff at work lately and I think it's time for me to share some of the cool things that we're doing. Web development isn't anything new, I've been writing HTML since I was 12 years old, but it has changed quite a bit since I wrote my first, very simple, web pages.
Another thing that isn't new for me is Javascript, but I never really got that into it or relied on it to do anything powerful. Since starting at Best Buy, I've really gotten good at Javascript and have realized that it is quite powerful and can do a lot of good for a website. I've also realized that it can also do a lot of harm to a website. One thing that a lot of people omit from Javascript development is testing. A lot of people consider testing their scripts in the browser to be adequate for their purposes. I disagree. Coming from back end systems, I know that thorough testing is very important and I think that this is a component of front end systems that has been lacking across the industry. That being said, there are ways to automatically test your Javascript without using a browser.
One of the goals of the team I'm on is to introduce an automated testing tool to test Javascript automatically when the project is built. Our build is written using ant, which I hadn't used since college, but since it's well documented, I didn't have any trouble picking it up again. Also, I'm using Eclipse as my IDE, so it supports ant syntax highlighting and parsing, which is very helpful. Ant is very powerful, but since it's written like XML, it can be hard to write complicated constructs like looping and conditions, but we've made it work for us, so far.
I was put in charge of incorporating Code Quality tools into our build. At first, this was a little overwhelming. I was just starting to get good at Javascript development and didn't have any experience with testing tools for it, but I started doing research on the internet and quickly found some testing frameworks that I didn't think would be hard to incorporate into our build. We settled on using Jasmine and I worked on finding a way so that we could call our spec scripts from our build.
This started the frustrating part of our journey. The people who built Jasmine don't support the different ways to launch the tool (like from an ant build), but only the framework itself. Okay, I can overcome this, there are some open source tools that I can use listed right on their page. I started with Jasmine-Node since we were using Node.js for our local web server to test our pages. I quickly realized that this wouldn't work for us since Jasmine-Node doesn't create a DOM and a lot of our Javascript relies on a DOM in one way or another.
My next attempt was to try Node-Jasmine-DOM. It has DOM support and Jasmine integration, so I thought I was getting close. I incorporated it in the build and got it to run in the browser, but there's an aspect to Node development that I didn't realize until it was too late. Node makes it really easy to use other Node tools as dependencies in the tool you are building. This is great for reuse, but dependencies are called that for a reason. One of the dependencies that the Node-Jasmine-DOM tool used had a defect in it and that was blocking our scripts from being tested in the build. I waited patiently for a couple of weeks after submitting the bug to the owners of the dependent tool, and there was initially some good back and forth about it for a while and someone submitted a workaround for the bug. I was excited and tried it out on my machine, but their workaround didn't work for mem (in Mac OSX), but worked in Windows. I went back to the forum and they had closed my defect, so I commented that the workaround didn't work for me and I needed another way to make it work for me. Another week of waiting without a response and I decided to pursue another way to run our tests.
I started my new search by trying to find a tool that would run Javascript straight from a command-line. I would do myself what Node-Jasmine-DOM was trying to do (create a DOM and insert Jasmine). Enter Rhino and Env.js. I found a blog that had done this before and I was all set. It took me less than a day to incorporate these new tools into the build and I was immediately running our specs from the build. At the same time that I was ecstatic to be finally done with this, I was very frustrated that I had wasted so much time trying some of these other tools.
For those curious about what exactly I did, read on. For those who don't want the technical details, thanks for reading this far! This next part may not be for you as it will be pretty technical.
Our test target in our ant build does a few steps to run the spec scripts. The first step is to identify the pages that need testing and has some logic built into it for that. The next step is to convert these pages into spec runners (example), this means that I needed to insert references to our spec.js files and the Jasmine Javascript files. Since I wanted to test the Javascript on the page, I just copied the page, changed the extension to *.runner.html and inserted the appropriate spec and Jasmine scripts.
The next step that the build does is to get the list of runner files and run them. I created an ant macro for this step. The Build-Doctor guy provided the envjs.bootstrap.js file that I started with, but later customized. His was very simple and was basically just a for loop that told Envjs to load a page. I found that that wouldn't work for more than one runner, so I changed it a bit to reload Envjs at the beginning of the loop and then load the runner file. I also added some console.log entries so that the build is more vocal about what it's doing.
Here's where I got a little bold and changed the Jasmine.js and Env.js files to eliminate some extra console.log calls that I didn't feel were required and I added some in a couple of places where I wanted visibility. In the end, it looks great in the build and it creates JUnit style reports that our Jenkins CI server can interpret.
I was planning on covering the other major aspect of our build, Freemarker, but this post is getting pretty long, so I'll save that for another day. Below are some examples of what I did in our build.
This is the macro I wrote in our ant build.
<macrodef name="runRunnerList">
<attribute name="runnerList" />
<sequential>
<echo message="Running files: @{runnerList}" />
<exec executable="java">
<arg line="-jar ${dir.lib}/java/js.jar -opt -1 lib/javascript/envjs.bootstrap.js @{runnerList}" />
</exec>
</sequential>
</macrodef>
This is the results of running a spec in our build as seen in the terminal.
[exec] Launching runner: /trunk/bin/debug/_slider/_sliderTest.runner.html
[exec]
[exec] Runner Started.
[exec] _slider : should have 100 hundred items after the method addItem is called 100 times ...
[exec] Passed.
[exec] _slider : should have 99 items after the method removeItem is called ...
[exec] Passed.
[exec] _slider : should have zero items after the method removeAllItems is called ...
[exec] Passed.
[exec] _slider : should show slider when content extends past the width of the slider ...
[exec] ***FAILED***
[exec] _slider : should hide slider when content does not extend past the width of the slider ...
[exec] Passed.
[exec] _slider : should remove padding from the left side of the viewport ...
[exec] Passed.
[exec] _slider : should add the class bby-slider-item-first to the first item in the slider ...
[exec] Passed.
[exec] _slider : should recieve the second item out of five and the HTML should match ...
[exec] Passed.
[exec] _slider: 7 of 8 passed.
[exec] Runner Finished.
[exec]
[exec] Done with runner: /trunk/bin/debug/_slider/_sliderTest.runner.html
This is one of our runner files. The highlighted parts are what the build inserts into the file.
<!DOCTYPE HTML><html lang="en"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="../css/__common/__common.css" rel="stylesheet" type="text/css" media="all"> <link href="../css/_slider/_slider.css" rel="stylesheet" type="text/css" media="all"> <script type="text/javascript" src="../js/__common/libraries.js"></script> <script type="text/javascript" src="../js/_slider/_slider.js"></script> <link rel="stylesheet" type="text/css" href="../js/lib/jasmine-1.2.0/jasmine.css" /> <script src="../js/lib/jasmine-1.2.0/jasmine.js"></script> <script src="../js/lib/jasmine-1.2.0/jasmine-html.js"></script> <script type="text/javascript" src="../js/specs/_slider.spec.js"></script> </head><body> <script src="../js/lib/jasmine-dom/jasmine-dom-matchers.js"></script> <script src="../js/lib/jasmine-dom/jasmine-dom-fixtures.js"></script> <script src="../js/lib/jasmine.console_reporter.js"></script> <script src="../js/lib/jasmine.junit_reporter.js"></script> <script type="text/javascript"> $(function() { jasmine.getEnv().addReporter(new jasmine.JUnitXmlReporter()); jasmine.getEnv().currentRunner_.name = "__common"; jasmine.getEnv().execute(); }) </script></body></html>I will note here that most of our runner files have actual content in the body. The specs for this runner insert some test content into the body before the spec is run. The scripts in the body are inserted just before the </body> tag.
Thursday, April 26, 2012
Project Euler
I've always had a fondness for math. I've always been pretty good at solving math problems too. Today, a friend at work made me aware of Project Euler. For those of you who don't know (probably most of you), Project Euler is "a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve". Man, solving math problems with programming? Where do I sign up?
So, I've begun my struggle to get through the 381 problems listed on the site. Problems 1 and 2 were easy, things that we had to do in college. Problem 3 is a little tougher, but still pretty easy. That's how far I've gotten in an hour. I'm going to keep going though, I'll update the blog with my progress occassionally.
Spoiler alert: I'm posting answers to problems 1 and 2 below. Don't read if you're going to attempt this. I'm using Java as my language of choice to solve these problems.
Problem 1:
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000.I first solved this recursively, but was getting stack overflow errors, so I went to the simpler method of brute force.
private static int MAX = 1000;
private static int calculate() {
int sum = 0;
for(int index = 0; index < MAXindex++)
if(index % 3 == 0 || index % 5 == 0)
sum += index;
return sum;
} //end of calculate method
Problem 2:
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms.private static int MAX = 4000000;
private static int calculate() {
int sum = 0;
int first = 1;
int second = 2;
while(second <= MAX) {
int temp = first + second;
if(second % 2 == 0)
sum += second;
first = second;
second = temp;
} //end of while loop
return sum;
} //end of calculate method
There you have it. Notice that I haven't posted the results of running these. Gotta leave something to you guys!
Thursday, March 29, 2012
Recent Inactivity
Hello everyone. As you may have noticed, it's been quite some time since I've posted on the blog.
I'm a creative person. Creative people have to have creative outlets, or we go insane. I have several creative outlets: software development (my job), writing (on here), and crafts. Over the past year or so, I did a lot of writing that I've posted on here and a bit that I haven't. That, along with work, was my main creative output. Lately, though, I've been into crafting with Perler or iron beads.
I don't know if you've heard of these beads before, but they're used to create little trinkets. I've taken the liberty of posting some of my creations below. My wife and I have opened a joint Etsy shop where I plan to post these and future creations up for sale.
Is this the end of Story a Week? Yes. Will I continue to write and post stories up on my blog? Most definitely. I will continue to write because I love to do it. I will just do it in my own time. After all, I still have at least three storylines that I want to wrap up for you all. I can't just leave you all hanging like that. :)
So, enjoy these photos of my little creations.
I've also created a Mega Man, a Yoshi and a Princess Peach, but the camera battery died before I could take those pics.
I'm a creative person. Creative people have to have creative outlets, or we go insane. I have several creative outlets: software development (my job), writing (on here), and crafts. Over the past year or so, I did a lot of writing that I've posted on here and a bit that I haven't. That, along with work, was my main creative output. Lately, though, I've been into crafting with Perler or iron beads.
I don't know if you've heard of these beads before, but they're used to create little trinkets. I've taken the liberty of posting some of my creations below. My wife and I have opened a joint Etsy shop where I plan to post these and future creations up for sale.
Is this the end of Story a Week? Yes. Will I continue to write and post stories up on my blog? Most definitely. I will continue to write because I love to do it. I will just do it in my own time. After all, I still have at least three storylines that I want to wrap up for you all. I can't just leave you all hanging like that. :)
So, enjoy these photos of my little creations.
I've also created a Mega Man, a Yoshi and a Princess Peach, but the camera battery died before I could take those pics.
Friday, February 17, 2012
Story a Week 43 - Foresight
I know that it's been a while since I've put a story out here. Oh well. Gotta push forward and continue writing. I hope that you all forgive my absence.
Here's a new story. This might be a standalone, or not. I'm not sure at this point.
------------------------------------------------------------------------------------------------
"Who are you and why did your people attack us?"
Jack Freeman sighed. His interrogator had been yelling the same question at him for hours. He didn't seem to believe, or want to believe the answer. Jack repeated himself one more time, "My name is Jack Freeman. I am an agent of the Nuclear Facility Decommission Agency of the government of the United States. We are acting within our agency's charter."
The man finally lost his temper. He yelled, "The United States is dead! We've been running things in Monticello on our own for over a year without so much a peep from Washington, much less from St. Paul."
Jack just shrugged as a reply. That didn't seem to improve the interrogator's mood. He grabbed Jack by the front of his uniform and picked him up out of the chair. Jack was a little intimidated, but didn't show it. The man growled in his face, "Let's just say that you're telling the truth. That the US government is still operating somewhere in the Rocky Mountains. So what? You don't have any authority here anymore. The President was pretty clear about that during his speech on Doomsday."
Jack found that the people scattered around the country had different names for what had happened to the world just over a year ago. The official government name for it was Day 0. Everything after has been a day by day struggle to contain the anarchy around the country and to keep the government functioning. People around the country also had a strangely varying interpretation of the President's Day 0 speech. The President said, in what Jack saw as direct and clear terms, that the US government would move the capitol to Colorado Springs, with most of the operations run out of Cheyenne Mountain. He said that the government would suspend most civilian services for an indeterminate period, but that it was not renouncing its authority over the people of the United States. Apparently, most people didn't see it that way.
The man dropped Jack roughly into the chair. Jack calmly said, "The President is still alive and still the authority of the entire United States as it was on Day 0. We have every right to come here and decommission the nuclear plant here."
The man, who had turned his back on Jack, quickly rounded and punched him squarely in the jaw. "You can't do that! The nuclear plant is the only thing keeping this town alive! We sell energy to some of the surrounding communities in exchange for food. We're one of the biggest towns left in this part of the state."
The man's reaction wasn't uncommon. When the NFDA ran into resistance at a nuclear power plant, it was often the life blood of the community. Jack even felt bad about that, but these people didn't have the resources to keep the plant running safely. The agency was created, with several others, under the National Foresight Act. The purpose of the act was to try to prevent further ecological and infrastructure harm that would be caused by misused or mistreated facilities. Nuclear facilities were high on the list for decommissioning since they could cause widespread radiation if something went wrong.
Jack ignored his throbbing chin and said, "Listen, we know that this will be hard for you all, but it would be much, much worse if the plant had a meltdown. The effects of a meltdown wouldn't be contained to your little town either. The cloud of radiation would spread all over the Midwest and the jet stream would spread it all the way to the Atlantic coast. We just can't allow that."
The man's attitude quickly turned from one of anger to desperation. He was practically pleading when he said, "But we're taking good care of the plant! Most of the employees that worked here before are still living in town. We haven't had any trouble with anything at all."
Jack knew that the crisis here was coming to a resolution. He said, "I've heard that story everywhere I've gone. Believe me that I know that you all are taking good care of the plant right now. However, what happens in a year or two when an essential part breaks or an essential computer fails? You people can't manufacture those parts here locally."
The man sighed and nodded. "I guess that you are right about that. But what will we do? How will our town survive?"
Jack was about to explain how the government compensates towns that cooperate when he heard a quiet, and peculiar sound outside the door. The man didn't seem to hear it. Since Jack recognized the sound, he said instead, "Your people will find a way. People are resourceful. Unfortunately for you, though, you won't live to see that."
The man didn't seem to understand. His look of confusion was quickly replaced by fear as the door came flying into the room and three armed men rushed in. The lead soldier shot the man once in the forehead.
Another soldier pulled out a knife and cut the bonds that were holding Jack's hands together behind his back. Jack stood and stretched his arms and said, "It's a good thing that you guys came when you did. I was about to have to give that fool the care package."
The four of them laughed for a moment. The lead soldier said, "Well, we'll get this one cheap for a change."
Jack nodded and chuckled. He asked, "Is the rest of the facility secure now?"
The others nodded. Jack said, "In that case, let's go shutdown and disable the reactor."
Here's a new story. This might be a standalone, or not. I'm not sure at this point.
------------------------------------------------------------------------------------------------
"Who are you and why did your people attack us?"
Jack Freeman sighed. His interrogator had been yelling the same question at him for hours. He didn't seem to believe, or want to believe the answer. Jack repeated himself one more time, "My name is Jack Freeman. I am an agent of the Nuclear Facility Decommission Agency of the government of the United States. We are acting within our agency's charter."
The man finally lost his temper. He yelled, "The United States is dead! We've been running things in Monticello on our own for over a year without so much a peep from Washington, much less from St. Paul."
Jack just shrugged as a reply. That didn't seem to improve the interrogator's mood. He grabbed Jack by the front of his uniform and picked him up out of the chair. Jack was a little intimidated, but didn't show it. The man growled in his face, "Let's just say that you're telling the truth. That the US government is still operating somewhere in the Rocky Mountains. So what? You don't have any authority here anymore. The President was pretty clear about that during his speech on Doomsday."
Jack found that the people scattered around the country had different names for what had happened to the world just over a year ago. The official government name for it was Day 0. Everything after has been a day by day struggle to contain the anarchy around the country and to keep the government functioning. People around the country also had a strangely varying interpretation of the President's Day 0 speech. The President said, in what Jack saw as direct and clear terms, that the US government would move the capitol to Colorado Springs, with most of the operations run out of Cheyenne Mountain. He said that the government would suspend most civilian services for an indeterminate period, but that it was not renouncing its authority over the people of the United States. Apparently, most people didn't see it that way.
The man dropped Jack roughly into the chair. Jack calmly said, "The President is still alive and still the authority of the entire United States as it was on Day 0. We have every right to come here and decommission the nuclear plant here."
The man, who had turned his back on Jack, quickly rounded and punched him squarely in the jaw. "You can't do that! The nuclear plant is the only thing keeping this town alive! We sell energy to some of the surrounding communities in exchange for food. We're one of the biggest towns left in this part of the state."
The man's reaction wasn't uncommon. When the NFDA ran into resistance at a nuclear power plant, it was often the life blood of the community. Jack even felt bad about that, but these people didn't have the resources to keep the plant running safely. The agency was created, with several others, under the National Foresight Act. The purpose of the act was to try to prevent further ecological and infrastructure harm that would be caused by misused or mistreated facilities. Nuclear facilities were high on the list for decommissioning since they could cause widespread radiation if something went wrong.
Jack ignored his throbbing chin and said, "Listen, we know that this will be hard for you all, but it would be much, much worse if the plant had a meltdown. The effects of a meltdown wouldn't be contained to your little town either. The cloud of radiation would spread all over the Midwest and the jet stream would spread it all the way to the Atlantic coast. We just can't allow that."
The man's attitude quickly turned from one of anger to desperation. He was practically pleading when he said, "But we're taking good care of the plant! Most of the employees that worked here before are still living in town. We haven't had any trouble with anything at all."
Jack knew that the crisis here was coming to a resolution. He said, "I've heard that story everywhere I've gone. Believe me that I know that you all are taking good care of the plant right now. However, what happens in a year or two when an essential part breaks or an essential computer fails? You people can't manufacture those parts here locally."
The man sighed and nodded. "I guess that you are right about that. But what will we do? How will our town survive?"
Jack was about to explain how the government compensates towns that cooperate when he heard a quiet, and peculiar sound outside the door. The man didn't seem to hear it. Since Jack recognized the sound, he said instead, "Your people will find a way. People are resourceful. Unfortunately for you, though, you won't live to see that."
The man didn't seem to understand. His look of confusion was quickly replaced by fear as the door came flying into the room and three armed men rushed in. The lead soldier shot the man once in the forehead.
Another soldier pulled out a knife and cut the bonds that were holding Jack's hands together behind his back. Jack stood and stretched his arms and said, "It's a good thing that you guys came when you did. I was about to have to give that fool the care package."
The four of them laughed for a moment. The lead soldier said, "Well, we'll get this one cheap for a change."
Jack nodded and chuckled. He asked, "Is the rest of the facility secure now?"
The others nodded. Jack said, "In that case, let's go shutdown and disable the reactor."
Saturday, January 14, 2012
Story a Week 42 - Candy Land 8
Man, it's been quite a week for my blog. My last story has gotten 100+ views! I'm amazed by all the great feedback that I've gotten on the story. I hope that you all keep reading.
This week is a return to the Candy Land storyline. It's wrapping up, with just one or two stories left.
---------------------------------------------------------------------------
Queen Frostine made me sleep while she ordered her fleet to sail for the Molasses Swamp. It had been a very long time since I had slept; I immediately fell asleep when I got a chance to lie down. It only seemed like I was asleep for a moment when I heard Queen Frostine calling my name to wake me. Drowsily, I stretched and asked, "Are we there already?"
I sensed some alarm in Frostine's voice as she said, "Yes, and there's something you have to see."
She led me to the deck and it took a moment for my eyes to adjust to the light, but when they did I could see why Queen Frostine was alarmed. My mouth dropped as I stared out over the ocean to the shore and saw a giant hardened mud wall running the entire length of the shore. Along the wall I could see square shaped holes that looked like the holes on the gun decks of the ships.
I turned to Queen Frostine and said, "Are those what I think they are?"
She shrugged and said, "We're not sure. We've never seen cannons in any of their camps." She paused. "So far, they've ignored our presence, but who knows how long that will last."
As if on cue, a loud and deep horn like sound came from behind the wall. Right in front of us, the wall started to split near the bottom and I could see an opening appearing there. After a few moments, the opening appeared to have completed and a Molasses Monster appeared there with a white flag on a stick.
I looked over to Queen Frostine and said, "Shall we parley with them?"
She nodded and ordered for a dingy and rower to bring us to shore. A few minutes later, we were standing with the Molasses Monster on the shore. It was the first time that I had ever met one and I was a little intimidated. The creatures are at least seven feet tall and probably the same distance around their waists. Their shape is somewhat fluid and not well defined, but still imposing.
The creature spoke first. "What are you doing here?" it asked bluntly.
Queen Frostine and I glanced at each other. She subtly indicated that I should speak, so I did. "Well...uh, sir, I've heard a rumor that a castle has recently appeared near your swamp and I'd like to request..."
It interrupted me and roared, "What do you know of the castle?"
I fought the urge to look towards Queen Frostine. I said, "Well, that castle was originally quite a ways away from here. It was teleported..."
Once again, it interrupted me. It said to Queen Frostine, "Why have you brought this one here?"
For the first time, I saw Queen Frostine raise her voice. She was practically yelling when she said, "He wants to go through your swamp to the other side! There is no reason not to allow this. I will go with him."
The Molasses Monster looked down at Queen Frostine for a moment. It looked over to me and blurted, "You may pass, but the ships must leave."
I looked over to the queen and she nodded. She turned to the sailor who had rowed us to shore and gestured for him to leave. He saluted and jumped into the boat.
"Follow me," the creature said.
It walked through the opening in the door and I could see that it immediately began to close. Frostine and I ran through the opening. "These guys are faster than they look," I said. Queen Frostine grunted her agreement.
I took a moment to look around. Behind me, I saw some sort of mud mortars on the walls sticking out the holes. In front of me, I saw an apparently endless swamp. Queen Frostine gave me a reassuring pat on the shoulder and followed the monster, carefully picking her way through the swamp. I quickly followed. Like I said, those Molasses Monsters are quicker than they look.
After a few hours of treading through the swamp, we finally came to the end. The Molasses Monster stopped at the edge and waited for us to walk out onto the plain before wordlessly turning back.
I turned to Queen Frostine and asked, "So, where do we go from here?"
The question was answered for me when I heard a rumbling behind me. I cautiously turned around and saw the largest creature that I've ever seen. It was obviously a Molasses Monster, of sorts. It was twice the size of the one that had led them out to the plains. I stared at the creature for a few moments while it made a rumbling sound. After a few moments, I realized that the creature was laughing.
After another moment of laughing, the creature spoke. "You are looking for the castle that came out of nowhere?"
I didn't know what to make of this development, so I just mumbled, "Uh, yeah."
The monster laughed again. "You'll never find it on your own. The plains are vast."
I glanced over at Queen Frostine and she just shrugged. I said, "Do you know where it is?"
The creature shook in a way that I took as a nod, but it didn't say anything. I asked, "Will you tell us, or take us there?"
It shook in a different way that looked more like a no. "Well, what use are you then?"
The monster laughed again. "I like you, man. If you give me a gift, I will take you to the castle. What say you?"
I looked at Frostine again and shrugged. I whispered to her, "Do you have anything to give the monster? I don't..."
Suddenly I remembered what Mr. Mint had given to me. I reached into my inside pocket and pulled out the Chocolate Peppermint Flute. I said, "Well, Mr. Monster..."
The monster interrupted me. "My name is Gloppy!"
I hesitated for a moment, and then continued,"Um... Gloppy, then. Will you take this flute in exchange for showing us where the castle is?"
Gloppy gasped. "What a beautiful flute! That will indeed be sufficient payment for this task."
He strode forward and plucked the flute out of my hand. He continued moving without a break and walked westward out into the plain. He went so fast that Frostine and I had trouble keeping up at a walking pace.
We walked for what seemed like hours. I was having a little trouble keeping up the pace when we came to a steep hill. Gloppy and Frostine reached the top of the hill first and I heard Frostine gasp. I shook my exhaustion away and ran to the top of the hill. The sight I saw was breathtaking. Candy Land Castle was there on the plain below us. Beautiful, fertile fields surrounded the castle for as far as the eye could see.
It struck me then that what Lord Licorice had done. He'd solved one of the kingdom's greatest troubles. Here in front of us was the vast farmland that our kingdom needed to continue to prosper. Who would have guessed that the kingdom's greatest villain would ultimately be its savior? All of the worry and dread of the last few days washed away as I passed Gloppy and Frostine in a sprint down the hill to the castle.
This week is a return to the Candy Land storyline. It's wrapping up, with just one or two stories left.
---------------------------------------------------------------------------
Queen Frostine made me sleep while she ordered her fleet to sail for the Molasses Swamp. It had been a very long time since I had slept; I immediately fell asleep when I got a chance to lie down. It only seemed like I was asleep for a moment when I heard Queen Frostine calling my name to wake me. Drowsily, I stretched and asked, "Are we there already?"
I sensed some alarm in Frostine's voice as she said, "Yes, and there's something you have to see."
She led me to the deck and it took a moment for my eyes to adjust to the light, but when they did I could see why Queen Frostine was alarmed. My mouth dropped as I stared out over the ocean to the shore and saw a giant hardened mud wall running the entire length of the shore. Along the wall I could see square shaped holes that looked like the holes on the gun decks of the ships.
I turned to Queen Frostine and said, "Are those what I think they are?"
She shrugged and said, "We're not sure. We've never seen cannons in any of their camps." She paused. "So far, they've ignored our presence, but who knows how long that will last."
As if on cue, a loud and deep horn like sound came from behind the wall. Right in front of us, the wall started to split near the bottom and I could see an opening appearing there. After a few moments, the opening appeared to have completed and a Molasses Monster appeared there with a white flag on a stick.
I looked over to Queen Frostine and said, "Shall we parley with them?"
She nodded and ordered for a dingy and rower to bring us to shore. A few minutes later, we were standing with the Molasses Monster on the shore. It was the first time that I had ever met one and I was a little intimidated. The creatures are at least seven feet tall and probably the same distance around their waists. Their shape is somewhat fluid and not well defined, but still imposing.
The creature spoke first. "What are you doing here?" it asked bluntly.
Queen Frostine and I glanced at each other. She subtly indicated that I should speak, so I did. "Well...uh, sir, I've heard a rumor that a castle has recently appeared near your swamp and I'd like to request..."
It interrupted me and roared, "What do you know of the castle?"
I fought the urge to look towards Queen Frostine. I said, "Well, that castle was originally quite a ways away from here. It was teleported..."
Once again, it interrupted me. It said to Queen Frostine, "Why have you brought this one here?"
For the first time, I saw Queen Frostine raise her voice. She was practically yelling when she said, "He wants to go through your swamp to the other side! There is no reason not to allow this. I will go with him."
The Molasses Monster looked down at Queen Frostine for a moment. It looked over to me and blurted, "You may pass, but the ships must leave."
I looked over to the queen and she nodded. She turned to the sailor who had rowed us to shore and gestured for him to leave. He saluted and jumped into the boat.
"Follow me," the creature said.
It walked through the opening in the door and I could see that it immediately began to close. Frostine and I ran through the opening. "These guys are faster than they look," I said. Queen Frostine grunted her agreement.
I took a moment to look around. Behind me, I saw some sort of mud mortars on the walls sticking out the holes. In front of me, I saw an apparently endless swamp. Queen Frostine gave me a reassuring pat on the shoulder and followed the monster, carefully picking her way through the swamp. I quickly followed. Like I said, those Molasses Monsters are quicker than they look.
After a few hours of treading through the swamp, we finally came to the end. The Molasses Monster stopped at the edge and waited for us to walk out onto the plain before wordlessly turning back.
I turned to Queen Frostine and asked, "So, where do we go from here?"
The question was answered for me when I heard a rumbling behind me. I cautiously turned around and saw the largest creature that I've ever seen. It was obviously a Molasses Monster, of sorts. It was twice the size of the one that had led them out to the plains. I stared at the creature for a few moments while it made a rumbling sound. After a few moments, I realized that the creature was laughing.
After another moment of laughing, the creature spoke. "You are looking for the castle that came out of nowhere?"
I didn't know what to make of this development, so I just mumbled, "Uh, yeah."
The monster laughed again. "You'll never find it on your own. The plains are vast."
I glanced over at Queen Frostine and she just shrugged. I said, "Do you know where it is?"
The creature shook in a way that I took as a nod, but it didn't say anything. I asked, "Will you tell us, or take us there?"
It shook in a different way that looked more like a no. "Well, what use are you then?"
The monster laughed again. "I like you, man. If you give me a gift, I will take you to the castle. What say you?"
I looked at Frostine again and shrugged. I whispered to her, "Do you have anything to give the monster? I don't..."
Suddenly I remembered what Mr. Mint had given to me. I reached into my inside pocket and pulled out the Chocolate Peppermint Flute. I said, "Well, Mr. Monster..."
The monster interrupted me. "My name is Gloppy!"
I hesitated for a moment, and then continued,"Um... Gloppy, then. Will you take this flute in exchange for showing us where the castle is?"
Gloppy gasped. "What a beautiful flute! That will indeed be sufficient payment for this task."
He strode forward and plucked the flute out of my hand. He continued moving without a break and walked westward out into the plain. He went so fast that Frostine and I had trouble keeping up at a walking pace.
We walked for what seemed like hours. I was having a little trouble keeping up the pace when we came to a steep hill. Gloppy and Frostine reached the top of the hill first and I heard Frostine gasp. I shook my exhaustion away and ran to the top of the hill. The sight I saw was breathtaking. Candy Land Castle was there on the plain below us. Beautiful, fertile fields surrounded the castle for as far as the eye could see.
It struck me then that what Lord Licorice had done. He'd solved one of the kingdom's greatest troubles. Here in front of us was the vast farmland that our kingdom needed to continue to prosper. Who would have guessed that the kingdom's greatest villain would ultimately be its savior? All of the worry and dread of the last few days washed away as I passed Gloppy and Frostine in a sprint down the hill to the castle.
Friday, January 6, 2012
Story a Week 41 - What I've Done
Hello everyone! This week's Story a Week is a flash fiction challenge from Chuck Wendig. Basically, you hit shuffle in a media player and take the song title and write a story based on it. I got "What I've Done" by Linkin Park. I think that made it easier, since the title is pretty generic and kind of thought provoking in itself. He put a 500 word limit on it and I'm coming in at 484 words. I hope that you enjoy it.
--------------------------------------------------------------------------
"Truth be told, I'm not proud of it. They say that people do what they need to do to survive, but I don't know if I can live with this. Sometimes I think that it might have been better to have just lost everything than to do what I've done. I don't even want to talk about it, but I feel like if I keep it bottled up any longer that I'll explode.
"There are times, of course, that I forget about it. There are times that, when I look at how my family is thriving after the crisis, that I think that it may have been worth it. Those times are rare. When I lay in bed at night, next to my beautiful wife... even the warmth of her body next to me isn't enough to keep those feelings away.
"Sometimes I get so angry at myself for it. Sometimes, while I'm driving alone in the car, I'll yell, 'You would have lost everything, you fool! You have to do this to keep your house and your family together!'
"I know that I'm not the only one who has done the same thing that I have. I know that I'm not alone, but that doesn't console me either. I don't know that anything can console me. Being a part of that group shouldn't make anyone proud.
"My family doesn't know about it, of course. My wife doesn't ask where I go, or where the money comes from. I don't think that she wants to know. I'm afraid that if I tell them that they would leave. I did it for them, to have them leave now would be the end of me. It would have been all for nothing. They can't know about this.
"Maybe that's why I'm telling you all of this. You're a stranger to me. It can't hurt to have someone else know. Someone has to know. I just can't keep it to myself any longer.
"You won't judge me, right? You can't judge me. You don't even know me."
The man stood there for a moment. He just looked at me with desperation, anger and fear in his eyes. I said, "Um, I just wanted a coffee, man, not your life story."
He looked confused for a moment, then down at his clothes. He sounded sorrowful as he said, "I still can't believe that I got a second job as a barista." He sighed, then blurted out, "That will be $4.55."
I handed him a fiver and told him to keep the change. After I got my coffee, I hurried back to my car. My wife asked me, "What took you so long?"
I replied, "I just heard the saddest story. I feel bad for him, but I think he did the right thing."
My wife was obviously confused, but I just shook my head and we drove away.
--------------------------------------------------------------------------
"Truth be told, I'm not proud of it. They say that people do what they need to do to survive, but I don't know if I can live with this. Sometimes I think that it might have been better to have just lost everything than to do what I've done. I don't even want to talk about it, but I feel like if I keep it bottled up any longer that I'll explode.
"There are times, of course, that I forget about it. There are times that, when I look at how my family is thriving after the crisis, that I think that it may have been worth it. Those times are rare. When I lay in bed at night, next to my beautiful wife... even the warmth of her body next to me isn't enough to keep those feelings away.
"Sometimes I get so angry at myself for it. Sometimes, while I'm driving alone in the car, I'll yell, 'You would have lost everything, you fool! You have to do this to keep your house and your family together!'
"I know that I'm not the only one who has done the same thing that I have. I know that I'm not alone, but that doesn't console me either. I don't know that anything can console me. Being a part of that group shouldn't make anyone proud.
"My family doesn't know about it, of course. My wife doesn't ask where I go, or where the money comes from. I don't think that she wants to know. I'm afraid that if I tell them that they would leave. I did it for them, to have them leave now would be the end of me. It would have been all for nothing. They can't know about this.
"Maybe that's why I'm telling you all of this. You're a stranger to me. It can't hurt to have someone else know. Someone has to know. I just can't keep it to myself any longer.
"You won't judge me, right? You can't judge me. You don't even know me."
The man stood there for a moment. He just looked at me with desperation, anger and fear in his eyes. I said, "Um, I just wanted a coffee, man, not your life story."
He looked confused for a moment, then down at his clothes. He sounded sorrowful as he said, "I still can't believe that I got a second job as a barista." He sighed, then blurted out, "That will be $4.55."
I handed him a fiver and told him to keep the change. After I got my coffee, I hurried back to my car. My wife asked me, "What took you so long?"
I replied, "I just heard the saddest story. I feel bad for him, but I think he did the right thing."
My wife was obviously confused, but I just shook my head and we drove away.
Subscribe to:
Posts (Atom)