Live data from Hacker News

DeepBreath: Preventing angry emails with machine learning

cloud.google.com

61–70 of 84 posts

Re: DeepBreath: Preventing angry emails with machine learning

#61
post #22

Earlier quoted context omitted.

The law has everything to do with robots and how they will integrate with society, like it or not.

Right, which is exactly my point.... the law is the thing to worry about, not the robots.

Why not both?

Re: DeepBreath: Preventing angry emails with machine learning

#62
Unless Im slow I spend time going through it, includign pricing page, and I still did not get answer to 2 questions

1) Can I run it out of Google Gmail GUI? I want to send curl in PHP with my key and sentence and get result.

2) So how much will I be charged?

Re: DeepBreath: Preventing angry emails with machine learning

#63
post #54
post #48

Earlier quoted context omitted.

The original comment is meant as an observation rather than an attack. It's great to see the author of the post use gmail.js to quickly get the sentiment analysis working with 30 lines of code. The library was a fun side project and has been used by many companies (big and small) over the past few years. Its always nice to see someone make a cool extension on top of gmail. Here is another one that came out a while ag…

Thanks for the library! It's super awesome, useful, and easy to use. And yes, it made writing this ridiculously simple, it's borderline embarrassing how little code I wrote, but that was also part of what made it neat to me. This was just a "let's spend a few hours playing with the Natural Language API" hack day type thing. Robbie's comment perfectly explains the context behind it. Google search pointed me to your li…

^ waprin is the author of the blog post

Re: DeepBreath: Preventing angry emails with machine learning

#64
post #18
post #12

Earlier quoted context omitted.

Look at red lights as an example. Those are just primitive robots. Yet, when I'm sitting at an empty intersection at night, even though I have excellent, advanced sensors in my eyes, I'm not allowed to just run a red light. Red lights aren't just a "helpful warning." The robots already have the final say in that arena, because human law (for now) backs them up. It's not based on scary movies... primitive robots alrea…

Gmail does this already. Try and attach a Windows exe to an email. I have valid reasons to want to do that, but have to find workarounds. It seems happy with uploading the same file to Google drive and putting a link in the email. Though that doesn't solve my use case of sharing with Chinese Nationals who are blocked from those urls. I'm also not clear on how/why this is somehow more secure.

Can't you zip up the .exe in an encrypted form and send the password? This is better anyway since even if gmail let the .exe go out the spam filter at the other end is likely to strip the .exe anyway.

Re: DeepBreath: Preventing angry emails with machine learning

#65
post #18

Earlier quoted context omitted.

Gmail does this already. Try and attach a Windows exe to an email. I have valid reasons to want to do that, but have to find workarounds. It seems happy with uploading the same file to Google drive and putting a link in the email. Though that doesn't solve my use case of sharing with Chinese Nationals who are blocked from those urls. I'm also not clear on how/why this is somehow more secure.

Can't you zip up the .exe in an encrypted form and send the password? This is better anyway since even if gmail let the .exe go out the spam filter at the other end is likely to strip the .exe anyway.

Nope. Zip archives do not password protect the index. This trick used to work, but not any more.

RAR files used to get through, but now Gmail detects them as well. I think even 7z.

Re: DeepBreath: Preventing angry emails with machine learning

#66
post #12

Earlier quoted context omitted.

Look at red lights as an example. Those are just primitive robots. Yet, when I'm sitting at an empty intersection at night, even though I have excellent, advanced sensors in my eyes, I'm not allowed to just run a red light. Red lights aren't just a "helpful warning." The robots already have the final say in that arena, because human law (for now) backs them up. It's not based on scary movies... primitive robots alrea…

> Red lights aren't just a "helpful warning." The town where I grew up has a red light which only changes when a weight sensor is tripped. But weight sensors are expensive, and the approaching two-lane road only has a sensor in one lane. Worse, it's calibrated for cars, so motorcycles never trip it. Yes, only . If you ride up late at night on a motorcycle, you have a choice between committing a serious traffic offens…

It's worth noting that in this situation, corner-case problem gets worse the smarter the (mechanical) robot becomes.

We've already seen how poorly designed test-data and training combinations can result neural nets that behave in a racist fashion. More broadly, neural nets have been enlisted in quests like find insurance risks or security risks and here they could really bad effects if they get veto power.

Re: DeepBreath: Preventing angry emails with machine learning

#67
post #18

Earlier quoted context omitted.

Gmail does this already. Try and attach a Windows exe to an email. I have valid reasons to want to do that, but have to find workarounds. It seems happy with uploading the same file to Google drive and putting a link in the email. Though that doesn't solve my use case of sharing with Chinese Nationals who are blocked from those urls. I'm also not clear on how/why this is somehow more secure.

Can't you zip up the .exe in an encrypted form and send the password? This is better anyway since even if gmail let the .exe go out the spam filter at the other end is likely to strip the .exe anyway.

They've gotten very clever about workarounds.

See: http://imgur.com/a/y4Lxz

Tried tar, gzip, even uuencode. Then taking "exe" out of the file name with the uuencoded version.

Edit: Shell archive works! apt-get install sharutils;shar file.exe > file.exe.shar

Re: DeepBreath: Preventing angry emails with machine learning

#68

Earlier quoted context omitted.

Anger is definitely not okay. Ideally, you say - 'This project isn't working because you failed to gather requirements from the right users." or "You spent three months choosing a vendor without proper due diligence who doesn't have a working client library, documentation, or a functioning test endpoint". However the proper way to express anger in our enlightened business environment is passively and non specifically…

> Ideally, you say - 'This project isn't working because you failed to gather requirements from the right users." or "You spent three months choosing a vendor without proper due diligence who doesn't have a working client library, documentation, or a functioning test endpoint". Both of those statements are completely reasonable. Don't conflate directness with anger, berating, personal attacks, etc. It's entirely poss…

Totally. It often helps to depersonalise the message by saying "this project isn't working because the requirements weren't gathered from the right users" tho.

Re: DeepBreath: Preventing angry emails with machine learning

#69
post #42

Earlier quoted context omitted.

A driver cannot control nor override a light -- they can't make it change quickly colors when an intersection is obviously empty. They can only ignore it entirely. That's different. You wouldn't be "overriding" killer robots by hiding in underground tunnels. You'd just be avoiding them entirely. My main argument though is that people's distrust comes from extrapolation of negative real life experiences, not just from…

> A driver cannot control nor override a light You can rewire it or shoot it with a gun. It has no physical control over your actions. That is the actual sense of the word "control" in a humans-vs-robots debate.

[deleted]

Re: DeepBreath: Preventing angry emails with machine learning

#70

I think anger is ok and justified at times, and not always just a consequence of being in the wrong state of mind, etc. I think we're more and more moving to a mindset where anger is just not really ever acceptable, either to feel or to display. But, that's all a bit heavy for what this is trying to accomplish, which is certainly an understandable goal.

I think you're right, but anger actually works better in person.

The problem with anger over text, especially email, is that the angry message sits there and stews and stays angry at the recipient for hours or days. And they have lots of time to stew themselves and consider their response and go over lots of counter-anger thoughts in their own mind, before sending something back.

In-person anger can come and go quickly; it gets resolved; it doesn't continue for hours and hours and wear people down. Especially the way men interact (in some subcultures), anger is just a way to communicate a sense of urgency or import, and can quickly reverse into relief and camaraderie once it's acknowledged. (Of course this isn't universal, but it is a style that can work depending on context and culture, and if it's not overused).

Post reply on HN