December 2009
22 posts
Sanity for your git workflow →
Dec 29th
“Separating layout and content is a mistake. Content should be inextricably...”
– Dustin Curtis
Dec 26th
3 tags
Arc style multipage webapps in Haskell →
Arc is a sort of dsl for writing webapps.
Dec 25th
1 tag
When can I use... →
Find out what technologies are usable for a set of browsers
Dec 24th
2 tags
Using .Net Expressions
One of the most powerfull parts of c# that totally went past me until a month or so ago, are Expressions. Simply put, if you create a lambda expression: Func<int,int> square = x => x*x You can call it as a function: square(2); //returns 4 But if you forecefully declare it as an expression: Expression<Func<int,int>> square = x => x*x You have created an...
Dec 24th
3 notes
2 tags
Fooling the c# compiler
Summary: Don’t cast to interfaces unless you really have to. Use var in a foreach loop. In my version of Visual Studio the code below will compile without a warning or error. However, it will throw a runtime exception. foreach ( IDictionary x in new List<IList>() ) { } To compare: the as-you-type-checker is smart enough to catch the sillyness of foreach ( IDictionary x in new...
Dec 23rd
Another leak, the worst so far →
Another leak, the worst so far (via). “Arweena, a spokes-elf for Santa Claus, admitted a few hours ago that the database posted at WikiLeaks yesterday is indeed the comprehensive 2009 list of…
Dec 22nd
Semantic Versioning →
A name and specification for a common versioning scheme. This allows you to say “In our project we use semantic versioning” and people will know what to expect.
Dec 21st
“I’m also going to maintain a ‘denormalisation dictionary’ documenting every...”
– Simon Willison
Dec 21st
“If you can’t focus on your core work […] due to a boundary of a given...”
– Frans Bouma
Dec 20th
A solid html parser →
@subroutine: I agree, it should be built in.
Dec 19th
2 notes
Silverlight 4 demos from my PDC Keynote now... →
Shared by Jauco The html youtube jigsaw is pretty impressive [In addition to blogging, I’m also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu] Last month I gave a Silverlight 4 keynote at the PDC conference. You can watch my keynote online
Dec 17th
Semantic Versioning →
Semantic Versioning. Tom Preston-Werner provides a name, specification and URL describing the relatively widely used Major.Minor.Patch versioning system. This is really useful—by giving something…
Dec 16th
Any() versus Count()  →
I know that I shouldn’t use count, but count() == 0 is just hardwired into my brain somewhere.
Dec 15th
“Sarcasm and the Internet work great together.”
– Drinian on hacker news
Dec 14th
1 tag
Richard Stallman, Linus Torvalds, and Donald Knuth engage in a discussion on whose impact on computer science was the greatest. Stallman: “God told me I have programmed the best editor in the world!” Torvalds: “Well, God told me that I have programmed the best operating system in the world!” Knuth: “Wait, wait, I never said that.”
Dec 13th
1 note
Crockford, webhosting, online dating, JSON, alert →
This is a fun story that has a security and performance point to it. Earlier today, Dion Almaer tweeted: Wow, Doug added an alert() to http://www.json.org/json2.js which just alerted a LOT of…
Dec 11th
Make Google Chrome Open with Permanently Pinned... →
Dec 11th
On Mono and C# 4.0 →
Dec 10th
John Resig - ECMAScript 5 Objects and Properties →
Dec 10th
My Presentations in Europe (December 2009) →
Shared by Jauco Had je vast al gezien, maar toch This past week I’ve been traveling around Europe giving a bunch of presentations (approximately 5 hours in each country) – Norway on Tuesday,…
Dec 7th
“Any sufficiently advanced damage control is indistinguishable from ethics”
– Eliezer
Dec 6th