skysight-inc/HackerNews huggingface dataset:
What I find particularly interesting, is that the "accredited lab" (presumably accredited by the FDA), just came back with a (misleading) negative result, but that 23andMe, which presumably was not accredited by the FDA at the time, provided results that cleared the issue up.
For context, we got into the situation we're in based on not having a strong understanding of the market/ unit economics from the get-go. It's taken heroic efforts from the team and a significantly large, complex technical product to be viable. Many lessons learned, not least to code less and do market/customer discovery straight-away.

Thanks for the feedback, your points are all valid.
We missed that too. Fixed now!
I have a few Noisli white-noise mixes that I alternate through, mostly combinations of rain, wind, and brown noise (gaussian frequency distribution). Hate the coffee shop noises. On top of that I sometimes add in music at a low volume, preferably something without lyrics, like classical or postrock. For classical I like Brahms and Schubert. Occasionally I'll mix in something atonal/arhythmic like Philip Glass or Brian Eno.
It would be helpful to know the default work factor for the bcrypt hash in that Python library, since none was provided. Apparently it's 12: https://pypi.python.org/pypi/bcrypt/2.0.0
Fine words on mental health should be matched with money for research
I Tried to Sell Air from Williamsburg, Brooklyn on EBay for $20,000
> Stop being a melodramatic, spoiled American

As I think you know, this isn't allowed on HN, regardless of how wrong someone is. Please don't do it here.
Do you want me to list the failings of businesses and the horrific things they've created? Is it even fair to lump all players in the free market under one umbrella as it is to lump all government programs and governments of nations and call it "government"? The post I referred to argued about the ability of the government to lead "out there"
projects well, and all of those are out there projects which had some "success" whether you agree with that definition or not.
Dystopia has a specific meaning- failed states and dictatorships are not necessarily dystopias.
Brothels are legal where I live (Australia). It's always a bit strange to see U.S. TV shows where prostitution is a crime.

That said, just because legal brothels exist, doesn't mean illegal prostitution stops. Pay attention to the news for a few years and you'll still periodically hear about arrests for illegal types of prostitution (sex slavery, underage prostitution, etc).
F5 = refresh (browser)
The internet is not the main culprit for the decline of both the brothel and prostitution; it's only helping to accelerate it. The main reason is probably due to the Sexual Revolution, as well as the lowered importance of marriage in modern society. It's no longer taboo to engage in sex outside of marriage and divorce is commonplace and no longer a scandal.
> except, of course, those living the most obvious new California dream, the technology gold rush. Try telling successful 25-year-old entrepreneurs in San Francisco that California’s over and you’ll get blank stares as they contemplate stock options, condos going up all over the city, restaurants packed nightly and spectacular organic produce at farmers’ markets every day.

If you had read the entire article, you would have noticed the OP was well aware of your opinion here.
Yes, and by no means is present-day California (or even Reagan-day California, which I'd probably hate more myself) a state carefully optimized to inflict maximal misery on its inhabitants.

It doesn't help that I live in Boston, which is also not a regime carefully working-out how to maximize the misery of the inhabitants.
Guangzhou streetcars powered by supercapacitors that charge in 20 seconds
Thanks Dang.
Article on Depression in IIT Madras Campus Magazine Censored by Faculty
As one example, the metro (free newspaper) in san jose, ca has its back pages filled with marijuana advertisemets

EDIT: last months issue: http://issuu.com/metrosiliconvalley/docs/msv1535/1?e=1164868...

The advertisements for pot stores start on page 43, although there is a full page ad for the hempcon dab cup on page 13.
Edit: There was a bug. No it's actually slower when the locale is set to C.

I have 4434 files with about 100 words of text in them.

here is python func that searches utf8:

def find_sp(paths):
for path in paths:
with open(path,'rb') as f:
if b"snow" in f.read().lower():
yield True
else:
yield False

%timeit [o for o in find_sp(glob.glob('./*'))]
10 loops, best of 3: 35.2 ms per loop

Here is the bash one:

$>echo $LANG
C
$>time grep -Riq "snow" .

real	0m0.015s
user	0m0.005s
sys	0m0.010s

However, if you have a lot of files and you are doing the searching for them in a not very smart way, it takes a lot longer.

time for f in ./*txt; do grep -iq "snow" $f;done

real	0m2.307s
user	0m0.337s
sys	0m2.113s
Testing What You Should Have Written
I don't get why this is even a lawsuit. It's obviously illegal.

It's completely unenforceable. They might be able to forbid them from posting a sign, but the homeowners association can not stop them from listing it publicly, they simply don't have that power.
Aegis Pro headphones hit Kickstarter to save your hearing
Playful Raises $25M, Launches a Game for Oculus VR
Shipwreck discovered in Lake Erie could be toxic, long-sought Argo
HBase is not ACID and therefore not strongly consistent. The consistency in CAP is different than consistency in ACID.

Regarding the Mongo, the second link I provided was comparing WiredTiger. In link you provided they made an improvement, but 2.x was already slow. Initially MongoDB gained its popularity because it supposed to be fast. And it was when it did not worry about making sure the written data ends up on disk. Once people started losing data when system crashed they changed defaults, but then became much slower. And worst of all it still was losing data[1]. There's no good reason to use it, even if you would want to use it as a cache, there are far better solutions.

[1] https://aphyr.com/posts/322-call-me-maybe-mongodb-stale-read...
Guy Raps Hell Fast
Major Changes in Python 3.6
That entire line of reasoning is reliant on truthful answers to a survey that, at least based on my level of Japanese cultural knowledge, would be answered falsely by a significant number because either they mentally argue that not being Japanese is from a different culture not a race, or they have internalised the logic of "we all do this but must not openly say so, because saying so is wrong, but everyone knows we do this anyway, so its ok as long as we don't say this is how we feel". That's just the start of "broad survey interpretation failure" I see here.
I guess I do agree to this extent: There are things that are politically difficult for the government to do, just like there are things that are politically difficult for corporations/rational free market players to do.
For what it's worth, I use Atom on a daily basis. In the end, outside of editing git messages, it just isn't that important that my editor be that fast- and for the average bit of web development during the day, it's more than up to the task after the initial folder load.

Did I have to adjust my workflow a bit for it? Sure. But honestly, the dividends its paid in terms of making it easy to create snippets, easy to fork and extend addons, and in just making me smile through dumb pretty UI things is totally enough. And the vim folks that use it and keep pushing it further and further are having a good time, 'cause aside from a few buggy commands it's a joy to vi around Atom.

Like I said in my original post- it's slow, but you can make it the perfect(if slow) editor if you want to, and that's pretty well.
That's a good point, I do hate that term, but there's not a good term that encompasses them all. Perhaps it should be relational vs specialized database.

Perhaps it should be said that relational is DB that's for general purpose, while specialized (key/value, graph, etc) requires you to understand your data so you can make proper trade-offs when picking specialized db. You are not getting those features advertised by other databases for free.
Well if a single primary school needs 1 bln or anything close to it to
operate that won't be scale able.

Just to clarify, Zuckerburg has spent over a billion on education related grants and other gifts since 2010, but no one knows what he has spent on this one school. I can't see how he could have spent anywhere close to a billion dollars. Unfortunately the writing is fairly poor so I'm not even sure how many students this school will serve from which to guesstimate a cost.

FTA:

Chan did not tell the Mercury News how much she and her husband are contributing
to The Primary School, but when it is fully built, it will serve 50 students
in 14 grades (pre-K through 12) plus the families of their 700 students.
The Founders Visa Movement
I guessed it was one, and answered a couple orders of magnitude off. I'm going to give myself partial credit, since I actually thought about the work factor before answering. But not enough to go read the docs, unlike you!
freakonomics has a chapter about this and it agrees with what you say, with somewhat convincing evidence.

In addition to what you mention, things that you could only find at a brothel (oral & anal sex, or less usual things) are also not taboo anymore.
Technically Panama's is the first transcontinental railroad, beating the Union Pacific by fourteen years. Panama's was running in 1855 while the line over the Sierra Nevada opened in 1869.
To be fair, there are victims of sex trafficking even where prostitution is legal.
I was thinking that, instead of ensuring that the corrections are in the right direction, that they just be as small as possible such that the total energy remains constant.

So, I was thinking that it would make the results worse in some ways, but keep the total energy constant by just constraining the total energy, and using that to e.g. change the angle or rate of rotation of one of the two parts.

So, e.g., calculating the values as this does, and then from the initial energy, and all the values except for the rate of rotation of the lower part, calculate the rate of rotation for the lower part (if multiple values for the rate of rotation would give the same KE , choose the one which is closest to the the one calculated at first).

It wouldn't really be 'correct' in the differential equations thing, it would just be forcing the total energy to be correct?

So, I figure it would make it so it doesn't eventually slow down, but might make the other bits be quite inaccurate?
A collection of fortune cookie fortunes
What can I say about this article?

I recently moved here, like many other people in tech. I didn't come for the draw of nature--which I love--but for a higher paying job and a chance to escape a poor, decaying, east coast city that increasingly felt like an urban hell. The whole undertaking was supposed to be a leg up, moving to that next level of adulthood (whatever that means in 2015). I am a well-paid, well-educated engineer in my early 30's. I am not a founder, nor do I intend to be, at least around these parts. California was a promised land, and I was glad to buy a one-way ticket there.

Now that I am here and a "resident," I faced with an ugly truth: the utter impossibility for me to ever buy any kind of property in the city, however modest or dilapidated, even if my salary somehow doubled overnight. The very thought of what it takes to "make it" here borders on the obscene. I'm lucky to pay $1,300 (which is cheap) for a one-bedroom in the city with 3 other people; outside, the prospects aren't much better.

The SF (and sadly the bay area in general) of now is a place where boomers made the rules. I can't help but feel impotent when thinking about the long-term political changes that will need to be effected in order to benefit newcomers and the working classes that are trying to make a home here. The old guard has such a stranglehold on the political machinations of this place and the chips are overwhelmingly stacked in their favor. I'm registered to vote--and I plan on it--but I know deep down, nothing will truly change until the Daniel Duane's of the city finally flush down the bowl and don't resurface. People like him had the great luck to be born during an era where places like this weren't fully exploited yet. I can't fault people like him for taking advantage of the opportunity to buy when housing was cheap and relatively plentiful. Anyone with aspirations to own a home and have a family would do the same without a second thought.

The NIMBYism and political blockading of the old guard is unconscionable. The housing crisis plaguing not only SF, but the peninsula as well, is directly related to their shortsighted, self-serving political ends. It's as if they--"they" in this case are my generational bogeyman--never even considered how their children would live. Short of inheriting a property, "tough shit" is the answer to the housing question.

My choices now are to stay, make some money, and take it back with me to somewhere cheaper, or hope for a simultaneous bubble-burst and earthquake which will depress home prices and maybe scare some alte kakas to leave.

I want to stay here, but it's really damn near impossible.

So let the Daniel Duane's lament about their California dream of the past. I only know about what we've been left by the legacy of his ilk, and it ain't good.
> It is not about that Relational (SQL) database was designed in a way that is hard to make it distributed

Not entirely accurate. Relational database schemas are typically normalized into many tables and make heavy use of joins; it's fair to say that the concept of joins are integral the relational model. But joins, by definition, require fast access to data; it's extremely inefficient to join across network boundaries.

So-called NoSQL databases aren't just about ACID or CAP, but also about denormalization. In fact, I would go so far as to say that the single founding tenet of all of "NoSQL" was denormalization across multiple nodes. Google's Bigtable (on which HBase is based, and which arguably started the public's interest in "NoSQL") depends on extreme denormalization in its data model‚ which does away with tables and instead treats everything as columns, and also discards referential integrity (the "C" in ACID, which isn't the same as in CAP) and isolation (the "I"). Sharding flows naturally out of denormalization. Eventual consistency came later with Amazon's Dynamo paper; Bigtable was strongly consistent.

A consequence of denormalization is that you can hit any database node and get consistent performance. No query will ever get bogged down in complicated, long-running nested loops and hash joins because the mechanisms don't exist. It creates an even playing field for queries because they're mostly individual key lookups; the result is (in theory) predictable, stable performance across the cluster. The complexity of join logic that was in the relational database is moved into the client, which gets the burden of untangling data. Which is why Google also invented early solutions like MapReduce and Sawzall, because once you have a huge, denormalized, distributed cluster of data in this poor man's relational model, your individual clients can no longer access the data efficiently. So denormalization also leads to parallel computation, and especially precomputation, rather than the ad-hoc queries that relational databases are good at.

It's all about scale, and fitting the data model to work in your favour at that scale.

So yeah, I would definitely say that relational databases are designed in a way that make them hard to distribute. The above is just the tip of the iceberg. How do you enforce referential integrity (foreign keys, etc.) across nodes? How do you assign unique primary keys? You talk about making tradeoffs, but would you really want a distributed relational database without distributed transactions?

Can you implement a performant distributed database with joins and other relational features? Yes. VoltDB and Vertica come to mind. They are designed from the ground up to do this, and have complicated logic for partitioning queries. They make other tradeoffs: for example, VoltDB is in-memory and to perform well, all transactional access code has to be written as a "stored procedure", a Java JAR file that you upload to the server, and transactions are expected to be very short-lived. But they will, pretty much by definition, not perform at scale the way that "NoSQL" databases are designed to.
Please see https://github.com/pigshell/pigshell/issues/15 for a workaround.

Since most sites are non-CORS, trying CORS and then falling back to proxy would impose too much of an overhead for the common case.
I don't think this article is relevant or convincing. None of the arguments were particularly good and the author gave me no reason to care. I expect a higher standard of quality on hacker news.
40 important design lessons from the past
If they can do a C-Section with the patient awake they can probably do almost anything that's below midlevel on the spine, or on the arms.

That's probably almost everything except heart or neck surgery. (Even brain surgery is usually done with the patient awake.)
Didn't know about BUFFERS. Thanks!
India needs more translation into European languages to advance its economy
True, but in places (like Australia, or Amsterdam) where you go all the way and unionize prostitution, it's much, much easier to catch the illegal types: you just raid anything that looks like an unregistered/unlicensed prostitution operation.

The main problem with catching sex trafficking and other sexual exploitaton, usually, is that there's so much "grey market" prostitution that isn't really hurting anybody, that law-enforcement tends to just ignore the whole mass as something they don't have the resources to confront or enough information to prioritize. Creating a whitelist and getting all the voluntary sex workers on it gives you a manageably-smaller set of non-whitelisted cases to investigate.
They say that in Chilean waters past 40º S there is no law. And past 50º there is no God.

You have to get to about 57º to pass around the Horn in open water.
10 tools for mobile/UX designers
>>The thing is, California died a long time ago. The state which elected Ronald Reagan as governor is long, long gone.

Reagan is single-handedly responsible for the decline of California. Prop 13 ensured that the state would always have too little revenue to support its growing population, resulting in cuts to the state's school system, infrastructure projects, social services, and more.

Edit: I suppose the downvotes are normal considering HN's above-average libertarian slant...
JDK 8u65, 8u66, and 7u91 Released
Maven Checkstyle Plugin 2.17 released
Now he knows how the Native Americans feel.
>You have yet to make any compelling argument that users or sites which use OAuth are gaining any benefit from OAuth. The only people who benefit from OAuth are OAuth providers.

I am not making a compelling argument for or against OAuth. My point is that you do not understand how OAuth works. The user is already a user of the OAuth provider. The outsourcing is not decided by the Oauth provider, it is decided by the site owner, and it is the user that decides to use this option or not.

And as stated above, this post is saying that the method stinks.
ghostery in FF blocks all content except the social buttons at the bottom.

Disabling ghostery displays the content.

Or clicking reader view displays the content, with ghostery on.

Or View/Style/No Style displays the content, with ghostery on.

Going up the URL, this also doesn't displahy with ghostery on: https://designschool.canva.com/

but this does display: https://www.canva.com/
here's a tip. don't spend all day driving across town.

sounds obvious right? yet people still try to do it for some reason. just pick a part of LA and spend a day or two there. it's not hard
> Las Vegas, the Times Square of America

isn't Times Square the Times Square of America?
Is there a decline in prostitution generally? When I add up everybody on Craigslist's "Therapeutic Services" board, plus the listings on Backpage, plus the people registered on "Sugar Baby" forums, plus the classical newspaper listings, it seems like prostitution has increased.
Since most websites are not CORS-friendly, you need to run the psty proxy on your desktop.

python psty.py -a

For further information on psty, and a download link, see:
http://pigshell.com/v/0.6.4/usr/doc/psty.html

Alternately, if you don't want to run psty, you could try the "ycat" command which uses YQL to bypass CORS. This is useful if you are trying to access HTML pages, rather than binary resources. e.g.

ycat http://en.wikipedia.org/wiki/List_of_countries_and_dependenc... | hgrep table.wikitable | html

You may have to try it a couple of times; I notice that the YQL endpoint sometimes refuses connections.
Clothoids are used for many railroad curve transitions, because they are constant-jerk curves. (Jerk is the derivative of acceleration.) They can provide a smoother look than B-splines, but are not as general.
That was the point of the of no child left behind. If a select few aren't getting rich off of a public service then it must be broken and privatized.
> HBase is not ACID and therefore not strongly consistent. The consistency in CAP is different than consistency in ACID.

You're arguing the word "consistent" is used wrong, and then you go on to mixing ACID and CAP — two acronyms which use the word "consistent" with completely different meanings.

The "C" in ACID stands for data consistency, which is that you shouldn't be allowed to store any data which isn't internally consistent with the schema's consistency rules. For example, you're not allowed to store a "null" value in a "not null" column, and you can't delete a row that is pointed to by a different table's foreign key constraint.

The "C" in Brewer's original CAP theorem really represents atomic consistency. It's the idea that if you submit data, you should get the exact same data back, even if you ask a different node. It sort of represents both the "A" (atomicity, in the sense that either everything or nothing is updated) in ACID, as well as the "I" (isolation, in the sense that nodes don't see partial writes) and "D" (durability, in the sense that data written stays written).

In CAP terms, HBase is strongly consistent, I believe, as long as you query the primary region server and not a replica. But HBase is not transactional, and therefore it's pretty meaningless to talk about ACID.
Getting to “Philosophy”