educational

Zen and the Art of Problem Solving

Okay, so I picked that title because it sounded good. If you're looking to become one with your problem, I can't help you out right now. What I can help with, is giving you some tips on problem solving. Or rather, how to solve a problem without the solving of the problem becoming the problem. Still with me?

So here you are, you're building some sites, looking for hosting, or maybe just trying to figure out how the hell you're going to get your cats to stop chewing on the computer. Every now and then, a problem crops up. Now, what is a problem anyway? If you want to get poetic; a problem is an occurrence during the performing of a task, when performing the task becomes temporarily impossible.

For example, you're building a site and your power goes out. That's a problem right there. Or, you just built a site, and for some reason a thumbnail won't show, even though the image is uploaded and you've quadruple-checked your HTML. It's a show stopper right there.

How do you solve a problem? There's a lot of answers to that one, and most answers vary with the people who are faced with a problem. But, I'm here to give you some nifty advice on how to tackle most problems, ranging from small to the insanely huge.

The first step in solving a problem is to actually admit you have a problem. Strange as it may sound, a lot of people will plain out refuse to admit to themselves that they have a problem. They blame it on Murphy, or maybe the strange radiation emanating from their neighbors' microwave.

After you've acknowledged the fact you have a problem, forget the problem. I can see you wondering whether I'm high, but I'm not. Once you know you have a problem, go do something else for a while. Watch TV, read a book, kick some ass on your PS2. Sleep. Sleep works wonders if you ask me.

After you've chilled for a while, sit down and prepare for your next step. The next step would be "dissecting" the problem. What that boils down to is that a problem is actually an effect. Every effect has a cause. Find the cause, and you've solved your problem. Now how does one get to the cause? The best way to determine the cause for any given problem is to reduce it to something simple. Let's take an example of a problem I had the other day: I was writing a CGI script that was supposed to redirect a user to a random URL, picked from a list of 10 URL's. What it did was send people to the same URL over and over, so I had a problem.

Now, how do I reduce that to something simple? Right now, all I know is that the problem is there. You start tracing it from the top down - it's supposed to redirect at random, but it's not. What can affect that function of the script? So, you look at the things that could possibly cause your problem. I ended up with these:

1) The list of URL's only has 1 URL in it.
2) The random function actually isn't random.
3) The list of URL's has 10 identical URL's in it.
4) The script thinks there is only 1 URL in the list.

And there you go. There are 4 possible causes for your problem. The next thing to do is to go down the list and mark off the things that are definitely not it. I checked the URL list, and it had 10 different URL's in it. So that gets rid of cause 1 and 3. Leaves me with cause 2 and 4. Next, I checked the random function. Since it's using PERL's internal random function, it definitely _is_ random. Leaves me with cause #4. A few minutes later, my problem was solved.

This approach is what I like to call the "acknowledge, identify, check" process. First acknowledge the problem, then (after getting some 'off time') you identify the possible causes for a problem. Then you check every cause, until you have eliminated all but one. The one that's left, is where you will find the solution to your problem.

Apply this to hosting for example. You are looking for a new host, and you've selected 3 good ones that all offer the services you need. However, you have a problem since you can't decide what hosting provider to use. Identify the causes: I end up with:

1) There is a price difference.
2) There is a customer service difference.
3) There is a service difference. Determine your needs, and you've just checked your cause and solved your problem.

That is just my identification, mind you. So, the price difference - do I really care about a $100 difference? In my case, I don't - so I'll throw that one off the list. As long as I get the services I need. Ah-ha! But I do, otherwise I wouldn't have ended up with these 3 providers. So we toss cause #3 as well. Leaves us with a customer service difference.

Here is where the kicker is; now you have to 'check' that cause. What do you expect from customer service? Are you content with just a contact e-mail and an office hours phone #? Or do you want the full 24/7 guaranteed 2 hour turnaround contract? Determine your needs there, and you've just checked your cause and solved your problem.

All in all this is not the definitive guide to 'how to solve all my problems and make me filthy rich doing it'. It's just a pointer into structured and logical thinking, something that most experienced webmasters, programmers and other people have learned to do. For a lot of newbie to the grand world of adult Webmastering, problem solving might not always be something they've learned, or considered learning. No fear however, it's really easy :D

Copyright © 2024 Adnet Media. All Rights Reserved. XBIZ is a trademark of Adnet Media.
Reproduction in whole or in part in any form or medium without express written permission is prohibited.

More Articles

opinion

Best Practices for Payment Gateway Security

Securing digital payment transactions is critical for all businesses, but especially those in high-risk industries. Payment gateways are a core component of the digital payment ecosystem, and therefore must follow best practices to keep customer data safe.

Jonathan Corona ·
opinion

Ready for New Visa Acquirer Changes?

Next spring, Visa will roll out the U.S. version of its new Visa Acquirer Monitoring Program (VAMP), which goes into effect April 1, 2025. This follows Visa Europe, which rolled out VAMP back in June. VAMP charts a new path for acquirers to manage fraud and chargeback ratios.

Cathy Beardsley ·
opinion

How to Halt Hackers as Fraud Attacks Rise

For hackers, it’s often a game of trial and error. Bad actors will perform enumeration and account testing, repeating the same test on a system to look for vulnerabilities — and if you are not equipped with the proper tools, your merchant account could be the next target.

Cathy Beardsley ·
profile

VerifyMy Seeks to Provide Frictionless Online Safety, Compliance Solutions

Before founding VerifyMy, Ryan Shaw was simply looking for an age verification solution for his previous business. The ones he found, however, were too expensive, too difficult to integrate with, or failed to take into account the needs of either the businesses implementing them or the end users who would be required to interact with them.

Alejandro Freixes ·
opinion

How Adult Website Operators Can Cash in on the 'Interchange' Class Action

The Payment Card Interchange Fee Settlement resulted from a landmark antitrust lawsuit involving Visa, Mastercard and several major banks. The case centered around the interchange fees charged to merchants for processing credit and debit card transactions. These fees are set by card networks and are paid by merchants to the banks that issue the cards.

Jonathan Corona ·
opinion

It's Time to Rock the Vote and Make Your Voice Heard

When I worked to defeat California’s Proposition 60 in 2016, our opposition campaign was outspent nearly 10 to 1. Nevertheless, our community came together and garnered enough support and awareness to defeat that harmful, misguided piece of proposed legislation — by more than a million votes.

Siouxsie Q ·
opinion

Staying Compliant to Avoid the Takedown Shakedown

Dealing with complaints is an everyday part of doing business — and a crucial one, since not dealing with them properly can haunt your business in multiple ways. Card brand regulations require every merchant doing business online to have in place a complaint process for reporting content that may be illegal or that violates the card brand rules.

Cathy Beardsley ·
profile

WIA Profile: Patricia Ucros

Born in Bogota, Colombia, Ucros graduated from college with a degree in education. She spent three years teaching third grade, which she enjoyed a lot, before heeding her father’s advice and moving to South Florida.

Women In Adult ·
opinion

Creating Payment Redundancies to Maximize Payout Uptime

During the global CrowdStrike outage that took place toward the end of July, a flawed software update brought air travel and electronic commerce to a grinding halt worldwide. This dramatically underscores the importance of having a backup plan in place for critical infrastructure.

Jonathan Corona ·
opinion

The Need for Minimal Friction in Age Verification Technology

In the adult sector, robust age assurance, comprised of age verification and age estimation methods, is critical to ensuring legal compliance with ever-evolving regulations, safeguarding minors from inappropriate content and protecting the privacy of adults wishing to view adult content.

Gavin Worrall ·
Show More