The Lord and the Storms

On April 27, 2014, at about 7:00 PM Central Time, a tornado rated EF4 hit central Arkansas in the United States. The small towns of Mayflower and Vilonia were hit the hardest, and what’s especially hard is that Vilonia had been hit hard three years before. One victim of this tornado and the first tornado was still building his house after the first one, and when the second one hit, he didn’t have home insurance on the house yet.

Over the next few weeks, my family had taken several trips to both Vilonia and Mayflower, to help clean up. It’s hard to take it all in, and it will be harder still to rebuild.

I was within twelve miles of where and when the tornado hit. The track of the storm could have easily taken a 1°-10° turn to the left and we would be hit. We probably also would have been dead because where we were, our “safe place” wouldn’t have been safe enough.

This whole experience helped my faith. As I write this, it’s been two weeks exactly since the storms, and since then, the verse Jeremiah 29:11 has been on my mind. It says, “‘For I know the plans I have for you,’ declares The Lord, ‘plans to prosper you and not to harm you. Plans to give you a hope and a future.””

This verse assures me that God had a (good) reason for what He did. I already know that God drove the tornado, but no one knows why. But here are some possible reasons.

  • He’s trying to show who’s the boss of the world (which is Himself). Our life on earth is fragile, and we forget to give God thanks for it.
  • This is one of His many ways to get people to know Him. I’m sure there are several people who have been saved because of this.

And one more thing: all of the victims of this disaster lost almost all they had. This is why we never store up on earth.

Do not store up for yourselves treasures on earth, where moths and vermin destroy, and where thieves break in and steal. But store up for yourselves treasures in heaven, where moths and vermin do not destroy, and where thieves do not break in and steal. Matthew 6:19-20 NIV

Posted in Biblical | 1 Comment

Java Swing: Custom Options to a JFrame’s setDefaultCloseOperation() Method

If you’re a Java Swing programmer, and you use the JFrame to make a window, you’ll probably use JFrame’s setDefaultCloseOperation() method. This just tells the JFrame what to do if the user presses the big X on the top of the window.

JFrame frame = new JFrame("Frame");

There are not many options when choosing the default close operation. There’s EXIT_ON_CLOSE, which closes all the windows and quits the program, there’s DO_NOTHING_ON_CLOSE, which does nothing, there’s HIDE_ON_CLOSE, which hides the window, and there’s DISPOSE_ON_CLOSE, which closes the window for good, but the Java Virtual Machine is still running.

But what if you wanted a confirmation alert to popup when the user pressed the X? Or something else? How do you give the JFrame a custom close operation to run on close? The answer is to override its dispose() method. Make a class that extends JFrame, then build your components in the constructor. Then override the dispose() method.

import javax.swing.*;

public class NewWindow extends JFrame {
    public NewWindow(){
        // Your components here
        // …


    public static void main(String[] args) {
        NewWindow view1 = new NewWindow();

    // Override the dispose method.
    public void dispose(){
        // Custom close operation here.

Just put whatever action you want within the dispose() method, even if you’re not disposing any window. What if you still want to just simply dispose the window sometime also, without those custom operations? Just make a new method like this:

public void close(){

The super.dispose(); line will call the dispose() method before it was overridden.

Posted in Programming, Uncategorized | Tagged | Leave a comment

[POLL] Should TwoGuysBrickfilms continue Lord of the Donuts?

As you might remember, TwoGuysBrickfilms released the first two parts of Lord of the Donuts (hereafter referred to as LOTD) in January of 2013. You can see them here. Upon the release of the second part, TwoGuysBrickfilms announced that they would not be releasing another part “until the screenwriter reads the rest of the book and watches the movies, and until the animator obtains or buys a real Legolas from LEGO.” While the books have been read, their animator* has not yet obtained a LEGO Legolas minifigure. So the screenwriter* has developed a compromise. This was done by changing the name of Legolas in previous parts to something different. It is now almost a full year since the release of the first two parts, and now TwoGuysBrickfilms is considering the production of the continuation of the series.

* As a footnote, I, tenny1028 am both the screen writer and animator.

Here are the polls for this post:

Posted in Comedy, LEGO, news, Random | Tagged , , , , , , , , , | Leave a comment

Defining Division by Zero

As you probably know, division by zero is undefined. What does that mean? Literally, it means that division by zero has no meaning. There is no method to find what something divided by zero is. So a while ago I wrote a tweet about wanting someone to define division by zero.

I wrote that tweet because I was tired of the calculator displaying “Error: Division by zero is undefined” when I type a division by zero problem, so I wanted someone to define it. But recently I have discovered something that could possibly define division by zero…

In a central processing unit of a computer, there is a unit in there called an Adder. This adder basically adds two binary numbers (like 01101 and 101) together (You get 11011). If you can add two numbers, you can really use all of the other operations in arithmetic. Adding is just adding two numbers together. Subtracting is just adding a negative number to a positive number. Multiplying is adding more than once, and dividing is adding negative numbers (subtracting) more than once.

Dividing is subtracting more than once. If you look at division that way, you get a whole new perspective on it. You take a number, then subtract it over and over again until you get to zero. Then you take the number of times you subtracted and that is the answer to the division problem. Let me show you an example, such as 12÷4. To figure that out, you would subtract 4 from 12, 4 from that, and four from that over and over again until you get to zero, like this: 12 – 4 – 4 – 4 = 0. The number of times you subtracted four is your answer, and in this case, the answer is 3.

However, if you subtract zero from 12 over and over again, you’ll never get to zero. Every time you subtract 0 from the previous number, you get 12 again. You’ll never even reach 11 or 10. With that idea, we could say that anything divided by zero is infinity.

But we can’t. Watch this video from Numberphile:

Posted in Uncategorized | Tagged | Leave a comment

One For the Road…

One For the Road…. A post by LEGO Universe News that features links to download the in-game soundtrack of LEGO Universe

Posted in Uncategorized | Leave a comment

Homeschool Debt

I’m homeschooled, which gives me the feeling that I don’t have much to do in my day, so I just sign up for all these things that I think I have time for. I think I have time for. I’m in high school, and I do have hard work to do in high school. The studies don’t really give me much extra time to do stuff, though I thought they would since they had during the first few weeks.

Now that I’ve signed up for stuff and since my family took me on a camping trip that lasted through Monday this past week, I don’t really have time to do school anymore, and I’ve been staying up late and doing school then, and basically doing school whenever I have a chance.

I’ve been behind on some school work, which made me think about how being behind on schoolwork is a lot like being in debt economically. Occasionally I have to go to bed before all my work is done, so I’ll have to borrow some time from tomorrow to get it done. However, that has interest because I have work to do tomorrow that’ll get piled up, and I just won’t have enough time to get done with work I had to do today and the work I have to do tomorrow. And once I get it all finished up, there’ll be more to work on.

Thankfully, I’m entering a period where a lot of things are coming to an end for the season, like soccer, so I’ll have more time to work on things, if I don’t sign up for any winter projects.

Posted in Random, School | Tagged , , , , | 2 Comments

A Tale of Two Sirs

It was the best of times, it was the worst of times. It was the age of wisdom, it was the age of foolishness. It was when things were good, and when things were bad.

There was a man who was a brave fighter, and he had a large jaw. His name was Lancelot. He was a knight, so people called him Sir Lancelot.


He did not have any title such as Sir Lancelot the Brave or Lancelot the Valiant. He was just Sir Lancelot. His lead person wasn’t used to leading and shouting to make way for a knight without a title.

Lead Person for Another Important Knight: No, YOU MAKETH WAY FOR SIR FAILSALOT!!!



Lead Person 1: I DON’T REALLY CARE-ETH, BECAUSE HE SURE FAILS A LOT (hence, the name)!!!

*Lancelot comes up*

Lancelot: Ephan, what seems to be the problem here?

Ephan (Lead Person 1): This person is questioning-eth thine authority!

Lancelot: Who dares to question my authority? Make him draw his sword and fight me!

*Sir Failsalot walks slowly out*

Lancelot: Failsalot? Hey dude! *Lancelot sheathes his sword and runs to Failsalot and hugs him* What has brought you here this fine morning?

Failsalot: I’m just browsing around the shops, looking for my iPhone.

Ephan: Wait, you mean-eth thou art friends?

Second Lead Person: Yeah, and we argued-eth over this nonsense for naught?

Lancelot: Huh?

He is complaining that they argued about making way and stuff, just to figure out none of them had to do anything.

Lancelot: Oh, thanks. I’m not good with my thee’s and thou’s, if you know what I mean. So you said you lost your iPhone?

Failsalot: Yeah, I lost it somewhere in a supermarket named “Walmart-eth” *rolls eyes*

Lancelot: Well, I have a few extra. *reaches into his pocket and pulls out a new iPhone* Here, use this.

Failsalot: Thank you. *receives iPhone and puts it away in pocket* So, have you gone on any conquests lately?

Lancelot: Only the dragons, since you seem to fail a lot at defeating dragons. I got one yesterday with my iPhone app. “There’s an app for that!”

Failsalot: You know, they’ve made doing things a lot easier now with the iPhone and there always being an app “for that”. All I’ve done is take my sword and gone on my normal annual conquest against the squirrels.

Lancelot: Any luck?

Failsalot: Not really.

Eventually, Failsalot started arguing with his lead person and then the anti-arguing dragon came and gobbled him up. But he was spit out because he fails a lot a being tasty. The end.

Posted in Comedy, Stories | Tagged , , , , | 1 Comment