Long term I hope to see LED-powered warehouses for urban produce production: http://www.ledinside.com/news/2014/7/japanese_farmer_partner...
Fresh, local, efficient, and no need for pesticides.
LED powered farmhouses would be nice. But going back to the person that you commented on, now we're making energy to give to plants, instead of using the sun directly to make plants. This has the potential (especially in today's economy) to increase the carbon footprint of urban growing.
Certainly local. Fresh most likely. Efficient? Not so simple, probably not as efficient. And unless you're using GMOs that are resistant to invasive insect species, you'll still need pesticides (or lots of human hours....which severely decreases efficiency and increases cost).
One word: tomato. Supermarket tomatoes are grown to survive shipping. Tomatoes that you grow yourself are always more delicious.
I'm not sure why I was downvoted without an explanation. What I've stated is 100% factual: http://content.time.com/time/health/article/0,8599,2118455,0...
Searching for "arduino laser insect control" doesn't come up with a lot hits (but http://en.wikipedia.org/wiki/Mosquito_laser)
...yet.
And good luck convincing pseudo-environmentalists that GMOs aren't evil.
I want to believe. However most food production is now controlled by large corporations.
That said, there's a lot of potential in hydroponics, especially when you combine it with renewable energy, and I hope it continues to spread.
(And while I didn't have time to read the longer article, even its abstract at top said that proper vegetable storage can resolve the issues.)
There are also more benefits to growing your own food than decreasing a carbon footprint. We put a ton of work into our family farm, to help our kids grow up to be stronger people with a better understanding of where food and other household products come from. It is hard work, and doing it purely on solar power and manual labor makes it even harder. Buying food at a grocery store would be WAY easier, but doing things the easy way isn't our goal in life.
Carbon footprints don't even make the list when we talk about the reasons why we do this.
You see, is like a paper claiming that "bikes are more pollutant than cars". Then you read the article and the fine print says their working assumption is that cyclist will jerry-rig their bikes with diesel motors, effectively turning those in DIY motorcycles. No surprise that properly engineered cars manufactured in an assembly line with QA controls comes up way ahead.
That being said, your second source raises some very real concerns, like the need to eat seasonally and not to try to grow exotic stuff in your back yard.
All in all, I would qualify your original statement and say that urban gardening can turn into a form of cargo cult environmentalism, if and when the person implementing it does so without performing their due diligence before putting the first seeds on the ground.
Admittedly it's easy for me because living near the Oaklnd/Berkeley border I enjoy great weather, major pollutants were phased out earlier here than anywhere else in the country, I don't need to work the soil intensively to produce more than I can eat, nor am I dependent on selling food for my income. You're quite right that commercial food production involves large comparative advantages. But getting several hundred dollars' worth of food a year out of the garden suits me fine and I'm pretty sure the resultant carbon footprint is too shallow to measure.
Food grows best (when measured in both biomass-per-acre and biomass-per-man-hour) in forests, not monoculture fields. This becomes pretty obvious when you compare the percentage of sunlight that hits bare soil.
The only trick is to figure out how to design a forest (a non-trivial task by itself) using species that produces edible biomass, and arrange everything such that it's easy to harvest.
One example of forest gardening: https://www.youtube.com/watch?v=GFbcn06h8w4
which also explains why both old (reliant on intensive manual labour) and modern farming methods (almost entirely reliant on oil) are unsustainable in the long term.
The criteria for comments on HN is actually fairly demanding [https://news.ycombinator.com/newswelcome.html]. If your comment does not teach something, if it's not positive or civil, or if it's rude or dumb, it's basically supposed to be downvoted automatically.
The kinds of comments that get downvoted the most are negative ones (obviously), followed by generalized opinions, attempts at jokes, politics, and finally, meta-complaints about the discourse on HN. In doing so, it raises the value of the site for people who don't find those kind of comments deeply interesting.
On a personal level, it gets really, really old when people complain about how unfairly other people treat them. If you're getting downvoted and you don't want to be downvoted, either change your tune to get upvotes, move on to a community that likes you the way you are, or stop caring if you're downvoted or not.
If you have time, read this:
http://ntl.bts.gov/lib/15000/15100/15145/DE97763079.pdf
Otherwise, get the short version:
http://shrinkthatfootprint.com/food-miles
That said, gardening is a great hobby that shouldn't be limited to rural communities. But we need to do this safely - perhaps raised beds and a green house. And we shouldn't expect urban farming to magically solve our food needs. Even if everyone had a garden in their back yard, it wouldn't substitute the amount we grow in large farms.