Remembering OS-9 on the CoCo
Syndicated 2012-01-22 21:19:00 (Updated 2012-01-22 21:19:40) from Dan Connolly
Name: Dan Connolly
Member since: 2000-07-11 16:05:27
Last Login: 2011-11-02 02:01:23
Homepage: http://www.madmode.com/
Notes:
I deal in open source and open standards. At work
I write software to support research. At W3C I did Web Architecture, HTML, HTTP, XML, URIs and the like. I hold a degree in Computer Science from U.T. Austin, but I started hacking when I was 13, and I think USENET (esp. comp.lang.*) was where I learned most of the good stuff... perhaps my favorite article is Re: Python, Tcl and
Perl, oh my! (was Re: tcl vs. perl) from 1996, in which I argue that the community around a language has more impact on code quality than the intrinsic features of the language.
I learned perl from tchrist in about 1990 while working at Convex. Hi kbob! I'm a pretty big fan of python, and I leaned a lot studying
scheme, and I'm a fan of the smalltalk culture... my WikiWiki bio tells more of the story.
I hang out in #swig channel when I'm
hacking. The swig
scratchpad is our weblog.
Remembering OS-9 on the CoCo
Syndicated 2012-01-22 21:19:00 (Updated 2012-01-22 21:19:40) from Dan Connolly
There’s a Better Way to Build a Smart TV | The Official Roku Blog
Syndicated 2012-01-21 08:34:00 (Updated 2012-01-21 08:34:59) from Dan Connolly
A big thanks for Web-iPhoto!
My wife does a photo shoot with the boys for the Christmas card each year. I wanted to share a digital copy of the photo, but our family photo archive is a mess, with N iPhoto albums on M macs and K backups on X linux boxes.
I know iPhoto is just JPG's and sqlite underneath, so it kills me that I can't just get at the photos with a web browser. I could code something up myself, but surely somebody has done it before, no? I've looked without luck before, but I guess I was using the wrong search terms. Today when I wished for "iphoto sqlite web server", lo! Merry Christmas to me!
Syndicated 2012-01-03 00:23:00 (Updated 2012-01-03 00:27:03) from Dan Connolly
Capability Security in E, coffescript, python, dart, and scala
A couple months ago, I inherited some Java code and took on the task of fixing a bug in it. The bug turned out to be a consequence of a silent failure; eek! And there were precious few tests and no way to test the parts without being connected to LDAP servers and SQL databases and such. This started me on an exploration of current best practices in testing. And since the job of this code was policy enforcement around patient data, I could finally justify getting my hands dirty with capability-based security. I discovered, as many others have, that both testability and security are well served by some of the same basic object-oriented techniques.
Dependency injection frameworks always smelled like overkill to me, but after watching Miško Hevery on testability, I was convinced. If you're in the mood for text rather than video, see his Guide: Writing Testable Code. Basically, instead of having some policy enforcement object constructor call an LDAP connection constructor, the policy enforcement object takes the LDAP connection as a constructor argument. "Don't call us; we'll call you" is a handy mnemonic. This lets you substitute a mock LDAP connection for testing.
It also forms patterns of cooperation without vulnerability.
For example, take a look at the simple money example in E and the underlying sealer/unsealer pattern.
I have been using these as an exercise to explore some of the recent programming language developments:
Dynamic languages are popular in large part because programmers can keep types latent in the code, with type checking done imperfectly (yet often more quickly and expressively) in the programmers’ heads and unit tests, and therefore programmers can do more with less code writing in a dynamic language than they could using a static language.The balance between static and dynamic languages also shows up in development tools. I had the eclipse with the Joe-E verifier, maven, and mercurial working all together at home one evening. The code really does just about write itself at that point. But when I tried to reproduce it at work, I got so frustrated that I retreated to emacs and python and looking up function arguments manually. The python version of the project has gotten complex enough that I'm starting to miss some of the whole-program consistency that Java tools give, but I'm getting by with a bottom-up approach: flymake, doctest, and the like.
Syndicated 2011-11-23 22:44:00 (Updated 2011-11-23 23:57:11) from Dan Connolly
Medical Informatics, Peer Review, and Open Access
Three issues of JAMIA just arrived, weighing not just on my desk but also on my mind: success is defined by my peers in my new field, medical informatics, as publication in a journal where the readers have to pay for access. After fifteen years as an Open Web advocate, this grates on me.
But I see that change is already underway. While JAMIA is the top journal that I hear about in the office so far, a quick trip to Wikipedia shows that it's second in impact to an open-access journal: Journal of Medical Internet Research.
Syndicated 2011-11-21 14:35:00 (Updated 2011-11-21 14:55:21) from Dan Connolly
connolly certified others as follows:
Others have certified connolly as follows:
[ Certification disabled because you're not logged in. ]
New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.
Keep up with the latest Advogato features by reading the Advogato status blog.
If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!