Not magic, just a different kind of science.
Nonsense
Interesting thing of the day!
I've been working through the book Natural Language Processing with Python and I came across an extremely interesting fact: Names ending with the letter 'a' are female 38.3 times more often than male. Likewise, names ending with the letter 'k' are male 31.4 times more often than female.
MoreC# Musings...
I had a few ideas for C# constructs, so I thought I might as well write them down. Perhaps, some day, someone can tell me why these don't exist... Making Generics More Generic Several times I've been frustrated by the fact that Func<TResult> has a bunch of variants. Wouldn't it be cool it you could […]
MoreQuick Post: Currying Func (and variants)
I recently wanted to curry a Func (and variants). Here's how I ended up doing it: public static Func Curry<TCurried, TResult>(this Func<TCurried, TResult> fn, TCurried arg) { return () => fn(arg); } public static Func<T, TResult> Curry<TCurried, T, TResult>(this Func<TCurried, T, TResult> fn, TCurried arg) { return param => fn(arg, param); } public […]
MoreNot a Function
function myFunction(type:int):void { switch (type) { ... case AWESOME: { function doSomething():void { ... } ... doSomething(); } ... } }function myFunction(type:int):void { switch (type) { ... case AWESOME: { function doSomething():void { ... } ... doSomething(); } ... } } Error: doSomething is not a function.
MoreWeekend Update
I have so many blog posts in my head--Itsy updates, a spritesheet tool I've been working on, a neato Flash optimization I discovered, some thoughts on the current state of gaming--more stuff than I have time to write. In fact, I'm also pecking away at the novel I began writing in November. I may be […]
MoreCursory Observations on Cursors
I've been working in HTML5 a lot lately. No, I'm not a masochist, I'm simply curious (and now I can put buzzwords on my resume). You know what's pretty sick? Editing javascript while you're profiling it. But enough about one cool thing concerning an otherwise fractured standard. What has really been bugging me is that […]
MoreA coming of age story
There comes a time in every man's life where he decides to write a 175 page novel in under a month. For thegoldenmule, that time is here. Yes, the blog has been locked away in the rearward facing child's car-seat and NaNoWriMo has assumed the coveted mantle of shotgun. I've made it to day 14 so far […]
More