skysight-inc/HackerNews huggingface dataset:
I have a script that scrapes my broker's website for my core balance and the value of my mutual funds. It then calculates orders to work toward goal percentages while keeping my core balance above a certain level. It then emails me and saves the orders.

This runs once a week. The next day it runs again and puts in the previously calculated orders, giving me a chance to review.

This along with bills on autopay entirely automates my day-to-day finances, besides a rent check I need to snap and cash once a month.

It's been great peace of mind.
It was enough for the GAL to make a positive recommendation, and that seemed to be what the Court was after (the recommendation).
> Disabling SELinux is a mistake, especially now that there are tools that will scan the audit.log and tell you exact commands on how to fix each thing it finds.

If it were actually that easy, then you wouldn't need this step since SELinux would just do it for you. Clearly that isn't the case.
In the UK you start a degree as a group and do all the same classes all at the same time as your peers. If you have a choice of classes then each of those choices can accommodate the whole group at the same time if everyone chose it, so classes just can’t be too full. At least this was the case at both use UK universities I’ve been to.
Tangentially, I'm so in love with the site design. Shout out to the UI team.
Modulo the 60-90 million killed under Mao
Don't represent 1-dimensional quantities like proportions or numbers of people as area. This is actively misleading because area it squares the magnitude of differences.
Paperclips: an idle game
How do we arrive at either of those conclusions?

I, for one, know nothing of this tree other than what I have seen just now. It's entirely possible that a trained arborist (which most cities and counties employ) looked at the tree and decided it needed to be taken down or coppiced. In fact I would argue that it's much more likely that happened than anything else.

I'm actually a little disappointed that the article jumps to weird conclusions in an attempt to be insightful.
Seems a bit of a stretch to say 'There are AIDS activists because there are people who want to express sympathy for gays, to align themselves against conservatives, and thereby to express "who they are". There are AIDS activists, but there aren't any nephritis activists.'

AIDS is a preventable in many cases if people practice safe sex - something that was not commonly known and/or a taboo topic for a long time. Activists helped change that situation, saving many lives.

If there were Nephritis activists, what exactly would they be doing? What sort of public awareness would they be promoting?

And then there is this: 'There are breast cancer walks, but there aren't any colon cancer walks.' Breast cancer can be prevented by frequent tests and self-examinations. Colon cancer cannot. Breast cancer awareness helps teach woman and society that tests and examinations should be done: not doing this simply because colon cancer is more prevalent (is it though?) seems a rather idiotic utilitarian argument.
> Having a $1M house doesn't make one a millionaire; it might come with an $800,000 mortgage,

Sure, but being able to swing a $800k mortgage is almost the same thing. You'd need an income of roughly $200k/yr, which would put you well above the top 10% of incomes nationwide.
The internet still works without ICMP, until it doesn't. Worse, when it does fail you have no recourse because the network has accumulated a pile of hacks to get 99% of people's use cases working and network operators are not inclined to spend the energy to fix their networks just for you. And so you layer another hack onto the pile and move on, as does everyone else. Not only is the time spent layering hacks on hacks significant, the result is a network which is much less useful because only the most common usage patterns can be expected to work. Want to do something novel? Good luck.

See also: https://tools.ietf.org/html/draft-thomson-postel-was-wrong-0...
We are pretty sure about that entropy thing. I'm not sure I'd bet against it. It'd also be a very, very long wait. I imagine any more immediate death is preferable.

It's going to be cold and lonely when the lights go out. This is the price we pay for an ever expanding universe.

I do admire your optimism, however.
This is obvious: the Chinese government stopped interfering with the people who already had a culture for business and development. Deng simply stopped Mao's disasterous policies and china started to thrive.
It feels like the author of this piece lists a variety of interesting observations, some useful facts, and then completely misses the boat.

As a society we put effort into finding ways to help sick people that are not old because we can generally expect them to have a good number of productive years if they are cured. There's a good return value, and it feels just.

This isn't the case with older folk. At a guess, if we found a magical way to cure heart disease and completely take it off the list there, most of those people will still die, a few months/years later, from something else (cancer maybe, or that very descriptive "other" block).

Old age isn't just some single disease we can fix, its a general purpose failure of the body. If you can heal that in a cost effective way (or in any way, really), congrats, you're a trillionare, but I'd bet we'll see full-body cybernetics before we figure out a way to cure aging.
It's above my paygrade to judge another culture.

No it's not. Being attracted or repulsed by other people's behavior is one of the most fundamental aspects of being human.

Of course, if you are doing or studying anthropology, you should be as objective as possible. But in the course of just being a person, it's good to be critical, because basically everyone is doing almost everything wrong, and it's good to point that out when you see it.
Yes indeed cool. Find this useful as an Angular dev.
Geez man, at least mine some cryptocurrency.

Then your hot lunch will buy you another hot lunch down the road!
Just for fun:

GNU true.c: https://github.com/coreutils/coreutils/blob/master/src/true....

OpenBSD true.c: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/true/tr...
> It takes a few years.

It's been a bit under three years already; no joy.

Your theory just plain doesn't hold water. Sure would be nice if it did, though.
>Hypothesis: We don't much care about the good of society.

"We" is a very big blanket term. Quite a few of us care about preventable deaths from bad health choices.

However, quite a few people on this Earth exist that don't care very much about the good of society.

These people run the corporations that are VERY GOOD at selling things that kill us, namely junk foods, alcohol and tobacco.
I can relate. I live in Vacationland. The nearest village largely exists because of tourism. I'm a bit more remote.
It is I/O bound, but Python 2 and 3 do I/O differently. From the same comment that you're referring to:

> Python 2 emits writes of 4096 bytes, and python 3... 8193 bytes (edit: not a typo, this is 8KiB + 1).
For what it's worth, +1.5c is deemed bad and +2c is deemed abominably abhorrent; if the midpoint is +3c in 40y, that's bad, but if the majority of the temp growth is in the latter half (ie it's monotone but convex), that would be a damn crunch imo
It's an "accen"t pointing to the fu"ture".

source: unfortunately I used to work there when they came up with the name.
That is simply incorrect. For example, beef liver is about twenty times more nutritious than fruit by mass.

My original question was a bit cheeky as I already knew the answer.
for p in `seq 1 $(sysctl -n hw.ncpu)`; do yes > /dev/null & done

Alternatively you could run Boinc with a cancer research project or something - defrost your food AND help the world become a better place.
Your post seems to demonstrate _exactly_ what the post you're replying to is saying: most of the speed has to do with I/O strategy (buffering and syscall usage), not the actual speed of the involved language. Maybe I'm missing a distinction you're making, but I'm not following how your previous comment leads to what you're saying here.
Seems unlikely with any sapient intelligence. If the intelligence understands mathematics then some form of communication will be possible. Consider:

0 1 2 3 4 5 ...
0 + 0 = 0
0 + 1 = 1
1 + 1 = 2
1 + 2 = 3

There are only so many ways that you can express these ideas. With any kind of written language, or spoken language that can be identified as speech, it seems quite likely that we’d be able to discern the meaning of mathematical truths and statements like these - no matter how different the intelligence is from humans. Regardless of the symbols used or writing system, there will be certain commonalities that make it possible to find the meaning.

I would contend that for any human-level intelligence with a written mathematical language, if the intelligence wrote down their expression of the mathematical ideas above, we would be able to identify them and understand them.

I could see this being difficult if we don’t recognize speech or writing for what it is, though. But once we do I think the meaning of mathematics at least will be self-evident with study.
Yup I agree with this. People who are not in the norm will struggle moving forward because they'll always be judged by the cover.

There's also the non-scientific stereotypes. "Girls are worse at math" for example.
Not when you eat the entire animal including organ meat as these folks undoubtedly did.
Did plan 9 not have dynamic libs, or were they namespaced in some way? Would love a link to read about this
Doesn't this only print once, and not over and over, like `yes` should?
Definitely not the case in the US. Our water is full of minerals which is often a serious issue as it makes showers very hard to clean. It also means an increase in kidney stones (my mom just went through this and the reasoning from the doctor was all of the minerals in the water so she used a "zero" pitcher to filter it all out)
As pointed out in the comments section, the chart does not account for years of life lost, simply numbers of lives. I'd be interested with whether the ex-post explanation still applies if we did a simple transformation like weighted each category by average age of death. Suicide, homicide and drugs skew a lot younger than heart disease.
The Uber game – can you make it in the gig econonomy?
haha, you're right (tbf I was only wrong by half an order of magnitude if I switch to 1800 gold prices!)

It'd be interesting to see how the figures compare when taking into account how long the gold took to accumulate and the size of the household whose wealth it represented, and the wealth of the wider region. But more basic goods that enhance standards of living are probably a better representation of a civilization's wealth than the notional modern value of their gold hoards, especially if the gold was being hoarded precisely because the Silk Road couldn't supply them with things even today's poor can acquire
>“Our model also predicts that marriages created in a society with online dating tend to be stronger,” they say.

From everything I understand the data says just the opposite, that couples who met online are more likely to break up.

https://www.huffingtonpost.com/2014/10/01/online-dating-marr...
I am not exactly a Julian Assange fan... in the least... but there is something to this quote.

The hard part about any quote, of course, is that the context in which the statement is originally made could be very different than the context here and the change of context can change the meaning entirely. And this can, over time, ascribe new positions to the person being quoted that they really don't hold. Not saying that is necessarily the case here, I don't know... just something to keep in mind.

(stepping down from soapbox)
> 4. Most of these leading killers are themselves mainly caused by old age. If "Old Age" were a category, it would be causing by far the majority of deaths. Again, it's not the case that nothing could be done about this. We could be doing much more medical research on aging.

I guess most of this article's discussion makes some sense, up until the point above. There will always be a top ten causes of death but those causes wouldn't always be interesting. If we lived 120 able-body-and-minded-years, I would call that success or at the very least progress. How would this top ten graph look then? Probably not very different. Before I read #4 I thought to myself: "gee, as long as we're dying of old age, then that's probably a really good sign." The author draws almost the opposite conclusion.

"We could be doing much more medical research on aging" -- yes, that's fair. What if research on aging led to us dying of Cancer and Alzheimers ten years later than the baseline? Twenty? Again, progress, but it wouldn't be reflected in this graph.

What might be a really useful use of this data is to show a fifty or hundred-year-ago baseline. What if fifty years ago the pareto included causes like auto collisions or home fires? If that were the case we might want to have some clever quip like: "Regulations: the silent lifesavers." (Regulations are often depicted as tools of the evil bureacracy).
535 other ways to reload the page with JavaScript
I think this is key - what are you optimizing for here?

It seems like people arguing here have different metrics for success in online dating.
It makes me so happy that the three parents to this comment all have the stories posted online for free, with the authors permission. There's definitely a correlation with this strain of hard science fiction.
Many other countries already have gender-integrated scouting, so the BSA is just following in the footsteps of much of the rest of the world. Here in Australia, Scouts have accepted girls for decades, although there is still a separate girls-only Girl Guides organisation (equivalent to Girl Scouts). Anecdotally, many girls prefer Scouts to Guides. I think if you give young people the choice between gender-integrated or gender-segregated activities, most will prefer the former, especially once they reach a certain age. It varies from individual group to individual group, but as a generalisation, Scouts tends to put greater emphasis on outdoor activities than Guides, and some girls find that greater emphasis appealing. From a parent's viewpoint, if you have children of both genders, then being able to put them all in the same program can have its logistical advantages.
I'd dispute both the claim that nobody talks about heart disease, especially in relation to obesity, and also the claim that we "know" how to get people to lose weight in any but the most literal and useless sense. By my second point I mean to say, sure, we know that what we want to achieve is a caloric intake/use rate that leads to weight loss followed by a steady weight, but the real-world success percentage of people trying to do this is abysmal.
Here are a few that have been pretty useful to me and my friends:

1) Local events finder. A few friends of mine and I moved from San Francisco to Los Angeles last year and didn't know many people. Even though there is a vibrant event scene down here with hundreds of events every day, we always seemed to find out about the cool ones after they had passed. I wrote a Facebook scraper that would find all of the local businesses and events for each of the businesses. It puts it in a Postgres database and then does some simple sorting based on different signals (e.g. how many likes for the page, how many people RSVPing yes, maybe, no for the event) and spits out a spreadsheet. This has been great to discover events and a huge time saver for planning dates.

2) Photo organizer. I use Dropbox's iOS app to backup photos from my phone to Dropbox. However, it just puts them into one big folder. I wrote a simple Python script to parse the filenames of the photos/videos and put them into a nested folder structure by year/month.

3) Long flight movie digest. I had a few long flights that weren't going to have wifi, so I built a web scraper to pull the movie list from the flight ahead of time and then cross reference it with Rotten Tomatoes so I could get a stack ranking of the movies by Tomatometer rating.
That's a great point. An elderly man dying of heart disease may be sad, but not tragic in the way a 20-year-old overdosing on heroin is.
Don't be surprised, they even get hands in our vaginas[0] few decades ago, so.

It will be very interesting to see how they goes, but I don't believe it will yield many good results (If any).

Censorship already preventing China's tech companies from reaching global market, now this.

[0] https://en.wikipedia.org/wiki/One-child_policy
I dont know. Ive seen systems before where anyone could make catastrophic 'modifications' like what you describe. I tend towards blaming the system construction over the junior developer.
I've found RxViz: http://rxviz.com/ to be super useful as well!
SELinux can't tell which of those accesses were intended, and which were actual security violations it should keep preventing. That requires human intervention.

Maybe it could be made more convenient by a tool that parses the log and automatically runs the commands when you answer the question with "y".
> There are AIDS activists because there are people who want to express sympathy for gays, to align themselves against conservatives, and thereby to express "who they are".

Millions of people have died of AIDS, and more are dying every day (around 18 per day in the U.S. as of 2014, according to https://www.hiv.gov/hiv-basics/overview/data-and-trends/stat...). If your friend or family member died to AIDS, wouldn't you advocate for its prevention and treatment? To say that these activists are fighting simply to "align themselves against conservatives" is insulting, to say the least.

> There are no nephritis activists, because there's no salient group you align yourself with (kidney disease sufferers?) by advocating for nephritis research, there's no group you thereby align yourself against, and you don't tell any story about what kind of person you are.

What about organizations like this? http://advocacy.kidney.org
Me too! Mousing over the article links[1] reminds me a lot of the modern Apple TV UI.

[1] https://blog.openai.com
The "average face pictures" make it clear that the average weight of the straight people is higher than the average weight of the gay people. My guess is that they actually built a fat detector. It certainly wouldn't surprise me to find that gay people are on average much less fat than straight people. A quick search through the actual papers shows that they made no effort to control for the effects of weight.
To be fair, not everyone dying of heart disease is old.
They also just built three new data centers in central Ohio and offered to partner with Ohio State. Columbus proper might be a good choice but I suspect they've got their eye on Dublin.
A sizable chunk of that 6B are people that don't live in a society that is structured for online dating (undeveloped region, arranged marriages, etc)
The grad from MIT involved in cryptdb does research on this https://people.eecs.berkeley.edu/~raluca/

Also this paper on attacking Homomorphic encrypted implementations https://news.ycombinator.com/item?id=14569777
Sessions Seeks to End Protection for Medical Marijuana
Saying the U.S. here is probably a bit of a generalization. I've lived in a few states without a very hard to clean shower or kidney stones. Don't get me wrong, I wouldn't drink tap water now, but I did for over a decade before the bottled trend.
Haha! Excellent, I had no idea there is an RFC for that!
Well, also, for any given problem, one might feel like the cure proposed is worse than the disease. Maybe we could "solve" obesity by strictly rationing every person's daily food intake and not allowing them to eat anything else besides what they've been provisioned. Who wants to live in that world?
Eaze (http://eaze.com) | Multiple Positions | Full Time | San Francisco, CA

We're the fastest growing cannabis on-demand delivery company in the space and growth is only accelerating. With state laws increasingly legalizing marijuana and cultural attitudes rapidly shifting away from the old days of D.A.R.E. education, there is a major tectonic shift happening that the company is well positioned to leverage.

Hiring for:

- Senior Android Engineer
- Senior iOS Engineer
- Senior Back End Engineer
- Senior DevOps Engineer
- Data Analyst
- Data Engineer
- Data Scientist
- Growth Engineer
- Senior Product Engineer

More info can be found here: https://www.eaze.com/careers

Please email bwang@eaze.com with CV if interested.
Literally any belief system as long as it's not atheist/ agnostic. It just blows my mind that people draw the line there.
I presume you're being downvoted because other believe you are incorrect, but I don't know enough about the subject matter to understand why or how.

Perhaps someone will respond and explain how this view is faulty?
I am not a lawyer but it would seem if you attest to the fact that it is reliable data it would be admissible. Lying under oath and fabricating evidence is still against the law.
Blockchain for Health Care Research
Parsers (or more generally state machines) and error handling are the two places I've seen that are acceptable. We've managed to complete the list. :)
Bah, that'll never pass code review. How about this:

#include <sys/uio.h>

#define str(x) #x
#define expand(x) str(x)
#define y1 y\n
#define y2 expand(y1) expand(y1)
#define y4 y2 y2
#define y8 y4 y4
#define y16 y8 y8
#define y32 y16 y16
#define y64 y32 y32
#define y128 y64 y64
#define y256 y128 y128
#define y512 y256 y256
#define y1024 y512 y512
#define y2048 y1024 y1024

//2048 "y\n" s
static char __attribute__((aligned(4096))) str[] = y2048;
static struct iovec v[] = {
{str, 4096},	//adjust number of these to taste
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
{str, 4096},
};

int main(int argc, char** argv) {

while(1) {
//scatter-gather write (on linux there is basically no way for write to write an odd number of characters, except EOF, so we need not check for partial writes
(void)writev(1, v, sizeof(v) / sizeof(*v));
}
return 0;
}
I set up a bunch of these types of filters. Now my inbox is squeaky clean and everything is auto organized.
> As for why the naive rust version is slower, it's because without adding a BufWriter in rust, stdout is line-buffered, so each line emits a write system call, while with python, stdout is buffered. Python 2 emits writes of 4096 bytes, and python 3... 8193 bytes. That's the likely cause for it being slower.

Does it have nothing to do with the fact that string-of-bytes is the default in Python 2, whereas string-of-characters is the default in Python 3? Or is that perhaps related to the explanation you gave? Forcing the byte interpretation, Python 3 is slightly faster than Python 2 for me. Forcing the character interpretation, Python 2 wins, but not by as much as before.

Bytes:

while True:
print(b'y')

Characters:

while True:
print(u'y')
How hard your water is differs by region. In the US as well as in Europe.
Note these are not black walnut trees as found in the US. Of course walnut wood is beautiful too.