Skip to main content

Posts

Showing posts from April, 2007

The Future of Journalism and the Internet Evolution

Link: http://epic.makingithappen.co.uk/

This Flash video is just unbelievable. I love it and hate it at the same time. EPIC 2014, by Robin Sloan, chronicles what will happen over the next four years, as companies like Google tear down all notions of information and news media, destroying traditional media institutions and giving every user access to information that is as personalized and communal as it is sensational and devoid of ethics. I agree that, the way things are going, traditional media will be destroyed by the internet. However, I believe that a new form of media can be created on the internet, one that leverages citizen journalism with old media rules of ethics and organization. You'll see more of what I mean over the next few weeks. Is traditional media dying? Yes, but that doesn't mean that the news has to die as well.

Adding Click to Select All Text: Javascript

If you want your users to click on a text area and automatically highlight all of the text, there is a very simple way to do it. This does not require external javascript at all. It’s no "copy code" button, but if the user clicks inside the text area, this bitt of code will hightlight all of the text in that textfield. Add the following code to any <> tag: onclick="javascript:select();"Example:
Highlight this text

NUMB3RS

Mathematics for Programmers 1 :Prime Numbers

A prime number (or prime integer, often simply called a "prime" for short) is a positive integer1" border="0" height="15" width="33"> that has no positive integer divisors other than 1 and itself. (More concisely, a prime number is a positive integer having exactly one positive divisor other than 1.) For example, the only divisors of 13 are 1 and 13, making 13 a prime number, while the number 24 has divisors 1, 2, 3, 4, 6, 8, 12, and 24 (corresponding to the factorization ), making 24 not a prime number. Positive integers other than 1 which are not prime are called composite numbers.

Prime numbers are therefore numbers that cannot be factored or, more precisely, are numbers whose divisors are trivial and given by exactly 1 and .

The number 1 is a special case which is considered neither prime nor composite (Wells 1986, p. 31). Although the number 1 used to be considered a prime (Goldbach 1742; Lehmer 1909; Lehmer 1914; Hardy and …