All posts by Daniel Bank

My name is Daniel Bank. I am a software engineer with a background in physics. My primary interests are mobile and web development, as well as automation. My hobbies include traveling, scuba diving, playing music, writing, learning about mythology and history, and playing games.

Intruder in the Yard


Whalebud the Cat
Whalebud the Cat

I was talking to my girlfriend on the phone in the backyard. She was mad at me saying I hadn’t spent enough time with her. She was going to go play pool with another man who she said was a friend. I said okay but deep down I was mad about it. I looked in the reflection of my cell phone and saw a man creeping past me.

I confronted the man and told him I was going to hold him and call the police. We struggled fiercely. We were locked in a grip on the ground. I tried eye gouging the man to stop him from struggling. I tried to call my dad and mom for help but they wouldn’t come. I became aware that my dad was reading the news and wasn’t taking my calls for help seriously.

I became aware that I was holding my cat in a death grip. I realized I must have been dreaming or was tricked by the intruder. I let go of him because I didn’t want to hurt my cat. I was still mad at my dad so we argued about it at dinner. He was arguing that no one took him seriously about his politics. I argued that he wasn’t taking my calls for help seriously.

The Unbeatable Enemy


Thor Wrestling Elli by Robert Engels (1919)
Thor Wrestling Elli by Robert Engels (1919)

I was outside my home playing around. Some kids from across the street came over and started throwing rocks at me. I got angry and threw rocks back but they persisted in harassing me. I started fighting with one of them. The fight started out not so serious and I was trying to wrestle with him and punch him. As it progressed however, the fight became more and more serious and I was attempting lethal attacks such as eye gouging. At one point I thought I killed the kid. Instead, he turned into a deranged skinny corpse-like man and still engaged in fighting me. I remember him saying something to the effect that He will never be defeated; he will always persist in fighting me no matter how much I damage him. As the fight raged on, it became more dangerous until I woke up.

The Girl in the Tiles in Hell


Demon Minotaur by TheGreatDevin
Demon Minotaur by TheGreatDevin

I was on a farm with Gillian Anderson from the X-files. Suddenly, the ground went evil. Dogs were barking and growling and tentacles come out from the ground. They grabbed onto Gillian and pulled her underground. She was in a tiled labyrinth. A Minotaur demon was chasing her and trying to catch her. She fled into the tiles. The Minotaur demon saw that every tile looked the same: a little girl in a blue dress holding a baby lamb caringly. He started to smash the tiles in attempt to kill her but her spirit could always flee to another tile. In his frustration, the Minotaur monster turned into an old feeble man. The girl came out to comfort him.

jquery.tent for Simple Popups


I created a new jQuery plugin for handling simple pop-ups.  The plugin is called jquery.tent.  It is available here (https://github.com/danielbank/jquery.tent).  It is based off a tutorial by Keith Wood for making jQuery plugins (http://keith-wood.name/pluginFramework.html).  I highly recommend this tutorial because it explains things quite well and the code itself is really well written.

Usage of jquery.tent is simple:

1. Initialize a DOM element as a tent.

$("#pop-up").tent();

 


2. Set the tent options to control the location where the popup is shown.

$("#pop-up").tent('option', {left: 0, top: 0});

 


3. Show the pop-up.

$("#pop-up").tent('show');

 


4. Hide the pop-up.

$("#pop-up").tent('hide');

Koror Gloom


Trapped like a caged green bird

But what cage is it that surrounds me

Whose bars are made of the sadness of all things

Preventing to spread light angel wings.

Sorry little bird, you can’t fly free.

If I cannot fly free then I will sing the song of the zen flute bird,

Seldom known for seldom heard

Until the cage, the bars, and the wings

Fade away like soft sea foam.

Us and Them and Whom?


I believe in He.

You believe in Him

They believe in Whom?

So which one of us is wrong?

Should we fight about it?

Is that our doom?

They were once the same,

But we changed.

Are we still the same now?

If a long time passed

Where we were only fighting

Would we not be the same that day?

If that day were today,

I would cry that day.