Archive for December, 2007

Best Time to Release Your Good Post

Friday, December 28th, 2007

Have you ever wondered what the best time to release your post, article, blog or news release is?

The answer is immediately prior to Monday, Tuesday, or Wednesday mornings.

These stats were gathered from the July-Dec Scroggles! webserver.

(more…)

Scroggles User Agreement 12-19-2007

Wednesday, December 26th, 2007

Scroggles is a place to share knowledge and participate in a writing community. Scroggles is a community where you can read, write and comment on articles on a broad range of topics. You can learn from others and share what you know. This is the Scroggles User Agreement (the “Agreement”) that governs Scroggles.com. We hope you find these terms to be both clear and acceptable. By your use of the Site you signify your acceptance of this Agreement.

(To Continue Reading this agreement click below)
(more…)

Scroggles Privacy Policy 12-19-2007

Wednesday, December 26th, 2007

What This Privacy Policy Covers

* This policy covers how Scroggles treats personal information that Scroggles collects and receives at the sites at which this policy is posted, including information related to your past use of Scroggles products and services.
* This policy does not cover how Scroggles treats personal information that it obtains from other sources, such as offline, on other websites, or through email communications. This policy also does not apply to the practices of companies that Scroggles does not own or control, or to people that Scroggles does not employ or manage.

(more…)

I am Legend or How the Gospel Continues to Imbue Hollywood

Tuesday, December 25th, 2007

Last night I saw the movie I am Legend . Having read the synoptic Gospels (Matthew, Mark, Luke) a few times by now I was struck by the similarity of the movie’s plot and the Gospel story.
Image from Amazon
I Am Legend by Richard Matheson

A few months ago I wrote this article which claimed that the Gospel story has so influenced our culture that we can barely escape from it in our popular media. This movie surely confirms my convictions, as does the recently released Transformers in which the hero, Optimus Prime, sacrifices himself for the salvation of mankind.

(more…)

R code for visualizing a reflective surface in 2d

Wednesday, December 19th, 2007

Given that you have some reflective shape expressed in mathematical form the following code written in R will help you to visualize the effect of bouncing light (or potentially audio or any other object) off the surface of the object. It only calculates one bounce however and does not account for multiple reflections…perhaps sometime in the future. This script produces plots like the following:

A circular reflector.

A histogram of the y-intercepts of the reflected rays for a circular dish.

(more…)

R code for crawling the web, and a BASH Unix script for stripping links from a document.

Sunday, December 16th, 2007

Suppose you have a document with a link on each line of the document.

Now suppose you want to download every link on that document and put them in a directory.

Then finally you may wish to take each document and strip the links from the document, retrieve each of those links etc. ad infinitum (or until your hard drive crashes).

The following two pieces of code should accomplish your tasks. You can download the R script which contains some extra NLP functions for R here, and the Unix BASH script here.

(more…)