Posts
For loops for fun and profit
For loops aren’t rocket science by any stretch of the imagination, but perhaps some wayfaring programmer will find the following enlightening.
What appears to be at first basic and fundamental can belie the incredible flexibility offered. Below are a few examples related to that most common of control structures, the for loop.
These examples apply to most variations of C and C-based languages as well as Java.
Infinite loop:
for(;;) { // Works a treat for main event loops.
Posts
Once, atop a mountain
She stood atop a mountain
sword in hand
battle in mind, heart, and soul
The stars in her eyes; a universe
her heart; an ocean
And that, that is the story of one’s struggle against a life of action and consequence. That, our dear friend, was what transpired into the greatest battle story of all. Or so they say.
Imagine the scene: Thousands of soldiers, or shall we say minions, descending down the mountain unto the sleeping village below.
Posts
A fine quote never goes out of style…
As the years wear on, you stop compromising your principles.
-Bubba Smith
Posts
Bars everywhere, menubars that is
The Mac’s quite famous for refined, simple and highly usable design. While some of the design cues found in the original Mac may still work just as well today as they did back in 1984, the single menubar doesn’t.
Having a single, unified menubar back when no one had 27″ iMacs or dual-screen desktops was probably a logical, zen-inspired approach. Nowadays, the single menubar can be an annoyance. As for remembering shortcuts, well, that isn’t always practical for apps used infrequently.
Posts
Photography site up and running
I’ve dabbled here and there in photography and it’s always a good diversion every once in a while from juggling bits and bytes or ink on a page. A cliche as good as any: helps you see things in a whole different light.
Here’s my photo site: hkp.
Have a good day, people!
Posts
Color it right: color calibration with the spyder 3 pro
Ensuring that color remains consistent across display devices and printers is a definite must for anyone who takes photography and compositing work seriously.
For the past five months I’ve been using a Spyder 3 Pro to calibrate four monitors connected to my Hack Pro system. So far I’ve been extremely pleased with its ease of use with both OS X and Windows 7. The software for both platforms is intuitive and simple to use.
Posts
‘Tis the season: updating my core i7 hackintosh pro rig to snow leopard
Following my foray into building a Hackintosh Pro earlier this year, here’s a short update plus additional tips to help you folks build one yourself. If you haven’t read it yet, here’s my earlier post on building my rig using a Gigabyte GA-EX58-UD5 motherboard.
**INSTALLING SNOW LEOPARD **
The good thing is that Snow Leopard works flawlessly with the build. An even better thing is that digital_dreamer over at InsanelyMac has updated his Standard Retail DVD Install script and has made it Snow Leopard compatible.
Posts
The apple of my eye: building my core i7 hackintosh pro rig
A Snow Leopard follow up to this post is here.
A couple of months ago I built a quad-core Mac Pro equivalent “Hackintosh” based on Intel’s X58 and Core i7. All components were selected for their compatibility with Mac OS X Leopard. My goal was to build as close a Mac Pro clone as possible using off the shelf parts, with the ability to do Apple Software Updates on a retail, unmodified OS X installation as you would with a real Mac.
Posts
Good day
“Good stuff,” he said, not looking at anyone in particular. “All I want is good stuff. Nothing more, nothing less. I want my little bit of sweet, and to have it more than the bitter. Way more.”
Jeffrey Mistlethorpe had not yet realized the calamity of the situation he was in. It was the sort of calamity that takes time to dawn on its victim. A calamity of proportions so great that only its shadow was seen by Jeffrey.
Posts
Make believe
Make believe
cover your eyes and count
to ten
Make believe
open your eyes and look
at me
Show me what you think
I’ll show you what I think
We’ll see each other
in a land of
make believe
So many happy happenings
to find, to have, to be
For make believe
is what we
believe in