The how and why of my programming
Posts tagged rules
Hello Ferengi, a WordPress Plugin
Nov 10th
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…
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.
Neeley’s Thirteen Rules
Aug 19th
These rules are courtesy of the StarFist series by David Sherman and Dan Cragg.
Neeley’s Thirteen* Rules for Staying Alive in Combat
- Incoming fire always has the right-of-way.
- Keep it simple, stupid.
- Keeping it simple is the hardest thing in the world.
- Never stand next to anyone braver than you are.
- If things are going too well, it’s an ambush.
- The easiest way is mined.
- The one thing you never run out of is the enemy.
- Infrared works both ways.
- Professionals are always predictable.
- We always wind up fighting amateurs.
- When the enemy’s in range, so are you.
- When in doubt, shoot until your magazine is empty.
- 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.