henry sztul

henry sztul

Physicist. Entrepreneur. Dad.
more about me @ henry.sztul.com


This is exactly how I first got interested in code (and science and engineering I think too)… in fact it came up over lunch yesterday.
I hope kids today have a “Logo” of their time… maybe the “Logo” of their time is Logo?
garychou:

When I was a kid, this was how I first learned to write code.  I’m excited that in 2012 there are now things like Code Year.

This is exactly how I first got interested in code (and science and engineering I think too)… in fact it came up over lunch yesterday.

I hope kids today have a “Logo” of their time… maybe the “Logo” of their time is Logo?

garychou:

When I was a kid, this was how I first learned to write code. I’m excited that in 2012 there are now things like Code Year.

I agree @neiltyson totally! Teaching Science literacy is more important that just being able to reciting facts.
Scientific literacy is a part of understanding how to approach problems, deal with conflict, and hey, while I’m at it… approach life!

“Neil Degrasse Tyson: “If you’re scientifically literate the world looks very different to you”” on http://shel.tv/zzPim0 via @neiltyson

shelby.tv: Introducing TouchPlay

shelbytv:

Next week, team Shelby is headed to CES. I know what you’re thinking, why would a tiny startup head to one of the biggest consumer electronics shows in the world, especially when Apple has already won CES?

It all started when we won a booth at CES this past summer as part of a competition…

(Source: shelbytv)

cool

cool

(via david)

“aaaaaaayyyyyyyyy.”
(via Bluth Family Reunion)

“aaaaaaayyyyyyyyy.”

(via Bluth Family Reunion)

I love Instapaper. I’ve moved on from Instapaper.

I really love Instapaper.  The whole product through and through.

Marco Arment has done a great job with this product all the way from top to bottom. The bookmarklet experience is great, it’s fast, convienient, clear as to what is happening, the web experience is straight forward and designed well, and the iOS app is the first App that I knew EXACTLY what I was getting when I paid for it, and was 100% satisfied with the $4.99 price tag.

In 2011, from what I can gather I saved over 1100 articles to read later on my iPad (I don’t have an iPhone). Almost every morning either over coffee or my morning subway ride, I would catch up on my reading. It was really a great system.

Unfortunately, with the start of 2012, I am no longer going to be using Instapaper.

Like I said I don’t have an iPhone. I have an android device (a HTC Thunderbolt rooted with the CM7.1.1 ROM) and I am just a little tired of carrying around my iPad with me everywhere, that’s in addition to my laptop which I have in my bag more and more often now.

My Android phone is large enough and powerful enough to do everything I need to do on the go, so why carry around Y.A.D. (yet another device)??

For several reasons, Instapaper is not available on Android (a recent write up from Beta Beta beat can be found here).

Marco has stated he would split revenue 50/50 with whoever can make Instapaper for Android (that meets his strict requirements of course). That’s not good enough for me, so I am hopping over to Read it Later.  They have a bookmarklet (not as well designed), an iOS app for my iPad, and most importantly an Android app.

Read it Later, so far, is not as great as Instapaper, but c’est la vie! I am enjoying reading a whole lot more on my phone that my iPad on the Subway.

Here’s to 2012!

What’s left? Great opportunity.

Today I dropped my daughter off at school for the first time in more than two weeks, great family time.

As I was walking past 6th Ave I looked south and noticed the Freedom Tower.  Wow, great progress since I last took this route way back in 2011.  In the morning light, the lights in the still exposed upper floors twinkle majestically.

Crossing the Avenue, as the tower started to disappear behind other buildings I was left to wonder, “What is there left to build?”

I was not around to see the bridges of NY be built, or the Tunnels, the Empire State building, the Interstate system, or even the Twin Towers.  These were all great feats of engineering.  And I fear that not many of their kind will be undertaken in this country in the foreseeable future.*

The engineering feats of my and future generations lie not in structural and visible feats, but more in the digital and scientific realms.

I am an engineer of the 21st Century.  Building the future of media consumption.  What it is? Totally unknown, totally up to people like us to build. Media giants have no clue what the future will hold, no idea what consumers want, no idea what the next step is. Another example of the Internet being a great equalizer. This is a huge opportunity, one that I can’t stop thinking about and look forward to waking up to every single day.

* [to argue this point you could say that we are building a tremendous new Aquaduct and Su way line under New York, which is nothing short of amazing. I’ll admit that.]

I feel like watching this vid every morning!
“VS Underdog Speech” on http://shel.tv/ycfJfJ via @VidPrep

Javascript multi-line comments shortcut in Textmate

I am a huge fan of Textmate. I use it ALL the time for Ruby, Rails, HTML, CSS, and of course Javascript.

Commenting in most of those languages is really easy:

Ruby: # comment here

HTML: <!— comment here —>

Javascript: // comment here

What I have really wanted for some time is a keyboard shortcut to turn a line or two of text into a multiline Javascript comment.

Here’s what I ended up doing (image below shows it all):

1) In Textmate, get yourself into the ‘Bundle Editor’

2) Create a ‘new command’ (I called mine “Multiline Comment”

3) In the ‘Commands’ text area enter: echo “/* $TM_SELECTED_TEXT */”

4) Choose ‘Selected Text’ as the ‘Input’ and ‘Replace Selected Text’ as the ‘Output’

5) Choose a keyboard shortcut for the command under ‘Activation > Key Equivalent’ (I chose <shift>+<command>+c)

Voila!  Now you can type your comment, highlight it, and hit <shift>+<command>+c to get your multi-line commented area.

My new t-shirt: Schrodinger&#8217;s equation with the solution is the shape of Schrodinger&#8217;s cat!
Leila has a matching shirt&#8230;
Thanks Josh (@iamthecarnivore)!

My new t-shirt: Schrodinger’s equation with the solution is the shape of Schrodinger’s cat! Leila has a matching shirt… Thanks Josh (@iamthecarnivore)!

How to enable JSONP support in a Rails app.

I have known about JSONP for some time now but it didn’t really “click” with me until this week for some reason. Now… I think it is awesome!

So, How to enable JSONP support in a Rails app?

In a Rails controller where you want to return JSON to a callback function specified in an AJAX request, simple add a callback key and value (via param[:callback]) to the call to render json:

render :json => your_data_hash.to_json, :callback => params[:callback]

When the JSONP AJAX request is made and a callback is specified (via  the ?callback= param OR the jsonpCallback option in jQuery’s $.ajax() function), Rails will now send back that JSON to the specified callback function in the DOM. Voila! 

While this is sorta trivial, its a nice tool to have in the bag.

I’m always learning.

wow.
if-you-leave:

mike stacey

wow.

if-you-leave:

mike stacey

shelby.tv: "FIRE! (huh! woo!)" -The Ohio Players

#awesome

shelbytv:

We at Shelby always like to have a trick up our sleeves, and this Christmas, it’s a warm, crackling fire.

Just login to Shelby and click “fireplace” in the lower right-side corner.

Voila!

For extra fun, we’ve even set it up so you can add the names of your loved ones to the…

(Source: shelbytv)

#want
jakehofman:

(via Mathematician’s Dice)

#want

jakehofman:

(via Mathematician’s Dice)

Awesome service from an awesome team!
laughingsquid:

Timehop, Service That Shows Your Online Activity From One Year Ago

Awesome service from an awesome team!

laughingsquid:

Timehop, Service That Shows Your Online Activity From One Year Ago

Top