Profile

Cover photo
Hamish McKenzie
303 followers|88,734 views
AboutPostsPhotosYouTubeReviews

Stream

 
Holy shit this is awesome! Could Elon Musk be any more awesome?!
 
All our patent are belong to you...
4
Hamish McKenzie's profile photoRobert Butterworth's profile photo
3 comments
 
I mean.. he does want electric cars to prevail over gas 
Add a comment...
 
I thought autodesk was going to fix the issue with python and undo. It still looks like I need to wrap everything what a "singleUndoChunk" decorator, is that right?
1
Add a comment...

Hamish McKenzie

commented on a video on YouTube.
Shared publicly  - 
 
Elon Musk and Salman Kahn, so much awesomeness in one room...
3
Add a comment...

Hamish McKenzie

Shared publicly  - 
 
git stash poop

makes me giggle every time...
1
Add a comment...

Hamish McKenzie

commented on a post on Blogger.
Shared publicly  - 
 
If you're interested, take a look at "baseMelUI" as part of the zootoolbox. It is a pretty mature implementation in the spirit of this post.

https://code.google.com/p/zootoolbox/source/browse/baseMelUI.py
1
Hamish McKenzie's profile photoSteve Theodore's profile photo
2 comments
 
In general I haven't worried too much about it. I just setup the selection change cb and the undo cb and that gives me the hooks to update the UI appropriately in most cases. Not all, but most.

It shouldn't be enormously difficult to setup a node wrapper base class to subscribe to the appropriate callbacks to update on scene node changes (attr change, parenting change, connectivity changes etc...)

But I've not bothered doing the work myself.

Not in maya anyway...
Add a comment...

Hamish McKenzie

Shared publicly  - 
 
Holy cow, thats awesome! And totally weirdly random too
 
Edges, Faces, and Vertices

In a survey by Mathematical Intelligencer, mathematicians ranked this as the second most beautiful formula in all of mathematics.

More than a geometric curiosity, its discovery in 1751 helped to launch the study of graphs, networks, and topology.

It is surprising that the ancient Greeks failed to find the formula. Euclid would have been delighted, although he may have had difficulty in proving it.
2
Add a comment...

Hamish McKenzie

Shared publicly  - 
 
Great debate (most of them are great) but this was one I was particularly interested in.  I'm actually a little surprised by the results.  The for team definitely did a great job, although I didn't think the against team did as poorly as the poll suggested.

And for the record, I'm in the against camp...
1
Add a comment...
Have him in circles
303 people
Erin McKenzie's profile photo
darren randall's profile photo

Hamish McKenzie

Shared publicly  - 
 
After ~18 months of developing almost entirely in C#, going back to writing code in python makes me feel naked...
4
Hamish McKenzie's profile photoRob Galanakis's profile photo
2 comments
 
you try telling that to the cops... Believe me it does not fly!
Add a comment...
 
Is it just me or is chrome turning into a piece of junk? I just tried to make a post with a photo from chrome. Chrome crashed when I dragged an image into the post and then it refused to open the file browser when I tried the upload button.

Tried it in IE and it worked flawlessly.
3
Hamish McKenzie's profile photoJason Barnidge's profile photoRob Galanakis's profile photo
3 comments
 
I only have one (disconnect search) and its been turned off for about a week now. It was turned off for the above fiasco anyway...
Add a comment...

Hamish McKenzie

Shared publicly  - 
 
I'm already a huge fan of Tesla motors (and Elon Musk for that matter) and the oatmeal, this is awesome of them both! Very cool!
 
!!!!
4
Robert Butterworth's profile photo
 
Yeah, just read that.. awesome sauce!!! nice work
Add a comment...

Hamish McKenzie

commented on a post on Blogger.
Shared publicly  - 
 
Checking sys.executable is possibly easier and more reliable. After all, the immediate caller might have the information you need - for example, it may be imported by a module that lives in a shared library that doesn't have "maya" in the path.

In the past I've solved this issue by setting up the sys.path correctly at maya/mobu load time so weird code hacks like this don't have to exist. Well, they do exist, but they're isolated to startup code, not actual tools.

Anyway, food for thought.
Sometimes you might need to find out where a module is being called from. For example if you have multiple different versions of a module and want to import the correct one, depending on what is calling that module. A quick G...
4
Dimitry Kachkovski's profile photoMatthew Lee's profile photoRob Galanakis's profile photoRobert Kist's profile photo
5 comments
 
The further away I've moved from checking things like this, the more robust my code has become. No tool or library should have to check; just try and import, and have some fallback behavior. Very occasionally, I need to check, but this is never at a library level.
Add a comment...
 
Interesting mini-doco.  Have a watch.  Kinda conspiracy theory-ish, but I can't help the feeling that it rings a little too true for my liking.  Any thoughts?
1
1
Hamish McKenzie's profile photoRyan Griffin's profile photo
2 comments
 
Excellent question...  I'm pretty sure someone will show up with the answer shortly.  Maybe?
Add a comment...
People
Have him in circles
303 people
Erin McKenzie's profile photo
darren randall's profile photo
Work
Occupation
Software Developer
Skills
C#, Python, Javascript etc...
Links
Contributor to
Story
Introduction
I'm a software developer currently looking for work in Brisbane.

In my spare time I love to hang out with my family, take photos, cook and read.
Basic Information
Gender
Male
Other names
macaroniKazoo
Was a fun night out. The picture was a bit blurry and dim, but its a fun affordable way to see a movie with the kids.
Appeal: GoodFacilities: GoodService: Good
Public - a year ago
reviewed a year ago
1 review
Map
Map
Map