skysight-inc/HackerNews huggingface dataset:
one problem is that working for the same company can color the code review- the incentives may be skewed away from the truth. a third party (coach) while not immune from biasing influences, will at the very least have different biases.
Portuguese uses ordinal numbers to name days from Monday to Friday, starting from Sunday: Monday is segunda-feria (second day), Tuesday is terça-feria (third day), all the way to Friday, or sexta-feria (sixth day).

Interestingly, there's no first day: Saturday and Sunday are sábado and domingo, respectively.
And recently (in 2013, I forget about previous versions) the CRT began using the process heap, instead of having its own heap handle. So the malloc/new/std::allocator family is an even thinner wrapper around HeapAlloc in that sense.

(In 2015, we're introducing a little bit of extra trickery though. In std::allocator, we'll highly align large allocations to be friendly to autovectorization. This isn't done at the lower malloc/new levels because they don't get size information at deallocation time, but the std::allocator interface has always required that information even if it was previously ignored. IIRC this buys 15% or so, which makes the back-end devs drool. Our current magic number for "large" is 4 KB, so this basically never affects node-based containers, only stuff like big vectors.)
> In a democratic society that is your choice. You can fight to change the law, or you can work around it.

Ridiculous. First, neither of us live in a democracy. There was no vote where the general populace elected to receive low doses of toxic minerals in our drinking water. Rather cabals of lobbyists persuaded municipal officials to add it under the guise of it being a good thing. Which has yet to be statistically demonstrated.
We added 2012.
Besides Ada, Algol 68, Mesa/Cedar, Modula-2, Modula-3, Oberon derivatives are also worth a mention in the list of languages that allow low level systems programming without the usual C minefields.

Nice article, Ada is on favourite languages list.
I think you have it backwards: there are two legitimate counterarguments.

One is that 'ls' is the common program for querying the directory data structure (which in original Unix was just a kind of file). So it makes sense for it to output the data in different kinds of ways.

The second is that its a user mode command. It's easier than having a lot of little commands (ls for all files, basically ls -1; lsF for showing file types, etc). In fact I'll often to 'ls' then realise I want more info so will type 'ls -l' (say) which is really my brain saying "oh yea, just like what I just asked for but more info".

Better to pick something more deranged like tar or cpio!
According to the cousin comment by thaumasiotes, this is not true. It's just that Sunday comes "before" Monday, which is called day 1.

(https://news.ycombinator.com/item?id=9674622)
Entweet: Securing Twitter
Also, very classy of you to paint me as "anti-fluoride" like I would have to have some sort of agenda to question why things are being added to drinking water.
Caveat! Economic history is very applicable but economic theory is often badly oversold w/r/t its predictive power.

"In no other field of empirical enquiry has so massive and sophisticated a statistical machinery been used with such indifferent results"
Vasily Leontief, Nobel Prize winner for his work in Econometrics

If you're not Leontief, people won't want to hear you complain. So if what he describes might upset you, think twice before committing your career to it!
Domain Specific Languages in C++ Part 1: Embedded DSLs
Your entire premise is wrong. Japan has proven how easily an Asian giant can fall (just as easily as any other), how quickly they can lose their edge and stagnate.

Demographics and the size of the population has absolutely no correlation to production in any regard.

Pakistan has 182 million people; Nigeria has 173 million people. By your incorrect premise, Pakistan should produce ~55% as many innovations as the US, and Nigeria ~52%. Whoops, turns out it's a lot more complicated than having a lot of people.
Ask HN: What is the correct use of the flag button?
Or more specifically: where should I use flag, where should I use downvote?
I found the following excerpt particularly funny:
> A good example was OpenText, which was reported to be selling companies the right to be listed at the top of the search results for particular queries. [...] This business model resulted in an uproar, and OpenText has ceased to be a viable search engine.

...So exactly like Google is doing now?
you cannot exactly rent a scalable 14nm chip fab from AWS to try to build it on your own and sell it market.

To Amazon's credit, I can imagine Bezos reading your comment, frowning, and muttering, "Why the hell not?"
tldr; Luxury goods were widely traded, even in the ancient era. We're supposed to be astounded that Roman goods were found in ancient Ethiopian graves, when said ancient Ethiopian kingdom lay athwart one of the main ancient trade routes linking the Mediterranean and India/Southeast Asia.

Pliny the Elder complained about how much specie this trade was leeching out of the Roman economy, in terms that echo criticisms of the BEIC before the establishment of the opium trade [1].

1. http://en.wikipedia.org/wiki/Indo-Roman_trade_relations#Esta...
> He didn’t crumble, succumb, get browbeaten, or anything else.

How can you possibly know that? People have lost their jobs and have been forced out of their own companies for less than allowing somebody who other people might consider "racist", "sexist" or "homophobic" to talk at their conference. You can't be aware that these things have happened to other people and say that it doesn't influence the decision.

Once it was brought to his attention, the decision Alex faced was either let Curtis go on and eventually be forced out of his own conference or disinvite him and strengthen the atmosphere of political compliance. I think he made the right short term choice for him, which is all you can realistically expect people to do, but in the long term allowing this sort of thing to persist will come and bite him in the ass.

The longer this goes on, the more radical you need to be to not become victim to the political correctness mob. In the end, if you're a straight white male, you will fall prey to it because you're not a protected class. You can see this playing out in video games, movies and SF&F publishing right now. Joss Whedon and Wil Wheaton especially are vocal feminists who have taken a beating by feminists because their views aren't extreme enough.
But proper BRT is very rare because it costs almost as much to build as light rail. If you are going to put that much money into it, you might as well spend a bit more and get the other advantages of light rail, e.g. lower operating costs, higher passenger capacity, lower emissions, less noise pollution, smoother ride, etc.
... and wasn't prohibited ...
As a person who uses Minion by choice, and actually spent quite a bit of time configuring LaTeX to support Minion (not to mention quite a bit of money buying the actual font, before it was bundled with Adobe products), the fact that Minion could become the new Times saddens me.
How Flashcards Fail: Confessions of a Tired Memory Guy (2012)
Made it up to 19'th on the main page.
Laypeople have demonstrated themselves to be hopeless idiots with regard to 1) passwords and 2) infecting Windows installations for quite a while.

The same thing can be said of certain plumbing and car repair tasks. In cases like this, industry and society should take the problematic aspects out of the hands of laypeople and put those things in the hands of tools/experts. Even highly trained groups like pilots have significant automation to aid them, where the population seems to suffer from "idiocy." (Stick shakers.)

Such thinking and UX design is part and parcel of writing secure software.
Your comments seem to do more than "question". You appear to be actively against it.

Therefore, "anti-fluoride" seems fitting.
> Just one idea: you don't come across things in multiples of 7 that often.

American football scores.
I recently left Google and I think your characterization of those two groups is accurate. There is a large group of engineers at lower levels working on mundane products who are not especially excited or empowered. I wouldn't recommend working there unless you are on a researchy project (eg. Brain), or you are focusing on things aside rom your career (eg. Many employees with families tolerate working there because of the good pay and benefits)
From https://news.ycombinator.com/newsguidelines.html:

Please don't submit comments complaining that a submission is inappropriate for the site. If you think a story is spam or off-topic, flag it by clicking on its "flag" link. (Not all users will see this; there is a karma threshold.) If you think a comment is egregious, click on its timestamp to go to its page, then click "flag" at the top.

If you flag something, please don't also comment that you did.

I do think more examples of when flagging isn't appropriate would actually be helpful. And finding the instructions above isn't very easy, I wish they appeared elsewhere in HN's UI.
> Ridiculous. First, neither of us live in a democracy.

You don't know where I live! Though I'd agree that capitalist countries are not very democratic, at least not mine and the United States.

> There was no vote where the general populace elected to receive low doses of toxic minerals in our drinking water.

It varies by country.

"Toxic minerals" is an amusing statement given that virtually all substances are toxic in the correct dose. As someone else pointed out, sola dosis facit venenum: the dose makes the poison.
The other guys have addressed quite a few interesting ones.

I have just 1 then: fresh water

over 8/9 billion creatures do get thirsty, 365 days of the year (can't forget animals).

I'd like to learn more about how fragile this system is, from unbiased reports (no climate-change promoters/deniers).

Or as the doomsdayers say, the next WW will be over fresh-water as a resource.
Awesome Curated List of Programming Articles from This Past Week
An Investigation into Building Effective Sock Puppets [pdf]
Setting aside all arguments in the article, I am just generally annoyed by the simple fact that he calls React a "framework" in the article. It's a library, not a framework.

Angular is a framework; it includes everything that you need (and in most cases, significantly more than what you need). You can build an entire web application using Angular without any other external libraries. On the other hand, you usually need to combine React with a router and some library to manage state (or stores/actions if Flux).

For this reason, we shouldn't even be comparing "Angular v. React". They aren't equal and they were not meant to be compared. If want to make a worthwhile comparison, try a "Angular v. React with Flux Architecture".

...but, honestly, can we just stop writing articles like this? What purpose do articles like this serve other than saying, "X tool that I use is better than Y tool that you use and here is why"? If you really want to share knowledge, write about best practices, anti-patterns, etc. Good riddance.
Yes, it is funny but tsunamifury explained what I meant: at many companies, especially but hardly restricted to Microsoft and Google, the PMs are internally rather than externally focused and rarely have technical experience.

Despite Apple's propaganda otherwise, I get the feeling from some of the things my friends say that the engineers have more sway over product development than Google's do.

foobarqux I hope this answer's your question too.
Observing the existence of commonalities is a long way from making equations.
Minimal OpenGL 3.3 Core Profile Demo
Wattage tried something similar but just recently shut down: https://medium.com/inside-wattage/well-we-failed-77e795e16ec...
While Graph Engine definitely looks useful, I agree that the comparison is unfair. GE is an optimized implementation while associative containers (unordered_*) in C++ are more generalized implementations.
The above blog provided clearly explains optimized implementations of associative containers in C++. It would be interesting to see how these compare with GE.
> The pre-IPO bids for Facebook at SecondMarket were substantially higher than the original IPO (first-day trading price), less than a week before private trading was halted.

How much higher?
The comment you're replying to almost seems satirical in nature but I cant be sure. Poe's law in effect.
> Whatever happened to "I do not agree with what you have to say, but I'll defend to the death your right to say it."?

Marxism happened. Limiting speech has always been a tactic employed by the political left. Words like "racist", "sexist" and "homophobe" were designed to shut down free speech. It's extremely effective at silencing any opposition.
> I think worst-case scenarios around climate change emphasize the need to productively develop all of mankind as quickly as possible. That probably means hundreds of new nuclear reactors being built. Worldwide. I see no effort anywhere for that to happen. Instead I see various proposals that always end up with expensive energy for poor people. This is only going to make the problem worse. We are going to take away the tools that poor people and nations need to grow capabilities to deal with things when they change. And while we're doing it, we're going to rob them and their children of a better future. It's a solution that's worse than the problem.

I really have to disagree with you. After reading about the decline in nuclear power across the world, the inability to get traction on Thorium-based LFTRs, and so forth, nuclear is not the answer. I mean, it could be if we as a species didn't suck so terribly at managing it as an energy source. We are not that species yet (note we still keep a coal-fired generation plant operating near Congress in DC due to politics).

If you'd like to debate this in depth, check my profile; my email is there. The Earth Policy Institute (holla Lester Brown) has shown how quickly China is bringing online solar and wind generation resources that already outpace their nuclear generation capacity. Bloomberg reported Friday that the US is on track to add an additional 35 percent of solar capacity this year alone.

Nuclear plants, coal plants, all of these central generation facilities all require massive capital outlays, they require corporations to manage them, staff to run. Solar and wind require none of these (except utility-scale, there be a bit more work required there).

It's simple, so very simple! We should be build solar and wind flat out as fast as possible, selling it to those who can afford it and giving it away to those who can't.

Solar Electric Light Fund
http://self.org/

"SELF's mission is to design and implement solar energy solutions to assist the 1.5 billion people living in energy poverty with their economic, educational, health care and agricultural development."

Wind vs Nuclear in China: http://www.earth-policy.org/data_highlights/2014/highlights4...

Bloomberg Article I mention: http://www.bloomberg.com/news/articles/2015-05-26/solar-as-f...

Deutsche Bank Predicts Grid Parity Of Solar Across All Fifty States in 2016: http://cleantechnica.com/2014/10/29/solar-grid-parity-us-sta...
Yes, I believe the term is "churnalism." Stories which are primarily PR barely disguised. PR reps pitch stories to journalists and get them curated access to write a story. Lazy journalists go along needing to churn out stories regularly.
Working backbreaking hours with bad work/life balance is considered unGoogley. There are sometimes when people burn the midnight oil, but in general Googlers don't work 60hr weeks.

I think the primary difference may come down to a culture of secrecy. Openness breeds cross fertilization, couple that with very few restrictions on Googlers in working on side projects, open source，and collaborating outside Google and it it's easy to see why so many Googlers are lured away by the allure of startups.

As for Googlers being unhappy with their projects, there's two answers. One, google culture permits challenging your management and product vision even as far as calling out VPs, so people here are constantly voicing their criticisms instead of falling in line. That can breed dissatisfaction especially if your criticisms are later proven right.

The other is that Googlers switch products often when they get bored. It's easy for people to get unhappy when you switch from development to maintenance. I think this is very healthy，enduring people working on a product are enthusiastic. If your jet collecting a paycheck while dreaming of more interesting stuff better to go do interesting stuff.

The level of secrecy and compartmentalization in Apple sounds like hell to me.
On a somewhat related note, you may enjoy this TED talk if you haven't seen it. It's on the paradox of incentives and motivation: http://www.ted.com/talks/dan_pink_on_motivation?language=en
Wi-Fi That Charges Your Gadgets Is Closer Than You Think
Thanks!

/self goes and looks at web logs

Yikes.
https://news.ycombinator.com/item?id=9674606
See discussion from 2 days ago:
https://news.ycombinator.com/item?id=9664203
Any statistics on that? Or is that just a general impression?
which is the second cash cow?
A very good explanation for the beginner!

My only comment is on the use of loop which has a super unlispy syntax and I think is confusing for the beginner (or anyone else IMHO).
Asking for sources in the same thread where you've been makig strong but unsupported claims is a bit rich.
For-realz live markdown editing in Emacs
I don't see any mention of the US in the article. Not any "why can't the US be like this", not "let's contrast Europe to America": nothing. I guess some people just want to guide any topic back to their own America.

As opposed to another comment[1] which brings up the issue of rail in California. You just post some images which are comparisons -- according to what? Because I got the exact opposite impression of you intention -- that you meant to say "See, the US is crazy big so that is why we can't have nice things like fast rail!". Are we supposed to guess both the issue you are alluding to and your own stance on it from no introduction at all? Did you accidentally post your post as its own comment instead as a reply to another subthread?

(On the matter that you are referring to -- Europe is pretty densely populated overall, except for places like the Nordic countries north of Denmark. One point in the US' favour is that it is a single country.)

[1] A top comment. Of course...
The greatest irony is that a preponderance of oil actually made energy stocks go down. In that sense, Scott Aaronson gets the relationship between oil in the ground and long stock in energy companies completely backwards. Indeed, the S&P energy sector index, for example, has been strongly positively correlated with oil prices for at least the last two years that I've checked.

This is sort of a pedantic point: selling your shares in Shell substitutes, not reinforces, pumping more oil out of the ground. In that sense, divestment achieves its goal of keeping oil in the ground, for sure. But sometimes, if your company can pump more oil from the ground, and Saudi doesn't also pump more oil, you've made money and your stock rises. Sometimes, if you pump more oil from the ground, everyone's stock falls. It's complicated.

What's most persuasive? If you had listened to the divestment folks back in 2012, when many of these movements took off, you would be on a great big pile of cash right now.

So it actually makes a lot more sense to pitch big academic endowments: "You'll make a ton of money if you divest from energy stocks." There's just no way you could have known that would work in 2013, especially in the midst of an oil boom.

My recommendation: Make as much money as possible, and lobby for cap-and-trade pollution credits. Then you can buy all the credits you want, and simply not use them. It is a far more direct and economically predictable way to achieve environmental change.
In my case I had panic attacks due to stress of being picked on, was told to 'snap out of it' and couldn't.

Most thought I was autistic and not schizophrenic, but schizoaffective disorder is rare and like a combo of bipolar and schizophrenia. It is not as bad as schizophrenia, and you have some schizophrenics who are in a mental hospital for life because they can't cope with it.

I used to earn a good salary as a programmer, but management didn't want someone sick with a mental illness working for them. I had worked so hard and stressed myself out that I developed the mental illness and ended up on short-term disability. When I returned two weeks later I was fired for having a panic attack and not snapping out of it. After that my career was over and it was hard finding work that wouldn't give me a hard time for being mentally ill.
Ahh, I see. I'm only about average height. I might feel differently if I were 6-7 inches taller.
It's trivial to find sources for the effectiveness of fluoride in preventing tooth decay (Google -> Wikipedia -> a citation leads you here: http://www.cdc.gov/mmwr/preview/mmwrhtml/rr5014a1.htm). There are also studies on water fluoridation's impacts, though it's harder to test that, by nature.
h.264 is a lossy codec and thus unsuitable for archival.
Maybe Microsoft or Amazon, but talking with and listening to interviews with former Apple employees, that definitely doesn't seem to be the case. Nitin Ganatra (who I think was head of iPhone apps) had some super interesting interviews on the Debug podcast about the early software development of the iPhone, and those cats were clocking eighty hour weeks and certainly believed they were going to upend the technology industry. Don Melton also had some super interesting info on life at Apple.

If you have a few train rides to blow, these are some super interesting looks into the internals of Apple:
http://www.imore.com/debug-47-melton-ganatra-episode-i-demoi...
http://www.imore.com/debug-48-melton-ganatra-episode-ii-unde...
http://www.imore.com/60-melton-ganatra-episode-iii-shipping-...
http://www.imore.com/debug-39-nitin-ganatra-episode-i-system...
http://www.imore.com/debug-40-nitin-ganatra-episode-ii-os-x-...
http://www.imore.com/debug-41-nitin-ganatra-episode-iii-ipho...
I really liked Kafka on the Shore by Haruki Murakami, although most of Murakami's stuff is pretty amazing. He does short stories for the New Yorker every now and then, too: http://www.newyorker.com/magazine/2015/02/23/kino
Hmm... "the field itself relies mainly on mathematical models, not sociological categories" - I'll have to disagree. Especially with behavioural economics. I also disagree that free markets are the same thing as capitalism, as does Benjamin Tucker.
(original poster here)
I figured that someone might have already done it, but I didn't find these.
It's surprising because I wrote an extremely similar README file!

However it looks like he wrote the solution manually, whereas I couldn't as it's way too complicated with Paris' metro system. I wrote a small algorithm (using Python) to create the graph. I'll probably publish it, after I clean the code a little.
What leaps am I making?
Yeah some but they have to want to get better and take a treatment plan and work to get better.

Tea Partiers and AGW Deniers chose to be that way, a schizophrenic didn't chose to be that way they developed a mental illness and it might even be genetic or due to environmental factors.
The first three habits of being highly effective
Show HN: Passambler: A toy language I made in Java over the course of 4 months