blog

archive for the Digital Bridge category

Outside the Box

2 May 2006 at 3:12 pm
Categories: Digital Bridge

I’ve cre­ated a new blog, Out­side the Box, to replace this one.

This blog has moved

8 Apr 2006 at 4:09 pm
Categories: Digital Bridge

I’m going to retire this blog and post to my main blog, Top of the Moun­tains, instead, effec­tive immediately.

Boot camp

5 Apr 2006 at 8:00 am
Categories: Digital Bridge, Mac

I’ve hes­i­tated to post because I’m trying to move this blog to a dif­fer­ent loca­tion (and name), but this is good stuff: today Apple announced Boot Camp, which lets you install Win­dows XP on your Intel-​based Mac (and boot both OS X and Win­dows). Per­son­ally, I’d never use such a fea­ture because I don’t need or want Win­dows ever again, but I’m sure there are plenty of people out there to whom this’ll be a very nice fea­ture. Go Apple! :)

[tags]Mac, Win­dows, Apple, Boot Camp[/tags]

A temporary setback

31 Mar 2006 at 4:51 pm
Categories: Digital Bridge, Mac

(I hope.) So, my Power­book died yes­ter­day. Luck­ily I can still boot it in target disk mode and get all the data off, but it looks like it’s going to be out of the game. (Once I finish back­ing up I’ll run the hard­ware diag­nos­tic test and see what’s up.) At least there are Macs on campus that I can use, because oth­er­wise I think I’d go crazy.

On a side note, I don’t think I really like the name “Digital Bridge” any­more. All those “idges” rather bother me. So I’ll be renam­ing the site and redesign­ing the look. And hope­fully writ­ing better posts on a more fre­quent basis. (Con­sid­er­ing that the read­er­ship is still zero, I’m not doing so well on that front. :))

Seized by illness

18 Mar 2006 at 10:26 am
Categories: Digital Bridge

Well, it’s not that bad — just a huge headache, really achy bones, and loss of bal­ance — but it’s keep­ing me in bed. I’m not sure yet whether I’ll be able to get any­thing done today or if I’ll have to give in and sleep it all away. I hate wast­ing a whole day. ~sigh~ But as I don’t have much choice in the matter, I may as well accept my fate.

Brain candy

15 Mar 2006 at 8:36 am

Last night I stayed up late read­ing Learn­ing Python. Most of it was ordi­nary pro­gram­ming stuff — “This is a function” — but here are the three things that got me excited and almost gave me goose­bumps. First, being able to return tuples from a func­tion (so you can return mul­ti­ple values from a single func­tion). Wow. Second, map(), which lets you run a spec­i­fied func­tion on a list. (It’s equiv­a­lent to iter­at­ing through the list and call­ing the func­tion man­u­ally, but much cooler.) Third, lamb­das. Hmm, how can I describe lamb­das? In-​line func­tions? That’s not a very useful descrip­tion per se, but oh well. :) Appar­ently lamb­das are one of the things that make Lisp so cool, and I can see why. I’ve been read­ing about metapro­gram­ming and it looks quite inter­est­ing (and ESR men­tions it in his arti­cle, linked to in my last post). Yum. :)

I doubt I’ll ever go back to C now. :)

[tags]Python, Lisp[/tags]

Python goodness

14 Mar 2006 at 4:44 pm

The more I read about Python, the more I’m liking it. (See Eric S. Raymond’s Why Python?, for exam­ple.) I sup­pose that if I upgraded to Tiger, the bind­ing prob­lem I had would go away. So, if that does indeed happen, I sus­pect I’ll be doing most of my Mac devel­op­ment in Python rather than Objective-C. :)

[tags]Python, Mac, Objective-C[/tags]

Python around my neck

11 Mar 2006 at 11:35 pm

I’m sup­posed to be in bed (early meet­ing tomor­row morn­ing) but I fig­ured I’d quickly men­tion this. I down­loaded and installed PyObjC today and tried to get the sample pro­gram (from Apple’s web­site) work­ing, and I was so close, but for some reason my Xcode (1.5, on OS X 10.3.9) wouldn’t show the Aver­ager in the bind­ing tab of the info dialog. I’m pretty sure I fol­lowed the instruc­tions cor­rectly, and I even watched the Quick­time movie to double-​check that I was doing it right, but with no luck. Oh, and I down­loaded the project from their site and opened it and the info dialog said it was hooked to Aver­ager (for “value”) but when I expanded the value thingie, it went away and I was left with just “System Defaults” and the other one, which I can’t remem­ber at the moment. Anyway, I’m not sure what the source of the prob­lem is here, but I may just go back to Objective-C for now…

[tags]Python, PyObjC, Cocoa, Objective-C, Xcode[/tags]

Wordsmith

10 Mar 2006 at 1:14 pm

In my lin­guis­tics classes, we’re doing stuff with text processing/analysis soft­ware (like Word­Cruncher) that’s Windows-​only, and it’s a shame. How hard would it be to write a text analy­sis engine in Perl or Python and a fron­tend in PyObjC? It can’t be that hard… Per­haps I’ll use that as my learn­ing pro­gram for Python — start small and build up. So, the next ques­tion then is what text analy­sis soft­ware ought to do. There’s got to be a ton of dif­fer­ent ways to look at a text com­pu­ta­tion­ally — word­print analy­ses, sta­tis­tics of var­i­ous types, etc. The engine would also have to sup­port tag­ging the text, so you could say “This word is a verb, 3rd person sin­gu­lar present active indicative” or “This is a conjunction” or what­ever. I really only have expe­ri­ence with Word­Cruncher, but in my research class we looked at some Oxford tools a month or two ago which seemed to be the same sort of thing.

But in all real­ity, to make this project worth my time (and to keep my inter­est), it has to be some­thing I care about. Adding sta­tis­tics on end won’t cut it. So, what does it need to do to be useful? For me, it’d be nice to make a list of the top x (50 or 100 or 1000 or what­not) words in a text. For­eign lan­guage texts are impor­tant to me as well, and I can see this tool (let’s call it Word­smith for now) being of some use in prepar­ing texts for River­glen Press “publication.” In fact, that’s a good way to ensure that it will be useful, to me at least — focus it on help­ing with pro­duc­tion for River­glen Press. Excellent…

[tags]text pro­cess­ing, Mac, Word­Cruncher, Perl, Python, PyObjC[/tags]

Googleness

10 Mar 2006 at 11:35 am

Found a very inter­est­ing read today: Secret Out - How Google Ranks Web­sites. Now I’m won­der­ing if all those lan­guage links on Blank Slate are such a good idea after all…

[tags]Google[/tags]