skysight-inc/HackerNews huggingface dataset:
It's quite simple. If the politicians of a particular era were elected their policies must have been within the window of that era. If all the politicians, of all parties, in an earlier era were to the left of today it stands to reason that the range of policies acceptable to the public, ie the window, has moved to the right since then.

It's the reason the Labour party had to shift right or remain unelectable as they were unable to move it to themselves. They shifted far enough right as to be no longer a party of the left. Public opinion had shifted right, and it has moved further right since the 80s.

> social issues, I think it's pretty clear that views which were acceptable a few decades ago are unthinkable today

Which is what I said. Still doesn't stop them being issues that differ across generations far more than of the right or left. Young people of the right agree just about as much as those of the left. Older generations of right and left are those holding the previous anachronistic views.
It will be interesting to watch as they improve this process. I use Stitch Fix, and I don't feel like it's all that personalized. The problem is that as a consumer you don't see all the products they could have selected for you. Maybe there's three options for male jeans, maybe there's fifty, it's opaque to the user. The result is a little disappointing because as an American consumer my options are nearly unlimited (only my time is constrained).
Show HN: Smart Fruit – A Python schema-based machine learning library
I've made a small Python library, designed for quick-and-easy prototyping of machine learning models. It's built on top of scikit-learn, to serialize and deserialize data from the forms you're likely to have, to the format used in scikit-learn.

https://github.com/madman-bob/Smart-Fruit

It's pretty bare-bones at the moment, but I thought I'd see if there was any interest before spending too much time on it.

Let me know what you think.
Looks like the pair were simulclimbing and might not have had any pro between them at a bad moment.
US Police Car Stunt Mega Ramp Racing
Soufflé – Logic Defined Static Analysis
I wonder why not to use the call syntax for JS slices? I.e. use a(1, 3) to mean a[1:3]? The drawback is that 0 at the beginning of the slice cannot be skipped, but things like a() in place of a[:] or a(i, j, k) in place of a[i:j:k] will work.
> A pillar of Toyota's approach is patient, gradual, relentless improvement. There are a lot of signs that Tesla has never really warmed to that.

I guess it depends how you interpret the news and what Musk has said in shareholder meetings. At the last one he explicitly said that they continuously improve the process at Tesla.
TLDR:

> 91 percent of potentially recyclable plastic in the U.S. ended up in landfills – or worse, in the oceans.

> Yes, trash has become complicated

> Even if consumer participation in recycling were 100 percent, we wouldn’t be close to recycling 100 percent of the material [...]

> [...] nearly all current “recyclable” plastics [...] get a second life as a handbag or lawn chair [...]. They’re not really recycled so much as “downcycled.”
If the riot comes to your home you have the right to defend yourself with guns, including those of a private security force.
I made it a goal of mine about 10 years ago to avoid explicit for-loops. It turns out using declarative style makes things more readable and safer and better optimized by the compiler. I can usually tell the purpose of the loop by just reading the function name (map, filter, ..) and the lambda. Sometimes parallel comes for free. Plus, all those off by one errors, iterator errors from erasing elements, etc. are all eliminated :)
What part of "super fuzzy high level overview" was confusing?
I don't speak Japanese. Can you explain what you mean by "the property"?

Is the property the island? And does someone else own the island, and they want to farm on the island?
You know a pharmacy does more to fill a prescription than just count out pills on a slip of paper, right?

How many pharmacists and pharm techs can be automated away by amazon that pillpack hasn’t already? And this is just a rhetorical question, neither of us are really qualified to address all the tasks to be done, nor current automation levels.
If there's a rule that you can't do what you're proposing to do, then you're putting your job on the line by breaking the rules I'd guess.

It depends what field you're in and what the company is like I suppose, it sounds like the management has other priorities at the moment, I'd just keep raising it with them, discuss it openly, if nothing is done about it and it bothers you then either suck it up, or find alternative employment would be my guess.
These companies were in violation of the Bundesdatenschutzgesetz. It mandates information minimization which many fail to adhere to. The problem is more with enforcement, which was (is) weak. GDPR in fact is seen more lax (by our privacy prtection authorities) than the Bundesdatenschutzgesetz but it has more teeth.
State of AI 2018
From an American perspective who is familiar with that usage, it's not that great. And it really doesn't do justice to the actuality of the situation. "Lets" means "permits" or "allows", but this is an obligatory deal here.
Adidas US hacked Data of millions of customers compromised
> See also: Cardinal Richelieu.

Context on the reference: https://history.stackexchange.com/questions/23785/what-did-r...
"recur" can be used for self-call in tail position, but does not help with the general case where you may want to jump to another function.
Iterators (Java-style) encapsulate a forward-only cursor.

Do you feel the same way about stream abstractions? They are also cursor-based. How about network connections?

`Mappable`, `forEach` or any other mechanism that inverts control via a callback is less composable - how would you implement a `zip` function over such streams?

(I'm not a huge fan of Java's Iterator interface specifically. I marginally prefer IEnumerator from .net, which is peekable by default and doesn't have the awkward `remove()` method, which is seldom reliable through transformed iterator pipelines. And for that matter, I'm not that much of a fan of OOP; but an OOP encapsulation of a forward-only cursor isn't problematic.)
Does online inclusivity mean automatic equality for emerging markets?
> No one failed, we just didn't want to (for reasons very obvious now, in hindsight).

Would you mind explaining a bit more, please?
Is culture fit typically being used to conceal discrimination? I always assumed that "culture fit" was actually about culture and personality. I don't even think it's necessarily an euphemism, I'd probably use these words to describe why I don't belong in a Java shop.

Although, 90% of the time it probably means "must be friends with the CEO or willing to work overtime".
You could also do online training if anyone is interested: http://eyegym.com/
“These days, the problem isn’t how to innovate; it’s how to get society to adopt the good ideas that already exist.”

— Douglas Engelbart
My experience with testing a React app on different devices
I don’t see what homelessness has to do with transit viability aside from them making you uncomfortable. When everyone rides the bus or train, the share of people behaving badly goes down fast. The reason areas with poor transit have their busses overloaded with vagrants is because every public good gets overloaded with vagrants if not enough people are using it.

>I've seen that has a chance to change this is to come down hard on poor public transit behavior, perhaps by putting actual people on the buses with the specific job of cracking down on the drunk/high/piss soaked/etc types, in an effort to improve the quality of the service to the point that the middle-upper income groups uses it again.

Or you could, I don’t know, treat them like human beings, get them counseling, and reintegrate them into society?
please read about his victims as well, https://www.nytimes.com/1996/04/04/us/unabomber-s-track-vict...
China's penetration of Silicon Valley creates risks for startups
Somewhat related — a recent short video about Puget Sound: https://youtu.be/EJrrRPHa6-c
yep, these are the kinds of posts on HN that I really appreciate, not the contrarian "well akshually" kind that usually appear.
I think it's reading too much into it. It was to illustrate that better odds are not necessarily an overall improvement.
I worked in retail for a year or so. Most of the time it’s very boring, because there are always long periods with no customers.

Some of the time it’s frantic, because there are too many customers.

A lot of the time it’s depressing, because a scary percentage of the population struggles with basic adult agency and/or comprehension.

I think everyone should do it for a while.
> I think we're talking past each other here

Distinctly possible!

> not referring to political parties and policy-making, but to the cultural zeitgeist ... the range of acceptable political thought and discourse

Hmm. I have never heard it used separate of policy. My understanding is it's the range of policies the public will accept and elect. If a proposed policy is outside the window then it'll be seen as extreme, or you'll not get re-elected. What usually follows are soundbites and helpful campaigns of politicians on message trying to shift public opinion first to render that policy acceptable. Sometimes this works (brexit, though I don't think they wanted to be quite that successful), often it doesn't. Put another way it's a way of gauging if "we'll get away with this".

So whilst said millennial progressives may be pulling back a bit from the accepted norm of neo-liberalism with free market as answer to everything, the individual being what matters (with as little government as possible), the pendulum after 40 years swinging right remains extremely far over on the right. If it's general political discussion outside of any reference to policy then the waters get far muddier with some aspects distinctly more left than others, though often not classic political areas of interest. It probably gets harder to judge the general view too.

Other than on the fringes there's little real discussion of adequate social housing, more public services, government providing safety net, society and community, failure of privatisations (except rail thanks to Corbyn) or even alternatives to austerity when after a decade it clearly isn't working. Mind that was likely a policy to hasten the reduction of government.

UK policy has always been rather reluctant compared to Europe on social matters preferring to stigmatise and pretend it isn't happening. For most social policies, cannabis included, the changes seem inevitable as the younger generation of both right and left are far more accepting. Even my generation seems often more relaxed than policy. I'm actually surprised it hasn't been legalised already - it's more common than tobacco now, and I've thought it inevitable for ages. My generation can't all have reached 40 and forgotten how they spent their youth!
> The incentive in the cloud age is to create dysfunctional products that provide an illusion of permanence instead of the reality of tangibility. I expect this is only going to become a bigger problem over time.

Isn't this what SaaS is all about?
Given Twatters ongoing censorship of all things outside their authoritarian militant left wing circle jerk view mentality, I am surprised there is much left to show or even report on?
I would recommend also testing with IBM's Watson Speech. In my usage it was a lot more accurate than Google and Azure. I also did a couple of tests with AWS and Watson was always ahead. All these tests were with American and British English.
>The argument seems to be that it is simply impossible to produce the vehicles for Tesla.

This is a complete straw man. The argument is that its impossible for TSLA to produce cars in the volume necessary, at the margins necessary, in the time frame necessary to both pay down their massive amounts of debt and justify their enormous valuation. And, looking at the numbers, that seems like a pretty solid argument.
Not right now:

"One car alone doesn’t crowd the field. But Geneva was a showcase for a rush of coming EVs and hybrids."

The i-Pace is almost out. The others... aren't. I'm particularly skeptical of Audi's gigantic marketing machine.
I don't get it. They seem to have blogs. Do they sell anything?
Googling for the issue would get you the source where I got it from, so it's not as bad as you claim. And up to 16.04 the last few years of Ubuntu LTS releases have been smooth sailing in my experience. In 18.04 they did a transition into GNOME3 as the default and that's still showing the issues that showed up. Unity was actually quite polished and functional.

But let's not blow this out of proportion. It's not like Apple has not had plenty of QA issues with OSX lately. But I agree Linux desktop QA could use some more resources. Unfortunately it seems the Ubuntu desktop/mobile push is mostly over and they're now focusing on server/container where Linux has been great for a long time already. And since volunteers always prefer writing new shiny stuff than spending time doing QA the Linux desktop will probably never be extremely polished. I do find it much better than Windows and comparable or better than OSX in actual functionality for us technical types but your mileage may vary.
I'm probably weird in that my philosophy doesn't jive well with the current societal norm, but I think it is important to come to terms with a simple truth: All things are ultimately lost. Physics tells that even the universe itself will end, even if different models disagree as to precisely how. Things begin, they exist, and then they end. That they are not eternal does not mean that their existence was meaningless. Which isn't to say that preservation is pointless or wrong, but I think it is unhealthy to try and hang on too firmly to the past.
No, I just don't like living near other people. I live on a 10-acre farm. If my commute wouldn't totally suck, I'd move farther from the city to where I could afford even more land.

I like having my neighbors at arms' length.

As for the water thing: well, living on a farm I have to take care of my own water and its far cheaper to buy municipal water than to dig wells and process your own, so no developer is going to do that.
Prestashop Museum and Antique Statue Template
You're right, I re-checked and it's the Samsung Galaxy S that's the obvious iClone in terms of design, the S II definitely isn't as similar.
Toyota embraced Deming/Kaizen, it wasn't their idea. Beyond that Tesla is a more extreme version of those ideas. Toyota doesn't need to, but it's likely they also wouldn't, build an entirely new line to meet a goal. That would be out of the focal range of their 'softer' implementation of continual improvements. Musk on the other hand is not averse to continual improvements that are on the extreme end of the spectrum. This is very evident in how they've built the car. For example when Consumer Reports identified a braking issue with the Model 3 Tesla had an OTA software fix in days. What other manufacture would do that, let alone could?
That's really cool! My background is in lit, but I had the good luck of falling for a talented artist (whose specialty happens to be line work). I've learned a lot from her over the years but still not enough to be very opinionated about the quality of lines. Klee and Kandinsky just pop off the page to me. When I look at their pieces that best resonate with me, it's like looking at a small section of nature and understanding how full of live it is - and how much is going on that you can't see. I'm guessing a lot of people have similar experiences with different artists, and I love reading/hearing glowing reactions to artists I "don't get," because I usually learn a lot about both the artist and the writer/speaker.
Not a problem now, but if you expand to the UK the word Brexit is on everyone lips and will be for the next decade. Are you sure you won't suffer from Brex-it association brand wise?
I have 2% through Citi Double Cash (and yes, it really is 2%, not 1.98%). No caps at all.
> which converts properly prepared recursion into an iterative loop

It only works if you are using recursion in place of a simple loop.

Many algorithms traditionally implemented with recursion (e.g. various tree searches) need that stack somewhere.

Technically it’s probably possible to “properly prepare” that, but practically both alternatives (recursion + built-in call stack, or loop + separate stack) are much easier to implement.
> Laws 1-7 and 10 state otherwise!

I disagree. OP talks about what you're allowed to be, Jante talks about what you're allowed to think.
Interesting considering that a lot of cities and countries started war against this business model, it's highly regulated, restricted or completely banned.
> However, you definitely can use "expected return" to talk about singular events if there are known probabilities involved.

Just that "expected" sounds like there's a certainty about it. If I lose 100 times in a lottery with 1:500 odds, it does not mean my odds have now improved to 1:400. Playing the lottery 500 times does not give you expected return of 1, the odds are the same 1:500 in every round.
Idaho’s GDP is two orders of magnitude below California’s. The fact that they’re growing at roughly the same percentage is an indication that they aren’t that hot.
Not interesting at all IMO. Better IPO before it's too late.
Show HN: A raytracer to shade topographic maps in R, Part 2
They’re almost out of money.
Introducing the Indexing API for Job Posting URLs
I hope they were not and this data ends up public.

I’d love to search this database for the details of top people at privacy-violating companies and publish them.
Like it or not (I don't), he was expressing his political opinions, albeit in a tactless way. Social media is overrun with much worse garbage and people are not banned for such.
No. They’re all upgraded model 3s
It's interesting that we consider this a leak only when the marketing firm loses the data. If we lived in a just society we would consider it a leak once the marketing firm got the data.
>it forces them to concentrate on productivity rather than economic alchemy

I'm a Hayek fan, but even I can see merit to the Keynesian economics principle of debt deflation. A level of inflation is necessary in high Debt-to-GDP countries, it is not a matter of 'economic alchemy'. This is how countries have pulled out of recessions time after time throughout human history.

The Euro, and to that extent the EU, is the unnatural force that doesn't have a historical precedent.
Dorsey is successfully, simultaneously steering two of the most important public tech companies on earth. Square particularly is a booming success story as a business. Twitter, which was supposed to be doomed financially, has been delivered to sound profitability and still has $4.5 billion in cash.

Please explain to me how he fits into the category with Holmes and Kalanick.
All the major players operate under a debt and profit cycle. It's just that nobody else is also building a new car company and one that is a paradigm shift.

https://simplywall.st/stocks/us/automobiles/nyse-gm/general-...

On top of the fact they were bailed out.
If your company doesn't care about you then you shouldn't care much about company's policies that come in your way either

I used to suffer from a similar situation.
In GitHub, one can be a code owner of a directory in the repository, in my company you cannot merge pull requests without explicit code review and approval of the code owner or the repository owner (CTO in my company)

Problem was that whenever I used to raise a pull request for changes in the directory I myself was the code owner.. no one was there to approve the pull request as one cannot review the PR one raised itself.
I would just ask someone else to raise the pull request and approve it myself and merge it ;)
Didn't want to wait for my CTOs approval and dictate my working pace.
I was always going to be accountable anyway my repositories.

Now, I'm not saying that you should go the same route, rather trying to influence you to not feel depressed and try and find a solution to work around the policy.

Firstly, do the obvious and keep poking who ever is incharge about your situation.
There are many software stacks that are not versioned only at the top level, especially in scientific software.

As an example: If I tell you I calculated a result on SciPy 1.1.0, do you know what version of what code is doing the linear algebra? No, because there's no single answer. It depends how SciPy was built and what's installed on the rest of my system. It could be OpenBLAS, ATLAS, MKL...

So if there were a bug in, say, a particular version of OpenBLAS, and it manifests itself in SciPy, there's no way to tell whether the bug is present based on the SciPy version.
Author here--This is a follow-up to my last post, here:

https://news.ycombinator.com/item?id=17065264

The feedback in that thread was great, and I ended up implementing several of the suggestions given in the comments. Thanks for all the help!
> You would use keyword or syntax to perform tail-calls explicitly

That's what I did in my Forth dialect; I called it "goto".
The Energy Market’s Future: Supply, Data, IoT, Lettuce
... if you are European resident.
They lost control of their own currency. That's not just "one tool". It doesn't work and without full economic integration it never will. I think I know what I'm talking about as I'm living with this problem, have analysed it thoroughly because I have nothing better to do, know the history of this southern European country and their people, and as a result of all this I can't trivialize it by simply making up the belief that it'll be fine at some undetermined point in the future. It's more like the death by one thousand cuts, in slow motion.
Are there more, less, or an equal number of bikes around now, after such legislation was passed?
Come work with a team of badass women and men – The Muse is hiring an Eng Manager