skysight-inc/HackerNews huggingface dataset:
The problem is that its always something that people are unwilling to pay full price for with their own money. so the actual value is somewhat unknown. But there are so many distortions and subsidies, one cannot really tell with a lot of things.

One thing is certain though. When government spends money, it borrow it or take it by taxation or inflation. So it really just changes who is spending it and the desirability of the spending.

Desirability drops because people spend on thing or invest in things that are of real value to them, where as government puts money where it politically popular.

I hear the government is going to be giving two solar companies $2 billion that will create 2000. That's $1 million per job. And on a technology that is not all that competitive yet.

But don't worry. Government knows exactly what technologies will win out. And if it doesn't, it will spend whatever is required to make it look like its winning.
A lot of people don't like a lot of things, so what? It still happens. When the laws of a country are based on religion and pre-marital sex is not allowed, solutions like this are bound to happen; it is inevitable.
Also additional stories:

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

http://news.ycombinator.com/item?id=1484097
Log off immediately if you are signed in. Your document.cookies can be accessed via JS if you are logged in.
Legacy System Prevents Pay Cut for CA Workers.
"The state's payroll system was designed more than 60 years ago and was last revamped in 1970, Hallye Jordan, state controller's office spokeswoman, said in an e-mail." Yikes. Cobol?
They can easily write a worm with this when you think about it
How to read code
Where the World's Millionaires Live
the first fix youtube should apply is to logout everyone for a while.
run it past these guys?

http://www.sproutbox.com/
Seems like they are just deleting comments at the moment, some detail here: http://news.ycombinator.com/item?id=1485646
Solution: Do away with YouTube comments altogether. They're such a brain-drain as it is.

Come to think of it - no longer needed. Just use YouTube Feather (beta) to disable comments on the site: http://www.youtube.com/feather_beta
Making Your Mark On The Web Is Easier Than You Think
After a bit more of a comprehensive review, here are some more comments:

1- Tracking income vs. expenses is difficult. Maybe color code income in green and expense in red. This becomes especially difficult when clicking on the recurring tab.

2- Optional stop date needed for recurring transactions. I can't configure a recurring expense (such as payment in installments) over the next 3 months.

3- Recurring expenses by named months. I have recurring expenses that occur each month, except during the summer (such as childrens' school tuition). I'd like to configure income/expenditure for all months of the year, except July/Aug.

4- Recurring transaction sorting. I'd like to sort by any column in desc & asc order.

5- Transaction Categorization. I'd like to group expenses/income transactions by custom categories: Utilities, Housing, Bank etc. When creating a new transaction, I can choose which category to enter it under.

Great work! I look forward to future developments.
You could tell us that your link is going to a vulnerable site and not just some article about the hacking. In the beginning there may be just alert pop-ups on the page, but later almost anything is possible.
To make things even worse, those bloody 4chaners are already aware of it.
http://boards.4chan.org/b/res/247794166 (Warning: That page triggered several alerts for drive-by malware downloads (Kaspersky))
Copying is Stealing
update: comments seem to be hidden by a "safety mode" for now - there still is a link to display them and you can see big red marqueeing text
You're specifically using it for configuration/preferences though. You should consider changing it to a constant instead as that's what they really are.

The problem is passing state around in global variables. Any code can (and readily does) modify the state which is the problem.
Every Entrepreneur Must Avoid Big-Company Habits
There's an obvious alternative explanation here: Overweight people are generally hungrier than average. Hungrier people also tend to eat faster. Eating speed does not cause obesity, but correlates with it because it proxies a general propensity toward hunger.

Still, I suspect the article's conclusion is at least partially right, even if it's a bit sensationalized, but the present evidence is fully consistent with a non-causal relationship as well.
Deceptive marketing is not illegal per se, but intent to deceive (a question of fact, based on the type of marketing used) is illegal. However, this is difficult to prove.
* Theres no time frame to "go to college". Or for that matter to "be successful", "get married" or any such thing. Each to his own.

* Dont be so hard on yourself. This kicks into motion a negative spiral. You need to stop this now. Immediately. Catch your negative thoughts. They are your real problem. Imagine how great a day would be without these thoughts? Meditation will really help in controlling negative thoughts.

* Be thankful. You live in a great country. Your not walking 10 miles a day for getting drinking water. Your not hiding in the desert trying to avoid enslavement by warlords and your not in prison. Yay! Seriously, by being thankful, you'll feel happier and more grounded and thats a good way to start each day.

* Usually the things that trip you up will seem so stupid. And thats just the nature of the game. You might not get a job because you forgot to spell check your resume. Shit happens. Different people have different problems. Realize that the only thing that matters is to fix that one problem and not:
* What others would think if they knew you had a problem. (really is of no consequence)
* The idea that you have problems and others dont (everyone does)
* The idea that maybe at your age you shouldnt be having this problem (this is pure society induced crap)

Come up with a way to fix that particular problem and move on. If it happens again, then you know you need a better method. But ALWAYS move on. Dont get stagnated by the past.
The key to obesity is simple:

Calories In > Calories Burned = Weight Gain

If you consume calories that you do not burn, you store them for later use in fat. Is that simple answer incorrect or do people refuse to believe it because they don't want to increase output or consume less?

This is a subject of irrationality I have trouble understanding. The answer is there and known, but it isn't believed or accepted or something. Or do we accept it, but we just have a greater desire to avoid manual labor than change our habits.
XSS on youtube
I thought the mercury column based delay line memory was one of the most interesting.
On the other hand, you usually don't see a majority of comments on male presenters saying "he's cute".
Ghetto Testing? (pause for effect) Really!!
Ask HN: How do you market an iPhone App?
Although I have been developing for the iPhone for a while, I just released my first personal iPhone app. What is the best way to market the app? What blogs should I contact and offer free codes? What techniques have you found work the best?
I am again glad that I did not link my Youtube and Google accounts, because I don't want my bank's security essentially delegated to the folks who control cookies for cat videos.
Sorry, but I can't agree. Fleitz made a wonderful and inspirational post and got a preachy response which singled out the four words where he mentioned the physical characteristics of his new girlfriend. I don't see him getting the same response if he'd described her as "much smarter and funnier" rather than "much younger and thinner".
One of the good things about the MIT videos is that they don't have the amount of "administrative stuff" which the Berkeley lectures have (ie stuff about where this and that lecture will be next week etc etc). So the berkeley lectures could do with editing that out.
OTOH I think Brian Harvey is a very good lecturer as are abelson and sussman. Sound quality on one or two of the MIT lectures is poor in parts. If you have time might not be the worst idea to watch both sets.
Edition 1 of the book was current for the MIT videos whilst edition 2 is current for the berkeley series.
I am a single founder of my startup and don't know coding (except HTML and some CSS.)

>I have a number of startup ideas.

Thats a bad thing to have - "a number of ideas". You need to focus on just one idea at a time. Get it at a stage where you can either sell it - or hire someone to run on its own - before you venture on to the 2nd idea.

>and I don't have any coder friends.

That is also a bad thing. Because you need coder friends to help you:

i. Hire coders (a non-coder should never interview a coder. You will rarely ask the right questions.)

ii. Make sure the coders are not shoddy in their work.

You don't need coder friends who can become co-founders in your startup. But you do need coder friends who can help you out from time to time - in an unofficial capacity.

Networking helps. Go to hacking events and barcamps and just be friendly and helpful. And grow your circle of coder friends.

>I'm thinking I might outsource the coding

Thats do-able. A few things to remember:

i. Hire 2 coders if you can afford. So that each coder can keep the other one accountable - and go through his work.

ii. Keep in mind that most things will take more time than your coders estimated time line. But getting impatient doesn't help.

iii. Never hire the cheapest coder you can get.
I don't get it at all either. Can someone who found something particularly special about this story please explain what that was?
An Interaction Designer's bible by the co-founder of IDEO
Human-competitive results produced by genetic programming (Open Access)
Show HN: ... might be a good start
if they escape variables: danger!

Escaping is not sufficient to prevent SQL Injection Attacks. You must used Parameterized Queries.

http://bobby-tables.com/
Four so far:

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

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

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

http://news.ycombinator.com/item?id=1485695
You've never discovered the magic of the prostate.

</reddit>

Seriously, though, what purpose does the prostate have to have such nerve bundles? Sometimes, evolutionary pressures don't explain everything. Some things are just chance.
The notion of the sun as the fundamental power source driving the earth was somewhat novel to me. I mean, we all know humanity wouldn't exist without the sun, but I hadn't thought of the stars as the batteries of the Universe before.
Although this is a pretty old article, I think it's still pretty relevant.

Interestingly, a colleague of mine has graduated on the subject by designing an augmented dinner plate to help people adjust their speed of eating: http://www.lissakooijman.nl/changing%20eating%20patterns.htm

She's currently working with dieticians and people suffering from obesity to develop this into a product. I don't know all the details, but they certainly seem to benefit from changing their eating habits.
6 Drinking Games (That Make Spike TV Tolerable)
This is a very interesting and funny article. You should see it.
If you use GlimmerBlocker (ad blocker, http://glimmerblocker.org), please update the filter subscriptions as the standard filters now include a rule which cleans comments with injected html.
"If you consume calories that you do not burn, you store them for later use in fat."

This is completely and utterly not true. There is significant caloric content in excrement, and countless factors that determine how much of the food you consume is absorbed or excreted. Many weight-loss drugs (e.g., orlistat) exert their effects by preventing absorption rather than consumption.
Full ack. More, please. :)
I actually prefer this one to The Last Question
1. This stituation can work

--

I've worked for many businesses as a coder where none of the owners can code. They've often been technology companies too.

There's no reason this won't work. The normal difficulty of starting any business is more difficult than finding/hiring a coder.

.

2. Divide and Conquer to keep control

--

If you're worried about someone taking the idea or losing control of it, consider another field... physical products where the product is manufactured by a 3rd party engineering firm.

What is generally done is that different parts of the product are created by different firms to prevent 1 firm making the whole product.

.

You can apply this to webapps just as well
Men's looks are brought up far less often to begin with. (By either gender.)

Yesterday I was reading a highly caustic anti-BoingBoing screed. Everything about the male writer was idealogical. Almost everything about the female writer was about her looks.

This is where somebody on HN might ask for "citation please." In this case, I think that would be a bit disingenuous.
That is the key, but not the solution.

You have two problems:

Feedback loop: When you burn more calories the body requests more calories in. So simply increasing calories burned does not work.

And self-controlling calories in is pretty much impossible for most people who have access to food.

The solution is tricks. All sorts of tricks to trick a person into reducing calories in despite the bodies demands.
Most of us don't have any particular interest in pushing up the numbers. Further, the GLBT population and the straight population call different things sex. Depending on the definition, I've either had sex with hundreds of people (including mutual masturbation and making out, or strictly oral sex) or fewer than 10. (penetration)

I know, TMI. However, think about what it would be like if a society found it socially acceptable for heterosexual couples to make out and mutually masturbate casually. The barrier would likely be lower.
$db wouldn't work as a constant.

You're right that look_ahead/company_address would work as a define("CONSTANT") better but honestly, I hate not putting a $ sign in front of a value (constant or variable). I am more prone to missing a $ than redefining a global. I don't remember ever having the problem of redefining a global unintentionally. I can give 20 examples of when I missed a $ symbol and PHP gave me an error/notice. If PHP constants had a symbol akin to $ (say #), I would definitely use them. But I just feel dirty typing "echo LOOK_AHEAD;" in one place and "echo $look_ahead_partial;" in another because I don't want to get in the habit of putting $ in some places and not putting them in others.
It is. He makes money off the amazon links, and possibly other ways.

http://www.fourhourworkweek.com/blog/ftc-disclosure-blog/
Definitely agree about the administrative stuff! Stanford videos have that, too. (At least the ones I've seen.)
Yeah, I would only want to do this if I had a way to impose a certain level of quality. But really, that's the problem I'm trying to solve with www.codeanthem.com
I'm going to disagree, despite being one that typically doesn't learn well via video (ie peepcode, etc) I feel that I took quite a bit away from watching the original SICP lectures. To each their own, I supposed, but I'd highly recommend at least giving the first one or two a chance.
> Escaping is not sufficient to prevent SQL Injection Attacks.

Do you have an example or idea of how a SQL injection could occur despite using http://php.net/manual/en/function.mysql-real-escape-string.p... ?
While I prefer an accurate display, I can't help but think that every iPhone 3G, 3GS, and 4 owner are going to think that 4.0.1 made their reception worse.
Have you ever eaten a meal, and afterwards felt uncomfortably full? Or have you ever been interrupted halfway through a meal and when you came back, you didn't want to finish it?

It takes about 20 minutes for satiety to kick in - the feeling that is the opposite of hunger. The stomach takes this long to communicate with the brain. If you eat quickly, you spend longer in the window of time between when you have eaten enough and when the sensation of hunger diminishes. That's the key.
Slave Master: How Pornography Drugs & Changes Your Brain
Because a thing is simple, doesn't mean it's easy.
When I wanted a career it was much easier to make a realistic plan, but now that I am doing my startup anything I can say is just a random guess. It still may be worth doing but the benefit is in the act of planning (and continual re-planning) and not in "getting it right". Sort of like agile for your life.
These signs would be present in almost any crappy software, not just PHP.
The Biggest Obstacle
I eat calorie dense (but low carb) food quickly. I got really low body fat eating this way. I think this, at most, is a key.
http://www.google.com/url?sa=t&source=web&cd=10&...

The above is from MIT Sloan and pretty much sums up the reality of outsourcing. To do it right, it cost as much as onshore development. Outsourcing should be used to find quality people, as they are always in short supply, and not for cost cutting, because the reality is that it is not cheaper.

There are also cultural issues to deal with. I was part of a project rescue for a Saudi Banking project, in which it was outsourced to the US. The lending rules where not clearly defined, because the fact that Islamic Law forbids usury. That is pretty much common sense in Islamic Nations. The US developers and Architects where having a hard time grasping the fee schedules and therefore, the project overran and failed. When I was brought on I documented every little detail whether common sense of not and then promptly outsourced the business rule development to Egypt. The project ended up costing 1 1/2 times the budget and that is a pretty familiar story with outsourcing. If macro concepts can be missed due to culture, it does not bode well for the micro ones.

You see so much doom and gloom about outsourcing because that is the reality, backed up by countless documented cases, statistics and post mourtums. You hunch is wrong because it is anecdotal.
where do these schools get this funding?
Keen observation. Correlation does not imply causation. Do keep in mind though that this is an old article (2008). Followup studies have been conducted, such as "Treatment of childhood obesity by retraining eating behaviour: randomised controlled trial", by Ford et al.: http://www.bmj.com/cgi/content/abstract/340/jan05_1/b5388

Quote: "Conclusions: Retraining eating behaviour with a feedback device is a useful adjunct to standard lifestyle modification in treating obesity among adolescents."

I have not read the whole article though, and some cautious scepticism is required as the authors seem to have commercial interests in the results :)
Hm, the way I read it, "Confusion" wasn't suggesting to skip the exercise because it's hard, but because it assumes specific mathematical knowledge which, strictly speaking, is unnecessary to master SICP concepts.

As you point out, it may still be useful to have that knowledge, and if you have the time and the mathematically-inclined brains, it may be a skill worth learning... but I feel that it shouldn't be required to successfully learn the concepts in SICP. SICP is hard enough as it is, no need to get sidetracked if you don't absolutely have to.

(I realize this comment may bring all the "programming is math" fans out of the woodwork, but so be it. :-)
XSS is such a huge deal and yet I don't understand why browser makers/w3c etc. haven't agreed on any solutions yet.

a. Have a meta-tag (or something in the <head>) that says: do not allow in-line script tags on this page. Only run scripts from external .js files. No onclick/onmouse code allowed in HTML.

b. Have a <noscript_within> tag that tells browsers to completely ignore all in-line script tags (including onclick code) within the tag. That way sites can allow all HTML within the <noscript_within><div id="comments">....</div></noscript_within>

NoScript sounds like a better and better option these days. I already use FlashBlock to protect against 0-day Flash vulnerabilities.
Reddit totally changes Google results for "Carl Herold". Remarkable SEO
they disabled comments, but I just read this on /b/:

Create video response
Name of video = script of choice
???
WORKING, VERIFIED AND UNABLE TO BE FIXED EASILY BY YOUTUBE.

So stay away from youtube for now
Google frowns on treating its not differently than a regular user. And the googlebot doesn't always identify itself as such.
His tips are very good. I also like the book "Breakthrough Swimming". It's really amazing how the techniques change/improve. About 8 years ago I was taking "triathlon" swim lessons and they were showing things unveiled at the recent olympics. I went from being a slow swimmer to one of the faster ones.

Incidentally, as a kid I was a lifeguard and even taught some swim lessons. I developed a fear of water after nearly drowning saving someone in the ocean and took up triathlons to get over it.

In general I think people try to swim too fast and get out of breath. They don't "feel" the water to sense when they are gliding or impeding the motion. I' especially impressed the author mentioned reaching down further than you expect because that really helps you get your feet up and reduce your "frontal area".
I have no experience, but it would help to tell us which app, I imagine techniques can be different for different types of apps.
It's not enough apparently, the name of the video is also vulnerable.
Previously:
http://www.reddit.com/r/AskReddit/comments/ckcjc/reddit_can_...

Google search:
http://www.google.com/search?&q=carl+herold&btni=745

His website:
www.highercomputingforeveryone.com
Halt the Pain of Interface Flames
The error seems to be in the last printf statement, where the format string doesn't match the number of v_args.

Kinda missed the point of the post, but I don't think the article said anything.
But what if the person simply broke out of the <noscript_within> tag?

<noscript_within><div id="comments"><div id="comment"></noscript_within><script src="myfile.js"></script></div></div></noscript_within>

Probably the best method for this is giving the amount of characters are in the <noscript_within> tag. I don't believe this would break caching, as the length only changes when the content changes.
Why are you so hostile to research that sees production use?

The theory, which is increasingly being borne out, is that economies of scale will kick I bun if you subsidize it.

But even if not, it's small-scale research, and extremely important. But politicians need a message that sells, and talking about the complexities of solar panel research and job creation that motivate this endeavor just leaves people's eyes glazed over.
Store them in static private variables of a singleton object.

An example
http://pastebin.com/Gf4fzHn2

This way you could lookup the parts of the code that use your global stuff, because they have to get it though the static method call.