skysight-inc/HackerNews huggingface dataset:
It's the modern equivalent because it's the new way in which older people gripe about younger people. Kids and lawns still exist, but people my parents' age don't yell about them anymore. For one the kids are too busy playing video games, and for another they don't want to be a cliche.

This is the new cliche ("the kids and their Tweeting and and Facebooking") as anyone younger who spends any time with baby boomers will attest to. It's valueless because it doesn't say anything everyone doesn't already know. (Really, watching dvds while driving is bad?) It's not necessarily incorrect. It's just silly.
The equivalent Clojure code is actually a few lines shorter than your example:

(ns add-nums
(:use compojure.core [hiccup core page-helpers] ring.adapter.jetty))

(defroutes handler
(GET "/add-nums" [a b]
(let [a (Integer/parseInt a)
b (Integer/parseInt b)]
(html
[:html
[:head [:title "Add two numbers"]]
[:body
(if (and a b) [:p (+ a b)])
(form-to [:get "/add-nums"]
(text-field :a)
(text-field :b)
(submit-button))]])))

(run-jetty handler {:port 8080})

Mark's tutorial code is a little more complete than your example, and doesn't aim for brevity. It also doesn't use any of the form functions from Hiccup (admittedly, they're not as well documented as they could be).
The infographic slideshow link at the bottom contains the real content:

http://www.boston.com/bostonglobe/ideas/graphics/20100725_oc...

Still pretty thin on details, but slide 6 suggests octopi have been observed playing with legos.
I disagree. Coding is required for understanding the underpinnings of web-based business. You don't need to be great at coding, amateur skills provide a huge insigt about how to manage programmers.

If you have no coding ability whatsoever, you have no understanding of a major part of your business, and you will not have much a clue when hiring programmers about how skilled they are. So you'll end up hiring people that sound good, not are good.
this is awesome, needs more upvotes.
I think the old idea that gluttony is a carnal desire is false.

The cravings are a mental phenomenon. The mind seeks to be distracted and regards the mouth and tastebuds as an entertainment system. (A sort of lower level alternative to reading aggregator sites.)

Being too full is actually uncomfortable to the body, although one may not notice it initially due to the eating high.
While I'm not familiar with the tenets of other Christian faiths, the Roman Catholic belief is that being LGBT is not immoral per se, but engaging in homosexual acts is.

Which brings us to the issue of premarital/underage sex: it hardly matters whether it's hetro or homosexual now, does it? Should all Christians be removed from this field?

Or should we consider that those who say "Hate the sin, love the sinner" just might be sincere? In which case "an openly ideological test" to simply treat people with respect is not so ideological after all.

Whereas the grounds they are pushing, echoing my 1984 riff, ought to require frequent testing as the true ideology de jour changes.
Air France Concorde Crash - 10 Years Later
Serial languages in HPC, why?
Enterprise Software Is Sexy Again
Contact by publishing things to the feeds of those who Liked something.

Still. I knew they'd continue down this route, and I completely expect them to make things ever more advertiser-friendly and user-hostile. Makes me glad I jumped ship a while ago.
Anyone else think this is going to become a new spam channel? It's like having 100% guaranteed email delivery into an inbox, with a very high percentage of recepients actually reading what you sent.
I used to think exactly like her. I understand where she's coming from. She likely has no conception of her own bigotry. There's quite a bit of cognitive dissonance in the church. I finally left all that behind when I couldn't reconcile the concept of a loving God with homophobia. Some things that helped were being judged by fellow Christians for my own moral choices, watching the movie 'Milk', and having a close friend explain what it was like to be gay and raised in a Christian family.
I think it's great to find an appealing "bridge" that makes the healthy stuff appealing. I've personally always tried to make my diet as healthy and appealing as possible. Some of what I do:

For chips: bake chunks of potatoes in the oven with a lot of olive oil, some Tempeh and a bit of vinegar and salt.

Chocolate: get used to very dark chocolate, so dark it contains little sugar. This is actually very healthy. It is the sugar and any unhealthy oils, that makes a chocolate bar unhealthy.

Nachos: The beans in nachos are actually very healthy. Increasing your consumption of beans any way you can is good thing. Take a corn tortilla, heat it with olive oil, add lots of refried beans made with more olive oil, a small amount of real cheese, and lot of fresh salsa (fresh tomatoes, peppers, cilantro, etc). Quite healthy homemake nachos.

Sodas: I dilute fruit juice and add rose water, vanilla flavoring and vinegar or limon juice to a get soda-like taste that's not at all sweet (I think that even regular fruit juice is too sweet to be a soda substitute). Cafe Gratitude, among other health food restaurants, has some appealing sodas.

-- The oil in foods is often what can give one a feeling of satisfaction. "Junks foods" exploit this along with the "sugar" rush. But oil isn't necessarily bad at all. Rather, what's important is getting a good supply of good oil (especially olive) and avoiding really bad oil like transfat.

Jeanne Calment lived to the oldest documented age ever - "She ascribed her longevity and relatively youthful appearance for her age to olive oil, which she said she poured on all her food and rubbed onto her skin, as well as a diet of port wine, and ate nearly one kilo of chocolate every week."

http://en.wikipedia.org/wiki/Jeanne_Calment

I'm not sure about the port wine though.
For the early stages, I think you can get away with it, just like you can get away without bringing a professional designer into the picture.

The drawback is that it gets more expensive the longer you wait. The more code from a beginning programmer there is, the more there is to be overhauled, and the more ingrained your seat-of-the-pants interaction design and visual design is, the more challenging it will be for your designer and/or front-end developer to lift out and replace.
The brilliant Jon Postel was speaking of the implementation and design of open standards. Flash may be ubiquitous, but it would never be called a standard by anyone subscribing to the IETF rules-of-the-road.

BTW, Apple also does not implement Wordstar and WordPerfect readers, nor do they accept TARGA images. As much as I do wish 1) Adobe had a version of Flash that didn't suck; 2) Apple supported it, let's not attempt to invoke Jon's memory for this kind of stuff.
Amartya Sen on Adam Smith's "The Theory of Moral Sentiments"
You'd expect to see some benchmark numbers if so.
Because someone already asked that:

http://news.ycombinator.com/item?id=1544581

The negative hopes to emphasize the idea that some people don't consider themselves programmers but still program, I believe.
I think I have some sort of addiction/disorder and I can look for psychotherapy, but I wan to know if there are easier and cheaper remedies.

The loss of productivity from what sounds like ADD will be a lot more expensive than the cost of consultation and medication.
And: Using quantum mechanics to flummox physicists who don't fully grasp quantum mechanics.
That's probably because this poll involves a double-negative, which is hard to parse.
Ask HN: is it better to have work experience before starting a startup?
I'm asking the HN community because I'm about to graduate ( in September ), and I got an offer from quite a successful startup ( about 120-150 people now ).
The pay is good and the people I'll be working with are definitely smart. I'm just wondering if this will actually helps me with my plan which is starting my own startup eventually.
Should I start it up right after school and decline job offers ( which means living at my parents since I don't have cash in the bank ) ? What about doing consulting/freelance work on the side and starting building the product in the same time ?
If any of you has an advice about what elements should I base my decision on, that would be really helpful.
You might try this:

http://contextualpsychology.org/act_for_the_public
Einstein had a neat thought experiment where a person was enclosed in an elevator. From inside the elevator it was impossible to tell acceleration from gravity.

There might be something similar going on here, it could be that it is impossible to deduce the true nature of the wave/particle duality from inside the system, in other words we may find many explanations but we won't be able to rule out the ones that aren't the true explanation from the ones that just seem to explain the measurements.

Interesting stuff this, I wonder what the consequences will be (besides bigger explosions) if we ever manage to completely master this and find a way to unify gravity and the other fields.
Didn't Intel already pay AMD something like one billion dollars to settle this?
Sleep on time .. atleast 7 hours of sleep.

Exercise ... Either early morning or early evening. To quote Frank Costanza, I feel vigorous after working out.

Try to use natural light vs. Artificial light.

Meditate. If you're losing focus, switch off the lights, lower the blinds and look at the flame of a burning candle for a few minutes and try to keep a blank mind. Haven't done this for a while but did help me reduce stress.
Well, if that's the same thing then this is hardly news, the way it is presented here is as if this wasn't known until now.
Apart from computers getting faster, Microsoft, Adobe and others should also keep up the artificial trade adequacy. If 20 years ago you'd gladly pay $400 for a software package that arrives on 20 floppy disks, the same amount today should be payed for a couple of DVD's to get the same level of emotional satisfaction. $400 for a 30-second download would be perceived as highly inadequate today, unfortunately.
This reminded me of http://www.linkbee.com
>Because it is a dictionary attack using a predefined 135-million-word list, there is no guarantee that you will crack the WPA key, but such an extensive dictionary attack should be sufficient for any but the most specialized penetration testing purposes.

Wont work against most high-profile targets, then. I find the use of this is probably limited to either a) attacking idiots, or b) attacking idiotic companies who have nobody who understands basic security.
I live in Europe and the press is here full of such examples. Before, the corporations had to lobby the politicians of every state and some things would simply never get through as the attempts would induce reactions from opposition and the media attention. Now corporations simply lobby the bureaucratized "representatives" decisions of who are almost never covered by media -- cheaper, simpler, and almost always works. Try discovering how GM food got allowed in EU.
infinite loops?
In summary then a policeman was a bit rude to you.
How to setup the distributed C/C++ build system with distcc v3
You have this problem: http://xkcd.com/477/

I know I have it sometimes. I think sometimes we just get in this bad habit of letting our mind escape to easier things. I'd say just redirect that traffic, turn off the internet or something and just force yourself back into a working habit.
I'm pretty skeptical of traditional calorie counting, but wouldn't your experiment be simply explained by the 5x difference in caloric content between the two?

http://www.wolframalpha.com/input/?i=3+oz+walnuts
http://www.wolframalpha.com/input/?i=3+oz+white+rice

Wouldn't it be more fair to compare equal calories rather than equal weights? I'd have to guess that eating 15 oz of rice might have a significant appetite suppressing effect as well.

Or maybe I'm not understanding the point of the experiment. Are you simply suggesting that by eating a strangely distributed 1200 calories you can 'make it until dinner'? :)
Intel's payments were known, but not their effect on Dell's financials. The fact that Dell used them as a cookie jar is new.
Do you overhaul your car or let it be done by a mechanic ? Do you make your own paper ? Do you grow the wood for the trees to build your house ?

Anybody technically can do anything themselves, if there is a skill worth learning then it probably is programming, since it allows you to amplify your ability to get work done in a given amount of time (which usually is your most scarce resource).

But you won't be managing that time effectively if you want to launch a start-up and learn this skill at the same time, then you're probably better of hooking up with a competent coder and letting them lay the bricks in a way that will help your business to succeed.

I'm all for learning new skills, I can weld, but when my life and or my business depends on it I go to a welder.

So if you are not already a competent coder and you have the choice to team up with a coder or to delay the launch of your product by a couple of years to get you up to speed seems like a no brainer to me.
If you want to start a company, it is good work in a company environment where you can see what you think works and doesn't work first hand. Practical experience vs theoretical will help you make fewer mistakes no matter what craft you practice be it, running a business, programming, carpentry or anything else.
there is only one cure. Just do it already. Entrepreneurship is something, where you'll always have to learn on the job.
Oh, don't get me wrong. I think all founders should know how to code. But I think the notion that an amateur coder without real experience can launch a successful tech startup on their own is naive. You really need someone, either a co-founder or employee, with real technical knowledge and experience.
> But does this mean that only those rare people with the right qualities deserve to live outside of poverty, or the imminent risk of poverty?

Send all your impoverished down to OKC. I'm not sure where you live, but absolutely everybody is hiring entry-level jobs here with minimal or no skills required.

Lifeguards and childcare-providers are paid $10-12 an hour, entry-level librarian positions are in the $10 range, upscale retail is $10-12, even food service jobs are $7-8. I see "help wanted" signs everywhere I look.

As long as you don't have debt and live frugally, you can get a clean apt, eat 3 meals a day, have broadband internet, and stash a good chunk away for a rainy day with a job like that. Cost of living is low here; that pay is far above the poverty level.

The problem is, a bunch of twentysomethings went in debt to to get a polysci degree under the mistaken assumption that it would automagically give them a better job. They can still return to the job they did in highschool and be a perfectly functioning member of society. They don't want to, because they think it's beneath them.
Project Management For Dummies Cheat Sheet
One of the 8 million stories of NYC [an interactive feature]
Pass-phrases + minor misspellings are typically non-crackable with billions^x years, barring dictionary attacks (stupidity will always exist). There's no "sophisticated brute force" that would speed it up measurably.

Granted, password-hashing reduces the keyspace, often to something possibly-computable to find a collision. But you're still talking up to 36^40 (for SHA1) attempts (that's 1e62, btw).
As an engineer, I'm offended by the fact that some lawyer has control over the types product I can design. We keep on hearing how patents harm innovation, now hopefully something is done about it.
In terms of future-proofing design, many applications are better off keeping it simple and (at least initially) refusing the temptation to try and solve some problems “like the big guys do”.

To me, this is the most important argument against knee-jerk reliance on memcache, sharding, (ironically) MySQL, NoSQL, or what happens to be the new fashion[1].

Understandably, buckling down and squeezing more out of the existing, tried and true, technology, is neither sexy nor exciting. However, you're no"big guy" yet, and, once you are, you'll kow that a bit of early tedium[2] can pay off.

[1] Like with clothing fashion, novelty is periodic, rather than monotonic.

[2] e.g. Google's early "cork board" servers could only be sexy in retrospect
I guess not. It's just that I think of myself as an artist, and it's just a coincidence that for some reason my medium is technology. I never did coding because I really didn't have to. I used to make stuff in the real world instead and adding a micro-controller was a level of complexity that I couldn't approach due to parental time restrictions.

However, now when I have this idea that extensively requires server based computation then I am teaching myself how to code, and I think that I might fall in love.

It's just that I don't think in one paradigm. To me everything is connected. I once went from trying to make a more intuitive search engine interface using NLP to a haptic I/O device (prototype 0.0. : http://www.youtube.com/watch?v=5jHIoJ5nvtw . I hand wound the coil, by the way. I even filed for my first patent for that, but now I don't have money to develop it further and create a proper application.)

I know I am weird but everything is beautiful to me and all I care about is creating something beautiful. I am not sure what you might call me. I am not a traditional artist per se my medium isn't even considered art.
Can you elaborate? What do you mean by “burn-out”?
"I think I have some sort of addiction/disorder and I can look for psychotherapy, but I wan to know if there are easier and cheaper remedies."

I'd highly recommend seeing a doctor of some kind. This isn't necessarily something that's all in your head. What you're describing could be the symptoms of any number of physical or mental disorders, many of which need a doctor's attention.

Don't be afraid to seek help. It could very well change your life.
Weird, you'd say that if the amounts were public knowledge that it would be easy to figure out the effect on Dells bottom line.

What bothers me about cases like this is that apparently successful companies will go to any length to maintain their stockprice when things are not-so-good for a relatively short period of time. A supplier paying for the privilege of using their product in order to harm a competitor should have been enough of a red-flag for anybody at Dell to stay miles away from it, after all, enough people knew about this that it would never be kept secret for ever (and the amounts are too large for that anyway).

The punishment for this kind of trickery should not just be a fine, it should be jail time for the execs involved.

There are 'free market extremists' that believe that the government should stay out of stuff like this, but just like in a regular game you need a referee the world of business unfortunately needs institutions like the SEC to govern the world of business.

The only reason they're getting involved here is because of the effect on the stock price, if Dell wasn't a public company this would not have raised an eyebrow.
Welcome to Short Attention Span Theater. You must read email, but write as little as possible. Remove yourself from all email newsletters. Swear off facebook, twitter, HN and all other distractions for at least two weeks. When you discover you didn't actually miss anything, you'll be on the road to recovery.
Diagnosing someone over the Internet seems a bit premature.
New Data Center for 37signals
Just make an automated system that reminds clients that their bills are overdue. Then it makes sense for it to come from accounts@yourcompany.com - it's just a bot.

Really, there's nothing dishonest about sending email from accounts@yourcompany.com when you're dealing with accounts. Just happening not to mention that you're using a different email address for that isn't a big deal.
Ask HN: How do time, karma, etc., affect position of comments and posts?
I could look at the source, but anybody care to explain? Might be of interest to others too...
It's not just what I mean by burn-out, but more about what the accepted meaning of the term is:

http://en.wikipedia.org/wiki/Burnout_%28psychology%29

Edit: Thanks for the downmod, that article has a very thorough description of what burn-out really is and goes in to a lot more detail than I ever could in a comment here. If you think that linking to a wikipedia article instead of writing an essay sized entry is bad form you're more than welcome to enlighten me as to the proper procedure.
Something similar solved the problem for me too. I used to spend most of the day reading HN, reddit and other sites. I even remember a week last year where I sat at work for the required 40 hours and didn't get a single thing done. Now I sometimes close my browser at the end of the day and realise I never got round to looking at the HN tab I opened first thing in the morning. I don't think it's an exaggeration to say I'm at least 10x as productive.

All it took was to start keeping a log book. Any time I get something new to do (e.g. new feature, bug fix), I write it down, prefixed with "TODO" and highlight it to make it easy to spot as I flick through the book looking for unfinished tasks. Any time I solve a problem, I write down what the problem was, why it was happening, and how I solved it.

Having the book next to my keyboard serves as a constant reminder of what I should be working on, and that really helps to focus whenever I get the temptation to open my browser and get distracted. Keeping a record of how I solve problems always has a chance of being useful in the future, but it's incredibly rewarding (and therefore motivating) to see the pages fill up each day. It's just a nice, quick visual indicator of progress.
A really "quick fix" for my cravings is to eat a low-carb protein bar or a protein shake, then eat a salad with ample dressing. Protein will stop hunger dead if you get the right kinds(each kind - whey, egg, soy, casein, etc. - processes at a different speed, thus a lot of protein blends incorporate a variety), the fiber of the salad helps you process everything else, and the fats in the dressing(which you should probably make yourself - the manufactured stuff is questionable) will hold most of the energy you need.

An alternative, if I don't have salad materials around, is to add a bit of olive oil to the protein bar/shake. It actually improves the taste quite a bit.
I am not saying that you go through every permutation. What I meant was something like Turing's tricks. The naval Engima was consistently cracked in a short time by the bombe because they learnt that at a particular time of day all ships sent weather reports. Further they were always signed 'Hail Fuhrer/Hitler!". I am pretty sure that modern equivalents must exist in the implementation of cryptography today.

The irony is that I am not qualified to comment and the people who are qualified to do so are bound by secrecy not to do so.
They want to charge people more to read a magazine that is 90% ad pages. That could work.
Also, try coding while high. I find it does not really diminish my IQ, it just changes the how I think. Basically, my thinking becomes more tangential, so I'm able to explore scenarios with depth. It also relaxes me and helps me to let go of certain notions create boundaries to coming up with different solutions.

Usually, when encountering such a problem, I will pace around the house exploring the line of thought.

Of course, focus can be a problem, so it's not exactly something that should be done all of the time. However, there are things that can help you to stay on task, such as having the code you are working on open.

Of course, YMMV.
Just to clarify even more, you should be using South (http://south.aeracode.org/), the first thing on that list, and you usually don't have to write the SQL yourself.