Creating My Own Personal Hell is one freaky read about someone who fills every role in a project, yet can't seem to make "the customer" understand the constraints of time/effort on the end product. That is, cutting testing time will be counterbalanced by increasing bug-fixing time later. Increasing time on bug-fixes will be counterbalanced by decreasing the time available for implementing new features/builds/releases. And on and on...all the common tradeoffs that seem to be integral to any project, but magnified.
To some degree I can relate to the frustration of filling multiple roles, working as I do in small-shop, in-house software development, but I feel immensely grateful for the others on my team (not to mention the folks who man customer support).
Friday, June 22, 2007
Thursday, June 21, 2007
objectifying javascript
The more things change, the more things stay the same. The Javascript code for the Ajax project I've worked on (the same project that motivated me to make a set of functions for mapping data onto widgets) was giving me rude flashbacks to the line-numbered BASIC days of yore. Global variables and functions are the way I've always written my Javascript (didn't everybody?). I figured it didn't matter, as long as I kept everything straight in my head, and continually looked for opportunities to replace duplicated code with functions....but then my head asplode from the criss-crossing interdependencies between all the separate bits.
Luckily, there are some pages out there that demonstrate a possible way out of the mess. Javascript Refactoring for Safer Better Ajax serves as a great guide and template for moving globally-accessible procedural code to finely-structured, encapsulated object code. Those who are a little rusty may find it helpful to first read about the syntax of Javascript custom objects at the mozilla project's developer site, or wander through Douglas Crockford's Javascript site. Structure your Javascript! recommends the less intricate approach of placing functions into nested objects to achieve namespace emulation.
The path I chose was more or less a compromise. As much as possible, I tried to identify distinct parts or organizational units in my Ajax application code. Then, for each unit, I created a singular global object containing the associated variables and functions. In effect, I broke the code up into object "modules". "Module" is a better descriptor than "object", because there still are no constructors and no real use of "this", nor is anything even remotely private (other than the few function definitions I moved inside of other functions). In other words, the code has not so much been rewritten as reorganized or relabeled. Frankly, the code's sanity may not be much improved, but mine should be.
Luckily, there are some pages out there that demonstrate a possible way out of the mess. Javascript Refactoring for Safer Better Ajax serves as a great guide and template for moving globally-accessible procedural code to finely-structured, encapsulated object code. Those who are a little rusty may find it helpful to first read about the syntax of Javascript custom objects at the mozilla project's developer site, or wander through Douglas Crockford's Javascript site. Structure your Javascript! recommends the less intricate approach of placing functions into nested objects to achieve namespace emulation.
The path I chose was more or less a compromise. As much as possible, I tried to identify distinct parts or organizational units in my Ajax application code. Then, for each unit, I created a singular global object containing the associated variables and functions. In effect, I broke the code up into object "modules". "Module" is a better descriptor than "object", because there still are no constructors and no real use of "this", nor is anything even remotely private (other than the few function definitions I moved inside of other functions). In other words, the code has not so much been rewritten as reorganized or relabeled. Frankly, the code's sanity may not be much improved, but mine should be.
Tuesday, June 19, 2007
Python 3000 Status Update
Link here. I admit to not currently using any implementation of Python for work or play. Many months ago I experimented with Jython for some job tasks, but since then the night-and-day difference in momentum between the Jython and Groovy projects has led the decision-makers to prefer Groovy. Either way, most of the code I work on remains Java or C#.
Nevertheless, I'm glad to see Python 3000 is almost there, and just as glad to see that some of Python's little quirks will be corrected. As Guido explains, the changes are intended to make Python more pythonic! Die, '<>' operator, die!
Yay for Unicode support, with bonus points for properly crediting Java as the design inspiration. I wonder how restless the natives may become when they notice that Python 3000 has separate object hierarchies for streams and bytes, abstract base classes, "annotated" function signatures, "print" as a function...
Nevertheless, I'm glad to see Python 3000 is almost there, and just as glad to see that some of Python's little quirks will be corrected. As Guido explains, the changes are intended to make Python more pythonic! Die, '<>' operator, die!
Yay for Unicode support, with bonus points for properly crediting Java as the design inspiration. I wonder how restless the natives may become when they notice that Python 3000 has separate object hierarchies for streams and bytes, abstract base classes, "annotated" function signatures, "print" as a function...
Friday, June 08, 2007
Perl monkey
I was building up one of those *nix command pipelines that should never be underestimated (in this case a diff piped to grep piped to...), when I was reaching that threshold at which a one-line command blossoms into a full shell script.
Like a garage tinkerer who reaches for the trusty screwdriver, instead I broke out a Perl one-liner to do the task. A major contributor to the shape of Perl's often-lambasted cryptic syntax is its borrowing from sed, awk, and shell, not to mention the integrated regex (as some have said, Perl is "postmodern" or a "Swiss army chainsaw"). I'm not apologizing for it, but just stating the obvious once again.
Any-who, perl has three parameters that are helpful for these situations: -p for looping over lines from stdin and automatically printing out the final value of the "default variable" $_, -e for specifying the code to execute (within single quotes - use hairy regular expressions or multiple statements separated by ; at your code maintenance peril!), and -a for "auto-splitting" the input line into the list @F. Combine the three and you get "perl -ape". Thank you, my Perl monkey, for helping me get my work done. Even if you can be messy, at least you're trainable.
Like a garage tinkerer who reaches for the trusty screwdriver, instead I broke out a Perl one-liner to do the task. A major contributor to the shape of Perl's often-lambasted cryptic syntax is its borrowing from sed, awk, and shell, not to mention the integrated regex (as some have said, Perl is "postmodern" or a "Swiss army chainsaw"). I'm not apologizing for it, but just stating the obvious once again.
Any-who, perl has three parameters that are helpful for these situations: -p for looping over lines from stdin and automatically printing out the final value of the "default variable" $_, -e for specifying the code to execute (within single quotes - use hairy regular expressions or multiple statements separated by ; at your code maintenance peril!), and -a for "auto-splitting" the input line into the list @F. Combine the three and you get "perl -ape". Thank you, my Perl monkey, for helping me get my work done. Even if you can be messy, at least you're trainable.
Wednesday, June 06, 2007
impressions of Star Wars: Sacrifice
In the Legacy of the Force series, Sacrifice is an obvious turning point. To say this book has some significant plot developments would be an understatement. My motivation to finish it was so strong that I kept coming back to it (generally, I'm not the type who reads for hours and hours at a time). Inhaling such heady material so rapidly has produced some strong impressions.
The primary point, that hardly bears mentioning, is that this is a book by Traviss. The three authors who are collaborating on the Legacy of the Force books are in a rotation. For me, the mental sensation is akin to watching a shape turn in mid-air to sequentially expose each of its faces. If Allston is writing, there will be some humor to the proceedings, space battles, and Wedge and Corran. If Denning is writing, there will be probably be a load of references to the Dark Nest books and a good all-around balance between descriptions of the action and corresponding character introspection. If Traviss is writing, there will be Boba Fett and Mandalorians, conciseness, and musings about the gray area between good and evil. But that doesn't mean I have to like it.
Emperor's black bones, there's a lot of musings on moral ambiguity. It got so old. Every kriffing character in the book had to have a moment of thinking, "I'm so unsure of what to do. Formerly I had a childlike clarity of what separates right from wrong, but after enduring moral dilemma [fill in the blank], I got confused. Maybe after I undergo painful situation [fill in the blank], I'll abruptly shift into passionate, unreflective certainty." Yes, we get it, a sense of innocence is fragile. Adults sometimes do squeamish things for the greater good. In the Expanded Universe, the characters have gone through incredible tragedy. Now can we switch back to the Star Wars in which the characters exhibit fairly good-natured gallows humor instead of jaded quips? (I suppose for Mara, some sharp words are normal. But shouldn't the Jedi Council talk formally like a Jedi Council?)
I knew there'd be more Fett and Mandalorians, just not this way. Although those scenes give the book some touching moments, I have trouble viewing them as anything other than interlopers, or pages that fell out of another book into this one. Including authentic Mandalorian words in the text is an annoying practice. How odd is it that in this book the main characters seem to discuss Fett and/or Mandalorians surprisingly often, but in pretty much every other Star Wars book they, well, don't? About as odd as Han Solo and Alema Rar having more or less cameo appearances.
The dialogue otherwise bugged me in a few places, but I'll concede these are minor nitpicks. I still insist that Star Wars characters should not live or talk too similarly to the reader. "'Freshers need a good clean. Here's a toothbrush", for instance, is too close to reality. So are certain idioms, like "There's anger, and then there's being controlled by it - not seeing the forest for the trees", and "even if that cousin was a grade-A scumbag". Too many references to, or even quotes from, the original trilogy movies is also an excellent way to tear me out of the story (I seem to remember the line "no disintegrations" coming into play in one of Fett's scenes). This is the Legacy of the Force book series. Decades have passed in the timeline. Let it go.
Something I can appreciate is when a story has important deaths. If the title doesn't give it away, this book has a few. Undoubtedly, a tragic tone fits some parts quite well. A memorable image in my mind is the description of a "gel" droid designed to both look and act like a specific person for realistic target practice. The droid sustains a hit, reacts like a person...then self-repairs and clambers back upright. After many such cycles, it struggles helplessly to get back up again. Creepy.
Apart from deaths, the continuing series storyline moves along via a power shift. Audaciously, the shift occurs with apparently minimal disruption to all involved! I found this fascinating. People working within the law, preserving the peace, but simultaneously making power grabs. I suppose it makes sense from the point of view of cost-effectiveness. Why replace something when one can just appropriate it? Why demand allegiance when one can just fabricate legitimacy?
Something else that surprised me was the elaboration of the Niathal character, whom I enjoyed more and more as the book proceeded. I think it's fitting that someone who interacts with Jacen so much should take on more dimension, both because of being in the book's "spotlight" and her role of acting as a counterpoint to him. My hope is their personal interactions will become complex and nuanced (wheels within wheels, etc.) and not degenerate into a simpler form.
Maybe my favorite quality of Sacrifice was its resolute movement forward; ignoring the Mandalorian detours, I seldom felt like I was reading filler. Each chapter propelled me to the next. It was a fun ride, but be prepared for the bumps.
The primary point, that hardly bears mentioning, is that this is a book by Traviss. The three authors who are collaborating on the Legacy of the Force books are in a rotation. For me, the mental sensation is akin to watching a shape turn in mid-air to sequentially expose each of its faces. If Allston is writing, there will be some humor to the proceedings, space battles, and Wedge and Corran. If Denning is writing, there will be probably be a load of references to the Dark Nest books and a good all-around balance between descriptions of the action and corresponding character introspection. If Traviss is writing, there will be Boba Fett and Mandalorians, conciseness, and musings about the gray area between good and evil. But that doesn't mean I have to like it.
Emperor's black bones, there's a lot of musings on moral ambiguity. It got so old. Every kriffing character in the book had to have a moment of thinking, "I'm so unsure of what to do. Formerly I had a childlike clarity of what separates right from wrong, but after enduring moral dilemma [fill in the blank], I got confused. Maybe after I undergo painful situation [fill in the blank], I'll abruptly shift into passionate, unreflective certainty." Yes, we get it, a sense of innocence is fragile. Adults sometimes do squeamish things for the greater good. In the Expanded Universe, the characters have gone through incredible tragedy. Now can we switch back to the Star Wars in which the characters exhibit fairly good-natured gallows humor instead of jaded quips? (I suppose for Mara, some sharp words are normal. But shouldn't the Jedi Council talk formally like a Jedi Council?)
I knew there'd be more Fett and Mandalorians, just not this way. Although those scenes give the book some touching moments, I have trouble viewing them as anything other than interlopers, or pages that fell out of another book into this one. Including authentic Mandalorian words in the text is an annoying practice. How odd is it that in this book the main characters seem to discuss Fett and/or Mandalorians surprisingly often, but in pretty much every other Star Wars book they, well, don't? About as odd as Han Solo and Alema Rar having more or less cameo appearances.
The dialogue otherwise bugged me in a few places, but I'll concede these are minor nitpicks. I still insist that Star Wars characters should not live or talk too similarly to the reader. "'Freshers need a good clean. Here's a toothbrush", for instance, is too close to reality. So are certain idioms, like "There's anger, and then there's being controlled by it - not seeing the forest for the trees", and "even if that cousin was a grade-A scumbag". Too many references to, or even quotes from, the original trilogy movies is also an excellent way to tear me out of the story (I seem to remember the line "no disintegrations" coming into play in one of Fett's scenes). This is the Legacy of the Force book series. Decades have passed in the timeline. Let it go.
Something I can appreciate is when a story has important deaths. If the title doesn't give it away, this book has a few. Undoubtedly, a tragic tone fits some parts quite well. A memorable image in my mind is the description of a "gel" droid designed to both look and act like a specific person for realistic target practice. The droid sustains a hit, reacts like a person...then self-repairs and clambers back upright. After many such cycles, it struggles helplessly to get back up again. Creepy.
Apart from deaths, the continuing series storyline moves along via a power shift. Audaciously, the shift occurs with apparently minimal disruption to all involved! I found this fascinating. People working within the law, preserving the peace, but simultaneously making power grabs. I suppose it makes sense from the point of view of cost-effectiveness. Why replace something when one can just appropriate it? Why demand allegiance when one can just fabricate legitimacy?
Something else that surprised me was the elaboration of the Niathal character, whom I enjoyed more and more as the book proceeded. I think it's fitting that someone who interacts with Jacen so much should take on more dimension, both because of being in the book's "spotlight" and her role of acting as a counterpoint to him. My hope is their personal interactions will become complex and nuanced (wheels within wheels, etc.) and not degenerate into a simpler form.
Maybe my favorite quality of Sacrifice was its resolute movement forward; ignoring the Mandalorian detours, I seldom felt like I was reading filler. Each chapter propelled me to the next. It was a fun ride, but be prepared for the bumps.
Sunday, June 03, 2007
code hygiene
A blog entry about code reuse through "recontexting" used the term "hygienic code", and I must admit that it left me confused at first. One of the comments asked for clarification. The meaning of "hygienic code", expressed in a follow-up comment, was "Hygienic code does exactly the task at hand, without introducing anything extraneous. As an example, rigorous application of AOP can be pretty hygienic, if all cross-cutting concerns can be implemented as aspects."
My confusion arose out of the way that I understand the definition of a hygienic macro, because recontexting appeared to do the opposite. (Side comment: I seem to recall reading once that un-hygienic macros, while harder to use, can accomplish particular tricks easier than hygienic macros). If code is hygienic when the reused code (whether macro or function) and the context code have no side-effect transformations of variables, then shouldn't it therefore not be hygienic when code undergoes recontexting, where recontexting consists of directly changing the meaning of a symbol in the reused code? Maybe this is what the blog author is alluding to in a later follow-up comment: "And, BTW, all of these approaches [OO, dependency injection, "hygienic"] have been criticized for their reliance on runtime black magic." Code that runs differently depending on context (as opposed to parameterized code that runs differently depending on arguments passed in) can be harder to trace. It's not that far removed in actuality from code that refers to global variables.
On the other hand, as the blog entry says, recontexting code has the unenviable goal of trying to reuse code without 1) originally writing the code to be reusable, or even 2) modifying the code at the time of reuse to be reusable. Also, the fact that the context is explicitly treated as a code configuration setting (reminiscent of an application.xml) makes it more acceptable to me than, for instance, a procedure that loads a class at runtime, changes it five ways, then passes the class (probably an instance, actually) to another procedure. I prefer to not take dogmatic stances on software development, but instead loudly point out the tradeoffs.
It's amazing how code can morph when one throws strict (compile-time or run-time) code contracts out the window.
My confusion arose out of the way that I understand the definition of a hygienic macro, because recontexting appeared to do the opposite. (Side comment: I seem to recall reading once that un-hygienic macros, while harder to use, can accomplish particular tricks easier than hygienic macros). If code is hygienic when the reused code (whether macro or function) and the context code have no side-effect transformations of variables, then shouldn't it therefore not be hygienic when code undergoes recontexting, where recontexting consists of directly changing the meaning of a symbol in the reused code? Maybe this is what the blog author is alluding to in a later follow-up comment: "And, BTW, all of these approaches [OO, dependency injection, "hygienic"] have been criticized for their reliance on runtime black magic." Code that runs differently depending on context (as opposed to parameterized code that runs differently depending on arguments passed in) can be harder to trace. It's not that far removed in actuality from code that refers to global variables.
On the other hand, as the blog entry says, recontexting code has the unenviable goal of trying to reuse code without 1) originally writing the code to be reusable, or even 2) modifying the code at the time of reuse to be reusable. Also, the fact that the context is explicitly treated as a code configuration setting (reminiscent of an application.xml) makes it more acceptable to me than, for instance, a procedure that loads a class at runtime, changes it five ways, then passes the class (probably an instance, actually) to another procedure. I prefer to not take dogmatic stances on software development, but instead loudly point out the tradeoffs.
It's amazing how code can morph when one throws strict (compile-time or run-time) code contracts out the window.
Thursday, May 24, 2007
disjointed thoughts about the Lost season 3 finale
My overall experience with the Lost season 3 finale was strangely metamorphic. While I was watching, I was entranced. Saying or thinking "wha?!" got so repetitive that by the end I was numb to it. "Ben knows they're going to the tower!...oh, he's only taking Alex along with him." "Charlie's been captured!...oh, Desmond came in to save him." "Sayid's dead!...oh, it was faked." "Sawyer and Juliet are going to ambush the Others without weapons!...oh, Hurley just drove a VW van in." "Whoa, according to the flashback Jack and Kate met before the plan crash!...this flashback takes place in the future when they're off the island!!!" Okay, that last one doesn't fit the pattern.
Oddly enough, maybe the biggest surprise for me was that Naomi was not sent by Penelope Widmore. From the previous episode, Desmond's premonition of Claire getting into a helicopter had already tipped me to the "one or more of them will be rescued" reveal. Ditto for Charlie's bucket-kick, of course. And regardless of what else would happen, I think pretty much everybody had assumed Locke would survive (but recovering so much in so short a timespan was literally incredible). The "who does Naomi work for?" question is the next Big Question for me. That, and "when will another woman show up with an English accent?" because it excites me to an unwholesome degree.
Then again, Lost needs more mysteries like web browsers and email clients need more security holes. The next time Walt appears out of nowhere, someone needs to put a leash on him or hang a bell around his neck, before demanding some answers. Remember back to first season, when Locke said "Walt, do you want to know a secret?" (immediately prior to the shot cutting away) and when Locke appeared to take a special interest in spending time with Walt, teaching him certain skills like throwing knives into trees? Did you notice Ben saying the word "temple" in this episode? Have you noticed Richard closely interacting with Ben, both in Ben's flashback story and in the present? A fixed timeline for the remaining episodes is a good thing, because the important Secrets can be systematically exposed rather than kept hidden to protect the show's lifeblood.
People may complain, or even stop watching, because the events on screen aren't perfectly clear. Those people shouldn't be watching Lost because they don't appreciate it for what it is. You know how life is often mysterious, its answers are often ambiguous, and each step forward leads to new challenges? Lost is sorta like that, if you hadn't noticed. Patience and contentment with not having absolute knowledge are two essential skills. As I keep repeating, fictional shows can be escapist in some ways but in other ways all too relevant to be comfortable.
Enough of that thinking stuff. How about those beat-downs? Jack letting loose on Ben (I couldn't help comparing it to when Jack was advocating restraint in interrogating "Henry Gale" in season two), exploding tents, someone getting hit with a van, etc. The action quota almost shamed 24. Two people deserve to be singled out. As Sayid was sitting down, arms bound, he destroyed someone using his legs. Close to Bauer-worthy, if not there - I can't recall if Bauer has performed that move or something similar.
Then there's Mikhail, who has been remarkably visible in the later part of the season. The guy's so nuts, even Ben couldn't help muttering "don't shoot us" as he approached Mikhail's place. The eyepatch seemed to be a bit much at first, but I think he since proved that he's the eyepatch type. Convincing him to shoot his comrades is a pretty easy task, isn't it? I wouldn't want to share bunks with him. One would think the wound he sustained in this episode would stop him, but there he was at the end, using a grenade to flood the underwater station. If Ben is Lost's king of creepy, Mikhail was Lost's king of berserk. It's unfortunate he killed Greta, played by Lana Parrilla, who I wanted to see much more of. Lana was in season four of 24, by the way, as a CTU desk person who didn't last the entire time.
I'm aware not all episodes can be season finales and openers. But nevertheless, here's hoping the story arcs of season four progress with more rapidity and steadiness than those of season three. Also, here's hoping Jack won't have to act through a beard again for a long time.
Oddly enough, maybe the biggest surprise for me was that Naomi was not sent by Penelope Widmore. From the previous episode, Desmond's premonition of Claire getting into a helicopter had already tipped me to the "one or more of them will be rescued" reveal. Ditto for Charlie's bucket-kick, of course. And regardless of what else would happen, I think pretty much everybody had assumed Locke would survive (but recovering so much in so short a timespan was literally incredible). The "who does Naomi work for?" question is the next Big Question for me. That, and "when will another woman show up with an English accent?" because it excites me to an unwholesome degree.
Then again, Lost needs more mysteries like web browsers and email clients need more security holes. The next time Walt appears out of nowhere, someone needs to put a leash on him or hang a bell around his neck, before demanding some answers. Remember back to first season, when Locke said "Walt, do you want to know a secret?" (immediately prior to the shot cutting away) and when Locke appeared to take a special interest in spending time with Walt, teaching him certain skills like throwing knives into trees? Did you notice Ben saying the word "temple" in this episode? Have you noticed Richard closely interacting with Ben, both in Ben's flashback story and in the present? A fixed timeline for the remaining episodes is a good thing, because the important Secrets can be systematically exposed rather than kept hidden to protect the show's lifeblood.
People may complain, or even stop watching, because the events on screen aren't perfectly clear. Those people shouldn't be watching Lost because they don't appreciate it for what it is. You know how life is often mysterious, its answers are often ambiguous, and each step forward leads to new challenges? Lost is sorta like that, if you hadn't noticed. Patience and contentment with not having absolute knowledge are two essential skills. As I keep repeating, fictional shows can be escapist in some ways but in other ways all too relevant to be comfortable.
Enough of that thinking stuff. How about those beat-downs? Jack letting loose on Ben (I couldn't help comparing it to when Jack was advocating restraint in interrogating "Henry Gale" in season two), exploding tents, someone getting hit with a van, etc. The action quota almost shamed 24. Two people deserve to be singled out. As Sayid was sitting down, arms bound, he destroyed someone using his legs. Close to Bauer-worthy, if not there - I can't recall if Bauer has performed that move or something similar.
Then there's Mikhail, who has been remarkably visible in the later part of the season. The guy's so nuts, even Ben couldn't help muttering "don't shoot us" as he approached Mikhail's place. The eyepatch seemed to be a bit much at first, but I think he since proved that he's the eyepatch type. Convincing him to shoot his comrades is a pretty easy task, isn't it? I wouldn't want to share bunks with him. One would think the wound he sustained in this episode would stop him, but there he was at the end, using a grenade to flood the underwater station. If Ben is Lost's king of creepy, Mikhail was Lost's king of berserk. It's unfortunate he killed Greta, played by Lana Parrilla, who I wanted to see much more of. Lana was in season four of 24, by the way, as a CTU desk person who didn't last the entire time.
I'm aware not all episodes can be season finales and openers. But nevertheless, here's hoping the story arcs of season four progress with more rapidity and steadiness than those of season three. Also, here's hoping Jack won't have to act through a beard again for a long time.
Monday, May 21, 2007
DSL or API?
Consider this post to have the second function of a "pulse post", a post that proves the blog isn't dead yet. I could trot out numerous unconvincing excuses for my neglect, but I think I have the ultimate one: I haven't had anything sufficiently interesting, both to me to motivate the writing and, I daresay, to readers to motivate the reading.
Moving along...this ten question checklist for distinguishing a DSL from an API made me chuckle repeatedly. Is "DSL" a byword I missed? Hey, if Rails proponents can post "Hi, I'm Ruby on Rails" clips (spoofing the way Java development was done a few years ago), I think this is fair game.
Moving along...this ten question checklist for distinguishing a DSL from an API made me chuckle repeatedly. Is "DSL" a byword I missed? Hey, if Rails proponents can post "Hi, I'm Ruby on Rails" clips (spoofing the way Java development was done a few years ago), I think this is fair game.
Saturday, May 05, 2007
with our combined strength we can end this destructive conflict
I haven't written a .Net-related entry for months, simply because I haven't had anything noteworthy to write. The last time I even opened up a F# code file was about as long ago. (But the "Active Patterns" are interesting.)
The DLR seems like a fascinating idea, though: a common runtime/implementation abstraction layer for dynamically-typed languages, similar to the CLR and JVM for statically-typed languages. Hmm, sounds familiar...oh, Parrot. Microsoft does seem to end up creating doppelgangers for everything, doesn't it? A monoculture just has to stay competitive, y'know.
Kidding aside, according to the linked blog post by Jim Hugunin (who has Jython and IronPython cred), the code is under a "BSD-style" license. I'm not great at legalese, so I can't comment on what the specific license precisely allows/enforces. If Microsoft keeps paying talented folks to produce good shtuff that doesn't lead to vendor lock-in, I find it hard to complain. Conflict is overrated. Yet the lack of specifications and fully-functional alternative implementations for important .Net pieces, like ASP.Net, gives me the willies.
The DLR seems like a fascinating idea, though: a common runtime/implementation abstraction layer for dynamically-typed languages, similar to the CLR and JVM for statically-typed languages. Hmm, sounds familiar...oh, Parrot. Microsoft does seem to end up creating doppelgangers for everything, doesn't it? A monoculture just has to stay competitive, y'know.
Kidding aside, according to the linked blog post by Jim Hugunin (who has Jython and IronPython cred), the code is under a "BSD-style" license. I'm not great at legalese, so I can't comment on what the specific license precisely allows/enforces. If Microsoft keeps paying talented folks to produce good shtuff that doesn't lead to vendor lock-in, I find it hard to complain. Conflict is overrated. Yet the lack of specifications and fully-functional alternative implementations for important .Net pieces, like ASP.Net, gives me the willies.
Wednesday, May 02, 2007
stating the obvious about digg and HD-DVD encryption
Here's the reply from Digg to all of the users who protested the removal of stories containing the HD-DVD encryption key.
Maybe I'm out of touch with the majority on this topic, but I hope the following points are obvious or at least clearly need refuting:
Maybe I'm out of touch with the majority on this topic, but I hope the following points are obvious or at least clearly need refuting:
- The law is on the side of those who requested the removal of the key. Even if this specific situation is merely iffy in legal terms, the best course is to not flirt with it. Not liking a law doesn't give one the right to break it or find creative loopholes. (On the other hand, laws that really are unjust may demand such drastic action in service to a just cause.) Changing the system from within, instead of acting outside it altogether, is one of the characteristics of a responsible citizen.
- Digg isn't obligated to let anything onto the site. Digg isn't an arm of the government, which means it can suppress speech as much it wants. Moreover, Digg can demand that users agree to its terms. Digg is not a public forum.
- Censorship is one of those curious entities that change shape when each person considers it. Someone who complains about censorship is likely complaining about the suppression of speech he or she likes, and someone who doesn't complain about censorship is likely not complaining about the suppression of speech he or she dislikes. I don't know that this observation implies anything, but I thought I should mention censorship's relativity.
- It's ridiculous to argue that since it's futile to keep an easily-copied secret absolutely hidden once it's revealed, then the secret can and should be published and shared wherever and whenever. "Oh, some toxic gas has escaped. Might as well turn on a fan!" In general, I admit to being confused when people assert that (digital) information, whether that information encodes works of art or engineering, should never have an enforced, associated price. If the work encoded by the information had a cost of production, and the producer intends to earn a profit (arguing that people who produce information should never earn a profit is a separate issue), doesn't it make economic sense to reflect that value in the price? Now, when the same producer charges me twice for the same work, merely so I can obtain a different digital encoding of the work...I don't agree with that.
Subscribe to:
Posts (Atom)