Blog

Is Sin Binary?

Posted on: 2010-10-03 22:06:36

Tonight while we were walking, I was telling Sarah about some of the things we went over today in our Sunday school class. We went over commandments 5-10. Teach the commandments is easy, but explaining to a bunch of 4th graders why the law was given to Moses and what it means is kind of a stretch. God has blessed me with the ability to be pretty good at describing or analogizing things. It is very useful in my profession and has helped a lot while teaching these guys.

But today it felt like I had a hard time going over the material. Perhaps my understanding of it was underestimated! These are some of the questions/observations that were brought up:

  1. Are the 10 commandments in any particular order? This question seems to lead into the next question, but the only thing that really seems to make sense (to me, at least) is that the 10 commandments are in the order from the "most visible" sins to the least visible sins. There is probably some relatively simple argument that would disagree with that statement, but like I said it leads into the next question...

  2. Murder, stealing, and coveting are all on the same list. If the list is in no particular order, then would it not be safe to assume that all of the sins on this list are of equal weight? Growing up Catholic, we were taught about "mortal and venial sins":http://www.scborromeo.org/ccc/p3s1c1a8.htm#IV. But the differentiation between those sins is not biblical. That is, no where else in the bible does it talk about 2 different types or weight of sin. There is just sin: that painful "estrangement from God." It either is or is not sin.

There is something about God's infinite perfectness our and limited flesh that makes no sense for there to be different levels of sin. The only distinction of sin that the bible makes is repented vs. unrepented sin. Romans 2:5 says that because of "stubbornness and an unrepentant heart, you are storing up wrath against yourself on the day of judgement." Not because you committed a "mortal" sin, but because of not repenting! Plus, doesn't saying that the existence of sins that are unforgivable mean that in certain circumstances God's mercy is not limitless for those who might seek his face?

At any rate. All of this to put forth that sin is binary. It either is or is not. Murder, stealing, coveting, are all sin. The punishment for all of those is the same.

What are your thoughts?

Continue reading...

The Trinity: Visualized

Posted on: 2010-09-04 00:02:39

Over the past couple of months, there have been a series of changes that have caused me to seriously reconsider many aspects of my faith. Some of these changes were depressing, others solemn, and yet some were joyous and causes for celebration. I don't mean to get off topic, but only put this so that this change might be put into perspective. More and more, I've come to learn about glory, our chief end in this life, and what it means to be a part of Christ. It's like having a new set of eyes and ears by which the world looks and sounds totally different.

At any rate, during one of the times when discussing the trinity and trying to figure out exactly the trinity relates to in this world... something interesting caught my eye. It's no secret that things come in threes:

!/sites/nickvahalik.com/files/threes.png!

So we have the trinity, the Father, the Son, and the Holy Spirit. All three are clearly defined in the bible. Three in one. What else is like this? Genesis 1:3. God creates light.

What is light? More specifically, what is white light?

!/sites/nickvahalik.com/files/rgb.png!

From Wikipedia ("White":http://en.wikipedia.org/wiki/White):

bq. White is a color, the perception which is evoked by light that stimulates all three types of color sensitive cone cells in the human eye in nearly equal amounts and with high brightness compared to the surroundings. A white visual stimulation will be void of hue and grayness.

The human eye has 3 types of cone receptors and 1 type of rod receptor ("Trichromacy":http://en.wikipedia.org/wiki/Trichromatic_color_vision). Those 3 cone receptors are what give us the ability to perceive color by responding to "red, green, and blue (RGB)":http://en.wikipedia.org/wiki/RGB_color_model light. In other words, every time we white light, we see a simultaneous trio of equal portions red, green, and blue light... a trinity if you will. Each plays it's own role in forming that white light. They are all required in order to produce it, too.

I believe in the same way that God made our eyes to take the three wavelengths of light so that we could see white light, He made our hearts receptive to the trinity so that we could see Him. Or at least, attempt to see Him. Staring too long at a bright light can make you go blind. :)

My point is this: Look no further than your own computer monitor to understand how three can make one. As you read this blog post, it is happening right in front of you. I pray that if you have a problem understanding the trinity, you will seek the word to know more and perhaps this illustration might be useful.

Continue reading...

Thoughts on An Interfaith Dialogue

Posted on: 2010-08-20 21:42:11

I wanted to expand on a comment I made and get some feedback regarding a video on Vimeo entitled "An Interfaith Dialog":http://vimeo.com/14256549. The whole video is worth watching, but the part I'm really talking about is from 16:05 to 17:34. Here is a transcript of that section:

bq. When she was a student at Carlton College in Minnesota, there was a mosque that was burned down in an arson attack in Minneapolis. And she was taught in her Evangelical Christian tradition you help your neighbor. It's basic. You love your neighbor. You love your neighbor. So the Imam of that mosque said, "Will you help us rebuild?" Will you help us rebuild? [She] said "yes." I want to love my neighbor. And there were people in her Christian group that said, "How can you help these devil worshippers? How can you help these people who worship the wrong thing?" [She] said, "I disagree with their worship, but they are my neighbor. I want to help them." Kicked her out of the Christian group. And [she] had a choice. "Am I going to be a Christian the way that some of these people view Christianity? In a way where I secretly applaud the burning down of a mosque? Or am I going to follow that ethic in my heart that says 'Help your neighbor?'"

After listening to Eboo's thoughts, the story about the young Christian woman who was ostracized from her church stuck with me. My initial reaction was to feel sorry for her. But after considering this story, and re-reading the "Parable of the Good Samaritan":http://www.biblegateway.com/passage/?search=Luke%2010:25-37;&version=NIV I feel there is an aspect of this conversation missing. And this anecdote provides a good basis to relate how I feel.

First, I know very little about the "Jesus Ethic." From the context and meaning of the words, I would guess that it means something to the effect of... the moral and ethical teachings of Christ devoid of soul-saving faith in Him. If this is incorrect or incomplete, please let me know! But running with this, it would seem that Eboo puts much weight in works, but we need faith: "“And without faith it is impossible to please God”":http://www.biblegateway.com/passage/?search=Hebrews%2011:6&version=NIV. If that is the case, then it makes his message very weak. But I digress.

"Love thy neighbors as yourself" is Jesus's greatest commandment. It was a command in the old testament. It is also important to know that "our chief end is to glorify God":http://www.creeds.net/Westminster/shorter_catechism.html. We do that by following in Jesus' foot steps. This is where the "Jesus Ethic" seems to come in.

Okay, so let's break it down:

Neighbor's ProblemJesus Ethic says HelpBible says Help
Neighbor when he gets burned.YesYes
Neighbor's house gets burned down.YesYes
Neighbor's place of worship where a god besides the triune God of the bible is worshipped burns downYes*???*

While the act of helping to rebuild a mosque is definitely loving your neighbors, I don't think that it glorifies Jesus. It is one thing to achieve a common purpose which glorifies God with others from disparate (or even disagreeing faiths). It is another to commend a Christian rebuilding a mosque. Aren't mosques places of worship for Allah? The god of Islam and the god of Christianity are two different Gods. They must be since Jesus was \"the way, the truth, and the light\" and Muslims don't follow Christ. It would follow that she was essentially helping to rebuild a temple to a false God. That, in my mind, is pretty good grounds for making someone leave your church.

To respond, I would ask another question, "If your friend didn't know Christ, and he/she was addicted to drugs.. and let's say that they are a nice person, too. If that person's stash disappeared... would you help them buy some more to replace it with?" Call my crazy, but I think that is a fair analogy. To help someone get something back which the desire, but draws them further from the truth of Jesus Christ is to say, in essence, that it is okay for them to go to hell. There is no Universalism.

One last thought: there is a great difference between, say, helping a person of any color or creed on a personal level and helping a group that follows a different creed. We must love our brothers and sisters... But worshipping Allah/Mohammed, to me, is a sin. Love the sinner, hate the sin. It is cliche, but that is the point: Love the individual, not the religion. Rebuilding a temple of worship is not loving an individual, it's loving another religion.

I applaud Eboo's generosity and his openness to discuss these things. As a Muslim, it seems as though there are not enough of them that want to have dialogue. However, I get the feeling that he is talking about some sort of inclusive unitarianism. I mean no disrespect to Eboo, but I think his liberal Islam would give him a firm foundation for being a Christian. He understands what it means to give glory to God (and lots of Chrisitians have a problem with this, including me.) But ultimately, all of the good works will amount to nothing unless each and every one of us pick up our cross and follow Jesus Christ!

Continue reading...

Haiti: Do's and Don'ts

Posted on: 2010-08-02 23:24:39

As part of writing down my thoughts and experience on the recent mission trip on Haiti, there were many feelings and experiences that I was not prepared to handle. Others, were adequately identified and met. The purpose of this post is to answer questions for those of you who are going or thinking of going to Haiti in the future and to help give you a more complete idea and hopefully answer some of these questions: "What should I bring?" "What should I leave at home?" "What should I expect when I get there?"

Some of these answers are personal experience. Some of them are suggestions and hints from people who live there. Others are observations garnered from other visitors' experiences and suggestions.

So I present to you a list of Do's and Don'ts. Things to expect and general observations. If you have been to Haiti, please leave feedback. Hopefully this page will be useful for someone else traveling to Haiti.

Note: these aren't in any particular order. Also note: this list is not exhaustive. Also also note: Understand that there are certain sites or sources of information like Wikipedia, for instance, that appear to be misleading or misinformed[1]. Take what you read about Haiti with a grain of salt. Err on the side of caution.

h3. Don't expect electricity.

During our stay in Port-au-Prince, the hotel we stayed at had a generator. About every night between 10:00 and 10:30, the power to the city gets shut off. One of our companions told us that it's because the city can't meet the needs of the power consumption at night. At any rate, many places do have generators and may run them at night. Ask whomever is hosting you if they have generators or if you can expect to have power at night.

h3. Don't expect hot water.

Yeah, don't expect to get hot water from a faucet. Anywhere. If you want hot water, someone will either have to boil it, or run it through a coffee pot. So, if you bring a bunch of ramen or need to shave, remember that you'll have to find or make your hot water. Again, the hotel we stayed at was happy to accommodate the needs of people who wanted hot water. I can't imagine anyone else wouldn't either.

h3. Don't expect... water.

This one is a little tougher. Don't expect water even from the cold faucet. Almost every house in Haiti has a water tank on top of the house that provides water to the house. These tanks require the water to be pumped up to tank. Those pumps require electricity. Catch my drift? This normally happened because the tank would be empty after a night of people taking showers after the pump was turned off. Occasionally there was water, but there was not enough pressure because people downstairs were showering. Keeping a small bottle of hand sanitizer on you will help!

h3. Don't expect air conditioning.

Our (the guys of our group) first 3 nights in Haiti were without A/C. Luckily, our hotel had them and we got to move to another room. They ran all night on the generator. Depending on where you stay, you may or may not be so lucky. You may want to bring a small fan. Even most of the tents we saw had outlets that allowed for fans to run, especially during the night. One group mentioned that their tents didn't have fans or outlets. Ask whomever is hosting you. If you are staying in tents, a power strip and extension cord may come in handy to run a power line into your tent. In Haiti, anything goes.

h3. Don't flush toilet paper.

The sewer systems here don't handle toilet paper for some reason. There are going to be small waste baskets beside you. Yeah, it's a little gross, but you'll get used to it. For latrines, they may just tell you to throw it in. But if there is an actual toilet in the city, just don't do it!

h3. Don't throw away glass (or plastic) bottles.

Haitians, for better or for worse, recycle a lot. You wouldn't tell it from all the trash in the street, but the glass bottles you'll get when you buy a coke or beer will be recycled again and and again. Don't throw them away. Most places will have a spot for you to put them. Same for the plastic bottles. Fill those up with water and keep a few of them on you. It'll waste less and you'll have extra water. Now that's win-win!

h3. Do keep lots of water on you at all times.

Not all of the water in Haiti is safe to drink. We drank "bottled" water while we were there. Many of the places buy water in the large 5-gallon water-cooler size bottles and then have coolers scattered. Make sure you keep your bottles filled. The climate in Haiti is warm and humid. You will sweat just sitting outside and you need to keep hydrated.

h3. Don't expect the internet to work.

Again, our hotel provided this for us. Most places we visited had internet -- and it seemed that every one of them was satellite. It was slow but it usually worked. Usually. The point is: don't make promises about sending e-mail or keeping up with stuff while you are away. Between the lack of electricity and storms it may not work.

h3. Do expect to be overwhelmed.

Haiti is a 3rd world country. Some parts of Haiti are great: sandy beaches, restaurants, decent hotels. Port-au-prince is nothing like that. It is: streets in disrepair, reeking of sewage and decomposing garbage, rubble and collapsed buildings everywhere. Babies crying. Children begging. Guys will cat-call the ladies. Few people speak english. Vendors will crowd you and shove their wares into your face. Babies will poop and pee on you. Flies and mosquitos are everywhere. Animals run through the streets. Naked people sometimes do too. People urinate in the streets. People bathe in the ditches.

At one point while we were just on the outside of City Soleil near the red market, the smell of rotten food and decomposing garbage was enough to make me gag. I've got a pretty strong stomach for that stuff. It was intense. If you are visiting an orphanage, you'll probably smell feces, urine and vomit. Be ready for it!

h3. Bring stuff to read or a deck of cards.

Depending on where you are going in Haiti, you will spend quite a bit of time traveling. If you are going with a group and you are not a group leader, you will have plenty of time during travel and down-time to read a book or play cards with others. During a 9 day stay, I finished 3 books. Most of that before bed and traveling. You will want something to do to help you unwind. Some people wrote, some people slept, many read books, and others played cards.

h3. Bring extras.

People lose things. Sometimes you'll end up giving items away. It's better to pack a few extra pairs of socks, t-shirts, work gloves, or snacks and give them away than to need them and not have them.

h3. Bring snacks.

Your host may or may not cook for you. The hotel we stayed at served breakfast and dinner. No lunch was served. Bring plenty of nutritious, energy dense foods: nuts, granola, etc. Being in the heat will drain your energy out of you as you sweat.

h3. Pack light.

Getting through customs can be a pain. When we arrived, we had a fairly long walk from customs and immigration to where the car was parked. If you are going to be moving around remember that you'll have to carry what you bring. Pack light, especially if you are going to be moving around frequently.

Another reason to pack light is if you intend to bring stuff with you. This is a topic that will require more discussion. The gist of it is this: there really isn't a reliable and affordable way to get items to and from Haiti. FedEx and UPS do not make deliveries there. If you want to ensure someone gets something, you'll have to pack it and deliver it yourself. Split it between people. Utilize the 2nd checked bag. Heck, buy a cheap suitcase and leave it there. It will get used.

h3. Wear sandals.

Everybody wears them. Boots are nice, and shoes are okay. We didn't walk around on the streets much, but between boots and sandals, I'd have to say that sandals are the best choice. Not only are they light but they are cooler than regular shoes. I wore my Keens every day while I was there. Those (in my humble opinion) are the best choice. Make sure you bring stuff you can be active in: running, climbing, etc. Don't wear flip-flops.

h3. Bring surge protection.

Lighting was common while we were here. If you do decide to bring a laptop or other sensitive equipment, then make sure you bring a surge protector to make sure it doesn't get damaged the next time lightning strikes a block or two away from where you are staying.

h3. Bring rain gear.

I'm fairly certain that whomever came up with the saying "When it rains it pours" had visited Haiti. It truly does here. I'm not sure if it's how it normally is or if it only did this during our visit, but the last 4 nights we were here... like clockwork around 6 p.m. came lightning, thunder, and rain. Heavy rain. Coming through the corrugated roofing rain. It also wouldn't hurt to have a waterproof pack and/or a couple of trash bags to protect your gear.

h3. Bring small bills.

This could read: Don't expect exact change. If you haggle with a street vendor and get him to come down to $5 on something he wanted to sell you for $20, don't hand the guy a $20 bill. Give him $5. These guys are going to try to make as much as they can off of you. Even if they are honest, don't expect them to be able to give you exact change. We had several businesses that weren't able to give us change or break a $20 US bill.

h3. Do expect to get everything dirty.

My wife washed my t-shirts this morning. She is currently washing them again. I'm not certain what exactly caused them to change color, but my white t-shirts are now a dingy brown. So are my shorts. As is my backpack and everything else I took with me when venturing out on a tap-tap. There is so much smoke, dust, dirt and sweat that everything you wear will get amazingly dirty. Some people bought packs of very inexpensive t-shirts. Don't wear expensive clothes! They will get messed up.

h3. Do carry some form of protection on you if you travel in small (less than 5 person) groups.

As far as I know, it is illegal to bring a gun into Haiti without proper documentation. I'm not sure what is required to do this, but it brings me to a discussion I had with one of our travel companions: a gun would be useless in Haiti. If you (God forbid) ever find yourself in a situation where you are fearing for your life, run away. Do not try to fight people off. Their sheer numbers will overwhelm you. This is the primary reason that even if you could carry a firearm, it wouldn't help. You couldn't carry enough bullets! One guy suggested carrying a metal water bottle on a carabiner. Another suggested a pair of knives. Only do this if you are prepared to use them, though. Otherwise they will taken and used against you. But seriously. Check with your host. Make sure where you are going is safe. Don't go anywhere alone. Ever. Many places will be able to set you up with security if you need it. Don't assume you can take care of yourself if you have not been trained.

fn1. I note this because the "Religion section of Haiti's Wikipedia page":http://en.wikipedia.org/wiki/Haiti#Religion says makes note of "Haitian Vodou":http://en.wikipedia.org/wiki/Haitian_Vodou. What it does not tell you is that many take this very seriously. First-hand reports of run-ins with Vodou "priests" in Haiti reveal a practice that is not as benign as some of these websites would have you believe. There is a reason why Christian evangelical missionaries say what they say ("Wikipedia uses the word defame":http://en.wikipedia.org/wiki/Haitian_Vodou#Organizations) about Vodou. Let there be no mistake: Satan definitely has a hold on Haiti.

Continue reading...

I Love the HP Officejet H470

Posted on: 2010-07-01 12:19:38

A couple of years ago, while doing research for a class my boss was teaching our agents for CE credit, I helped present a "mobile" office. My presentation showed a fully mobile office that had a:

  • printer,
  • laptop,
  • internet

All working without the need for an outlet.

The printer I chose was the <a href="http://www.amazon.com/gp/product/B0010Z1UZ8?ie=UTF8&tag=nickvaha-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0010Z1UZ8">HP H470wbt Officejet Mobile Printer<img src="http://www.assoc-amazon.com/e/ir?t=nickvaha-20&l=as2&o=1&a=B0010Z1UZ8" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />.

So two years ago, I bought the printer, set it up, printed 2 pages, stored it for a year, printed 2 more pages, and never touched it again until 2 days ago. I half-expected the ink to be dry and gunky, or something to have busted on this little guy since he traveled 400+ miles in the bed of a truck.

This thing prints like a color laser: sharp, fast, and no smudges! I am impressed. Truly a fine piece of mobile printing machinery.

Continue reading...

Mission Trip!

Posted on: 2010-06-06 08:17:50

It has been one of my dreams for the longest time to go on a mission trip to another country. I'm happy that prayer has finally been answered! At the end of July, we're going to Haiti with a group out of Kansas City, Missouri.

The goal is to work with an established project there: Joshua's Village, a village for abandoned, orphaned and neglected special needs and at-risk children.

The cost of the trip is $1,400, not including all of the required medicines and vaccinations or the travel fees since we don't live in Missouri. If you'd like to help, with financial stuff, please let me know. I am taking donations!

Also, prayer support is really needed. It seems like after our first visit to the doctor to get shots, questions really started to pop up after we started reading the travel guidelines. It's definitely outside of my comfort zone! Being away from home for more than 3 days has always made me feel uneasy, but in a country where diseases are running rampant, kidnappings are common, and a curfew is the law... gosh. However, the need is greater than my fear -- pray it stays that way!

My mentor at church has said that the enemy will throw all sorts of nasty things to discourage us especially when doing something like this. I can definitely feel it already.

So I hope that even if you are unable to provide financially, you will pray for me, Jessa, and our entire group, as we embark on this journey together.

Continue reading...

Limits on Powder & Primers

Posted on: 2010-05-17 15:43:12

At my boss's direction, I called the City Attorney's office and inquired about the maximum amount of powder & primers that one might possess at home.

According to the city attorney Temple, TX adopted the 2006 ICC Fire Code and you are limited to:

  • 1 pound of black powder
  • 20 pounds of smokeless powder
  • 10,000 small arms primers

He wasn't sure if this was 'per person' or if this was a limit based on the location. The exact wording is tough to get ahold of because the law is copyrighted and it is not freely available online.

I can't imagine if you had some stored in a another building or offsite (legally) there would be a problem with possessing more than that. But honestly, 20 pounds of powder is a lot of powder. (25k+ rounds of 9mm, for instance depending on load).

There are probably similar limits in most areas, so please be sure check before stocking up!

Continue reading...

Theming Local Task Tabs in Drupal 6

Posted on: 2010-05-14 16:44:52

In one of the primary applications on our intranet, we use small icons in the process to help our Agents and Home office users through the process.

Agents see something like this:

While our employees see something more along the lines of this:

There are various combinations but the point that I'd like to impress is that a use-case exists for theming Drupal's MENU_LOCAL_TASK tabs.

In Drupal 5, you could get away with doing stuff like this in hook_menu:

'node/'.arg(1).'/reject', 'title' => 'Reject', 'type' => MENU_LOCAL_TASK, 'callback' => 'drupal_get_form', 'callback arguments' => array('pcf_casetracker_form_reject',$node), 'access' => $finish_access, 'weight' => 3, 'class' => 'hasicon reject'); // Special class for my my tab. ?>

Then, a simple theme override:

'. menu_item_link($mid) .\"\\n\"; } else { return ''. menu_item_link($mid) .\"\\n\"; } } ?>

Would give you the intended results.

This, however, does not work in Drupal 6. There are two reasons:

Firstly, in Drupal 6, two theme functions are used to build links to menu tabs:

menu_item_link takes the actual menu router item as a parameter. It returns an HTML link. menu_local_task takes just the link, wraps it with an <li> tag, and adds the appropriate class if it is $active. At no time does the $menu_router item get passed to the function where it could affect the display of the <li> tag.

Secondly, the menu router system stores all of its values in a table called... menu_router. Writing entries to this table strips them of any values which are not in the table to begin with. So adding 'css_class' ?> in the menu's item in hook_menu() does nothing.

So how do we do this? I've got a hack, and a possible "fix."

h3. The Hack

In the menu system, and can be utilized to pass extra parameters to your page and access callbacks. These arguments get serialized before they get sent to the database. So you can actually stick a bunch of stuff in here. So, if you write your own access callback to only utilize the first param, you can stick extra information on those callback arguments like so:

'Reject', 'type' => MENU_LOCAL_TASK, ... 'access callback' => 'pcf_casetracker_can_finish', 'access arguments' => array(1, array('class' => 'hasicon reject')), ); ?>

And then simply override your theme callbacks to do some trickery. Basically, test for that extra set of classes and build the link and the item entry in theme('menu_item_link') instead of building it in theme('menu_local_task'). Then, if menu_local_task detects the '<li' at the beginning, it will just let it pass through. Now your <li> tags can have extra css or attributes passed to them.

'. $link .\"\\n\"; return $active ? str_replace('class=\"', 'class=\"active ', $link) : $link; } function garland_menu_item_link($link) { if (empty($link['localized_options'])) { $link['localized_options'] = array(); } if ($link['access_arguments'] && ($stuff = unserialize($link['access_arguments'])) && is_array($stuff) && ($b = array_pop($stuff)) && is_array($b)) { if ($b['class']) { $link['class'] = $b['class']; } } if ($link['class']) { return '
  • '. l($link['title'], $link['href'], $link['localized_options']) .\"
  • \\n\"; } return l($link['title'], $link['href'], $link['localized_options']); } ?>

    h3. The "Fix"

    Since Drupal 6 isn't taking any new features, it is highly unlikely that this will get fixed. At any rate, by modifying core to add two fields 'theme callback' and 'theme arguments', the menu system can be modified to add support for theming the individual items as they come out. From there, it is easy. One particular function, menu_local_tasks is responsible for actually rendering the links.

    By modifying the function to look for the theme function and call it if it exits, we can do all sorts of cool things. The patch is down a the bottom of this post. If there is no , it will fall back to the current method it uses.

    It might be more worthwhile to split the actual rendering and collection of the tab information into two separate functions. This is probably the better way to do it. Also, there might be a better way to do it in D7.

    Also, if you are using the Chaos tool suite you'd need to patch it as well (if you are using Garland).

    There is also probably a way to do this that involves overriding the menu theme function just like ctools does it. The only problem that still remains is making sure that the menu tabs get the proper data associated with it. There doesn't seem to be a no-brainer to attach that data after the fact. Could be wrong, though!

    This is what the code in the new solution looks like (in your module, that is.)

    The menu item itself:

    'Void', 'type' => MENU_LOCAL_TASK, 'page callback' => 'drupal_get_form', 'page arguments' => array('pcf_casetracker_form_void', 1), 'access callback' => 'pcf_casetracker_can_void', 'access arguments' => array(1, array('class' => 'hasicon void',)), 'theme callback' => 'pcf_casetracker_tab', 'theme arguments' => array('class' => 'hasicon void'), 'weight' => 9,); ?>

    The callback, which is basically theme('menu_item_link') embedded in a tweaked copy of theme('menu_local_task').

    0 ? ' class=\"'. implode(' ', $classes) .'\"' : '') .'>'. l($menu_item['title'], $menu_item['href'], $menu_item['localized_options']) .\"\\n\"; } ?>

    Anyway, hope this helps someone.

    Continue reading...

    Panic's Checkout Form

    Posted on: 2010-05-13 09:03:02

    Just bought the "Transmit 4":http://panic.com/transmit upgrade. Having used Transmit 3 for several years, the UI improvements are a big deal. It seems like some of the nit-picky stuff irked me was fixed and overall the app feels worth the $19 upgrade.

    Panic has always been detailed oriented. Their site has always been easy to use and a pleasure to navigate. One thing that caught my eye while purchasing Transmit 4 was the checkout button:

    !/sites/nickvahalik.com/files/transmit_checkout_button_1.png!

    My only complaint after having gone through the process was that this button is mislabeled. But it looks like a normal button, right? Well, it's not. Because as you fill out the form:

    !/sites/nickvahalik.com/files/transmit_checkout_first_field.png!

    The button transforms:

    !/sites/nickvahalik.com/files/transmit_checkout_button_2.png!

    Continue filling out the form:

    !/sites/nickvahalik.com/files/transmit_checkout_form.png!

    And it fills out more.

    !/sites/nickvahalik.com/files/transmit_checkout_button_4.png!

    Until you've filled out every required field:

    !/sites/nickvahalik.com/files/transmit_checkout_button_3.png!

    Very cool!

    Continue reading...

    dgo.to: A URL shortener (and smartener) for drupal.org

    Posted on: 2010-04-28 10:27:31

    The last day of DrupalCon, after talking to several people about drupal.org URLs, dgo.to was born. It's goal is to make drupal.org URLs easy and smarter. For instance, where else can see someone's profile by just typing their name?

    "dgo.to/@nvahalik":http://dgo.to/@nvahalik

    Anyhoo, check out the site itself: "dgo.to":http://dgo.to/ or "this post on d.o":http://dgo.to/783692 for more information.

    Any comments & suggestions are welcome!

    Continue reading...