Kitchen Hacker

RSS
courtneyetc:

Foursquare’s own @markkupa illustrated the landscape for the 6.0 login screen.

pretty fabulous.

courtneyetc:

Foursquare’s own @markkupa illustrated the landscape for the 6.0 login screen.

pretty fabulous.

Really excited to try my Salmon filet sous vide with the SideKIC I bought on @grandst #tech #food

Really excited to try my Salmon filet sous vide with the SideKIC I bought on @grandst #tech #food

How to WIN with shitty customer service reps. Case GOGO Inflight

image Darren: Welcome to Gogo. My name is Darren.
image Joseph Lallouz: Hi Darren
image Darren: Hi Joseph. Sorry to hear you are having some issues with the service today. I would be happy to assist you with this, can I get your username please?
image Joseph Lallouz: joseph.lallouz@gmail.com
image Joseph Lallouz: ohh
image Joseph Lallouz: for the account I want to cancel and refund is joelallouz
image Joseph Lallouz: I simply created it to retrieve the temp password for the account I am on now, it’s been 3 minutes.
image Darren: Gogo’s products are non-refundable, we value you as a customer. Taking your situation under consideration, I will be happy to email you a discount that can be used towards the purchase and use of a Flight Pass the next time you fly.
image Darren: Next time you have an issue, please contact us prior to purchasing. 
image Joseph Lallouz: thats BS
image Joseph Lallouz: I tried to reset my password 20 times
image Joseph Lallouz: your error messages never mentioned I had a temp passwoird waiting in an email
image Joseph Lallouz: it just kept asking me what school i went to
image Darren: The answer is default. 

image Joseph Lallouz: How would you expect me to know what the answer to that question is? I never went to “default” school.image Darren: What is your mother’s maiden name? 
image Joseph Lallouz: if it had said “you have a temp password b/c you never logged in, I would have simply contacted you”
image Darren: What is your mother’s maiden name? 
image Joseph Lallouz: [redacted]

image Joseph Lallouz: What’s yours?image Darren: I understand. I will submit a refund request to our financial department for $10.00. Is there anything else I can help you with?
image Joseph Lallouz: thank you Darren, that would be the appropriate thing to do
image Darren: Thank you for choosing Gogo. Fly classy.
image Darren has disconnected.

 

 

My favorite part is the “Fly Classy” :P

@grandst at LittleBits Event

We had a little fun building a Little Bits crown at their holiday event last week. So excited to work with these guys. :)

Jun 7

: Design at foursquare

courtneyetc:

The #allnew4sq design process has been wildly rewarding. Our designers examined everything from our typography to our iconography, seeking to maintain foursquare’s playfulness while evolving our style and our brand.

The old and the new

Although our designers spend most of our time in Photoshop or…

Android 3.2+ style view property animation all the way back to 1.0

Clear Application Data - Android

Clearing the application data is a common task in android development. Often you want to clear out the database or just reset the app to a “fresh install state”. It has been a pain to do until I realized I could do it this way.

Things I used to have to do:

  1. Open App Tray
  2. Open settings App
  3. Navigate to apps section
  4. Scroll to Hashable App
  5. Click on Hashable App
  6. Click on Clear Data

Things I do now:

  1. ./adb shell pm clear com.mypackage.name

File this one under “things I really wish I knew I could do F**kin months ago”.

Building Android 4.0 on Ubuntu 11.10

haseman:

staff:

Tumblr Android 2.0: Now available on the Android Market
Android users, say hello to the new Tumblr app, rebuilt from the ground up! We hope you’ll enjoy the updated features, including:  
New interface: A total redesign centered around Android’s hardware and software.
Manage multiple blogs: It’s now a simple swipe to access your different blogs and manage your drafts, queue and followers on-the-go.
Create a post:  We’ve highlighted posting to Tumblr so you can share text, images, links, chats, quotes and videos whenever you want.  
Messages: View and reply to messages for each of your blogs.
Address book: Find people to follow from your phone’s address book.
New users: Sign up right from the app.
Bonus: For quick sharing, you can post anything from your home screen via the Tumblr widget.
Go ahead and grab it on the Android Market!

A big thank you to Jason for all his hard work on the app and Peter for making it look so very fine.

haseman:

staff:

Tumblr Android 2.0: Now available on the Android Market

Android users, say hello to the new Tumblr app, rebuilt from the ground up! We hope you’ll enjoy the updated features, including:  

  • New interface: A total redesign centered around Android’s hardware and software.
  • Manage multiple blogs: It’s now a simple swipe to access your different blogs and manage your drafts, queue and followers on-the-go.
  • Create a post:  We’ve highlighted posting to Tumblr so you can share text, images, links, chats, quotes and videos whenever you want.  
  • Messages: View and reply to messages for each of your blogs.
  • Address book: Find people to follow from your phone’s address book.
  • New users: Sign up right from the app.
  • Bonus: For quick sharing, you can post anything from your home screen via the Tumblr widget.

Go ahead and grab it on the Android Market!

A big thank you to Jason for all his hard work on the app and Peter for making it look so very fine.

Simple & Painless Way To Do Android Database Development

The kicker……on an unrooted phone.

In order to work with the Android database in DDMS or on the cmd line, you need to have root access to your phone. Up until now, doing any kind of work in the database realm of Android has been extremely painful for me because I cant access the DB on a running device, but I can access it on an emulator running my application. Anyone who has done any android work knows that dealing with the emulator is a whole world of slowness, spinning wheels, and pain (the details of which I wont get into here).

So I have been toying with the idea of rooting my Nexus S in order to gain this root access. However, there are a lot of reasons why you might not want to root your phone, so I also spent a lot of time searching for an alternative. Finally I was at the Android Developer Labs (Thanks @androiddev), where I had a chance to talk to some fellow android developers. I explained my problem and one of the developers told me that he and his partner wrote a script that would dump the SQLlite DB to the SD card on startup of the app. So I decided to run with it.

Some things to note aobut how and why I wrote this:

  1. The SD card contents are not sandboxed to your app, so I only allow this ability in debug (read:dev) builds. 
  2. I did not want to dump the DB on every start up, moreover I wanted the ability to take a snapshot anytime.
  3. I have been trying to find innovative ways to put dev functions into our app.

I wrote three parts to make this work. First I created a *DEBUG* section of our settings menu. A <PreferenceCategory> that sits at the top of our <PreferenceScreen> and when I inflate the Preference screen I check our Constants class to see if the app is a debug build, if it is not, I immediately dispose of the debug category. Now I have a home for any functions that I want to have and test. For instance, sometimes you might want to test firing a service at any given point in your app lifecycle, this is now a good place to host that from.

Second, I wrote a small AsyncTask that runs on a background thread to grab the path to the current database, generally found at /data/data/database/{packageName}/databases/{databaseName} and copy that file over to the SD card using a couple of helper classes and functions.

Third I wrote a small DBHelper function and a small FileIOUtility class that create a copy File of the current database (checks to see if it even exists first), and then writes that exact file to an app location on the SD card. For my purposes I’m using the same location where our ImageManager stores any local photos we have downloaded. or /mnt/sdcard/{appName}

And that’s it really, now I can have my application running on my test device, unrooted, but still dump the db so that I can explore it using some DB tool or just the sqllite cmd line tool in the SDk. A simple problem that was a pain to deal with before.