Profile

Cover photo
Chris Strom
Works at EEE Computes
Lives in Baltimore
852 followers|4,199,520 views
AboutPostsPhotos+1's

Stream

Chris Strom

Shared publicly  - 
 
Yay! An ugly hack to poll for Polymer properties no longer seems to be necessary anywhere  --  not even in my AngularJS directive :)
With the 1.1 edition of Patterns in Polymer due in but a few hours, I do not have much time for blog posts, but the gods of my chain must have their daily sacrifice. So I try out my AngularJS application that uses Polymer web...
2
James Hurford's profile photo
 
Looking forward to this next release
Add a comment...

Chris Strom

Shared publicly  - 
 
I'm torn on this one… One the one hand, I would really like to make my own <input> fields with Polymer. On the other hand, if you can't, then I have a very nice chapter in +Patterns in Polymer :P
While working through the remaining errata for Patterns in Polymer, I came across one that states that you can put a vanilla form inside of a Polymer element and expect that it should form-submit to an HTTP server like any ot...
4
James Hurford's profile photoChris Strom's profile photo
3 comments
 
+Chris Strom well I have partial good news then, you can sort of do this in Dartium, just not in dart2js 
Add a comment...

Chris Strom

Shared publicly  - 
 
I threw a ton of junk against the Polymer.dart testing wall to see what stuck. After I got testing working last night, how much of that other stuff was really necessary?

h/t to +James Hurford for his invaluable help on this investigation!
I finally have my Polymer.dart tests passing again. But that is insufficient for Patterns in Polymer. I have to ensure that I am not programming by coincidence, which is a poor programming practice and disastrous book writing...
2
Add a comment...

Chris Strom

Shared publicly  - 
 
Well, trying to copy the testing approach in the Polymer.dart package did not help me test my own Polymer elements. Seems I'll have to break this down into even simpler examples if I'm going to get my Polymer.dart testing working again :(
I cannot believe that I can no longer test Polymer.dart elements. This was the very first chapter that I wrote in Patterns in Polymer and now it is completely broken. Not only that, I no longer have any way to automatically d...
2
James Hurford's profile photo
 
Don't give up, there's always a solution around the corner
Add a comment...

Chris Strom

Shared publicly  - 
 
OK, I'm probably doing something really dumb, but… do the log and debug flags in Polymer still do anything?
It pains me to admit this, but most of my debugging in Polymer is done in the venerable print STDERR style. If something is not quite working, I add print / console.log statement at the last known point in the code that I kno...
2
Add a comment...
Have him in circles
852 people

Chris Strom

Shared publicly  - 
 
So yeah, my “onPolymerReady” callback hack might be overkill for normal observing of Polymer attributes :)
What are we doing tonight Brain? The same thing we do every night, Pinky—trying to see if something that didn't work two months back in Polymer works now. This is proving to be a rough time to release a book on Polymer. My se...
3
James Hurford's profile photo
 
The pinkies, the pinkies, the pinkies and the brainz.  I love that show, especially the one involving the Russian space agency.
Add a comment...

Chris Strom

Shared publicly  - 
 
Help! I need to choose the cover of my next book (yup, it's that time again).

Please vote: https://99designs.com/book-cover-design/vote-l3ygdo

I've read The Timeless Way of Building (http://en.wikipedia.org/wiki/The_Timeless_Way_of_Building) cover-to-cover and thoroughly enjoyed it. I've never made it all the way through Design Patterns: Elements of Reusable Object-Oriented Software. I realize how ridiculous that is. Well, that's going to change.

Big-time.

Soon-ish.
6
1
James Hurford's profile photoChris Strom's profile photoDamon Douglas's profile photoRobert Åkerblom-Andersson's profile photo
6 comments
 
I voted for #166!  I didn't even know this excited.  Crowd sourcing is awesome.
Add a comment...

Chris Strom

Shared publicly  - 
 
In which I go slightly nuts seeing “smoke” package configuration errors absolutely everywhere. But there is a happy ending: I have finally solved my Polymer.dart testing woes.
I thought to try to finish off the Strategy Pattern chapter in Patterns in Polymer tonight. Only when I loaded some “play” code in Dartium, I saw the following error in the console:Exception: The "smoke" library has not been ...
2
Add a comment...

Chris Strom

Shared publicly  - 
 
The “smoke” library is not loaded!?

Polymer.dart bootstrap in 0.10 seems to go through just enough js-interop to need to hook into JavaSript and prevent any of my tests from running. Sigh.
My tests are broken. Again. Time to fix my tests. Actually, I have tests that have not passed for months at this point. Tonight, I am just going to fix the test that broke in the last 4 days (since I upgraded to Polymer.dart)...
3
Add a comment...

Chris Strom

Shared publicly  - 
 
Did you know that you can set Polymer element attributes to JSON strings? In both the Dart and JavaScript versions of the library, the attribute will be interpreted as a list of strings. Maybe that's super obvious, but it was new to me :)
So how do you pass list data into a Polymer element? I was pretty darn certain that starting with a smaller <x-pizza-toppings> element in the model driven view chapter of Patterns in Polymer would be brilliant. And then I tri...
6
James Hurford's profile photo
 
I wish I could plus this more than once, thanks.
Add a comment...
People
Have him in circles
852 people
Work
Occupation
Programmer
Employment
  • EEE Computes
    Consultant / Author, present
  • mdlogix
    Programmer
Basic Information
Gender
Male
Other names
eee_c, eee-c
Story
Tagline
Author, programmer, speaker.
Introduction
You could fill a book with what I don't know. Which is rather the point. Author of 3D Game Programming for KidsDart for Hipsters and The SPDY Book. Co-author of Recipes with Backbone. Big into chains
Bragging rights
Blogged for more days in a row than anyone ever.
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Baltimore
Previously
Connecticut - New York - Indiana - Maryland
Chris Strom's +1's are the things they like, agree with, or want to recommend.
SwiftKey X Keyboard
market.android.com

Android typing has never been this easy. *** Global Mobile Awards Most Innovative App 2012 *** SwiftKey X Keyboard makes typing much easier

SPDY Book
spdybook.com

Early Access. Beta copies of SPDY Book are now available! Add to Cart. Buying now guarantees you access to the final copy of SPDY Book at no

The new Chromebook, for everyone
chrome.blogspot.com

As a kid growing up in India, I was fascinated with computers and the endless possibilities they presented. I had to wait until college to f

Chrome Experiments - "Code Editor" by Mr.doob
www.chromeexperiments.com

Little online (and offline) code editor for messing around. Needed an editor so I could code on ChromeOS during some days and this did the t

Seth Ladd's Blog: This is this in Dart
blog.sethladd.com

One of the things that&#39;s always confused me about JavaScript is the changing definition of this. This post will show how Dart avoids the