skysight-inc/HackerNews huggingface dataset:
I quickly and hackily did `brew edit htop` and made these changes to install htop 2.0: https://gist.github.com/bmorton/231bc3d6b3aa6fbefd48

I've got it on my list to fully fix it up and submit a PR, but feel free to flesh out my changes and submit instead :D
The Windows 3.x Showcase
For Germany there is HBCI (now FinTS), which is relatively old. Its not really web oriented, but rather used by banking Software like Quicken.

https://en.m.wikipedia.org/wiki/FinTS
> If your perfect candidate in every other respect also planned to take away the right to vote from Native Americans, could you vote for her? Of course not.

If there's no reasonable way they could push that pet issue of theirs through (because the rest of Congress would just call them an idiot) then sure, why not?

It's sort of like the think/say distinction ("you can't get in trouble for thinking"), but taken another few notches further: politicans shouldn't really be judged for what they say they'll do, or even what they appear to attempt to do knowing they'll fail—only what they're likely to actually use power granted to them to accomplish.

Most candidates, once in power, are effectively centrists. With presidential candidates, there's the moderating influence of Congress and the Judicial system; but even with individual Congressmen or Senators, once they attain their positions, they're sitting atop a hierarchy of (technocratic) policy advisors that tend to—when all advising in the same direction—override the boss's personal preferences. If all your employees, all your lobbyists, and all the think-tanks say to do X, you're going to do X, even if you (and your "base") would rather do Y. (Which is why we call the thing the President heads the Executive branch: the President isn't much setting policy, they're effectively just executing policy decisions arising from the entirety of the D.C. strategic intelligence community.)

Thus, most candidate positions are postures: things said to signal allegiance to certain voting bases, in full knowledge of the fact that those promises will never (be allowed to) come to pass. Posturing is PR: a big machine which gets set aside when the election is over. And thus, posturing should be ignored—given no weight—when trying to predict the value of electing any given candidate. The candidate's posturing—their PR—has no predictive value on what they'll really accomplish when handed power.

If, on the other hand, you can look below the posturing, and figure out what each candidate will really do with power (which is much harder; it involves a lot of looking at who they have ties with and what promises or deals they've made to get power), then you can actually pick a candidate based on how you want the world to look in the future.
My impression is that it's impossible in MSVC's C dialect today. (Obviously there's std::min in C++.)

AFAICT, it could be done using _Generic and inline functions, if/when MSVC adds _Generic. I'd expect to see _Generic before seeing any of the GCC extensions, but I'm not aware of any commitment from MS to add it. There are some issues with _Generic and qualifiers that might slow its adoption. e.g. There's an open defect report regarding qualified rvalues (DR423), but even lvalues seem to behave differently between GCC 5.2.0 and Clang 3.7.1. GCC ignores an lvalue's qualifiers but still allows a "const int" branch. AFAICT, a const-qualified branch is never selected with GCC?

I'm wondering whether it's possible to use _Generic to require that the left and right operands have the same type (either before or after integral promotions). Qualifiers are an obvious nuisance, but the bigger problem is that even the unselected branches must still compile, and C does not have tuples.
I like this idea! Also it would be good to pay for external monitors and keyboards. It would probably be best for them to be owned by the company to reduce costs, help with upgrades, and save tax. Maybe this would be a good use of leasing.
From my unedited original post:

> No, it's not gigabit fiber, but in reality, every person in America doesn't need gigabit fiber right now.

You quoted it in your first reply as well.

'every person in America' is pretty close to 'everyone doesn't'

Though I agree, 'not everyone needs gigabit fiber' would have provided more clarity to my intended meaning.
Because teenagers don't understand/care about that.
The Great Indian Naming Trick
Ask HN: How do I solve this?
I am trying to build an app where I want to give users an email id for ex: abc@xyz.com. I am then building a parser for emails received on that email.

My problem is I am not sure how I can do the following :
- give each user a unique email id

Google app emails are expensive and hosting my own mail server is complex.
Is there a better way to do this? Any service, tutorials, pointers will be helpful. Thanks
Thanks for the mention. Postman can import curl commands too and then of course convert to all these languages. We are opening this up so that converters can be added/coded dynamically.
In Minneapolis there's Magers and Quinn
Reminds me of the story of the Vatican official sent to judge the miraculous healing properties of a shrine. He looked at the pile of crutches, canes and wheelchairs left by "cured" people. "What? No wooden legs?"

Placebos can work in some narrow circumstances, but they cannot fix some basic problems. Pain relief? sure. But in place of an antibiotic? Expect a lawsuit.
1,500 Windows 3.1 shareware apps are now free, immortalized on your browser
I just described by experience of installing it. It wasn't a huge issue, I installed them anyway after all.
Many recently updated websites of unicorns/startups look very bad or often completely unreadable on older browsers e.g. IE 9. Can they live without enterprise sales?
Elixir is definitely up there!
You're implying teacher quality and school financing are irrelevant, and yet every conversation about public schooling in the US brings those arguments up.
htop has always been in my list of tools to install on server. Thanks for this great upgrade.
Makes me wonder if, when searching for someone lost in scrub, it'd be feasible to launch a temporary, roaming mobile phone tower/repeater that might give the hiker temporary phone access to get help?
Walgreens Threatens to End Theranos Agreement
Mirror, if you can't get past the paywall: http://www.nasdaq.com/article/walgreens-threatens-to-end-the...
True. Is this lack of desire to control our brain extensions set stone? It's possible (I consider it inevitable) that power will over-step it's expected boundaries. The statistical person might then care about their root access. In my experience, if presented in the right way, they care now.
Damn, I'm 20 and I already feel old.
This was my thought exactly. It's the new FarmVille.

How long will it last?
Half of those are not true on iOS
They are liking G+ - now that is revolution ...
I'm not saying people in the comments are any good at helping people with mental illnesses, but from my experience the professionals are pretty fucking terrible at it too.

I'm autistic and my wife has PTSD and anxiety disorder. She's been through about 6 therapists, all of whom were highly recommended by other people we know or other therapists. We've been to three marriage counsellors. I've been to a therapist that was an "autism specialist" who told me after speaking to me for 3 minutes that I'm not autistic because I have at least 1 friend and I'm married. Perhaps these were all smart people, but between the 10 of them, they have so far been completely unable to help my wife and I with any of our problems. We've been throwing a small fortune at our various issues, and our lives are still a nightmare.

I'm even about to pay 10-15k out of pocket for a fucking therapy dog that's probably going to be a waste of money, because we are desperate and the professionals aren't very useful.
Oh my gosh, Austen was in my class in college. I didn't know he had passed away until reading this article.
I think ledger[0] or hledger[1] might work for you. The latter is a Haskell port of the former that provides an additional web-based interface.

[0] http://www.ledger-cli.org/
[1] http://hledger.org
If you don't need the return value, the do-while approach works as you suggested:

#define bar(...) do {	\
const char *_args[] = {NULL, __VA_ARGS__}; \
bar(sizeof(_args)/sizeof(*_args) - 1, _args + 1);\
} while (0)

If for some absurd reason you really do need to emulate a "compound statement expression" in MSVC (because you need to declare some temp variables in a macro that can be used for assignment), it turns out that it can be done with a "lambda expression":

#include <stdio.h>

int bar(int n, const char *p[])
{
int total = 0;
for (int i = 0; i < n; i++) {
total += printf("%s\t", p[i]);
}
putchar('\n');
return total;
}

#define bar(...) [](){ \
const char *_args[] = {NULL, __VA_ARGS__}; \
return bar(sizeof(_args)/sizeof(*_args) - 1, _args + 1); \
}()

int main(/* int argc, char **argv */) {
int total = 0;
total += bar();
total += bar("a");
total += bar("a", "b");
total += bar("a", "b", "c");
printf("total: %d\n", total);
return 0;
}
> Now, as I turn 40, I wonder how different my life would have been if I'd spent more time doing other things, instead of playing video games.

Do you mind sharing what these other things are, specifically? Thanks!
Try my Veusz plotting app and library - http://home.gna.org/veusz - it has a nice interactive GUI, is python scriptable and extensible via plugins. It's based around Python, Qt and numpy. It can export to PDF, EPS, SVG and bitmap formats.
Bup: Efficient backup system based on the Git packfile format
Compound literals were never formally added to C++.

Still, that hasn't stopped various front-ends (including GCC and Clang) from adding them to their C++ dialects. My code compiles with Clang, but not GCC. GCC complains that it's not OK to take the address of the array compound literal.

FWIW, C99 makes it clear that the object has automatic storage duration lasting until the end of the enclosing block. i.e. There shouldn't be an issue with dangling pointers.
There's no implicit comparison (if that's the CompSci name) in Go. You have to explicitly compare (!= is required)
Evaluating NPM Packages Part 2 – Review Repository
Interesting.

Many WISPs like to exaggerate their coverage area to look bigger than they are (I don't get why it seems to be the goal of every small company to appear larger than they are...but that's another topic). I wonder how much damage this is doing by preventing CAF funding for areas a WISP claims but can't actually provide service to?

IMO a WISP will always be a temporary solution. They serve as a good filler until it is financially feasible for a wireline(this includes fiber) provider to service the area. A WISP can put $15,000 in equipment on a tower they pay $750/month for and cover 300 square miles of land. Add a 1GB connection to a Tier1 provider and you're still well under what it would cost for a wireline provider to even do the paperwork for the same area.

After the wireline provider comes into the area, the WISP can serve as a check to keep the prices reasonable, but the RF spectrum just isn't there to serve large amounts of data.

WISP coverage shouldn't preclude CAF funding, IMO. Most WISPs would probably say otherwise as it is not in their best financial interest to promote legislation that would fund their competition.
A debt of kindness or knowledge?
Man Hates Valentine's Day
I love sagemath, on fedora installing it as simple as 'dnf install sagemath'.
Is Donald Trump a fascist? A historian of fascism weighs in
http://www.bloomberg.com/news/articles/2016-02-10/marc-andre...

Looks like he apologized

Now what he said is bad but my grandfather who was a freedom fighter kind of said the same thing in his last years because he could not get his award money of Tamra Patra from the hands of the politicians and bureaucrats.
"Kids today it seems is responding to selfies"

Which is more social than either of the other hobbies you mentioned. How is it shallow and void of any meaning?
You didn't answer my question, but instead asked me several.

I do not appreciate your insinuation about my own opinions. It's way off base and uncalled for. Referring to pg by the title used for N. Korea's dictator is also obnoxious.

I care about the civility of discussions because without it, they get both less pleasant and less constructive. This entire thread has been an exhibit of that.
Thank you, an interesting approach.
Hillary Reaches Base with AOL Login Page Ad
OT: More than 10 years ago, Jim Waldo [1] gave a great talk on SOA. I remember listening to an MP3 version of it then. I could find many references to the talk online now (eg [2]), but talk itself seems to have vanished off the web. Does anyone have the MP3 of the talk?

[1]: http://www.eecs.harvard.edu/~waldo/ . Also see a great paper he co-authored at http://www.eecs.harvard.edu/~waldo/Readings/waldo-94.pdf

[2]: http://www.gettingagile.com/2005/09/17/jim-waldos-talk-on-so...
it tends to just be a reply to something. like, you wouldn't say "chur, where everybody knows your name".
If you had $800 million in cash, and you could either deposit it with the central bank and be paid -0.5% interest, or invest it in say, a 12-month Apple corporate bond at 0%, what would you do? Note that attempting to hold onto the cash in a vault has real costs as well.
"And unlike some forms of leisure, this one bears no fruit."

Increased connection with peers, for one. It's incredibly easy to network now. I'm young, and wasn't around for what you're looking back on as the good old days, but I disagree that there is no value to being able to send a one off "look what I'm doing" to a friend.
Before the negotiation. The old code is death weight anyway and not used in Opera 15 at all. But the code could be useful, to revive Opera Mail and a community could form around their beloved older Opera 1-12 browser.
Generally I don't talk to anyone about gold-standards unless they can also discuss the advantages and disadvantages of a bi-metallic standard. That is my 'shibboleth' for determining if they have knowledge or not.

If they don't, I send them off to think about the bi-metallic standard.
"What's the point of data if you can't save it? What if you capture a truly awesome moment?"

You can download your own snaps from the app within 24 hours if you posted it to your story (which you probably did).
How to Use Snapchat Like the Teens
Sprout Life
Windows 10 update bricked my Computer
Frankly, Github did a very poor job at communication this breaking change.

I only recently discovered that most of my post got broken.

Apparently it's no longer legit to use "#Title", you need to "# Title" (and god knows what else).

Linking is broken too - in Jekyll 2 there was no difference if a URL ended in "/" or not - you were just taken to the page, now this is a massive, although fixable pain (see https://github.com/jekyll/jekyll/issues/4440)

As a result my site experienced 500% drop in organic search referrals from Google.

I got no single email from then announcing this change. Very unhappy with how github handled it.
I don't think it's particular to the tech crowd, and I think it's a stumbling block even for psychiatry.

The problem is that psychiatry as practiced is an attempt to solve people, and people can't be solved; or if they can, it is unique (as you say) to the individual.

And really you're no different: you're giving out advice to people on how to manage their mental health. Your advice is harmless from a societal perspective in that it's literally what psychiatrists want you to be saying.

That doesn't mean you're not one of the misinformed internet commenters. It's not universally applicable. Most people don't have the time and money to shop around, even if the actual problems of their mental state allow them to seek help.

You can't come up with the words that are going to make people better. Nor should you be expected to!

Recognizing that psychiatrists are the ones we pay to be expected to act to make people better and they are themselves human and subject to human failures: this, I think, is why criticism of psychiatry emerges in topics like these.

I'm not disagreeing with your general advice, just criticizing your smugness and certainty in your opening lines. You're not better at this than we are just because you're giving the generic safe advice.
The only honest reply that comes to mind is that we're likely finite beings and we should share whatever we think we've learned while we can....
Spring – Summer 2016 sunglasses trends – The Emporialist
"How does anyone know for sure that all of that traffic (or at least the meta data related to the traffic) is not prepped for data mining on a per-user basis ?"

You can't, but that's not really the point. The point is that it's not permanent in a form that other users can access. Sure, maybe Snapchat stores every picture I ever sent. That sucks and should stop. But at least Grandma can't go back and look at some 2 year old picture I took with some buddies.
Didn't know about API gateway, so it's all good then. Also I meant to say "Cloudflare".
I think there is a difference between in-house developed platforms and platforms bought externally. Apart from that, if that 80% is of high quality and suits your needs doing the last 20% yourself is of course the idea. A platform can't give you 100% as it isn't tailored to your specific needs as a product. It shouldn't be in the way for the last 20% that's what a great platform should be. Kick-start you for 80% and not be in the way for the last 20%.
I built this! It looks like there's a lot of excitement about generating Go code. If someone wants to send a pull request incorporating the Go generator, I'll happily accept it.
Thanks for sharing the GitLab team handbook! It's a very interesting read. :)
"Because lisp has this it's trivial to extend the scope of the variable to cover multiple functions:"

Yes, I mentioned that static variables in a function would not extend to multiple functions.

You can share a variable between a restricted set of top level functions by grouping those functions in a single object file that does not expose the variable in question.

I think my only objection is that your phrasing implied what's different is the explicitness of the scoping, when it's actually the flexibility of how functions can be defined (unsurprising, from a lisp).
You're missing my point altogether. I'm aware of how DCFs work and you describe their mechanics accurately.

My point is that the drop in Twitter's stock price has nothing to do with DCFs and more broadly, that DCF models are useful (and used) primarily as a means of comparing similar companies rather than as a "true measure" of a company's value.
I'm a clinical psychologist who was in charge of the largest randomized controlled trial of online cognitive behavioral therapy for depression (n=500).

There is nothing that annoys me more then the every person is a special snowflake argument for why we can't use standardized treatment for mental health problem.

Exercise works really well for curing depression. I talked to a depressed patient yesterday who had no idea what he could do to combat his depression. I finally convinced him that if he couldn't think of anything else to do he should just try going for a walk and he told me later that it really helped.

I've had that exact conversation a hundred times.

Almost all patients I meet have the faulty belief that they are special. That they function in a way that is different from others and that often make them resist treatment.

Your head is connected to your physical body and therefore we can figure out what helps for everyone in the same way a doctor knows what to do about a broken foot.

Did you know that almost half off patients who suffer from anxiety take too shallow breaths and this creates respiratory alkalosis that creates a lot of the anxiety symptoms.

Did you know that by breathing calmly you will cure yourself from panic attacks? Forever.

Did you know that psychologists know how to cure insomnia in a single session?

The biggest hurdle to overcome is the idea that there exists a magic barrier where your disorder goes from being something that you can cure yourself to something you need a professional for. The barrier is an illusion.

You always have the power to change your mood for the better.

I'm not saying that therapy isn't useful. It is extremely useful and helps people tremendously.

I'm saying that every single individual can make a conscious effort to focus on improving their mental health irregardless of the fact that they are seeing a therapist.

Also. Almost every single person is illiterate about how to treat mental health problems.

I've been a fairly happy person all my life and I believe I owe it to the fact that I developed excellent coping mechanisms.

If you haven't got those you need to learn them. Once you have them it gets much easier to have good mental health.

I'm actually working on building free online treatment for depression right now. It is a work in progress but if anyone is interested they can check it out here.

https://getpsychologistsnow.com/cbt/depression/
https://news.ycombinator.com/item?id=11075336
Wouldn't braille characters also make nicer progress bars? I think they look more dense then a bunch of ||||
It's a legitimate answer in that, given any of those --- depression, anxiety, drug withdrawal --- you will probably quite literally feel better, more often, if you exercise than if you don't.

Of course, the same is true of someone who is experiencing no mental health problems. But although someone without mental health problems perhaps ought to exercise, and probably would enjoy both a significant improvement in mood and a reduction in stress levels; that person nonetheless doesn't need and hasn't been identified as someone who needs a significant improvement in mood or ability to cope with stress.

To my understanding, the reason that exercise is mentioned so often in the context of mental illness is that (a) it very, very likely to have a definite and subjectively detectable positive effect (unlike many potential medications), (b) it has very few potential negative side effects, (c) it may improve the body's ability to metabolize some drugs, (d) it is something that the patient can have control of, (e) it can add some structure to an otherwise unfocused life. Although it might have a "tipping point" effect for some people at some times, and some people may associate it with the end of an isolated episode of chronic depression, I don't think that it is often recommended (by doctors) in the hopes that it will 'cure' mental illness, per se. It can help treat it, and it can help treat confounding factors like lack of purpose, lack of success, lack of agency or autonomy, lack of social contact... et cetera.

I'm sorry that exercise doesn't provide any positive benefit for you. It's not entirely clear whether you're comparing sustained periods (on the order of weeks or months) of low exercise to periods of frequent exercise, or whether you're expecting to find a difference between a day on which you exercise and a day in which you don't. From my experience, I tend to think of it as a general metabolic effect. It's possible that it genuinely doesn't or won't help you; it's possible that you do exercise more than enough, and that you might (or might not) feel worse than you do now were you to cease exercising entirely.

I certainly share your frustration with people who deflect conversations in the direction of exercise as an answer to (let alone cure for) mental illness, most especially when they are proposing to "solve" a problem that they themselves have not experienced or have no substantive knowledge of.
> And why would anyone ever make SSN an optional field?

One reason might be that some states have laws on the books that prohibit requiring people to give you their SSN (unless you are actually required to collect it by some other law, of course).

> If its not required why would you ever ask for it?

All the answers to this are depressing. :(