Entries for September, 2010

this may be the last notable physical achievement as a "young man." i don't think i could ever do it again.

yesterday, i helped a friend move: we loaded a 16' penske truck (penske is awesome!) with all the furniture in storage, then i drove to vegas (5.5 hours), where we unloaded and unpacked everything. i originally had a 9pm flight from vegas to sd, but since we got to vegas so late (i didn't know those trucks had speed regulators), i had to switch my flight to an early one this morning.

caught the 820am flight, came home, showered, and then headed into work.

let me tell you: furniture is HEAVY. especially temperapedic beds with those crazy frames. trying to get it up a narrow two flight of stairs was an achievement.

i woke up this morning so incredibly sore (it didn't help that i also worked out 8am the morning of the move).

and now ... ldw!

(and i'm never doing that type of move ever again - i would personally shell out the money to hire movers)

Posted by roy on September 3, 2010 at 04:32 PM in Ramblings | 3 Comments

love the song and the video

Posted by roy on September 5, 2010 at 03:43 PM in Ramblings, Music | Add a comment

The Little Prince is my favorite book. For a "children's book," it's able to cut through to the important things in life. One of the bigger themes is the relationship between the Little Prince and the one flower on his small planet.

And he confided further, "In those days, I didn't understand anything. I should have judged her according to her actions, not her words. She perfumed my planet and lit up my life. I should never have run away! I ought to have realized the tenderness underlying her silly pretensions. Flowers are so contradictory! But i was too young to know how to love her."

As he travels the universe, he discovers a garden of roses:

She would be very annoyed, he said to himself, if she saw this.. She would cough terribly and pretend to be dying, to avoid being laughed at. And I'd have to pretend to be nursing her; otherwise, she'd really let herself die in order to humiliate me.

And then he said to himself, I thought I was rich because I had just one flower, and all I own is an ordinary rose. That and my three volcanoes, which come up to my knee, one of which may be permanently extinct. It doesn't make me much of a prince... And he lay down in the grass and wept.

But he discovers what makes his rose so important when a fox befriends him:

The Little Prince went to look at the roses again.

"You're not at all my like my rose. You're nothing at all yet," he told them. "No one has tamed you and you haven't tamed anyone."

And the roses were humbled.

"You're lovely, but you're empty," he went on. "One couldn't die for you. Of course, an ordinary passerby would think my rose looked just like you. But my rose, all on her own, is more important than all of you together, since she's teh one I've watered. Since she's the one I put under glass. Sice she's the one I sheltered behind a screen. Since she's the one for whom I killed the caterpillars (except the two or three for butterflies). Since she's the one I listened to whhen she complained, or when she boasted, or even sometimes when she said nothing at all. Since she's my rose."

This leads to one of the most important lessons in the book (in my opinion, at least):

"Good-bye," said the fox. "Here is my secret. It's quite simple: One sees clearly only with the heart. Anything essential is invisible to the eyes."

"Anything essential is invisible to th eyes," the little prince repeated, in order to remember.

"It's the time you spent on your rose that makes your rose so important."

"It's teh time I spent on my rose...," the little prince repeated, in order to remember.

"People have forgotten this truth," the fox said. "But you mustn't forget it. You become responsible forever for what you've tamed. You're responsible for your rose..."

"I"m responsible for my rose... ," the little prince repeated, in order to remember.

If you haven't read this book, just head over to the local Barnes and give it a read. It truly is an amazing book.

Posted by roy on September 6, 2010 at 10:48 AM in Ramblings | 4 Comments

Bruno Mars - Just The Way You Are

Oh her eyes... make the stars look like they're not shining
Her hair... falls perfectly without her trying
She's so beautiful
And I tell her every day

Yeah, I know when I compliment her she won't believe me
And it's so sad to think that she don't see what I see
But every time she asks me, "Do I look okay?"
I say:

When I see your face
There's not a thing that I would change
'Cause you're amazing
Just the way you are
And when you smile
The whole world stops and stares for a while
'Cause girl you're amazing
Just the way you are

Her lips... I could kiss them all day if she'd let me
Her laugh... she hates but I think it's so sexy
She's so beautiful
And I tell her every day

Oh you know I'd never ask you to change
If perfect's what you're searching for
Then just stay the same
So don't even bother asking
If you look ok
You know I'll say:

When I see your face
There's not a thing that I would change
'Cause you're amazing
Just the way you are
And when you smile
The whole world stops and stares for a while
'Cause girl you're amazing
Just the way you are

Posted by roy on September 6, 2010 at 11:31 PM in Personal, Photography, Music | 7 Comments

I wonder what it must be like to be an artist and to know you've created a monster hit.

The latest single from ATL artist Cee-Lo is the aptly named: "F*ck you." It is a hilarious song which is absolutely perfect in its delivery.

When the musical intro starts you think to yourself, "What a nice Motown retro feel this song has... must be some uplifting song about life!"

Instead? The first line Cee-lo hits you with: "I see you drivin' around town with the girl, and I'm like... 'fuck you.'"

A song that all guys can relate to (not sure girls ever have that type of feeling). The All-American Rejects have a similar song (which is more angsty than funny).

I cannot stop listening to this song. I can guarantee you I'll be listening to this song tomorrow at work, grinning like an idiot while writing up strategy notes on MT's next big initiative...

Currently feeling: fucking great
Posted by roy on September 7, 2010 at 11:56 PM in Ramblings, Music | 4 Comments

what am i doin'? what am i doin'? oh yeah, that's right, i'm doin' me. i'm livin' life right now

Posted by roy on September 11, 2010 at 01:03 AM in Ramblings, Music | Add a comment

I'm doing some work with Tabulas to integrate more closely with a WordPress install. I needed to create a programmatic interface to automatically create users.

The best place seemed to be the XML-RPC interface. So, if anybody else wants this code, here it is:

Copy this function within the wp_xmlrpc_server class:

    /**
     * Create a user programmatically
     *
     * @since 2.2.0
     *
     * @param array $args Method parameters.
     * @return array
     */
    function custom_createAuthor($args) {
        $this->escape($args);
        
        $user_name =  $args[0];
        $user_password    = $args[1];
        $user_email    = $args[2];
        
        $user_id = wp_create_user($user_name, $user_password, $user_email);
        
        if ( is_wp_error( $user_id ) ) {
            return (new IXR_Error(500, __($user_id->get_error_message())));
        }
        return array(
            'username' => $user_name, 
            'userid' => $user_id, 
            'email' => $user_email, 
            'password' => $user_password
        );
    }

I then added the new method to the list of XML-RPC calls within the wp_xmlrpc_server() function (you'll see a huge list that looks similar to this one, just add it on any line, the order doesn't matter:

            // Extend WordPress API
            'custom.createAuthor'        => 'this:custom_createAuthor',

On your other script's side, just use the generic XML-RPC PHP library to do something like this:

	require_once('XML-RPC.php');
	
	$c = new xmlrpc_client('/xmlrpc.php', 'your-wordpress-site.com', 80); 
$f = new xmlrpcmsg( 'custom.createAuthor', array( new xmlrpcval('username', "string"), new xmlrpcval('password', "string"), new xmlrpcval('useremail@domain.com', "string") ) ); $result_struct = $c->send($f, 1); //set timeout // Check the results for an error if (!$result_struct->faultCode()) { // Get the results in a value-array $values = $result_struct->value(); // Compile results into PHP array $result_array = php_xmlrpc_decode($values); print '<pre>'.print_r($result_array, true).'</pre>'; } else { print $result_struct->faultString(); }

(By the way, XML-RPC is such a PITA... I should really use the Atom endpoint for WordPress, but I'm too lazy; I already had a bunch of code to bootstrap against the XML-RPC interface.)

Posted by roy on September 12, 2010 at 02:32 PM in Web Development | 1 Comments

My take on shopping tends to be something like this: buy a whole bunch of stuff at once, then wait for it all to wear out, then buy a bunch of that stuff all at once.

My pajama bottoms all finally gave out. So I went on a mission today to the Gap to get some new PJ bottoms - they had incredibly comfortable sweatpants... I am in sweet comfort heaven right now.

I also bought some new shoes - my two pair of Adidas' from three years were starting to wear out pretty badly. I knew I made the right purchase because I bought them from a totally hipster shoe store called Sportie LA which had totally disaffected employees who wouldn't really give me the light of day. These'll shave four years off my age... blammo!

While I'm at it, I might as well mention some random crap I've been picking up lately.

. . .

I signed up for a Zipcar membership - ever since I got a totally impractical car, I've needed to have a "backup" plan for those times when pesky people come to visit me in town. Zipcar solves that problem perfectly!

. . .

I wandered into Urban Outfitters a few weeks back for the first time ever. While their style is a bit too hipster for me, they sell the most comfortable cotton t-shirts ever. I doubt they'll last long (they are quite thin), but they work well for me now; at $12 a piece, I'm not complaining.

. . .

Since I've been taking lots of trips lately, I've been looking for an alternative to hauling a carry-on bag. I looked into backpacks and found a wonderful company (Herschel Supply Co.) that makes really nice ones (that I had never heard of before). I should be getting my backpack tomorrow!

Posted by roy on September 12, 2010 at 11:03 PM in Ramblings | 2 Comments

I go through these cycles where I'll spend all my time outside of work completely avoiding anything computer-related... to times when I'll want to spend all my time coding on side projects.

In any case, I seem to be caught in the latter cycle currently. Tons of work being done on Tabulas behind the scenes... while some of it is visible, a big chunk of work from this past week isn't.

Tabulas attracts a lot of spammers. A ton. I've built a series of automated tools to shut down the ones who use scripts to post (identifying those are easy), it's tougher to automatically shut down manually posted entries. Fortunately, it only takes me about 20 minutes a day to police the site, and I'm happy to do so.

But what to do with the thousands of sites? Instead of deleting the content, we now crosspost the site to another domain. It doesn't hurt Tabulas' SEO, and we can monetize the shit out of the content with AdSense (which tends to be high SEO-value keywords). Plus, I guess, the spammers get their content hosted somewhere. If one wanted to be really mean, I'd centralize all the links and let people buy the endpoints. Now that would be cruel.

So now, when your site gets flagged for being commercial, we migrate the user and their content to the commercial sister site of Tabulas.

So far? Nearly 7,000 entries (from just the past three weeks) have been purged from Tabulas and migrated over to the commercial site.

Our next problem: automatic categorization of the entries. For now, we'll take a manual approach and categorize them...

Posted by roy on September 14, 2010 at 12:46 AM in Web Development, Tabulas | 2 Comments

So I'm not one to usually post other people's kids pictures (of which there are SO many cuties!), but honestly, is this not the cutest baby you've ever seen? (The baby is the niece of a friend)

(I'm not going baby crazy. Although babies have certainly been on my mind a lot lately - MindTouch had a huge boom of babies; like 4 or 5 in a span of a year - and a friend up in the OC is expecting her first!)

Posted by roy on September 16, 2010 at 12:21 AM in Ramblings | 3 Comments

"You know what I think?” she says. “That people's memories are maybe the fuel they burn to stay alive. Whether those memories have any actual importance or not, it doesn't matter as far as the maintenance of life is concerned. They're all just fuel. Advertising fillers in the newspaper, philosophy books, dirty pictures in a magazine, a bundle of ten–thousand–yen bills: when you feed 'em to the fire, they're all just paper. The fire isn't thinking, 'Oh, this is Kant,' or 'Oh, this is the Yumiuri evening edition,' or 'Nice tits,' while it burns. To the fire, they’re nothing but scraps of paper. It's the exact same thing. Important memories, not–so–important memories, totally useless memories: there’s no distinction—they're all just fuel."

From After Dark by Haruki Murakami. (via)

Posted by roy on September 18, 2010 at 10:24 AM in Ramblings | 4 Comments

I've had one problem with my new car, and it ONLY happens in the SAME place, which is totally weird.

The last two times I've driven to Vegas, my whole audio system (CD/Radio/Satellite Radio) keeps blanking out, like somebody keeps turning it off and on. It ONLY happens on the drive back (I drive back at roughly the same time both times), and it happens on the exact same stretch of I-15. I remember, because the first time it happened, I pulled over at the exit - I saw that same exit when it happened again this past time.

After driving a bit, the problem will fix itself.

It has never happened anywhere else - there must be something about that stretch of highway that causes problems...

Posted by roy on September 20, 2010 at 09:13 PM in Ramblings | 6 Comments

Posted by roy on September 21, 2010 at 09:25 AM in Music | Add a comment

"The first impression you leave is authoritative, skeptical and strongly self-disciplined; however, much of this may cover a deep self-protective sensitivity. Others may see you as impatient with routine, detail and people and as trusting people only after being convinced of their ability and loyalty to the system or organization. You may appear to be serious and overly conscientious."

"You probably interact with a great deal of intention, being goal- or results-oriented in almost every relationship or interaction."

Under the section of how I'm currently changing:

You are probably trying to adapt more to others and are perhaps less dynamic than you naturally could be. Perhaps you are feeling boxed in by external pressures or attempting to hold back in response to internal pressures. This may be in response to needing or wanting to be more diplomatic, versatile, or a more cooperative team player. Others probably see you as being less decisive than you may be ordinarily.

You are probably trying to be or having to be less concerned with details, systems or may be trying to become less seriously minded. Currently you may be taking a lighter approach to life and perhaps loosening standards on perfection or delegating more to others. Others may currently see you as being more relaxed and easy-going than you actually are. You may be trying to see problems from a new or different perspective, or trying on different options from your more comfortable automatic behaviors.

Being more cooperative and a participative team player may be important to you currently.

At present you may find yourself reflecting more about your personal needs and what is important to you than at other times.
Posted by roy on September 21, 2010 at 03:14 PM in Personal, MindTouch | Add a comment
well this place is old
it feels just like a beat up truck
i turn the engine, but the engine doesn't turn
well it smells of cheap wine & cigarettes
this place is always such a mess
sometimes i think i'd like to watch it burn
i'm so alone, and i feel just like somebody else
man, i ain't changed, but i know i ain't the same
but somewhere here in between the city walls of dyin' dreams
i think her death it must be killin' me

- the wallflowers

I'm continually amazed by people who can are able to resist the pressures of their environments so well. 

Posted by roy on September 23, 2010 at 09:33 PM in Personal, Music | 1 Comments

I saw the ugliest car on the road - the front had a horrible smiley face (completely disproportionate) - every time I looked at it, it reminded me of the Joker.

At first, I thought the car was some really low-end Chinese import (for some reason, cars in Asia all look ATROCIOUS).

The car in question is this:

I didn't realize that Mazda had taken to destroying the design of their cars so readily. How was 2011 even a step forward? I mean, I loved the way the front of my '07 Mazda3 looked:

It had a slightly neutral, yet aggressive look to it.

(The back, I'll leave out - I've never been a fan of the rears of the Mazda3.)

In any case, this past weekend, I saw an absolutely gorgeous car from the back; I thought it was a Lexus or an Infiniti, until I realized it was actually the '10 Mazda6!

If I ever needed a people mover, I'd definitely get the '10 6:

Out of curiosity, I took a look at the '11 model ... and yep, they're also Joker-ifying the Mazda6.

This is the first time I've ever wanted to get an older model of a car - the newer versions of the Mazdas look amateurish.

Posted by roy on September 23, 2010 at 11:26 PM in Ramblings | 1 Comments

the best phrase i've heard all year: "constant revolution of innovation"

i cannot believe nobody on google has it yet. i own it now.

Posted by roy on September 29, 2010 at 04:19 PM in Ramblings | Add a comment

Man, remember when this song first came out?

It was over ten years ago!

Posted by roy on September 30, 2010 at 09:26 AM in Music | 5 Comments
« 2010/08 · 2010/10 »