Alex Hoffman

Random thoughts and ramblings

Justin Etheredge's "The Static Spider Web Pattern" is classic.

See also (an) Introduction to Abject-Oriented Programming - http://typicalprogrammer.com/?p=8

Posted

System.Interactive EnumerableEx methods summary diagram, from Bart De Smet

A bunch of extensions to the LINQ Standard Query Operators for IEnumerable<T>

Posted

2010 productivity resolution: Never look at or read weblogs other than on weekends.

Posted

Seems that Gmail's send mail from another address without "on behalf of" feature can result in failed delivery.

I have received a lot of "535 SMTP AUTH failed with the remote server. (state 8)" delivery failures when attempting to use this feature.

Posted

.gitignore for .NET projects - Gist at GitHub

# .gitignore for .NET projects
# Thanks to Derick Bailey
# Additional Thanks to
# - Alexey Abramov

# Standard VS.NET and ReSharper Foo
obj
bin
*.csproj.user
*ReSharper*
*resharper*
*.suo
*.cache
* Thumbs.db

# Other useful stuff
*.bak
*.cache
*.log
*.swp
*.user
_compareTemp
_notes
aspnet_client
httpd.parse.errors

# Office Temp Files
~$*

# If you have a deploy folder
deploy
deploy/*

# Exclude ALL DLLs?
*.dll

Posted

Trouble installing MongoDB as a service on Windows? Try using the full path with the --install switch e.g. ...

c:\mypath\myfolder\mongod --install

Posted

Excellent Git cheat sheet by Zack Rusin

Posted

Reading Jason Meridth's Git for Win Developers series of blog posts. Highly recommended.

Posted

Solving my "to read" backlog

In my case, one of the consequences of having too many sources of information and not enough time, is an ever growing list of things "to read".  Previously, I used to store web links to articles and blog posts I needed to get to later.  However, I found I was only succeeding in producing an ever growing list of links that I never got to.

My solution has been to never save a link for something to read later, but to instead print the article.  There is something more compelling about something on real paper, and one can read them anywhere.

p.s. To support this, I recommend ditching the ink-jet printer and buying a black/white laser.  Much more efficient, and you can pick one up for less than $100 these days.

Posted

Appears LightSpeed ORM maps to backing field not property. Eliminates the whole DevExpress XPO IsLoading/IsSaving property fiasco.

Wouldn't be such an issue  in XPO if DevExpress could accurately document the circumstances under which IsLoading/IsSaving return true.  As it is now, it is non-deterministic, and can result in unexpected behaviour depending on the code one implements.

Posted