skysight-inc/HackerNews huggingface dataset:
It sounds a little odd to me that people are objecting to enforcement of the law in "neighborhoods of color". Yes, enforcement of drug possession is probably out of whack, but this isn't about that. We passed those laws, are we saying that the laws are bad, or that the laws are good, but "people of color" don't deserve to live under them? Do they not deserve to live in neighborhoods without broken windows and graffiti? Do they not deserve to not worry about getting robbed on the way home from work? Do they not deserve to live and work in buildings are properly maintained?

It seems like it's kind of a trap. If you agree with the frame of the article, then you have to conclude that either 1. We passed those laws to make our neighborhoods better, but minorities and the lower classes don't deserve that, so we should ignore some set of laws there, and that totally won't become apartheid or 2. Maybe all of these nanny-state laws made by wannabe social engineers aren't such a good idea after all, since they give the Government too much arbitrary power to be enforced on whoever they don't like this week, so we should repeal them and tell people to mind their own business when they come up with this stuff.
Metadata is often more useful than the message, and sometimes can expose the message. For example, a collaborative editor had better not send each key press to the other editors else timing attacks can reconstruct probable text fragments etc.
Minced oath
Could it all have been planned, with that lawyer agreeing to whatever sanctions, punishments, etc. ahead of time; perhaps for some recompense later?
Engadget's guide to the 2016 presidential candidates
http://whatcanidoformozilla.org is a good starting point.
As an heavy user of session restore and tons of open tabs, I would be OK ignoring updates to tabs that have not been active for a while.

For example, let's say I have 10 tabs open but I have been using only the latest tab during the last 5 minutes. In this scenario I don't care about the cookies (eg due to ongoing ajax) nor the state of the other 9 tabs. If the browser crashes I'm OK with those 9 tabs being restored with a 5 minutes old snapshot.

So for instance FF should be smart to save the state of new/recent tabs, and should slow down progressively on old/inactive tabs.
Well, if any tank failure would cause an explosion, wouldn't the hypothetical sniper aim at a big tank? Not a tiny flask located inside another tank.
Free Growth Marketing Workshop with Startup
> a little early for the "millennials" he wants to decry.

The author is a woman.
They have invested in their tech team which is both infrastructure and expense. How much of the ~$10 billion it's worth is up for debate, but zeroing it's value is absurd.
Code: https://github.com/thomaskeck/FastBDT
That you are apparently suggesting lanna is a criminal yet is walking free is yet more evidence that your position lacks the necessary nuance.
Similar to that, yes - you have a higher order function, "foo" in this case, that accepts a function as an argument, and returns another function.

FWIW, you want to have an operation to bind the first (or first N) formal parameter to a value, and you want to be able to have an arbitrary number of remaining parameters.

Whatever facility would be in place needs to allow for N remaining formal parameters, of various types, not merely do the ("generic" / templated / type-parameter) recipe for one additional parameter.

I am not a Haskell or F# programmer, but maybe the TS team wants to look at what those languages do.
I always wonder if they could've spend the timer better by investigating into Java-Graal.
Or rewriting their Stack into X. I mean facebook is probably already polyglott, so... why they still embrace PHP that much, when they have a performance concern? or why do they spend so much in creating their own jit, when they could've gone a way cheaper route in the past.
is it so important to control their own stack?
Splunk Search Optimization: A Paleo Diet for SPL
> the general perception is Twitter is full of hateful trolls and management can't be bothered to control them.

Do you have some respectable polling data to support this claim? I also visit some of the biased websites that constantly beat that drum, but that doesn't mean this opinion is held by the general public.
Profile of an Alpha Female Wolf
Frankly, that's how you increase your failure rate. If a system fails, you figure out why, figure out any other failure cases that may have been missed, and you fix them.

You don't ditch something that largely works, and replace it with something brand new, for which you have zero data. That's how you lose rockets, cargo, and lives.
I'm going to quote Woody Allen. The context is too delicious to pass.

"But isn't sex messy?" "Yes, but only when done right."
Whether you define a niche as 0.5% of the population or as 5% of the population is not important. Google doesn't do 0.5% and it doesn't do 5%. It only does stuff that is potentially useful for almost everybody (with a few exceptions that are targeted at IT professionals).

I don't know exactly what the potential of Reader might have been. Maybe something between 1% and 3%? It's the same ballpark as Twitter in my view, but that is admittedly rather speculative. It's also not the point I was trying to make.
> Just out of curiosity, what kind of use case makes grep and prospective replacements scream?

Unicode? Check out the subtitle benchmarks in the blog post. In the best case, grep is a little slower. In the worst case, grep is orders of magnitude slower.

ripgrep achieves speed by building UTF-8 decoding straight into its DFA regex engine (well, strictly speaking, this is Rust's regex engine, not ripgrep).

The other case where grep users might scream is when you're searching large code repositories. A `grep -r` might catch a large binary file, or search your `.git` or whatever. Both `ag` and `rg` will look at your `.gitignore` so that the results you see have higher relevance. (Of course, this is just a default, you can always "search everything" with ripgrep too!)
Added "European" to title.
A note from the editor-in-chief about Chris Ziegler
https://en.wikipedia.org/wiki/Late_Victorian_Holocausts

"The book's main conclusion is that the deaths of 30–60 million people killed in famines all over the world during the later part of the 19th century were caused by laissez faire and Malthusian economic ideology of the colonial governments. "
>Why the hell is their expense that high? 350 million users, sure it's a lot. Plus they have to store the messages for a long time and it's not like a text message but more like a group chat. Still, most of their expense can't be going towards their tech stack but headcount.

yep. I don't think the difference between WhatsApp and Twitter in features explain such a difference in headcount and expenses.
Off topic: I may be old and cranky, but I simply can't stand articles with animated gifs - it just seems ridiculously unprofessional.
> and `grep` will be about as fast as anything

I'd encourage you to check out the benchmarks in my blog, especially the subtitle benchmarks, because this isn't actually true in the case of ripgrep. :-)
It is even better. It has ABI compatibility with BeOS, it can run x86 BeOS apps (not PPC apps though)
Actually, China's army is the biggest in the world by active headcount and only the US, India, and North Korea have over a million. Given the time it takes to train and equip a soldier, that number can't grow very fast except in times of total war.
If she really believes the analysis in that piece she is downright incompetent as an IP lawyer.

No. Regardless of what she actually believes, she is one of the most highly accomplished and sought after IP lawyers in the nation, and a partner and a director at one of the top IP firms in the nations. She may be wrong, she may be even be evil, but she is not incompetent. It is more likely that you and she have different goals. If your logic leads you to conclude that she is incompetent, your logic is simply wrong.
Rethinking Routing for ReactJS Applications
Hi everyone,

If you want to review your growth marketing effort, let's do a free growth workshop. These workshop will be specific for your startup. You'll get a checkup report of your startup in perspective of marketing and growth. Also I'll share my ideas to growth your company.

In order to learn details and comments of startups which has participated these workshops click the link above.
for linux there is gcal which to some extend offers this service for the commandline.

For instance:

gcal -N -q US_CA

tells you the days days left until each holiday in California, Usa.
From piece in the guardian:

>It was a monologue about the right to exploit the stories of “others”, simply because it is useful for one’s story.

I thought the talk was about fiction, which by definition is made-up stories, so how could they exploit the stories of others? Stories of other people would be non-fiction. I'm guessing the quotes around "others" is the key to the mystery here.
Nobody is thinking this way. Chinese people with money aren't particularly distrustful of their government, they're just trying to buy what they want before someone else does.

An enormous number of Chinese people have made huge amounts of money. They've already bid up all the desirable areas in their own country to insane prices. It's San Francisco bad. So they look elsewhere. They see lots of opportunities in the West that offer more value for their money, an opportunity to escape from the brutal rat race that China is, and a mature legal system and deep cultural respect for property rights. All they have to do is make payment...

They can't just wire the money out because the Chinese government imposes strict capital controls. So they bypass them through HK, insurance schemes, investment schemes, through purchase and return of expensive luxury items, by having friends and family wire out of their accounts to their limits, with bitcoin, with good old bags of cash through the airport, or whatever other creative solutions they can find.
Finance. Strong knowledge of derivatives trading and trading system. Usually one or more of Java, C++, Python, C#, VBA but generally less important unless they're coding quant models in which case usually need C++.

Yes, fulltime. Only had one part time on that level.
One example predating computers is "henohenomoheji", a face made out of Japanese hiragana, used as a generic face in children's art and crafts.

https://en.wikipedia.org/wiki/Henohenomoheji
I'll say it again: it's Seattle. We're at a latitude where the sun on it's best day in July would get its ass kicked by Texas' December sun. And we have trees: lots of them. So if you're picturing my dogs sitting in a barren Wal-Mart parking lot in the blazing summer sun, where that chart might accurately apply, please reimagine the scenario. Picture a car parked beneath shady evergreens in a place where the sun weakly peeks above the horizon for a bit.

As for that chart, it might accurate in Florida. But I've tested our camper van with its picture rear window facing south all day in July. Approximately 70F ambient, it got to low-90s in there, not 104F. I don't know what the dogs did when I was growing up when it would be 90s for days on end, but I don't recall them dying in droves.

Though that chart is a good way to bring the problem to light, I guess, don't be breaking my window based on its presumed accuracy for all situations.
I agree that Twitter is in decline, but I think that is because of poor leadership and management at the company. Google might reasonably believe that they can turn that around.
Out of those 300 million monthly active users, I wonder how many are actually people. As far as I can tell, Twitter still has a big problem with bots.
Searched for my football club 'Chelsea'. No Results found.
Assuming they were correct about the first incident, it was caused by a faulty strut that was supposed to hold the helium COPV in place, but failed. If they've already ruled out a strut failure in this case, it seems pretty safe to say that they are unrelated.
I wonder if a general policy of using randomly fluctuating flow curves instead of flat ones would decrease the likelihood of harmonics.
I don't dispute that fact. But there is precedent for the use of the term in privacy-respecting services, so we shouldn't be surprised when we encounter it. After ZKS shut down, the term continued to be used by hosting and communications services to explain their value proposition in a simple way.

Having said that, I agree with the point that nowadays this usage may be unhelpful in promoting privacy-respecting services because zero-knowledge proofs have come a long way and there are now services like Zerocash that actually make use of them. So using the term to promote a different privacy-respecting feature may be confusing or misleading.
I would. Iceland is beautiful.
I have no idea why I am responding but...

I really don't have an axe to grind, I don't have major problems with congress. It was just a little joke I thought sounded funny at the time, because the idea of a scorched earth, win-at-any-cost mentality reminded me of politics. The downvotes are absolutely deserved.

I think jumping to the conclusion that I am searching for any vaguely-related topic to give me an excuse for this sort of comment is completely off base, though. You can look through my comment history to see I don't make those kinds of comments very often.

And now the conversation is wayyyyy off topic, sorry.
Interesting idea about a progessive consumption tax. But would it be more costly to collect than income tax? Not to suggest that it isn't worth the cost: consider sales tax vs VAT. VAT is more expensive to collect but harder for businesses to evade.
Debates through History: how to do it right
The hypothetical sniper could have been aiming at a large tank, missed, and luckily hit the helium tank. Hypothetically, of course. :P
>> If you've never failed at something or gotten screwed over when you're 40, you're probably about to start, and your failures will be much more visible, painful, and harder to recover from than if you fail when you're 22.

Really good advice. Which at 40 I will now ignore ;-)
No, I'm saying that there's no such thing as innocently driving into a wall and killing people, which apparently almost happened. It would actually have been manslaughter.
Then you leave. If needed there are a host of other techniques to also use, see my psychopaths book. Doesn't require you to become like them.
What is it with HN and belief in various absurd conspiracy theories? Is it an American thing?
Welcome to America.
We all pay Googlers' wages in all the extra taxes we have to pay because Google evades paying theirs.
If I recall correctly, Erlang 19 was held up for a while in homebrww because the couchdb formula needed to be updated also.
Actually, I think I implied more than what I meant to say. While they are now pushing the use of Mandarin as a language of instruction (and pushing it further down the age group), I'm not so sure they are starting at grade one (I'm now part of the diaspora myself, but this is in the Cantonese news once in a while). That was just me wondering to myself the absurdity of being taught in a language that I would've barely heard of at that point in life.
Sorry, but I just don't see how driving into a wall, which is quite stationary, with enough force to have killed someone had they been standing there, is an unavoidable mistake anyone could make.
Is it possible to create progressive web apps[0] with Elm? It looks awesome but JavaScript everywhere all the time isn't great for everyone.

[0]: https://developers.google.com/web/fundamentals/getting-start...
Bear in mind that cigars are considered a positional good. Quite a few people smoke them to show off. Other than that it’s a way to relax and chill down since it takes a while to smoke the whole thing. You pair it with a good scotch and/or a chocolate and you get the whole experience. This is especially true with pipes which also last longer and have milder and more aromatic flavors. Take for example Lord of the Rings. Every time someone wants to contemplate on an issue they smoke a pipe, especially Gandalf. It’s all over the movie although few people take notice.
Google Now is dead: Latest beta of Search app erases references to Google Now
Well... yes... just remember to securely delete that backup made with the current version of iOS10 from your computer, after you upgrade to next iOS public release... ;-)
"Others" in this context refers to your out-group. For example, if I am a straight white male, then it is kosher for me to write a fictional story about fictional straight white males because they are part of my group.

But if I try writing about a fictional gay black women, then I am exploiting the groups of gays, blacks, and women.
The many ZeroMQ projects already govern themselves and have done so for years. So yes. Also, see C4 protocol.
> I get that your utility function from money is non-linear, but I would expect a more accurate model to be a step-function

I think you just answered your own questions - log is continuous.
Just make your ssh script install all the binaries where ever you go! ssh-caravan
BeOS did it by writing their own filesystem. The filesystem author wrote a good book about the design and implementation, including overviews of other filesystems (eg NTFS). He has made the book available for free download at http://www.nobius.org/~dbg/practical-file-system-design.pdf

Ars Technica also has a nice 2010 article: http://arstechnica.com/information-technology/2010/06/the-be...

The way it implemented the queries well was because they were integrated into the filesystem. Windows/Mac/Linux do it in userspace. Doing it in the filesystem would be considered a layering violation by most.
I liked their previous name "devpressed" better. But good initiative.

My personal piece of advice for any developer suffering from anxiety, depression or other mental problems, is to focus on posture. Bad posture can have a really big impact on mental health. You can have RSI in your upper back without knowing it (arms & hands still working okay), and this can cause all kinds of other problems.
The founder of Renaissance Technologies is one of the biggest backwards of the Democratic party ($10M+ in support routinely).

The CEO of Renaissance Technologies is one of the biggest backers of the Republican party. It's been like this for a while. Life goes on.

If you think someone will get punished by their boss because of their political leanings, well that's exactly why "closet Republicans" who fear repercussions you their careers is now a real thing in the bay area.
They did not just write an article, they also provide the brute forcing tool to prove their claims.
The random number generator generator (or monkeys at typewriters) analogy is deeply flawed. The entire point of natural selection is that it is non-random.

Think instead of a stochastic optimization process that provides feedback at each iteration, and introduces psuedo-random noise that is seeded from the previous iteration.

To extend our metaphor to ridiculous lengths, consider instead of a room full of monkeys typing away randomly, you have a machine that punishes monkeys that type in the "wrong direction," and rewards monkeys type something that is approximately closer to War and Peace. After each reward/punishment round, the monkeys would start their editing on strings that were rewarded in the previous round. This process would be expected to converge much more quickly.
Ask HN: Would you use this service?
Hi fellow developers,

For some time I have been working on a website for developers: developerAcount.com

It is a profile page where you can list everything about you as a developer. Plus some of the URLs you enter will be scraped daily so your profile page gets updated automatically (some parts that is).

Is this something you would use as a developer? If not, what are you missing or what needs to be changed for you to use it?

A demo profile page can be seen on http://www.developeraccount.com/bbb/baris-canatan

You can also sign up to test it out, but the edit profile section is not what I want it to be, so I will be completely rewriting that part.
Yes, that was my main point, re: safety. I've been implementing a BLAS with Rust (pure Rust--not FFI wrappers around C-wrappers around Fortan or other bindings) and it has been interesting to see where the C-programmer in me gets tripped up and how the performance compares.
My guess is that since you ran `rg` first, the file wasn't in memory, and you ended up benchmarking disk IO. (Notice the sys time decrease from your first run to the second run.) Subsequent commands then run faster with the file already in memory.

This is one of many reasons why assembling the benchmarks in my blog post was so difficult. For example, on every command I benchmarked, I ran them 3 times for "warmup" and didn't record any measurements. I then ran them another 10 times in which I recorded them. You can see the raw output here: https://github.com/BurntSushi/ripgrep/blob/master/benchsuite...

In any case, on my underpowered Mac, here are some results on a 1.2 GB file (notice how much the time fluctuates until its fully in cache):

mac:~ andrew$ ggrep --version
ggrep (GNU grep) 2.25
Packaged by Homebrew
mac:~ andrew$ time ggrep 'Bruce Springsteen' foo.jsonl > /dev/null

real 0m5.447s
user 0m0.600s
sys 0m0.350s
mac:~ andrew$ time ggrep 'Bruce Springsteen' foo.jsonl > /dev/null

real 0m1.247s
user 0m0.549s
sys 0m0.264s
mac:~ andrew$ time ggrep 'Bruce Springsteen' foo.jsonl > /dev/null

real 0m0.803s
user 0m0.542s
sys 0m0.259s
mac:~ andrew$ time ggrep 'Bruce Springsteen' foo.jsonl > /dev/null

real 0m0.805s
user 0m0.544s
sys 0m0.260s

And now for rg:

mac:~ andrew$ time rg 'Bruce Springsteen' foo.jsonl > /dev/null

real 0m1.062s
user 0m0.339s
sys 0m0.333s
mac:~ andrew$ time rg 'Bruce Springsteen' foo.jsonl > /dev/null

real 0m0.640s
user 0m0.337s
sys 0m0.302s
mac:~ andrew$ time rg 'Bruce Springsteen' foo.jsonl > /dev/null

real 0m0.637s
user 0m0.336s
sys 0m0.300s

Oh! And check this out, on a Mac, not using a memory map for single files is faster. My goodness---memory map performance is all over the place.

mac:~ andrew$ time rg 'Bruce Springsteen' foo.jsonl --no-mmap > /dev/null

real 0m0.445s
user 0m0.170s
sys 0m0.274s

If I do this on my Linux machine on the same file, I get timings of 0.275s for rg, 0.398s for rg with no memory maps (opposite direction for Mac) and 0.708s for GNU grep (v 2.25).

Benchmarks are fun, eh?
You are not wrong, but linking to Breitbart probably damages your credibility.
How about the FTC's? Google had a paid shill in as the FTC Commissioner at the time (Joshua Wright), so the case was buried, but FTC staff investigated and recommended they go forward with a formal action. The EU is of course, already moving forward, as is a few other countries, who don't have Google employees working in their respective governments.
>Sorry but I call bullshit on saying that "the arab spring" is the cause of ISIS and the syrian war.

do you see a lot of difference between Iran's revolution and Arab Spring?

>The sectarian corrupt violent syrian state and the U.S. invasion of Irak are much better suspects

Granted similar elements - a major group of population dissatisfied with the governing power as well as US hand cooperating with the side/power opposing to that group - were present in Iran too. One can see how religious extremists hijack that dissatisfaction and use US' involvement to fuel it. So the US' involvement is a catalyst, not the root cause.
No need to apologise -- as my parents are still overseas I totally understand, how things are happening far more quickly (and in a more absurd direction) than overseas HKers ever imagine.

That said, I don't have anything against mainland Chinese people -- I have worked with them, became friends with them. Yet, it is through extensive interactions with them that have made me realise how different we are, not just in languages or food but in how we think. That's the essence of what we are trying to preserve, and what the PRC is trying to eradicate.