Crockford on JavaScript — Act III: Function the Ultimate
February 24th, 2010Keep watching for the rest….
Keep watching for the rest….
I found a file on my computer with all these cliches. I don’t know where or how I got those! A quick Python cleanup, and here is a non-sense list of business cliché you can conveniently use in your daily life.
[something] on steroids, (get on your) dance card, (Getting some) traction, (He’s gone) off the reservation, (I’ve got a) full plate, (These customers need) hand holding, (We don’t want to be) all things to all people, (We’re getting some) push-back, 800 pound gorilla, A leading provider of…, A Plus for all Stakeholders, Actionable, Architect used as a verb, At the end of the day,…, at the end of the day…., Back of the envelope, ballpark figure, Ballpark figure, Barniff, Bells and whistles, Benchmark, Best of Breed, Best Practices, Better to apologize later than ask permission first, Bio break, Blue Sky Thinking, Boots on the ground, Brick and Morter, Bring our ‘A’ game . . . , Bring to the table, Brings a lot of value to the table, Built from the ground up, Burn rate, business athlete, Business casual, Business needs, By way of housekeeping…, Cannibalize, Carpet bombing, Carrot and stick, Cast a wider net, Certified…, Change Agent, Chest thumping, circle back, Circle back around, Client-Centered, Color outside the lines, Come to Jesus, contemporize the portfolio, core competency, Corporate DNA, Cost center, create something remarkable, Crossing the Chasm, Crowd-Sourcing, Custom Engineered Solutions, customizable, Data driven, Differentiate, Directionally Correct, Disintermediation, Disruptive innovation, Divide and Conquer, Do no evil, Do you have any bandwidth?, Don’t throw out the baby with the bathwater, Downsizing, Drink the company Kool-aid, drinking from a firehose, Drinking Kool-Aid, Drop the ball, Due Diligence, Dynamic, eat our own dog food, Eat what you kill, Eat your vegetables, Eco-anything, Everyone Is Doing It, Everything is a matter of balance, Execute to plan, Face time, Faster, Cheaper, Better, fat rabbit, Feeding the hopper, Firing on all cylinders, Flexible solutions, Focused on … (i.e. results), For all your [something] needs., From a [something] standpoint, From a high-level perspective,…, Functionality, game changer, game changing, Get on your radar, Giving 110%, Giving 111%, Go off road, Going forward, Going from good to great, Good to go, Gotta raise the bar, Greed Is Good, ground breaking, Halo effect, Has legs and can go really far…, Headcount, Healthy, Herding cats, Hey, we’re not here to boil the ocean., high performance, Honestly…, Hope is not a strategy, I appreciate your candor…, I don’t have the bandwidth, I Heard It Thru The Grapevine…, I need to get flat with you, I’d like to come by and check your temperature., I’ll sharpen the pencil, I’m not throwing him under the bus, but…, Ideation, if we have the courage of our convictions, If you can’t measure it, you can’t control it, Impactful, Improve ROI, In terms of, In the … space, In the trenches with you…, In Today’s Highly Competitive Marketplace …, Incent as a verb, Incentivize, Industry Leader, Industry Standard, integrated approach, Integrated Marketing, intelligent engineering, It is what it is, It is what it is, It’s a birdnest on the ground, It’s a no-brainer, It’s all good, Just for sh_ts & giggles., Just my 2 cents, Lead the charge, Leave money on the table, Lessons will be learned, let’s be carbon neutral, let’s be proactive here people, Let’s get granular, Let’s hit the ground running., Let’s make sure we’re on the same page…, Let’s remember the rule of 212 degrees, Let’s take a deeper dive, Let’s take this off-line, Lets Do Lunch!, Lets Trade Links, Level Playing Field, Level set, leverage resources, Like facebook but for [something], Like minded, Lone ranger, Long tail, Look the part, Loss Leader, Low-hanging fruit, Manage expectations, Marketing-driven, Maximize customer satisfaction, Maximize leverage, Mindshare, mission critical, Momentum, Monetize, monetize, Money talks and bull$#!^ walks, Move the Needle, Moving up the value chain, Multi task, my success is your success, My way or the highway, net-net, Never trust a Salesman, New and Improved, Next Generation, Next steps, No Achievement is Without Sacrifice. dc, Noise in The System, Now More Than Ever, Off- Ramp, offline, On the [something] side,…, On-Ramp, open kimono, organic growth, Our go-to-market strategy, Our people are our best asset, Our Talk Track, Out-Of-Pocket, Paradigm, Paradigm Shift, Passing the Buck, Paving the cowpath, Perfect storm, Pick it up and sit on it, Ping, Plug-and-Play, Points of Distraction, Polishing a Turd, Pound the table, precision engineered, proactive, Pull-through Sales, purple cow, Push the envelope, Put a face to the name, Put a stake in the Ground, Putting lipsitick on a pig, Quality is job one, Quick Wins, Quite frankly…, Ramp-up, Razors and razorblades, Re-Imagine, Re-invented, Re-organization, Reach out, Ready, fire, aim, Real Time Meeting, Reduction of force, Resonate, Rightsizing, Rigor, Robust, Robust and customer-focused, Robustize, Rubber hits the road, Run it up the flagpole and see who salutes, scalability, Scalable, Screw the pooch, seamless integration, SEO (to describe anything on the internet), SEO (to describe anything on the internet), Shared Vision, Shit Happens, Shoot first, ask questions later, showstopper, Silo, Six Sigma, Skate to where the puck is going, Skyrocket your profits, Smile and dial, Solution, solutions, Someone (who is) plug and play, Spending more time with my family, Spray and pray, stae-of-the-art, Stakeholder, Stay on message, Stealth, step up to the plate, Step up to the plate, stick a fork in it…. its done, Stick to your knitting, Strategic, Strategic…, Surface key learnings, sustainability, Synergy, Take him out behind the wood shed, Take it to the Next Level, take one for the team, Team building, Team player, Teamwork, Tearing down the silos…, That’s not all!, The 8,000-foot view, The 80%-20% rule, The bottom line, The customer is always right, The Elephant in the room (or the corner), The genie is out of the bottle, The Glass Ceiling, The iPod of ___insert industry___, the scenery only changes for the lead dog, The take-aways, the way forward, There will be blood., Thinking outside of the box, This moment in time, This thing’s going to happen, Thought Leader, Time to market, Tipping point, Today, more than ever…, Too many chiefs and not enough Indians, touch base, Transparency, Transparent, Trending, under the radar, Under-promise and over-deliver, Underemployed, Up and to the right, Upsell, User-experience, User-Focused, USP, Value-added proposition, viral, Visionary (job title), We Have No Choice…, We’ll Fix It In ‘Post’, We’ll loop you in…, We’ll make sure to revisit this, We’re getting the band back together, Web 2.0, Whatever it takes, When the rubber meets the road, When The Rubber Meets The Road.., Who Moved My Cheese?, win-win, win-win situation, With all due respect, work around, Work Life Balance, World Class, x-Killer (i.e. iPod Killer like the Zune), Ya Think ?, Yes AND no., You are what you are, “You have to “”care”", You have to spend money to make money.
Here is a list of embedia (moseasymedia) releated links:
Joomla! Extensions Site
http://extensions.joomla.org/extensions/multimedia/multimedia-display/2288
Joomla! 1.5 Demo
http://joomla15.mambojoomla.com/index.php?option=com_content&view=article&id=45:moseasymedia-demo-tutorial&catid=35:moseasymedia-demo&Itemid=53/
MiaCMS Demo
http://mambo.mambojoomla.com/index.php?option=com_content&task=view&id=27&Itemid=39
WikkaWiki Demo
http://wiki.brilaps.com/wikka.php?wakka=embedia
Project Source
http://code.google.com/p/embedia/
http://sourceforge.net/projects/moseasymedia/
Project Statistics
http://sourceforge.net/project/stats/?group_id=191881&ugn=moseasymedia
Old Demo Site
http://www.ocszone.com/index.php?option=com_content&task=view&id=74&Itemid=1
Old Manual (but still applies, if you change all the moseasymedia with embedia)
http://www.ocszone.com/index.php?option=com_content&task=view&id=92&Itemid=1
Wiki Entry
http://wiki.brilaps.com/wikka.php?wakka=moseasymedia
Give PNG a chance* Stoyan Stefanov
This is a screencapture of playing the thing in WebKit (Safari). The video is done in pure HTML, JavaScript and CSS with no images. The fancy new WebKit animation additions to CSS make it look like a flash a bit. Instead of images, I used HTML entities.
More info:
http://givepngachance.com
http://phpied.com/give-png-a-chance/
Lyrics:
http://www.phpied.com/help-write-lyrics
A few months ago, I had developed a silly Facebook application that I never mentioned here. Hextatus it is.
http://apps.facebook.com/hextatus/
Hextatus (hex-ta-tus) displays your status in hexadecimal form. So you may just look geekier or cooler or nerder !
You can also post hex encoded Notes to your Wall.
Plain Text Status -> Hexadecimal Status
Plain Text Note -> Hexadecimal Note
Be warned, you may have a lot of your friends with rolling-eyes !
Title says it all.
Launching Eclipse from the Command Line with Workspace Argument on Mac OSX…
1 | open Eclipse.app --args -data /projects/workspaces/myworkspace |
Sick weekend; flu, cold, whatever it may be. Hence, for the lack of anything better to do, I gorged myself back into some build-package-release stuff for the Aliro project. The first biggest piece was integrating Hudson, SVN, Ant. And below is a short note for something that made me chase my tail for a bit.
If you’re putting together a build system, most likely you’ll need to pass some variables/parameters into some other processes. In my case, I needed to pass a few Hudson environment variables as parameters to Ant; Hudson workspace path, build number etc. The following table contains a list of all of these environment variables that can be passed around as parameters from Hudson.
| Environment Variable | Description |
|---|---|
| BUILD_NUMBER | The current build number, such as “153″ |
| BUILD_ID | The current build id, such as “2005-08-22_23-59-59″ (YYYY-MM-DD_hh-mm-ss) |
| JOB_NAME | Name of the project of this build. This is the name you gave your job when you first set it up. It’s the third column of the Hudson Dashboard main page. |
| BUILD_TAG | String of hudson-${JOBNAME}-${BUILD_NUMBER}. Convenient to put into a resource file, a jar file, etc for easier identification. |
| EXECUTOR_NUMBER | The unique number that identifies the current executor (among executors of the same machine) that’s carrying out this build. This is the number you see in the “build executor status”, except that the number starts from 0, not 1. |
| JAVA_HOME | If your job is configured to use a specific JDK, this variable is set to the JAVA_HOME of the specified JDK. When this variable is set, PATH is also updated to have $JAVA_HOME/bin. |
| WORKSPACE | The absolute path of the workspace. |
| SVN_REVISION | For Subversion-based projects, this variable contains the revision number of the module. If you have more than one module specified, this won’t be set. |
| CVS_BRANCH | For CVS-based projects, this variable contains the branch of the module. If CVS is configured to check out the trunk, this environment variable will not be set. |
| *from http://wiki.hudson-ci.org/display/HUDSON/Building+a+software+project | |
Now you know the names, all you need to do is build.path=${WORKSPACE} in the Ant properties box in the Hudson project configuration. Of course, you can access that parameter as ${build.path} in the Ant build xml or properties files.
Hudson kicks off the Ant, the command line looks like:
1 | ant -file build.xml -Dbuild.id=${BUILD_ID} -Dbuild.workspace=${WORKSPACE} init |



Please remember, this is NOT intended to be a step by step instruction manual. RTFM
Follow the regular installation instructions and possibly throw in the following in the mix, when and if you have to.
You will need the Android Source to build (doh!). Here.
Obstacle #1. No Java 1.5.0 in Ubuntu 9.10. Gotta have it, otherwise Android “make” barely bothers to launch.
http://java.sun.com/javase/downloads/index_jdk5.jsp is a starting point. I grabbed the rpm build.
Assuming you have the “rpm” (otherwise apt-get install rpm), install the downloaded package. –force-debian –nodeps flags may be required.
Now you have Java 1.5.0 in place, you need to setup your environment properly.
1 | sudo update-alternatives --install /usr/bin/java java /usr/java/jdk1.5.0_22/bin/java 50 |
1 | sudo update-alternatives --install /usr/bin/javac javac /usr/java/jdk1.5.0_22/bin/javac 50 |
** change your jdk1.5.0 path if necessary
Getting close.
The “apt-get install” in the documentation http://source.android.com/download includes “sun-java5-jdk“, so take it out and run the command as follows:
1 | sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev |
Try the “make” now.
Next is installing the Android SDK on Ubuntu 9.10. Grab it at http://developer.android.com . Unzip, move it around etc.
Starting with Android SDK r3, you need to pick and choose what you want to download and install. “./android” under the “tools” directory does that for you. However, every single time I tried this on my Macs, I got the “You might want to force download through HTTP in the settings.” error. So be it, go the the options, simply check the “Force https://… sources to be fetched using http://…” option and download happily ever after. This was a no-go in my Ubuntu 9.10. The trick to properly enable and utilize that checkbox is to run:
1 | export GDK_NATIVE_WINDOWS=true |
Now, you should be able to download the SDK without the https:// mallarky.
After all this, hopefully, you should be Android’ing in your Ubuntu box in no time
Good luck.
After getting a few very interesting emails, I decided that I should provide a bit of a historical and informal insight to those who might be curious about what that “Save My Ass” may be.
SaveMyAss (Save My Ass) a convenient way to clear the Call and/or the SMS records on the Android based phones. The delete (or purge) process runs automatically upon the app launch without further user intervention. The app either deletes a preset number of messages set in the preferences, or by age (i.e. last 10 min, last 2 hours etc.).
Why did I build this app? Just because. *this is the easy answer (i could’ve said, just for shits and giggles
)
Why did I build this app? Just because, I thought it would be an interesting challenge. I worked extensively with Android Messaging app and SMS internals during the development of “Txtract – SMS Backup for Android“, “Save My Ass” would be the icing on the cake in terms gaining more expertise on Android.
Why did I build this app? About five months ago, I was about to get a ticket because a polica officer thought that I was on the phone while driving. I swear, I was not on the phone, or was not doing anything on my phone. I was pulled over, and I had to show the officer my call and message history to convince him that he stopped me for no reason. That incident was indeed the spark that made “Save My Ass” built. I don’t want to give anyone any ideas about how they may use the application. The rest is up to the users’ imagination
About the “Save My Ass” name; it’s supposed to be just funny and provocative. Nothing more, nothing less. I can only hope that no one will find the name offensive.


Docs @ http://wiki.brilaps.com/wikka.php?wakka=SaveMyAss
Support at; http://forum.brilaps.com/index.php?board=20.0
Senses Capture – Leaves’ Eyes and Yuna
I was simply testing YouTube’s “share to blog” option. One of my recent fave’d songs with a super cute video.