skysight-inc/HackerNews huggingface dataset:
>I worry this suggests an opposition to inheritance in general. Sharing code through class hierarchy is incredibly useful and common.

This is indeed opposition to inheritance in general, precisely because we tried it, and it doesn’t work great in React apps. React has a strong composition model that does not need inheritance.

https://discuss.reactjs.org/t/best-practices-for-extending-s...

Of course you are free to use inheritance for other purposes. (Or even React components if you insist.) But as the team behind this library, we strongly suggest you to use composition instead of inheritance when defining React components.
It was definitively not intended as an uncivil remark and I do not appreciate your assertion that I engage in uncivil conduct in this forum.
You can file an 83b election with the IRS to avoid this problem, thankfully.
> simultaneously deriding most of your current and former co-workers at other businesses as merely average

I specifically excepted game developers because they're an above-average bunch, but yes, I'm merely relating the facts as I see them. And honestly I think, based on the kind words I've received from many coworkers over the years, that many would actually agree with my appraisal, and would report that I was helpful in teaching them better ways to accomplish things.

>This raises an issue that is just as important as technical prowess: emotional intelligence. I'd personally green light ten or twenty 'inferior' ( by your standards ) developers over 1 technically superior ( again, by your standards ), but arrogant and morale-destroying, primadonna.

I'm assuming for sake of civil discussion that you're not implying that I am the arrogant, morale-destroying prima donna, because that would have been rude and confrontational.

>Sorry, but technical chops aren't everything. Soft skills matter just as much.

Technical chops can get you 10x-100x-infinitely more productivity. I've frequently accomplished things in minutes that other developers have been blocked on for weeks. Extremely poor soft skills can disqualify an otherwise good developer, sure. I'd block the hiring of someone who was excessively arrogant, abrasive, or otherwise a harm to morale.

But many really good developers are actually really polite and helpful in a team setting -- I've worked with multiple developers that fit that description. And good technical chops are much more rare than decent soft skills, so the former is what's grilled most in an interview. The soft skills show through as well, though, and can equally get you disqualified.

It does depend on the domain whether you really need a great developer. Presumably you work in a domain where you can get away with average developers. That's fine, you can get away with paying them less, go for it.

But that attitude is a big part of why most companies' servers seem to get hacked sooner or later. Note that you don't hear about huge security breaches at Amazon revealing tons of private customer data, despite the fact that they likely are the top target for any exploit that could be used against them.

And part of that is, in fact, that they have a higher bar for developers.
iFixit (https://www.ifixit.com) is pretty great for Mac products.
an alternative way of looking at this kerfuffle every time it breaks out is the old Arab proverb, "dogs may bark but the caravan moves on" which I always take to mean, "others can be counted on to criticize, but doers keep doing".

Yes, sometimes there is a dog travelling with the caravan too :)
Putin thinks that his country will be stronger if he suppresses all dissent. But history has shown that, in the long-term, better decisions are usually made if issues are debated out in public.
I know the people in this trial probably have nothing to lose, but I do wish there was a way to recognize them (and others like them in similar trials). There are times when human testing must happen. With civilization-altering possibilities like this, these people are pioneers whether it works or helps us figure out why it doesn't and move the needle forward.
The safety of themselves or others?

Potentially both, but I think either is sufficient argument for reasonable regulation.
> What I'm arguing is that there are too many problems that still need to be solved for them to have a stage 4 autonomous vehicle.

Oh, I would agree with you there as well.

> I agree that Tesla took the wrong approach, I was just commenting that I would be amazed if Volvo was that many years ahead of everybody else.

I think that's where we were differing. I think Volvo is many years ahead of Tesla only because Volvo is using the state of the art in driverless tech. Other rivals like Google, BMW, and VW are doing the same. On the other hand, Tesla is choosing to use technology the robotics field had proven to be ineffective over 10 years ago.
Three of those were people directly and clearly threatening to kill a police officer. A fourth one was saying she'd kill a police officer if she was pulled over, and got a "disorderly conduct" charge which may very well get thrown out. She was arrested and immediately released.

Freedom of speech is working fine aside from NSLs.
An Atlas of Fantasy
Anyone remember NetMeeting? It had amazing features in 1997, including screen sharing. Then Microsoft killed it.

Cross platform FaceTime / iMessage will be THE killer app.

Skype could've been it but Microsoft destroyed it.

Surprised Google hasn't been able to do it yet.

Hope WhatsApp doesn't win this space (shudder).

The clock is ticking.
Why should people who live further north have to subsidise those in more southern sunnier climate and are more likely to get skin cancer? Why should I as a non-rock climber subsidise those that do? Why should those without children subsidise those who do? Why should those in walkable cities subsidise those who drive more in less walkable ones? Why should those who have taken a vow of abstinence subsidise those who haven't? For virtually everyone there are always some discretionary choices they make that increase their health risks.

There is a fix, but it involves government taking a big picture view. Stop subsidising bad food, and ensure people have as good access to "good" food as they do to bad. Provide youth centres and similar community access to places where people can get into the habit of exercise. Examine transit and see how to get people to spend less time sitting in cars. See what can be done about improving the quality and happiness of all citizen's lives. All of this isn't instant or a magic wand, but is something that can collectively help a lot over time.
What a cunt you are
And a day before he probably complained about the sensory overload in cities or people reading while walking.

Headphones are perfect for entertainment while commuting.
I am not in "Fintech", but I may be able to help with some background in solution architecture.

A pattern that applies to most industries is Service-oriented Architecture (SOA) -- Where each layer (presentation, logic, data) is independent of each other.

This allow for fantastic scalability and granular debugging.
I think the smaller percentage is very time specific thing. What today looks like small percentage, over the period of time won't be the same. Need to think beyond the current scenario. As push for coding, awareness around tech growing, the future force won't be same.
I've never seen a robust study, but I'd love to! I've seen a lot of anecdata and quasi-scientific experimentation, but most of those seem to be fatally flawed or have a pretty obvious bias at the offset. Hence, my couched language :-)
"Guccifer 2.0, the hacker who breached the Democratic National Committee, has released a cache of purported DNC documents to The Hill in an effort to refocus attention on the hack."

Once again, this hacker, whoever he is, confirms that he wants nothing more than notoriety. He seems quite immature and I think that going to jail would probably validate his ego.
> Make two of everything, then kill one a few years later, and make another.

This may be a consequence of their sometimes-reported strategy of having two separate internal teams, as a way to try and get the benefits of competition within their company. But I agree, it leads to a mess that could be handled a lot better.
It turns out that (outside of FB employees), Instagram 2FA is only enabled for users with more than 1,000 followers. So, if you don't have more than 1,000 followers, they don't care if your account is hacked.
What's wrong with deep learning? (2015) [pdf]
More likely than one might want to think.

A car traveling the same direction swerves into your lane, crowding you off the road.

Does your self-driving car allow the collision and push the offending car back in order to hold your lane? Or does it avoid the collision and run you off the road?

(As a person who drives in the mountains, this could have deadly results. If you live in the plains of Kansas, maybe not so much.)
The problem is that the US also have those and so Europe is still lacking.

It's a pretty big problem that none of the large tech companies wether social media, search, robotics and so on are built in Europe.
I'm a lawyer. This isn't what I do (I work in tech), but it's very interesting to me from a regulatory perspective.

Renting a house that you don't and never live in isn't illegal, and I think it would be very hard/impossible to do that. You'd be butting up against some very fundamental property rights. If a jurisdiction requires a license, that's fine to require, but you probably couldn't deny one on the basis of AirBNB.

Listing it on AirBNB in and of itself really can't be prohibited. I think you'd have a First Amendment issue. It'd be commercial speech, which has a little less protection, but I can't imagine that going smoothly if you tried to clamp down on how a homeowner (or landlord) advertises his or her property.

This is the reason that the attempts you see now to regulate are based on short term duration. So far, regulating the duration of a stay and saying less than that is a hotel seems to be okay.

Enforcing it would be brutal. To start, who enforces it? And since it's local, what amount of your limited resources should you devote?
I personally have at least a 10x productivity advantage over an "average" dev on some tasks, so I guess I'm a leprechaun?

The canonical reference is here: https://en.wikipedia.org/wiki/The_Mythical_Man-Month#The_sur...
Since Roger and Nick knew about the allegations and (in the opinion of some) turned a blind eye to them, Shari may have wanted to to articulate some sort of sea change.

But they probably also knew (from a look at their commit logs, it's pretty obvious) that the technical work could not continue without them. So it strikes me as a pragmatic compromise.
MBProgressHUD? Really? It's not that hard to write your own progress indicator.
>I had an impression, that React community (not the authors) considers Redux as an best-practice.

A part of React community, yes. Another part, no. Guess which part is vocal because they can write tutorials, examples, articles that generate clicks? ;-) I am as guilty of this as anyone of course, if not the most.

Obviously React has some deficiencies addressed by Redux. So does Redux have deficiencies addressed by React. Eventually some of the ideas from Redux might make it back into React.

However I suggest learning to build apps with React itself first before using more radical approaches like Redux. You’ll benefit immensely from knowing both ways. I would not necessarily put trust into articles saying “X is the best practice” or “Y is an inferior paradigm”. I would, however, listen to somebody who says “we tried X and Y, and here’s what worked best for us and why”.

>My first post was a little bit exaggerated view on where is this whole React-based website developement (including Redux and other libraries and tools) going, not only the React itself.

Ah okay, sorry then! These are both interesting, albeit different directions. I think it’s easy to misunderstand them as an “evolution” whereas it’s really a “fork” (in the traditional, non-technical sense). These are two separate ways, and both lead to interesting but different things.
9 percent of 17 billion is 1.53 billion of which 1% is 15.3 million. Unless people are spending 10% of their revenue on engine, which is absurd.
Fukushima – Images by Rebecca Lilith Bathory
DVB-T copes very badly with a moving receiver, unfortunately.
Your snark and arrogance aren't helping your case here.

It's fairly obvious you have no frame of reference to judge the people that elected this president, for better or for worse, and what conditions have led them to such measures.

You'd be surprised what thoughts enter your mind when you live in conditions with constant danger and stark prospects. But you'd have to have experienced it, which you obviously haven't.
> You say that, but there are currently many, many cities trying to get Airbnb to deal with their illegal apartments

Why should AirBnB want to help jurisdictions that are trying to shut it down completely under the guise of "illegal apartments/hotels"? It's an entirely different matter to help keep the residents of AirBnB rentals behaving well and not disturbing their neighbors, which seems completely reasonable.

> there's a difference between having stable neighbors who take care of the neighborhood

There's no guarantee that "stable" neighbors care either, and "take care of the neighborhood" would need to be a lot more precise to be either enforceable or appropriate. There's a reason we specifically looked for a house without a "neighborhood association", and several people I know who currently have such associations would like to get out from under them. Banning AirBnB does sound consistent with neighborhood-association-style politics, though.

Saying you want to regulate tenancy duration rather than behavior seems a lot like choosing to reject browsers based on User-Agent rather than doing feature detection. All tenants should behave well regardless of tenancy duration; any well-behaved neighbor should be equivalently fine regardless of tenancy duration.

> If you have kids, it's an even bigger risk.

"Think of the children!" does not increase the weight of your argument. You're talking very nebulously about risk. The previous comments were specifically complaining about things like noise and late-night parties.
Health insurance is different from most other forms of insurance, though - auto insurance, for example, doesn't pay for oil changes to mitigate the risk of expense of future liability claims.
Why even bother to write your own though if theres a good solution available
> Merged conversations are a feature that's immensely useful for users

Google's own information on customer response and usage disagrees: "Merged conversations used to let you see your Hangouts messages and text messages in the same conversation. We have decided to remove it, because it caused user confusion and had low usage." [0]

[0] https://support.google.com/hangouts/answer/6005073?hl=en
> You're no better than the Catholic Church.

Now there is an ad-hominem attack.

It was my comment you accused, and so I'm completely biased, but I did critique the content. I critiqued the stated premise of the argument, which is in fact part of the content. I did not critique the tone above, but I will now.

"Diatonic harmony moves in two directions:
Horizontal and Vertical."
Really?! They both look pretty diagonal to me.
Oh, but it's Diatonic! That sounds Latin so I
guess these people are smart.

That is not a scientific argument, nor something that a competent scientist would ever put in a paper. That single line alone would get this "paper" rejected from most peer-review journals.

That argument accuses music theorists of using Latin to try to sound smart, when in fact the music theory terms originated in Latin. Western music theory predates almost the entirety of physics, which is why we have terms in music theory that sound old, and part of the reason the author of this paper doesn't feel comfortable with them.

This one line is evidence that the author does not understand music theory. He is using abrasive and confrontational language to attempt to discredit music theory, when he's actually provably demonstrating his ignorance.

FWIW, I gave you up-votes for both of your comments for engaging, but I disagree with you and think you're also demonstrating a misunderstanding of science.

This whole paper would be so much better if it just said "Hey, let's look at harmonic relationships through the looking glass of physics." This paper has value, I actually like what it's presenting. But trying to disprove music theory, or suggest that an art can be explained by science, well, that's just peeing into the wind.
Show HN: Pan and zoom control for WPF and Avalonia
The session was called "R at Microsoft", not "How Microsoft uses R". You just had the wrong expectations.
This is a setback, but I hope there's eventually some progress. In addition to being consumer friendly, I wonder how much stuff this would keep out of the landfill because the local shop charges $250 to repair vs $500 from the manufacturer or whatever.
Thanks, I wasn't familiar with many of these projects. I'm still not sure whether all this output justifies the staff, or whether they're over-engineering the hell out of a microblogging service.
you were not speaking about interfaces, you were speaking about composition.
As I said composition and inheritance are two completely different concepts.
And I'm not making up the definitions, is a and has a are very well known concepts in computer science.
You can argue ad libitum, but this doesn't change the definition.
https://en.m.wikipedia.org/wiki/Has-a
https://en.m.wikipedia.org/wiki/Is-a
Hyperuniformity Found In Birds, Math And Physics
I've read somewhere that so far the experiments for having asm.js polyfill webassembly isn't looking too promising anymore. I could be wrong though.
I'm glad you enjoyed it but I personally found it obnoxious and irritating. I'd far prefer straight ahead, simple, factual release notes.
>My personal experience does not support this.

Mine does. Sometimes all the work done by a new developer ends up needing to be ripped out and redone. I've had that happen to me in the last year (a developer with high credentials and who answered the questions well!), and I just had a friend show me a developer who would copy-and-paste code from StackOverflow into different places until the result was what he wanted -- leaving all of the other references because he didn't really understand WTF he was doing.

>10x difference between great and terrible developers

It's 10x between great and average. The studies were done on actively employed developers at large companies, and also showed the 10x developers produced more easily readable code that was better optimized.

>Citation needed.
[1]

[1] https://en.wikipedia.org/wiki/The_Mythical_Man-Month#The_sur...
The Internet of Stupid Things
Object-oriented Design in Ruby/Rails
In a discussion about design and ruby/rails apps, a statement has been brought up as a counter argument against the use of trailblazer, DDD techniques and Rails (best/standard) practices to tame complexity. And that is that "[...] there are cases where 300+ lines of a Ruby class are the right thing". Just to be clear, these 300 lines are pure LoC, no comments or line breaks (I already subtracted those away).

I cannot believe that's even close to true, but nevertheless I would like to know the opinion of the Ruby/Rails community. Can you really think of such (valid) use cases and or did you even come across those (apart from anti-pattern use cases)?
It could be ported to ARM systems running EFI with some effort, if someone wanted to do so. It wouldn't make much sense to port to a completely different BIOS architecture such as those on PowerPC, though.
Perhaps you can shed some light on how you lived to be almost 350?

Do you exercise or is it purely genetic?
Blog post featuring a few of the maps featured in the atlas here:

http://basementgeographer.com/an-atlas-of-fantasy/
I can't wait until the first time I have to maintain something someone compiled into this monstrosity. The minimal performance gains will be so worth destroying the debuggable web.

Sorry for the snark, but watching this slow-motion trainwreck plow into the Open Web that I love is excruciating.

Pre-edit to respond to the inevitable "But you already can't read and debug minified JS": yeah, you actually can if you're good enough. I do it all the time... my complaint is that the bar for "good enough" is being moved from "can read and debug scripting language" to "can read and debug Assembly"... which I know you can do, but geez. I guess what I'm saying is the Open Web should only run on (reasonably) readable languages. Hate JS? Stand in line, but if you want to replace it on the web, replace it with something a normal person could interpret without a compiler.
> From this point of view, the trolley is headed towards one man and you have a switch in hand to kill 5 people instead.

Fair enough. Like your analogy.
Cool post but I'll play devil's advocate and ask what's so idiomatic about this. Can someone comment if this is what most the community is going? Not blaming the author at all, but skeptical of anything called "idiomatic" nowadays.
Show HN: Natural Language Processing and Machine Learning via Free REST API
AFAIK, this sort of stacked die thing has barely started to reach actual commercial products. It's been an idea for a long time, but quite hard to get right. Anyway, it's no different than another IC of considerable complexity -- obviously there's no ability for an end user to repair what's inside it.
What's wrong with Skype? UI is mostly OK, but audio and video calls work fine, especially on desktop/laptop.
Thank you but this is more of a "theoretical" answer and you don't really define what you mean by "logic" layer and how you implement it. Can you maybe give an example of a business rule (in finance) and where exactly will you implement it?
It does not cost $400 dollars a night to rent a hotel room in New York.

I just checked a perfectly decent hotel on Boradway I stayed at a few years ago, a week in August for $158.88 a night.
You're still missing it. The police's job is to enforce the laws passed by Congress or local governments. Those laws in theory are to protect the public or their interests. In reality, there are often bribes (eg big pharma or oil), politics (gay marriage), or just evil (slavery). Enforcing these laws harms the many for the selfish gain/purposes of a few. They'll enforce them anyway.

Later on, someone tries go push against that leaning on the theory that they're responsible for our safety. Supreme Court gets extra clear that they're not. That's while they continue to let laws from bribes stand. Little room for debate now. Also, anyone pushed into confessions using cops and prosecutor's legal right to lie about the evidence already knows system isnt about protecting people. That shit wouldnt exist if it was.

So no, they're neither intended to nor required to "serve and protect." They're instead enforcers of arbitrary laws that can protect or harm individual citizens. From there, individual departments or prosecutors might have policies (as some do) to treat community with respect while focusing activities on reducing actual harms. However, that's entirely voluntary.
Agreed, but that's because they're actually selling cars. Most people don't realize a single sensor can cost $20,000 - now imagine you have 10 of them. That's an order of magnitude more expensive than the car.

I'm not trying to play devil's advocate, just pointing out that it's a fiendishly difficult problem. I like what Tesla did, I just dislike how they handled the PR.

Likewise I like what Volvo is doing, and I'm curious how they're going to price it.
Don’t Miss LivenUp – An Online Entrepreneurship Festival on 7/15