skysight-inc/HackerNews huggingface dataset:
I used to have severe depressions in younger age that lasted for years killing my relationships and career. I tried various treatments but they didn't help. It went away when I learned a few things: first, how to not be enemy of myself - not force myself into doing what I don't want to do, being where I don't want to be. Second, learn how to let important things go out of my control and give life a chance to make me happy. Third, I started figuring out what I really like, and what I really want. It all took a lot of self-analysis, writing and being ultimately honest with myself. It didn't come in 1 day and it wasn't easy, but falling back into depression was a much worse scenario. So there was no silver bullet in my case, just lead bullets. But it worked.
With plugins like enigmail on Thunderbird all this stuff is basically next-next-save with best practices in mind.

If you can use Thunderbird I see no reason why you can't use GPG
A lot of people have been claiming these types of numbers but can't really show the hard proof needed.
Fuse – Write cross platform native apps using C# and JavaScript
- Factorio (a great game for the HN audience): http://www.factorio.com/

- A Valley Without Wind (I like Valley 2): https://arcengames.com/a-valley-without-wind-1-2/

- Rimworld: http://rimworldgame.com/

- Starbound: http://playstarbound.com/
Sorry to hear it -- I'm sure it's eating away at you. I'm a founder who's had to do it too, in the past. It never gets easier; you just get better at it.

I agree with @steven2012's feedback. To add a few things:

1) I'd recommend you work with your attorneys to draft up a termination agreement that includes a severance package. I'd also recommend you cut a check and include it with the letter. When you sit them down to talk them through the agreement (individually), you can present check to them and ask them to sign it and take the check. You don't want to force them into signing anything, but you also do want to try to get it done cleanly and completely for the sake of the business moving forward. If they hesitate or say they want to review the terms later, or with an attorney, don't push it. But do make the check large enough that it'll be easy for them to sign on the spot if at all possible -- you want to treat them fairly and not have to deal with loose ends later if you can help it.

2) It's extremely important to take the "one and done" deeper cut approach. There's nothing worse than everyone wondering when the other shoe is going to drop. I'd recommend you take the remaining team out to lunch and make sure they know that they are safe -- and you all have to rally together to make the company a success.

As an aside -- the only regret I've ever had is waiting to fire people that I knew had to go. Learning to be more aggressive about moving under-performers out faster has been one silver lining from the whole process, over time.

Good luck. It's a terrible foreboding feeling going into it, but you'll fee a big sense of relief afterwards, and if the employees you're letting go are unhappy in their jobs, they may end up thanking you later for helping them move on to find something they loved more.
Do you have a Twitter account? I can't see your email address on HN
Facebook also thought my name was fake. I went back and forth with support and eventually got someone to ping them internally after which I was able to submit pictures of 2 IDs and get my name on my profile.
There is big money in prison systems. I remember a lot of people I knew getting locked up and going to Rikers. The stories they tell and I knew a lot of legal aid secretary's who see these cases comes across the desk and I want to cry.
No representation for the poor, they just lock you up and you get swallowed into the system and if you are lucky enough to see daylight they throw you back down the hole again. I mean it's horror movie scary how the prison system and parole boards in New York function. Whatever you do in life don't ever put yourself into the position of getting thrown in jail.
The point is to demonstrate that Go runs on iOS, regardless of what other languages also run on iOS.
This is the takeaway. Private banks lent to corrupt Greek officials. If you don't want to have trouble getting your money back don't lend billions of it to people who probably won't be able to pay it back.
Comparing to a self-hosted PaaS is fair for the open source containership project.

It has built in high availability, automatic clustering of nodes, loadbalancing, service discovery, persistent data management, internal DNS, and support for easily extending the core of the system with plugins (plus more).

Of your examples I would say it is most like Openshift Origin.
Dokku being mainly aimed at people running a single standalone server.

ContainerShip Cloud (https://cloud.containership.io) is a hosted service that lets you launch and scale ContainerShip clusters with a click across multiple providers. You can backup clusters, share them, and move them between clouds.

I wrote a getting started post that shows step by step how to use ContainerShip on DigitalOcean that may be of interest:
https://medium.com/containership-articles/getting-started-gu...
Oh wow. It's actually plus-shaped. I've been looking for a PC controller with a plus-shaped D-pad for a while. They've been rare for a few years, due to Nintendo's patent on plus-shaped D-pads, but that expired in 2005.
Kaspersky says air-gap industrial systems: why not baby monitors, too?
Minimum Viable Product Subreddit (r/mvp)
Rob Pike's Ivy:
https://github.com/robpike/ivy

Video about it (Nov 2014): "Implementing a bignum calculator"
https://www.youtube.com/watch?v=PXoG0WX0r_E
Google's Drone Project
This names makes me think of an "old" social network that trended once Hi5[0].

[0] http://www.hi5.com
First, security is never a goal in itself; the goal is to get some job done, which involves having something to protect, and security's job is to protect it.

Second, even when your metric is security, creating a policy that people have to circumvent to get their job done seems likely to reduce security.

> when it comes to ensuring what data comes in and leaves your environment there's little choice

The concept of your environment having an "inside" and an "outside" is dangerous. Better to assume that "inside" is just as hostile as "outside", and avoid having any insecure internal services or resources. Use TLS/HTTPS everywhere internally, require authentication for internal services, and otherwise make sure that an attacker gains nothing by compromising an end-user system except what's on that end-user system.

> If your job involves idling on Freenode

Forget "idling"; participating effectively in many Open Source projects (whether developing them or getting support for them) requires the ability to get on IRC.

> maybe take it up with management

Short of C-level executives, management rarely has the ability to change IT policy.
Can you tell us how they have reversed the damage? I don't see anyone carrying blackberrys anymore.
A secret startup saved the worst website in America, HealthCare.gov
Why are networking tools broken and how we try to fix them
Just wondering what value the singleton provided if you only obtain it once. Isn't the purpose so you can obtain it whenever you want? If you just use a regular object, you run the risk of accidentally making another instance somewhere else, but you always have that risk with any regular object anyway.
Not an appropriate comment for HN.
Short but good advice. The last set of layoffs I went through at a big company was just everyone being really worried until they gave a somewhat fair severance. That calmed the mood significantly. Fortunately I missed the layoff cuts but myself and my co-workers were on edge until they announced the severance.

Later on however the company announced 3 more rounds of layoffs, each having less and less severance and time before leaving. It would have been FAR better to cut many more people during the first round so they could have all gotten the same severance instead of later groups being essentially screwed.
The story in this collection "A Colder War" is a fantastic mash-up of Lovecraft and the US/Soviet Cold War. The combination of science and the occult in the story reminds me in weird ways of Half-Life/Portal, The Manhattan Projects (the graphic novels), and even the real-world Jack Parsons. If you strictly like hard sci fi, it's not for you, but for everyone else, I recommend it.

The story is available in stand-alone HTML here: http://www.infinityplus.co.uk/stories/colderwar.htm
I see no problem in that. People call JavaEE, J2EE or JavaME J2ME, all the time (yes even teachers) and get away with it just fine.
> Why make such an investment?

Interesting question. Why would anyone invest in helping to bring about catastrophic climate changes?
My first week at a new job, half the company got let go. And a few months later, it got slashed even further. I don't have the specific numbers but at the end of the year, we went from over 200 to about 80ish. (I hope I got the numbers right)

Anyways... Half the company met in one place (and they got let go) and half the company stayed.

Do a single cut. The second cut prompted people to lose faith in the company. It didn't matter what the CEO said, most people simply believed that "this was it". Many started to look for other jobs. I believe the first one we called the "bloody Tuesday" and the second one was a "bloody Friday". It became a permanent joke/non-joke that whenever a big meeting was called, people were going to be let go. Or whenever someone talked about "strategy", it meant cutting departments. Not a good thing AT ALL.

Don't be a dick about it. From what I know, the people that got let go got a good severance and references. Both good things.

Make sure the morale stays up. Many of us had issues dealing with it. Productivity dropped, faith in the company, etc. Actually, the worst part was watching higher up people stay and not be affected, and slack off on top of it.

Nothing worse than seeing someone who makes 6 figures play Mario Kart in the break room for the whole day a few weeks after all this happened.

What DID help was that us lower folk started playing video games over lunch. It fostered new friendships, and helped us get productive again. But that got cut as well after people complained (to this day, I don't get it).
The best document I've found for key generation (the one I turn to myself, when my memory needs refreshing) is the one on Riseup: https://help.riseup.net/en/security/message-security/openpgp... . If you follow that guide, you will get a keypair that avoids the common pitfalls.

The photo question is an interesting one - some people frown on it, some people like it. Personally, I lean towards not adding them, just because the number of times I've actually checked it is so low (maybe once, ever.) That being said, I don't think people feel so strongly that they'd refuse to use or sign your key over it; they might just not sign that particular uid. (The photo is stored the same way an alternate email is, basically.)

Properly setting up an offline subkey involves some rather archaic incantations; even more so when you are burning them into a smart card. Specifically, I would probably use some combination of the above instructions (to get my gpg.conf into the correct state), and then something like this guide: https://gist.github.com/abeluck/3383449

Specifically, I would look for a guide that instructs you to have a master key that is valid only for certification. I have a personal dislike for allowing your "master" key to be used for encryption, because it incentivizes you to do things that are not best-practice: specifically, using it. In the ideal world, your master key is kept, encrypted, on one (or more) USB drives that are all kept in various safes, and are never plugged into a computer that has an internet connection. Bonus points if the computer isn't used for anything else either. This is because your master key is the Thing That Must Not Be Compromised -- or you need to revoke the entire key and can never use it again. If a "working" subkey gets compromised, you can revoke it without losing all of the certification effort you've put into validating your identity in the web of trust.
No they don't. Chrome is designed from the ground up for security. It has the same number of bugs as other software of it's size but the type of bugs are much less severe.

Compare FF, Safari, IE, Chrome. Same number of bugs per yet but Chrome has 10x less code execution bugs (ie, 10x less likely for your machine to be owned by unknown bugs)

http://i.imgur.com/rVgu7Fs.png
Be honest with the employees. Don't just spring it on everyone. Don't do it on Monday when people are expecting to come in fresh and start their week. It's ok to let people know changes are coming, even if you can't tell them the details right away.
It's had ads for at least two years now. That was the last time I used it on Windows.
You might be interested in oh-my-fish which tries to be pretty similar to oh-my-zsh, including an optional theme that matches the default zsh theme. I'd definitely recommend it.

https://github.com/oh-my-fish/oh-my-fish
Ask HN: I have an idea for a mobile game, but where do I start?
I have an idea for a web/mobile game, but I'm completely stuck on starting it. I'm an experienced software developer, but I've only worked on desktop and backend stuff so far, never got close to web or gaming or mobile in my career except for tweaking a thing or two here and there. It's a very simple puzzle game, but so many questions pop to my mind:

1) Should I use the DOM (like 2048 does) or canvas?

2) Should I use a framework like Phaser, Pixi, EaselJS, etc. for such a small game? If so, which one?

3) I want this to work both on the browser and as mobile apps. Is Apache Cordova what I need to use for this?

4) How do I deal with different screen resolutions? Every code sample I see uses hardcoded widths and heights.

As I said in the first paragraph, the game is very simple but I think (and the people I've told about the game agree) it has potential to be a good game. My initial thinking is to just use the DOM and go from there, but I have no idea if that's good practice.

I'm also not sure how to go about making other game screens (splash, difficulty and level selection, and the like). Can I just make those in HTML5 even for mobile platforms?

Any pointers are appreciated :)
Some of our women have hair on their chest. We don't judge here, nor ask people to self censor in fear of offending someone.
France introduces a new VISA for entrepreneurs and startups
I was laid off once, and although it was a horrible experience, I do not think I would feel as bad if it happened again. The reason is that the first time you get laid off, you think to yourself you are absolutely fucked and there is no way out of the tunnel, especially with bills looming. But in hindsight, it was never as bad as it seemed. I was able to hook up with a recruiter and I was back in another job within 20-30 days. So here I am telling you I survived and everything turned out ok!

Having said that, if I were about to get laid off there are some things that would ease the transition and make it more bearable. First worry is income. If you could guarantee a months severance, that would go a long way. Second is health insurance. If you could have all those resources prefigured out by the time I left, I'd be much happier. Third is promise of future income. If you could have recruiters on standby so that if I could make the choice to begin the job search, it would be great. Lastly, this is sorta extra credit, but experiencing job loss is quite tramatic. You can make counselors / work therapists available to be there in the time of need.

Basically what I'm trying to say, if you are going to let people go, make the only thing they have to worry about is getting over the shock of getting let go. That is unavoidable. But if they know they are being taken care of and empathized with, they'll get over it quickly.
I can sympathize with the point you are making. No one can really predict the future, so your opinion may be vindicated. Google beat out every search engine, so who knows.

However, a few counter-points:

1) Brand value is critical. Look at Coke and Pepsi. Anyone can create a cola competitor, but no one can conceivably do better than these two. On internet properties, brand value is still important. Look at Priceline.com and Expedia. They still worth billions.

2) AirBnB has operational expertise that no one else has, in large part because they've been solving this problem w/ more funds and more man-hours than all of their competitors combined. More operational expertise = better service = beats out competition.

3) AirBnB is capitalized enough to buy out start-up competitors. Right now, most investors doubt someone can take on AirBnB. As such, most investors will push founders to go for an exit whenever possible.
> I wouldn't ... lock their accounts unless you think that they are going to cause problems.

I'm not sure exactly what accounts you have in mind, but general I would lock them all, no matter what. You may trust them to not retaliate, but do you trust them to have chosen a password that they didn't use anywhere else and didn't get keylogged and didn't give to phishers, and that their account will not be compromised in any other way?

Maybe email is tricky, since they could potentially have some personal stuff they want to retrieve. Perhaps the helpdesk can assist them in that case; or give them 5 days or so where they can still access email.

(If it matters, I have zero experience in this, just an interest in security.)

Edit: I now see you probably meant just giving something like the rest of the day on the lock, if you trust them.
You could get approximately 7.78 GW of solar installed for US$ 10.8 to 12.6 billion... the trouble is that this would be 7.78 peak GW. The corresponding average GW would depend on the location of the installation... in Perth, Australia, which has exceptionally good insolation, you might get 1.4-1.5 GW on average over a year. And then, you'd have no power on demand, you would have to take it when it is available, or waste it.

OTOH... the ~8 GW you mentioned is thermal power, if it is electricity you want, you will need to spend another $12-15 billion on power generation plants (and infrastructure such as LNG tankers, import terminals etc.). And then, with an exceptionally efficient combined cycle plant, you only get abt 8*55% = 4.4 GW of electric power (but it is "on demand").

Furthermore, the cost of producing the gas is not just the cost of the vessel - you need to drill wells and connect them to the vessel via pipelines/manifolds/risers. You need to pay for the operations, maintenance and repairs. And to begin with, you need to explore for gas, spending hundreds of millions of dollars with no guarantee of success.

By the time you consider the full picture, solar power is competitive with gas for electric power generation, more so in some places (like Australia, where Tony Abbott is going full retard on renewable energy) than others (like Germany, which leads the world in installed PV capacity).
One thing that I would add as a worker is to be cognizant of people on work visas. In America, H1Bs have very oppressive terms for being out of work, in that one is technically immediately out of status if laid off. This means that they would have to quickly find a new job willing to transfer their visa (within a couple of weeks) or take their family and leave the country. I don't know what your options are to help lessen the blow here (is it possible to keep someone on payroll for a couple months in lieu of severance?), but keep it in mind.
> DI containers mean you don't need a singleton but can just create a single instance

So... a singleton.
It's really hard to read the text in that picture because of the JPG compression artifacts, but I did my best to try to transcribe and translate it. I'm not a native speaker of Japanese though, so if anyone sees a mistake, please correct me!

From left to right:

桜井 政博さん
Sakurai Masahiro-san

「星のカービイ」を考えましたスゴイ人！
開発スタッフの中ではいちばん若いけど、
おもしろいゲームを作ることなら、
だれにもまけない。 口数の少ないアイデアマン。

The amazing person who thought up Kirby's Dream Land!
Although he's the youngest of the development staff,
when it comes to making interesting games, he won't lose
to anyone. An idea man of few words.

宮本 茂さん
Miyamoto Shigeru-san

「スーパーマリオ」や「ゼルダの伝説」シリーズなどを作った。
有名な人！みんなもよく知ってるよね？
今回の「カービイ」でもプロデューサーを担当。

He made series such as Super Mario and The Legend of Zelda.
He's famous! But you already knew that, right? For this
Kirby, he took on the roll of producer.

岩田 聡さん
Iwata Satoru-san

任天堂から発売されたゴルフゲームの、ほとんどを作ったエライ人！
「カービィ」では、 みんなを明るくはげましなから、プログラムもやってしまうプロデューサー。

He's the great person who practically made Nintendo's golf game! Due to everyone's enthusiastic encouragement, he was both a programmer and a producer for Kibry.
Obviously, I saw a different niche of Usenet, but I ran my own personal INN with few users and never carried binaries. None of the relevant German news servers carried binaries, and for a time they thrived.

I had slight hope for a renaissance of decentralized Usenet service (instead of the big two: T-Online and Uni Berlin), when a very influential netizen posted a "how to run your INN, and you get a feed from me" on his blog and dozens of small, personal INNs sprang up. Ultimately it did nothing.

Of course, there was another niche, Hamster (http://www.tglsoft.de/freeware_hamster.html), that did a lot for Usenet.

I still don't believe that binaries were very relevant to the demise of non-binary Usenet. Both offers were very distinct, AFAIR.

Either you did "discussion Usenet" which didn't make money, and never really did much, then the egress of users killed you over time, because your employer couldn't see a reason to keep your news server running. Many servers mostly ran under the radar for the last years, with admins almost trying to hide that they had this little thing besides their mail server and other duties.

Or you did binary Usenet, then you made money, but were in a totally different line of business: selling pirated music and software to your customers.

Again, all observations mostly limited to de.*, which was pretty big.