skysight-inc/HackerNews huggingface dataset:
1) Loop detection -- don't let me shoot myself in the foot an make an infinite loop of two functions calling each other

2) Multi-datacenter -- I want to deploy to two places at least so my risk goes down

The lack of database and/or storage would be a big showstopper. It would mean that if I want build anything with state, I need to store it in another service, which costs money to move data out of. Even a very basic key store would better than nothing. You could actually build one pretty easily on top of Postgres or even SQLLite (although you'd need one per customer w/ SQLLite).
Added to the checklist!! :)
I'm saying if you've got a family so far gone they're doing lines of Alex Jones on their Facebook page every day then there's ways of getting them rehabilitated.

This isn't smug. This is fact. Facebook is filled with toxic garbage. Simply nudging people away from that and to something more rational would be a huge step towards civil discourse.
Ask HN: Why are Twitter and Facebook so poor at moderating hate speech?
In response to this: https://www.washingtonpost.com/news/morning-mix/wp/2016/11/11/get-some-of-them-to-kill-themselves-popular-neo-nazi-site-urges-readers-to-troll-liberals-into-suicide/?tid=hybrid_collaborative_3_na

I want to understand why social media companies don't seem to look as though they are taking responsibility for moderating extremists and coordinated hate groups trolling on their platforms. This problem has been escalating exponentially for years, especially over the US election cycle, and is a critical issue. Why does Silicon Valley feel as though it must not take a position on this?

Twitter, Facebook in my belief are no longer politically neutral organizations when they allow vindictive trolling and misinformation to proliferate and serve the agenda of alt-right hate groups. Do the people working at these companies ever ask themselves these questions or are they purposely oblivious to what's going on?
Thanks for sharing that cbennett, and good luck to you walshemj.

I lost one of my closest friends a few years ago to an accident but was heartened to know that his organs went on to help others.
> Guys, half of any population is statistically less smart than the other

But most are within a similar band.

Liberal arrogance again.
Inside the Arctic Seed Vault Designed to Save Humanity from Extinction
I love 1password. The team behind it seems really dedicated and the various applications for each platform show a level of polish you'd expect from a team like that.
That's correct, the FBI hosted error messages and exploits after taking over, and supposedly did not distribute images of abuse. This point is conspicuously absent from the Ars story.

Motherboard passed on this story but it appears it was too sensationalist for Ars to resist. See thread here for more info: https://twitter.com/josephfcox/status/797070958205038592
What is a women's bathroom but a safe space to "air your grievances" without the meddling of the opposite gender?

Start making "safe spaces" for Trump voters to talk about their candidate without being called ignorant and you'll start to see people's attitudes shift on what the sensible limitation of safe spaces should be.
BS4 is easier but scrapy is more powerful. E.G., with scrapy you can program to follow all 'next' links and download 100s of pages in parallel. BS4 is more for grabbing content from a single page.
If you just use Lambda, S3, and Dynamo, no not really. It's pretty easy to move to Google. If you use more of the ecosystem, yes, but so what?

Are you worried about vendor lock in with your power company?
> Trump won because most people are DUMB AS FUCK.

This is not the site for such things; please stop.

https://news.ycombinator.com/newsguidelines.html
I did: [1]

> The act required for an assault must be overt. Although words alone are insufficient, they might create an assault when coupled with some action that indicates the ability to carry out the threat.

Granted that that's not the definition in actual use everywhere - but, in that case, you need to specify which jurisdiction's code you're citing, because there is no general coverage of assault in the United States code, but only a few specific cases, mostly related to assault against federal officers and officials in the performance of their duties.

[1] http://legal-dictionary.thefreedictionary.com/assault
That sounds similar to my experience at a financial company a few years ago (2010 - 2014). The pay in Hyderabad for devs was in the $10K - $20K (USD) range, with most around the low middle of that. These were offshore employees, though, NOT outsourced contractors.

Keeping devs who learned something met with mixed success. On the one hand, the salaries were at least market rate for devs, I think, but management still offered the real Rs.
This is just a "con" of nested threads. A flat, traditional forum/message board would fix this but introduces its own set of negatives.
There's a bit of a "I'll freely share, if you freely share" about extensions. Isn't it a bad precedent , given how much is freely contributed, to build something monetized on top of that?
It's not wrong until the totals are final.

or he passes Romney
Yeah looks like part of this is just github's growth. Would be interesting to see this normalized for that - like languages share of the overall 100%.
They're not using household income though--they're using a score (actually, a pair of scores) that are supposed to capture "class".
The biggest pain for me in managing a system is handling all of the service configurations; making sure the ACLs are in place, that the configuration files are all in the right place and in the correct format.

Serverless isn't saving me any of that pain. I still have to configure ACLs for everything, web folders in S3, ensure that my backend isn't hitting any concurrency or timeout limits, ensure that all of my routes are set up properly in the API gateway, that my DB queries are properly tuned and that someone is watching that DB...

All it's really buying me is not having to write Ansible scripts, but instead I have to write CloudFormation templates. Sure, I have to think about maintenance and troubleshooting less, but when I do have to do troubleshooting, I'm for a long, frustrating day.

As easy as it is to create VMs anymore, the serverless story is nowhere near as compelling as it should be. It makes the easy things easier, and the hard things really f'ing hard.

Concrete example: I wanted to just store the contents of a github webhook post in S3, after verifying the hashed secret. Should be a simple case of wiring together the API gateway to S3, right?

First bug: You can't test an API Gateway -> S3 connection if they are both in the same region. Known issue from back in 2014.

First hurdle: You can't pass the contents of a post to an auth hook in API gateway, just a single header value. That means I can't use the API Gateway authentication hook for this purpose; github creates a HMAC hash of the post contents.

Second hurdle: Finding the proper Velocity Template Language function (and its location in Amazon's custom libraries) to escape the JSON from the webhook body so I could pass it on to a lambda function. It's '$util.escapeJavaScript($input.body)' by the way. You're welcome.

By this point, I was wishing I had just set up a t2.tiny server running flask.
So politicians get votes, for promising to ban gay marriages and/or as reward for doing it? In other words, representative democracy is working as designed. Right?

How is this different from other politicians getting votes for supporting gay marriage? It seems to me the "political gain" argument boils down to something almost meta-political; or of satisfaction/boldness in your tribe "winning", or politicians falsely professing things they know voters want -- these apply to both sides.

When I asked, I was looking for something like how voter ID laws are supposedly really written to suppress voters from the other party. Is there some way in which banning gay marriage would inherently strengthen Republicans over Democrats? (Going with this because it was presumably the grandparent's example.)
So that the human who voted can verify it is correct and the person who might have to hand count it can read it.
Because it makes money flow straight to their pockets.
Cyronics are a waste of money, it's junk and a way to sponge money out of the too-rich-too-vain crowd. The number of animals that can survive being frozen are pretty slim, and those that can survive being frozen for an indefinite period of time are almost zero.

What could work is developing some kind of human version of torpor (https://en.wikipedia.org/wiki/Torpor), slowing down biological processes to a crawl, which would not only help with space travel but could buy people enough time for medical treatments to mature to the point of being feasible. It has the advantage of being fairly common in the mammal world, so genetically it's a lot closer than, say, what frogs do to survive being frozen.

You can't buy decades, but you can buy five to ten years, and for some people that would be all the difference they need.
Or is it because Peter Theil wields power over these organizations and has pressured them to allow this to proliferate in order to further his agenda?
Back when I was a regular on LessWrong and it had an active community, it didn't have that problem at all, despite using a variant of the Reddit codebase. Their solution was pretty simple, just show the five most recent comments in the right hand column. People would interact with them, check out their parent comments, and threads would grow organically regardless of age. In fact people would often come back to very old threads and revive them. It might be tricky to scale that to larger communities though.
I live in Colorado, where we recently (a few cycles ago) introduced nearly 100% mail-in voting. In my opinion, we should move the whole country to this system; participation will likely go up, lines for folks who show up on election day are manageable and there is significantly less human error when you don't have to rush it all in one day.

I agree that a blockchain solution may be overly complex, but I think the spirit of what they're after is in the right place.
Are you have a whole separate discussion in your own head and inviting me to take over the role in mid-production? Because I have no idea where that even came from, and I'm not interested in finding out.
I've only heard of Apex: https://github.com/apex/apex
You're leaving out the entire purpose of the blockade: preventing Japan from importing oil and other goods to supply their massive invasion of China and Southeast Asia.

The attack on Pearl Harbor wasn't unprovoked, but failing to do anything would likely have ended up with the U.S. being attacked by a stronger set of allied opponents.
> but I can't tell that it's worthless until I've seen it.

So how do recommendations help?
I liked using it as a motivational tool, to remind myself how far a project had gone and how I'd contributed, but that's about it
Meanwhile, those of us who elected him did so based largely on his policy promises, including immigration.

So if he wishes to appease his electorate, this better not be mere posturing, and he absolutely should select Arpaio, a man eminently qualified to preside over the operations of ICE and other DHS functions.
By accepting military money, you usually have to sign off that you won't use or sell the tech outside the USA. It usually comes under ITAR regulations too.

When you're Facebook, and your main target market for new connectivity technology is Brazil, Indonesia, India, Malaysia, etc, that tends to be problematic.
It's location specific. It hurts the lower and middle classes workers in developed countries and helps almost everyone else.

Utra cheap Wal-Mart goods are great if you are retired and living on a small retirement. Or worked in a non factory job in the first place.

A soul crushing factory job is still better than manual farm work in a developing country. Those same factory workers add a lot more income for local economies in developing nations.

It also tends to harm farmers in developing nations. But, that's largely from first world farming subsidies.

PS: After China replaces those workers with robots they will be poor in a developed nation which is generally a lot better than being poor in a poor nation.
Did we not ask you repeatedly not to do this? We've banned this account.
Ya. They collected data from monkeys 1 and 2, then they injured monkeys 2 and 3. They collected data from monkeys 2 and 3, then they removed the spinal cord from all three.
The subtitle of the article is:
"Democrats' last-minute rulemakings could be easily reversed once GOP takes over."

That's the problem with executive rule making - changes in the executive lead to changes to the rules. If the rule was not made by consensus, why expect its repeal to be by consensus either?
Replacing the laptop touchpad by a wacom tablet helped in my case, a lot, but I admit that it was a little cumbersome to carry it with the laptop. At 21% VAT, I just forgot to buy a new one.
I'm not aware of a publicly available tool that does this (without bringing in a big clumsy framework), but internally we just use a script that idempotently redeploys all the lambdas by calling update_function_code on them. It ingests package dependency changes by running "python setup.py install" and grabbing the resulting site-packages contents. This script can be subscribed to an SNS-SQS bus that listens to GitHub notifications for changes on a branch, etc.

This will flush hot lambdas, so if you have a lot of traffic it can be a bit disruptive. I can imagine comparing deployment and commit timetamps make-style, or calling update_function_configuration(Description=...) to save and later compare version/commit metadata.

AWS recently came out with https://github.com/awslabs/chalice, which is pretty sweet if you're using Python (although it doesn't seem to directly address the concern of deployment orchestration).
I used to love Google Desktop Search for this feature:

It would create an automatically updated stream of articles based on (I guess) RSS feeds of recently visited sites.

Sometimes someone asks what we would pay for.

I think I would pay USD25 without much hesitation to get that thing back exactly as I remember it.
Of course, in the context of github.
Yes, but it's a very specific "All your databases are belong to us" license :-)
I recently started diving into Vue.js (2.x) It's fantastic. It's a utopian Angular1. The html syntax is fairly similar, but cleaner and less verbose.

Vue-router is what really got me into it. Again, it's similar to UI-router for ng1, but destroys it in simplicity and readability. I'm using their vue-webpack template to rebuild my site and it's going great.

Personally, the best thing for me is that a component gets nearly everything it needs in one file. Template, script, and scoped styling? Exactly what I've always wanted. Forgive the gushing review, but honestly, I haven't ever been this excited about a technology. Not ng1, not webpack or es2015, or [fancy new tech]. This shit just works.
I seem to recall that it was enough to get those "catch a predator" TV show guys: the fact that they showed up at a specific location was enough to get them successfully prosecuted.
That's a meaningless term since defining "human-level" is already a lost cause.

Some people can multiply ten digit numbers in their head. Some can't even tell you what a number is. There's a very wide bell-curve here.
This would be great tax policy. Unfortunately the 'conventional wisdom' among the leadership caste in my country (Australia) is that this would be political suicide. Pretty much every Prime Minister for the last 15 years has repeated the same mantra like it's some sort of compulsive nervous twitch: 'we would never place a tax on the family home'. Bunch of jelly-backs.

One nit to pick: even with imputed rent, without a land rent tax the property market would continue to distort incentives and mis-allocate capital. Meaning we will continue to see 'investors' chasing capital gains instead of yields (the literal definition of 'speculating'), funded almost exclusively with bank debt. Unless our political leaders grow a spine (and, in many cases, a brain), we'll continue to lurch from one financial crisis to the next as a consequence...

The next one is shaping up to be epic. Like, "it's time for WWIII" epic...
Done, we have 14 languages now.
Create a Fully Reactive UI Framework with JavaScript Proxies and Virtual DOM
None of us function in this way. While part of the solution does have to involve people becoming better at vetting their information-sources, it is equally important to acknowledge that for everyone to do this individually would be absolutely impossible given time constraints.

What we need, fundamentally, is a media environment that can harness the collective capacity of humans to vet and debate new information in an organized fashion that can be trusted. This site is a good example where a knowledgeable community, and the simple mechanism of votes does some automatic, crowd-based content curation. But the Reddit-like model is very basic - so much more could possibly be done to allow individual users to contribute to a collective process of knowledge-building.

I think we need more development and discussion devoted to what kind of systems could be designed to encourage transparency, quality, and critical analysis in our news-making.
Please explain why you wouldn't.
Anybody knows how spotify calculates the "valence" score for each track?
Note that you've conceded that I didn't choose to "examine" that situation far beyond it's merits. That makes it a rather weak argument against the broader point I am making.

Yes, people will come to conclusions about their personal experiences that few others agree with. So what. Politely tell them that you aren't interested in discussing whatever their beef is and move on. I didn't say that tolerance was an absolute above, in fact I started from a place where I pushed back against that misunderstanding.
> Then get the fuck out.

You can't behave like this to other community members on Hacker News. It's difficult to maintain civil discourse on controversial topics, but nevertheless it's what this site is for so we have to ban accounts that won't follow the guidelines.
Number of ways are developed to circumvent that in countries where police and court are not strong enough:

* bribing of voters to bring their empty ballot to briber;

* fake voters (commission is not police, they are not checking documents as carefully as police do);

* bribing of counters for direct replacement of votes;

* pens with ink which is easy to remove and correct;

etc.
It hurts developing countries too, e.g. no incentive to give people a good education for free if you'll just lose them to brain drain. Globalization allows the best workers worldwide to spend their time solving the most profitable problems, i.e. rich people problems.
Why would he refer you to a specialist when you tell him "This is the first time this has happened, but I was coding on my 13" MBP for 5 hours straight last night, and this morning my hands are really tight and sore"?

This likely is the equivalent of having sore muscles the day after runnning a marathon.

Phrased bluntly, "don't do that" likely is the way to prevent this from happening.

If there are no other reasons than "I was coding on my 13" MBP for 5 hours straight" to explain your symptoms, and the symptoms really are limited to "tight and sore" (as opposed to painful) I would expect your doctor to tell you just that, but a bit more politely, likely with the tip to take regular breaks.

If your doctor refers you to a specialist, I would hope it to be one on ergonomics, to prevent future problems.
Done. Python, Ruby and others are available.
I would be worried about vendor lock in with my power company if it had a variety of competitors that kept competing with each other on features and price and I engaged in negotiations with them every couple of years for the best rate.
The reason for the "productivity" decline may simply be that manufacturing and agriculture don't have many employees any more. Only about 10% of the US workforce is in agriculture, manufacturing, and mining. Those are the areas where, historically, there's been huge productivity growth. That's how that number got down to 10%. Yet US manufacturing output is at an all time high.

"Productivity" at the macroeconomic reporting level is total output / total workers. So productivity increases in manufacturing are divided by the total workforce size, which dilutes them.

Job growth is in the areas where productivity is low, such as health care and education.
This is super cool stuff, and a really big deal for the VR experience. It'll be interesting to see if this becomes a standard part of the hardware in the future. You'd certainly hope, at least.
What is coming next?
The factory jobs will go away in China soon too and those workers will be out of a job again. As long as the capitalists suck up all gains any improvements for poor people will be temporary until they get replaced by even cheaper workers or robots.

Maybe once doctors' and lawyers' work gets automated then things will change since the political class is mainly lawyers.
True. I was not comfortable with the linear version (especially with the 14 languages now). I will publish both.
Don't worry about it too much. Worrying can actually make you tense up your muscles, which makes it hurt more...

1. Make sure you stay warm! Last episode I had with arm pain was due to being under air conditioner vent. Wearing sweater solved the problem.

2. If you have ongoing problems, get a better keyboard.

3. Stretching and massage are good too.

4. Take breaks, don't work 5 hours straight.
> your entire life is ludacris

I'm sure you means ludicrous and not https://en.wikipedia.org/wiki/Ludacris
Pence supports homosexual "cure therapy". This is barbaric, and quite frankly utterly revolting thing to have a VP support in the 21st century.
I use Wunderlist precisely for that purpose:

When I discover an interesting book/movie, I just add it to my list there "read to" or "watch to".
>"Consider this case: You have cancer. You can do nothing about it, and die in 3 months, or you can have an operation, that has a 60% chance of curing you, 30% chance of doing nothing, and 10% chance of killing you."

I recommend everyone ask their doctor what a p-value means before listening to any stats like this. Here is just one of many horror stories about the poor understanding of stats that pervades medicine (TBH though, this is mostly the fault of stats education):

"Nearly 40 years ago the New England Journal of Medicine published a short survey of doctors’ understanding of the results of diagnostic tests.1 The participants, all doctors or medical students at Harvard teaching hospitals, were asked, “If a test to detect a disease whose prevalence is 1/1000 has a false positive rate of 5%, what is the chance that a person found to have a positive result actually has the disease, assuming that you know nothing else about the person’s symptoms or signs?” This wasn’t a very difficult question, which made the results all the more shocking. Fewer than a fifth of participants gave the correct answer, and most thought that the hypothetical patient had a 95% chance of having the disease.

Of course, this was a long time ago, and medical curriculums now contain much more in the way of statistics and probabilistic reasoning. You might expect that if the exercise were repeated today almost everyone would give the right answer. But you’d be wrong. Earlier this year a similar study was carried out, also in hospitals in the Boston area of Massachusetts, and the results were no better.2 Most doctors who were asked exactly the same question thought that the patient had a 95% chance of having the disease."
http://www.bmj.com/content/349/bmj.g5619
https://www.zappa.io/ if you value your sanity. The raw tools provided by Amazon are extremely powerful but are basically the cloud equivalent of programming in assembly.