Frameworks vs Libraries

Around 61:20 into Debug #43 Marco Arment and Guy English provide a really good definition for frameworks vs libraries:

G: A library fits into what youre doing, a framework changes the way you see the world.
M: You build things into a framework that is already established for you, whereas the library let's you build what you want and let's you call into the library for help...

I think that's a really important distinction to make. Now, if I can just to figure out what a Platform is relative to a Framework I'll be good at my job.

Back to Basics: My Evening Drink

Recently, mostly since moving to Cambridge, I've been noticing that drinking at bars is getting ridiculously expensive. Then, I realized I can drink in the comfort of my own home for about 10% of the cost and without having to yell at whomever it is I'm talking to.

I bought myself a nice little mixing kit, invested in more bourbon (this time some Four Roses), and started making my own drinks. My go-to drinks thus far have been old fashioneds and the occassional G&T. The former being my preferred drink, andhaving more variations than a swiss army knife. I think many of these variations are a bit over the top, focusing too much on making a show and less on simply enjoying a finely crafted spirit. So, I decided to go back to basics, and started making mine like David Embury recommends in The Fine Art of Mixing Drinks.

What You Need

  • 2 oz of Bourbon
  • 1 tsp of Simple Syrup
    • Equal parts water and white sugar
    • Bring to a boil in a small saucepan until all sugar has disolved
    • Let cool and pout into a bottle, because this is a lot of simple syrup
  • 1-4 dashes of Angostura Bitters
  • 1 twist of Lemon
  • 2 large Ice Cubes, or 1 Ice Ball

Putting Things Together

  1. Grab yourself an old fashioned glass (I recommend these from Crate & Barrel because they're $2).
  2. Add the simple syrup, bitters, and half of the whiskey to the glass, stir together.
  3. Add the ice and the rest of the bourbon, and stir a little bit more.
  4. Take the strip of lemon, twist it over the top of the glass — if you're really into lemon you can even drag it around the rim — then drop the twist into the glass.
  5. Put on some blues, maybe a little John Lee Hooker, and sip your drink.

Some might also like a cherry as a garnish. Personally, I don't like it but everyone is different.

I'm needy... and I need you to get to the point faster.

Today, Apple and IBM announced a big deal to bring iOS devices to "the enterprise" using IBM services and analytics. They will jointly create more than 100 apps for the iPhone and iPad, focusing on everything from security to device management, with IBM giving 100,000 personnel to the effort.

All of that information can be found in Apple and IBM Team Up to Push iOS in the Enterprise by Arik Hesseldahl on Re/Code. That's also pretty much the only substantive content in that 800 word article, and it was buried eight paragraphs deep. There's a bit more about the effects on the stock market, but not enough to be useful to anyone in the market. This is sad. I can condense this article, and many others, into two sentences of actual content, the rest is just fluff and bullshit. I can't wait for the day when we get back to real reporting and away from this airy page-view stuff.

A good example of getting right at to the core of a topic: What We Talk About When We Talk About Iraq and Syria from Caerus Associates.

Rules of Thumb for HTTP Verbs

Web services are woderful things. But, have you ever found yourself designing a RESTful API and wondering which verb to use? Here are some general rules of thumb...

  • Are you providing the data and the logic? Use GET.
  • Are they providing the data and you're providing the logic? Use POST.
  • Are they just adding data to your collection? Use PUT.
  • Are they trying to delete data from your collection? You should check their damn permissions, if they're cool use DELETE.

You can even mix and match these verbs on the same endpoint. I use a lot of Node.js at work, and I prefer to use Express to map different logic to different verbs on an endpoint. Your preferences may change base don your platform, but those guidelines will stay the same.