skysight-inc/HackerNews huggingface dataset:
Alternatively, they could provide some sort of on-page indication of a credentials/e-mail mismatch, i.e. detect and publicly report when the HTTPS/SSH credentials used for a `git push` aren't associated with a verified e-mail address matching the commit's `user.email`.

I reported this issue a long time ago to their security team, and got a really condescending "we're a collaborative community, it's not a problem, you obviously don't understand" type of response. Pretty frustrating.
Is there a rayon replacement in C++ (lightweight tasks for parallelism with a lock-free work-stealing scheduler), other than Cilk itself, which isn't really C++?
Really? Have you looked at the code? It looks like it's hardwired to psycopg2 and only works with Postgres. I could be wrong.
That's a really good point. I guess we'll see if Europe has its own infrastructure problems in 50 years or so when some of that "new" WWII infrastructure starts to get old. I would say, though, that not all parts of Europe had to rebuild from scratch. You still find WAY more 100+ year old structures in Europe than the US.
Computer simulation fills in the blanks of Neanderthal extinction
I have never worked as a financial advisor, but I did work for a while at a large buy-side firm. If I had $50 million, my biggest concern would be keeping that money safe and lowering volatility.

In the case of $50m, you can fully invest it in the stock market, but you need to be ready for wild fluctuations in your wealth. You also need to make sure the brokerage you gave the money to is reputable, or multiple brokerages. (SIPC only covers up to $500,000). You also may accidently buy overly correlated products without knowing it or may think you are buying low risk (bond funds) only to find out that they had super high duration (risk from insurance rates changing).

You can always put it in banks, but even that can be risky in times of extreme turmoil. During the last crisis, there were about 6 months when people were genuinely unsure whether all major banks would stay solvent. You are only insured to FDIC limits which will not come close to $50m.

You could go with real estate, 100% cash purchase, where you have no debt. (no leverage). As long as you pick a liquid asset class, that is likely safe, but you still need to insure the property and make sure your management team is running it properly which requires a lot of hands on work. You could still lose a lot of money if rates go up etc.

Having $50m is really a mo money mo problems scenario. A robo advisor can't fix it if you don't want 100% stock market exposure. I also don't think expensive advisors fix it either.
I see why they feel threatened, but I don't agree that it's this photographer's fault. If the consumers don't want/need high quality, paid photos in their publications (as voiced by their dollars) then maybe the market for them is disappearing.

I am surprised that a protectionist, union-esque good-ol-boys club of photographers hasn't emerged that would use money to encourage organizers to prevent this person from taking photos. Seems every industry threatened with technology and the cheapening (or "hobbying" or "freeing") of their product tends to fight the producers at the expense of the consumers thereby accelerating their downturn.
I would guess that the site is back up because the article was posted to Hacker News. I expect someone high enough to matter at Google saw it, and reversed the shutdown.
I was looking into it as a scalable solution for the backend of an app, but I was turned off by reports of high latency (up to a couple seconds) and the initially low limits for the service (they've been upped, but I think it was 60 second timeout per lambda and max 100 concurrent lambdas across an entire account; now it's 300 seconds and 1024 concurrent processes).

Lambda seems designed for internal trusted use for offline or background data processing, not for writing a public API endpoint.
> This looks like a (very thin) wrapper of the psycopg2 library, which is a wrapper around the python DB API

psycopg2 is an implementation of DBAPI2 (with extensions). As the name denotes, DBAPI is an API which database libraries ought implement, it's not a library.
I used to be more involved in the educational space–I used to teach college-level classes and also participate/organize/mentor coding spaces for young adults–and I don't think there is anything inherently wrong with the way that we teach programming.

I have come to believe, after years of teaching, that you cannot _teach_ curiosity, but you can help create environments that foster a students desire to learn and explore. As such, the point of education is to expose and empower children (people, really) to have the tools they need to explore and discover the things that they _want_ to understand and master. You really can't _make_ someone enjoy "x", where "x" is the passion of the teacher.

Programming, to me, is like writing, painting, or mathematics. In so much that it is a multi-faceted discipline. Coding is to writing as typing is to penmanship. There are _many_ reasons to write; from jotting down a grocery list to writing an epic novel, just as there are many reasons to code; from bulk automation/text transformation to diving into deep artificial intelligence. Just as there are many reasons to paint, and many reasons to do math. The "how" is dependent on the "why".

Most people don't learn to mix oil paint simply for the joys of mixing oil paints, most people don't learn penmanship simply because they long to see a well formed letterform. Few people learn the how to take the functional derivative, simply because. It's a means to an end; they learn to do it because they need to express something _else_.

I don't expect every child in my english classes to go on to write a great non-fiction masterpiece or an epic novel. In fact, most of them wont, but I _do_ think its important that they are exposed to the fundamental skills involved; penmanship, vocabulary, basic composition, in the event they _do_ want to write, or code, or compute, or paint, or whatever...

I think "school" is exposure to the mechanics, and individuals who desire more will seek out the rest.
> I am not one to say that the rich get richer, but this may be a specific case of an individual being supported by his parents circumventing the normal process of working the ropes to progress up to taking photos of the people discussed.

It basically the modern version of the rich kid doing an unpaid internship fund by his parents. The new thing is skipping the company.
The claim is not that white people are overrepresented because of devious trickery, but because white people are usually doing the hiring and they are often biased, consciously or unconsciously, against non-white people, and women.

It's not something that's exclusive to white people, by the way. Racial and religious nepotism should be resisted wherever and whenever it occurs, in favour of meritocracy.
There is little difference. Betterment is just trying to exploit the mentality of millennials, who believe that because something has a slick web interface then it must be good or better than the alternatives.
I am a lowly Software Engineer 3 at Google. My total compensation for 2015 was approximately $270k. Base salary is between $140-150k. Bonus percentage 30%. Stock made up the rest.
You are right, thanks.
>look, this happens if you side with the wrong guys, that is, not us

So if you side with the wrong guy, you force the world's biggest army to get in, wave it's dick around then force it withdraw and manage to establish a communist regime anyways ? Ho Chi Minh would consider that a pretty good deal.

>north and south

You do know the US was fighting WITH the South Vietnamese army, right?

>the forests and infrastructure destroyed, the consequences of that war today (Agent Orange, unexploded bombs),

A war happening in your country does that. It's not particularly special. We've had this little thing take place around here called World War I & II. The marks still exist, we find unexploded bombs rather regularly. It tends to happen when you bring explosives and various kinds of weapons and shoot them around. Are antipersonnel mines OK in your book too?

But hey, if you're happy that civilians died by the thousands (you know, that thing that almost every single country on the globe has agreed to not kill in the case of a war) as an example, that chemical weapons were used against populations and that hundreds of war crimes were commited in the name of "look, this happens if you side with the wrong guys, that is, not us", good for you. Muh freedom.

In the mean time, every single source I can find, the history I learned puts the US as the loser.

----------------

As an aside, our set of people who think the Vietnam was was a victory is now {"American kiddos that cannot accept their great US ever loosing ever.", mmustapic}
This sentence deserves to be examined for alternatives:

"To make all this work, you have to insert runtime checks between the typed and untyped portions of the program."

That makes it sounds as if there are 2 choices:

1.) insert runtime checks

2.) don't insert runtime checks

I'll point out that many platforms (in particular, the JVM) allow us to pursue a 3rd option:

3.) insert runtime checks in development and whenever you are debugging, but strip them out when you are in production and things are going well

You can fill your code pre and post assertions on functions. These slow your software but they give you most of the benefits of gradual typing. You can run your code with these assertions whenever you need to debug. But if you ever want a speed boost, and you feel like your software is stable and bug-free, then you can simply pass a flag to the JVM compiler, and it will strip out the assertions for you.
Wow, this is awesome! I can't believe I haven't seen this. Thanks for pointing it out.
Robot podcast #201: Airbus shopfloor challenge is on
Butterbur herb
Please disconntect Youtube (comments) from Google+. I don't want to read sub-threads of "friends-of-friends" of people I don't know. I want discussion on topic (video). Youtube is not Facebook. Youtube had a good comment section, before the Google+ - that no one wanted anyway. Anyway, G+ is pretty niche nowadays. And YouTube is going strong, so please make the comment section more relevant again.
Sure they do, lots of people beat the market and make more money than the market. Lots of people claim to predict and do better, there are services that measure it: https://www.tipranks.com/analysts/top

You can see all their track records based on completely public information. Every scraped article and piece advice is public and the methods are published in https://www.johnson.cornell.edu/Entrepreneurship-and-Innovat...
So you're telling me that it's okay to tell someone, X, from group A that they are being disadvantaged in favor of someone else, Y, from group B because Y belongs to group B and because years ago someone, M, from group A unrelated to X disadvantaged someone, N, from group B unrelated to Y. How is this right? X isn't responsible for any wrongdoing committed by M or others like M, so why should X suffer the consequences?

It's fine to rectify past wrongs when X is responsible for the past wrongs, but guilt by identity association with M is absurd. I'm mixed-race mostly caucasian that immigrated to the US from South America in the 1980s but look vanilla white to most. Please explain to me what past wrong me and others like me are guilty of here?

I am aware and fully understand the purpose and anticipated benefit/impact. A question worth asking is if those that propose a "formula that rectifies past wrongs and undoes futures ones" understand how that formula will produce present wrongs and foster unintended future ones? After all, the road to hell is paved with good intentions[0]. You're merely converting one system with inherent biases for another with inherent biases. That is a non-solution the problem[1] you purport to fix.

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

[1] http://www.etymonline.com/index.php?term=problem
I also turned to Wikipedia immediately. Differential privacy is concerned with protecting individual records when making statistical queries. For example, if you could issue a query to a medical case database like »What proportion of the population was born on this specific date in that specific small town with some specific eye color and has this illness?« you could potentially figure out whether or not one person has a specific illness by either getting zero or a very small percentage. One possible solution and what is mostly discussed in the article is adding some noise to the result, as little as possible to not make the query result meaningless but enough to protect each record.
This paper both introduces a method for evaluation, which the paper's authors say is their primary contribution, and then use the method to identify some performance problems in Typed Racket. Fortunately, we've been able to make some of those performance issues a lot better just by fixing small things. Some of those fixes will be in the next Racket release, and some in the one after that.

However, some of the performance overhead requires a more sophisticated compiler, just like higher order functions or objects. I'm working on this using jit compilers, and other people are looking at other approaches. I think this will be a major area of research in the near future.

Full disclosure: I'm the author and maintainer of Typed Racket.
> The market isn't losing valuable insights from people who are investing in index funds. Even if they were confident enough in an individual stock to buy shares, that doesn't mean they have any real insight about the company.

Well, but index funds and individual stocks aren't the only things that retail investors can buy. A lot of money is moving out of actively-managed funds too.
It's not just "the rules", but a cascading set of rules, and deliberately ignoring or rejecting the feedback mechanisms which identity that "bad things" happened.

It would be more like breaking the speed limit, ignoring the flashing sign telling you your speed, outrunning the cop car, crashing through the barricade set to stop you, not making the corner because you were going too fast, and crashing into the schoolyard, all while on the phone explaining to the press that the radar detector and speed cameras were miscalibrated and you were going at the speed limit.

> "I would like to understand why."

That is too complicated for HN. Why are people loyal to a sports team, and in some cases willing to overlook a coach's child molestation or player who is a rapist or thief? Why did the US switch from the spoils system to a civil service system? Why is there organizational retaliatory behavior towards whistle-blowers or those that file sexual harassment complaints?

Even without a definite "why", I think these are all expressions of frequent human tendencies. See https://en.wikipedia.org/wiki/Norm_of_reciprocity for one starting place.
It's legal because Americans consistently vote for the people who do it over the people who don't. This is democracy in action, in a very real sense.
What if the value to someone is keeping people busy and thus not challenging the status quo? Or what if the job is useless to society but still makes some money?
The politician who raises taxes or shuts down water delivery may be replaced at the next election by the one that doesn't and keeps the lead pipes.
Quote
"While their efforts are admirable it is very hard to even interview people who are 'white' which makes things challenging," this person said."
And my kid started to talk at 2.5 years (mostly, only his mother and I understood him) and now at 4 years old, he is one of the most talkative and expressive kids in his class. He has better math skills than anyone in his class (and its a mixed 3 to 5 years class)

Up to 4-5 years old (and later of course but this time frame is where it is easier to do comparisons: kid speaks or doesn't speak vs kid knows how to multiply or doesn't) kids develop at different rates. Let it be speech or math or just general coordination (while my kid spoke gibberish at 2.5 years old, he was able to climb trees on his own and do an handstand at that age. He sucks at any kind of dramatisation or singing, but he knows a good amount of constellations and can identify them on the sky, and the composition (simplified version of course) of the earth, it's core, and how volcanoes work, etc).
I don't use it, as I have no real idea of what it is for, and if I have any use cases where it would be suitable.

Anyone got a one or two line description of the sort of problems it would be good at solving?
They tend to pick an asset allocation and stick to it (plus some automated whizz-bang stuff like rebalancing or tax-loss harvesting). Once picked, the asset allocation is a bunch of index funds. In general index funds are very good at tracking their benchmark indices.

So it's mostly a question of, do they do a good job of picking asset allocation from the start?
There are two larger points about Vietnam that I think are often overlooked.

1) Vietnam was, as others wars are, a most profitable venture for the military industrial congressional complex. Even with the draft, the upper elite usually wiggled their way out it in some form or another.

2) The war was started, as were other wars, on false pretenses and lies. Now this is where you may expect a rambling about the gulf of tonkin, but the more sinister angle is that of the created enemy: communism. Through the Yale in China group, a front for an intelligence group, the Maoists were trained and put into power against Sun Yat-Sen who wanted to actually modernize the country.

The supranational elite use the hegellian dialectic in order to control the outcome. It's nowhere as direct as maany theorists would say, buts thats how its done, for whatever the enemy is, be it facism, communism, terrorism, and soon cyberterrorism.

No ones learns any of this in their heavily controlled history textbooks though.
I've lived in both Chile and Vietnam, and Chile is light years ahead of Vietnam in every respect. I love Vietnam, but it has a long way to go before it reaches the standard of living of most South American nations
Sure, that's why you end up with incompetent and corrupt people in power.
wrt basic behaviour, this library seems to save all of two lines which can easily be bundled in a convenience function:

def query(connection, q):
cursor = connection.cursor(cursor_factory=psycopg2.extras.DictCursor)
cursor.execute(q)
return iter(cursor.fetchone, None)

# db = records.Database('postgres://...')
db = psycopg2.connect('postgres://...')
# rows = db.query('select * from active_users')
rows = query(db, 'select * from active_users')
# rows.next()
next(rows)
# for row in rows:
# spam_user(name=row['name'], email=row['user_email'])
for row in rows:
spam_user(name=row['name'], email=row['user_email'])
# rows.all()
list(rows)
Election Updates: An Interesting Question: Do We Need Secret Ballots? (2005)
I'd love to say it's not sage advice, but it is. Unfortunately, once people know your age they will – consciously or subconsciously – treat you differently. I rather quickly opted to never disclosing my age in any context, unless it is absolutely necessary (it almost never is.) It's just easier that way, leads to less discrimination. Unlike skin color or other highly visual traits, it's one aspect of your person you can hide without any significantly negative consequence.
He's using Opera 10. The one with a built in IRC client, mail client, bittorrent client, Web server, widget system, and loads more. He's using, by far, the most bloated and slow browser ever created. He's not choosing a lighter experience, he's choosing a slower and more broken one (as evidenced by the fact that it can't even load one of the most popular websites in the world correctly).
We’re building the Ethereum Computer
Obligatory post: http://bettermotherfuckingwebsite.com/
I had not seen that post about the investigation before; it's very enlightening, and I upvoted spangry for linking it.

My default assumption is that when there are claims of harassment, there is some substance to them, even if the specifics are wrong. Bringing forward claims of harassment in the tech world turns your life (and that of the accused, if their name is publicized) into a shitstorm; people don't tend to do that without reason. But this is just a heuristic. It looks like Horvath's claims of harassment might be unsubstantiated in this case.

It's hard to tell, though, because most of the things she complains about (with the exception of the code-review stuff, which appears to be just false, which is worrying) is unverifiable outside of he-said/she-said. Note the noncommittal wording: "The investigation found no information to support misconduct or opportunistic behavior by the engineer against Julie or any other female employees in the workplace." No information to support suggests "neither evidence for or against". Which is natural. Harassment is hard to prove or disprove precisely because it usually doesn't leave evidence.

> there was an apparently thorough investigation by a reputed external investigator who found that the claims were false. [...] And yet this single person's claim was enough to force out the CEO

Specifically regarding the ousting of the CEO, let me quote the investigation you linked:

> The investigation found Tom Preston-Werner in his capacity as GitHub’s CEO acted inappropriately, including confrontational conduct, disregard of workplace complaints, insensitivity to the impact of his spouse's presence in the workplace, and failure to enforce an agreement that his spouse should not work in the office.
Tax loss harvesting doesn't have that big of an impact for most people, and has little to do with the detailed tax planning that high net worth individuals expect from the firms they work with.

It also only impacts non-tax advantaged accounts and investments and provides much less value than advertised. In fact iirc Betterment's own white paper on this demonstrated it's expected savings to be far less than what Wealthfront was marketing at the time.

http://www.etf.com/sections/blog/23212-inside-robo-advisor-t...
Suffering is suffering, but there is still a huge difference between having U Boats off the coast, and having entire cities flattened and thousands of civilians killed, which was the case in most of Europe and south east Asia. It also meant that as the war ended, the US was the only one of the belligerents that wasn't effectively bankrupt, but was on the contrary booming.
Gage's work is probably not prohibitively expensive in terms of money. A few plane tickets to Iowa and New Hampshire every four years, lodging in each for maybe a few days. He also attends Comic-Con every year. He has a good DSLR and lens kit, but that's a one time cost. If he had a paid summer internship in accounting, a side job during the academic year, and supportive parents this all seems doable for a middle class college student attending a public university with in-state tuition.

The bigger cost in Gage's photography is almost certainly time. He's uploaded almost 40,000 photos to Flickr since December 2007 -- roughly 5,700 photos a year. Even with the one-person-many-angles style seen in his Flickr stream at https://www.flickr.com/photos/gageskidmore/with/24744613302/, that's a lot. He also captions his photos, e.g. https://www.flickr.com/photos/gageskidmore/24744613302/.

The vast reach of his photography is likely a sufficient incentive for Gage to invest all that time and significant-but-not-immense money. I hope Gage continues his excellent work.
Hell, I can do _all_ my work as somebody else with "git config user.name" and "git config user.email".

If that's really a genuine concern, then a) you are working with a big bag of dicks and b) there are _way_ worse things that person can do with write access to the repository than masquerade as somebody else.