Profile

Cover photo
Brian Murphy-Dye
Works at SUMMIT Electric Supply Company, Inc.
Attended Eastern New Mexico University
Lives in Albuquerque, NM
40 followers|36,078 views
AboutPostsPhotosYouTube

Stream

Brian Murphy-Dye

Shared publicly  - 
 
Watching a pulse of light travel through a water bottle. Love it! NOW I've seen everything.
1
Add a comment...

Brian Murphy-Dye

Shared publicly  - 
 
> p3 = new Promise(function(resolve, reject){ resolve(3) })
Promise { 3 }
> pall = new Promise(function(resolve,reject){ resolve(p3) } )
Promise { Promise { 3 } }
> pall.then(v=>console.dir(JSON.stringify(v)))
Promise { <pending> }
> '3'

Expectation: v in the #then call would be the inner promise.

Surprise: #then apparently recurses through the promise until if finds a non-promise, in this case 3.
1
Brian Murphy-Dye's profile photo
 
Wondered if #then scraped more than one level of promises -- yep, this has promises nested three levels deep:

function p(promise){ return new Promise(function(resolve,reject){ resolve(promise) })}
// => undefined

p(p(p3))
// => Promise { Promise { Promise { 3 } } }

p(p(p(p3))).then(v=>console.log(JSON.stringify(v)))
// => Promise { <pending> }
// => 3
Add a comment...

Brian Murphy-Dye

Shared publicly  - 
 
Wow
The company's new algorithm could hold the key to next-gen AI
1
Add a comment...

Brian Murphy-Dye

Shared publicly  - 
 
Astounding sunset in Tel Aviv. Israel is a beautiful country. 
1
Add a comment...

Brian Murphy-Dye

Shared publicly  - 
 
With my fascination of the original City of David, the tour of the same name was my favorite. The gihon spring is under the tiled roof on the right. Behind me is the living quarters of people so rich they had latrines in the (tiny) four room homes!
1
Add a comment...

Brian Murphy-Dye

Shared publicly  - 
 
Fantastic article!
Patterns and modules help us design for mobile, but they’re not enough. Enter object mapping: a method for modeling information
1
Add a comment...

Brian Murphy-Dye

Shared publicly  - 
 
Thought provoking article ...
Aaron Sorkin's Steve Jobs movie has been sitting with me — or maybe I've been sitting with it — for a few days now. I think it's a pretty good play that was made into a pretty good movie even...
1
Add a comment...
Have him in circles
40 people
Rachel Bobka's profile photo
Angela Hulk's profile photo
Jennifer Murphy-Dye's profile photo
Chris Seigel's profile photo
Vincent Murphy-Dye's profile photo
Preston Chick's profile photo
Pharo Project's profile photo
Glenn Simoes's profile photo
Rachel Bobka's profile photo

Brian Murphy-Dye

Shared publicly  - 
 
Been playing with Clojure and ClojureScript this weekend. They rock! Feels like home.
1
Add a comment...

Brian Murphy-Dye

Shared publicly  - 
 
Winter is fun!
1
Add a comment...

Brian Murphy-Dye

Shared publicly  - 
1
Add a comment...

Brian Murphy-Dye

Shared publicly  - 
 
A view from our hotel room in Jerusalem. I think this is the mount of olives. Beautiful morning!
1
Add a comment...

Brian Murphy-Dye

Shared publicly  - 
 
This is useful for visualizing an existing codebase. A little scripting can build the uml class description from the codebase, and presto ...
1
Add a comment...
People
Have him in circles
40 people
Rachel Bobka's profile photo
Angela Hulk's profile photo
Jennifer Murphy-Dye's profile photo
Chris Seigel's profile photo
Vincent Murphy-Dye's profile photo
Preston Chick's profile photo
Pharo Project's profile photo
Glenn Simoes's profile photo
Rachel Bobka's profile photo
Collections Brian is following
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Albuquerque, NM
Previously
Portales, NM - Lenexa, KS
Links
Work
Occupation
Software developer
Employment
  • SUMMIT Electric Supply Company, Inc.
    Computer programmer, 2013 - present
Education
  • Eastern New Mexico University
    Math, Computer Science, Physics, 1978 - 1984
Basic Information
Gender
Male