skysight-inc/HackerNews huggingface dataset:
The question is why are you depressed before the question is how to deal with being depressed.

For me, I was socially isolated, failed out of school, bullied at school, home and work, unsuccessful with friends or women and kept getting laid off, fighting with my coworkers and managers.

It wasn’t until I learned about Aspergers and did a detailed study on all the problems people with Aspergers have that I understood all of my problems stemmed from me likely being on the spectrum. Once I learned that, I was able to understand why I was being targeted and why most people seemed to hate me immediately within one conversation despite me thinking I did nothing wrong. Then I was able to make adaptations for how to structure my life around the fact that I was different.

If your problem is a minor chemical imbalance and you just need some vitamins, a jog and rest - To me this isn’t really depression, as someone who was on and off suicidally depressed for a decade.

For me: I was depressed because my life sucked. I could make the depression go away temporarily but it always came back. Cognitive Behavioral Therapy really
Helped me.

After being told by teachers, my family, coworkers, people at school that I was stupid, unlikeable and ugly etc it took me a long time to undo that because I really believed it. CBT is about arguing with invasive negative thinking and changing your filters into better ones.

When I get depressed now, I write down a plan to stop being depressed and go through all the steps sequentially from simple to hard. Usually works, but only if I start with easy things first.
it's something of a trend in music, to have special characters in the artist's name. especially with "underground" acts, it's almost like the more unpronounceable or SEO-able the name is, the cooler you are.

at any rate, Yahoo! worked out ok, until it didn't.
Oh my god, not all birds fly, it ruins the whole thing!!!!!

No, it's a perfectly fine place in the analogy, to have a teachable moment. Since not all birds fly, just don't make flight part of your base class. I mean? Or get clever and have flighted and flightless bird classes inherit from Bird? If you want to be that much of a pain about it, you can; the paradigm supports it.
Were you assuming that I took this position because I'm a "technical [person]"?

Incidentally, I'm a musician and music teacher who started out focusing on creative exploration, improvisation, composition, and world music. I found it frustrating that I went through years of "music theory" only to much later realize that all the deeper insights and questions I had were already understood and studied by people in music cognition and related fields and yet most music education never brings up any of it and most music teachers are totally unaware.

One good intro: Music and Memory by Bob Snyder. That was written not for technical people but for multimedia artists at the art school where he teaches. They needed to understand music to use it better in their art. So, he wrote a book to actually explain music in a usable way. It's far and away more insightful and practically applicable than the traditional "music theory"
In OCaml:

module Foo = struct
let first = 1
let second = 2
let third = 3
end

module Bar = struct
include Foo (* Include contents of [Foo] *)
let third = 4 (* Override [third] *)
end
There’s No Fire Alarm for Artificial General Intelligence
Hey as long as your mileage is a little more than the length of the course you’re going to be fine.

But in all seriousness, barfing will happen more to certain people; but almost always after they stress their body out more than it’s used to.
> * While probably generally true for young people, research on older people suggests that not everyone wishes to be immortal*

Exactly, by very definition of getting "older", they already know it's damn well not going to happen. They feel their frailty and corporeal limitations, and have lost other people to mortality, so they learn to cope with it, via the very topic of this post: Terror management or whatever you want to call it.

I said at the core, because the purpose of any mind is to, well, mind. If a mind wishes to cease to exist, it's because it's unable to attain its desires and knows it will never have enough time (for some, to even find a desire in the first place.)

I've always been fairly morbid myself. If given a choice, I'd choose to be immortal or never have come into existence at all, rather than this temporal teaser.

Like the comment below by rinchik [0], our global culture encourages every mind to .. succumb. We're discouraged from feeling, from the core essence of sentient existence.

[0] https://news.ycombinator.com/item?id=21298809
Basically, replace tires if they are 5 years old on cars like that. Age is a big problem.
The planet needs China to curb its appetite for meat
Spoiler: the problem this tool tries to solve is developers are too lazy to put a working docker-compose.yml on their repo.
as a programmer, I really wish they're was a google setting that respected special characters. in general the algorithm seems to throw them all out discriminately. perhaps they're not indexed at all, for performance reasons?
Step 1) hire a manager for people management skills and no technical nouse

Step 2) Hire a lot of yes men

At least in OPs response, their manager defers to those who know better.
I missed the UYK-7 by a couple of years. But I lived the 43 and Q-21 for years.
Yep, same. Was thinking it was going to be a parody of another minimal - project management tool.
Seriously? Music theory is a mess because intervals are counted from 1 and not from 0?

>literally every other context ever in the history of everything

Have you met a single non-programmer that counts in everyday life starting on 0? Do you even start counting with your fingers from 0?
Alcohol, cocaine and pussy is my honest answer.
I think it would be hard to prove anything outside out of gross incompetence. If he buys a Florida home and uses it as his primary residence, he would be able to keep the house even during bankruptcy. So he could buy the $40M, declare bankruptcy on the margin loan, and then sell the house eventually as far as I understand it.
I sensed no anger in the comment, and it was a fairly well-made point.

relax.
I still remember as a kid back in the 80s when a friend and I were making BASIC games on our Tandy 1000s with just the reference manual that came with the computer, and he was trying to explain to me what a FOR loop was, and I was not getting it. "Why would you want to do the same thing twice?"

Just this morning my own 10-year-old was looking over my shoulder while I was debugging some C, and I explained for loops to him. Since he plays violin I said it was like a repeat in music, and he seemed to grok that right away.

My other memory of those days is, after years of dismissing GOSUB as useless ("Why would I want to go back to the same place I just left?"), finally having a flash of enlightenment and getting the point. It's a function call! (Not that I knew what those were....)

Sorry this has nothing to do with the wiki page. :-) Except maybe that to at least one kid loopy programming was unnatural.
No I don't. All you need, though, is the ability to draw straight lines (well, great circle lines) between points. You could do the region generation once offline, in Python:

import numpy as np
from scipy.spatial import SphericalVoronoi

import json

with open('volcanos.json', 'rt') as f:
volcanos = json.load(f)
#There are some nulls in the data:
volcanos = [v for v in volcanos if v['longitude'] != None and v['latitude'] != None]

def longlat_to_xyz(longlat):
longlat = longlat.reshape((-1, 2))*(np.pi/180.)
r = np.cos(longlat[:, 1])
return np.column_stack((r*np.cos(longlat[:, 0]), r*np.sin(longlat[:, 0]), np.sin(longlat[:, 1])))

#go through set to remove duplicates:
volcano_longlat = np.array(list(set((v['longitude'], v['latitude']) for v in volcanos)))
volcano_xyz = longlat_to_xyz(volcano_longlat)

sv = SphericalVoronoi(volcano_xyz)
sv.sort_vertices_of_regions() #make the vertices go around each shape

#find unique edges (they're shared between regions):
edges = set()
for region in sv.regions:
region.append(region[0])
for i in range(len(region)-1):
edges.add((region[i], region[i+1]))

long_min = -30.
long_max = 330.
def xyz_to_longlat(xyz, long_min=long_min, long_max=long_max):
long = np.arctan2(xyz[:, 1], xyz[:, 0])*(180./np.pi)
long[long<long_min] += 360.
long[long>long_max] -= 360.
return np.column_stack((long, np.arcsin(xyz[:, 2])*(180./np.pi)))

vertices = xyz_to_longlat(sv.vertices)

#To draw the regions on Google Maps etc., save edges and vertices as JSON and load into JS.

#To draw the linked map with Matplotlib (very slow for hi-res, and it was fiddly setting up the right conda environment):
import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap

fig, ax = plt.subplots(figsize=(16, 10))
m = Basemap(projection='robin', lon_0=-200, resolution='h', ax=ax)
m.drawcoastlines(linewidth=.1)
m.drawcountries(linewidth=.1)
volcano_longlat2 = xyz_to_longlat(volcano_xyz)
x, y = m(volcano_longlat2[:, 0], volcano_longlat2[:, 1])
m.plot(x, y, 'ro', markersize=.5)

for edge in edges:
m.drawgreatcircle(vertices[edge[0], 0], vertices[edge[0], 1],
vertices[edge[1], 0], vertices[edge[1], 1],
color='b', linewidth=.3)
fig.tight_layout()
fig.savefig('volcano_voronoi.png', dpi=600)
I'm a native English speaker, so I'm sometimes unaware of English grammar. I had no idea that English has subjunctive. That would have been helpful to know when I was trying to wrap my mind around the Spanish subjunctive. I'm currently learning Hungarian, which uses the accusative case. It took me awhile to wrap my head around, until I realized that "him/her" is the accusative case of "he/she" (used when it's a direct object) and now I know the difference between "who" and "whom" (accusative). I never knew that before. It's interesting how different languages, and evolving forms of languages, tend to have the same grammatical structures. Makes me wonder if there's some sort of grammar that's innate to the human brain.
Assuming you’ve tried conventional anti-depressants and you’re in the US, have a look into ketamine treatments. Studies show dramatic results for a good percentage of people and a good safety profile (shorter term at least). They are expensive.
At the end of the day, somebody has to pay for the health care.
Just to be clear, I'm not say comfort eating. It's that I need protein. If I couldn't afford a steak, the cheap option is liver and onions.
The Third Largest Whirlpool
Thanks for finding it out!
I'm wondering if people think this is "too paranoid" or "too obvious"?
I hope they help. For me the main take-away was that your brain needs rest, which is not the same as recreation. Be kind to your brain and digest in manageable chunks :)
Spend every winter in Thailand or some other sunny place. Worked for me for 10 years..
Honestly, I'm sorry people treated you that way. I actually know the cause of my depression and it's something I can't really solve at the moment unless a miracle happens (that is if miracles exist). Thanks for your response
> You could argue that if we made self driving cars as safe as flying, that would be acceptable. Except the net benefit/upside of a self driving car is not sufficient to justify the downside of its failure mode.

Aren't you ignoring the human failure modes here? If self-driving cars were safer than human-driven ones, we would definitely be in the positive, and even more so for "safer than flying". There would simply be no downside (in terms of failure mode/rate) to begin with.

I get your overall argument, but for this point you are ignoring precisely what you are advocating for - you are looking at the solution in isolation, not comparing to the alternatives.
One of my favourite books, by some of my favourite authors.
Thanks for your contribution! It's just that I will be more appreciative if the solution doesn't involve spending money.
If a predictive process discards risk for humans who lack access to healthcare, it’s creating an obvious ethical problem.

There’s a big difference between writing a loan and missing a stroke.
UC Davis Wondered If $175,000 Would Make the Internet Go Away. Conclusion: No.
If I work on an observable notebook, is it (or can it be) backed by a git repo? Is it convenient to edit the code in a traditional text editor?
Lg v20 is slim enough and can be serviced and opened easily.
"ORBIS is designed for modern browsers and uses technology that works best in Chrome or Safari."

I'm using Firefox, which is a modern browser.
Flying to another country implies you have the money to front a ticket to another country, that you've had the foresight to get a passport to go to mexico (I guarantee if you asked many poor people if they had one, they'd say no) and that you can actually take time off to do said medical tourism.

For a lot of people? A few days off means they lose their job and everything else. So they work through the pain or the illness until it becomes a severe medical emergency.
I was in a coffee shop in Redding, CA that was apparently across the street from a bankruptcy court. Inside said cafe I was in line with a gal who had Stage IV cancer and was battling debt collectors to keep a car, house and the proverbial shirt on her back because the hospitals, doctors and insurance companies wanted everything while she was dying. This is what vampiric, grotesque, cannibalistic wealth transfer from the very poor to the very rich looks like in a third-world country without universal healthcare.
The difference is now you have a lot more content being developed which is now opening up spaces for voices that haven't been typically heard in mainstream hollywood.

Complaining about a few $ here and there seems a bit greedy.
More expensive? Thats very marginal additional cost. Screws cost close to nothing.
One thing that's helped me is journaling. I used to write by hand, but find doing so too slow, even when I type.. so in recent years I've taken to recording my thoughts in on a voice recorder (though a smart phone with a voice recording app would probably serve just as well). What I say is completely private, and meant for no one's consumption but my own, though I very rarely even review what I said. I talk about what's been happening in my life, my concerns, and my thoughts on various subjects.

It's much like therapy, though of course without a therapist's comments or insights, so it's not quite as good, but I still find it very helpful to talk through what's been going on with me.. and sometimes I even come to novel conclusions and insights through this process.. thoughts and perspectives I did not have before I started.

Othre things that help are listening to positive, energetic music, going outside on bright, sunny days, spending time in nature, eating a healthy diet (including supplements like D3 and B12 that I don't get enough of in my life otherwise), and exercise. Talking to interesting, friendly people helps, as does having a fulfilling job that pays enough to pay for the basic necessities and keep me from living on the streets. Occasional treats that make me feel better afterwards (as opposed to ones that feel good in the moment but awful or guilty afterwards).

I like to visit libraries a lot (particularly academic libraries), and often feel at peace there, lost among the greatest minds the world has ever seen, all at my beck and call, willing to share their experience and wisdom as I become ready to learn what they have to teach.

Computer games can also be de-stressing and distracting, thought when they're really good it's too easy to slip in to addiction, which could have adverse consequences if one plays them to the neglect of other important aspects of one's life.

Something else that helps is meditation (of the simply focusing on one's breath type). Avoiding toxic people who try to drag you down with them helps. Learning to enjoy your own company and like yourself instead of loathing yourself helps.

Sometimes talking to someone at a crisis hotline helps (if you're lucky enough to get someone good on the phone). Finding a good therapist you like, respect, and trust, and to whom you can do the hard work of opening up to is of course wonderful as well.

That said, some days nothing helps (or you are just too depressed to do any of those things that help, or forget about them), and you just have to ride out the feelings and try to take comfort in the recognition that those feelings are not permanent, and you will feel better sometime in the future. Having ridden out many such days in the past helps. As the saying goes, time heals all wounds.
If you plot them as XY it's even more obvious which one is perfect consonance and which one dissonance:

https://www.wolframalpha.com/input/?i=%7B+x+%3D+sin%28t%29%3...

https://www.wolframalpha.com/input/?i=%7B+x+%3D+sin%28t%29%3...
Absolute nonsense.

What about the poor people who only have one hospital nearby that might not accept their insurance? What about people who go to a hospital that's in their network, but it turns out one of the many doctors was not? The people who have a time critical illness who can't afford to do the whole Free Market thing right after a accident?

How does anyone know that when they arrive somewhere the exact number of treatments needed to cure their illness? Are you expected to walk out of the hospital and refuse treatment because you've tabulated all of the prices for all of the services needed, then ask the ambulance to take you somewhere else?

The free market solution to health insurance simply does not work and it's insulting to see people suggest it time and time again. It ironically only works in heavily centralized areas where people actually have a choice, and not the more rural areas where hospitals are far more spaced out. There's far too many variables at play for even software engineers to manage unless you dedicate a significant amount of your free time to maintaining an excel spreadsheet of every hospital near you and their prices, formulate the exact cheapest plan on the fly according to your personal needs and can pull that out immediately when you have a medical emergency.

And that's assuming they didn't decide to go out of network the day before and delayed updating their database.
Disney created Touchstone for this purpose in the 1980s. Disney bought Miramax in the 1990s and as far as I know, they never used Miramax to release a Disney Studios-originated property. I could be wrong.
Potato starch has a HORRIBLE glycemic index . . . .
My favorite example is not the commonly seen average function in the J library (avg:= +/ % $), but the one that Dyalog APL has with their interactive tutorial that looked a little weird to me until I figured out it didn't just work over lists, but arbitrary dimensions like an array of 2x2 matrices. I just laughed to myself...oh what magic the gods have wrought.

Unfortunately, my programming needs are high performance scientific computing where APL just doesn't have enough horsepower in most cases (J has some ability to call out to BLAS/LAPACK, but Julia makes it so easy to work with sparse matrices that it has become my go-to Lang for that work) and I also do scripting (Python, Bash, Powershell, and a little Perl6) and J/APL are a little awkward in these areas IMO.
Its a Ubuntu distribution or OS.
> The foreword of this book must be the only one I have ever read where I disagree with almost every statement it makes.

I just went an reread the forward, and nothing struck me as controversial. Could you elaborate a bit?
I wasn't sure what Pop!_OS was but found this page:

https://pop.system76.com/docs/difference-between-pop-ubuntu/
Lots of exercise. Gets a whole bunch of chemicals in your brain to flow again. Some of those chemicals cause depression. But they need to come out of the system (eventually).

Lots of water. Drink water when you are tired. When angry. When sad. When bored. When excited. When energetic. Removes toxic chemicals in the body.

Good thoughts. Great thoughts. Speak to a psychologist. Read a book. I did.

Arrogance hides away anger. Anger hides away sadness. Sadness hides away attitude of helplessness. Helplessness is lack of resourcefulness. So be resourceful.

Forgive. Forget. Move on.

Lower expectations of yourself.

Increase appreciation of others, and of yourself.

Lots of sleep. Depressed people sleep a lot. But your sleep needs to be strictly regulated.
In the US, you have to pay for that privilege. Your family will need land they own, someone to pay taxes on them, etc. At graveyards, most are 'leases.'
I examined the rhythms of my depression and left Seattle for a much less expensive, and much sunnier city. The number of times I have to take that little inner voice who thinks suicide is a valid solution to my problems, pat her on the head, and say "thank you for your lovely contribution, I will treat it with the same seriousness I treat all your other suggestions"* has dropped from one or more times a day to... I think maybe once or twice in the entire half a year since I left Seattle?

A sun lamp helped some. So did lots of vitamin D. So did exercise. Pole dance, to be precise, I need to get back into that now that I'm settled. But it helped less and less every year, to the point where I felt like I only had a few years left before I'd be at serious risk of acting on that voice's suggestions.

Previously I also dealt with depression by staring my gender dysphoria in the face and taking a lot of hormones to persuade my body to get to the point where nobody thinks twice about giving me my preferred pronouns. Things were pretty good until I moved to places where there was Real Winter.

Dissect your depression. Analyze it. Listen to it - maybe even name it, that suicidal urge had a name borrowed from an old RPG character who did a lot of self-harm stuff. When you come to the conclusion that a lot of your depression comes from trying to deal with a particular Horrible Thing, then work on changing your life so that Horrible Thing is not part of it any more.

Oh yeah. Meditation can be valuable too. Just sit and watch your thoughts pass through you, if you catch one running away with you then just shrug, remind yourself "silence!" and get back to trying to empty your mind. Do it every day, or as close to every day as possible. This will give you a lot of training in recognizing different parts of your brain, detaching from unwanted trains of thought, and otherwise managing your brain. You will probably suck at first. Allow yourself to do this, celebrate getting better.

* which is to say "dismiss it and get on with my life as best I can despite being pretty miserable"; this little mental exercise of treating that urge as a separate personality and telling her that I did, indeed, hear her idea helped me dismiss it when it came up instead of spending ages going around in a mopey rut.
Going to repeat everyone else. What does this do?
https://news.ycombinator.com/item?id=19459658

dang:

We delete comments for people nearly every day. It's true that we don't allow wholesale deletion of account histories, because that would gut the threads the account had participated in. But we also don't want anyone to get in trouble from anything they posted to HN.

The idea is to balance the need to preserve history (community interest) and the need to protect users (individual interest). We don't get there perfectly, but I can tell you for sure that the vast majority of people who ask us about this end up happy with how we help them.
are you drinking enough water?

just kidding, same. it's hell.
I've been using Pop_OS for ~6 months and have found it to be very nice.