skysight-inc/HackerNews huggingface dataset:
Exactly. My dad is a musician, and I always wanted to make music, but I just don't have that thing where I'm always thinking of new melodies or beats or whatever. I know that I could not make music on par with the people in the world that do this like my father. Unless I have some previously undiscovered stroke of genius with music. But that is very unlikely, and still the standard comes down to "How much do you enjoy doing X?" that really determines how good you are or will be at X. I fucking love programming. That means I've got the capacity to excel at writing code. But I'm only okay at making music, and I only really listen to music when I code. So there is diminished capacity for me to be a rock star. Sufficiently diminished capacity that I probably will never be a well-known musician, let alone Michael Jackson.
Why bother converting the website to an app in the first place..?
It seems to me that this must use a very broad definition of cardiovascular disease.
It is. I want to finally understand why and how I can secure a login form against CSRF (i.e. when I don't yet have a session for the visitor).
Congratulations, any way we can take a look at it?
Areas where children are disproportionately less likely to be married than their same-income peers at age 26 will be reported as having lower income mobility in this analysis since it uses household income.
Keep in mind that part of owning copyright to something (actually, the main part) is having exclusive control over copying / distribution. Having exclusive control is a property of copyright, if you will. So making the unauthorized copy is permanently depriving the copyright holder of that exclusive control.

Another way of looking at it: Lets say you were a collector of widgets. And Acme Widget Co. markets a given widget, which they say only 100 instances of it are ever made or are going to be made. So you purchase that widget because you know it will be worth a premium to other widget collectors, due to its rarity. Now, assume that after you fork over big money for a 1-in-100 widget, Acme then decides to make a million of them, selling for a fraction of the original price. Now your specific widget, which you still own, is worth much less. Wouldn't you want to sue to get your purchase price back, since they sold it to you under false pretences?
Among other things, I recall the following to have worked for me:

* 12-step work (Al-Anon / CODA)

* Intense enough exercise. You want to get a strong endorphin high going. Anaerobic exercise can be a very powerful mood- and motivation-builder. A bodyweight/kettlebells mix taught locally as "combat conditioning" works very well for me. Kinda social enough but still good for "loners". Competitive only towards oneself. Motivation starts rearing its head strongly when body picks up on the endorphin high. I find it very hard to get motivated for straight-up weight training. Rock climbing has been very therapeutic to me as well. (The body is a subtle pillar. Living life in a strong, supple body and a trained endorphin reward system makes every single thing more enjoyable. Just walking feels good.

* Meditation. Any meditation is good. "Dark" / tantric meditation is invaluable as an aspect. Headspace.com works well. Meditation does really open the mind towards enlightenment, I have found. I have experienced brief glimpses of full serenity in everyday moments through meditation. Not during meditation but in the life that is lived around it.

* This unbearably beautiful Nietzche quote: "Reife des Mannes: das heisst den Ernst wiedergefunden haben, den man als Kind hatte, beim Spiel." ("Maturity: To have finally rediscovered the seriousness one had as a child at play.") Apply it to exercise, meditation, the discovery of life and living it.

* Offroad motorcycling. It cannot be adequately stated in words how transcendental, intense, and meditative the experience is.

* Edit: Giving up smoking!!! Nicotine is such a subtle poison. It's an illusion that it is hard to stop, but the illusion is tricky to break, but still it is easy. Very subtle and tricky. Allen Carr's Easyway to Stop Smoking worked for me.
A little bit disingenous, perhaps, that no matter your location it is referred to as "the focus of this article".
It can seem strange that medication might help a psychological condition, but definitely take the medical advice.

A friend of mine was found in his dorm room with blood on the walls; he wasn't taking his meds. After a lot of battling (with a number of issues), he finally got around to it. He got back to finishing his degree, and got over his problems, getting a phd in the process.

Don't let it define you as a person that you happen to be ill.
Switch to OSX 10.9, problem solved. My 2012 rMBP with top end specs is also sluggish on 10.10.3. Not sure what Apple is thinking. On the other hand I am still using my 2003 Panasonic CF 73. It's not quick, but for the limited tasks of automating my DSLR it works perfect.
> 1) Lots of deep discharge cycles do negatively affect battery life. Try not to jump between 0% and 100% too much.

Great. Another reason to avoid barely-one-day batteries on phones. They'll die sooner!
or just be passive consumers of apps on smart phones with a cargo cult level of knowledge.
I found this via @mrdoob on Twitter[1] and if he's impressed by this kind of stuff then, well... :-)

[1] https://twitter.com/mrdoob/status/595297811656286208
You are supposed to abandon logic before tossing "digital native" around, so I'm not sure you are using it in the same context as the article.
You need a goal and objective to keep you motivated outside of work.

What inspires you? What are your ambitions?
Do you like to travel? Build? Music? Gardening? Swimming?
> there is such a thing as being too conservative

In my experience, a telco is the definition of "too conservative".
I dunno, nine out of ten appear to be telling him/her to go see professionals. Seems like good advice to me.
On that same note you should always take "personal days", "flex days", "personal choice holidays" before ever taking a vacation day. Most companies will not pay you for those days if you leave so use them before vacation days.
H
hj
> Some people are tone-deaf too, and will never sing nor play an instrument.

That's quite a telling statement. Actually, there are very, very few people who are _truly_ tone deaf. Since intonation is used extensively in nearly all human languages, anyone who truly is 'tone deaf' will have quite an issue in communication. Nearly all the time (and tbh I think it probably is just all the time), they actually just have an 'untrained ear'. Like most people in that kind of position, part of the reason they are in it may well be because they were told when they were young that they weren't any good, and decided to put their efforts elsewhere. And like all people in that position, you can get better. Will they be the next Miles Davis? Probably not. Will they be able to play in a band with their mates? Yes.

A century or two ago, around the time literacy started to become a thing most people could attain, people must have had a similar attitude to yours with learning to read. Some people can read, others will just never learn. Their brains aren't designed for it.

This is how stigmas form. Coding is not that much different to other human endeavours.

All I'm saying is, if you plan on becoming a teacher ever (in the widest possible sense), you're really going to have to re-think your attitude there.
> All the logical advice (exercise, go to sleep on time, live a healthy lifestyle) are things that I struggle to find the motivation for.

In my experience, that is largely the point. Take "cold showers", for example, as this is something that is regularly suggested in cases like this. Is there a benefit to actually being in a cold shower? Tough to say. But really, the benefit is that it's a small-bit-slightly-unpleasant task that's easy to avoid, and if you make yourself not avoid it, you build some small momentum for other things in your life that you lack motivation for. If you can muster the courage to stare into the shower head and turn it to cold, it doesn't really matter how long you wait until you turn it to hot after that.
First off; you deserve to be alive. Suicide is not a solution to anything. Life gets better, stick with it.

I've dealt with depression my whole life as well, and have also had those feelings of anxiety and hopelessness. They are your brain playing a trick on you. It's not reality.

What works for me is to focus on things that I enjoy, and to remember that killing myself will only hurt the ones I care about. I think about wanting to see my niece grow up, and one day be at her wedding, etc. Things like that. Specific things that matter to me, not just vague ideas about loved ones.

I also try to throw myself into things I enjoy when I find myself starting to feel down. Listening to music I like, singing along to it helps me often. I make plans with friends. Not future plans, like immediate plans. If I find myself starting to feel down I will reach out to friends and try to make plans to see them ASAP. Even just to go to dinner or something. This often helps to refocus me on my relationship with them, and importantly, I listen to what's going on in their lives.

I was doing marathon running for a while, running 5+ days a week and that did help as well. Unfortunately I fell out of the habit. If you can find a form of exercise that you enjoy, it definitely will help. But obviously you're only going to do it if you enjoy it.

Another thing that is important is to try to adopt an open minded attitude about trying things. This has always been hard for me, but if I can do it, it really helps. If I can open myself up to trying new things, and remember that if they don't work out it doesn't really matter, that helps. New experiences at least make for interesting stories.

Lastly, sometimes it can help to have a pet. My dogs' cheerful faces always brighten up my day.

EDIT: Also keep talking to your doctors.
(Disclaimer: I work for John Shewchuck)

W3C is working on Web App Manifests (http://www.w3.org/TR/appmanifest/), allowing websites to declare app-like properties. ManifoldJS uses that standard for those platforms that support it, but falls back to Cordova for those who don't. Cordova is awesome, but the W3C also considers work done at Mozilla (Firefox Open Web Apps), Google (Chrome Hosted Apps) and stuff we did (Windows 8 had local web apps, Windows 10 extends over to hosted web apps).
> I tend to believe that mass incarceration isn't responsible for the dramatic decrease in crime rates...

In fact, wasn't there some research that concluded that it was indeed the introduction of unleaded gasoline which decreased the crime?
so do you think Bill Gates and Woz would qualify :-)
This is not medical advice.

In England front line treatment for depression is a talking therapy. This would normally be cognitive behaviour therapy, butthere are others. This works best one to one, face to face, with an experienced practitioner. But some people like and get benefit from group therapy, or from telephone provided sessions, or even self-guided by book or website.

Meds should help. The side effects can be unpleasant and you need to be able to be honest with your clinicians about what the side effects are and if you're taking the meds.

It's really important to hold onto the idea of hope. Things feel overwhelming at the moment, but recovery is possible.

Once recovery has started you might want to look at "resiliance" - ways to protect yourself in future. This might be taking part in team sports or gardening or meditation or putting in place some stuff around work. People talk a lot about the curative powers of exercise for depression, but we don't have enough evidence to show that exercise is a cure. http://www.cochrane.org/CD004366/DEPRESSN_exercise-for-depre...

> When only high-quality trials were included, exercise had only a small effect on mood that was not statistically significant.

Exercise probably won't hurt, but don't beat yourself up about it if you're not exercising.

Here's a nice UK website discussing "talking therapies". http://www.mentalhealth.org.uk/content/assets/PDF/publicatio...

Here's the recommendations for treatment of depression in adults in England. http://www.nice.org.uk/guidance/cg90

If you want a book for cbt I've heard "Mind over Mood" is a useful workbook, although it's probably for the milder end or in conjunction with a therapist. I've heard "mood Gym", and Australian website, is also good. https://moodgym.anu.edu.au/welcome

There are other computer guided therapies. It's a good idea to check the research because some of them are not very good. The Cochrane Collaboration has checked some computer cbt programmes for anxiety or depression.

It's great that you are doing something to tackle this health problem! Good Luck!
Get a sabbatical year and go to Australia with a friend. It worked for me.
I'm in my mid-30s, grew up tinkering/programming/etc., but I have to admit I just don't get social media. But then I'm not a very sociable person in general. My wife (not a techie), however, is all over facebook/pinterest/twitter/etc. doing God knows what while I'm coding all day.

How I learned of the existence of Pinterest:

Me: "Where did you say you posted that thing?"

Wife (annoyed): "Pinterest"

"Your what?"

"Pinterest"

"WTF is Pinterest?"

"Seriously?!"

edit: Pintrest, Pinterest, eh?
Is it a webview?
I wouldn't call DataScript a clone of Datomic. I'd call it a very useful slice of Datomic's functionality, available on the client side. Cloning Datomic as a whole would be a very large task.
This article is making all sorts of illogical conclusions from the stories it's telling. First, how was the company hacked "through their corporate phone system"? They were hacked through social engineering and malware. The phone network was just used for reconnaissance. I'm sure hackers have been mining phone networks for decades. Not that this story isn't interesting, but the conclusion doesn't lead from the tale.

Second, how does he know the bank's phone system was compromised, just because he couldn't reach it? I'm no expert on phone systems, but it seems like any number of other possibilities are at play here. Like, the bank's phone system actually being down and the call minion he talked to not being in a position to know anything about it (common). Or maybe the call center was up, but it was inaccessible for a brief period of time. I can't imagine phone systems are very reliable. Again, an unsubstantiated conclusion.

Third, he also concludes the bank's records were compromised, leaking his phone number. I get fake calls from "banks" a few times per year, even ones with the right names. I see no reason to assume the bank's records have been compromised, just because you coincidentally got a fake call with your bank's name. Either it was coincidence that the name matched his current bank, or the information leaked through the usual means (bank selling your information to third-parties, who turn out to be unscrupulous or have their information stolen; or any retailer you've used your banks credit/debit card at selling your information).

Fourth, how does any of this lead to the conclusion that "[w]e’ve lost control of our phone network"? These were all typical phracker activities that have been occurring for decades.

And finally, the mention of the Do Not Call list is also a non sequitur. It's only loosely related to what the author previously mentioned.

I'm all for being security aware, but I'm not seeing the story here. In my honest opinion, this looks like a big pile of FUD with no useful substance and it surprises me that it's on the HN front page right now.
Very true. I live in a a city where there are quite a few places to charge, but I imagine that there are millions of people who would be interested in an EV but don't have access to the infrastructure.
Copying my comment from below. Disclaimer: I work for John Shewchuck / Microsoft.

W3C is working on Web App Manifests (http://www.w3.org/TR/appmanifest/), allowing websites to declare app-like properties. ManifoldJS uses that standard for those platforms that support it, but falls back to Cordova for those who don't. Cordova is awesome, but the W3C also considers work done at Mozilla (Firefox Open Web Apps), Google (Chrome Hosted Apps) and stuff we did (Windows 8 had local web apps, Windows 10 extends over to hosted web apps).
The term "digital native" irks me for another reason, which is the presumption that younger people have a better understanding of technology than older people. Kids these days understand the Facebook and the Twitter, but they're deeply insulated from how computers actually work.

One thing my wife pointed out to me is that her teenaged siblings have a lot more trouble finding things on Google than she does, because they don't remember constructing search terms from back before Google got (relatively) good at parsing natural language.
I expanded my quote "outcomes are effectively the same as public schools" to include more context: "Montessori...outcomes are effectively the same as public schools"

The meta analysis you cite makes no mention of Montessori. It's talking exclusively of public vs. private. There are public Montessori schools, and (obviously) non-Montessori private schools.
There is a lot of scientific research around this. I'd suggest three natural things. A quality fish oil, exercise, and do more social activities.

Sources: http://www.health.harvard.edu/newsweek/Exercise-and-Depressi...
- http://mason.gmu.edu/~sslayden/curr-chem/fish-oil/fishoil-wp...
This is levels worse than what Javascript does though. Most high-level languages have some sort of implicit coercion (even python lets you do truth tests on non-boolean values). The problem here is the programmer isn't confused about types at all. They're comparing two things of the same type: two strings! Nevertheless, given two strings PHP tries to coerce them into ints before carrying out the equality test. Yes, you will have coercion bugs in other languages if you're testing things of different types, but I don't know any other language where a equality test between two things of the same type are automatically coerced into another.
Facebook’s Internet.org privacy nightmare: tracks users, allows telcos to track
>
This is a perfect example of how text parsing is really inherently non-parallelizable. It's very rare that you can do anything useful with a buffer of text without knowing the precise state of the parse at the beginning of that buffer.

There are two mechanisms that are usually used to get around this:

(1) Perform a fast, sequential "skeleton parsing" pass before the main parse that scans just enough to find "split points" that are consumed by the parallel parser. This is what some of the parallel XML parsing work [1] did.

(2) Guess the state you're in based on some heuristics, and roll back on failure. This actually works surprisingly well in practice for many grammars, for example HTML [2].

[1]: http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=410047...

[2]: http://www.cs.wm.edu/~xshen/Publications/taco14.pdf
I'm sure you feel good about the people you hired, but how do you know that there wasn't someone even better who didn't apply because of the narrow targeting of your ad? If somebody posted their job ad only in the AARP newsletter, would you feel that it had been made available to twenty-somethings? After all, they could read it.
Agreed.

I do leave small laptop on suspend overnight (not plugged in) and then I do use it on the train into work, so a small charge/discharge cycle each day.

The big typing box laptop (ancient T61p) is left on and plugged in a lot. May use a timer switch on the wall plug simply to reduce reliance on the overcharge protection in the battery/charger.

I think those with devices that have batteries that cannot be replaced may be more concerned.
I completely agree. You have to look at features like CID for what they were intended. CID was just a good sales pitch. It was never intended to be a reliable way to identify a call, it was a perk for those that could afford it in an era when the phone ringing meant you had no idea who was on the other end until you picked up.
Surely laptop technology has advanced beyond the point of us having to manually manage battery health? The only reason I can imagine for people assuming this isn't dealt with for us by some control chip is a conspiracy that laptop manufacturers purposely limit the battery's life by not including this functionality. Which I suppose isn't hugely far fetched, but I'd still find it hard to believe.
Agreed. My mid-2012 Macbook Pro Retina has been plugged in @ 100% nearly all the time it's been in use. Pretty much the only time it's not plugged in is when traveling. Battery is at 7845/8460 CurrentCapacity/DesignCapacity or 93%.
dfbfgbfg
Not sure why - but this looks as fake as a six dollar bill ...
This is exactly what the parent suggests doing.

Keep in mind that if you don't change the client's view of the token on every page load (using some kind of salt), you are potentially vulnerable to CRIME/BEAST.
This could work, but it would make it impossible to query your data without traversing every record in your DB.

If you want to store unstructured data but don't want to deal with scaling pains in the future, try looking into hosted solutions.

- Compose is pretty great for RethinkDB, Mongo, and ElasticSearch.

- Amazon DynamoDB can scale like mad and supports secondary indexes, arbitrary queries, and triggers (through Lambda).
Number of people accessing US classified data down 12 percent in one year
> Short of medication, however, they haven't really offered any strategies I can implement. Perhaps that will come later, but for now I was hoping to hear about what may have worked for others.

If you're looking for strategies, Cognitive Behavioral Therapy (CBT) is one approach that I know of that can help with depression/anxiety/addiction, etc. You generally work with a therapist to understand how your thoughts, behaviors, and feelings can create a kind of self-reinforcing negative feedback loop. They therapist will give you homework and tools to interrupt the pattern and think more rationally and mindfully about your thoughts. I guess you can also try self-directed CBT, but going with a trained therapist is better if you can find one in your area that you're comfortable working with.
I don't know why seeking a connection even with anonymous people online is necessarily bad. There are a lot of people who have struggled with depression, sometimes hearing from people dealing with the same struggles can help.
Here maybe, however you don't know if that person posted other messages on other forums. This is a general advice and the ONLY one people should be giving him. Saying anything else might put him in danger.
I respect the skill behind the IP-specific text. But the approach, albeit clever, produced a less useful article. Comparing multiple regions requires knowing the names of relevant counties.