interfacelab

Avatar

Blippy Clone in 2 Seconds and 3 Lines of PHP

Since LoC wanking seems to be the rage this week, I decided to take a stab at cloning the hottest new thing to hit the internets since twitter: Blippy!

Yes, believe it! You can now twitter your soul crushing acts of consumerism to your uninterested friends so that they too can be involved in the banal minutiae of your life! The IRS is going to love this one.

<?
// what a stupid f'ing idea
?>

And there you have it. All the functionality in way less code.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...

My Mom is Going to Love the iPad

My mom is totally going to love the shit out of this thing.  Off the top of my head:

  • She can read her books in the dark.
  • She can use it in the kitchen to look up recipes and watch cooking videos.
  • She can use the GPS to help my dad drive their RV around the country.
  • She can be better connected to her iPhone wielding grandchildren.
  • She can play Words with Friends on a bigger screen.
  • She can  browse the web on a readable screen.  While in the RV.
  • Watch all of her NFL games while sitting on the porch.

And that’s just to start.  Later down the road, maybe after revision 2, she’ll also be able to:

  • Draw her knitting patterns and sync it with her knitting machine via Bonjour over WiFi.
  • Have video chats with the kids.
  • Augmented reality tour guides for the new places they travel to.
  • Telemedical (god forbid) monitoring to save trips to the doctor.
  • Control surface for manipulating certain controls of the RV.

The best part?  I won’t have to show her how to do those things, not most of them anyway.  So to do 80% of what she uses her laptop for, she can do all of those things without having to lug the thing out, plug it in, hook up the mouse, etc.  She’ll be able to take the information she is looking for to the place where she needs it to be: the kitchen, the sewing room, the co-pilot’s seat.

So thinking about my mother using it, and loving it, I started to think how I would use it.  My list is almost equally as long.

  • Control Boxee.
  • Use it as a control surface for Final Cut or Ableton Live or Traktor via Bluetooth or WiFi.
  • Home automation.
  • The ultimate universal remote (extra hardware required)
  • Pornography
  • Better in-flight DVD viewing experience

There are so many more integration points the iPad can make with day to day living and day to day information needs.  The key aspect of it all is mobility and portability, having the information you need not only when you need it, but where you need it.

I understand the let down from the perspective of people who were wishing for a multi-touch Mac Book.  But I think they are thinking about it wrong.  People are thinking about it as if it’s a computer, but it isn’t just a computer, it’s a whole new category of device, a whole new definition of what a computer is.

I also agree with most that the lock down to the App Store is a let down, though you don’t have to think too hard about it to understand it’s a necessary evil.  It reduces any potential confusion on how to make the thing do something new.  My Mom and I were playing Words with Friends without me having to walk her through how to install it and get it running.  Now compare that with what it was like to show her how to do something similar on her Windows laptop … yeah no thanks, I’ll take the App Store.  Not to mention not having to run that crappy antivirus and anti-spyware junk – the stuff that sucks the performance out of her laptop and yields endless complaints about how slow everything is.  Perhaps it’s a false sense of security, but I can live with that.

Some of the complaints about usability and related things are complete nonsense and even defy logic.  I’m pretty sure Apple did some usability testing on this thing … but maybe that’s just wild speculation on my part.

I think Apple is definitely onto something, maybe it’s not quite there yet, but they’ve definitely accomplished more than bringing an oversized iPhone to market.  But only time will tell.

And, yes, she does kick my ass in Words with Friends.  She hit me with two 70+ pointers yesterday.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...

Slicehost API Notes for the Non-Rails Posse

I just want to start out by stating that I, in fact, am a big fan of Slicehost and constantly recommend them to friends setting up anything more serious than blogs. They have a truly great offering and their customer service has only been rivaled, in my experience, by the support team from DataPipe – whom I whole heartedly recommend for any colo or managed hosting.

One thing that is truly great about Slicehost is that they offer an awesome API that allows you to do most everything you can do in their management console, but instead through web services. You can create new slices, reboot them, change and add DNS, as well as rebuild or destroy slices.

The only problem is that the API follows a “standard ActiveResource pattern” that comes straight from the bowels of Rails and is way too convoluted for something this simple.

[Read more]

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 5 out of 5)
Loading ... Loading ...

Wordle

Found this awesome toy today.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...

Variables in CSS via PHP

UPDATED: Added support for expressions with variables so that you can add, multiply, divide, etc. variables when using them in the CSS. See below for more info.

Back in April of 2008, I came across a proposal by Daniel Glazman and David Hyatt for using variables in CSS stylesheets.  I thought the proposal was absolutely brilliant, filling a much needed void for sites using complicated stylesheets across a variety of different pages.  Another part of their proposal was being able to include/import other stylesheets.  I don’t know anyone that couldn’t find this useful.

I put together a quick class for implementing most of their proposal using PHP.  Nothing fancy going on here, most of it is some simple regexes.

Download the code here.

[Read more]

1 Star2 Stars3 Stars4 Stars5 Stars (8 votes, average: 4.88 out of 5)
Loading ... Loading ...

Metadata/Attributes in PHP

There’s a ton of stuff I miss from C#, having moved to PHP. Did I say a ton? I meant a megaton.

One of the things I miss the most (besides the sanity) are attributes (annotations for Java peeps). To be able to ascribe metadata to class, method and property definitions opens up a whole new world of introspection which enables you to do some pretty wicked hacks.

In this post, I present a PHP class that allows you to do metadata/attribute programming with PHP.  You can download the class here.  But before we dig in, we must understand what attributes are and how they are useful…

[Read more]

1 Star2 Stars3 Stars4 Stars5 Stars (10 votes, average: 4.6 out of 5)
Loading ... Loading ...

Flying Solo

Dave had to head back to San Francisco, leaving me to fend for myself. I was initially hesitant, playing with a buddy is really the best way to go. You can protect each other in multi-way action, you can do some sick post game analysis and just sounding ideas on betting, constructing table image and what not always push the game to that next level.

[Read more]

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

14 Hours Non-Stop

I just ended a 14 hour poker marathon that has taught me more about playing my game than the last two years combined.

[Read more]

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

hello.


hello.world();
[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

,

View Jon Gilkison's profile on LinkedIn