skysight-inc/HackerNews huggingface dataset:
Ask HN: How did you deal with depression?
I am starting to get a little bit hopeless on this one. Once I had passions and stuff I wanted to do, I learnt enough JS to build a small app that has proven to be incredibly useful for my family. Then came university and almost all my passions have gone, I am a good student but as of lately I have been struggling with the courses I liked in the past.

Nothing excited me anymore, and not that I am sad. I still can crack a joke I still can smile but nothing seems to make me happy anymore. I think I might have depression. I play games and procrastinate all day and it doesn't make me feel any good it is just a getaway.

Sadly I live in a 3rd world country, where mental illness is not an illness. I can get little help from people. Our healthcare system simply doesn't work at all. So HN crowd, how do you deal with these feelings?
"The thing is this kind of idea is not new."

...most startup companies aren't doing anything new. How many different food-delivery services has YC funded? Photo-sharing services? Video startups? AirBnB wasn't anything new in 2007, either. Dropbox was criticized because everyone knew that file sharing had been done before.

This goes back to what I was saying about biotech being stodgy: the one thing the software industry has going for it is that it's willing to fling seed capital at re-tread ideas. If success is mostly about being in the right place for luck to occur, then the secret is putting enough companies in a place to experience luck. I think that's basically what YC does.

So-called "biotech investors" tend to want to wait around for commercially ready tech to just fall out of academic labs, so that they can avoid putting any investment at all into R&D. There are probably a lot of inexperienced teams that could make a business in biotech if only they had access to cash.
Mind sharing those ? (Or do you mean you add them manually at each attempt ?)
Just took a 2-week trip there--with a 1-week road trip--and I second this a thousand times.

Especially for tourists, it's SO worth paying for. It's a matter of staying well on a trip you've already paid thousands of bucks for.

Don't hesitate to charge.

EDIT: I see you're not hesitating to charge. Excellent!
hi datamart not at the moment. for the kinds of movies Shred Video creates music is too critical to forego.
While I mostly agree it is hard to determine what to write about until you have written something and it has been posted long enough that it yields some search engine referrals.

To take a wild guess is better than not posting anything at all.
One problem with this reasoning is that the researchers really didn't know what they were doing with 100% certainty. Their code could have accidentally affected the stability control subsystem that most cars have nowadays -- the one that's designed to apply full braking to a single wheel to recover from a skid. In fact, just corrupting the data from the steering-wheel angle sensor could have had that effect (which I personally find rather terrifying in itself.) Good job, guys, now you've caused a 70 MPH rollover in traffic.

The right way to do this would have been for the researchers to call the police up front and arrange a demonstration on a closed road with police escort. That would have lent the video more credibility and shielded the researchers from liability, while addressing any concerns about safety or ethics.
Here's a proof-of-concept implementation of "docker pull" in bash (YMMV, I think it has broken since I wrote it): https://gist.github.com/tlrobinson/c85dca269f4405ad4201
They haven't for a while. Some of the claims, at least in this story, are way over the top.
ITT: Pussies call the police on their peers, shame-defend their pussy actions as "responsibility," display fear-aggression against people defending the researchers' actions.

> 40 MPH = dead stop

> Blasting the radio = life-threatening

> Enjoying the test by laughing about it = black hat

> 4 years of inaction by car makers = no need for drastic action

It's one thing to be against what these researchers did. It's another to call the police on them.

Pussies.

Also ITT: Wonderdonkey is downvoted into oblivion.

> I regret nothing!
I think the problem they will run into is in expansion. If I need to go, I need one closer to me asap. I hope they partner with local businesses and incentivize them to keep restrooms clean and tidy.

Countries like India could really benefit from it. I always imagined a lock like Lockitron with a subscription based app to unlock clean bathrooms nearby. Leave reviews. I think this would become something funny and useful.
Every few seconds the screen freezes for a fraction of a second. This happened to me on both Chrome and Firefox.

I suspect the lag is caused by garbage collection taking too much time. I ran into a similar issue on Firefox when working on my canvas game. Not sure how this can be fixed. (fwiw, I am running on this on an i5 Macbook Air)
yeah. lived in a city a long time, but living in a va suburb now is bliss by comparison. trees, peace and quiet. walkable groceries were great, but choice from top grocers within a few minutes by car is even better - wegmans, whole foods, even harris teeters.

not to mention getting anywhere takes like 5-10 minutes.

what do i miss? a great modern restaurant experience, but classic ethnic is great out here - indian, chinese, mexican etc.

factor in better schools for your children for "free" and i can't see a reason to live in a city.
Agreed.

College kids never spend a lot on trying to gain social status.
WProgress
Prior discussion: https://news.ycombinator.com/item?id=9913943
Just remove the "designed from scratch by California programmers" and tell me how this quote isn't blindingly, obviously true. The world is a mess and screams to be fixed, and not only technologists see it.
it might be fairer to say that before we even get to the complexity problem we have to solve the raw data problem.
The issue isn't that an infinite sum of tiny terms don't converge -- the issue is that individual terms of perturbation theory diverge. An example can be found in J. Chem. Phys. 112, 2000, 9736-9748 "Divergence in Moller--Plesset Theory: A Simple Explanation Based on a Two-State Model" DOI 10.1063/1.481611 (Note that this is specifically in reference to Moller--Plesset Perturbation Theory, but the divergence is a general phenomenon)

I'm not saying that all perturbation theories diverge. Moller--Plesset perturbation theory doesn't even always diverge. But the divergence behaviour is not in the form of an infinite sum of tiny terms being infinite, but rather the individual terms of the perturbation theory increasing without bound (and oscillating sign).

Also note that it is possible for truncations of perturbation theory to diverge with increasing order, but for the infinite sum of all (divergent) PT terms to converge and be finite.
Is this Mac-only for the foreseeable future?
I really like your rebuttal, it's food for thought but here's my counter-argument to this. You can't really compare the experience you get from driving a certain car to that of a smartphone.

Cars are in a whole new category and there are a lot of tangibles and bells and whistles that symbolize or embody a car brand where in the smartphone world it's all about smoke and mirrors and how to market your overrated stuff as the latest shiny thing to attract as many gullible people as you could to hand you their wallet.

So, no cars can't be compared to consumer electronics in terms of brand loyalty or user experience.
I think this is a very good insight. UX is a huge differentiator. In the early to mid years of Android, Apple had no real competition. Although I have some qualms about Material UI designs (why does it lag when I press ON and OFF? why does it look and feel like dreamy cotton candy world?), the UX has gotten considerably good on the Android due to faster and cheaper phones. However, I do agree that Jobs absolutely nailed it with UX and focus on that area (much like how luxury car brands focus on the little things).

My answer to your exercise is that Tim Cook indeed tried to duplicate the same formula to a new device. Some problems are that there is such a small screen real estate, the UX would need a different approach. Another is market fit for the demographic that are into luxury. Would wearing the apple watch make you look cheap and "techie" or send other unintentional messages about you? The people who wear watch these days seems to be those that wants to flaunt their 100k Rolex or older generation. I remember people stopped wearing watches when cell phones displayed time, (I never wore one, I relied on my internal clock), an entire generation might have never wore a watch before, could the apple watch end up like the iPad where people first buy it out of curiosity and nobody bothers with it afterwards? Who knows but Apple will have enough cash to screw up several times now (if they do reach trillion dollar market cap). If Tim does make the Apple Watch a success, it would be huge for Apple. You just convinced your loyal iPhone buyer they need a watch now too. Experience and lessons gained with Apple Watch could lead to more wearables, maybe we'll see Tim do his take on the Google Glasses.
"Those who block all cookies, will not be tracked by Google Analytics, because all data is transmitted to the Google Analytics server via the basic (first party) cookie.

Those who delete cookies, will still be tracked, but they will be defined as new visitors every single time, because the web analytics system will not be able to associate them with their previous site visits."

While deleting or disabling cookies is helpful one needs to block web bugs as well.

The analytics services - there are many in addition to google - dont need cookies to associate your previous site visits because your IP, user agent, capabilities such as installed plugins, language and other stuff in the headers if your http GET or POST requests are enough to identify you.
Pen and paper. I find that writing down ideas related to a piece of code I'm currently working on, or writing down the next tasks I have to work on helps me stay focused and productive throughout the day. If I get stuck on something, I'll also brainstorm on pen and paper.

My solution isn't perfect, but its helped tremendously. It also serves as an ever-present todo list if my mind wanders a little.
The lockitron integration is actually a pretty efficient & interesting integration idea.
If you don't have that much time to write tests I'd recommend integration tests. Then at least you have some tests. Treat integration tests as smoke tests. If there is smoke then you can start looking for the fire. Integration tests are always better then no tests at all. At least they tell you there is a fire even if it is vague in telling you where it is.
in the time you read this article, facebook developers have added another 1500 lines of php and pushed most of it to production.
Funnily enough, I worked on a similar app a while ago called Restroom Rater - https://restrooms.io

Though it was more like Foursquare/Yelp reviewing for public restrooms rather than paying to use private ones.

We ended up targeting handicapped people as a market who had an actual legitimate problem which we could help to solve.
Also, the fastest company will almost always lose to a fast one that stops once in a while to ask "Should I really be doing this? Or is there any other better opportunity?".
* Until you have too may keys on your agent

* Until you have a script repeatedly attempt w/o your keys unlocked

* Until you try from a new computer on the same network and fail to setup your keys first.

Ask me how I know :)
> you're the one pulling an ad-hominem on the police

While I agree with much of the rest of what you right in that comment, this is not accurate: overgeneralizing a negative stereotype of someone other than the other party in a debate isn't "pulling an ad hominem".
IE11 has been doing automatic updates for at least a couple years now, by default.
I think a good way to drive a joke home would be to say that "web is for pussies" while displaying photo of a pussycat.
>This is what we've come to though - the government has taken away our rights and sell them back to us with permits.

Perfectly stated. Perhaps especially in this case with "zoning" laws. Dealing with a bunch of crap myself in trying to find commercial properties. Unbelievable the number of codes and rules...
Show HN: Buttermilk Supply – knives from Japanese masters
Stallman had a printer which had proprietary drivers, and he wanted to fix an issue with the driver.

So how did that work out? As far as I know, there are pretty much no printer manufacturers who open source their drivers.
Why does FedEx send me e-mail about the status of my package, when I did not sent one?

That is: Consider that this might be spam and/or phishing.
Right, I did take a few pictures with the iPhone 1. They were really bad.
I made an Objective-C command-line tool that exhaustively searches for solutions.

http://pastebin.com/H2nZ9Fxz

It found JoshTriplett's 10-line solution and shows that it's minimal if you don't allow undefined REPEAT behavior, and it found daveloyall's 5-line solution and shows that it's minimal of you do allow undefined REPEAT behavior.
Sharing salaries has become a theme here on HN. I'm curious: Why Now? Who is pushing these stories, and who benefits from Open Salaries?
You shouldn't compare Q3 2015 to Q2 2015, but to Q3 2014. Otherwise seasonal effects and things like product launches play too big a role. The iPhone 6 has been out for some time, for instance. Sales of that taper off a bit after release.
PHP is not dead. It remains about as popular now as it has been for some time, and shows no signs whatsoever of dying.

There's not a lot of new or interesting stuff being done in PHP, because of the limitations of the language, but it's still the main workhorse for a great deal of humdrum ordinary Web stuff: forums, blogs, wikis, smaller shopping sites, smaller content management systems. Most organizations simply don't need a bleeding edge solution, and for them something thrown together using off-the-shelf PHP-based solutions (WordPress, MediaWiki, phpBB, etc.) will be quite sufficient for their purposes.

Also, because PHP is so pervasive and so readily available, PHP developers are really easy to come by.
It's funny that you say that now after agreeing with, and adding to the comparison of drones = cars and planes = bicycles. Now when someone flips the comparison, equating drones to bicycles, the comparison is apples to oranges?
Maybe you're right, but I feel like if there's one thing that will tip them off, it's the graphical similarity of the icons, rather than all the OS connections you've described.
Sure, you can minimize global harm from pollution etc., but locally even something as simple as a house cat can have large scale impacts. Further, people want large changes like dams to reduce flooding, drainage etc.

Aesthetically, it might seem more natural than asphalt, but lawns are a long way from ‘nature’. Realistically to have anything close to 'nature' assuming zero farming you’re looking at ~1 person per square mile if that.
I agree, it's an interesting point. "Black" culture isn't nearly as uniform as some people would like to believe. As a mixed African-American raised around multiple different ethnicities, my brother and I have had many heated debates about the usage of the word. Even within our own community. In the end, it really doesn't matter much to either of us. It's just interesting.

For us, there is no stigma attached to non-blacks using the word. The problem is intent. Like any word, it can be used negatively or positively, and I prefer not to have to second guess whether you meant it one way or another. So I kindly ask people, that I don't know well, to refrain from using it around me.

One night I was having dinner with my ex-girlfriend, who was full-blooded Italian, and her family. Her mother absolutely loved me. Somehow we got around to the topic of how much better I was than her ex-boyfriend, and her mom blurted out, "He was such a n-er." When she realized what she said, she looked at me and said, "But you're not a n-er. You know...there's just certain people that are." I never directly responded, and I wasn't sure how I felt about it at the time. But it opened my eyes to the complexity of even attempting to define what the word means to different groups of people.
Employees benefit from open salaries. Employers already know all their employees' salaries.
I know e-commerce might not get a ton of love here, but I'd really appreciate any feedback you might have for me. I've been a fine-dining chef for years and recently left my restaurant to build a business around my love of Japanese knives. I've been working on the site slowly over four months. I think it's good, but I'd happily accept anything you can say about it. Thank you!
They had a version for Unix. It probably ran on Linux through a compatibility layer but it was not designed for any Linux distro.

And that was a long time ago when they were competing with Netscape. It was easy for them to do that because the original IE was mostly a branded version of Spyglass's Mosaic which was designed from the beginning to run on Unix and Windows.

https://en.m.wikipedia.org/wiki/Spyglass,_Inc.
You may be underestimating how powerful a hold that word has on the American subconscious. Heck, I even get a little queasy when I read Angular code with ng-this and ng-that. Of course I know "ng" just stands for Angular, but I still do a double-take, at least a minor one.

Regarding the use of the word among black men to mean "buddy", sure, my older Italian relatives used to call each other "wop" as a in-group term of affection. But woe to any non-Italians who called them that!
It's also worth noting that the brain itself is ticking at something around 200Hz tops, but it's massively parallel.
Are you using a low port number? I see precisely 0 failed ssh login attempts on my servers.
It's better to ask who doesn't benefit from opens salaries and why is it supposed to be a taboo to begin with?
Did you read the article? Here are two quotes:

"Second, Miller and Valasek have been sharing their research with Chrysler for nearly nine months, enabling the company to quietly release a patch ahead of the Black Hat conference."

"WIRED has learned that senators Ed Markey and Richard Blumenthal plan to introduce an automotive security bill today to set new digital security standards for cars and trucks, first sparked when Markey took note of Miller and Valasek’s work in 2013."
I will be writing some articles on "isomorphic rails" -- I figure that has big reach and gives you the best of both worlds
* shared ruby code and views on front and back end
* everything else Rails does
without having to learn a new server framework
Thanks!

1) Many of the projects I do usually have some sort of crawling aspect to it. So therefore I found myself duplicating crawling code every time and so I decided to turn it into a hosted service that all my projects could benefit from. It stores responses, handles proxyification, and has all sorts of optimizations implemented that's useful and essential to crawling. It passes data via evented webhooks and is built in Rails, PostgreSQL, and Redis. As of now, it's not open to the public but if there's interest, that could change :) For more information, please see:

http://bit.ly/1KiUmlS

2) Right now the "trending score" is calculating based on the current and previous Snapshot. The formula is as follows:

current_snapshot_earnings - previous_snapshot_earnings
------------------------------------------------------------------
previous_snapshot_earnings

Very simplified I know :) Your formula is much better and I plan on implementing that soon! Thanks for checking out PledgeSociety as well as the lovely feedback.
> From the sounds of it, you're running into how hard it is to balance security and usability. Personally, I prefer security, but I'm sure I'd say otherwise if someone was blocking me due to an old, outdated, policy.

What happens is the application will end up requiring dozens of roles juggling easily a hundred (discrete) privileges.

The LDAP, AD, X.500 enterprise directory you have to integrate with will not have that granularity so a whole set of interfaces will be needed to map group(s) from the directory to role(s) and then you need an overlay to allow super users to customize the imported users.

And you somehow need to handle the case where user disappear from the directory without breaking auditing. And you need to grow bulk modification interfaces and import interfaces for those user/roles/privileges.

And then somehow make the UI human usable. And suddenly you'll need special "users" for anonymous session that are API launched, a whole API authentication layer and your load balancer now suddenly need to be session aware, and they want single-sign-on.

And we've not actually implemented any core functionality, just satisfied the security dude that this will be SoX/HIPPA/ISO-27001 compliant.
While I do understand many prefer videos I cannot tolerate them myself.

That contributed to my divorce. Not because I was angry with Bonita for watching TV all the time but because we spent very little of our free time together. She watched TV in our living room, I listened to music in my office.

I once met a science fiction writer who did not own a computer. I said, "This is gold to me. Please tell me why!"

"I like paper."

I wouldnt be caught dead with an eBook reader but my dear friend Norman King is heavily into them.

The business term for this is "market segmentation". One has the choice of deeply penetrating one particular segment such as video tutorials, or spreading oneself thin by covering multiple segments; despite that I dont care for them I plan to produce some video tutorials of my own.
>>For Apple, that's a miss by a mile, sorry. And it's not like I'm the only one that thinks so -- check the stock price. It doesn't care much about downvotes either.

Pointing to the stock market as some sort of paragon of rationality is not a bright move. You may want to reconsider your stance.
I posted a comment about the web-crawling framework below so check that out for more info. Also, check out this if you'd like to know more about it @ http://bit.ly/1KiUmlS
3 Types of Startup Advisors You'll Find: Dad-Type, Mom-Type and Grandpa-Type