skysight-inc/HackerNews huggingface dataset:
> Of course, English uses 26 letter to represent 44 or so sounds, so as far as learning to read and write via phonics goes, English is one of the worst examples there is.

What you really want, for learning to read and write via phonics, is determinism -- you want someone to be able to write something if they know how it sounds, and to be able to read something if they see its written form. There's no need to have symbols and phonemes correspond one-to-one, and they generally don't even when people are devising their own orthography in a green field.

For example, using C for a generic consonant, we have the following regular spelling rules in English:

aC -- TRAP vowel
aCe -- FACE vowel
eC -- DRESS vowel
eCe -- FLEECE vowel
iC -- KIT vowel
iCe -- PRICE vowel
oC -- LOT vowel
oCe -- GOAT vowel
uC -- STRUT vowel
uCe -- GOOSE vowel

Voila, ten sounds in five symbols. The problem from a phonics perspective isn't that we don't have ten different vowel symbols for these, it's that we have other ways of writing the same vowels ("beat" is not written "bete") and other ways of reading words that appear to conform to these rules ("debris" does not rhyme with "priss", or even with "his").
That doesn't sound right to me. Pure sucralose does not taste like sucrose. Splenda bulks up their dry packets with dextrose and maltodextrin, both glucose-based compounds that don't have any of the artificial flavour of sucralose. There are also a lot of sodas containing sucralose, all of which have that artificial sucralose flavour.
Oh, dear, Home Depot, please, no. Chip & PIN is the worst user experience of all of them.
I'll make a prediction about where this is going longterm. Smart contracts will take off despite their rigidity but we will start writing them to include common law arbitration protocols. The arbiters will initially be 1 or more human but as the block chain begins to evolve it's own common law(s), fuzzy machine arbiters will emerge to fill the "incompleteness".
>> I don't understand the problem trying to be solved here.

Lawyers. They want to get rid of the lawyers.

It's a common desire. Like politicians, you want to get rid of them up until the day you actually need one. That day may have come for smart contracts. Does anyone here doubt TheDAO are now seeking legal advice on this matter?
It seems simple enough to include a fallback mechanism to human judgment in times of extreme error. Maybe requiring 90+% consensus from members, or something like that. Obviously, TheDAO didn't have that, and explicitly precludes any fallback to traditional systems in its documentation.
The impact can be mitigated by having low TTLs and using refresh tokens. This will give you a rolling window. If the TTL is 10 minutes and the client doesn't make any requests in 10 minutes, they will be timed out. But if the client continues to have at least one request every 10 minutes the session persist. Session persistence can also be ensured by having your web-client for example make a request to the server every couple of minutes.

Server-side key invalidation is entirely possible but it would require having a blacklist of disabled keys and comparing every requests against the black list. This would obviously concede the benefits of scale from JWT tokens since you are doing the same thing as server side sessions. However, the black list should be considered only as an escape hatch and need not be enabled at all times. In fact, once all the tokens in the black list expire, the black list itself can be disabled and things go back to the way they were.
Don't underestimate Haskell style variability--there are well-known 'schools' of Haskell writing style ... look up the Glasgow style, the Utrecht style etc. Frege, being on the JVM, adds its own twists on top of the standard Haskell syntax, from having to interop with Java classes. Essentially, it treats most Java classes as being in the IO monad because of their mutability and unbounded effects.

Yes, people can write Scala in 'Java style' or 'Haskell style' (not exactly), but I've come to think of that as a strength. Your colleagues can always start out near their comfort zone of imperative Java, and you can start out at yours, and you can slowly refactor your way towards each other. You can give Scala design talks to familiarise the team with best practices. With Haskell/Frege, you don't have that luxury. Everyone jumps in at the deep end.

About enforcing monad use: yes, it's possible to do that in Scala, but you're right that it has to be under the 'honour system'. About F#, it's not a pure functional language either. It's about as pure as OCaml and Scala.

As for pure4j, the reason I don't recommend it is that it makes it very clear that it's all in an experimental stage. So I have no idea which direction it's going.
Why do you think you can't invalidate a JWT? Store a JWT that is associated with some object in a database that has the field `isInvalidated`. This isn't rocket science. Sure - this turns the JWT token into a session but there is no way to invalidate based on something that isn't determined at creation time without storing something in a database.
We're just customers with bad experiences. There are even screenshots of emails with the RamNode CEO. Is it really that surprising to you that not everyone is happy with RamNode?

We didn't say that RamNode is an illegitimate provider either. If you're happy with being blackmailed by your hosting company's CEO and surrendering your personal information indefinitely, then RamNode may be the company for you!

And is it really surprising that people unhappy with RamNode would find and be happy with a competitor? It's not like they suddenly decide they don't need servers anymore.
What to3m said. I don't think it's OK by the slightest.
What is the difference between pixel and voxel?
The biggest issue is publicity. You need to be able to demonstrate public/peer recognition of your achievements, and I don't have anything which qualifies. I haven't heard of OS contributions being sufficient, but I can certainly see the argument.

The other (and apparently more common) way business folks get O-1 approval is an endorsement from a high-level government official. My lawyer was reasonably confident that if I could secure financing and demonstrate potential this would be possible, however I'm not comfortable working that hard for that long only to be held up on the whims of a senator in an election year, particularly since I couldn't incorporate without having status.

It's frustrating but understandable. The UCIS has no way to evaluate "Extraordinary Ability", so they can only go off your perceived position relative to your peers.
Right. And there's been a trend at least over the past 10-15 years at larger companies of more work being done in-house -- the baseline, routine stuff you speak of -- rather than being outsourced to firms, another factor in the increasing pressure on the traditional big firm legal services model.
I thought the actual quote from Sinclair was, [I'm paraphrasing here] "when you want to make a change and the facts don't support your case, tell a story."
9/11, Boston, Orlando, San Bernardino, nah we don't need defense, nobody can get to us.
https://news.ycombinator.com/item?id=11895440
Agreed. The pomodoro technique asks that no task is more than 7 pomodoros (sets of 25 minutes of focused work).

With this constraint, what once looked like an overwhelming and nebulous task now seems manageable and concrete.
Wait, are you suggesting that the mainstream view is that catastrophic climate change is inevitable? I don't think that's accurate.
Essentially, better technology raises the bar.

Before the spreadsheet, one didn't run what if analyses with 100 different variables.

I've also been told that, while it's certainly true that it's easier to search for relevant cases, etc., a lot of what does is raise the expectation that you will in fact find and make use of all of the most relevant cases.
I would welcome a larger library in Prime music but would definitely not kick in another $10/month.
But what constitutes a great achievement?
Uhh, Pearl Harbor ?
We already know how that is going to play out. Go ask your local radio and TV repairman.

(Although they weren't helped by the fact that transistorized designs simply didn't have parts that were expected to burn out on a regular basis.)
The state provides health care, yet there are still disparities between rich and poor. This confirms my second and third studies which show health care doesn't help.

This study also shows that (as postulated by folks down thread) that money doesn't change health behaviors.

That's the point - health disparities are mostly not caused by either health care or wealth. They are caused by something else (e.g.diet, exercise, genetics).
Coffe is arabic, Potatoes from Peru, Tomatoes from South America, your canned tuna fish is from Ethiopia and other fishes from Chile. When you sip your Tea you take advantage of the work of Asian people and the glass that contains this tea is probably an Egyptian invention. Your books are made of paper developped by first time in China. Your weapons are useless without powder, developped by China. Oranges and Lemons are from Asia. Sweet corn and Chocolate is from Mexico. The first agriculture systems and production of bread was developped in Irak. Your eggs and fried chicken came from the asian rainforests.

And you claim that "My family history made it happen" and "I do not wish that everyone in this world can have what I have"?

Wow.

You must have a really interesting family tree.
The article also said that "Thiel thinks that people shouldn’t go to college because it’s a waste of time" and then threw in a misquote of Ayn Rand for good measure.

What all these things have in common is that they're false but truth-adjacent: they sound similar enough to something true that the guy who wrote them can't be fired for journalistic misconduct. It's a very common type of falsehood for reporters looking to make reality fit the story.
You could say that about the GOP in general these days- lots of publicly expressed libertarian sentiment coupled with decidedly non-libertarian values like social conservatism, rah rah militarism, religion, and white nationalism. I don't understand how anyone can live with that level of cognitive dissonance and not go insane.
Indeed - what happens when the contract itself states explicitly that there is NO intent above and beyond the code?

Contract law exists above and beyond what the DAO t&c states - and it varies from country to country.

In Australia for instance - the high court apparently keeps changing its mind about whether or not ambiguity in a contract is needed before context and intent can be considered. Earlier on they strictly claimed that ambiguity must be present, later decisions seemed to imply that there didn't need to be any ambiguity in the text of a contract for the court to consider the context surrounding the creation of the contract.

So who knows - under Australian law what the outcome would be - the DAO folk could try to argue that even though the t&c effectively waives any possibility of ambiguity, still their intent, and the context of what they were trying to achieve with the DAO should be taken into consideration. But this won't be of use if the high court remains strict about requiring ambiguity.

And that's just one country.

http://www.corrs.com.au/publications/corrs-in-brief/uncertai...

The DAO folks are in deep shit methinks.

I think they have to hard fork. Because if they don't - they may find themselves fighting lawsuits in multiple jurisdictions - with the aggrieved parties claiming their own personal contractual intent was violated. If they do - it's only one law suit they will have to fight at most.
The Baffling Economics of the Island of Sodor (2013)
I usually give a dollar or two to performers, especially if they look homeless, unless they are horribly out of tune, in which case sometimes I still tell them the useless advice to get in tune and give them a dollar.
For people using JWT as a substitute for stateful sessions, how do you handle renewal (or revocation)?

With a traditional session, the token is set to expire after some period of inactivity (e.g. one hour). Subsequent requests push out the expiration... so that it's always one hour from the last activity, rather than one hour from initial authentication.

With JWT, the expiration time is baked into the token and seems effectively immutable. To extend the session, you have to either:

1. Re-authenticate from the browser every hour and store a new JWT token, which is kind of an awful user experience, or

2. Renew the JWT token from the server side every hour. At least in Google's implementation, this requires the user to grant "offline access" (another awful user experience)... and you'd need some hacky approach for replacing the JWT token in the user's browser.

So with all the recent discussion about not using JWT for sessions, what do you guys do? Do you simply make users re-authenticate every hour? Is there another magic trick that no one has brought up?

In my own shop, we're using the browser's JWT token as a server-side cache key... and storing the "real" expiration in cache so that it can be extended (or revoked) as needed. I would be interested to know if others take a similar approach, or have issues with that?
This article was a denial of service attack on our brains. The writer must be a dumpster fire. I want my 5 minutes back.
I used to run an Ethereum meetup and I was pretty much the only skeptic in the whole group. Everyone I encountered were "true believers."
No, his post on SO is a firsthand account, and is therefore an unreliable, primary source. Technically speaking; Nothing personal.
In late 1990s it was $100 and a 1 month grace period before you need to pay in full.
Are we sure that case sensitivity is the culprit? As others have noted, the function being called takes (and is given) 3 arguments but the function that is supposed to be called takes only 2.
I feel blockstack.org offers the best serverless technology.
Facebook was created by Mark Zuckerberg, who is jewish in his descent.

It is commonly known that jews love to banter and argue for fun so it is only natural Facebook will always have text.
This absolutely could be solved without a block chain.

I fail to see how, because a blockchain is just a continuously-growing list of data records hardened against tampering and revision[1].

A blockchain can't compel nor force me to action or inaction, nor enforce any legal penalty for inappropriate action or inaction.

The courts exist as an attempt to resolve differences between peoples interpretation of right and wrong, "slap a blockchain on it" won't change that.

1. https://en.wikipedia.org/wiki/Block_chain_(database)
To all recruiters – use machine learning to hire better candidates
At risk of being redundant (I've mentioned this book a few times), I highly recommend Stewart Brand's "The Whole Earth Discipline". [1]

Brand, for those unfamiliar, was a key player in the personal computer revolution of the 1970's. He created the "Whole Earth Catalog", which inspired many of the internet's pioneers, and was a hero of Steve Jobs. He later helped create "The Well" -- the first big online community, and was present at countless other cultural moments like the Electric Kool-Aid Acid Tests, and the forming of the Green movement.

The Whole Earth Discipline chronicles his early participation in the environmental movement, and how he's diverged from that movement over the years.

It's presented as a pragmatic guide for addressing climate change and explores things like urbanization, genetic modification of food, and nuclear power -- and how these things need to be reconsidered by environmentalists.

1: http://www.goodreads.com/book/show/6411373-whole-earth-disci...
If true, that's an even worse reason to vote for Trump.
>The bit that is working the eyes atm was designed (via evolution) to work the eyes.

Evolution is a random process, there is no designing, there's no goals.
Nothing wrong in principle with having a mechanical third party. You just have to actually write your contracts correctly.
Someone wrote up on the wrong side of the judgemental bed today.

I'm sorry I didn't print out the patent, stash it away, go get a law degree, come back, study it, get a second opinion, and then comment, but hey, neither did anyone here, and yet HN survives.

I read enough to know I disagreed with it. I have been in business long enough to know you don't sign an NDA that doesn't cover internal prior art. I know you think you have a grasp on my ability to comment intelligently on patents and NDAs, but you are mistaken.

And be careful who you call disingenuous. It's an insult of a pretty high order, and were I a lesser person, I might have taken it personally.
> You are the raped woman. Get used to it, because this Bitcock ain't gonna suck itself.

What is that supposed to mean, even remotely? I bsoded multiple times while trying to process the meaning.
http://www.cnn.com/2016/06/13/middleeast/qatar-dutch-woman-r...
There isn't a domain name shortage.
Understanding the Factors That Impact the Popularity of GitHub Repositories
> It's nice that Vitalik Buterin is a genius, but it shows that this guy is only 22 and dropped out of university because anyone with a degree in computer science knows about this stuff

Personal attacks, which this crosses into, are not ok on Hacker News. Please edit such stuff out of your comments here.

We detached this subthread from https://news.ycombinator.com/item?id=11928562 and marked it off-topic.
Sounds to me like he loves the idea of Ethereum, which is shoddily written contracts that automatically enforce themselves and are capable of paying out large amounts of virtual currency to clever people.

He just hates the community saying "We were just kidding about the self-enforcing part".

(Disclaimer: I do not actually approve of Ethereum, nor the author's views, but they have momentarily conspired to make interesting and entertaining things happen.)
Thanks for sharing the photos. There is one showing a metal rooftop with logs and rocks on top. Why are the logs and rocks on top of the roof?
Though this ship has sailed (and I'm actually pretty happy to have been pushed into launching globally), I'm definitely curious. My linkedin id is on my HN page.
> Kanji/Hanzi are so easy to read because over the millennia the ones that are hard to recognize at speed have be[en] dropped or tuned

Um.... there are plenty of characters that would, at first glance, appear to be identical to each other. There are plenty more that people have difficulty identifying out-of-context, but not when they appear in context. Characters don't get dropped for being hard to recognize.

They are easier to read, assuming you already know them, because they encode significantly more information than a phonetically-based script does. That's a fairly straightforward example of more work up front allowing less work later, much as encoding wikipedia into a decompressor allows the compressed version of wikipedia to be very small.
"It's nice that Vitalik Buterin is a genius, but it shows that this guy is only 22 and dropped out of university because anyone with a degree in computer science knows about this stuff and its importance in high reliability systems."

I wouldn't be so hard on the kid. Now, the due diligence that should have been performed by the corporations that sank millions in to this project, who actually do hire plenty of people who are well educated and should have known better is another matter.

But I suppose jumping in early in to the tulip craze and riding it for all its worth is more important than taking the time and effort to make sure the system is reliable and robust before it goes live.
Oth. If the alternative to people who actually had to build something and make it work is people who graduated from Harvard with journalist degrees....

...both groups will contain sociopaths, abut at least one of them will have learnt to do something useful.
You can implement sign out everywhere by setting a reauth flag on the user in the database. You lose the "completely stateless" aspect that JWT claims to provide, but it's a small trade-off for tighter security.
have you heard about the $40mm comma ?

http://www.businessinsider.com/this-typo-cost-america-about-...
A simpler deterrent would be to linearly increase cost of the next domain you buy. This is the opposite of bulk discounts, and should make squatting unfeasible (at least not in large numbers).
It's not credible that 75% of Syrians have left the country.
"npm-install-all" Node Module
the word the author is looking for is CloudKit.
We don't know what a judge will say, of course, or in what jurisdiction.

But, look up equitable fraud if you'd like to understand the law a bit.

Two parties can't usually contract around the rights of a third. In this case, many are harmed. Judges apply the law with the aims of justice in mind.

And, that's just civil -- e.g. Does the thief owe money back plus harm damages? The criminal tests here seem really easy to meet to my mind. This is the sort of case every aggressive prosecutor who wants to make a name would love: Assholes vs Grandmas, and assholes who have publicly stated they did it already.

I would think theDAO itself will be sued in short order, regardless of outcome. If the thief really wants to make money, maybe they should escrow the funds and sue theDAO for damages.
[headerB64, payloadB64, signatureB64] = jwt.split('.');

if (atob(signatureB64) === signatureCreatingFunction(headerB64 + '.' + payloadB64) {
// good
} else
// no good
}

You really need a constant time compare for the signature, else you leak information about the correct signature in the timing of the response.
I busked in Covent Garden in the middle of the summer for about an hour and made something like £100. That's literally my only experience though so it's probably an anomaly.
At least in my country contract law is regulated by regular laws, especially contracts between consumers and corporations. There are definitely limits to what rights you can sign away and some of these are based on more general, open-for-interpretation definitions, using terms like "reasonable", "expectable" and the concept of "bonus pater familias" ("good family man", apparently referred to as the Man on the Clapham Omnibus in the UK), i.e., what would a regular, reasonable, moderately educated person expect. I don't know about America, but I would assume there are somewhat similar protections, at least for consumers.

Honestly, I'm almost in favour of letting the attacker keep the money to hold some of these foxhole converts to their own ideology. But I am quite sure that at least here, a contract which purports to be about proportionate sharing of a mutual pool of money but happens to contain a loophole that allows one person to run away with the pool would be void, and exploiting the flaw regarded in the same way as exploiting any other code flaw to obtain unauthorized access to a computer system - hacking.

Of course, my country's legal system has a often proven itself incapable of understanding how computers work, so who knows what they'd conclude, but I can't imagine that it is as clear cut as some suggest.
With that title and URL I though it was going to be a thinly veiled attempt at the Shia LaBeouf equivelant of a Rickroll. The message turned out to be pretty much the same.
I completely agree. There seems to be less appetite for this than I would have imagined. A rich type system is absolutely going to be a huge help for smart contract authoring.
Digital currency Ethereum is cratering because of a $50M hack
The US absolutely does not have a universal health care system; roughly 33 million remain uninsured, and a large number of those who are insured do not have adequate savings to pay their high deductible (which can be as high as $6,000 per person per year in-network, and twice that out of network).