May 2011
65 posts
May 27th
Observations: Will 10 Billion People Use Up the... →
The human enterprise now consumes nearly 60 billion metric tons of minerals, ores, fossil fuels and plant materials, such as crop plants and trees for timber or paper. Meanwhile, the seven billionth person on the planet is expected to be born this year—and the human population may reach 10 billion by this century’s end, according to the latest United Nations analysis. Hundreds of...
May 26th
Programmatically Create Nodes, Comments and... →
Programmatically create a node: Initialize a node object Add body field Add custom fields Add file / image field Add a term to a node Save a node Programmatically create a comment Programmatically create a term
May 24th
Make a ‘View Source’ Button →
Sometimes the default ‘view source’ way of viewing the code on a website is too complicated. Yeah, it’s only a few button clicks away, but when you view the code it opens up in another browser window and it is usually kind of difficult to navigate. Well, thanks to Chris Coyier from CSS-Tricks.com we have just been given an easier way for our users to be able to view the source code from our...
May 23rd
Comparison of JavaScript Syntax Highlighters →
Syntax Highlighter by Alex Gorbachev, used on MDN and others. SHJS — a library built to be compatible with GNU source-highlight language definitions. Google Code Prettify — a highlighter used on Google Code and Stack Overflow. and finally highlight.js originally written by Маниакальный веблог , used on a popular Russian tech site Habrahabr.ru and others.
May 23rd
JavaScript - Everything Acts Like An Object Except... →
JavaScript Garden Object Usage and Properties Everything in JavaScript acts like an object, with the only two exceptions being null and undefined. read more
May 23rd
JavaScript Garden →
Object Usage and Properties Everything in JavaScript acts like an object, with the only two exceptions being null and undefined. false.toString() // 'false' [1, 2, 3].toString(); // '1,2,3' function Foo(){} Foo.bar = 1; Foo.bar; // 1 A common misconception is that number literals cannot be used as objects. That is because a flaw in JavaScript’s parser tries to parse the dot notation...
May 23rd
The Gossip Machine, Churning Out Cash -... →
Ever wonder how the celebrity gossip sausage gets made? It’s not like “the-world-must-know” trolls abound over the planet, some of them are making money, lots of money, to feed the rumor-mill. NY Times attempts an explanation, with a perfect example, Michael Lohan: An associate of Mr. Lohan’s ran through the plan: ignite a bidding war between TMZ and its rival Web site Radar...
May 23rd
20 Useful CSS3 and HTML5 Frameworks, Tools and... →
HTML5 Boilerplate 52framework – Supports almost anything G5 Framework – Good tools collection Perkins – Lighweight and LESS Sprites.js – Animation framework (HTML5 support, of course) Lime.js – Gaming framework HTML5 multimedia framework for WordPress Modernizr – HTML5 & CSS3 with fallbacks Select[ivizr] – CSS3 Selectors for IE CSS3 button framework Templates – General HTML5 and...
May 23rd
Anonymous asked: How did you show the YouTube video from within a TV gif?
May 22nd
Computing pioneer Jean Jennings Bartik dies -... →
May 22nd
May 22nd
Customizing Tumblr →
Now that Tumblr is rolling out a way to reply to posts, they posted a short tutorial on how to get going. I have not written a theme for Tumblr (*yet*), but when I do, I will definitely refer to this handy guide. Especially starting here with: An example of the complete markup for a theme: <html> <head> <title>{Title}</title> <link rel="shortcut...
May 21st
Anonymous asked: You're a Southern Californian. What is it about the Bay Area that can keep you away?
May 21st
4 tags
Managing Cron Jobs With PHP →
Let’s face it, having the ability to schedule tasks to run in the background is just great! From backing up an SQL database, fetching / sending emails to running clean up tasks, analyzing performance, or even grabbing RSS feeds, cron jobs are fantastic! Although the syntax of scheduling a new job may seem daunting at first glance, it’s actually relatively simple to understand once you break...
May 21st
“Bodies have their own light which they consume to live: they burn, they are not...”
– Egon Schiele (via yama-bato; frenchtwist)
May 21st
582 notes
Jane Austen’s Unfinished Manuscript To Go On... →
The Watsons manuscript shows how Austen’s other manuscripts must have looked. It also shines an interesting light on how she worked. Austen took a piece of paper, cut it in two and then folded over each half to make eight-page booklets. Then she would write, small neat handwriting leaving little room for corrections – of which there are many. “You can really see the mind at work...
May 21st
Atheists Offer Pet Rescue For Judgment Day This... →
THE GIST A group of atheists has set up a pet rescue for animals of Christians planning for Judgment Day. For a fee, the rescuers will locate and shelter a pet following the Rapture. One fundamentalist group predicts it will take place May 21, but the rescuers offer 10-year contracts.
May 19th
Developing for Android and Windows Phone 7 →
There are a ton of technical meetups in San Francisco. Even when I cannot make them, I find out later that they posted videos of their presentations. There are several at marakana.com. Enjoy.
May 19th
May 19th
How Trust Enchants →
Kawasaki gives this advice for achieving trustworthiness: Be a mensch. Turns out being a mensch means a bit more than being sweet. Drawing from Bruna Martinuzzi’s book The Leader as a Mensch: Become the Kind of Person Others Want to Follow, our enchanting author gives us these guidelines to menschdom:  Always act with honesty. Treat people who have wronged you with civility. Fulfill your unkept...
May 19th
1 note
May 19th
HTML 5 and Drupal →
Jen Simmons gives more information about HTML5 and highlights from herRockin’ HTML5 with Drupal presentation at DrupalCon Chicago. She talks a bit about the HTML Tools module, which works with the Elements module, as well as the HTML5 Base theme. Simmons also talks about some of the plans for HTML5 in Drupal 8 as well as the larger trend of websites moving more towards creating...
May 19th
Why Google's Hiring Process Is Broken →
Which kind of people does this process get you? If you guessed mathematicians and back-end programmers, you’re probably right! And this might be what Google is mostly in need of: smart people to build very fast algorithms for very complicated cases. But is this what will help Google succeed in the markets they are trying to penetrate? Read the list of failures I listed above. Those failures...
May 19th
The Higher Education (Debt) Bubble  →
The Project On Student Debt estimates that the average college senior in 2009 graduated with $24,000 in outstanding loans. Last August, student loans surpassed credit cards as the nation’s single largest source of debt, edging ever closer to $1 trillion. Yet for all the moralizing about American consumer debt by both parties, no one dares call higher education a bad investment. The nearly...
May 17th
How May Hours of Sleep Do You Actually Need? →
Eight Hours. Period. It’s not hooey. Sleeping even seven hours a night will slowly add up to a costly sleep debt Those who slept eight or nine hours didn’t show any signs of slowing down when tested, but the four and six hour groups were found to be impaired to the point of being “the cognitive equivalent of being legally drunk” at the end of the two-week period. ...
May 17th
What Living In SF Means.... →
My version: Hearing Your Neighbors - We’re packed together in the bonds of no-space and hippie love. Not hearing other people by wearing outside noise blocking ear-buds that drown out the sounds of drugged-out buskers milling about at every 20 feet. Not knowing what gender or orientation someone is and being attracted anyway/not caring. Moving to SOMA and being the one...
May 17th
Iraq Blossoms Into A Bouquet of Tacky →
BAGHDAD — In downtown Baghdad, a police headquarters has been painted two shades of purple: lilac and grape. The central bank, a staid building in many countries, is coated in bright red candy cane stripes. Notes from Afghanistan, Pakistan, Iraq and other areas of conflict in the post-9/11 era. Go to the Blog » Multimedia Slide Show A Newly Pastel Capital Enlarge This Image Ayman Oghanna...
May 17th
Bridesmaids Exceeds (Cynical) Expectations →
 This weekend,Bridesmaids made at least $24 million, well beyond the expectations of Hollywood prognosticators. The critics loved it; word of mouth is good-to-excellent. Is Hollywood going to get a clue?
May 17th
“San Francisco is a great city to raise children, but I was very happy to leave...”
– Danielle Steele Of course, she owns 6,000 pairs of Christian Louboutins.
May 17th
First Listen: Danger Mouse And Daniele Luppi,... →
The long-anticipated brainchild of producer-composer Danger Mouse and Italian composer Daniele Luppi, Rome benefits from a bit of context. More than five years in the making, the project assembles many of the surviving performers of classic ’60s and ’70s Ennio Morricone scores — and, in half a dozen memorable cases, pairs them up with the vocals of Norah Jones or The White...
May 13th
May 13th
WatchWatch
While I object to the cynical explosion of pink on everything promoting this, (I hate you marketing people), I think this is actually going to be a good film. It did better than cast bobble-head actress/model/whatevers by getting some decent comediennes (is that sexist?) to play what look like refreshingly realistic roles. Can I just point out that they might be deflating the agenda that every...
May 13th
Bin Laden Had A Huge Porn Stash →
(Reuters) - A stash of pornography was found in the hideout of Osama bin Laden by the U.S. commandos who killed him, current and former U.S. officials said on Friday.   The pornography recovered in bin Laden’s compound in Abbottabad,Pakistan, consists of modern, electronically recorded video and is fairly extensive, according to the officials, who discussed the discovery with Reuters on...
May 13th
Gaga As "Librarian of Glam Culture" →
If there’s one thing Lady Gaga knows a lot about, it’s pop culture. In her first column for V Magazine, the 25-year-old New Yorker says she’s been keeping tabs on the world around her since she was an aspiring singer in a roach-infested apartment
May 13th
Socialite Plugin For Firefox →
an official reddit extension for Firefox. Socialite provides a souped-up version of the reddit toolbar, making it easy to vote on and save pages you find via reddit.
May 12th
May 12th
256,959 notes
May 12th
1,418 notes
Google Teaches Programmers to Play Well With... →
May 11th
3 notes
soooo...for MyChanel - Polyvore →
Impeccable. I love graphic, structural, minimalist nods to 60s glam. Gorgeous.
May 11th
May 11th
77 notes
May 11th
222 notes
May 11th
1,426 notes
“If I read a book and it makes my whole body so cold no fire ever can warm me, I...”
– Emily Dickinson sets the bar high, in a letter to Thomas Higginson. See Thomas H. Johnson (Ed.), The Letters of Emily Dickinson, for more. (via itgivesitthew)
May 11th
218 notes
40 literary terms you should know
Aphorism Apostrophe Applicability Bete noire Bildungsroman Bowdlerize Byronic hero Caesura Death of the author Denouement Didactic Epigraph Epistolary Fin de siecle Foil Hamartia Heresy of paraphrase Hubris Humours In medias res Intertextuality Irony Literary agent hypothesis Magic realism Malapropism Meiosis Meta Mise en scene Picaresque ...
May 11th
3,362 notes
The UX of Data →
This article will focus on a core aspect, the storage of a user’s data outside of their personal devices. This is a very disruptive shift that enables user experiences that would be impossible with only local storage, and creates a new facet of design: the UX of data.
May 11th
It Is Good To Have Friends →
In the start-up business, people are always telling each other what it is that you need most: co-founders, a minimum viable product, you’ve got to be agile, and who knows what else. But an overlooked factor is that of a solid network of long time friends. The value of such a network may not be readily apparent, it’s not going to show up on your balance sheet, when you get an...
May 10th
May 10th
Conditional CSS and template file suggestions in... →
How to add CSS or JavaScript files to a theme conditionally based on node type  How to add CSS or JavaScript files to a theme conditionally based on path or role Review of Drupal theme building videos and next steps Before you start, is there a simpler way? Why use template files, how file suggestions work, and setting up for later examples
May 10th
May 10th