Monday, November 15, 2010

Use a CSS Reset

A perfect desktop image for CSS developersImage via WikipediaItem #27: Use a CSS Reset, from nettuts+.



If your tables, list items, etc., are receiving that extra bit of padding when you didn’t specify it anywhere in your CSS file, then start with a CSS reset.

30 HTML Best Practices for Beginners



30 HTML Best Practices for Beginners , from net.tutsplus.com.



Thirty best practices to observe when creating xhtml, css and JavaScript.

30 HTML Best Practices for Beginners

30 HTML Best Practices for Beginners , from net.tutsplus.com.

Thirty best practices to observe when creating xhtml, css and JavaScript.
Enhanced by Zemanta

Breaking down Internet privacy legislation

privacyImage by alancleaver_2000 via Flickr

Breaking down Internet privacy legislation

An 11/14/10 article from the Washington Post,

By Cecilia Kang, discussing current internet privacy measures in congress.

Wednesday, November 10, 2010

PetaFlops in the News

Q: How long does each instruction take to execute?

http://www.bbc.co.uk/news/technology-11644252

China claims supercomputer crown

Tianhe supercomputer, Nvidia  
China has claimed the top spot on the list of the world's supercomputers.
The title has gone to China's Tianhe-1A supercomputer that is capable of carrying out more than 2.5 thousand trillion calculations a second.
To reach such high speeds the machine draws on more than 7,000 graphics processors and 14,000 Intel chips.

Key Terms to Understand this Story

CPU speeds are dependent upon the type of instructions being executed: some are hard and some are easy.
FLOPS are hard and, in general, more meaningful than MIPS and MOPS.
SI Prefixes and Large Number Names.
Enhanced by Zemanta

PetaFlops in the News

Q: How long does each instruction take to execute?



http://www.bbc.co.uk/news/technology-11644252

China claims supercomputer crown

Tianhe supercomputer, Nvidia

China has claimed the top spot on the list of the world's supercomputers.

The title has gone to China's Tianhe-1A supercomputer that is capable of carrying out more than 2.5 thousand trillion calculations a second.

To reach such high speeds the machine draws on more than 7,000 graphics processors and 14,000 Intel chips.

Key Terms to Understand this Story

CPU speeds are dependent upon the type of instructions being executed: some are hard and some are easy.

FLOPS are hard and, in general, more meaningful than MIPS and MOPS.

Google's Book Search: A Disaster for Scholars

Google's book search is clearly on track to becoming the world's largest digital library. Will it support scholarly research as well as bricks-and-mortar libraries? Metadata will be the deciding factor.



Google's Book Search: A Disaster for Scholars, by G. Nunberg.

PetaBytes in the News

With smartphones growing in popularity, mobile data traffic is set to grow 40X (8 petaBytes/month to 325 petaBytes/month) in the next five years, according to research from Coda Research Consultancy, via TechCrunch.



Wednesday, July 14, 2010

Creative Theory Machine Buttons



In the category of creative Theory Machine buttons:
  • ifSixWasNine, by Jared Hendricks (a.k.a. "Jimi" ;-)

    alert(ifSixWasNine(6)) ==> 9
    alert(ifSixWasNine(12)) ==> 18

Tuesday, July 13, 2010

The replace() method for Strings

String theory?Image by trailfan via Flickr
The replace() method searches for a match between a substring (or regular expression) and a string, and replaces the matched substring with a new substring. It searches the string on which it is called for matches.

If the g flag is set, the method replaces all matches in the string with the replacement string; otherwise it replaces only the first match it finds.

EXAMPLES

//replaces first match
//wasit a rat i saw
var s = 'was it a rat i saw'; alert(s.replace(/[ ]/, ''))

//replaces all matches
//wasitaratisaw
var s = 'was it a rat i saw'; alert(s.replace(/[ ]/g, ''))
Enhanced by Zemanta