Fuzzy Bits

Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration. (Stan Kelly-Bootle) That quote, which I saw by way of Jeff Atwood’s latest, reminds me of what may be my favorite Stan Kelly-Bootle story. Stan worked on the EDSAC which stored memory using what were called […]

I’ll Stand By You

It caught my eye that “I’ll Stand By You” by Carrie Underwood is the #2 single on iTunes. I clicked on the tune to hear the snippet (I won’t buy copy-protected music ever again, but I do like browsing…). Not to be harsh to Carrie Underwood, who has a lovely voice, but c’mon: covering Chrissie […]

Sun’s Fortress Language : Looks Very Well Designed

This is a rather daunting (124 slide) PDF on Sun’s “Fortress” programming language, designed in large part by <a href=”http://en.wikipedia.org/wiki/Guy_L._Steele%2c_Jr.”” target=”_blank” rel=”noopener noreferrer”>Guy Steele, which is designed for scientific / mathematical programming. It looks really good — lots of good decisions (take advantage of Unicode, traits and objects, implict and explicit parallelism… well, actually, making parallelism […]

Thread Creation Overhead Can Trip Up Pros

 Michael Seuss has a good blog piece on <a href=”http://www.thinkingparallel.com/2007/05/02/parallel-programming-fun-with-loop-carried-dependencies/”” target=”_blank” rel=”noopener noreferrer”>parallelizing code that contains loop-carried dependenciess, which is to say, code such as the following, where the calculation in one pass is dependent on a previous pass’ calculation. The moral of the story, though, is that even when run to the point where […]

Rails Forms With Auto-Hyperlink On FKs

Because I use primary_key_prefix_type = :table_name this did the trick for me. Basically, I just set up a hash mapping primary key column names (“InvoiceID” and the like) to the name of the appropriate controller (“invoice_admin”). When outputting a column, if the name of the column is contained in that hash, output a link. All […]