skysight-inc/HackerNews huggingface dataset:
"Your program isn't about what it does, but about what things are"

This is exactly backwards. OOP programming is about what things are. As Steve Yegge put it, functional programming is about verbs, about what your program does to the data passing through it.

Steve's original post, "Execution in the Kingdom of Nouns," is much clearer: http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom...

"Your code isn't just a linear sequence of instructions, but a tree of nested expressions."

This is also off the mark. If you're working in a Lisp, sure, you're directly manipulating abstract syntax trees. But this is a mark of a homoiconic language, not a functional one.

"Functions are ordinary mathematical objects, just like an integer is."

Also wrong. In a functional language, functions are first-class objects, meaning they have an existence independent of classes. But they're something different from integers, which are usually defined as primitives in the language.
I would have probably done the same under the circumstances. The solution was a crock of shit.

You can only take so much.
For me, the key phrase was

> Edwards-Stuart had essentially concluded that the fire had been started by a discarded cigarette, even though this seemed an unlikely event in itself, because the other two explanations were even more implausible.

Anyone who believes that there are only three possible causes of a fire (not just three likely causes, but three causes with nonzero probability) does not understand fires. Changing "zero" to "epsilon" is going to radically change the Bayesian estimator and vastly decrease the probability that it was a discarded cigarette. Since no one in the case seems to have defined "epsilon", I'd throw out a naive Bayesian analysis too.

The author should (and I assume does, after looking at his CV), understand these modeling issues, so... I'm disappointed. The statistical analysis seems as bad as the legal analysis.
Hm, maybe I need to make the value prop better, but the page does say, "What if there was an app that made you stop what you were doing and plug your laptop in before you could continue working? There is, and it's nearly here.

Interested? Sign up to be notified of the launch below"

I don't know how I can be much clearer?
$200/mo per kid.
$350/mo for wife.
$600 for wife and unlimited kids.
> Maybe given time and innovation we'll all end up with really open iPads that you don't need to pay for the privilege to run your code on

Given the policies of Apple and Microsoft, I doubt it. Further, I would imagine that more and more machines will be locked down because security is now more important, generates link-bait headlines, and "failures" of security / privacy get your CEO dragged in front a congressional committee.
AFAIK it never worked well and was dropped from later releases.
I saw this same page months ago. Today It says that there are 6 days left to apply... something fishy about this.
A colorie is a calorie (in the sense that a unit of energy is a unit of energy); however, there are some (I don't have science to cite, so I won't say it is factual) people that say fructose is worse for you than glucose (the two monosaccharides). Here's an interesting article you can read: http://www.eatingrules.com/2011/05/introduction-to-sugar/

In this sense, a calorie is not a calorie - but to be precise it's more that different sources of calories have different side-effects on the body when converted INTO energy/calorie.

Now to grains (specifically wheat-based products): gluten. The single reason why people in my athletic sphere (CrossFit) avoid wheat products as a source of calories when training is because of gluten (and sometimes yeast - as it does stimulate candida growth).

Gluten can cause all sorts of problems that aren't related to the calorie intake - diseases, obesity, inflammation, etc...

(I won't cite anything here for that because the information is widely available and in many books - although there are still "studies" that would say this information is bunk)

I consume around 4-5k calories per-day as part of my training. As long as you use it, the calories aren't bad for you but the source of the calories must be clean.
I think that it's probably easier for women to feel this way. More specifically, I think it's probably easier for men to shed these feelings. As a guy, there are a lot of social opportunities as a CS student; from clubs to just friends. In my classes the ratio of women to men were something like 1 to 30, so I can imagine when a woman's hanging out with her girl friends, they're probably not CS majors. And when a woman is involved in a CS club, she's probably one of the only women, and feels a bit like an outsider anyways.

I think that sort of feeling is helped along when you are recognized by your peers. If you feel like you are "Just a person learning to code" but you think your friend is an awesome programmer, and one day you're working on a project together, and you realize that actually, you write better code faster than he does, or he compliments you, or you solve a problem he has been stuck on; eventually you start to realize the people you thought were pros are really not any different than you.

But if you never get that feedback, or if when you do get that feedback you feel like you are an exception to the group, it's harder to shed that yoke. If you go to girl friends, who have no experience with CS and they tell you "wow, you're really smart, I could never program." that's pretty meaningless. If you're in a club where you're the only girl in a group of guys, and a guy says "You did a really great job" you mentally affix "... for a girl" to the end, or you wonder about his sincerity.

As more women take CS, and as more communities like the blog above develop, I think there will be more opportunities for women to find that confidence.
The Netherlands is it seems one of the few democracies that do not use juries for any trials. Civil or not. The UK certainly has judge only civil trials (commercial law is basically a way for two barristers and a judge to get paid for sitting and talking for two months)

http://www.dutchnews.nl/news/archives/2008/04/judge_calls_fo...
This is what the United States was founded on. Jumping through hoops to respect other peoples' beliefs even when they make no sense to you.
I wouldn't count on it in the near future: the waitlists for SF are currently full and not accepting new entries. See the bottom of: 1) http://sfha.org/Public-Housing-Information.html; and 2) http://sfha.org/Information--Section-8.html

In addition, Section 8 housing, which has a movable housing voucher and the most options, uses the lower 50%-of-median threshold ("very low income"). The housing that has the higher 80%-of-median limit is in public housing, which has fairly recently gone to that higher limit partly to improve finances (if you have higher income, you pay more rent, though it's still subsidized), and partly to encourage mixed-income communities rather than filling "the projects" with 100% extremely poor people, which has in the past been blamed for turning them into high-crime ghettoes. Nonetheless they still have a poor reputation as places to live, and tend not to be very successful attracting middle-class residents, even with the subsidy.
That is one of the most enlightening criticisms I have ever read. Thank you. I'll try and fix my post tonight.

Now, about your questions…

float foo(int);

translates to

foo :: Int -> Float

Now there's still a slight difference: in C, the prototype can be used as a forward declaration. The Haskell equivalent is merely a type restriction. Here it says "dear compiler, whatever you may think about that 'foo' thing, I'm telling you this is a function from integers to floating points.

Oh, and type names are capitalized in Haskell. "list" was a typo.

Now,

(.) :: (b -> c) -> (a -> b) -> (a -> c)

reads in a similar way. On the left side of '::', we have an identifier (which here happens to be an infix operator, hence the surrounding parentheses). On the right side of '::', we have the type we wish to declare (which here is a bit complicated).

g . f = λx -> g (f x)

I'm just defining a new value here. The left side of '=' tells us we define the dot operator (which is a function with two arguments), and the right hand side is just the body of the function.

λx -> blah_blah

is a functional value. 'λ' and '->' are the syntax constructs. 'x' is the parameter, and 'blah_blah is the body. This code reads "the function which produces 'blah_blah' from 'x'". I call this a "literal" function, or a functional literal, because it is analogous to integer literals

42

and string literals:

"Hello World"

(Oh and in Haskell, we actually use '\', not 'λ'.)

A cons cell is just a place where you store two values. Here this particular cons cell contains an element, and a pointer to the rest of the list. I reckon I was going way too fast on that one.

In type declarations, the arrow is right associative. So,

foo :: a -> b -> c

is the same as

foo :: a -> (b -> c)

You can think of it as a functions with two arguments, or as a function with one arguments, which returns a function with the remaining argument.

map (a -> b) -> List a -> list b

Lacks the '::' because I forgot to write it. Good catch. Likewise 'dbl_all' is a typo, it should be 'square_all' or something.
Same thing here. When reading fiction (and some types of non-fiction) I can do away with my internal monologue and absorb the text directly, with full or near-full comprehension. [0] With textbooks etc. I need to actually subvocalize the words for full comprehension.

I'm skeptical of the claim about subvocalization made here as well, but I'm realistic enough to know that I'm not different enough to fall outside the realms of the study referenced.

[0] My reading speed in this `mode', so to speak, ranges from 300-750 WPM, depending on how engaged I am in the material. I measure comprehension by testing myself via asking others (with a copy of the material in question) to quiz me on the content after such a reading session.
"As for commute, this much is true and is a particular problem in the Valley. For me, my commute is a 7 minute walk to work (in NYC). YMMV. :)"

I might be going way out on a limb here, but I think this kind of thing is a subtle driver of age/family discrimination.

What kind of workers are more likely to live by the office, and thus able to drop in on a moment's notice? Young, single workers.

What type of workers are less likely to do this? Older workers or workers with families who have to deal with commute/spouses/children/etc.
I haven't read the whole site yet but I jumped to the topic I know fairly well, medical malpractice. Just some additional notes to consider:

* 9 out of 10 physicians would discourage their children from becoming doctors.[3] There are many reasons for this. Malpractice insurance premiums are a factor. Not the only factor.

* California physicians have the lowest insurance premiums in the country. This is directly the result of tort reform, and caps on pain and suffering payouts. His survey of physicians he knows in the area is subject to this sampling bias. Malpractice is a big issue in other states.[0] California is the model for tort reform for this reason, by not acknowledging this fact, he's missing a big aspect of the national (not just Californian) issues regarding healthcare.

* California physicians also have some of the lowest reimbursement rates in the country.

* As he indicated, internal medicine docs pay far less in premiums (as he noted) than other specialties. Surgeons pay much higher premiums. [1]

* The California Department of Insurance does a good job of keeping most premium information public. It's not a secret what your average doctor pays in insurance.[2]

[0] : https://en.wikipedia.org/wiki/Medical_Injury_Compensation_Re...

[1] : http://cl.ly/image/0m390m1F2D2D

[2] : http://www.insurance.ca.gov/0250-insurers/0800-rate-filings/

[3] : http://www.thedoctors.com/ecm/groups/public/@tdc/@web/docume...
When we do it, it's sometimes evil - see http://darkpatterns.org/.

But we're not poisoning people, even in the worst case. All we can do is screw up the internet.
... "As a culture, we’ve become upset by the tobacco companies advertising to children, but we sit idly by while the food companies do the very same thing. ..."

Why aren't parents more responsible for their children's health?

As a parent myself, I know how damn hard it is for kids to eat anything consistently, especially "healthy" foods, such as fresh fruits and vegetables. And our kids have snacks in moderation.

It seems to me that if parents were more "responsible", which is a horribly generalized term, then the food executives wouldn't have private meetings to discuss how to deal with obesity - their products would have adapted to the healthy market.

Parenting is hard. Being a "responsible" parent is harder. Tough shit.
It's a new Pack for Developers I launched 4 days ago. Applications are open for 10 days (6 left). Nothing fishy :)
Riveting stuff.
If You’re Thinking of Launching a Social Media Startup, Please Don’t
Looks interesting. Going to try by myself right now.
What It’s Like Inside SURF Incubator After A “Wild And Unforgettable” Year
I wonder what the reaction from the community would be. Probably not very good... which is bad since the meaning of those words, in this context, is clear. And it's not really offensive, although there are more polite forms of course.
Aren't most of those people gone? :) Doug Cutting (Hadoop) is at Cloudera now...
Healthcare tech ideas we'd like to fund
That's one of the key points: Sometimes properly configured MacBooks don't come out of hibernation properly. Also, I'm also trying to get rid of the annoyance of seeing your laptop hibernate when you could have done something about it. Maybe that isn't a pain for you, but it's a pain for me.
Cursor for Hacker News: A beautiful new iOS reader for HN
The food that is most readily available to us is the food that is most profitable.
Firstly, I'm a huge fan of proper home working. Simply, it works for me.

The general "vibe" I get from this is that that new management has arrived and is concerned about productivity. I assume that if new management has arrived, they would or should know what productivity levels should be and that yahoo remote staff are lacking. If so, then from a management POV, it does seem quickest and simplest to notionally get everyone back to base and kind of hit a reset switch.

If yahoo is now a low ranked place to work, then I can well imagine that in general its employees are a bit low ranked too, and perhaps some of the more lazy ones looking for a lax easy life. Presumably the quality people will have left. In which case, remote working cant work well at all.

Don't get me wrong, I'm not blaming the employees, this can only happen or go wrong if management lets it. But, I think one should support a new regime that is presumably trying to sort it out. Presumably, and if it were me, they will assess the situation and bit by bit allow people out of the office again, but with new procedures, guidelines or what ever.

So, to be honest, I think I can see what yahoo is doing. Yes it is painful for the good remote employees that are left there, but if thing are going wrong, they need to support the attempts to fix it.

Or...... I've missed the point somewhere.
SailfishOS SDK
I find it weird that "dick" was obscured more than "fucking" was.
Any halfway decent developer should have a side project or two, so I would imagine it's a filter to see if you're actually at least semi-serious about what you're doing.
1 second on the lips, for a lifetime on the hips.

Doing the slow carb diet for over a year now. Lost over 50lbs. With the 1 day to cheat rule, I definitely ended up eating more candy, sweets, cake, chocolate, etc. than I would have at any other point in my life. Crazy as it seems, I developed a sweet tooth while on this diet! But it just goes to show, a calorie isn't a calorie because our body has functions and reacts differently at different times.
I don't think there's much actual science behind the purported aesthetic properties of the golden ratio.
For anyone curious about how this would play out in the US, federal courts and most state courts use the Daubert standard. TLDR: experts (including statisticians) can testify if they're using fairly standard methods and there are no significant gaps in the evidence-->analysis-->testimony chain.

http://en.wikipedia.org/wiki/Daubert_standard
http://en.wikipedia.org/wiki/Daubert_v._Merrell_Dow_Pharmace...
Well, given this: http://news.ycombinator.com/item?id=5278883 I now believe the notation needs to be explained anyway. I'll switch back to '\'.
Nitpick: Not exactly correct.

Once 30% of your total caloric intake is in the form of fat calories, genetics comes into play. Apparently, and for reasons no one yet understands, there is a gene marker APOC3 [0] and other apolipoproteins like it [1] [2] that will cause your body to no longer break down all consumed fats, and leading to part of that fat to be "absorbed" instead. However, this only affects around 5% of the population, for the other 95% your "calorie is a calorie" approach is correct, be it fat, carb, or protein.

0: http://www.nytimes.com/2008/12/12/health/research/12heart.ht...

1: http://jn.nutrition.org/content/134/10/2517.full

2: https://www.23andme.com/health/familial-hypercholesterolemia...
I am a full time telecommute developer. I am slowly travelling around the world while telecommuting. The job is awesome and all that anyone has to do to achieve this is just to demand that any job they take be 100% telecommute.

There are, however, a couple things that one should keep in mind.

1) Your competition is global and intense. (How many of you have worked with some of the better Russian or German developers? How do they get so good?)

2) Your pay must be set and comparable to a global standard so forget about silicon valley pay.

3) You are usually a contractor and have no safety nets. So save large chunks of your pay.

Ok, that said, maybe I can relate this to the original article by saying that I've literally seen projects completed about 3x faster and at least 3x cheaper than any other corporation I've worked for that required the workforce to be in-office.

Why? Well, I don't really have the answer. I can speak to my own experience in that I'm judged solely on deliverables. I don't really have a face and as far as the company is concerned I exist as my deliverables... so they better be up to par. The other reason is that working this way requires projects to be organized ON PAPER. Those who have worked at any corporation will understand why that is important. So many managers bullshit their way around doing things like clearly documenting requirements or tracking deliverables. This simply won't work in a telecommute environment.

I really do believe that if I were to hire a team to complete a project I'd do so on a telecommute basis. It's simply cheaper and faster if done correctly and thus gives any company that does so an advantage.

One last point: I don't believe any manager who is not him/herself an engineer is suited to manage such a team.
Rats: Scratch and sniff landmine detection
http://sublimetext.userecho.com/ seems to be the feature request and bug tracker, which would work well if any of these features/bugs actually got fixed (some are really old and highly requested). Usually I see minor stuff get fixed between updates, but worse is that the new features that appear in minor updates are nowhere to be seen in the top votes. One of these is preventing me from buying/using it. NP++ till then.
yeah, and sometimes new things get patched in like squad management so you can say "alternate patrolling with training", and of course it has a brand new interface, which is subtly different from all the other interfaces...

UI critiques of Dwarf Fortress are incredibly valid. But Tarn makes a living off of DF despite that, because he's trying to procedurally generate interesting stories. That's a really big challenge, and it's something very, very few other games try and do. If you check out his devlog (http://bay12games.com/dwarves/index.html) and his planned feature list (http://bay12games.com/dwarves/dev.html) you can see the scope is... staggering in complexity. So the vision is what draws me, personally into the game. The fact that this is all free and driven by donations (publicly tracked here http://www.bay12forums.com/smf/index.php?topic=122396.0) just makes it even more incredible.

This complexity and vision comes with a price. As people noted below, UI is not really Tarn's focus and probably won't be any time soon. The code is not open and Tarn is pretty straightforward about not wanting to share it with anyone, because he doesn't want to introduce more complexity with non-canonical versions and churn as he continues to replace older subsystems with new ones (At least, this is my recollection of the topic, but I've been out of the loop for a while). So no, it's not going to get fixed any time soon.

Regardless, I really love this game. But I think the wiki's quick-start guide is not sufficient to get up and running with the game. So I've been maintaining my own tutorial: http://www.hailingfromtheedge.com/p/dwarf-fortress-tutorial-...

so far i'd just been beta-testing this on friends who haven't played yet. If you want to try out DF for the first time, please give my tutorial a shot and let me know how it goes!
There's also people choosing a text-editor to start off with.
I am one of the lucky few who has insurance provided by their employer. Unfortunately, if I am in a car accident and rack up $100,000 in bills, I am bankrupt.
First Round Expands $500K Student-Run Investment Arm, Dorm Room Fund
Because shipping is a tiny part of the cost.

Submission flagged: DOS attempt. Not relevant to link to FedEx website directly.
Your point is great, but could you elaborate on how you read the article as pushing, "fat makes you fat"?

I read it much more as saying that large food companies have developed deep expertise in tuning the quantity of sugar, salt, fat, and texture to make their products bypass our body's natural mechanisms for feeling full.

I think if you're reading this through some kind of paleo/non-paleo lens, then you're missing the point of the article.
10 Object Oriented Design principles Java programmer should know
There's another Ronald Carver book called "Reading rate : a review of research and theory", which comes to the conclusion that speed reading doesn't work.

People can skim at faster rates than they can when reading with full comprehension, but then their comprehension will suffer. You can learn to skim, to take notes, to get quick overviews of whatever you're reading by noting things like chapter and section headings and by reading for the main ideas of sections and paragraphs.

These are all useful skills. But they are a far cry from being to read every single word in the text with full comprehension, and doing that at a significantly faster rate than normal. This latter achievement is something there is little or no evidence of.
I think you are spot on - I've done a lot of working from home, but it's by far the most satisfying when there's a chat room (or IRC) system setup. It makes it fun, I feel more connected, and I think we are more productive that way.
In the original, Linus had already obscured "fucking", but not "dick". Perhaps the automated obscenity filter just didn't pick up the "f*cking".