Saturday, September 30, 2006
Friday, September 29, 2006
Tuesday, September 26, 2006
Monday, September 25, 2006
Red State Rabble: Subtle Distinctions
Red State Rabble: Subtle Distinctions:
The difference is actually pretty simple: the holy roller wants to go to heaven and the Unitarian would rather go to a discussion about heaven.
Dawkins, it seems, is the sort of man who can see quite clearly how the multitude of species we see around us today descended from a common ancestor -- something that requires both sound judgement and the ability to make fine distinctions -- but he can't tell the difference between a holy roller and a Unitarian.
The difference is actually pretty simple: the holy roller wants to go to heaven and the Unitarian would rather go to a discussion about heaven.
Friday, September 22, 2006
Religion Clause: 9th Circuit OK's Exclusion Of Worship Services From Library Rooms
Religion Clause: 9th Circuit OK's Exclusion Of Worship Services From Library Rooms: "Yesterday in Faith Center Church Evangelistic Ministries v. Glover, (9th Cir., Sept. 20, 2006), a 3-judge panel in the 9th Circuit wrote 3 opinions, and by a vote of 2-1 decided that a Contra Costa County public library could make its meeting rooms available for 'meetings, programs, or activities of educational, cultural or community interest', while excluding their use for 'religious services'. "
The Volokh Conspiracy - Fred Goldman's Attempt to Seize O.J.'s Right of Publicity:
The Volokh Conspiracy - Fred Goldman's Attempt to Seize O.J.'s Right of Publicity:: "The theory is simple: O.J. owes Goldman, according to the Complaint, $38 million (the original $19 million wrongful death award plus interest). O.J. has a valuable asset -- his right of publicity, which is to say the right to distribute merchandising containing his name, likeness, signature, voice, and the like (e.g., autographs, T-shirts, coffee mugs, and the like), the right to license these items for merchandising, and the right to license these items for advertising. Goldman, the theory goes, may therefore seize the asset to help satisfy the judgment, just like he could seize real estate, tangible property, patents, copyrights, and the like."
Thursday, September 21, 2006
SCOTUSblog: Ruling: senator cannot be military judge, too
SCOTUSblog: Ruling: senator cannot be military judge, too: "The highest court in the military judiciary, the U.S. Court of Appeals for the Armed Forces, on Wednesday barred a U.S. senator from sitting on a military appeals court that decides criminal cases. By a vote of 4-1, the Court found unconstitutional the dual role of Lindsey O. Graham as a senator (Republican from South Carolina) and as a reserve officer sitting on the Air Force Court of Criminal Appeals."
Wednesday, September 20, 2006
Religious Liberty Archive : Rothgerber Johnson & Lyons LLP, Colorado Springs, CO - State and federal laws pertaining to religious freedom in the Unite
Religious Liberty Archive : Rothgerber Johnson & Lyons LLP, Colorado Springs, CO - State and federal laws pertaining to religious freedom in the United States: "The Religious Liberty Archive is an extensive repository of valuable information and a useful resource for anyone seeking information about state and federal laws pertaining to religious freedom in the United States. "
BBC NEWS | Entertainment | Son completes unfinished Tolkien
BBC NEWS | Entertainment | Son completes unfinished Tolkien: "An unfinished book by JRR Tolkien has been edited into a completed work by his son for publication next year."
The Macintosh Biblioblog: Ottobib - Web-based bibliography formatter
The Macintosh Biblioblog: Ottobib - Web-based bibliography formatter: "Ottobib is a site that allows you to simply type in the ISBN number of a book that you need to reference, then choose the style that the bibliography must be written in, and it spits back your fully formatted bibliography. Simple as that."
Tuesday, September 19, 2006
Block Scoping in JavaScript
Contrary to C, JavaScript does not directly support block-level scoping, only at the objects and function levels. (Global scoping is really just scoping within the window object.) Thus, the second outer block alert will be 3, not 2:
Because JavaScript scoping is at the function and object levels, block scoping can be simulated with anonymous functions and anonymous objects.
Anonymous functions can simulate block scoping by defining a closure and calling it:
The parentheses around the closure are necessary to avoid a syntax error when calling the closure immediately. Formal arguments are also considered to be at the function scope, and they can be used to bind the block scoped variables:
Another implementation of block scoping with closures uses the new operator that automatically calls its function:
The syntax of the new operator is a bit tidier.
Just as an anonymous function can implement block scoping, so too can an anonymous object, using the with statement:
Of all of these examples, the with statement has the tidiest syntax -- but only those members in the anonymous object are block scoped. Thus, variables of both function and block scope can be mixed within the same block:
In this example, the second outer block alert for baz is 4, because baz still has function scope. It remains to be seen whether this ability to mix scoping is a bug (more confusing) or a feature (more flexible) for the with statement version.
function foo0() {
var bar = 2;
alert("outer block: "+bar);
if (true) {
var bar = 3;
alert("inner block: "+bar);
}
alert("outer block: "+bar);
}
Because JavaScript scoping is at the function and object levels, block scoping can be simulated with anonymous functions and anonymous objects.
Function-based Block Scoping
Anonymous functions can simulate block scoping by defining a closure and calling it:
function foo1a() {
var bar = 2;
alert("outer block: "+bar);
if (true) (function() {
var bar = 3;
alert("inner block: "+bar);
})();
alert("outer block: "+bar);
}
The parentheses around the closure are necessary to avoid a syntax error when calling the closure immediately. Formal arguments are also considered to be at the function scope, and they can be used to bind the block scoped variables:
function foo1b() {
var bar = 2;
alert("outer block: "+bar);
if (true) (function(bar) {
alert("inner block: "+bar);
})(3);
alert("outer block: "+bar);
}
Another implementation of block scoping with closures uses the new operator that automatically calls its function:
function foo1c() {
var bar = 2;
alert("outer block: "+bar);
if (true) new function() {
var bar = 3;
alert("inner block: "+bar);
};
alert("outer block: "+bar);
}
The syntax of the new operator is a bit tidier.
Object-Based Block Scoping
Just as an anonymous function can implement block scoping, so too can an anonymous object, using the with statement:
function foo2a() {
var bar = 2;
alert("outer block: "+bar);
if (true) with({ bar:3 }) {
alert("inner block: "+bar);
}
alert("outer block: "+bar);
}
Of all of these examples, the with statement has the tidiest syntax -- but only those members in the anonymous object are block scoped. Thus, variables of both function and block scope can be mixed within the same block:
function foo2b() {
var bar = 2;
var baz = 1;
alert("outer block: "+baz);
if (true) with({ bar:3 }) {
var baz = 4;
alert("inner block: "+baz);
}
alert("outer block: "+baz);
}
In this example, the second outer block alert for baz is 4, because baz still has function scope. It remains to be seen whether this ability to mix scoping is a bug (more confusing) or a feature (more flexible) for the with statement version.
Evangelical Textual Criticism: Coptic Digital Resources
Evangelical Textual Criticism: Coptic Digital Resources: "Listed below are the main internet resources for the Coptic language. If anybody else knows of good ones, please post them and I will update this list."
Monday, September 18, 2006
Sunday, September 17, 2006
Chris Culver: Latest Finno-Ugric kookery
Безѹмниѥ: Latest Finno-Ugric kookery:
The book has all the hallmarks of crackpot writing. There’s the dedication to a maverick in the field, in this case, Wiik himself. There’s the epigraph from some famous personage talking about courage, in this case Goethe’s Only if you dare to consider possible what is impossible, you will be capable of great discoveries. There’s of course a total disregard for scholarly tone, and seemingly no proofreading by a native speaker of the language used, note his placing of Spanish-style double question marks around rhetorical questions, which abound on every page.
Friday, September 15, 2006
Thursday, September 14, 2006
Wednesday, September 13, 2006
Tuesday, September 12, 2006
Six Degrees of Separation Bogus?
BBC NEWS | Programmes | More Or Less | Connecting with people in six steps:
Judith Kleinfeld, a professor psychology at Alaska Fairbanks University, went back to Milgram's original research notes and found something surprising.
It turned out, she told us, that 95% of the letters sent out had failed to reach the target.
Not only did they fail to get there in six steps, they failed to get there at all.
Monday, September 11, 2006
Friday, September 08, 2006
Wednesday, September 06, 2006
Patently-O: Professor Kimberly Moore Unanimously Confirmed
Patently-O: Patent Law Blog: Professor Kimberly Moore Unanimously Confirmed. Kim Moore was the head of the patent/IP track at my alma mater after I left.
PrawfsBlawg: Announcing: The "Research Canons" Project
PrawfsBlawg: Announcing: The "Research Canons" Project:
Legal academia assumes that entry-level candidates and new scholars have done the background research necessary for their area of expertise. But it is left to the individual to get this knowledge. Certainly, the J.D. provides a baseline, and mentors are helpful in providing further direction. But there is nothing akin to comps that sets forth a comprehensive listing for new folks to follow. Many of us have heard the question, in the AALS interview, in the job talk, or as a new scholar presenting a paper: 'Well, of course, you have read the work of Prof. X in this area, right?' Failure to respond appropriately to this question may raise eyebrows and cast doubt on the scholar's research.
Tuesday, September 05, 2006
History Carnival #38
History Carnival #38 with its highlights on the "Scholarly Life":
“Education is when you read the fine print. Experience is what you get when you don’t.” — Pete Seeger
Ralph Luker shared a piece of his own research, a lovely example of how a simple footnote can be an education if you take it seriously and do it right.
Tim Burke offers a dilemma of historical writing from his own work in You Can’t Tell the Players Without a Scorecard (also here), and discusses the dynamics of the end of Apartheid. Finally, in a challenge answered by far too few (I’ll get to it after this carnival is up, really!), he asks about the cleavages and battlefields of our respective subfields.
Finally, Brian Ulrich waxes nostalgic for the “cutting edge” scholars of the past
Guardian Unlimited Books | News | Rival biographer admits hoax Betjeman love letter
Rival biographer admits hoax Betjeman love letter proven by an embedded acrostic.
(h/t: Mark Goodacre)
(h/t: Mark Goodacre)
Monday, September 04, 2006
Sunday, September 03, 2006
Saturday, September 02, 2006
Friday, September 01, 2006
The Patry Copyright Blog: Funk Parlor Deep Six'd
The Patry Copyright Blog: Funk Parlor Deep Six'd -- The Ninth Circuit on the relationship between the lack of substantial similarity and evidence of access.
Escaping Strings for Dynamic REs
Here's a simple replace fragment to escape the special characters in a string for building patterns for a dynamic regular expression:
.replace(/([*^$?{}()[\]])/g, "\\$1")
Subscribe to:
Posts (Atom)