skysight-inc/HackerNews huggingface dataset:
Useful CSS Snippets for Your Coding Arsenal
Indeed. Carbs are not the same just as fats are not all the same. If you spend your life eating crisco and sugar your body will be affected in much different ways than if you spend your life eating olive oil and whole wheat, even if the quantities are identical.
You can do that now with camping water filters from companies like First Need or PUR.
3 Things Web Guy Hasn’t Told You About Your Site
This is getting more idiotic every time. Are you for real?

First, I was explicitly talking about music. Second, DRM is no more. That’s it. The music store was a walled garden. It is no more. To call it a walled garden is stupid.
How I Went from Problem to Prototype in 14 Days
Introduction to Scala
This is fantastic! I've yet to find a client, web-based or otherwise, that even compares to gmail, which is a pretty low bar, IMO. It's 2012 and we haven't even solved this problem yet?
I was an undergrad TA for a semester as well. I think most of my criticisms are more applicable during early childhood development. Students get into their own self-fulfilling prophecies about what they can do and by college are quite good at sabotaging themselves.

That said, I should have reasoned about pointers by simply handing them a map to a building and saying "this tells you how to get to the building. It's a pointer. The building actually has what you want. This cannot because it is paper."

Perhaps framing that "ceci n'est pas une pipe" picture on the class wall would help, too.
Since you've been registered here almost two years, I would hope you'd be aware that snide comments are discouraged here, regardless of context. I have yet to hear why you are more qualified to speak on the topic than anyone else, but I will add my personal experience as a student - I went to some good schools and had some good teachers, but we were rarely introduced to a topic in different ways. For one thing, there simply wasn't time.

The best math course I ever took was geometry. The teacher never lectured - instead, he had written a worksheet of problems for us to do during every class period. Each worksheet would start out asking deceptively simple questions, which built upon other questions or challenges to prove something true. By the end of the worksheet, you had taught yourself a new concept in geometry (or proved a series of fundamental theorems) without really realizing what was happening. If you got stuck, you were encouraged to ask the students next to you, or the teacher himself, who would wander the classroom providing hints and alternate ways of approaching the problem.

There was a textbook, but we only touched it for homework problems (and occasionally as a reference).
Technically, it is energetically easier to store dietary fat as adipose as opposed to carbohydrate.

The problem most people have is that they eat enough carb to satisfy their daily energy demands, and the fat they've eaten will be stored. Keep in mind that almost all muscle tissue and the brain prefer glucose (which usually comes from starch) over anything else, although some vital organs run mainly on fat, particularly at night.

Our digestive system is very efficient. The bottom line is this: if you eat more calories than you expend, you will gain weight.
Developers Offered HTML5 Advice Via New Website
Make sure you're not simply stocking up on proteins. This can cause you to lose a lot of water, leading you to believe you're losing 'weight'. You might be, but in this case unfortunately, water != fat. Though if you're just 'eating as much [as you want]', you're probably fine.

Though, in all honesty, I don't care so much for special diets. Me, I prepare my own food and don't eat the refined crap, and I'm as healthy as a horse. My ancestors did not evolve to eat that crap.
I think it might be worth your time to double check your attr_accessibles. Just:

grep attr_accessible app/models/*rb

Everything that comes up on that list, you should be comfortable with users giving any value they want to; that's what attr_accessible (effectively, not literally) means: "I give up any control of how these attributes will be set".
CSS Property Access By Name
> If "Can it go up 5X" were the threshold for going public, investors would price this in, so the actual threshold would drop.

I agree with this. All I'm saying is that most companies can in general grow, and so it depends on you whether or not you want to buy stocks.

In Google case, they underestimated it. And who bought might be doing quite well right now.

In Facebook case, in my opinion they aren't underestimating it, and I just think it's hard to grow much more than they are already.

First, they have already 1 billion users (order of magnitude). There is no way they can go to 10 billions, just because they don't exist.

Second, I believe that the external pressure from other companies will somehow kick in, not allowing one only company to rule the world. Maybe some anti monopoly laws, some other platform, a yahoo -> google effect, I don't know.

It just seems unlikely to me that Facebook will be doing much much better. I may be wrong, but in the long run I'd still buy GOOG or AAPL towards whatever Facebook code will be.

What the stock will do in the short run is a different thing, maybe boosted by the media, who knows...
Yes, we have heard this from a few people (was on the GiftRocket list of startup ideas) and are considering it in the future.
"Sugar" isn't the problem. It's fructose. Hard on the liver, can't even be used by muscles.
sigh yet another chapter in "X is bad for you! No, wait, X is good for you! it's actually Y that's bad for you. No wait, it's actually Z!"

After decades of this I've decided they're all full of shit until someone can come up with extraordinary evidence to the contrary.
This is partially why the "glycemic index" is bogus.
Occam's Razor itself actually says that you mustn't multiply entities beyond necessity. It gives no clues as to the necessity and so is, IM[not very popular it seems]O, absolutely of no worth.

Of course if you can prove whether an entity is necessary to describe an outcome then you've no use of Occam's Razor, so it seems rather to excise itself from being useful.
I'd love to pay you a self-hosted version. There is also a good chance I'd pay you for a hosted version, so long as I knew I had the opportunity to upgrade to a self-hosted version, at a reasonable price for an individual with multiple domains.

I'd not pay for a version that had adds, and personally would likely to pay to remove adds, but it's unclear if that'd apply to many people.
> We can't standardize on RDP because it closes the remote display when we need someone to walk our help desk through what they are experiencing

That means you're looking in the wrong place. You don't want Remote Desktop. On Windows XP you want Remote Assistance, and from Windows Vista you want Windows Desktop Sharing. Same underlying protocol, but different semantics -- the session stays open on both ends.
Hackers pounce on just-patched Windows Media vulnerability
I'm not sure what your argument really is here. Your very invocation of "the wave function" implies continuity in the evolution of the state vectors, described by the wave equation - it matters not that results of macroscopic measurements will only produce quantized results. You still used continuity of the more abstract (but no less "real") state vector evolution.
Satiety is mainly due to dietary protein intake because of its glucagon activity.
It's always great to be reminded to step away and remember why we do what we do, it can easily be lost in the complexity of problem solving. Nice article.
Repeating the same tired jokes over and over again is not the same as being funny. Original humour is generally well-appreciated on HN.
The fiber helps a lot to moderate the hit, though this varies greatly among different fruits.

I keep my heavy carb intake (fruit, whole grains) to mornings and post-workout.
For a Moon Colony, Technology Is the Easy Part
Wow, you guys are on a roll with bringing in new folk! Congrats to everyone
A lot of that research starts both sets of mice on high carb diets, then draws the wrong conclusions about how the little fat they received affected the groups.
Yikes... $12,500 seems a bit fishy.
You should check again. While food prices haven't quadrupled they have doubled...

According to the IMF Commodity Price Index, at least. http://www.imf.org/external/np/res/commod/index.aspx
Inmixedcompany.com : Daily Visitors, Seo Report, Website Statistics, Do
In my experience, the biggest barrier to students grasping CS concepts has been an aversion to parsing errors. I've seen students slowly melt down as errors and warnings thrown up by the compiler/interpreter slowly chip away at their sanity. It's almost as if these students take it as a personal insult that the computer isn't behaving as expected and their snowballing frustrations preclude any opportunity for them to learn. The problem only gets worse as the class progresses because the topics grow in complexity but the student's strategy for dealing with problems (frustration/agitation/resentment) remains ineffective.
I agree, fat does not make you fat, but carbs will not make you fat either. Excessive calories make you fat. Excess calories from any macronutrient will make you fat, including fat.

Can you please provide real studies, that do not involve Taubes that say or prove otherwise? Real studies, not blog posts. Pubmed or similar.

Here is a list of studies (some relevant, some not, but still interesting) that you may find interesting regarding diet, fat loss, etc:

http://www.reddit.com/r/Fitness/comments/nv8ip/do_you_have_a...

Also, you might be interested to read Martin Berkhan's low carb taliban's blog post. He is very highly regarded and everything he advises, does, and advises his clients are backed by real studies and science.

http://www.leangains.com/2009/02/low-carb-talibans.html

I'm not the most knowledgeable on these subjects, but I really believe stating, "It's carbs." is an outright lie, unless you can back up this with some sort of study or studies or legit real world proof.
Change management is a great thing to have if you regularly need to have bad projects killed. You route them to the CMO (change management organization) and it does the rest. Real projects which really matter have someone high enough up the food chain as a champion who shoves them through.

This sounds cynical, and it is a little, but there is more than a little truth to it.
Not really. Sure, if you're force-fed bacon and eggs, you might still gain weight, but the point is that fat uniquely "sates" us, and that they key word is "desire" -- you stop desiring more food.

In my experience, you can indeed eat as much protein and fat as you desire, and not gain weight, because you literally stop desiring to eat more, significantly before the point at which you would gain weight.

That's what's "special" about refined carbs -- you can keep wanting to eat slice after slice of pizza, day after day. Basically nobody can do that with fatty steak. Just try it, and you'll see what I mean.
You didn't include a button to hear the sound without signing up? Come on!
Italians have a very high rate of carb consumption, yet the countries obesity percentage is 1/3 of North Americas.

Regarding 'We evolved eating meat and veg'. Anatomically modern man evolved eating cooked food, namely yams, roots and vegetables. Meat consumption was a relative luxury in man's early years.
Is there an API to Chilling Effects? Would love to do some fun things on this dataset.
Before he died, Steve Jobs kept a letter from Bill Gates by his bed
I'm talking about the infrastructure that brings those users together, not the users themselves. They could start an AWS competitor, or anything they want.
Deorc Enterprise giving away 2 signed copies of “The Clone Redemption”
Both. Seeing your past achievements is motivating as well, no?
There were definitely pagers in the 80s.

Actually and the 70s and the 60s and the 50s, but they were certainly widely available by the late 80s.
That's somewhat misleading. It's true that in vegetables the carbohydrate:fat/protein ratio is much higher than in most other food sources, however the total amount of carbohydrates in most vegetables is still low. Vegetables are mostly water, but are also a source of a great deal of vitamins and minerals.
I kept the weight off for quite some time, so I doubt it was all water. I also fit into my old jeans. My brother just lost about 75 pounds on a low carb diet. That is certainly not 75 pounds of water! I don't know if he also ate as much as he wanted, though.

I do have to say when I went on the low carb diet, it did make me very cranky for the first week or two.
Senior PHP Web Developer
'Unusual'.
Show HN: "Send HN" button
Carbohydrates are the most accessible source of energy for your body, but they aren't the only one. For those interested in the mechanics of how fat can be used as an energy source instead of carbohydrates I recommend looking up Ketosis.

It is a huge misconception that "the more fat you eat the more fat you get." Simply having excess energy intake (from any source) will gain you weight -- although the energy requirements for body maintenance is different for everybody. Having a deficit will lose you weight. Of course it is a little more complex than this, but generalising like this makes it simpler to understand and follow.

Personally I keep a moderately low carb diet (I eat most of my carbs before strenuous exercise) and eat high protein/fat.

- http://en.wikipedia.org/wiki/Ketosis

- Alternate infographic about drinking carbonated drinks: http://imgur.com/w6C0s
Google their recent financial report. It says something like "revenue down 30%, net loss half a billion $".

I would not call it desperate, but they likely are more than a bit worried.
There are a ton of high-traffic websites out there that don't need an architecture any more complex than a standalone DB server + PHP + varnish (or the equivalent).

More so, if devs spent as much time tuning the performance of their apps as they did fantasizing about "web scale" architectural pivots they would typically be farther ahead. StackOverflow.com is a perfect example of this. They run on tiny handful of windows machines, support gobs and gobs of traffic, and have absolutely fantastic performance. And as much of that is due to paying attention to performance and making sure to find and remove the bottlenecks where they exist as it is to using cutting-edge architectures like database sharding, map+reduce, eventual consistency models, etc.
I've never been thought; Oh I need to look up something... Let me Facebook it so they can Bing it for me.
Your new designer will be able to have a crack at an original homepage ;)

http://i.imgur.com/fRI8Q.jpg

http://i.imgur.com/KbQo0.jpg
I ran into problems when /boot was part of the larger xfs filesystem, so had to create an ext3 /boot instead.
Well, yes. Facebook's IPO is unlikely to perform like one of the best-performing IPOs ever, especially since we can look back at why investors underestimated Google after that IPO.

The bull case on Facebook doesn't rely on a linear increase in the number of users; it's about an increase in the amount of revenue per user. (That's the case with Google, too; searches per year are going up at ~10% per year in the US; Google is making money by directing more of the end clicks to stuff that monetizes.)

So the people who are bullish on Facebook largely agree with you; they're just bullish based on stuff you haven't mentioned.

In finance, it's not enough to know that you disagree with the market. It's important to articulate what other people think, and why they're wrong. You can't truly say that you'd be willing to bet against the consensus unless you can explain what that consensus is.

It's a little bit like religious debates; someone like Dawkins or Dennett doesn't just have a theory of existence--they have a meta-theory explaining why other people would believe in a different explanation, and why such beliefs are compatible with their general worldview.
I also have no memory of /home even existing in roughly the first decade of Unix's existence.
The advice to developers to never tie your business model to a third-party platform holds true for us lusers of those platforms: don't depend on a third-party platform for your online presence.
I know i'm harping here, Michael, but:

Another step that isn’t strictly necessary at this stage—but is a really good idea nevertheless—is to tell Rails which attributes of the model are accessible, i.e., which attributes can be modified by outside users (such as users submitting requests with web browsers).

That's not what attr_accessible means --- the real meaning of attr_accessible is subtly different in a way that leads people to make mistakes. attr_accessible means attributes can be modified automatically based on user input. End-user web browser requests can modify things that aren't in attr_accessible --- you just have to write the code to let them.

The error this leads to is overly-permissive attr_accessible statements, because people fall into a trap of believing anything that might be changed as a direct result of a user request must be in the attr_accessible statement.
Thank you so much Michael, Rails Tutorial has helped me go from zero Rails knowledge to deploying apps. Please keep it up!
100% true. They'll unveil it soon enough. I bet it's Zuck's ace-in-the-hole.
The problem with startups is that they can’t solve the big problems.
use 'ip' instead, ifconfig is deprecated. 'ip addr show' is the simple replacement for 'ifconfig', but ip is pretty flexible in what it can do.
I was huge fan of Rocketmail as it had a much cleaner interface than Hotmail or Juno. Congrats to Geoff!
One reason why HTML5 gaming is limping along
This is the IPO PR tour. Similar to Groupon's hype and retreat.
Sure, although, there is one thing that bothers me, Facebook reaches so many people so quickly that even reasonably big companies now use a Facebook page instead of a website. There is something intrinsically wrong with this, because Facebook cannot (hopefully) become a synonym of internet.

I'm cool with iPad apps, with iPhone apps and Android apps, but stopping using websites and just focus on Facebook apps seems to be a false step, maybe good for now, but not very envisioning. Unless...

...unless Facebook starts mutating towards an actual product. To be clear like the blackberry with the old blackberry chat, you'll buy one (of the many) Facebook things, like a Facebook pad, and you'll have your Facebook OS with all the Facebook apps running on it.

And I think this is the direction they are headed to... but still, they can't take down the house (the whole world), sooner or later something else will need to put some checks and balances.

They can't become infinitely rich, I don't think the market and the planet will allow it. They can be a little dominant, but not like emperor dominant.

Plus, it's still a website based on participation, if the people get bored or there is some wikileaks kinda breach (think of some crazy attempt to make public all the private messages and pictures on a mirror evil site), many many users could leave is a second... (although ultimately we are just going to be forced to redefine what we consider privacy, in general, not just in this unlikely case)
Which country do you live in? I don't know about the quality of schools in general here (the Netherlands), but I've met too many people who say they "can't do math" to think very highly of our elementary educational system. Granted, though, this may have more to do with the fact that it's generally acceptable to 'just not able to do math'.

(This is not to say that I think everyone can do math equally well, but I've seen some otherwise intelligent people making such comments that made me want to rip my eyes out.)
Rise of Mobile Web Apps Will Give webOS A Time to Shine
Kinect would work well on large multi-display systems. I think the laptop is too small of a device for the motion capture to be effective.
Heh - wow.

I'd like to hear this story; is it a curebit founder? Or maybe a CL freelancer they hired...
I read cletus's post to suggest that primary math education (i.e. young children) isn't personalized very much. This is demonstrably true, at least in the U.S.

That's how I read it too. And that is a finding of international studies of primary mathematics education. The newly industrialized countries of east Asia do much better in primary mathematics education, using textbooks (and teacher professional development to ensure that the textbooks are well applied in the classroom) such that key concepts are presented from multiple points of view, to reach as many learners as possible. The TIMSS test results

http://pirls.bc.edu/timss2007/PDF/T07_M_IR_Chapter1.pdf

suggest this is working out well for those countries. A book-length description of how mathematics primary education differs between much of the United States and much of China

http://www.amazon.com/Knowing-Teaching-Elementary-Mathematic...

is an eye-opening read.
In that case they could have done all that before having the "global network of users assembled".
Ask HN: Design for a non-designer
Hello, I've been working on an app for android (game) in my spare time, learning android as I go, everything has turned out how I've wanted except the look and feel, UI, UX, I would consider all of those to fall under design. I plan on trying to build some websites/webapps eventually as well, learning as I go. I'm wondering if perhaps there's some guidelines for good design, tools that I'm just not aware of, or anything else that could help me become a better designer. Even if I can improve on my design skills though, I feel like at the end of the day I'm not a graphic artist and these things are just not possible for me.

I've also thought about getting another person to do design, but I feel like I really don't have a good enough understanding of what good design is and how to work with someone who just does the design. Are there any good guides and/or tools people have read/used to help in design, whether for a mobile app or website? Thanks!
Thanks. These seems like one of those things that while it might be sensible, wouldn't provide much of a win, so why bother with the mess?
Firefox 12 to have New Tab Page and Home Tab, will be better than Chrome
Also, why is it assumed the "good day" couldnt have been during the filming of a movie?

http://en.wikipedia.org/wiki/Blue_Monday_(date) would also suggest otherwise
I'm going to get downvoted, I can see it coming. However, it must be said, because I'm sick of seeing Taubes used as reference.

Taubes is a loon.

He picks out pieces of studies to back up his statements to sell more books and make more money on speeches. What he says is basically what people want to hear.

Just because Gary Taubes says it's true does not make it so. Has anyone gone and reviewed the studies in full that he has referenced? Does everyone just take his word for everything he says? There is a lot of love for Taubes on Hacker News. I expected people on here to be much more knowledgable about this topic, but I'm severely disappointed to find out that it seems the majority of Hacker News users fall into the typical American fad diet beliefs (previously, it was no fat and now it's no carbs). What's next?

People who believe Taubes usually fall into one of the following categories being thrown around the fitness community: Ketard, Carbphobe, Carb Taliban, to name some.