Welcome to McFunley.com Sign in | Join | Faq

Most Recent Posts


elisp-ext.el

Well, if you use emacs long enough, eventually you realize that you have tens of thousands of lines of elisp lying around. I'm making a modest effort to dig myself out of this mess and what useful tidbits there are I will share with the world. Here is...
August 03, 2008 by Dan McKinley

Re: my supergod blogging ability

Occasionally, I write things for Etsy's news blog thingamajig, the Storque. If this site isn't enough excitement for you, you can see what I am doing over there by following this link. End communication. ...
June 05, 2008 by Dan McKinley

Rule of Thumb

So here's my method for determining whether or not a particular platform is worthwhile. I ask myself, "how would David Letterman summarize this?" I know this doesn't seem very scientific, but it's a mask I have years of experience wearing. Trust me on...
June 02, 2008 by Dan McKinley

Solitaire et Solidaire

...
April 30, 2008 by Dan McKinley

Some Photos of Brooklyn Renaissance

In front of City Hall, a man plays the steel drums in front of the ZipCar tent. Increased access to the birthright of every citizen (the automobile) was advocated. Free watermelon was served.Nearby a person reminds us (via bumper sticker) to drive safely,...
April 24, 2008 by Dan McKinley

Native Posix Python Condition Implementation

So I wrote this replacement version of Condition using the native posix support. Event and Semaphore are both written in terms of Condition, so you can use this as a fast route to getting native versions of those synchronization primitives. (Note, though,...
April 21, 2008 by Dan McKinley

Perhaps this is a sign of some kind

If I believed in that sort of thing, I would guess that it said "leave Alphabet City immediately."The explanation:The aftermath:tabo: is that the erlang book?dan: yes it isdan: good eyedan: it has pigeon shit on it nowThe Portable Atheist (that yellow...
April 16, 2008 by Dan McKinley

Haskell Mandelbrot Set

Some people sing carols every XXX-mas, I get bored and write the Mandelbrot Set program in whatever my favorite language happens to be that year. I thought the brevity of the output this year (Haskell) was kinda neat. import Graphics.UI.GLUTimport Control.Monadimport...
December 25, 2007 by Dan McKinley

How to debug Python in GDB

Although I haven't found this to be necessary nearly as often as Windbg was for me on Windows, it's still somewhat handy to be able to look at a Python daemon or multithreaded program in GDB. I've had to set this up a few times now, and I've forgotten...
October 19, 2007 by Dan McKinley

Feed Each Other

That site I have been working on in semi-secret for the last six or eight months is now live. Here it is:http://feedeachother.comExplanations, walkthroughs, etc. can all be found there.Most of the credit for this thing really goes to Udi Falkson, one...
September 26, 2007 by Dan McKinley

What is Dan doing?

Hey, by the way, the last post is likely to be my last Windows-oriented post for the forseeable future. I have recently quit the financial sector and will be starting a fantastically cool new job here in a few weeks. I no longer have a Windows machine...
September 01, 2007 by Dan McKinley

Why is my application hanging in weird places?

Here's a problem:You have an application that's hanging permanently or temporarily.The hang does not occur in any synchronization code that you have written yourself.You are writing a windows forms application, or any kind of application using COM interop....
September 01, 2007 by Dan McKinley

Disaster Movie on Orchard & Stanton

Hey, nifty, fake rocks (click for larger versions). I assume it's either related to this, or it's "Movie Where Manhattan Explodes #957." (They are getting less and less creative with the titles these days.) ...
July 31, 2007 by Dan McKinley

Crazy Hacker Tricks

Let me be the first to say that this is probably a really bad idea, unless you are very desperate.On the other hand, this was really fun to write.Today I wrote some code that patches the first few bytes of user32!MessageBoxExW, in order to keep a pesky...
July 26, 2007 by Dan McKinley

Is XAML an Elaborate Joke?

Don Box says:As a WPF user, I spend at least as much time reading and writing XAML as I do reading/writing C# code that does WPF-isms. I do spend a lot of time in C#, but little of it is WPF specific, which arguably is one of the strengths of WPF’s data/content...
April 29, 2007 by Dan McKinley

New MacBook Pro, Jealous?

I suppose I finally had enough of the carpal tunnel caused by typing '\' to delimit directories (yes, powershell helps a little, but not enough). Or, I decided I knew enough about Windows for now and needed to branch out.Or maybe I was just in a rut.Well,...
March 31, 2007 by Dan McKinley

Reverse Job Advertisement

I figured this was worth a shot.I am:Someone that has been hacking since childhood.Someone that has spent most of his Saturday doing problems in a Haskell textbook for fun.Someone that thinks programming is very similar to art, if one is sufficiently...
March 24, 2007 by Dan McKinley

I'll see you in hell, ATI

I hate you guys. Seriously, drop dead.SERVICE_NAME: ati hotkey poller        TYPE               : 110  WIN32_OWN_PROCESS                                  ...
March 10, 2007 by Dan McKinley

New Axe

That's my '65 Gibson on the left, and my new Martin HD-28V on the right. Plays like a dream. Click for a larger version....
February 25, 2007 by Dan McKinley

The reports of my madness may not be so exaggerated.

Sometimes I think my quest to get my functional programming skills up to snuff is turning me into a raving lunatic. I keep writing code that inflicts physical pain when kept to myself. Here's a fresh cut and paste out of my emacs:applyAll [] = idapplyAll...
February 19, 2007 by Dan McKinley

The Intellectual Condition of the English Barnacle

This excerpt is by the biologist J.B.S. Haldane. I looked this up after hearing about it anecdotally in The Ancestor's Tale:The barnacle, then, finds as great a difficulty in unifying its visual and tactile space as an astronomer in calculating the distances...
January 20, 2007 by Dan McKinley

Arbitrary List Mania

Here's a quick survey of my favorite books that I read in 2006. This accounts for maybe a sixth of the books that I read. That may be a high percentage, but I try not to read very many bad books. Life is much too short for that. This is in no particular...
January 01, 2007 by Dan McKinley

Settle Down, Folks

Only a small fraction of Windows Python programmers use emacs. I am a bit distressed that your article implies that Emacs is a pre-requisite for Python on Windows. Nothing could be further from the truth! "Yes, tragically, you will have to learn emacs...
December 04, 2006 by Dan McKinley

Setting up a Python Development Environment for the Ignorant Windows Programmer

Update: someone informs me that there's an eclipse plugin, which seems obvious in retrospect. I stand by this since I think emacs is a better editor, but, for those who don't know emacs that surely makes more sense.----Another update: see here.----I have...
December 02, 2006 by Dan McKinley

TLB to XML

I wrote a small program that generates xml from a type library. The type library can be a .tlb, or embedded as a resource in a PE (.dll, .ocx, .exe, etc).The source can be downloaded from here, or you can view it online here. It doesn't grab everything...
September 07, 2006 by Dan McKinley

Search



Posts by group



Bloggers



Syndication



Opml



Powered by Community Server, by Telligent Systems