Dark-Ape.com Developments

The how and why of my programming

RSS Feeds

  • Home
  • In The Works
  • Randomness
  • Web Development

Geekend 2011 Notes

Nov 17th

Posted by Dark-Ape in Randomness

No comments

Last Thursday night I received a call from my father telling me he was at this conference called Geekend, something I had never heard of before and had to get him to spell out for me. After about five minutes, of him talking while I was checking out the website, I was sold on it, told my bosses I’d be gone the next day and drove straight to Savannah to arrive around midnight. It was worth it.

Download: Geekend 2011 Session Notes; last updated 2011-11-17.
More >

cloud, db, event, geekend, js, sql

Hello Ferengi, a WordPress Plugin

Nov 10th

Posted by Dark-Ape in Fiction

No comments

In the time honored tradition of reusing other people’s hard work, I have combined the Ferengi Rules of Acquisition with ever-fun concept from Hello Dolly to create a new quote plugin…

For fans of Star Trek, or any Ferengi out there, I present Hello Ferengi, a Ferengi’s slave to teaching non-Ferengi the proper rules of business and profit! Hello Ferengi is a small, fun plugin which will display a random Rule of Acquisition on the top-right of every administration page… but is that all?

Of course not, because I know the two-hundred and forty-second Rule of Acquisition…

“More is good … all is better.”

Shortcode and Rules

[ferengi num="7" tag="0"] ## "Keep your ears open."
  • num: defaults to 0; accepts 81 values (see below) that will return a Rule
    • 0: a random Rule from the 80 known Rules of Acquisition
    • 6R: the Sixth Rule according to Enterprise canon
    • … and 79 misc., non-sequential numbers ranging from 1-286
  • tag: defaults to -1; defines if you want the ROA Number tag returned or not
    • 1: always show the tag
    • 0: never show the tag
    • -1: only show the tag if getting a random Rule

For the avid Star Trek fans…

But there are only 285 Official Rules of Acquisition!
Rule #286 may only be an unoffical Rule of Deep Space 9‘s Quark, but it is a very good rule.

What is the difference between 6 and 6R?
The series Enterprise said the Sixth Rule was something different from a previous declartion, so I labeled it as 6 Revised, or simply 6R, and left Deep Space 9‘s version of the Sixth Rule as 6.


–=Download Hello Ferengi Now!=–


plugin, rules, wp, wp-ferengi

Oracle Day & Comic Books

Oct 10th

Posted by Dark-Ape in In The Works

No comments

October 18, 2011

Back in 2007 I attended the first SQLSaturday event in Orlando, FL, so it seems fitting to me that on the 18th, just next week, I will be attending the first Oracle Day & Product Fair in Charlotte!

Join us for the inaugural Oracle Day and Product Fair 2011 to discover how the power of simplicity can change your IT from a supporting function to a force that drives business innovation.

Don’t miss this unique opportunity to hear multiple keynotes, attend technical breakout sessions and meet one-on-one with product/solution experts of Oracle’s Technology, Application, and Hardware pillars to discuss how you can transform your datacenter and power your cloud with hardware and software, engineered to work together.

October 29, 2011

After all that hard work and learning, I deserve some personal time, so I will be attending the Heroes Pop Swap event on the 29th! The event is sponsered by Charlotte’s favorite comic shop, Heroes Aren’t Hard To Find, and I will be there as browser, buyer and seller – I’ll have a 4′ table space with comics purchased in lots, typically poor condition, and personal purchases in mint condition. If it is on the table, I’ll probably let it go for anywhere from free to the price of the comic itself; I don’t want to know if the comic is worth $500 unless you’re going to offer me more than the price I paid for it! =P

comics, event, heroes, oracle, sql

The Frustrations of Freelance

Sep 27th

Posted by Dark-Ape in Randomness

No comments

I don’t know about most freelance web developers, but I have several peeves when it comes to doing freelance work…

  1. I am not an artist. This is a personal one, but I am upfront about this prior to accepting a job. I ask for references to what they are looking for in design, functionality, and graphics before I start making the website. I also suggest template websites, artists I’ve worked with, and such as possible sources they may purchase, or that I can reference. The same goes for when they ask me about making a logo for them.
  2. Ask for a quote, but don’t haggle. I don’t haggle because I am a bad businessman as it is and they are already getting a decent deal. If they want a price quote, okay, but don’t get me going on the work and then try to knock the cost down. I rarely do hourly work; I create most websites as a flat-fee including two sets of minor revisions. I don’t know any other developers who do flat-fees because just tweaking templates can take a long time and revisions are just as timely.
  3. Deliver on promises timely. It is expected of me, so it should apply to the client as well. Clients need to keep me informed of changes or updates as they happen, not after I’ve done all of the work. Clients should also give requested materials in a timely matter, or keep me updated when they are delayed — a three-week quiet from the client, especially when I’m expecting something and still emailing them asking for it, is unacceptable.
  4. Professional websites require professional upkeep. This seems like it would make sense, but my greatest annoyance is seeing my time spent on perfecting everything I could be destroyed within a week because the client has thought of “a totally great idea” and modified something without regard to how it destroys the professional look they were going for. Some examples I’ve seen include them bolding, increasing or linking text in ridiculous amounts or places; a content management system is meant for use, but please understand the implications before doing so. Some clients will go as far as tweaking the code themselves, often with some WYSIWYG, with no real HTML knowledge.

These are my major peeves, but what about yours?

venting

Goodbye GoDaddy, Hello CyberWurx!

Sep 13th

Posted by Dark-Ape in In The Works

No comments

For anyone following developments of this blog, I would first like to apologize for the downtime the past week after GoDaddy updated some Apache “security concerns” and the site stopped working. After a couple days of emailing customer support back and forth, it came down to that GoDaddy support said that my .htaccess code was bad and they couldn’t help me because they don’t support non-GoDaddy scripts; which was stupid because some of their own GoDaddy features were in my list of things not working anymore…  (╯°□°)╯︵ ┻━┻

Result: Left them for CyberWurx once again! (づ。◕‿‿◕。)づ Yay~

I have had an account with Cyber Wurx since February 2005 and I have always been pleased with the service. I’ll confess that I strayed in 2010 to GoDaddy, when I started a new website, for their larger hosting space, but then it was a constant battle to get features working, so I am glad to be back with CyberWurx again. (Though I still maintained my other website with them.)

While GoDaddy‘s hosting is frelled, they are still a great resource for domain purchases and easy maintenance. If you want professional hosting and domain maintenance, you should check out Rackspace.com, though they are more for small to large businesses. A decade ago I was with HostRocket; who’s pricing was getting more outrageous then, yet seems almost desperate now. But overall, I like CyberWurx the best for hosting with reasonable prices, decent systems, excellent bandwidth and customer support that will rock your socks off!

Everything should be back up and running, but I am checking everything over connections and permissions just in case. I hope to have a real In The Works post by the end of the month outlining some of the things I’ll dealing with in Q4 and late into Q1 of 2012, including database administration and NetSuite.

 

cyberwurx, dark-ape, godaddy, host, website

Neeley’s Thirteen Rules

Aug 19th

Posted by Dark-Ape in Fiction

No comments

These rules are courtesy of the StarFist series by David Sherman and Dan Cragg.

Neeley’s Thirteen* Rules for Staying Alive in Combat

  1. Incoming fire always has the right-of-way.
  2. Keep it simple, stupid.
  3. Keeping it simple is the hardest thing in the world.
  4. Never stand next to anyone braver than you are.
  5. If things are going too well, it’s an ambush.
  6. The easiest way is mined.
  7. The one thing you never run out of is the enemy.
  8. Infrared works both ways.
  9. Professionals are always predictable.
  10. We always wind up fighting amateurs.
  11. When the enemy’s in range, so are you.
  12. When in doubt, shoot until your magazine is empty.
  13. Remember the other twelve.

* I have seen a Fourteen Rules … version as well, which included “Never stand next to anyone dumber than you are,” but haven’t found it yet in the books I’ve read thus far.

books, rules
Cogs

iContact API v2.1: “No More Emails”

Aug 9th

Posted by Dark-Ape in Web Development

No comments

I’ve been told that it isn’t proper to call this an API. All I have to say in response is: I don’t care; that is what I see it as, so deal with it. I know I skipped a lot of versions between v1.0 and this 2.1 one, but they were just never published. :P

iContact-API-v2-1.php — View Source | Download Source
As an update to my original custom iContact API, version 2.1 took into account that weekends are my time off as well as that I don’t need all of these emails for when the iContact system is down for maintenance or the connection has temporarily been severed. With that in mind, I created a database table to handle any errors and relegated the emailing of any errors to be a redundancy option in case the database is down for some reason. Because there might be further problems, I also added a logging to file redundancy feature as well. (Paranoia?)

CREATE TABLE IF NOT EXISTS `icontact_errors` (
  `varSet` VARCHAR(20) NOT NULL,
  `list_id` mediumint(3) UNSIGNED NOT NULL,
  `list_txt` VARCHAR(60) NOT NULL,
  `email` VARCHAR(120) NOT NULL,
  `fname` VARCHAR(90) NOT NULL,
  `lname` VARCHAR(90) NOT NULL,
  `addedon` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

More >

api, db, icontact, mysql, php, source

Update: Custom Tags using jQuery 1.4.1

Aug 1st

Posted by Dark-Ape in Web Development

No comments

Remember that pesky IE issue I was having with my Custom Tag for jQuery script? Well, it turns out that Internet Explorer is stuck up and just didn’t like the fact I created my own HTML tag to use… So, if you change the jTag selector to a div with a class of jTag, then everything works fine! Figures, huh?
(╯°□°)╯

 

 $(document).ready( function() {
    $("div.jTag").each( function(){
      var jTag = $(this);
      jTag.html('<img src="/images/loading.gif" alt="Loading..." />');
      var jTagUrl = "http://www.example.com/CustomjQueryTags.php?";
      var attrs = ['type', 'src', 'cat', 'rand', 'desc', 'limit', 'more'];
      $.each(attrs, function(i,a) { if(jTag.attr(a)) jTagUrl += '&amp;'+a+'='+jTag.attr(a); });
      jTag.load( jTagUrl, function() { jTag.replaceWith( jTag.html() ); } );
    });
  });
jquery, js, jtag, tags

Dark-Ape.com: Ever going to update?

Jul 12th

Posted by Dark-Ape in Randomness

No comments

Simply put: no, not if I can help it.

I am updating the administration modules to keep current with styles and code. I’m also making minor adjustments on the front-end pages, but I don’t plan to take it live for the foreseeable future. The domain is meant for a testing ground for my modules and other experiments, and I use this blog to publish the final/functional releases.

Enjoy!

dark-ape
BarleyMax.com Homepage

New website launch: BarleyMax.com

Apr 25th

Posted by Dark-Ape in Randomness

2 comments

BarleyMax.com Homepage

BarleyMax.com

BarleyMax.com was actually launched about a month ago, and it isn’t so much a new website as a micro website for our company’s main product. We currently have a video contest going on at the website, that will last another five weeks week, for a year’s supply of BarleyMax and approved entries are up for viewing. Also available to watch are three videos in our “What is BarleyMax” series explaining why we sell it and the production process from harvesting to completed product! (I confess, I always did love the “How It’s Made” series from the Science Channel.)

 

Something new to this site were the jQuery pagination for the videos and having the pagination show the proper “page” of items when entering from an external, item-specific link. (Though currently neither features are visible with the current entry count.)

barleymax, jquery, pagination, work
12»
    • Recent comments
    • Popular posts
    • Archives
    • Tags
    60days api barleymax books cloud comics cyberwurx dark-ape db demo event geekend godaddy halc heroes host icontact jquery js jtag mysql oracle paginate pagination php plugin rules source sql sqlsaturday tags venting website work wp wp-ferengi
    • November 2011 (2)
    • October 2011 (1)
    • September 2011 (2)
    • August 2011 (3)
    • July 2011 (1)
    • April 2011 (1)
    • February 2011 (1)
    • June 2010 (1)
    • May 2010 (1)
    • March 2010 (4)
    • February 2010 (3)
    • Custom iContact PHP API (2)
    • New website launch: 60DayJuiceUp.com (2)
    • New website launch: BarleyMax.com (2)
    • SQLSaturday#33 Notes (1)
    • Pagination: Who Is It For? (0)
    • Pagination: Requirements Built The Product (0)
    • SQLSaturday#33 Review and Advance Notice (0)
    • Custom Tags using jQuery 1.4.1 (0)
    • Weekly Work (0)
    • In The Works, #1: June 2010 (0)
    • Dark-Ape: I'm glad to hear that the code helps! In case you haven't seen it already, I recently updated the...
    • Amna: Hi, i use ur code and its great.no problem at all :) Thanks for the code
    • Dark-Ape: Both challenges are available on the new website @ http://www.juiceupyourlife.com Here are quick...
    • Sanda Al-Rawi: Woullike to sign up for the 60 Days to Reclaim Your Health. Also to lose weight
    • Dark-Ape: yes?
    • Courious: Hi, i would like to contact you for a dude about one of yours...
    • Mike Walsh: What a great idea to do the notes! Thanks for coming to the sessions and it is always nice to see...
  • User Login






    • Lost your password?

Copyright © 2012 Dark-Ape.com Developments