skysight-inc/HackerNews huggingface dataset:
> Do you believe that an employer should only fire someone for things that are illegal? If yes, why, if no, how can we rely on the legal system if they are being fired for things that aren't illegal?

They can fire an employee for any reason they want to in an "at will" state, so your question isn't cogent to begin with. Whether or not it should be done is contextual and I can't answer in the abstract. The way you frame your question here is designed to be a rhetorical trap though, and I don't appreciate that.

> Do you believe that this innocent until proven guilty legally applies even if other employees are leaving as a result of their conduct? Say a manager whose reports seem to quit very quickly complaining about sexual harassment. When does the company have the right to fire the troublemaker? One employee that quits? 5? 10?

Remember, I'm discussing ethics not laws here. Yes, I believe that "innocent until proven guilty" is a good ethical stance almost always. Your hypothetical isn't cogent here. Decisions must be contextual and your contrived example lacks context is is constructed so as to advance your (poorly concealed) agenda. Another rhetorical trap. I expect good faith discussion here and you're demonstrating bad faith.

> Should a company be liable for actions that its employees take on its premises during the working day? That is, if I complain about a coworker, and then am forced to continue working with them, and then am hurt (we'll say physically to make this simpler), should I be able to sue the company for forcing me to continue working with that person despite my complaint?

Liability is a matter of the civic code and is a legal question, and remember, we're discussing ethics not law. Your contrived example here is once again lacking context so it is unanswerable as presented and yet another example of you attempting a rhetorical trap.

> Related to the prior two, but broader: at what point does the economic effect on the company outweigh their moral duty to protect employees accused of misconduct? Keep in mind that a company has a duty to shareholders as well as to its other employees. I hope you don't think that a company should be willing to go under to continue employing a single employee, no matter their alleged misconduct.

"I hope you don't think". Your constructions here are insulting to me. Nothing but leading questions, contrived examples, begging the question and other rhetorical tricks. If you have a position of your own you should state it directly and not assume I will be tricked or trapped by you.

> company has a moral duty to protect employees from firing based on implication. Does it also have a moral duty to protect employees from harassment?

yes to both. an implication of harassment should result in a fair process to determine the truth bounded by the context of the situation and the interests of all the involved parties. FAIR PROCESS is the key portion of the last sentence. My objections have always been to UNFAIR PROCESSES and are not a defense of harassment.
The issue I think is that battery packs are designed as stressed members of the unibody to save space and weight, so they can't be made universal without compromising on capacity and weight. With frequent replacement you'd run into problems with fasteners and threads and liability issues in case of incorrect assembly.
I don't know the internal details but that sort of abuse of the key attribute seems like a dangerous thing to rely on.

I'll assume your key is quick to calculate. If a prop change causes the hash / key to change then react doesn't know how to reuse the dom fragment. I guess it will just reuse the stuff that's in the same location in that case so maybe it's fine. You'll lose the advantage that keys give you in the first case which is dealing with reordering.

And actually, just because the key changes or not, that doesn't cause a rerender or not. The rerender is always going to happen. Right? Unless I'm missing something.
No, not really. Drugs aren't inherently meaningful, they mask needs that aren't being met, hiding pain or sadness temporarily. They don't meet the underlying need.
Well, there's always Tesla.

All the more reason to consider EVs a moral good.
I love the motivation, but this is way too generic - I don't see anything that distinguishes it, for this use case or honestly for any other, from any other JS application framework I might choose, and there are a lot of other ones out there that are much more thoroughly baked than this one. (Another way to say this might be "it's a good idea, but I want to see a finished version of it before seriously considering helping out.")

Sorry to be that guy, and I know it's not a nice thing to hear. But I'd hate to see you burn a ton of time on something that's born under the cloud of "there are a million other ones just like it and no reason anyone can see why this one is worth investing effort into". I'd rather see you take all that effort and skill, find a project that's already got some momentum behind it, and get behind that and push - everybody saying "I'll build my own!" is half the reason we've got where we are in the first place.

On the other hand, maybe your framework has a genuine USP that I'm just not seeing. In that case, you'll have an easier time getting interest if you find a way to surface that, front and center, so that even the most disinterested professional engineer who's skimming HN by way of procrastination before the next code review can't help but see it.

Either way, hope this helps, and good luck in your future endeavors!
That's the assessment detention. After that there's a possibility of further detention for treatment.

> a petition for involuntary inpatient placement (what some call civil commitment),
Google made a $5000 whiteboard – and it's weirdly fun
AFAIK none of the Japanese companies have messed around with emissions laws, and obviously Tesla wouldn't even need to.
I'd have a contrary view which is that yes you DO want your engineers to understand dev and ops (and sec and change etc etc) and actively be able to own a service through its lifecycle.

Those engineers might have different focuses; so maybe building a data store, or an api, or a Jenkins system, or an artefact store....

If you leave your cicd tooling and toolchains to a team then you create a dependency, and for me a key part of devops is reducing dependencies.

The suggestion in your post is that by blurring the traditional roles you make those people less productive. And therefore the solution is to create a new role.

That's fine: but that's the old thinking (IMO) hanging around. The original intent of devops would definitely run counter to that :)
Alan suffered a pretty major injury to his leg a few months ago, it's unclear if he will be able to climb mountains again, but we all are pretty sure he will find a way.

http://www.alanarnette.com/blog/2017/05/05/broken-leg-update...
Efficient DOM manipulation is their thing.

But that sentence is talking about VirtualDOM rendering - which still takes time - not DOM manipulation.

Basically it's saying "if we don't need to do work, we shouldn't". Which React already does for DOM manipulation and this kind of optimization does it for virtualDOM creation.
Tesla actually had a pilot battery swap station, usable by regular Tesla Model S drivers (by invite only). They shut it down, though.

http://www.teslarati.com/tesla-shuts-down-battery-swap-progr...
Writing new versions of old arcade games, very cool!!

Out of interest, have you played with Cannonball before? It's an improved Outrun engine:

https://github.com/djyt/cannonball/wiki

https://www.youtube.com/watch?v=bV9BZbk7C-E

There's a port for Vampire-enhanced Amigas, so any new content could find its way onto an Amiga too. ;-)

https://www.youtube.com/watch?v=8yVqB13EtZg
Devuan Jessie 1.0.0 stable LTS
> My point is that IMO twitter was the most useless of all the mainstream social networks

I Twitter is the most honest social network. Everything is public, the end. Unlike Facebook's "privacy" settings.
Nothing has been proven yet, so you might want to put the torches and pitchforks away for just a few moments.
OK: I was hoping it was going to be something to do with the design of the language as opposed to just to do with the implementation (as any of those languages could have been deployed for the web; especially so given my vague understanding that the web wasn't even Java's most original purpose). (Though I guess I can make up some reasons related to security models that would have been weirder to do in Self or TCL.)
It might be higher value to submit a github issue: https://github.com/w3c/activitypub/issues?utf8=&q=is%3Aissue...
Well, last I remember Telsa violates the GPL
Would using mobx to manage state solve most of these problems?
That means that GM is no better than Volkswagen. It doesn't mean that they're good, though. What they did is still just as wrong, no matter how many other companies did it too.
Only if you did that in the render function.

If you did this.foo = this.foo.bind(this, props.bar) in the constructor then it would be the same function each time.
I'd suggest this article as a better libertarian treatment of market failure:

"Market Failure: An Argument for and Against Government"

http://www.daviddfriedman.com/Machinery_3d_Edition/Market%20...

David Friedman doesn't deny that market failures exist, but he points out that the exact same economic phenomenon happens with government, and there's no inherent reason why government is more or less susceptible to it than markets.
Yeah, but surely selling those parts to consumers/shops (or just forcing them to come into authorized service centers) has some economic benefit they'd be loath to give up.
Lots of good advice already:

- Let it all out to a psychologist (definitely this)

- Take a holiday somewhere sunny and not too crowded (definitely this)

- And most definitely this, your new job: how you can delegate your work as much as possible, AND how best to upskill your new "minions"

Hang in there, OP :)

Edit to add: don't forget to talk to your wife about your real state!
You are out of your freakin mind. Just shut up, stop complaining, and get bought out. You can RETIRE and do what you want to after you work at your acquired company for two years.

#1PercentProblems
Facebook Latest Conversations: Valuable to Social Media Marketers?
That's a big presumption isn't it?

It was accepted wisdom that you had to pick individual stocks until Vanguard popularized the index fund and now it's accepted wisdom to do the opposite.
Is your entire comment supposed to be sarcastic (/s), or just the last sentence?
Analyst Mindset (“Live” data analysis video.)
The argument for mandatory vaccines is that herd immunity protects everyone; if you allow a small population of a disease to survive it will mutate and new vaccines will be needed for everyone else.

Wouldn't no vaccines be the most profitable for medical companies since many more people would then require constant treatment?
You've cherry picked to say "worthless projects" vs. "exhilarating open source", yet someone could easily cherry pick "world changing projects" vs. "pointless open source." There is no more nobility, in my opinion, in another food delivery hackathon app vs. another 1 of 100 JavaScript frameworks that people don't need.
It's the quintessential Computer Science way to decide. "Which algorithm has lower complexity? Nudity filter? Ok, use that one."

This is why it's very frustrating that any equivalent of "the public square" on the internet is almost always owned by a private entity.
> 2. There is a clear difference in tooling requirements between popping in a shiny 14.4k model (90s era, after all) and swapping out a piece of drive train.

You'd be surprised at how easy it is to swap out weird and wonderful drivetrain parts [0]. People put water-cooled drivetrains into vehicles that were originally air-cooled. People put GM V8s into foreign cars that only ever had small V6s or inline 6s.

There's a burgeoning industry in creating swap kits for putting EV drivetrains into cars as well [1]. It's mostly settling on standardized components.

[0] http://www.engineswapdepot.com/
[1] http://www.evwest.com/catalog/index.php?cPath=40
My suffering is greater than your suffering. I am holier than thou.
True. Not too much can be done either way.
Experiment: Dig dinosaur fossils for a week in Bighorn Basin
Prototyping with Sketch and Principle (Tutorial)
I used the stdlib one, just straight "import csv"
Could be observing effect rather than cause. People that are very good at <whatever> get a lot of business. Which cuts into the time you have to be accommodating.
Mitsubishi cheated on fuel efficiency tests.

http://money.cnn.com/2016/04/26/news/companies/mitsubishi-ch...:

> The automaker said last week that it had used improper fuel economy tests on hundreds of thousands of vehicles, including some sold to Nissan
I'm going through this change right now.

Some words of hard earned "wisdom": make sure the pendulum doesn't swing too far out in the other direction.

I went from being an accommodating person to an intense asshole - trying to dial it back now but it's hard, especially when you notice that people definitely respect you more for good or bad reasons when you're like that. Take it too far though, and it will of course go all the way around and bite you in the ass.
Yeah my comment was more of a general reflexion on the state of things.
So now we can't castigate lawbreakers until we can prove someone actually adheres to the law?
When I played Marco Polo as a kid, I would cheat. When I was “it”, I’d yell out “Marco!” like you’re supposed to, but I also opened my eyes underwater a little bit to see where the other kids were.

One day a friend brought over special goggles. They were covered in black vinyl to block your vision completely. That day we all found out that every one of us cheated the same way. When playing with the new goggles, suddenly it was: “this game sucks” and: “let’s do something else”.

It was eye-opening (sorry).

Cheating on emissions tests strikes me the same way. “All the other car companies seem to be meeting their targets, how can we keep up?”

Well, it turns out that to be as good as the other players, you have to cheat just like they do.
I now receive a block of IPv6 from Comcast. I allow the router to assign them to devices on the network, but I admit that I am somewhat worried that my local PC is no longer isolated from the Internet by a private IP.
For a Good Strftime: Easy Skeezy Date/Time Formatting
Interactive heatmap for your Git repos
Sounds like vaporware to me, also they didn't do too much research about their name, because this is the hyrax I deal with day to day: http://docs.opendap.org/index.php/Hyrax
To summarize the entirety of the lesson: Sometimes saying "no" is better than saying "yes". By saying "no" you give time otherwise wasted to things that are beneficial to yourself. When and how you decide to say "no" should be based on whether the person that is requesting is perfectly capable of doing the task themselves according to the nature of the article.
I've seen monoliths running on 10 year old technology using runtimes and development kits that have been deprecated or are no longer supported by their maintainers. These applications are being used in production today by billion dollar companies. With microservices this never has to be the case. I think it's madness for a company to be running old software with security vulnerabilities and performance liabilities because no one wants to touch what's basically a digital Jenga tower. Then you have people writing articles like this one. I think we're beyond fads and buzzwords here. There are real world advantages for building software this way. If you're afraid to embrace the future, please step aside. You're making my job far more difficult than it should be. These are my observations as a 40 year old developer.
How do function(al?) components compare in performance to PureComponents?

e.g.,

const MyComponent = props => (...);

vs

class MyComponent extends PureComponent {...}
In the olden days before it became fashionable to outsource everything to "specialist" the sysadmin team often had full product ownership.
It wasn't really a new concept with the IBM PC. (Though it certainly was for IBM.) To greater or lesser degrees, a lot of the early PCs such as S-100 bus systems were largely built up using boards and peripherals from various manufacturers. For one thing, these were mostly hobbyist systems, which implied the buyers wanted to tinker (and were also relatively price-sensitive).

This was in contrast to minicomputers and other similar systems (and mainframes of course), where the manufacturers pretty much designed and built everything (including the OS) and made it as difficult as possible for third-parties to play.

The IBM PC was a new design so third-parties had to redesign products for it in some cases but it wasn't some sort of never-been-seen-before approach.
This is a good but incomplete summary.

1) the project before was called Hydra, but couldn't use the name anymore because of prior art

1.2) hyrax is a frontend for hyku which is basically a split of Hydra into 2 projects

2) the whole thing stores everything in fedora (fcrepo4/fedora commons 4) which is basically a data/key storage that calls itself repository

2.1) it is used to store the data with the according "metadata"

3) the idea behind hyrax is for scientists to work on their research and collaborate with other scientists

3.1) that is why the project was called Hydra because every researcher could work on their own "head" and the heads could collaborate with each other

3.2) the hyrax project now supports multi tenancy so that multiple people can work on it simultaneously

4) after the research is done the whole thing can be published with backlight

This project is a collaboration of multiple universities and entered beta on the third of may to collaborate on the testing/documentation

Disclaimer: I'm not associated with this project, but setup a test system for the university I work at.

PS yes this is all pretty confusing and hard to work with, but a worthwhile cooperation
Overachieving Ivy-League Grads and “Success”
Old submission with more comments here:

https://news.ycombinator.com/item?id=4969041
Hagens Berman’s automotive legal team has dedicated substantial resources to uncovering cheating devices used by automakers.

Seems like a conflict of interest to me.
Actually, this is a real issue. For one, there is the Wayback Machine, which could very well see increased usage and mindshare as legally mandated content takedowns increase. For another, if, say, Facebook wanted to harvest data from this network to create shadow profiles and flesh out missing patterns in their analytics, then they could easily follow everything, keep the raw data/content internal, and never develop the ability to retroactively un-analyze that data when a delete request comes in.
Ask HN: How did Readdle implement their drag and drop solution on the iPad?
Why can't anyone else do this? What's going on under the hood?

Here is a link for reference.
https://blog.readdle.com/drag-drop-between-readdle-apps-fd079c756b23
Swipe right with your hoof.
Assuming your "deleteDataAt" function is a Redux action creator that dispatches an action to delete the list item -- if this is the case, then continue passing that action creator as a prop to the child, and since you've also passed down the index, the child can simply apply that action creator as the event listener. Eg. in the code snippet you've provided, I would have just done:

return (
<Data
value={d}
index={i}
deleteDataAt={deleteDataAt}
/>
);

Then your onClick in the child would be:
onClick = (_e) => this.props.deleteDataAt(this.props.index);

Correct me if I'm missing anything!
There's a great 5 minute clip of the clinical psychologist and professor Dr. Jordan B. Peterson talking about the dangers of being too agreeable:

https://www.youtube.com/watch?v=XVMvQhxN_M8
No, because it isn't really talking about the actual IBM PC (which was decidedly not a cheap commodity or modular to any real degree), but the PC clones of the 1990s which were.

Although to argue with the article, while cheap and modular PCs were great for the consumer, they weren't great for the producers, ultimately leading to IBM itself exiting the PC market due to low margins. So I doubt Tesla et al, want to go down that route.
I have a friend who's doing some research there after he did his Masters. He speaks Spanish though, which I'm open to learning. Do you know any companies that might be hiring, or any job portal?
The Finnish "Open Dialogue" approach is an interesting alternative. It's more about family and community integrated treatment than residential commitment. Recommended search: https://www.google.com/search?q=finland+open+dialogue
It wasn't the first modular computer. The big thing with the IBM PC is that IBM didn't manage to have a single significant component that they licensed exclusively; the most obvious culprit for this was DOS, which they licensed from Microsoft. Other companies at the time had OSes they controlled the distribution of. But Microsoft was able and very willing to sell any company the rights to distribute DOS.
Except it isn't really a government giving money to itself, it's the banks.

When and if the enterprises default, the banks will go under. This means that Chinese people will lose money (or the government will try to be fiscally prudent to recover money lost in bad investments, which will mean that Chinese people will lose money).

Money owed by a government owned bank to a government owned enterprise is a real debt, which if defaulted upon will have a lot of real effects.
This is the worst of the technological glibness from "car guys."

Modern cars are incredibly sophisticated devices with many different computer systems running a lot of code. They all run real time OSes, which are quite distinct from an operating system like Windows. They have to do their functions correctly 100% of the time. Now cars are getting tons and tons of sensors. RADAR, LIDAR, visual cameras, etc., all running sophisticated algorithms.

There are massive safety reasons (not just to yourself, but to your fellow man) to not tinkering with these systems.

I know a lot of car guys lament that it's harder to work on a car today, but your average consumer is delighted by this. Cars are much more reliable today than they were before. Most people don't want the freedom to work on a car that constantly needs to be worked on because it is always breaking. They want something that is reliable and with minimal maintenance just works every single day.

Cars are also much safer, with much more robust safety technology. I'm a fan of Jalopnik, and I like to stay up on the latest in car technology, but my interest is from an average user standpoint.

Electric cars with self-driving technology is really exciting. I'm excited for this future. I'm going to support it. I don't need a car to tinker with for my everyday needs, nor do the vast majority of people. If I want a car to tinker with, I'll get a project car for track use.
You are not their target market.
How to Manage TLS Certificates for 1,000+ Domains
D3 and streaming data: Streamlined3
I don't know how true it is, because I'm not traveled, but I've always heard the French being labeled "aloof/lazy." The French author says he eventually got caught up in [The US'] overachieving culture. It never occurred to me that Americans would be perceived that way... Are Americans labeled "overachievers" abroad?
Striking similarity to Sun Tzu's advice: know enemy, and know youself. There's a special emphasis in "The Art of War" that you can't win, even in full strength, if the enemy doesn't expose some weakness. Here Marc rehashes this very idea, that your preparation isn't enough. Instead, to meet enemy's weakness is critical.
This ancient idea doesn't require any exceptional intelligence to understand.
The hard part is actually discern this weakness, or market.