Comments on: Can Mondays be the new Fridays?
A diagram charts use of the phrase "is the new" throughout the year 2005.
A diagram charts use of the phrase "is the new" throughout the year 2005.
Web sites launch all the time, but they also shut their doors. We highlight 15 that bit the dust this year.
Let the debate begin: Was the iPhone more important than iTunes? Was anything bigger than Google finding a great business model? CNET offers its list of the 10 most important stories of the '00s.
CNET News' Caroline McCarthy is a downtown Manhattanite who believes that, despite popular opinion, the Web can actually help your social life. She's happily addicted to fun social-media tools from Twitter to Yelp to Facebook, sends an inordinate number of text messages, and has a tendency to waste time at the office reading restaurant blogs. Here, she explores all facets of the Web's gregarious side, as well as the unique tech culture in her home city of New York. (Don't call it Silicon Alley.)
Add this feed to your online news reader
%s1 is the new %s2.
Even that simple bit of code would be considered to be rather insipid. So, bloggers and journalist beware, whenever you conjure up a new "...is the new..." phrase, we're laughing at you.
- Done (in 3 lines)
- by _t3h August 13, 2007 5:13 PM PDT
- Any second rate programmer can do it of course, but how short? (moving the open() line into
- Like this Reply to this comment
-
(7 Comments)"words" on the next line does work, but makes it much slower as the wordlist is reloaded for
each print). Now somebody put this in as a CGI on a webpage and let them crawl it :)
#!/usr/bin/env python
import random
words = open("/usr/share/dict/words",'r').read().split("
")
for a in range(10): print "%s is the new %s" % tuple(random.sample(words,2))
(kill the top one if you want 3, but then you can't execute it from the shell)