skysight-inc/HackerNews huggingface dataset:
The painful way is pretty simple! Wait until you have a few days you can be "down" and just go cold turkey. I find I do OK the first couple of days, then get a pretty bad headache. When that's gone I'm back to normal.
You don't have to use $'', you can also use literal tabs (ctrl-v to insert literals). The main difference between macOS and Linux that people notice is that macOS sed doesn't itself interpret \t (so you have to use literal tabs or $'' there).

\r\n is Windows, not Unix.

What about Unicode? (Btw, UTF-8 was created by unixers Rob Pike and Ken Thompson https://www.cl.cam.ac.uk/~mgk25/ucs/utf-8-history.txt )
Depending on where in the country they are, porn stars are frequently tested twice a week, and able to provide a detailed history of who they had sex with, when.
A "Broken Arrow" is the loss of control a functional nuclear weapon. Being misplaced also counts as a "Broken Arrow" incident, as was the case with some nuclear missiles being lost in transit only to be found a few days later at the wrong base. They were mistakenly kept loaded on an aircraft.

There's actually a shocking number of these weapons that are completely unaccounted for. They're presumed to be at the bottom of the ocean.

During the 1960s the US had this completely insane program whereby bombers would be in the air at all times with fully operable nuclear weapons. Not surprisingly there was a number of malfunctions on these aircraft that lead to atomic payloads being dumped so the crew could safely land, though I honestly have no idea where a "safe" spot to ditch a thermonuclear weapon is, armed or not.
Just a quick note yet: not sure "evilcorp" is the best of names for an example, though.

EDIT: Definitely enjoying the slightly creepy visual haxor effects, though.
Yeah, but it was a dud?
Rewrite: Neural Style Transfer for Chinese Fonts
How addictive is tobacco/smoking as compared to Opiates/Heroin?
True :) It was also very badly programmed, making your PC die in agony when you'd play it, even if you had the highest end stuff on the market. Still a very fun game though.
A net negative for the Soviets is a positive for the US. That is fair enough but it does not mean that your statement is true.

The War in Vietnam was far more costly and destructive then any 'damage' that was done to the Soviets. It was a absolute net lose in every way, money, lives, credibility and so on. It was a major victory for communism and all anti-imperialist colonialist struggles.

You are just repeating the same failed and disproven logic that people like J.F. Dulles were advocating. They looked at everything in cold war terms, black and white. The reality however is different. Just because some countries are neutral or maybe communist does not make them automatically Soviet puppets and the countries in the same region do not automatically fall to communism because of that.

Had J.F. Dulles just accepted the situation in 1953 the US would have been in a much better position during the cold war. Vietnam would not have been allied with China and Russia against the US. The idea of "world communism" is a fantasy that should not be a guid to policy.

> support of the Afghanistan insurgency

That was a great policy. Problem is just that even at the time people pointed out that it was unlikely (almost impossible) that the Soviets would attack threw Iran to the Golf. So there were no vital US interests at stack. The Soviet, we now know, had no plans to do so, and not the capability.

In order to support the insurgency the US had to massively support Pakistan, they ignored Pakistani spread of extremism, they ignored the Pakistani nuclear program and the money flowed to the kind of insurgence that should not get money, rather then to the moderate afghani nationalists that should have gotten the money.

How people defend this policy in still today is insane to me. A nuclear Pakistan and India is one of the greats dangers for nuclear war in the world right now.
An article well worth revisiting, but should we have (1993) on the title?
if you're not writing complex non-blocking Javascript in 2016, what are you even doing with your life? /s
I feel this and believe it to be spot on. Looking to be an early defector, a thorough survey of the hardware landscape has left me in awe of the amazing hardware companies are willing to cram into such a cut-rate shit of a package. On the software front, macOS is such a 'get shit done' OS, but I believe that may be solely due to the having the lions share of the development community's mind-share. It is for that reason I've decided to fund a multitude of 'hopefuls' and fully immerse myself into a foreign OS platform. If it's going to get better we must all embrace the suck as it is today and begin to develop the future.
Mozilla stops distribution of WOT addon
You cannot install the WOT addon anymore in Firefox. This is due to WOT selling all your browsing data to firms - easily de-anonymizable (containing e-mail addresses, usernames or identifying parts of URLs in cleartext).
Reporters of German broadcast NDR found out about this by inspecting a test dataset they acquired disguised as a company asking around to buy personal data.
If you meant nonsmoker then you asked the most relevant metric in my opinion.
Google itself displays an anoying translate this page popup that obscures content, especially when you are browsing in incognito mode.
Did not find any english versions of this news yet, so here a translated heise site:
https://translate.google.com/translate?sl=auto&tl=en&js=y&pr...
That's definitely not obvious. I would agree that mutations due to smoking could be in majority harmful due to the chemical components and the high temperatures involved. Other than that, a mutation is a mutation, whether due to smoke, nuclear irradiation, high altitude, or chance. In all cases, they can be beneficial or harmful. The evolution process will then cause only the beneficial ones to perdure.
I'm similarly confused. Wasn't Netflix founded by Reed Hastings?
I did not downvote you, but the reason I used dotNET is that I don't want to keep in mind whether the markdown-flavor-du-jour interprets leading dots as special or not.
This piece by Dr Jen Gunter provides some better perspective on this study I think: https://drjengunter.wordpress.com/2016/11/01/new-study-doesn...

Short version: The study is interesting but the early termination is largely ethics review working as intended and does not mean that all research into this method is terminated or that the results weren't promising.
> Pros don’t quit because their tools are suboptimal. That’s practically the definition of “professional” – a pro gets the damn thing done. A pro user might gripe about the new MacBook Pro, but the next time she needs a new machine, she’s going to buy one anyway because that’s the path of least resistance and she needs to get back to work.

This sums up perfectly my thoughts about Apple hardware right now. I am annoyed by the fact that I won't be able to connect any of my devices to the new MacBook Pro, but I'll buy one anyway, because I need to get things done to earn money.

I also agree that the pro market is ripe for disruption (again). Interestingly enough, Apple began its rise to stardom from the pro segment, which it is now abandoning. Foolishly, I think, because it's a relatively easy disruption path for the next company.
a previous company I worked for spent many pound coins on using metafortress to make our softeare exceptionally difficult to crack.

It went from 5 minutes in a hex editor to being a rather involved job. So it stopped it for a while.

Then people realised that instead of cracking licensed program, it was much more simple to crack the license server. (this also made detection much harder.) It also had the advantage of allowing rafts of other software not made by us work as well.
OsmAnd appears to work fine on my phone, which as far as I know does not have any of Google's proprietary components currently installed (by way of a vanilla CopperheadOS install).
One could argue it is evolutionary advantageous for parents to do this.
What about aerospace and defense?
If you think a distributed database should provide full correct completeness from all nodes while hitting 1 million writes per second, go build one that does it.

I do that for a living. If I didn't, I would not have commented.
Top Replica Luxury Bags and Wallets for Sale
I would expect so.

Alcohol can cause inflammation, triggering various parts of the immune system to kick in. This could result in the release of free radicals from these immune cells, which promotes DNA mutations.
I do not question the harm cigarettes do to individuals, but individuals make choices every day that cause harm to themselves. That is not a reason for government involvement

I do not believe it is my place to tell individuals what chemicals they can or can not consume

I am 100% against the War on Drugs as well, and believe that all drugs, including crack, cocaine, and all prescription drugs should be legal to buy if the person desires it.

I am an individualist, not a collectivist
Second this. Don't do it as regular as I usd to because I don't feel like the effect is as profound anymore.

That is not to say that I don't feel like meditation works, but more to say that there seems to be a big change after a longer regular period of meditation, but then further improvements seems to slow down. But I can way more easily get into a relaxed state and calm my mind than I could before doing any meditation. I just don't do it as regularly anymore as I find the further incremental improvements to my everyday life to be smaller.
In my case I went full bore and got a vasectomy. I literally let someone take a scalpel to by boys so yeah.. cramps? sure.

Genital bleeding is really a very gender specific thing. Women already bleed from their genitals the issue is that it is now prolonged. If a man started bleeding from the penis that'd probably be a fairly serious condition lol. I get your point though. That said discomfort is a perfectly reasonable trade to avoid 18+ years of responsibility and a financial cost currently estimated at $250K per child (not including opportunity cost mind you)
Yes, having right wing thoughts is a crime. They should not only be fired from jobs but sent to labor camps for reeducation and publicly purged in show trials. George Orwell would have been so happy to see his fiction becoming reality.
You are assuming that ten times more money needs to be spent, but without any real basis, that's nothing but a meaningless assertion.

It doesn't have to be expensive to be fast, reliable and correct.
If you think like me that NLP means NonLinear Programming, in this context it means Neuro-linguistic programming[0]: "Neuro-linguistic programming (NLP) is an approach to communication, personal development, and psychotherapy created by Richard Bandler and John Grinder in California, United States in the 1970s. NLP has since been overwhelmingly discredited scientifically, but continues to be marketed by some hypnotherapists and by some companies that organize seminars and workshops on management training for businesses."

Homoeopathy has also been discredited, the mind is full of corners the science cannot really explain.

[0]: https://en.wikipedia.org/wiki/Neuro-linguistic_programming
Alcohol (ethanol) is a Type 1 / Group A carcinogen.[1]

1. http://www.cancer.org/cancer/cancercauses/othercarcinogens/g...
Agree. An updater that wouldn't involve pop up dialog boxes interupting my work or having to opt out again and again of the updater messing with my browser (I am looking at you Java and Skype!).

Something like that for iOS would be nice too. Less intrusive update reminders and not having to go through all of the nagging for apple services everytime Apple pushes a security patch!
Make it a super pain to mess with. Lace the code with license checks (different ones, not the same repeated) and run an obfuscator.

Works best with an external license server. If you have to be offline make the checks more involved.
I've been doing iOS development for 7 years now it has always been a pleasure compared to web dev (which I have been doing for close to 20 years now). What's more important native development gets more and more pleasurable while I cannot say the same about web stack. It is close to jumping the shark if it hadn't yet.
> Where discrimination becomes wrong is when it's based off race or some other protected class.

Really now?

If a 50-year-old doesn't want to live with a 20-year-old, that's wrong to you?

If a theist doesn't want to live with an atheist, that's wrong to you?

If a woman doesn't want to live with a man (or woman for that matter), that's wrong to you?

If an Israeli doesn't want to live with a Palestinian, that's wrong to you?

If a pacifist doesn't want to live with a veteran, that's wrong to you?

If an American Indian doesn't want to live with a British, that's wrong to you?

You think people who want to rent out a mere room or two of their home should be forced to disregard the "protected class" of the tenant? That genuinely makes sense to you?

Like seriously... discrimination is not black and white. It shows complete ignorance when you say discrimination based on a protected class is somehow automatically wrong. The context (in this case, whether you're living with them) matters -- a lot.
4 essential tips for dating a Techie
Welcome to a man's life...
I have a question about storing the encryption keys. How would one actually securely store them and distribute them among the application servers in a cloud environment.

I don't buy into the 12-factor-application way of storing sensitive data in an environment variable ("ps ae" and a local intruder has the data).

Storing it in a secured file on the server requires the file to be distributed by the provisioning service, thus implying the key being stored in a repository (that just isn't your application code, but a repository none the less).

Using an api service to with client certificates doesn't really help either, because if the application code can access the required configuration and certificates, so can an intruder with shell access (since the intruder most likely has the user permissions of the running application before doing a privilege escalation attack).

I haven't seen an answer to that question that really satisfied me in the past. Does anyone have a battle tested method for storing database encryption keys?
I think that lost, but still under US control, ie 'lost in the system' is called a "bent spear".
I think it's a reference to Mr. Robot
I am also interested in a self-hosted licensing server (for Linux).
Looks interesting!

When we switched to Clojure (from nodejs), we decided against any kind of ORM and use HugSQL which allows us to write "plain SQL" in .sql files while still using parameters.
Maybe the title could clarify what a Broken Arrow is?
We're using React Native as well, but we decided to have parts of our app in Java/Swift:

+ Third parties should be integrating part of our core technology in their app. I can't force them to use a framework.

+ We're using Bluetooth Low Energy and need to be as close to that radio as possible.

+ The implementation of BLE differs too much from iOS to Android to make one library a good idea.

Apart from that if I would run an app shop, I would write dedicated for each platform.

+ More hours.

+ More experienced personnel.

+ More stable than frameworks.
Thank you, this is exactly the kind of insight I was hoping for. My understanding is that RN allows you to fall back to native code wherever necessary. Is that not as easy in practice as in theory? It just seems like at worst it would allow you to share many parts of your application between iOS and Android, as well as possibly your web app, and then anything else could be built natively as necessary. As someone with no experience using this tech, that seems like it would simplify and save time, both in initial development and future revisions, but avoiding duplication between code bases. I can't help wondering if these teams tried older hybrid app frameworks like PhoneGap, found them lacking, and have written off RN as being basically the same thing, while it's actually considerably more powerful. It's also possible that adding that layer adds more complexity than I'm accounting for, and really isn't worth it for the duplication saved.
There was once a time where you had a workstation running a professional OS you could trust not to mess with your data and privacy. I think we lost something there.
I went back to sublime as I had too many stability issues with Atom. You can throw megs of data at Sublime (if needed) and it absorbs it, Atom grinds to a painful death.
Considering opiate withdraw can cause death I'd say tobacco is less addictive
Actually does anyone know what is happening when it "configures the update"? The original microsoft post suggests windows update currently simply replaces assemblies. That should take milliseconds on a modern PC.
Interesting point. I have to confess that I've never seen logging done usable in a i18n sense. Of course, for UI applications, you're absolutely right.

When it comes to logging details, you have a point. But I still think a clear final error message is something to aspire to - especally if you're writing very busy and potentially multithreaded (or - even worse - async) services.

On this note, filtering logs according to thread IDs can be very helpful here. I wonder if that is also easily possible with "fibers".

> Swallowing errors is evil and no, not limited to C code.

Of course, nothing ever is - it's just where I've seen this thing the most (highly anecdotal evidence, I know :-) ). Unfortunately, the nature of many C APIs also makes it very non-obvious if you're skipping through the code, whereas an empty catch statement stands out somewhat.
As someone buying from an app shop, your second and third points would be a plus for us as well, whereas the first would obviously be a minus. Having some of the app built in a framework would probably be easier for a team of web developers to take over too, although that's not a given, since it would also add complexity.

It may be moot though if there are no shops out there using RN anyway!
New MacBook Pro not compatible with all Thunderbolt 3 devices
I read the original study and yes, they did compare it to lifelong non-smokers. However, as far as I saw they only compared people with cancer. And the numbers were usually increased for smokers and the smokers usually ended up with more of a certain kind of cancer.
1.72 terabits per second – world record in data transmission by laser
9gag down
>The cause of Professor Rectenwald’s guilt is certainly not, in our view, his identity as a cis, white, straight male. The cause of his guilt is the content and structure of his thinking.

And here I imagined thoughtcrime is something from George Orwell's fiction, never expected to someone actually get punished for this crime. Winds of change, I guess.
Why not? I'm personally aware of plenty of normal people for whom that works perfectly well.
The TomTom Bandit is an attempt to do that. The editing app is pretty decent, and it uses motion sensors and GPS on the camera to auto-detect interesting highlights in the video. (disclaimer: I do work there, but not on that team)
Either that or you wrap it up in function that makes a channel, calls the function with it, then waits on that channel for the return value. Basically you can go back/forth between async and sync(ish) in go much more easily than in JavaScript.

In saying that though, if you have to do it a lot it probably means some of those functions should have been synchronous in the first place.
Right! A long time back we came up with a really nice way of validating CSV files using restarts. I wrote a bit about it: http://lisper.in/restarts
Webshop költöztetés
> This is VC content marketing through and through

There are some unexplained things like Apple founders "Steve Jobs, Markula[sic], Scott" having 35%. First, why is Mike Markkula (which is the correct spelling) included as a "founder or CEO". He was an investor in every history of Apple I've read. Second, is Steve Wozniak included or not included in that 35% of founder ownership? I recall reading that Wozniak had approx. 7% share at the time of Apple's IPO, so not huge but not tiny.
I did something similar with a project that allowed you to import code from anywhere[0]. StackOverflow would be a nice addition.

[0] https://github.com/libeclipse/import-from
Speaking as a Telegram user:

Bots on Telegram can send and receive messages to you or a group.

My most used bot is one who watches HN for breaking stories and send me a link to the story and the comments.

Net result:

Spend less time checking HN, confident that I'll see 100+ story even if they die before I take lunch or have to wait for something anyway.

BTW: 100 is just an example threshold, you can send a message to the bot to set that to something else.
Not sure what "debilitatingly painful" is based on. Personal experience? Reports from others? Guessing?

My vasectomy was not painful at all. You do get a needle into your scrotum to inject the anaesthetic, and that is not a nice feeling at all. But it's over in two seconds. You don't feel the rest, because, you know, modern medicine.

What part do you think is painful?

For me the only major downside was the cost. If I ever decide I want children, I guess I'll have to adopt.
Our innate insatiability brought us where we are today with all the subjective good or bad progress we have made as a species.

As far as the young people thinking that the big city is the key to the good life. Couldn't it just be that young people like beeing around young people. Big cities offer a lot of possibilities for socializing that you wouldn't get in a small rural city. Perhaps your drives or wants just change with age as your personal life changes - not because one is more right than the other. It just feels that way as you evolve as a human being.
> The evolution process will then cause only the beneficial ones to perdure.

This isn't correct and is a common misconception about evolution. The process which does this is natural selection, and it only occurs through the organism being unable to reproduce as well as an organism with beneficial evolutionary changes.

With humans in the modern world, there is no natural selection because of state benefits that keep people alive and able to reproduce who would usually be unable to do so in a world without safety nets.

So in the modern world, any evolution in humanity - either positive or negative - will perdure. In effect we've ended the traditional form of evolution ages ago when we became civilized.
Ah, okay thanks. Checking it out
Pratt Parsing Without Prototypal Inheritance, Globals, Virtual Dispatch, or Java
I think cancer would be a special case. Just because being the ones who came up with a cancer cure would be worth the small investment.

Of course the criteria are likely to preclude a cancer treatment!
It was a "component" of a nuclear weapon (the other component being the plutonium core).

A cannon doesn't stop being a cannon just because you take out the gunpowder and fill it with sand. It may not be at risk of going off accidentally, but it's still a disaster to lose track of one if cannon design techniques are a closely-guarded state secret.
KEEN Venture Partners plans to invest €90M in European growth stage startups
Adobe’s upcoming audio tool lets you synthesize speech in anyone’s voice
Walter Cronkite Google Doodle. 100th Birthday OfJournalist “Walter Cronkite”
Yep, it definitely goes both ways. This is definitely my greatest worry about ever having kids.
I saw this question from Zero to One written by Peter Thiel. Nice one.
Opioid withdrawal while uncomfortable generally does not lead to death.

However withdrawal from benzodiazepines and alcohol are both very dangerous and can lead to death.

http://americanaddictioncenters.org/withdrawal-timelines-tre...
I just gave up on web fonts and go with Georgia, Arial and a sensible set of fallbacks (although I try
Menlo instead of Courier first, because it's ugly in retina)