skysight-inc/HackerNews huggingface dataset:
> The US has 45 of the top 50 universities on earth, and 19 of the top 20

Right, and North Korea is the second best country in the world according to the research of North Korean scientists.
IBM loses mainframe docs down the back of the web, customers cry 'sabotage'
How to Create Comment Nesting in Laravel PHP from Scratch
'Serverless' is an adjective. I'm happy to trade some Internet Points™ for the chance to point that out.
That's why I really like the ! In Ruby. If used in a function name it indicates that it will mutate its arguments. It's so straightforward instead of just not knowing or having to use references or pointers.
Political machinery: did robots swing the 2016 US presidential election? [pdf]
I had a failing MacBook Pro PSU which Apple refushed to replace because it was out of warrantee. I was told that I should instead buy a new one.

I found asking for an official Apple estimate of working lifetime was enough get them to post me a replacement with no further questions asked.

In the UK under law you can expect a reasonable working lifetime for anything you buy. Manufacturers can’t really refuse tell you what that is and refuse to replace/repair the product at the same time.

My suspicion is that Apple don’t want state upfront, your new laptop is only going to last 2 or 3 years (MTF) and then will probably go kaput because that would change the way people assess the value of new purchases.

If something is a consumable and is going to wear out you should expect that to be clearly stated.

Worth a try anyway.
That's OpenSSL for you.
The best serious proposals I've seen tend to treat UBI as a form of "negative income tax". Say everyone gets $10k or $20k or whatever, enough to _live_, and then for every two dollars they earn they drop a dollar of "UBI".

If you get $10k guaranteed, then somebody earning $20k exactly thus has an effective income tax rate of 0%, neither recieving nor paying income tax to the government. Anything earned over that starts to be taxed as standard currently.

You'd need to fiddle with the specific numbers, the rates, et cetera, but most serious suggestions are not as trivial as "let's give everyone ten thousand dollars". The principle behind UBI is not that everyone should recieve the same chunk of money from the government, but to provide an income floor that cannot be gone under that should be sufficient to keep people healthy and able to manage. It's a "Universal Basic Income" in the sense that the basic income is universally set, and nobody can go beneath it - you absolutely can go _above_ it.

Relating it to the welfare state is a good comparison, I think. In the same way that socialised healthcare ensures that everyone's bare minimum healthcare is at least up to a good standard, UBI could ensure that everyone's bare minimum income is livable. That doesn't mean that somebody earning $150k/yr still needs that 10k of government assistance, because they are not in need of that income protection (at that moment - of course it immediately returns should they _stop_ earning that much).
In Praise of Gentrification
Which is interesting given how easy it is to mutate in Python.
It's just your opinion. For me second example (&impl SomeTrait) is more readable.
I’m already following the issues but since you’re here please, please can we have merge + tag in one step and also rebase + merge.

https://gitlab.com/gitlab-org/gitlab-ce/issues/22363
Is this like the experiment where they put a dot on a bird and then showed the bird itself in a mirror, and then the bird tried to clean the dot off itself?
The book Weapons of Math Destruction talks all about this. I've come to believe that pure risk shouldn't be the only factor in a person's interest rate.

That obviously makes a ton of sense from a business standpoint. You want to contain losses for risky borrowers but compete with other lenders for low risk borrowers.

But socially, this is perverse. People tend to be risky because they are already poor. So now money costs more for those who have the least of it. This is one of the feedback loops that makes poverty (and affluence, for that matter) so sticky.

I had this realization in my personal experience when I was able to refinance almost $100k in student loans at a crazy low interest rate. My household's finances are in great shape as my wife and I enter our prime earning years. But for us, such an opportunity is a gift, on top of an already sweet situation. The savings could be a game changer for a family whose finances are more marginal.
At ipdata.co we use the same APIG+Lambda setup replicated in 11 regions to have the lowest latencies globally. We had to do some extra work to get API keys and rate limiting working but it was worth it. Our setup averages ~44ms response times - https://status.ipdata.co/.

We wrote about our setup in detail on the Highscalability blog [1]

A few things have changed since we wrote that article;

- We implement custom authorizers, which have helped lower our costs and the auth caching means authentication only happens once per x minutes and all subsequent requests are much faster.

- We use redis and a couple of Kinesis consumers running on a real server to sync data across all our regions. This setup has been battle tested and has successfully processed more than a hundred million API calls in a single day in near real time. [Use pipes and mget in redis for speed]

Here are some answers to a few specific things you raise in your question;

1. Use Sentry for lambda for error handling. The logs you get are incredibly detailed and have single handedly given us the greatest visibility into our application, moreso than any other tool we've tried (like AWS Xray).

2. Cloudwatch logs are tough. You might want to consider piping your logs to an Elasticsearch cluster, that might be a bit costly if you use AWS's Elasticache.

3. We use terraform for deploying our lambda functions and other resources. I'd strongly recommend it.

[1] https://highscalability.com/blog/2018/4/2/how-ipdata-serves-...
As someone else pointed out: The US is wealthier. If it was down to wealth alone, we'd expect the US to have far fewer problems.
DSA-2018-107: RSA Authentication Manager Cross-Site Scripting Vulnerabilities
USDCHF: Retains Downside Pressure Outlook
The same as decimal metric measures. The reason metric measures play great together is because of what you are counting (units), not the way you write the count down on paper (the numbers representing decimal or decimal or even just lines scratched in wood)
I wouldn’t mind, but it is only parsed into [[date, amount, comment]+] and then processed by 1c enterprise integrated into our company (we are russians). All the analytics magic/ui happens there, but I’m not sure if it is extractable or disclosable, since it’s mostly a data-driven process specific to us. Pointing to 1c distribution also counts as warez, so...
just use ramda ¯\_(ツ)_/¯
You can’t base your argument for why we seem suited to use base ten on the fact that connected civilizations that where all raised with the teachings of base ten. Humans will always look like we are naturally suited to do the things we do. Like we seem naturally suited to ride bikes or swim... yet when you see people who can’t do those things trying to learn them you realize it is quite un natural.
In my manual labour days I often bought old tools because they were so much better than the new ones...except...

Take a Stanley number 5 Jack Plane. An old one weighs less, is flatter, has nicer handles, the iron sits better and the adjustments are better... than a new Stanley. However they are both worse than a Veritas one made on modern equipment, but... at four times the price.

What happened here is that a Stanley in 1940 cost a serious amount of money. A Stanley in 2018 its quite cheap because Stanley decided to stay mass market by reducing quality. However the space they left has been back-filled by newer higher quality makers using modern materials and techniques.
So Joe Q. Random dying or getting maimed in an avoidable car crash is a 'cost to society' but your laptop not working is not?

"Cost to society" is a term where I suspect various people will assign various different meanings to it.

Either we all explain what that term is supposed to mean, or, we use a different term.

In this case, I'm pretty sure the comment which started with the cost to society (speaking about the idea that an out-of-court settlement should reflect 'the cost to society') clearly meant: Take the # of laptops failing and becoming unusable due to the problems with the butterfly keyboard design, minus all people who get them fixed within 1 year warranty, and multiply it by $700, which is what owners of these laptops have to pay apple to get it fixed out of warranty.

The point that was presumably being made is that the out of court settlement should be similar enough to the internal (to apple) cost of apple's repair program, or possibly even this $700*affected number. The idea being, if it isn't, apple will simply settle out of court because it's cheaper for them to do this.

There's really no need to bring some sort of comparison between random car drivers and users of 'hippie' laptops into it, that seems unduly presumptuous of you.
The price is roughly $21 per user per month, which isn't really all that enterprisey, given you have at least 10 users, that is.

I don't know exactly how GitHub Enterprise and the GitLab Community Edition compare in that regard but aspects such as usability, maintainability and updatability are much more important than saving $21 per user per month.

So, yes if your company has a lot fewer than 10 Git users GitLab probably is the best option. In every other case, it depends and the pricing advantage becomes less pronounced.
Upcoming Kickstarter SmashET Is the First Ever Anxiety Relieving Breakout Game
Winsche Studios has proudly announced that its smashET game is design to help with anxiety disorders by introduction of binaural beats to the games music. The most recent study published by the US National Library of Medicine, shows that monaural beats are significantly more effective than binaural beats. This key study completed in May 2017 sustained Winsche developers in thinking that the monaural beats are increasingly more powerful than binaural beats. The studio’s aim is to ensure that they deliver disruptive innovations to gaming and digital applications. smashET delivers exactly what it says on the tin. The report by Leila Chaieb and colleagues indicates high effectiveness of “monaural beat stimulation in treating symptoms of anxiety disorders, in a fast and non-invasive manner.”smashET is 2D action-adventure featuring alien’s invasion of the earth. The player launches monsters up to the air, with the aim to hit and destroy the alien spaceship and stop the invasion. By controlling the trampoline for the monster to bounce off, the game creates a stimulating and fun environment for the player. The game’s AI learns how players interact with the game and adapts the difficulty level to ensure the gameplay is stimulating and challenging. “We approached this game design from unusual angle. We started by understanding how colour, shapes and music affects human mind. Obviously, we had general idea for the storyline, yet we did not want to get boxed in the initial conceptualisation. ”Winsche Studios consulted and worked with world renowned scientists and designers to understand how to best design the game to deliver the best possible experience. The game will have options for the player to select their own music for the mood they want to set themselves up.The game will start its Kickstarter campaign on 02/07/2018 to raise funds to support the launch.
Show HN: SalesPendingCRM.com BETA – Sales management for real estate agents #2
Across the board, McAfee gives off the impression of an old man having gone ape shit for some reason. But without any firm basis to found the mystique of his purported intrigue and continued belligerance, it's hard to find a reason to be interested.

Why John McAfee's life is such a shit show becomes the same breed of speculation as trying to rationalize why people are debating whether the earth is round or not.

Too bad he can't just come out and tell people he's knee deep in some three letter federal government work, but if he did plainly state as much, what would the prevailing general reaction be?

Would a court of public opinion recoil in horror, treat it as tabloid gossip, scratch their head an ignore it, would it get picked up as a major story or stifled by primary news outlets?

I have to figure part of the reason he avoids discussing it, is because he'd come across as a lesser achievement for him to have accumulated wealth through government channels, effectively receiving a paycheck from tax funds, which might lessen the perception of his image in the eyes of some, perhaps including himself.
>"Given that society created the environment for these tech companies (and their employees) to acquire their skills and thrive, does not society have some moral/ethical lien on how those skills are applied?"

Yes. And that's the rub. I had the good fortune to work in research for the military for almost 10 years. They have more patience and willingness to adapt than any commercial company I've known. Their time horizon spans a much longer interval than most corporations. Did neural networks out of the PDP groups work in the '80s, and when things were too slow, they went yup and bought a bunch of Mercury computer cards to speed stuff up without squawking or delaying.
Now I do work in stereoscopic machine vision. I'm pretty certain that biological or machine, the lowest levels of the visual stack are just targeting systems based on feedback loops. Here I agree with Dr. Russell at Bezerkely. We must not, can not, make autonomous killing machines because the consequences are potentially too catastrophic. So I refuse to work on anything resembling autonomous mobile weapons systems, as do many many others in this field.
This has happened before - we were playing with enhanced radiation weapons in the '70s and '80s (neutron bomb), and over time pretty much every participant decided it was a very bad horrible no good idea. I would argue that for talented players capable of dragging the future into the present, the issue is not that the military is bad, it's whether a specific application they want is unequivocally bad. It's not about who, it's about what.
The deflation problem is easily solved by creating more cryptocurrencies. A crypto world isn't like a new gold standard, it's more like the system of competing private currencies advocated by Hayek, who claimed it would naturally lead to stability.
Libreoffice remote arbitrary file disclosure
That's not really true. First, it's entirely a convention and isn't always followed. Second, there are many many methods which mutate objects and don't have a bang. For example, most of the methods which mutate arrays.
URL: https://SalesPendingCRM.com

Purpose of Startup:

We believe in keeping things simple in business. Our products are easy to use, mobile friendly, accessible, and to the point.

SalesPendingCRM.com (BETA) is a tool for SMEs in the property market to help manage clients through their sales pipeline. Teams can collaborate under a single organisation to create, update, and finalise sales.

Technologies Used:

NodeJS, Express, ReactJS, Firebase, Stripe, Coinbase, CrispChat.

Feedback or Support Requested:

General feedback and testing would be greatly appreciated, thank you.

Features:

16.6.18

- 14-day free trial available.
- Pay for your subscription in cryptocurrency!.
- Live chat support from me if you need help or have any questions.

23.6.18

- SSL certificate added providing secure HTTPS connection to the site.
- Google authentication popup information updated.
- How it works section added to explain how the core features of the application work.
- You can now generate sales letters using information stored in a client record!.
- Update the organisation's name and license number from the settings menu.

#1 https://news.ycombinator.com/item?id=17327319

Since my first post I've added some updates based on the feedback I've received. If you have any feedback for me please let me know on the live chat on the landing page. I'd really appreciate it.

David.
Inspired by Trump, the world could be heading back to the 1930s
Sheffield make the 'finest steel in the world', yet all quality machines seem to use Swedish bearings from SKF! I think everywhere has their specialisms.
I believe I procrastinate because life is so demanding and complex that I am constantly straining against the limits of my productivity for imposed work. It is due largely to a mismatch between my natural interests and society's demands. The question is what to do about that so I can be more effective.

"Because baboons are rarely threatened by famine, plague or predators, they are good models for socialized disease, Sapolsky says: 'Baboon societies are ironically a lot like Westernized humans. We're ecologically privileged enough that we can invent social and psychological stress. Baboons in the Serengeti, who only work three hours a day to meet their caloric needs, are similarly privileged. They ulcerate because of social complexities.'" [1]

Procrastination, it seems to me, ultimately falls in the category of "ulcerating because of social complexities".

[1] https://news.stanford.edu/news/2001/february21/aaassapolsky-...
Of course there can be restrictions on campaign spending (i.e. classical bribery). Free speech has never been a defense to crimes like bribery, fraud, etc., that incidentally involve speech. But the situation in Citizens United came nowhere close to that. It was core political speech. The money wasn't a campaign donation, it was used to create and distribute a political movie about a candidate. If the Supreme Court didn't draw the line there, it would have obliterated the line.
[RT-SA-2017-013] Truncation of SAML Attributes in Shibboleth 2
UBI is not a socialist invention. In fact you'll find a lot of opposition to it on the left for various reasons, ranging from opposition to enabling people to live off the back of others, to a belief it's a thin wedge to reduce welfare.

The socialist slogan is - as Marx pointedly remarked in "Critique of the Gotha Program" -, not an argument for equality but "from each according to ability, to each according to their need"; for substantial parts of the left, the idea of society paying people if they're not contributing is directly in opposition to a central concern of their ideologies to prevent people from doing just that.

As careful as one should be about talking for the dead: Had Marx been alive today, he'd probably join you in opposing UBI, for similar reasons.

Rather, the idea stems from people like Thomas Paine, and was bolstered by experiments in the US and Canada in the 60's.

Recently it was rediscovered first and foremost by liberals (in the European sense; in other words mostly centrists, again by European standard, followers of classical liberalism) explicitly as an alternative to left-wing welfare systems.
But society is made of people! And calling a customer "yuppie" doesn't sound respectful...
I just don't see your reasoning. By what mechanism that is not provided today would the banks stop doing what they do today? What mechanism would control the exposure that banks take on?
Self-fulfilling prophecy. We discriminate against black people based on perceptions which leads to realized behaviors.
Presumably because Twitter was interested in the project, but didn't need the actual implementation immediately. Get the team on the cheap for now, and then just have them rebuild it in-house in a compliant way.
> shareholders should be liable when they break laws and kill people

Shareholders shouldn't (unless there's clear mens rea, such as when they set up the corporation in order to break laws) but officers of the corporation should, and probably already are.
I did that mistake with `sort`. There was a nasty bug that I tried to fix, when I realised that `sort` actually mutates the array and returns it as well. That was pretty good lesson to learn.
I don't completely get this sentiment. Is refactoring a big java program easy? Yes, you will get nice hints from the IDE, but who knows how many things you screwed in the process of refactoring that the compiler isn't telling you about?
Especially when it's not your code, when the person who wrote it isn't there, when you're not 100% what the code is actually doing, when it's undocumented and the intent isn't clear etc etc. Or worse when there aren't any tests which I'm sure happens a lot in java land.
Why would this be specific to Rails?
You're making it sound as if the twitter team can rewrite their app in 2 days because of 'compiler'.
Big complex projects are big and complex. In Java / C# / Scala they're even bigger because of types, interfaces, traits and other kind of verbosity. It makes it harder to wrap your mind around the application in the first place.
We actually have a Sharepoint page but somehow have been uploading the documents according to their versioning since the beginning of the project.

Any idea how to get coworkers on board with using the version tracking feature?
Looks interesting and certainly well-documented, but I would consider changing the name. I instantly thought the other Palantir had launched something new.
Making a Real World Phoenix Blog
It should be noted that this paper was published in 2013, and that there have been some subsequent comments/criticisms of it. While the original paper is behind a paywall (does anyone know of a place to read it?), this comment on the paper by Wicherts and Scholten raises questions about the study and analysis:

http://science.sciencemag.org/content/342/6163/1169.4.full

>[...]We note that a highly relevant potential confound in the field study presented by Mani et al. is the possibility of retesting effects. The lack of any retesting effect in Mani et al.’s field study involving Indian farmers is clearly at odds with one of the more robust findings in the literature on cognitive testing (9). Retesting effects on the Raven’s tests are particularly profound among test-takers with little education (10).

>Mani et al. go beyond the data by concluding that “The poor…are less capable not because of inherent traits, but because the very context of poverty…impedes cognitive capacity.” We note that the correlation between income and IQ also appears in longitudinal studies in which IQ was measured years before incomes (11). Further research is needed to fully grasp whether poverty indeed affects cognitive performance, as proposed by Mani et al., or whether the effect found in their experiments is a test artifact. [...]

---

I had similar doubts when reading the Princeton press release (though of course my doubts are only based on hunches and not rigorous statistical analysis). The experiment testing farmers pre-harvest and post-harvest has the potential issue of retesting/learning effects, because they had the same participants take the test both before harvest and then later after harvest. If they end up seeing an increase in performance from pre-harvest to post-harvest, that could also be due to learning/familiarity with the test and not just from the independent variable of altered poverty. I would want to see a similar study done either with separate (large) groups of participants pre/post-harvest, or to repeat the test over several harvest cycles so we can see if there is an oscillating rise/fall as it goes pre/post/pre/post-harvest.
As an ops person this is a super interesting question, so its really kindof surreal to read dozens of replies wherein not a single one mentions throughput, tail latency, or error rate measurements.
CVE-2018-1002100 Kubernetes: the kubectl cp command insecurely handles tar data
https://github.com/snyk/zip-slip-vulnerability

https://news.ycombinator.com/item?id=17237295
Do you think that safety is possible without funding police, justice systems, defense, etc.?
Same here also. This thread has me looking at my iPhoneX for all of these micro scratches and I can't find any. I do not use a case either.
Paper flower for wall decoration new ideas