Profile

Cover photo
Mitchell Foley
Works at Google
Attended Rensselaer Polytechnic Institute
158 followers|26,936 views
AboutPostsPhotosVideos

Stream

 
(new Date(2013,2,10,2,30,0)).getTime()

Firefox: 1362900600000
Chrome: 1362897000000
Me: FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
1
3
Alexandre Genon's profile photoMitchell Foley's profile photoJulien JAKUBOWSKI's profile photoKrzysiek Głębowicz's profile photo
3 comments
 
It's a timezone / DST issue. Both browsers will behave differently depending on where you are and if your timezone has DST or not.
Add a comment...

Mitchell Foley

Shared publicly  - 
 
Hey look I'm on the internet.

I think slides are going to be posted somewhere on the I/O site. I'll reshare once they put them up.
6
2
Sam Xin's profile photoJohn A. Tamplin's profile photoMichael Inniss's profile photoMitchell Foley's profile photo
6 comments
 
Is the code available somewhere like Github? Or is it just a documented js api service? I ask more to get a sense of how active the project is. But it's also nice to work with open code :)
Add a comment...

Mitchell Foley

Shared publicly  - 
 
Hey look at this thing I'm going to do.
11
1
Xavi Ramirez's profile photoMitchell Foley's profile photoShauvik Roy Choudhary's profile photoJim Wilson's profile photo
3 comments
 
Can you please share your slides from the talk?
Add a comment...

Mitchell Foley

Shared publicly  - 
 
Today I learned about "pointer-events: none;", which is reasonably amazing.

Thanks to +Ned Burns , lord of CSS.
3
Xavi Ramirez's profile photoMitchell Foley's profile photo
2 comments
 
I have an SVG map. You click on a region, then on another region, and it draws an arrow between the two regions. I don't want the arrow to be clickable. I was about to draw an invisible mouse layer on top of everything when +Ned Burns showed me this.

It's something that will be on my github once I get a little further along.
Add a comment...

Mitchell Foley

Shared publicly  - 
 
Never give up on your dreams.
1
Add a comment...
Have him in circles
158 people
Dave Purrington's profile photo
Tom Rybka's profile photo
 
I did not expect this result. I thought the regex would have been much slower.
1
Rich Conlan's profile photoMitchell Foley's profile photoDaniel Lin's profile photo
4 comments
 
+Daniel Lin Clever! I like it!
Add a comment...

Mitchell Foley

Shared publicly  - 
 
We've been playing this game a bunch at work, and it's been a blast. I think we could easily play this over a hangout sometime. Any interest? It would probably only last ~45 minutes.

I'd write a quick program to email everyone their roles randomly. We'd have to all promise not to IM each other outside of the hangout. Everyone would accept or reject missions using paper they just hold up to the screen, and the secret voting could be done with an anonymous google docs poll.
3
Amelia Yu's profile photoMitchell Foley's profile photoNed Burns's profile photoKalin Mitchell's profile photo
9 comments
 
You guys should do it in person as well. :D It's a great game. 
Add a comment...

Mitchell Foley

Shared publicly  - 
 
I'm looking to start using a graph database, and so far I think neo4j and orient don't have what I'm looking for.

I need to be able to store an undirected, complete graph, where the edges store a number. I want to be able to search that graph with things like "starting at this node, give me the set of all nodes I can travel to only following edges with a value greater than n".

Searching for such a thing is hard, or maybe I just don't know the right terminology.

Ideas?
1
Mitchell Foley's profile photoJim Wilson's profile photo
7 comments
 
Since you're setting up the system from scratch, you could put something in front of the REST API - like a thin Node service. The shim would take note of the node being updated and inform a queue to rescan.

I don't know the context of the project, so all I can do is guess, but that might be a way to get started.

Another choice would be to use another system as the canonical source of data and use the graph as a sort of queriable index.

E.g. store the data in CouchDB and use its changes API to feed a graph database as well as a queue of work to rescan the graph to index the affected node list (or whatever it is you're trying to do).
Add a comment...

Mitchell Foley

Shared publicly  - 
 
So jQuery is absolutely terrible with SVG elements. It may have been too much of a pain to do it properly, which is understandable. Most of what I want to do is DOM traversal, which I would have expected to be pretty straightforward.

$elem.siblings('selector'); // doesn't work
$elem.parent().find('selector'); // works fine

$('<line x1="0" y1="0" x2="10" y2="10"/>'); // does not create a proper line element. somehow.

$elem.addClass('foo'); // doesn't work
elem.classList.add('foo'); // works fine (note elem isn't a jQuery object in this case)

Maybe I shouldn't be using jQuery at all for this, and just roll my own solution. Or find a jQuery plugin that does what I want.
1
Julián Caballero's profile photoMitchell Foley's profile photoJim Wilson's profile photo
7 comments
 
https://github.com/jquery/sizzle/pull/202 - I'll have you know that .children, .siblings, and others will work once this is pulled.

Hopefully I'll submit another patch soon for the other things I was complaining about.
Add a comment...

Mitchell Foley

Shared publicly  - 
 
These are things I've printed out with my receipt printer. I've been working on an android app that will print out random creatures so we can play Momir Basic and MoJhoSto.

Read these links if you're not familiar with the games:
http://www.starcitygames.com/magic/multiplayer/12118_The_Momir_Basic_Primer.html
http://www.gatheringmagic.com/mojhostos/

Still got some work to do, but we're getting there. It'll be done by PAX East.

http://github.com/walkingeyerobot/mojhosto

Also, a picture of a fluffy kitten.
1
Add a comment...

Mitchell Foley

Shared publicly  - 
 
I can't get my cards out if there is a fluffy kitten in the way.
4
Chris Lozaga's profile photo
 
If every box is labelled "misc" why label? Lol.
Add a comment...
People
Have him in circles
158 people
Dave Purrington's profile photo
Tom Rybka's profile photo
Education
  • Rensselaer Polytechnic Institute
    Computer Science, 2004 - 2008
Links
Contributor to
Work
Employment
  • Google
    Software Engineer, 2011 - present
Basic Information
Gender
Male