1. nprfreshair:

There isn’t an app for everything.
via Colossal

    nprfreshair:

    There isn’t an app for everything.

    via Colossal

     
    Comments
  2. Implementing Delete from a Social Inbox

    Some time back I read a post from MongoDB (love those guys!) about Schema Design for Social Inboxes.  TL;DR; Best approach for Twitter-esque use case (many followers optimized for lots of fast reading): write each post to each follower’s inbox (ie. stream) in a bucketed fashion (ie. one mongo “inbox bucket” document holds 50+ posts).  So, if Obama tweets, that tweet gets written as a standalone document once in a collection of all his tweets, and then 42.2MM more times (to insert into each follower’s stream’s current “inbox bucket” document).

    But the article doesn’t go into depth when it comes to deleting posts.  I didn’t think about it deeply at the time, but apparently that problem got lodged in my brain.  A solution materialized in my mind during a shower a few minutes ago…

    The “inbox bucket” documents could contain created_at and closed_at (ie. creation time for the first and last post in the document) timestamp attributes, indexed.  When a post is deleted, remove it from the posters collection, then kick off a background job to pull the inbox buckets for all followers where bucket.created_at <= post.created_at <= bucket.closed_at and remove the post from the bucket.

    I don’t think this solution is particularly clever or necessarily ideal.  But I do find it very interesting that my brain continued on this problem, in the background, for quite some time.

     

    tags:  shower  alpha waves  background processing  MongoDB 

    Comments
  3. There is the desire of a consumer society to have no learning curves. This tends to result in very dumbed-down products that are easy to get started on, but are generally worthless and/or debilitating
    — 

    Alan Kay

    Good reminder to challenge practices that are unpracticed.

    (via youmeandmyapi)

     
    Comments
  4. continuations:

    In a previous edition of Homeschool Wednesdays, I had written about different ways of motivating the study of math. In particular I suggested that showing how math can be beautiful may be one way to get some kids interested in it. My first foray into that was showing how spirals occur in…

    I don’t think I ever really appreciated/understood PI and sin and circles and their interrelation.
    But I’m starting to (slide 9, in particular).  
    This is awesome stuff, be sure to click thru to the overlapping waves stuff that Albert recommends.
     
    Comments
  5. Poor baby, you have to wait a whole day after a new episode airs on cable before it magically appears on your silent, $99, network-connected TV box.

    Walking to the mailbox, unsealing an envelope, and sticking a disc into a slot under your TV is too much work, is it? Now you need to be able to start watching a movie without even picking your lazy ass up off the couch?

    Oh no! There are rooms in your house where you don’t have instant access to the sum of all human knowledge! And running wires is just so hard, isn’t it? Those few cents for zip ties to keep yourself from tripping over the wires will obviously break the bank. The prince demands radio-based networking everywhere in his castle!

    I guess it’s just too much work to walk out the front door five steps, pick up the newspaper that was delivered while you slept, and then bring it back to your kitchen table each morning to read the news of the world. Now you want it to appear instantly on your computer screen. OK, Mr. Fancypants Bigshot.

    Yeah, pressing seven buttons in sequence is so much work. You need a faster way to call someone. Pressing just one button instead will be such a big change in your life, won’t it? You’ll finally have time to write that novel.

    You’ve got a way to send a piece of paper from your home to anywhere in the entire country for literal pocket change, but that’s just too much work for you. You need to talk to someone right now, hearing an actual voice as if it’s in the same room instead of miles away.

    You are warmed by the sun for nearly all your waking hours, but I guess that’s not good enough for you. No, you’re so important that you need to have light and heat at night as well. What you need, you precious snowflake, is a miniature artificial sun that’s under your control—obviously!

     
    Comments
  6. Emotional Intelligence

    I wasn’t introduced to the formal concept of emotional intelligence until recently (thanks to Nev).  And now that I’m primed, I can’t escape it.  Emotional intelligence is a simple idea: your ability to understand/control your emotions and the emotions of others.

    It’s not binary (ie. either you have it or not), it’s an analog spectrum.  And you don’t always sit at the same spot.  There are times when I feel like an all-knowing emotionally super-intelligent god, and other times when I have the emotional intelligence of a rock.  But most of the time I’m more like a dog: pretty good intuition for this stuff but not consciously aware of it.

    Nev send me a piece from the NYTimes, Can Emotional Intelligence be Taught?, and I shared with her a blog post from Scott Adams, Imagination and Emotional Intelligence.  I’ve also been reading Autopilot: The Art and Science of Doing Nothing by Andrew Smart (very interesting book I’ll write more about when I finish).  Thoughts… I’ve got some…

    Spray the fire extinguisher at the base of the fire.

    The idea of teaching emotional intelligence is dumb.  My grandparents had emotional intelligence, maybe yours do to.  Pretty confident none of them had a class in school about this stuff.  I’d also wager that they never received “participant” trophies, went on “play dates,” or had every minute of their childhood scheduled and efficiently optimized for achieving career success through strategic goal setting.

    Kids shouldn’t do that crap.  They should play.  They should be allowed to sit around and be goofy, stare at the clouds, walk to the park without a plan, cut their knees, make up new games, break things, fix things, pull things apart just because, and sometimes just do nothing.  Further, they should make fun of other kids, get made fun of, get into sticky situations, make mistakes and then make amends.  Learn how to give it, how to take it, and feel the impact from both sides.  If people don’t have these great unique chances to learn while they’re developing and the stakes are low, what dangers await when their mind has lost some plasticity and the stakes are much greater?

    We don’t need to teach kids one more thing.

    Let’s start by undoing the problems we’ve created.  Instead of trying to treat symptoms, eliminate the root cause.  Allow kids to be kids and develop healthily like humans have for millions of years.  Don’t force them to be adults*, crushing creativity and removing individuality such that they’re easier to manage.  

    Remove the bureaucratic crud that has built up, suffocating childhood.  A solution doesn’t have to be additive.  Fear, momentum and ingrained interests may be difficult to fight, but that doesn’t mean we shouldn’t.

    PS I don’t have kids yet.  But when I do — when I have skin in this game — I promise you, the Spinosa family is going to make some waves.

    — — —

    *Then again, maybe “adulthood” is bullshit and we should allow adults to be more like kids…

     

    tags:  emotional intelligence  idleness  nev 

    Comments
  7. We have lots of serious developers who don’t want their quality Apps to be surrounded by amateur hour.
     

    tags:  ios  apps  apple 

    Comments
  8. sci-universe:

As seen from the Top of the Rock, Rockefeller Center, about 200 miles north of the launch pad, the first Orbital Sciences Minotaur V rocket sends NASA’s LADEE spacecraft on its way to the moon! Credit: Ben Cooper (High-res image here)

how cool is man!
(very cool, given the right perspective)

    sci-universe:

    As seen from the Top of the Rock, Rockefeller Center, about 200 miles north of the launch pad, the first Orbital Sciences Minotaur V rocket sends NASA’s LADEE spacecraft on its way to the moon! Credit: Ben Cooper
    (High-res image here)

    how cool is man!

    (very cool, given the right perspective)

    (Source: scientistmary)

     
    Comments
  9. Xcode 5: Git branch name look odd?

    Why does XCode think you’re working on a branch named [32mmaster[m ?  Must it refuse pushing to origin at github.com?  Shouldn’t Xcode 5 fix all of this?

    Nope, sorry, XC just doesn’t handle colors like your terminal!

    Check your git config --global for something like color.ui=always or color.branch=always … that’s your problem right there.

    Change it to git config --global color.ui auto

     
    Comments
  10. blog comments powered by Disqus