![]() |
I don’t know many mom’s that are hip to the tm (that’s “text messaging” for you unhipsters). Here’s a mom 2.0 message I received on my birthday. |
Tags: birthday
![]() |
Some think it is impersonal and lazy to send a Facebook message to say Happy Birthday, especially since Facebook tells you when your friends birthdays are coming up. I’m with the cliche - it’s the thought that counts. I do have to admit, Facebook very close to making it impersonal. The way they can do that is to have a template message that gets automatically sent on your friends birthday. Something like this:
Hmmm, that sounds like an awesome idea! Maybe I’ll write a Facebook app for it… anyway… Thank you all for the birthday wishes - both digital and analog. |
Tags: birthday
The following is an actual email that I sent to my wife today. Â It’s talking about a coding function that I’ve been using that I find very handy. Â Please feel privileged that I am sharing such personal, lovey-dovey material.
Subject:
FFOTD - Favorite Function of the DayBody:
http://www.php.net/manual/en/function.array-diff-key.phparray array_diff_key ( array $array1 , array $array2 [, array $... ] )
Here’s the situation:
- I’m checking to see if the currently logged in user has certain roles to access a page
- I have 2 arrays, 1) the roles the user has, 2) the roles that they should have for access <= key’s set to the role_id
Instead of running a nested loop to see if the user has those roles, I just use array_diff_key to see what the deltas of the array keys are in both arrays. If there’s a delta, then NO ACCESS. If there’s no delta, then they are all good!
woot!
Anyone wanna go on a double-date with us?
Tags: NERD ALERT!, PHP
![]() |
I have not one drop of Irish blood in my system, and like many others on this day, I am “celebrating” St. Patrick’s day. Â In Chigago, they dye the Chicago River green every year, and I do a micro-version of that in spirit - a mint-chip Guinness float! After consuming this (and a few more Guinness’), I pseudo-physically inherited some Irish blood |
Tags: St. Patrick's Day
![]() |
My sister-in-law Helen knows the way to my heart - a 6′er from a boutique brewery.  Sudwerk is a microbrew out in Davis.  She picked some up on the way home from a daytrip to Tahoe for some boarding action (note the beanie). Â
Here we have the Marszen which is a darker brew with a nice nutty and malty flavour (that’s right, I put a “u” in flavor). |
Since moving up to the Bay Area on January 28th, 2009, I’ve eaten at a variety of places (to say the least). In the OC, you turn the corner and there’s yet another TGI McFunsters* in a brand new plaza (no offense, it has it’s own charm and sense of security we all need). Â Up here, turn the corner and you find a place that you’ve always wanted to go to that’s on your list of 100 places to go to before leaving the Bay Area. Â Having said that, 28 days passed before I went back to a place the 2nd time around - the “Taco Truck” on the corner of Polk and Hayes.
BTW, for those of you who have given up (good) food for Lent, I didn’t write this post to rub it in :p
Here’s my list of places I have eaten in the last 40 days - yelp links provided:
- Little Sheep Mongolian Hot Pot (San Mateo)**
- Ristorante Rocca‎ (Burlingame)**
- The Crepe House (San Francisco)
- House of Prime Rib (San Francisco)**
- Gorilla Barbeque (Pacifica)**
- Thai Nakorn (San Bruno)**
- McDonalds (Millbrae) read about it »
- Stacks (Bulringame)**
- Los Compadres aka The Taco Truck (San Francisco - Hayes Valley)**
- El Ranchito aka The Taco Truck (Millbrae)**
- Papalote Mexican Grill (San Francisco - Mission)
- Um Ma Son (San Francisco - Outter Richmond)
- Bistro 9 (San Francisco - Inner Sunset)**
- Front Porch (San Francisco - Bernal Heights)
- Tu Lan (San Francisco - Tenderloin)**
- San Tung Chinese Restaurant (San Francisco - Inner Sunset)**
- Happy Chef House (San Bruno)
- Back A Yard Caribbean American Grill (Menlo Park)**
- Heart of the City Farmers Market (Civic Center)
- Maru Ichi (Mountain View)
- Double Decker (San Francisco - Hayes Valley)**
- Frjtz (San Francisco - Hayes Valley)
- Naan-N-Curry (San Francisco - Civic Center)
- Citizen Cake (San Francisco - Hayes Valley)
- Blue Bottle Coffee (San Francisco - Hayes Valley)**
- Paxti’s Chicago Pizza (San Francisco - Hayes Valley)
- Hayes & Kabob (San Francisco - Hayes Valley)
- Flippers Gourmet Burgers (San Francisco - Hayes Valley)
- Thepin Thai Cuisine‎ (San Francisco - Hayes Valley)
- Taraval Okazu Ya Restaurant (San Francisco - Parkside)**
- Eggettes (Millbrae)
- Super Burrito (Millbrae)**
- Kate’s Kitchen (San Francisco - Lower Haight)
- Limón Peruvian Rotisserie (San Francisco - Mission)**
- Bullshead (San Francisco - West Portal)**
- Mel’s Drive In (San Francisco - Civic Center)
- Primo Patio Cafe (San Francisco - SOMA)
- Blue Muse Restaurant & Bar‎ (San Francisco - Hayes Valley)
* phrase coined by Anthony Bourdain, my foodie hero
**Â yumm!
Tags: 30 Rock








