skysight-inc/HackerNews huggingface dataset:
It doesn't change the behavior of the return keyword, though. It adds a case, but it's an orthogonal case; if you have a function that returns anything, a bare return can only be using the named return values.

My position is that I'm OK with saying "only use this if you need to screw with the return values via defer, and thus, the presence of named return values can be reliably inferred to mean that someone is using defer to change the values", but to say "They're always a bad idea and never use them." is way too strong and dogmatic. They're in the language for a reason, because otherwise errors in defer statements could only be A: ignored or B: panic'ed, which is a far bigger problem in reality than the named return parameters.
>This reads as react fanboyism to me

Why isn't your comment Angular fanboyism?

Full disclosure: I prefer neither.
This is beautiful. I will try to implement this once i'm at home ...
... and non-SPA, full-page-load-driven, jQuery-based web apps dwarf BOTH by an order of magnitude, even in 2017. You're just not going to receive many blog clicks or discussion forum upvotes by pointing that out.

"Won" usually means, "the thing that people most want to read or talk about at the moment".
Nobody is saying anything about quotas or forcing anyone to do things they don't want to do.
I'm not sure I'd agree with initial statement (and by this I literally mean - "I am not sure", its not a figure of speech).

I agree with everything else you said, but the way I see it - when a paradigm cornerstone itself starts getting in the way of code organization, then that's a clear sign that paradigm itself is 'wrong', or more precisely, wrong when applied to this set of problems.

Oooooooh, look at that, I understand now what you meant :-D

Regarding your second paragraph - this is, looking from efficiency standpoint, the best approach. Additional gain is in access control: it becomes flat (ie. module-controlled), rather than having a class hierarchy in between, and then using messy constructs such as interfaces/mixins to achieve both code and type inheritance.
Raise hands if you ever ended up in situation where you have to convert from one type to another, while the actual data they carry are precisely the same. Raise hands if you ever had to pollute an interface or a parent class with extra data, because a subclass somewhere contains exact data needed at the other part of the chain.
This is friction - and it works against the developer/team. The larger the software, the worse it gets; it doesn't have to be that way.

Anyways, regarding last two points - yes, I'm very familiar with parametric polymorphism (it is a sole reason I use C++ for work, over C), and I have than half a decade of Haskell experience behind me. Trying to shift into Rust lately - its easier to find jobs.
Your wording might have been careful but the author did use pi as a variable in his example and discussed wanting the ability to change it. Since you were essentially agreeing with her/his point, it's forgivable if one then assumes you were also agreeing with his example as well. Hence my counterexample (and hence why I opened with "Generally yes" to signify that I don't disagree with your point but the example provided needs tweaking)
Yeah this is an old theme for sure, but Google has screwed up with angular so epicly, it's just surprising from the company that invented so much of the web that they would miss the mark so badly. I think that's why the angular/react discussion is a bit more wild than the old ones of yesteryear.

It's really more interesting from a perspective of institutional blindness/incompetence/arrogance than any real technical discussion.
Yes there are Han Chinese in HK, but the Cantonese, Hakka and Chiu Chow are not ethnic Han people. And languages like Cantonese are closer to Thai than they are to Mandarin. Hakka is very different from Mandarin or Cantonese.
Keep Your Temporary Hacks Temporary with a Shame.cs
>there you (usually) can't choose your identity

The whole premise of identity politics is that you are the sole arbiter of your identity. It's an extension of the post-modern idea that since there is no possible way to favor a given interpretation of the state of the world over another, the only humane course of action is to let the people most immediately concerned by the interpretation set the standard. As such, the individual is given full dominion over his identity.

So no, it's equivalent in this respect.

(N.B.: the post-modernist could reply to my comment with something equivalent to 'that's just like your opinion, man', thereby illustrating why this reasoning gets us nowhere useful)
How do whales and dolphins sleep without drowning?
Why So Many of America's Greatest Brands Are Unhealthy
Sensors definitely increase the acquisition costs, although at least early on there's customers who see them as a benefit they're willing to trade the usual cashback/discounts/etc for, so its not as bad as you might think. We're also looking at ways to reduce the cost of sensors over time.

As for proving that sensors mitigate losses, even in our initial beta period we've seen a couple of potentially large escape of water claims avoided by early detection of a leak, and that's before we start introducing truly preventative measures as opposed to just detection. We're very focused initially on escape of water because those are in fact the largest source of losses in the industry - fire is fairly rare, theft tends to be pretty cheap to handle claims for, but a leaking dishwasher left while someone is at work for the day can easily require replacing everything on the ground floor of a small house.
>A lot of these articles give me this vibe. So what if a competing technology is "bad". What does the author get out of saying "X technology is the best and Y is fail"? Are these guys now thought leaders?

I think it has something to do with signaling expertise, often for purposes of self-branding.
Qim: Select from Your Immutable JavaScript Cake and Update It Symmetrically Too
One of the best guerilla marketing tactics I've seen in a while.
Hands on instruction with good student-teacher ratios for the elite, MOOCs for the poor.

Also, the MOOCs will sell user data and serve ads.
This looks nice & I'll check it out, but at first glance it doesn't seem to be as simple as what I'm looking for:

"For Leiningen users...
Add it to your ~/.lein/profiles.clj:"

I truly want something that's not for "Leningen users" (or "Boot users") but for people who've never heard of any of those things and just need to start learning how to write code (in Clojure).
I prefer the model with Matlab, where you pay once, get a year of updates, and keep the last version.
This isn't necessarily an argument for named return values. It's an argument for declaring your return value up front and even then it's really just an argument for Go to do a better job in the compiler here.

Named return values are one way to declare your return value up front but you could just as easily have had a oi := objectInfo{} line at the top of your function too with the same effect.
Apple marketing chief says reaction to ARKit is unbelievable
25 English, 1 Swedish.

I see no harm in overthinking things considering the subject is rather amusing. I see an axe.
I agree that is the logical consequence. Elm even more so than ClojureScript, imo.
Summary: https://ih1.redbubble.net/image.158316898.2338/flat,800x800,...
Test coverage doesn't make sense to a TDD shop and so they never talk about it. The only code they have not covered by tests are things that cannot be tested at all. They by definition are as close to 100% coverage as you can be.

Test coverage is important in shops that do not do TDD. Such shops are learning the hard way that they need tests to ensure that existing features do not break when they add a new feature. Test coverage is a metric they can use as a proxy for how likely it is that change will break something else (fixing a bug and introducing a new one is a very real problem).
Micromax Evok Note Review: Really Invincible? – SuratNow
Sure, you can't depend on it, but I'd expect most people leave it on the default setting.
Except that the whole value prop of Ethereum was supposed to be that the letter of the law was all, and the system would unconditionally and inviolably enforce it.
Tesla’s Model 3 is coming in July – Here’s everything you need to know
You're absolutely right that it's neither fair nor productive to dismiss any crituque out of hand.

I just found this article to be on dogmatic side of the spectrum. It doesn't seem that the author has enough experience with Angular to back up the negative assertions made about it.

I know it's only anecdotal, but I've seen teams that are simultaneously using both Angular and React happily and productively. When I've talked to people working on those teams, they don't really feel that one is drastically better or more fun to use, and they've found that speed of development and codebase maintainability ar comparable between the two.
It's owned by Vox Populi Registry.
https://icannwiki.org/.sucks
Scott's Cheap Flights: Growing a small side project into a booming business
Actually, the same data indicates that jQuery is around 45% market share as the primary front-end JS tool. That's almost exactly the market share of both Angulars and React combined.

And yes, this represents a steep drop-off in the number of jQuery-centric applications in the past couple of years.

Edit: I thought I had bookmarked the Web site where I saw these numbers, but I couldn't find it before running out the door this morning. Suffice it to say, the JS landscape is changing rapidly, and assumptions that were safe even 12 months ago are not valid today. jQuery is fading quite rapidly, and though it won't disappear any time soon, and, increasingly, it is no longer seen as a good choice for large apps with tons of business logic.
Not really. They just drilled holes (presumably after death) to hang them, like Christmas ornaments. Or maybe they were percussion instruments.
This is one of biggest misnomers when we talk about health insurance. We buy life insurance but don't plan to die once a month. We buy car insurance but don't plan to crash once a month. We buy health insurance and although we don't plan to go to the ER once a month, we may plan on seeing a primary care physician once a month whether for a chronic condition or maintenance or mental health or... Insurance is intended for unexpected things not expected things.

I think the way to fix this is similar to what you said. Primary care should be provided for everyone and the way you drive that cost down is by using more PAs, CRNP/other nurses and having only one actual Dr. for oversight and tougher cases. There are huge system costs that can be removed just by focusing on things like treatment compliance, pre-habilitation, healthy lifestyle, good mental health, etc.
Without a named keyword, a void function can use the return keyword to terminate control flow conditionally. So it's only orthogonal in the case of a function with a typed return value.

Which is fine. I have no problem with it. I'm a Haskell/ Clojure/Erlang/TypeScript/CL developer, so I'm used to this. But golang users beat me over the head with the "simplicity" of Go and use examples of Haskell and Clojure having lexical scopes change common keywords as examples of the "excessive complexity of !Golang".

I'm not asking you to defend an argument you didn't make, but I think Go folks need to own that this is actually a code smell for something that could be done differently a scoped variable.
I'm not sure I was agreeing with his point, since I only consider one of his configurations 'valid', and even then only insofar as Pi is a variable (which it isn't). My original statement holds generally and specifically--pass in the things you may want to vary; don't depend on global mutable state.
> Nouns beginning with Y are not exactly easy to come across

There are a lot of animals on this ball. How about "Yak"?
guide, not control.
My point is simply that none of that should come as a surprise. There is an element of community here, but this forum first and foremost serves a business function - and is moderated accordingly.
Maybe "diluted" is a fitting word.
Define jovial. Define melancholic. It's music. The entire point is to evoke an emotional response. I can't define "warm" but people know what I mean when I say it and that's all that matters.
This is one of the best comments I've ever read on this matter. Please link that blog post when you write it!
I would never give up PDFs, arXiv, audiobooks, and ebooks, but I still heave a collection of physically printed papers and books.

I don't think that using a new technology for most things precludes having physical copies of the pieces of culture you find most important.
You could always declare the method on the Printer type...

https://play.golang.org/p/4MG8kgGEGM
Absolutely agree, I forgot to mention elm.
FYI - They do not own .sucks.
.sucks is owned by Vox Populi Registry

https://icannwiki.org/.sucks
> if you see that your child is not keeping up with his homeworks, etc. would you step in and force him to study, which might save his future, or let him do as he likes and then assume the consequences of his actions?

Homework is almost universally a waste of time[1]. You'd be better off encouraging them to do whatever is interesting, than forcing them to do homework.

[1] http://www.overcomingbias.com/2011/06/only-do-math-homework....
I don't know about your kids, but mine would make some shitty sneakers :-)
Parent-child relationships are more about mentoring and guidance than control. Pure force is almost never an adequate answer to any problems that a child experiences. How on earth can you force someone to study without fundamentally harming him, if he has a bunch of underlying problems that effectively prevent him from learning? No way, it's just a lazy approach and unwillingness to figure out the real problem. Also, there are many things, that you can teach only through personal example and overall context inside a family. Bad websites? If you are spending enough time with your child, teaching by example, family culture and discussion, explaining what is right and wrong, he is very unlikely to develop any interest towards "bad websites". Besides, the idea of blocking all possible sources of negative content is pretty laughable from a certain kid's age. As for the religion example, I have no idea why one should want to teach children any religion apart from maybe some historical and cultural perspective.
That is very true, but from the article I think they're referring to music that people bought, not tape as a storage medium. Having a tape recorder at home is one thing...having your own record lathe for DIY acetates is quite another.

The article says, "Thanks to its compactness, portability and sound quality, it quickly began to surpass the vinyl record in popularity."

People aren't making vinyl records at home, so to compare them to tapes-as-a-medium is somewhat apples to oranges. At least that's how I interpret their wording.
> But why buy vinyl instead of buying CDs?

I download most of the music I consume from torrent communities in FLAC. For those times I am inclined to buy the physical artifact, it is far better to buy the vinyl version as it has full-sized artwork and is more suitable as decoration in my home (google "Hang Up Your Old Vinyl Records!").

Like an enormous number of vinyl purchasers, I don't even own a turntable. I'd never play the vinyl, instead I play FLACs off a Raspberry Pi media center. I imagine most young people buying vinyl these days just listen off YouTube.
ITYM "social democracy". Not at all the same thing.
Happily I see that my pet theory involving yaks is represented in the answers; I can now go back to work.
Probably people trying to come up with different answers for the points.
>Object-Oriented decoupling through dependency injection makes mocking a lot easier (and removes the need for mocking frameworks)

I'm confused by this. In C++, I found that one of the only ways to effectively use mocking was via dependency injection. For us, dependency injection was introduced to enable TDD. That it had other good qualities was a bonus.
The Surprising Realism of Tentacle Suckers Shaders
Pop_OS by System76
Hey saimiam, sure no problems. You can drop me an email at davidkohcw@gmail.com and I'll be happy to answer your questions.
A Kafka topic is more synonymous with a "message queue" and a partition is a division among hardware for parallelism.

So you can have one topic, partitioned to 5 consumers, and each consumer storing the received events. Each consumer will see their own messages in-order, but if you merge the 5 it is not guaranteed to be ordered.

I'd guess this is what RocketMQ means by "scale out gracefully"
The question them becomes, where does that preference come from. The answer to that is what would cause people to think something is warmer. When someone says something is warmer it is due to a few factors. The first is a bump in volume in the frequency range from 280hz to 900hz. The second is a quality that causes sounds to separate or mush together. I think that is due to format resolution or frequency range. I think the second factor is what really separates digital and analog recording. Digital generally does not allow for sounds to mush together it keeps things separated.
How many years experience does somebody need before you will take them seriously?
There is a mention of MQTT support in roadmap section as planned feature.

https://rocketmq.incubator.apache.org/docs/roadmap/
Is that a constant definition of home, or is a greater proportion of condos ignored?
But how good are the results? Has anyone tried this service?
You (and most people in this thread, and discussing this on the Internet) are confusing 2 completely separate concepts.

Fair use is a COPYRIGHT doctrine. It is part of the US copyright law that says, creators of a copyright can enforce their rights against people who misuse their creations, except in certain cases, fair use being one of them. So if Zillow brings a claim under the US Copyright act, McMansion can assert a fair use defense. (https://www.copyright.gov/fair-use/more-info.html)

Zillow's terms of service is a CONTRACT. It is separate from whether Zillow can bring a copyright claim. They could sue for both breach of contract and copyright infringement. Fair use is a legitimate defense for the copyright infringement claim (and I agree would likely be successful). It is NOT a defense for the breach of contract claim. There is no such thing as "TOS overriding fair use" because they are on separate and distinct tracks. ("However, binding agreements such as contracts or licence agreements may take precedence over fair use rights.[21]" - https://en.wikipedia.org/wiki/Fair_use)

As for whether the arbitration cases show that restrictions on use of proprietary images on browsewrap TOS are enforceable, we'll agree to disagree - jury trials are a far more important right (as someone below pointed out) than whether you can use someone's proprietary images for your own purpose. I find it difficult to believe a judge or jury could (fairly) find that there is no 'meeting of the minds' on whether you can take and use any images, website content, code, etc. you feel like from someone's website or online product under a browsewrap license. It's a significantly different issue than whether an arbitration clause can be enforced. I would argue that most people know that 'taking things from other people is bad and not allowed' without requiring prominent notice on a website about it. But this case will be litigated, so we'll never know.
What did you do with your allowance?
Twitter inks live stream deals for Wimbledon, Comic-Con coverage, and more
> So tell me, where are all the drugs being developed by america? I would say the rest of the world is more than pulling it's weight.

Going by where the companies are headquartered is meaningless, because these are all multinational conglomerates. The question is where they procure the funds for their R&D.

As it turns out, not only is 50% of the entire world's medical research actually conducted in the US, but even for research developed outside the US, the US market still serves as the primary driver for the funding, which is pretty easy to see if you bother to dig into their public financial disclosures.
This is my neo-Luddite response to a lot of "there should be an app for that" kind of comments: "Have you tried using a pencil?"

There's lot of reasons to use computers, but there's also a large problem space where it's really hard to beat pencil and paper. They even usually come pre-installed in most offices and homes.
Amazon literally has a patent on drone fleets.
I wasn't really trying to compare photobucket and s3 feature wise anyway, just highlighting that the price is completely out of proportion for the cost to host and distribute those images even with a cloud provider.
JMS is an API (over-simplification, but at it's core it's an API). It doesn't specify a wire protocol
The "guide not control" recommendation needs to account for both the severity of the potential consequences of an action (e.g., playing in traffic on a busy street) and the maturity of the child (e.g., a two-year-old will not be given the option of choosing his own bedtime whereas a 17-year-old may be better able to handle the consequences of less sleep due to staying up late).
You can't control, but you can build respect for your opinions. My parents consistently gave me level headed advice that served me well. When I deviated from their advice and opinions, often I would be unhappy with the outcome, reinforcing the idea that I can trust their advice.

With regards to the homework, my parents set an expected GPA and left me to my devices. I didn't do homework for easy classes, and worked quite a bit on the hard ones.
> /r/golang consensus is against using named values.

/r/golang is a toxic subreddit and I wouldn't take anything said there for face value. Dave Cheney deleted his account there and the go team itself wanted to delete that subreddit. So no, /r/golang represents only /r/golang and certainly not the go community as a whole.

/r/golang favorite pass time is to take some piece of code or a library and humiliate its author(s) publicly for not writing go like /r/golang wants go to be written.
It's because in addition to the reimbursement, hospitals are paid a bonus fee by US taxpayers called a DSH to subsidize the subsidies. This serves to incentivize providers not to drop Medicare/Medicaid patients and also covers up the losses incurred.

More info: https://www.cms.gov/Medicare/Medicare-Fee-for-Service-Paymen...

Good commentary about upcoming changes that endanger these programs: http://www.modernhealthcare.com/article/20170626/NEWS/170629...
I get that they do on the linked page, as they are working through the problem.

What I don't understand is they do it here, with the benefit of having all the information laid out before them.
On the one hand, yes, if you're looking at the API design and the docs from a "clean slate" perspective, then they are clearly not very good. [1]

On the other hand, matplotlib is ridiculously powerful as an embedded plotting library; the limiting factor there is definitely not flexibility, but rather performance, which limits applicability to larger data sets -- you can work around that in many ways, or use something different. (I wrote more than one application-specific OpenGL plot renderer). Performance also limits interactive use, especially on non-desktop devices.

[1] Disclaimer: Very few technical docs I've seen for "modern" software are of convincing quality. Most are poor or don't exist in the first place. Further Disclaimer: I don't know how to do better and write docs I'd consider at best "meh-ok". People able to write technical texts well seem to be incredibly rare (likely an educational gap; besides 08/15 standard English courses I've never seen lectures or courses on technical writing at an university).
Elon Musk starts digging in Southern California, but to where?
I mean they managed to get xylophone.