skysight-inc/HackerNews huggingface dataset:
I know what you are trying to convey but both these issues are problems with management. First one is a safety issue and second one shows a lack of quality control. Maybe those two workers are incompetent but they may also highlight systematic issues within the companies.
let's see how many people will try fasting alone and end up with bad side effects.
Why not both? I mean Robert');DROP TABLE students;--1 seems like a pretty good password.
Here's the history, sorry there is no easy way to see diffs.

https://web.archive.org/web/*/http://norvig.com/spell-correc...
You have to do a bit more yourself in BigQuery. (Define a schema and do a schema update when you log something new.) I implemented logging via App Engine requests which save the data to BigQuery. Not sure if that's better or worse than using the StackDriver service, but it's working.
The code has been updated stylistically, and I'm not sure what else has changed. Here's the old (Python 2.5) version from http://web.archive.org/web/20160110135619/http://norvig.com/...:

import re, collections

def words(text): return re.findall('[a-z]+', text.lower())

def train(features):
model = collections.defaultdict(lambda: 1)
for f in features:
model[f] += 1
return model

NWORDS = train(words(file('big.txt').read()))

alphabet = 'abcdefghijklmnopqrstuvwxyz'

def edits1(word):
splits = [(word[:i], word[i:]) for i in range(len(word) + 1)]
deletes = [a + b[1:] for a, b in splits if b]
transposes = [a + b[1] + b[0] + b[2:] for a, b in splits if len(b)>1]
replaces = [a + c + b[1:] for a, b in splits for c in alphabet if b]
inserts = [a + c + b for a, b in splits for c in alphabet]
return set(deletes + transposes + replaces + inserts)

def known_edits2(word):
return set(e2 for e1 in edits1(word) for e2 in edits1(e1) if e2 in NWORDS)

def known(words): return set(w for w in words if w in NWORDS)

def correct(word):
candidates = known([word]) or known(edits1(word)) or known_edits2(word) or [word]
return max(candidates, key=NWORDS.get)
I wonder how long this will last after the Brexit, as this is EU legislation in action.
Sure, but lots of "X oil" products, especially where "X" is a flavoring ingredient, are oils from other sources infused with that ingredient for taste. "Chili oil" is not "oil pressed from chilis," it's "neutral oil flavored with chilis," and nobody expects otherwise or is confused. The complaint here isn't that truffle oil isn't pressed from truffles, it's that it's neither that nor oil flavored with truffles. Truffles are not involved.
Myths about suicide that every educator and parent should know
> we're still waiting on the ethernet port to go away but give it time

From some consumer devices, sure. It's not going anywhere in commercial and industrial applications, where wireless networking is often verboten.
In my experience in the US, it is usually labeled well whether it is artificial or natural. Natural usually costs at least 3x as much artificial.
You can now log to stackdriver and export to BigQuery. No need to handle schema updates.
Linus Torvalds won't apply 'shit-for-brains stupid patch'
It might simply be a matter of comfort. We don't know how human cognition works, but we have a ton of practical experience with it, so we feel like we have a pretty good handle on why people make the decisions that they do, and how to train and shape those decisions. As a specific example, a human doesn't typically trigger their own death/destruction without a significant reason that can be expressed and potentially detected.

We know a lot more about how machine learning works--since we developed it ourselves recently--but because it is so new, we feel the need for deeper understanding to mitigate risks. To go back to the suicide example, a computer-driven system will destroy itself immediately for all sorts of reasons, including incredibly trivial errors.
Check Power Pivot if you just want an Excel interface to lots of data. I posted elsewhere in this thread about it, but the fun demo is to load up a dataset with a largest table of several hundred million rows. This is still quite snappy on a typical desktop machine.
Can you tell us more about the change of taste of water (or even other things post fasting) ?
Paywall :-(
That's not how Google does it. Try spelling errors with Google Search. Google does multi-word spelling correction.
> and if it doesn't appeal to you, don't buy it

This kind of attitude isn't logical and is in fact extremely dangerous. It's the same argument as "if you don't have anything to hide, why do you mind being spied on by corporations and governments?"

It is entirely reasonable and in fact GOOD that people have strong opinions about things even if they do not personally interact or care about the actual thing. When an increasingly large amount of our society is shaped by Apple or Facebook or Google, their decisions affect everyone, even those not directly using those services or being customers.

Opinions matter. Don't tell people that they should shut up and ignore global implications because they themselves wouldn't buy the product.
Agreed, I went to culinary school years ago and we had access to both high quality black and white truffles, to say the least I fell in love on first bite, we used to fry slices up in butter and eat them like a potato chip while in class, that was heaven. My first introduction to truffle oil was years later and conversely flavor hell. I could never really put the flavor into words until I read this article, a gasoline like flavor is a perfect description. I knew when I tasted it that there was no way any essence of truffles where in it. Truffles make other flavors "pop" and have umami. Truffle oil kills the flavor of the underlining ingredients and replaces them with a chemical and gasoline taste.
Very interesting. Thanks for writing this up.

This is a bit more Perlish (not that I'm an authority):

sub is_prime {
(1x$_[0]) !~ /^(?:.?|(.{2,}?)\1+)$/;
}

But perhaps less clear to a novice reader. You can also leave off the semicolon.
In our pharmaceutical-run health system, "no evidence" often equates to "since this thing is not patentable, no company has paid for expensive FDA-approved testing of it". That's not the same as no evidence.
Inside VotePlz, Silicon Valley’s Attempt to Get Young People to Vote
> I'm pretty sure you are misreading.

I'm pretty sure I'm not, at least in the way you are suggesting.

> Since (2) applies to AirBnB

(As noted previously, neither 1 nor 2 applies to many uses of AirBnB, where the person offering the rental isn't the property owner but is instead a tenant; but, that aside...)

I was actually responding to your suggestion that (1) applied to AirBnB -- or, more precisely, to a homeowner renting their home out via AirBnB; I was not responding to your argument that (2) applies to a AirBnB -- or, more precisely, to rentals of units or rooms by owners of homes for multiple (but not more than four) families living independently while the owner occupies some part of it (which, again, doesn't apply to lots of AirBnB rentals, including by-owner rentals.)

There are, I will acknowledge, a subset of AirBnB transactions which would fall within the exception of (2) from federal fair housing laws (which doesn't, actually, mean they'd be legal everywhere in the US; many states have much substantially narrower exceptions to state fair housing rules than exist in federal fair housing law.)

> Volokh (a very good law blog)

Volokh is probably the best right-libertarian law blog there is, yes.

> has blogged on this topic a while back

Maybe, but neither of the links you provide are "on this topic", (to wit, the legality of discriminatory renting via a commercial intermediary like AirBnB.) Both are regarding discriminatory listings via hands-off listing venues, which is a very different issue.
The US government want their scams to spread to Europe too with the Transatlantic Trade and Investment Partnership. It is all due to "lobbying", which is a politically correct way to say "bribing" in America. Corrupt US politicians doing the bidding of those multinationals, screwing over the general public. As usual.

With Brexit expect some of that EU legislation protection to disappear in Britain too. Maybe you'll get greek yoghurt instead of greek-style yoghurt now, though it might be neither Greek nor yoghurt ;-)
> away from fully understandable sentences towards single syllable grunts and crude hieroglyphs

As a Millenial™, I can confirm that me and all my friends communicate exclusively through single syllable grunts and emoji.
I have a 4S and love it, but I have stuck with iOS7. Never upgrade a iPhone unless the phone was first released within a year of iOS upgrade.
What is wrong with his docstrings?
My colleagues and I just got a paper accepted at Psych Science on this debate: we looked at the degree of generalization kids show in using determiners/articles ('a','an' or 'the') with nouns, also accounting for imitation of caregiver speech. If a child has heard "the cat" and "a cat", but only ever "the fish", when do they know they can generalize and say "a fish"? TLDR is that it's hard to say conclusively without larger samples of caregiver speech, but it seems like early speech (<2 yrs) has little evidence of category-based generalization, but it rapidly increases after that. Of course it's possible to contest that kids have more grammatical knowledge than what's reflected in what they say (the performance vs. competence distinction), but these methods can't address that.

http://langcog.stanford.edu/papers_new/meylan-inpress-psychs...

HN readers may appreciate the methodology: we construct a beta-binomial model as a simple approximation of the generative process, and measure how the parameters change over time when we fit to read data. The child's definite vs. indefinite uses for each noun are treated as flips of a weighted coin; the weighting is determined by the definite and indefinite uses by the parent combined with a beta prior. The peakedness of the beta prior indicates how similar a kid thinks nouns will be to one another (in the absence of evidence). We fit this model to all the successive samples of a bunch of longitudinal developmental datasets, including the Speechome project out of MIT. Nonzero, constant peakedness would be consistent with access to syntactic categories from birth; increasing peakedness of the scale parameter corresponds to growing syntactic generalization.
While my laptop doesn't have a floppy drive anymore. It does have a DVD drive and USB ports. Who is this 'everyone'?
I think best user experience in this case is to just prompt the user asking whether they have typed in correct email address, if they say yes just go ahead and submit the form.
A little OT but reminds me of the design implications of Graph Search: the Friendship pages which were introduced in 2010 [0]

From what I remember, these were introduced but after awhile, seemed to be a feature that fell into obscurity. As in, you pretty much had to manually enter the URL. The feature still exists and it's highly welcome, IMO, when FB does the occasional "You and John Doe have been friends for 8 years. See your memories" type reminders.

But to manually see your friendship with a friend, at least on the Desktop version, you have to click the "..." menubox, in which other lesser used features (such as "Poke") are buried. And it's possible to view the mutual content between any two users by filling out this URL manually: facebook.com/friendship/friend1/friend2

But I'm guessing the latter functionality was never given prominent exposure due to how easily it could be used for stalking a current or ex-love interest? Sure, you could scour your targets' walls individually and make a note of all public photos/messages in which they mutually appear. But the Friendship view streamlined that process as much as the original News Feed streamlined old-fashioned profile browsing.

I'm having a hard time imagining that it was a feature that would be popular for innocent reasons -- I'm already inundated with news items about friends' activity on my newsfeed, why would I want to view a highly scoped newsfeed about two people who are not-me for innocent reasons, even if I were extremely bored and Facebook were the only site on the Internet?

[0] http://www.adweek.com/socialtimes/friendship-pages-mutual-co...
You sound like a character from a Dickens novel.
اجمل نيك كس بنات عرب محجبات سكس بنات محجبات
Sweet SUSE HPE snags itself a Linux distro
5) God does exist but the reason there is literally no evidence is that he wants to test us and will punish those who believe in something with no evidence and with send to heaven all those who don't believe in him.

Seriously. Pascal's wager is the dumbest wager I've ever heard.
I would say that there is no Arduino compatible alternative to PJON for now, or I didn't find it, so I would say it is something new.
> As always, we'll make sure that these capabilities are available in the public clouds and can also be used on-premises.

Does that mean there's a chance Apigee will get open sourced? (fingers crossed)
I think it is US specific as you could not do that under existing EU laws.
You can also find that result by clicking on "past" under the submission.
Yeah, that's kinda a dick move. I was waiting for 1.0 before giving it another real go (after their decision to rewrite everything for 0.9). Looks like I'll be checking out something else now, maybe Prometheus[1] or DalmatinerDB[2] will fit the bill.

1. https://prometheus.io/
2. https://dalmatiner.io/
I have occasionally needed to argue with a long-time C dev that crashing is exactly what I want my program to do if the user gives unexpected input. They're used to core dumps instead of pleasant tracebacks.
It’s Tough Being Over 40 in Silicon Valley
What a bizarre acquisition. They say:

> A good API needs to [...] give developers the freedom to work in the development environment of their choice [...] a good API includes testing support

Those are two of the main reasons not to use Apigee.
Goodbye Ivory Tower Hello Silicon Valley Candy Store
The discussion seems to be easily diverted into one about audio, but I think something that I've not seen in discussion about this issue is the way some app makers have used the analog audio port as a data jack. I've long had the impression this was a workaround that was begrudgingly tolerated by Apple. Though we've all heard about how heavy-handed their app store policies are, so maybe I'm imagining things. But anyway, how does this new port affect the use of those devices and how does it affect future devices? Are there Lightning-only devices in the works, does Lightning allow the same sort of communication that the analog port did?

Plugging the audio jack seems to be Apple closing a loophole. It's not at all different from soldering RAM on motherboards to close the after-market RAM upgrade loophole and force customers to decide at purchase time how they'll use the computer in the future. Either they'll by too-low spec'd machine and have to upgrade sooner, or buy high spec'd and pay more upfront. Either way Apple wins. Their phones don't have card slots but my $50 LG phone does, so it's not a question of capability. When you can add 32GB of storage for $15, that money doesn't go to Apple.

The truly bothersome thing is how in denial people are about Apple's true intentions, or maybe it's simply that they own Apple stock. Apple's a public company, this is profit motivated pure and simple. Whether this move will also coincide with the interests of the customer remains to be seen.

(edit for typos and clarification)
Also, duck sauce contains no duck.
Aside from differing levels in what you can directly sense with your tongue– Sweet, Salty, Bitter, Sour, and Glutamates (umami), which we would all consider to be 'seasoning' elements (not broaching the topic of different chemical effects, such as with capsaicin)– the primary difference between any two foods is how they smell, which is why when you have a totally blocking cold, you can easily tell if something is too salty, but you couldn't say what herbs were used in it.

Consider a lime lollipop and a cherry lollipop with the same ratio of sugar base to whatever acid they were using for sourness. Going strictly by your sense of taste, maybe because of Anosmia, they would be utterly indistinguishable. The flavoring components, however, which really just give the pops a scent, are what makes the lime one taste like lime, and the cherry one taste like... whatever cherry lollipops are supposed to taste like. Our brain combines the tongue sensations and smells (and arguably, its appearance, mouthfeel and sound) to create our perception of something's 'flavor.'

This is why seasoning food, especially with salt, is important. It's not going to change the intensity of the brownness of a steak, or the freshness of an ear of corn, but it stimulates the tongue in a way that makes our brain much more aware of what we're smelling. It turns up the volume on the existing flavors, as if to say "hey! pay attention to what you're smelling, because it's coming from what's in your mouth." (I imagine this evolved from a combination of our need to seek nutrition, as well as our need to detect poisons.) Lacking stimulation on your tongue, foods come across as flat and uninteresting.

I'm sure our bathrooms would be designed very differently if our brains were worse at making the distinction between what we're just smelling, and what was in our mouths.
I didn't know that, but that actually makes my case stronger.
Yes can act as an alternative, but many of its feature are quite unique. For example it enables the user to use the same protocol on different media, with the same few lines code.
I was pondering the same thing; also, I wonder whether not being a native English speaker makes it easier or harder to read it - English is my third language and I found I could read it without any problems.

I think I've read somewhere that reading is basically done by the brain registering the first and last few letters in a word, then just checking whether the ones in the middle are more or less what you expect and where you'd expect them. (In other words - if the start and/or end of a word is altered, your reading speed and comprehension should take a nosedive compared to just messing with the letters in the middle)

If there is some truth to that, it would go a long way towards explaining why we can read it with as little trouble as we do.
Avoiding it doesn't push to make it secure, communicating with the creator directly will.
From what I see of the current status, the investigation regarding a rape charge is still pending; the other charges hit their statute of limitations last year. Since this is a recent article, I assume someone is still someone is still interested in pursuing the case currently.

http://www.news.com.au/world/europe/julian-assange-rape-case...
The alt-right is what happened when 4chan trolls, MRAs/PUAs, and Stormfront had a baby called 8chan.net/pol/

It's a small group of maybe 10,000, of which 5,000 don't even take the positions seriously, just love to troll millennial college "activist" consumer-types. The Clinton speech about the alt-right will have the same effect as Geraldo Rivera's goofy coverage of Neo-nazi skinheads in the 80s - multiplying their numbers a hundred-fold.
Iron overload, of all things, in a diet? Not likely. You will not be able to scarf down that much of it unless you're a habitual liver eater.

About the only way to experience such an overdose is to overdose on supplements.
this is a good point I think.

sometimes, people type wrong words, because certain keys are too close on the keyboard.

another problem I found about the naive spelling corrector is, it doesn't take the pronunciation into account. certain wrong spelling looks different from the correct version by edit distance. but they sound similar.
The lack of a headphone jack is simply yet another excellent reason not to buy an iPhone. What confuses me is why so many people continue to buy Apple products when they're overpriced, locked-down and treat developers like crap.
Comment specifies the protocol used "Than goes to https://shady.example.com"
Nothing's wrong with them. Though it is more usual to use triple quotes for docstrings even if they fit on one line (see PEP 257, "Triple quotes are used even though the string fits on one line. This makes it easy to later expand it.").
I'm definitely not trying to shut down opinions. It's perfectly fine to dislike the removal of the headphone jack.

However, I'm sick of people calling out Apple for being what it is: A capitalistic enterprise. Ultimately, of course they want to make more money. But they have clearly explained reasons other than "sell adapters" (which itself is kind of stupid, since they ship a free one with every iPhone). And after all, they don't control the market. Heck, here in Germany they don't even have 15% market share. It's not like they force the other 85% to drop the headphone jack.
Why not have both? Cities have parks that you can lie and eat out on during the evenings and weekends. They also have dog parks. Free roaming cats are bad for birds, so keep them inside. https://abcbirds.org/program/cats-indoors/cats-and-birds/
Interesting. All the whining and crying over a stupid headphone jack. It's almost like the complainers had their genitalia caught in their zippers.

Why is everyone cooking up all these reasons for Apple nuking the stereo jack?

Apple told you the reason.

Where is all the distrust coming from that the complainers don't buy that reason?

Space in that phone is at a premium. And nothing they said about the headphone jack was inaccurate.

Technology progresses.
Old tech dies.
Apple has never been afraid to kill obsolete tech to move forward.

No one should be shocked or alarmed. And certainly not crying.

I'm so tired of the Apple hate. Honestly if you are so alarmed and distraught over a headphone jack please do the rest of us a favor. Do not buy Apple products and stop crying over non issues. If you get cancer then please feel free to shed a tear. But a headphone jack? God some people really need some perspective on life.
I know you're joking, and I'm not agreeing with the headphone jack decision, but the dongle is $9.

http://www.apple.com/shop/product/MMX62AM/A/lightning-to-35-...
The difference between "natural" and "artificial" flavors is academic at best. Fundamentally, they're the same chemical compounds: the difference is how those compounds are obtained... and the premium you can charge for being "natural". But natural does not mean that the named ingredient was involved at all.

From an older Scientific American article:

Natural coconut flavorings, for example, depend on a
chemical called massoya lactone. Massoya lactone comes
from the bark of the Massoya tree, which grows in
Malaysia. ... This pure natural chemical is identical
to the version made in an organic chemists laboratory,
yet it is much more expensive than the synthetic
alternative.

http://www.scientificamerican.com/article/what-is-the-differ...
No, it should not. TCP/IP doesn't have a concept of names. I want to know that I am sending my HN password / login cookies to news.ycombinator.com. I don't have any idea whether I should send my HN password to 104.20.43.44:80 or not.

You could imagine a more complex architecture involving DNSSEC and results from getaddrinfo(), but that seems to break the end-to-end principle (it is the browser that cares whether I am actually talking to news.ycombinator.com or not) and also reinvent the wheel. We have an HTTPS ecosystem that works pretty well. We do not have a secure DNS system that works pretty well, let alone a secure TCP/IP one.
https://www.google.com/trends/explore?q=bower,npm

"Dying" is a bit strong, but there's no question that NPM is becoming the go-to choice for javascript development across the stack.