skysight-inc/HackerNews huggingface dataset:
I had to stare at this for a while before I figured it out.

`works` and `notworks` are both generators. They take an iterator (over a list) and take two elements from it, then yield this. So when given [1,2,3,4] you would expect to get back, [1,2], then [3,4], then StopIteration is raised.

`works` uses a list comprehension. It gets [1,2], [3,4], then there are fewer than two elements left, so StopIteration is raised, the toplevel call wraps the results in a list, and returns [[1,2], [3,4]].

`notworks` uses list() with another generator. This does look like it would have the same behavior as the listcomp, but it does not. When we turn an iterator/generator into a list, and the generator raises StopIteration, list() will return a list of all the values produced so far. So it produces: [1,2], [3,4], then [5], then endlessly [].

You can inspect the behavior by looping over the generator calls, e.g.

for x in works(iter([1,2,3,4,5])):
print(x)

tl;dr: In `works`, the StopIteration is handled by `works` itself, while in `notworks` it is intercepted by the call to list(), rather than by `notworks`. This causes the difference in behavior.
A website where opinions/posts don't get to the top based on likes from others
"Amazon marketing materials promoted the idea of using Rekognition in conjunction with police body cameras in real time"

https://www.theguardian.com/technology/2018/may/22/amazon-re...
I was referring to those regulations/legislated incentives, actually, sorry that I wasn't very clear. Usually they're monetary and the utility gets to choose the most cost-effective way to meet these requirements.
This is too dismissive of the reasons the ecosystem is the way it is. Sure, there is definitely some amount of over-engineering and NIH going on in the community, but every solution exists for a reason, and if a lot of people are using something (e.g. Redux), chances are that it solves a very real problem for those people.

There are times this backfires (AngularJS, react-router), but to say that all these tools popping up "is just typical software devs over complicating things" is a bit short-sighted. If they didn't solve problems, they wouldn't be as popular as they are.
The actual report is here: https://www.acrecampaigns.org/s/Delivering-Hate-Jul-2018.pdf

Pages #21/30 onward contain evidence of the horror. Confederate flags. Nooses. Skeletons. LEGO. PEPE. Pepe Trump! (Why not a LEGO Pepe Trump?)

It is to weep.
With Mercurial you can rewrite history like an Orwellian Minister of Truth :)

It's just a bit harder for newbies to shoot themselves in the foot.
There aren't many invariants in the real world - beyond literal laws of physics, things that seem invariant are usually enforced by the threat of jail. So in the end, the only real invariants we can use are part of our business model - not the real world - and they only hold insofar our model is specified and implemented correctly.
First of, law exists (i.e. "means anything") only if you have the means to enforce it, like armed squads to terrorize the population or a leverage of some other kind. Like, for example, Amazon (wherever it's located) probably has to abide to GDPR as long as it wants to sell to EU customers. Orlando city, located in the US under US jurisdiction, and not trying to sell anything to anybody in the EU doesn't give a fuck about European laws, even if they stated that Orlando should.

Second, it seems to be a popular misunderstanding, that GDPR affects Europeans everywhere they go and you need person's confirmation to store his data. It affects people currently located in Europe, and there are listed multiple very vague excuses for storing user's data without explicit consent, like "in order to protect the vital interests of the data subject or of another natural person", with which global tracking by law enforcement agencies could be easily justified.
Where did I say not to try to understand the math behind it? I say its not required to tune hyperparameters.

To me, its doubtful that someone whose first impulse is to generate strawman arguments is doing a good job in analyzing data. Thats the basis for NHST, which ml tools like this are trying to get away from...
> When you hear someone say "I cannot find qualified workers" always add "at the price I am offering" because if they doubled or tripled the wage they offered, they could find a qualified person so it is a matter of price, not a matter of availability.

Somewhat related, but sometimes the issue is an unreasonable definition of "qualified". I feel like there are a lot of choosing beggars, particularly in the tech industry.
I appreciate what you are saying. So many people assume that open source gives them the keys of the castle, while later they realize that a simple broadcom closed source driver puts the whole openess in the trash.
http://www.ipfone.com/taxes-and-fees/
Here in Brazil there were plans where you can choose one or two numbers and calls to them will come off a separate monthly time quota.

Don't know if they still exist.
TaskBotJS looks great. Does it support recurring scheduled tasks?

For example:

run task foo at 13:00 every day for 14 days.
run task bar at 06:30 every day forever (until cancelled).
Here on Hacker News I’ve read the opposite. Whenever any new technology product is offered by Amazon the refrain is always “that can be replicated with x, y, z”.
So what? He could be the almighty blogging from a burning bush and he'd still be wrong.
"If that were a problem in reality, the markets would be punishing companies where that happens."

Quite the opposite: markets have been rewarding it for some time. The richest companies mostly had buggy software. What got them revenue was everything but flawless quality. Then, once their customers were locked in via other tactics, the customers kept paying them so long as the software continued to work with a switch costing too much. They also often patented anything that could block competitors.

Even quality-focused customers often want specific features even if it leads to occasional downtime. Also, releases improving on features fast. I think Design-by-Contract with automated testing can help plenty there with the pace necessary for competitiveness in a lot of product areas. The markets don't care about perfection, though. The company's priorities better reflect that.
That depends on how the companies determine “the same network”. If it’s external IP based then a guest network is of no use.
Yes, exactly, for example go to eBay, search for "dell r620 64GB", sort by buy it now. For typical prices of a several year old 1U dual socket server.
...What do you think progress looks like?

Who works in fast food and why? Mostly people who are either don't have any skills to work anywhere else or people who can't work anywhere else.

When there is high unemployment, high skill workers will be more willing to take a less desirable job in order to survive. As unemployment drops, the high skill workers leave the undesirable job and find better work(more pay, better hours, etc.). Fast food places then have to either raise wages or higher less skilled workers to replace those who have left.

This is progress.
Amazon is still facilitating it. If you’re selling guns to someone you know is a a serial killer, “someone else would have sold them a gun” is not a defense.

Edit: especially if you run ads about how effective your guns are for serial killing.
The market doesn't care about security either. That does not mean it shouldn't be a priority.
I agree with you, tooling is still lacking a lot in UX on k8s world.
One thing I disliked in blogs, which made me migrate back to an old-school website, was the low bar of writing on a blog, and I ended up writing a lot of impulsive rants. Publishing on your own site makes you think twice and work the opinions before writing. Another blog problem was the "planet" - your blog was syndicated by a planet and suddenly people complained that you were writing articles not in planet's default language and subjects. I had no less than 4 blogs to please the planets until I got fed up.
Really? Do you drive? Over 50,000 people die every year due to driving. If you are part of this culture, like most people, you are choosing convenience over lives.
That’s not how the brain works

The proposed method is wasteful in terms of energy spent to get an answer, specifically in this step : ‘ sum the whole range of possible sizes‘, even with approximations and clever algo

Perception is much more economical as it’s done via memorized heuristics that restrict the search space very quickly.

As a rule of thumb, If your method requires many iterations to converge on some minimum it’s a wrong method to model perception. Brain doesn’t solve a mathematical optimization problem.
> I refuse to believe that multiple people over the course of a year are all incompetent

Those are your words, homie. The parent simply called out call-centers for being ineffective, which I would agree, given my own experience with them. I would contend that the workers are generally skilled and agreeable, rather the hop-skip-dance that needs to take place every time a call-center is used, is painful and ancient. Imagine a situation where your own digital PA already knows your account number, address, phone, etc., allowing you to simply provide a courteous hello before asking your question.
Gelman & Hill
My impression is that etcd works more in a lower-level data store abstraction than Consul, exactly why it's not so feature-rich but is used as building block. Consul packs more out-the-box if that's what you need.

Both are atill much better to operate than ZooKeeper.
https://en.wikipedia.org/wiki/Sealioning

Perhaps you can find the citation yourself and use it to counter the point you are replying to.
If that were true, this wouldn't exist:

https://xkcd.com/1597/
Honestly, I'd much rather work for the US Govt. than some snazzy SV company, regardless of pay.
Adding that to my vocabulary. Thanks!
Sonic is a small ISP that competes brilliantly with the big guys
Coal is not exactly cost-free either. And you don't need to match the grid capacity... that's a red herring. Even a tiny fraction of the grid capacity having battery backup is enough to have a disproportionate positive effect on grid stability.
Aphelion Day 2018: Earth Is Farthest from the Sun Today
NYT did it.

https://open.nytimes.com/how-the-new-york-times-uses-softwar...
That was a past station years ago:

https://www.lufthansa.com/us/en/Data-collection-for-the-USA

https://www.dw.com/en/eu-us-strike-deal-on-sharing-transatla...

And all in the name of combating terrorism.
Muun: Co-Working SaaS Killed by Big Competitors
Says you. But will the police/FBI/DA agree, or say it's terroristic stalking?
Typically the volumes are relatively small, which makes it’s expensive to hedge.

It’s a penny game. If you are making a 35% spread on your buy/sell the one time inventory depreciation will definitely hurt, but your spread and net pennies per pound has also gone down substantially as well.
The initial conditions for this discussion were poor, granted, but these are real, tangible concerns. It's not something ideological or abstract for me when people fail to critique systems that can literally drag my friends away from their promising careers in science and technology.

The links I provided were substantiative evidence regarding the present administration's actions. I'll try to attach my substantiative responses to less flame-prone initial conditions in the future.

The tone I struck in the examples you cited was short, granted. I will do better.

Thank you for taking the time to respond.
Sounds almost like "publicly available weapon of mass destruction". Kinda doesn't make me feel at ease with that, for some odd reason…
I remember a time before I understood git. I was working on a small team where no one did and never really wrapped my head around it while I was there. 99% of the git you use is super obvious once you understand it. It took just a week or two sitting next to someone I could bounce questions off of and the groking was complete.

It's powerful and I can't using imagine a VCS without getting to manipulate (rebase) history but I do remember a time when it was opaque to me.
because gold is heavy. it isn't easy to move, or transact with.
Yes, it absolutely sucks. But that's one of the things where unions might come in handy.
That reflects where the funded customer base is, not Amazon's preferences. That may be the result of a social reality of what this tech is good for and who is funded to make use of it.
You could replace "grand UI redesign" with anything and your statement is still correct. "grand performance update". "grand timeline feature". "grand 3rd party integration". If it's not grounded in an actual user need or problem, then it's a negative indicator. UI design is sometimes a real problem that needs to be addressed, though I'd agree that they only made things worse with Reddit's new update.
Why You Should Stop Caring and Start Doing What You Love
Totally ridiculous and absolutely despicable. So, if you get fired for liking a tweet claim wrongful termination and sue the bastards.
You really are helpful and you try to fix this so I really want to say yes but I am currently grinding for my own startup so I know that a lot of time will pass before I actually do it so I don't promise anything.

A good way to test it would be to make a simple websocket server that simulate n users each sending n' fake xyz position and rotation data per second. This data updates a Redux store in a React app made with Aframe (HTML wrapper around ThreeJS). You make n cubes move and rotate along the data in the store. Compare the fps you get against the fps you get with a vanilla solution. Also check what happens on the performance tab of chrome

I am able to recognize that my use case is very specific. I used React/Redux/Reselect and Aframe/ThreeJS with sockets a year ago. Now I kept React but the rest of the stack have changed for nearly a year
You can do it yourself, if you're so inclined. Out-of-the-box sentiment analysis is ~90% accurate. Feel free to provide training data for it.
Do not conflate "social consequences" with "police state consequences"
Have you seen the article about the birth of radio ?
Progressive communities love this particular regressive tax.
Great tax environment for running a reseller.
Except that they partner with AT&T and have to play by AT&T's bad rules, such as the rule that you have to pay an exorbitant rental fee for the modem/router, with no possibility to opt out of the fee, even if you only use your own equipment.
Sure, but the scale and degree matters, it's not a simple 1-bit binary equation.
We are going to live in echo chambers no matter what. I'd rather live in my own echo chamber than the one that Facebook or the DNC or RNC or Fox News or some Washington think tank has built for me.
To me a "great" system would be independently verifiable. As in, you appraise your house and you then find you can sell it within 5% of that number. This is not how it actually works, though. The appraisal is often spot on the offer you got for your house, because the appraiser clearly knows the number they need to hit for the loan to go through.

Maybe the system is great for some slice of the market, but for owner occupied detached homes it's pretty shitty.
The idea that it doesn't matter seems like survivorship bias. People see all the companies getting their databases dumped without a hit to their stock price/valuation and declare caution a waste of time, but what of the companies you never hear about that died because someone messed up in the rush to ship?
Looks like they're moving ahead with that approach: http://news.mit.edu/2018/mit-newly-formed-company-launch-nov...
Aren’t they introducing Kubernetes as part of Cloud Foundry:
https://techcrunch.com/2018/04/20/kubernetes-and-cloud-found...
Anyone has anything to say about The Lady Tasting Tea[0]? I'd like to hear/read your thoughts about this book. (I came across it on the comment section of John D Cook's blog post[1] years ago but haven't had a chance to read it yet).

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

[1] https://www.johndcook.com/blog/2013/01/12/elementary-statist...
For the probabilistic graphical model and belief prop perspective, check out Friston et al. (2017) "The graphical brain: Belief propagation and active inference": https://www.mitpressjournals.org/doi/pdf/10.1162/netn_a_0001...

For the neural corollaries of predictive coding, check out Shipp (2016) "Neural Elements for Predictive Coding": https://www.frontiersin.org/articles/10.3389/fpsyg.2016.0179...

For a state-of-art CV framework that fits with the free energy principle, check out the Recursive Cortical Network from George et al. (2017) "A generative vision model that trains with high data efficiency and breaks text-based CAPTCHAs
": http://science.sciencemag.org/content/358/6368/eaag2612
I suspect it's their preference for daylight in the winter. Which currently in Buenos Aires is about 8:00 AM to 6:00 PM.

Worth noting that the provinces have the option of following DST but choose not to.
I'm honestly not sure how I feel about the expectation that employees and corporations act with some (or any) kind of morality beyond "make money legally".

Philosophically I would rather laws and social norms are enforced by law and not corporations or individuals with disproportionate influence.
Of course they do.

Paparazzi and autograph hunters, to name two obvious examples.
Gundeals wasn't for buying and selling firearms between private parties. It was for posting links to deals from retailers and FFLs.
MorphOS 3.11 – Public Release
Ask HN: Which of Arthur Clarke stories should I read and why?
Hi there! I'm 35 years old and I have yet to read a single story by Arthur Clarke, whom is CONSTANTLY mentioned in comments. The thing is: being a hard-scifi reader, which stories should I read & why? Share away your suggestions please! One-liners synopsis could help :-)
Both of those things sound imminently reasonable compared to the alternatives, at least to me. Both of those things are a product of choices that a market-participant made. The alternative pre-Prop 13 was that a non-participant was financially affected by the behavior of their neighbors. In the scale of reasonableness, this is less reasonable than life under Prop 13.
One indicator is how many companies are bought by turnaround specialists or fire-sales or aquihires to competitors.

Those are pretty good bellwethers for the effects of bad technical management.
Ah I see. Thank you for clearing that up.
NASA Tests “Quiet” Supersonic Jet
That's true, cable TV is almost as common as refrigerators.
Who decides what's law abiding? Is it just felonies? Felonise + certain misdemeanors? Jay walking? What if I broke the law 10 years ago but have been a model citizen since? This kind of language worries me.

> lawmakers should require public input before surveillance tools are deployed

Again, what does that mean? Input is not the same thing as saying the public can veto it. Even if it does required explicit approval from the public is that really a great solution? The public has made a lot of shitty political decisions recently. Furthermore, who counts as part of the public? If you're a convicted felon who served his time do you count as part of the public?

This shit reeks.
Because not everyone needs to survive on it. As pointed out above students and the elderly can easily be priced out of the labor market if the minimum wage is pegged to this standard.
Inc.com: 5 IoT Applications You Can Put to Work for Your Business Right Now
If any industry is going to be killed, like coal, I think there should be retraining of course but you also need to create jobs in the area that the other jobs are going away in.

When NAFTA was being negotiated, there was similar talk of retraining all the blue collars. There were blue jean factories in Western NC, once they left there were no jobs to move into. Training or not.

Now it is easy to say, "Move to where the jobs are" but for someone who owns a house in an area but has little to no other assets, this is not a solution.
People just like to be cunts. I've been doing ML for 15 years and I'm not apologetic about calling shit shit. The article was 101-level stuff and there was no application to an interesting problem. "ML is hard. Let's go online shopping!"

Given that clustering is unsupervised, it's one of the easiest ML methods. Did they use kNN to categorize new instances? Did they use PCA to make the model simpler? I can cluster shit all day with no effort, but my higher-ups wouldn't be pleased.
You'll need your employer to sponsor you for employment-based green card - you can't self-sponsor.

However, TN visa is single-intent and meant to be temporary, i.e. you can't immigrate on this visa. This is different from dual intent visas H1B and L1 where they are dual intent.

This means that you can't travel until you are granted Advance Parole. This can mean a year or two waiting in limbo in the US.

Source: in the process for employment based green card and have a few friends who switched from TN/E3 visa to green card
This is a pretty site. Anybody know how they did the code snippets?
I think Efron & Hastie may be a bit too advanced and terse for the OP. They cover many things in not so many pages and "our intention was to maintain a technical level of discussion appropriate to Masters’-level statisticians or first-year PhD students."

But given that they distribute the PDF for free it's worth checking out. Hastie, Tibshirani & Friedman's The Elements of Statistical Learning and the watered-down and more practical Introduction to Statistical Learning are also nice. All of them can be downloaded from https://web.stanford.edu/~hastie/pub.htm
Isn't testing important even if you're not doing TDD? It's really helpful to be able to modify something and know whether you borked it automatically instead of hand-testing your whole big app.
People get good well-paying jobs by not working at startups. Future money windfall is a very big component of choosing a startup.
Very interesting investigation. Thanks for that. I played around with it for a while and wondered whether it may be a possible DoS attack vector, but the security team didn't think so. If it's retrieving the most relevant results and discarding them and grabbing more, perhaps it could be used nefariously to put a big load on Google's infrastructure. Maybe.

Interesting though, isn't it!
Huh, it actually could be sports though. I'm trying to come up with the name… "Competitive blackmailing" sounds fun, what do you think?
Hilarious! Most git tutorials cover how to pull, commit, push, and maybe merge. I think what is missing from most git tutorials is just how to get the repository into a good state if you're confused.

git commit -am "Oh No" && git branch BACKUP && git checkout origin/master -b attempt2; # EZ PZ

The BEST thing about git is that you can easily do the equivalent of save everything (commit), back it up (branch), and pull up a clean version (checkout). What they're describing should be the selling point of git!
Complex ML models can behave very counterintuitively in response to simple hyperparameter changes, which is why it's more pragmatic to check a lot of combinations (e.g. grid search). CPU time is cheap, research time isn't.
Good question. (I didn't downvote you!) Reading DDG's FAQ, it's not clear to me if "more traditional links in the search results" means the search results (after the Instant Answers) after exclusively sourced from Bing, Yahoo, and Yandex or if they mean "mixed in" with links from the other sources.

Is the web too big for a new search engine company to compete with its own crawler? Or are Google, Bing, Yandex, and Baidu the only search engine companies big enough to crawl the web effectively?