September 9, 2007 fun

I’m an “Uber Cool High Nerd”

September 1, 2007 money

20 Timeless Money Rules

Save yourself the Suzy whoever and read this instead:

  1. Be humble
  2. Take calculated risks
  3. Have an emergency fund
  4. Mix it up
  5. It’s the portfolio, stupid
  6. Average is the new best
  7. Practice patience
  8. Don’t time the market
  9. Be a cheapskate
  10. Don’t follow the crowd
  11. Buy low
  12. Invest abroad
  13. Keep perspective
  14. Just do it
  15. Borrow responsibly
  16. Talk to your spouse
  17. Exit gracefully
  18. Pay only your share
  19. Give wisely
  20. Keep money in its place

Following this advice will put you in the top 20% of investors in the world.

August 28, 2007 book

Programming WPF

Programming WPF

Programming WPF

By Ian Griffiths and Chris Sells

Order Yours Today!

Buy Programming WPF, 2nd edition today!

Table of Contents

  • Foreword (Don Box)
  • Foreword (ChrisAn)
  • Preface
  • 1: Hello, Avalon
  • 2: Applications & Settings
  • 3: Layout
  • 4: Input
  • 5: Controls
  • 6: Simple Data Binding
  • 7: Binding to List Data
  • 8: Styles
  • 9: Control Templates
  • 10: Windows & Dialogs
  • 11: Navigation
  • 12: Resources
  • 13: Graphics
  • 14: Documents
  • 15: Printing
  • 16: Animation & Media
  • 17: 3D
  • 18: Custom Controls
  • A: XAML
  • B: Interoperability
  • C: Multithreaded Programming
  • D: WPF Base Types
  • E: Silverlight (by Shawn Wildermuth)

Samples

Code samples

August 28, 2007 spout writing

“Programming WPF” (finally) shipping!

John Osborn of O’Reilly and Associates had this to say in my morning email:

Congratulations, guys. The book is printed and shipping! Just got my copy this morning and it looks great. A very substantial body of work, to say the least.

Thanks for all of your hard work on this project. Now to crank up the PR machine and make sure no book shelf is without a copy.”

Wahoo!

August 24, 2007 tools

Shawn has prepared Genghis v0.8

Shawn Wildermuth has prepared a v0.8 release of Genghis that includes a bunch of stuff that the folks that put the v0.6 release together dropped. The v0.8 release has all the good stuff from the v0.5 release and all the new stuff from the v0.6 release in a .NET 2.0 package.

Shawn’s really done all the work for Genghis since I came to Microsoft. Thanks, Shawn.

August 17, 2007 .net

Duck Typing for .NET!

For structural typing fans (and they’ll be more of you over time — trust me), David Meyer has posted a duck typing library for .NET. There are many reasons this is cool, but in summary, it allows for many of the dynamic features of languages like Python and Ruby to used used in any .NET language. Very cool.
August 17, 2007 spout writing

How to write a book - the short honest truth

I found this on digg.com and liked the short, honest style. Bottom line: anyone can write a book; it takes real work to write a good book.
August 14, 2007 spout writing

“How you doin’?”

I wanted to figure out how to emit a new CLR type at run-time using Reflection.Emit and Google revealed the following article: Generating Code at Run Time With Reflection.Emit in DDJ.As usual, I skip most of the initial prose to the first code sample (I don’t need some author’s fancy intro — I just want the code!). Then, I’m reading along and I find some phrases I enjoy, e.g.

If you plan on generating lots of calls to Console.WriteLine(), you should be aware that the ILGenerator class exposes a method for just that purpose: ILGenerator.EmitWriteLine() generates the exact same code as our example. (Could this be the first assembler ever devised that includes explicit support for creating Hello, World” sample programs?)”

and

When creating a dynamic assembly with Reflection.Emit, you must declare, ahead of time, what you plan on doing with it. Do you want to run it or save it? Or both? (Of course, if your answer is neither,’ then you should probably should have stopped reading this article long ago.)”

By the end of the piece, I’ve enjoyed the story and it told me exactly what I wanted and then some, pointing out some pitfalls I would’ve missed, being entertaining along the way. It’s rare that I enjoy an article so much and I’m thinking I should send the author an email, congratulating him/her on his/her tight, fun prose.

And then I get to the author bios:

Chris Sells is a blah blah blah.”

Shawn Van Ness is a blah blah blah.”

Of course, now I remember Shawn writing this piece and me helping him with the polish. At this point, I feel a bit like the Joey Tribbiani of Windows technical writing…


← Newer Entries Older Entries →