zacharyc
This is the website of zachary cohen (zacharyc). For information on the author check out the About page.
This is the website of zachary cohen (zacharyc). For information on the author check out the About page.
I’m a new C# programmer. I’m using it for a project at work. Doing an ASP.NET MVC project. So far I’ve been very happy with the language. It has some nice stuff built in. ASP.NET MVC is pretty nice too. It’s almost as easy to use as rails. So, all in all, I’m pretty happy, but today I ran into something stupid. I have a method that is trying to do a TryUpdateModel(model, new[] {"prop1", "prop2"}); call and my model wasn’t getting updated. I checked out the associated FormCollection and sure enough my values were in it. The problem was in how I was defining my model. ...
Here is a card from my mom sent from one of my favorite places, Newport, RI.
This is a great card from Mike and Kerry, sent while visiting a friend in Edinburgh.
I’ve been searching for pictures of myself that I really like. And while I have a couple from friends that I find rather fun: Anyway, I don’t have enough. And I’m vein. So this leads me to a self assigned project. The Self Portrait Photo Assignment. As with any assignment there are rules. Here are the rules. Have to take the photo yourself. Can’t buy additional camera equipment for this project. Can’t buy any special clothing Final product should be 5-10 different photos that are taken under different circumstances. Photos should reflect your character. I’m going to try to have my stuff done by December 1, 2010. Let me know if you want to join. ...
One of my friends, who will remain nameless for the purpose of this discussion, convinced me start playing around with a Microsoft Natural Ergo Keyboard 4000. I got one at work, then I bought one for the home and I’ve been pretty happy with it. There are just a couple of things missing from my standard mac keyboard. Firstly, on my old computer, I used to be able to hit the a keyboard combination to get my machine to sleep. I believe it was something like Cmd – Shft – Eject. Well, the Microsoft keyboard doesn’t have Eject. So I’m out of luck there. It does, however, have a set of buttons reserved for favorites. So I decided to code up a little AppleScript and bind it to one of these keys. Here’s the script, and I just saved it as an editable application. Then you can go into the preference pane for the keyboard and assign the whichever key you want to this script. Good luck. ...