skysight-inc/HackerNews huggingface dataset:
I was just skimming some of the AI stuff on "The AI of F.E.A.R" that was linked from this article. I remember that game was just a tad more scary just because of how smart the AI of the game was when I played it. I never knew if the game was going to do something like flank me when playing and I couldn't easily "game" the AI.

What's amazing is how elegently simple they make it seem. I guess that goes to the old saying. The more you use "simply" in a text, the harder it gets. In this case it would be the more simple you make it look, the more infinitly difficult it will be.
Yep, better not do anything. Right?

Or... you close loopholes as they appear. Which happens in countries with a functional political system, unlike the US.
Upvotes happen from titles only
I applaud the goal of simplifying authentication by wrapping with an easy-to-use service. But it's important to keep in mind that authentication is a subtle process, and a critical security component of many applications!

It's essential to follow best practices, and for developers to understand enough of the interaction to be confident in an implementation.

A few points to look out for after scanning the source for the project:

* if your goal is authentication (helping a user sign in to an app using an external identity) you should be sure to use an OpenID Connect flow (requesting a scope like "openid"), and be sure to convey the id_token back to the app so its signature can be verified.

* you should be sure to create a non-guessable "state" parameter when generating an OAuth authorization request, and to verify this parameter upon completion of the OAuth core flow.

* your design needs to prevent a session fixation attack where a malicious user injects her own token into the callback url (tricking a user into signing into an app using the attacker's account, and potentially submitting data that the attacker can then access the)

* it's best to avoid inserting an access token into a url (where it becomes part of a user's history, gets cached by proxies, etc) -- the OAuth code flow you're using avoids this, but then you turn around and inject the token into your own redirect
> I don't think its worthwhile to compare Go to dynamic languages.

I do think we should be making this comparison, because there's a trend in devops of moving from Python and Ruby (each of which have system-provided dependencies) to Go (which statically links a copy of everything).

I see this as unfortunate because devops should be promoting taking full advantage of the system's well-understood and -tested libraries and services rather than avoiding them with approaches like container isolation. If you have a reason to avoid your distro's python, fix that.
Does that mean they replace the batteries at no cost when they start to fail, as you're leasing them and don't own them?
They can't. The point is that you shouldn't have a car unless you absolutely need one(most people don't) and then when you do,you should buy a second hand car, that's far more ecological than production of a new vehicle.

I mean, I personally disagree with this approach as I love driving and buy new cars, but I can see and understand why they do it that way. Denmark has extremely well developed public transport and most people get along without cars just fine.
Outside of the US, very high gasoline taxes are common, even in the absence of more general carbon taxes; while gasoline users may still benefit from externalized costs, I think the case is less than clear-cut.
Thank you for your contribution to building a surveillance state.
which is kind of how we say it. Kiwis are "optimized" speakers, we don't like words that make our mouth do too much work, so we optimize by smoothing out big changes. In this case it's common to hear the 'd' almost completely gone. Nu Zeelun :)
The last observation in that interview is still current.

> The president, irrespective of who he is, today, is so powerful that the temptations of the office for good or evil are too great for any one man. I think we ought to begin to dismantle the office. I think we ought to have a head of state symbolizing the country around whom the natural feeling of patriotism and reverence accrue and separate him from the head of the government.
WW3 MUSLIMS ATTACK BRITISH ON UK STREETS
Wherever you are writing this, the problem is you buying the oil, not them selling it.
The peace of not coding
The primary criticism of media from the Sanders camp was a lack of coverage. Please revisit the Shorenstein Center study on this point.

The numbers bear this out, and you're welcome to do further homework on the issue, as well as the importance of variables at play in media coverage. Sentiment analysis is not the only element of reporting coverage that matters. Here's some more analysis which shows the putative internal mechanism for the frequency of media's reporting, which is consistent with the internal stakeholder incentives. The analysis shows that there is a dramatic decoupling in reporting frequency as between Clinton and Sanders. http://decisiondata.org/news/political-media-blackouts-presi...

The finding regarding his airtime in comparison to Cruz in the Shorenstein report is damning. So is the search interest correlation decoupling between him and Hillary.

Those are hard numbers. Numbers which bear our a narrative which was raised and repeated during the primaries, and then vindicated by numerical analysis afterwards by a number of reputable sources. Additionally, when the DNC leaks did occur, they revealed that Clinton's preferred media outcome did occur, and that the DNC systemically favoured her over Sanders.

Put simply, we have the act laid bare by statistical analysis, the relationships between the actors in question mapped out by the leaks, and the incentive for the parties to act all mapped out, yet your position is that there is no evidence whatsoever that something happened.
The Human Diagnosis Project Is Hiring
The Human Diagnosis Project is the world’s first open diagnostic system, which aims to empower anyone with the world’s collective medical insight. Together with the global medical community, we are using collective intelligence and machine learning to map any health problem to its possible diagnoses.

We are building a deeply mission-oriented team that is passionate about improving the cost of, access to, and effectiveness of health care globally. Over the next year, we plan to grow substantially and are currently looking to bring on engineers (full-stack, front-end, research, devops) to build and shape the fundamental technologies that enable the Human Diagnosis Project (https://www.humandx.org/team#engineering).

You can read more about us and some of our current work here:

- https://www.nytimes.com/2017/02/15/us/macarthur-foundation-competition.html

- https://www.macfound.org/press/semifinalist-profile/human-diagnosis-project/

To apply, please send your résumé/CV/LinkedIn & GitHub/sample code (sole-authored project, script, algorithm - and brief description of time spent and why chosen) to team@humandx.org.

Feel free reach out to us (team@humandx.org) to learn more!

www.humandx.org
A cyberpunk newsletter: https://www.exolymph.news/

Sadly I had to reduce frequency from 3x per week to once a week, but I'm going to keep on keepin' on.
Hey everyone! In light of recent discussions about how political news is propagated, I thought some of you might be interested in a side project I've been working on.

Tripartisan is a news aggregator (similar to HN, reddit, or voat) focused on politics. The key difference between Tripartisan and other aggregators is that it asks users to identify their political stance on signup. Users choose between three broad categories: left-leaning, right-leaning, and neither. This makes possible a number of features which don't exist on other aggregation sites. For example:

1) You can see not just the number of votes a post or comment has received, but what the partisan distribution of those votes is.

2) You can sort posts by partisan affiliation, or use the "best" sort, which prioritizes posts that received votes from across the political spectrum.

3) When viewing a user's profile, you can see both the partisan distribution of the people who upvoted that user, as well as the partisan distribution of the posts/comments that user upvoted.

I'm hoping that this explicit partitioning of users could help prevent the echo chamber/hivemind problems suffered by other political news aggregators like r/politics or voat. At the moment Tripartisan just a prototype, but I'd be interested to hear peoples' thoughts on it (both the concept and the implementation).
Some companies also require repayment of signing bonuses/relocation if the employee leaves within a year. So that gives people incentive to try and make the best of things even if they would have otherwise left.
How's your traction so far?
Me too, I have a finished product (Deep Learning Platform), paying customers, but I am struggling to scale it on my own.
This is an excellent read, if you're skipping to the comments for a recap, I suggest reconsidering checking out the article. It's a wonderful story of making things up, the reach of early mass media, and the effects of that reach on the wider public.

The article mentions such a hoax would not have been possible before 1830 or so, because the technology wasn't around to spread information in such a way. They also point out that due to the presence of newsboys selling papers around New York City, nearly the entire city heard about the "lunar discoveries" around the same time, making it a shared experience.

It reminds me of the way we receive information now. When stories hit, they hit everywhere at once, but also stagger out over time.

You might see a story online first, then hear it on network or cable news later that evening.

The next day, it's in print. You might discuss it on social media, in a comment section on a website, etc. Only to find yourself discussing it again when it's on TV in the evening with those close to you.

It's a neat look at the power of mass media back when mass media was still budding on the vine, nearly 200 years ago. It only became more interesting when I began to consider the influence and power of modern mass media.

---

p.s. To think that a group of clergymen had written to the falsely accredited astronomer to see if there was any way science might let them spread gospel to the lunar people, hah! I had a good laugh over that.

p.p.s. I've always loved reading about hoaxes, thanks OP for sharing this link, this is why I use aggregators! Much appreciated, I'll check out the rest of the site after I've finished this one.

p.p.p.s. I also found myself learning some new words while reading this. credulity, for example.

---

Excuse the formatting, but I wanted to discuss this as well:

>Yale College was alive with staunch supporters. The literati — students and professors, doctors in divinity and law — and all the rest of the reading community, looked daily for the arrival of the New York mail with unexampled avidity and implicit faith. Have you seen the accounts of Sir John Herschel's wonderful discoveries? Have you read the Sun? Have you heard the news of the man in the Moon? These were the questions that met you every where. It was the absorbing topic of the day. Nobody expressed or entertained a doubt as to the truth of the story.

What a neat perspective on how this affected a college campus.

It spread like a virus, infecting all those who came into contact with it, no one doubted or questioned the information, and all likely continued to spread it themselves as fact.

It had to have become a game of Telephone at some point, wouldn't you think?

As the information got further away from the "source" it seems like it would be susceptible to having details omitted, twisted, changed entirely or remembered incorrectly.
Where are you getting your "some people replace their EV batteries after 4 years" fact?
70% of Mongolian nomads now have solar power
To everyone who said that Bob won't necessarily get a raise, I think you are taking the example too literally. At some point, someone, be it Bob or the CEO or whoever, will earn income from the added productivity which will be taxed.

Also, in a free market Bob will most likely be paid a wage close to his marginal productivity -- but that is really beside the point.
It was likely submitted because someone thought it was interesting. It got to the front page because other HN members thought it was interesting as well.

You've provided another useful resource, which is great! (Thanks!) Your lead-in distracts greatly from the resource. Leaving that out detracts nothing from your comment while avoiding gratuitous negativity.

Edit to add: I appreciate your edit. It's a great addition to this thread!
What if you work for a foreign company that gave you a company vehicle?

I did the same for about 3 years in UK, and it was fine,even the local police and DVLA confirmed that I'm not braking any laws doing it, even though the law is structured in the same way - if you are a permanent resident you can't drive a foreign vehicle in the UK. Except if you work for a foreign company that gave you a company vehicle to use then yes,you can, and there doesn't seem to be any restriction on it.
1. Theoretically I am the asshole. I refused to push the code to github and the company refused to pay me.

2. Yes, I refused to do it until proper channels were established but I ended up looking like a sore thumb when other employees didn't mind pushing/pulling from github.com via wifi hotspots.

I can talk to the bank, I can quit the job but the bottom line is that I will be without any cash inflow. My lawyer said that the consulting company is one of the biggest one and they will make sure that I don't have another job (Which is kind of true because of reference checks)
Because electric cars don't actually use 100% of the battery.

If the battery is only charged to say 80%, and only discharged to say 30%, instead of doing full charges and discharges, it'll last longer. EV manufacturers know this trick and stop charging at something like 80%, while telling the user it's fully charged.

See for instance this article: https://cleantechnica.com/2016/05/31/battery-lifetime-long-c...
They dont have to. The admin is basicaly big form field generator that maps values to markdown.

So you make field for everything. Dates, checkboxes image selectors..

Only time they would have to touch markdown is when they would need to format text - article for example. This can be solved by using wysiwyg field instead of md field.
"Check" cashing shouldn't even exist. Most of the western world has functional electronic transfers and bank accounts with no minimum fees.

At home in Australia, all it took for anyone in the country to send me any amount of money within around a business day (soon instantly) and for free was two numbers: my BSB (bank branch number) and account number.

Getting a bank account was essentially free (no fees if you deposit at least $2k/month or are under 18, a student or qualify for low income government benefits) and as a result pretty much everyone had them and used them. I'd actually only seen a "check" once in my life and it came from my grandmother. Employers, friends, parents, everything really was electronic.

The US for some reason is way behind the rest of the world here. The answer isn't to force people into the ancient and backwards banking system, it's to update it so that they can and want to use it.
Does anyone know who this "high performing" manager is?
ignoring messages that a database server is nearly out of space. and loosing nearly all database servers after ignoring the message and then telling that the database is bad and they switched to mysql?
well it wasn't just that, they also did wierd things with a relation database and they still do with mysql. I'm not sure but actually keeping the database servers happy should be the no 1 job of an SRE team, since the data is the most important thing to any company.
> In case anyone isn't sure why the original interaction is harassment

Is there anyone that thought a manager asking their subordinate for sex isn't harassment?
Among my peer group (Denver) it's been the same. It has alot more to do with what we hear from drivers about the respective companies. For whatever reason drivers are happy to shill for Lyft and are often almost hostile towards Uber. At some point you just get the feeling that Uber isn't what we really wanna be supporting.

I should note: my peer group isn't particularly tech oriented.
The trouble with removing "bad" options is when you leave no other options.
I don't know why you're getting downvoted - my commute is longer than the range of the Leaf. Not to mention that it's a lot more expensive than the petrol-powered competition,even after taking all tax breaks into account. I get that it's quiet and pretty sporty,but it's just not attractive financially in any way or form,unless you literally don't care about the purchase price.
Never ever take a problem to HR. HR represents the company's viewpoint at all times, not yours ever. You will never get a satisfactory resolution.

HR exists solely to help 'manage' the work force. Most companies that I've worked at it does a very poor job of it. Someday the HR department will get replaced by software, in my opinion the sooner the better.
Ask HN: Starting a company on H1b visa?
Ask HN: Starting a company on H1b visa?

I am currently working on H1b with a company in bay area. I have an idea for a startup which I want to pursue. I have read many articles online that on H1b visa I cannot work on building my app after my 9-5 job and it is illegal to pursue something like that.

I also read few articles(old postings in HN) where people have registered a company on H1b and transferred their existing H1b for that newly created company(with a board that has the ability to fire you).

1) Considering all these different options, how viable is to start a company while being on H1b visa and build my app which I can pitch to investors?

2) how much capital is required for creating and registering a company?

3) Do I need a Greencard holder or citizen as a co-founder? Is it required for the co-founder to invest as well?

4) if I am able to register a company and transfer my H1b visa, do I need to resign my current job or can I continue my day job and work for building my app after 9-5 hours so that I have a constant income while I build my app?

Please help me regarding this. I am also planning to consult an immigration lawyer regarding this but I want to ask the right questions when consulting the lawyer.
Or be tech neutral and instead write standards narrowly focused on a paticular evil. Give a bonus for measured low net emmisions, not a paticular engine tech.
"Culture was extremely heavy on the drinking;"

For me this is a red flag.

Booze + programming == pissed programming

This leads to bad code also bad team dynamics. Ultimately this will reflect on the product and bottom line. For individuals this reads like a culture where the barrel is creating ^bad apples^. Not a good look on a resume.
In some companies this is respected more than people who just obey. I would potentially promote you and I know big corp execs who would too but could be that it is more common here.
I don't like that word either, but it seems to be the standard term.
The doctors I know are not enjoying it as a career path. It's crushing - tons of debt for medical school (like >$100k), two week stints working nights in the ER or other major hospital, little choice over your true career path due to matchmaking, etc. I'd only go into medicine if it's your passion, because it has so many downsides that it may crush you otherwise.
Then I'd expect the FM reception functionality to be built into the headphones, with the phone acting as a remote to switch stations etc.

Not that I'm for eliminating the 3.5mm jack: this is just one among other reasons I'd refuse to get an iPhone even for free.
So what organising principles should a software developer union have?

It's easy to say they could be anything we want it to be, but I'm not sure there's a real consensus on any particular principle.

Lots of people who talk about unions seem to value privacy protections for consumers, but there are clearly software developers writing this software who have a different view.

Ubers reputation has been trash for almost as long as Uber has existed, I feel like most people are there to get rich, do you expect those people to go on strike for a grievance that doesn't affect them?
> According to the definition of the Declaration of Human Rights, they actually do.

It doesn't matter how many times you mention the "Declaration of Human Rights", they actually do not.

> Freedom of speech alone doesn't guarantee freedom, liberty or justice.

I didn't say it did, I asked if you thought being jailed simply for something you say is justice or not being persecuted?

> That's the problem; we have different definition of "freedom of speech".

Actually, there's no problem, because it's really simple: if you do not believe in the right of people to say things you may not happen to like, then you do not believe in free speech.

Jailing people for things they have said is self-evidently not allowing free speech.
> How can you tell the organizations playing the long game from those playing the short game? What makes you think the ones you've listed as "high-integrity" outlets are such?

Basically, you're evaluating credibility and the extent to which the organization needs it to survive. I think you can tell by looking at a few things: To what degree does the entity sensationalize their coverage? To what degree do presumably fact-based articles spend time on opinion, rather than said facts? Does this organization's reporting of events factually match those of other reputable organizations, including those that have a different alleged political bent? Does the organization indicate when it has conflicts of interest, when it corrects errors, etc., and how often does that happen? Does the reporting put conclusions before evidence? Does it make conclusions at all, and should it be?

Essentially, it's holistic. It requires reading multiple sources and spending time on your own figuring out how things line up. It also requires being willing to place a certain amount of trust in reporting of organizations that do seem legitimate, for instance, when they rely on anonymous sources or report on things that aren't yet clear-cut. I think that to a large extent, proponents of the "fake news" argument are unwilling to accept that level of personal responsibility in understanding the world around them. They want it spoon-fed, and they want it to confirm their preconceptions, and then they get mad when the outlets willing to do that for them lie.

Here's an example: When CNN reported on the Trump Russia dossier, it was attacked as fake news. However, upon actually reading the article, nothing false was said. CNN didn't report the dossier was true, they spent the whole article reporting on how Buzzfeed found it and reported it and whether they thought Buzzfeed ought to have done so. That is very different from the original Buzzfeed article, which spent a lot of time talking about how ludicrous it would be if stuff in this more-likely-than-not fake collection of documents were true.

> Is there a difference in incentives or management structure that would explain the putative difference?

I would imagine yes, or at the very least, in organizational goals. However, since I don't work for a news organization and am not a journalist, I don't know enough to be specific.

> All journalistic outlets have an incentive to make people think they are playing the long game. What evidence do you use to decide which are really adopting that strategy?

For evidence - see above. However, I don't think the entities I named before as short-game/biased really care whatsoever about whether people perceive them as honest, because their goal is not to be seen as honest. Their goal is to get attention for their message/advertisers/paywalls however they can.