skysight-inc/HackerNews huggingface dataset:
These unicode attacks are interesting and unicode is far too useful to stop from using it.
The question is what can we do to fix some of these issues?
Like the RTL character. It shouldn't be blocked as it has a valid use case, but is there a non malicious use case for it when surrounded by normal latin characters?
eg:
abc[RTL]def

If it's just one RTL character then that should be fairly easy to filter out. Of course if that's a way a filter works then there will be other unicode characters you can add to the mix and still make it look the same for an average user and pass that particular filter.

One could identify unicode characters that belong to a particular character set (say latin) and see if some text contains more as one character set. Then invoke the filter if a text has more as 2 different character sets. Of course I can see that getting in the way of some use cases as well (text with translations in 3 languages for example)
My problem is then I'll get too many phone calls. And for me, a phone call is more disruptive to my workflow then an email. Then again, that's probably just because I dislike talking on the phone in general.
Slaps on the wrists for Anonymous PayPal attackers?
This is rather fun because Francis' arguments are so silly. "Grim existential challenges"? She had to invent some for the occasion. (Boo! the Chinese!) Canada is already under the U.S. security umbrella in every way that matters. As for how similar the two nations are (if you don't count French Canada), sure, and http://en.wikipedia.org/wiki/Narcissism_of_small_differences.

I live in what is arguably the most Americany of Canadian cities, and even here this idea isn't even a fringe position. I vaguely remember hearing years ago that some people had once proposed it, but it wasn't considered polite to mention who they were. If it ever turned into a political movement in Canada it would meet with overwhelming resistance. It's an identity thing.
If you want to remain anonymous, a virtual machine is your only option.
There's a system for making sure you buy low and sell high ("rebalancing"). Step zero is not to run off and make trades based on news you just heard; that's a sure way to buy high and sell low.
IIRC, when Windows file browser sees a .exe file, it looks inside the file for the program's icon and only uses the window thing if it doesn't find one. Nothing stops the program's icon from being the same as a Word doc.
Honestly, I'm surprised many here have even seen the show. A lot of the echo chamber prattle around here seems to be like that Onion article about "local man won't stop saying he doesn't watch TV" or something like that.
Keep in mind that we saw similar advertising from 1997 - 2002.

It's designed to create controversy, by filling the minds of potential customers with thoughts of becoming something greater than they are, and leaves the question open-ended.

Yet, they never answer the question of how the product or brand will do that.

Hmmmm....
There's an article on that here: https://en.bitcoin.it/wiki/Satoshi_Client_Node_Discovery

TL;DR: The peer discovery process is bootstrapped using a few domain names hard coded in the client. https://github.com/bitcoin/bitcoin/blob/master/src/chainpara...
Ultra-thin fault caused gravity-distorting Japan quake
Reminds me of the "Think different" campaign when they tried to peddle off electronics by coopting public domain images of famous people --- making it look like that they would be consumers of overpriced shiny gadgets.

Ghandi totally would have had an iPad air.
Haha, I remember reading this back in the day. While I came from a primarily C background, I have to say that Clojure truly is not only an acceptable lisp, but a refreshingly "modern" language -- in the same sense that Algol was a modern language for AI researchers. It packages cutting edge features, like STM, without necessarily complicating certain abstractions.
let's test this

hello ‮backward world
Your confusing the currency (Bitcoin) with the Exchange/Custodian (MtGox). You can leave the currency unregulated, but police the exchanges that trade it.
I shouldn't have pre-judged this app. I actually really like it.
Not really. I mean, economics is mostly voodoo science anyway, so it's hard to make a lot of objective statements about any of this, but it's hardly a stretch to suggest that laissez-faire free-market policies are generally better for economic growth.

But, again, none of this is really the point. Every system is flawed in its own ways, and the libertarian approach simply acknowledges that, rather than trying to distort reality and pretend that a "perfect" system is even theoretically possible.
I disagree with this. Studying computational efficiency is only one part of computer science.

What about the study of code generation and parsers? What about state machines? Or formalisms like relational algebra, algebraic type theory, distributed protocols, or lambda calculus? None of these things are "about" efficiency.
I think you are trying to make some kind of point about education or something ... I mean it's cute but teaching kids about arithmetic, or memorization as you call it, is a very different thing than what is being discussed here, namely the state of academic research and university expectations, etc.

I actually am not sure what's here ... I think it is sort of like the typical anti-academia stuff but seems to be more like anti-education ... I dunno ... What's better, watching a bunch of blogs on YouTube about how to build another blog in Node.js? Who knows.
> I live in what is arguably the most Americany of Canadian cities

Calgary?
Yes, I do not claim to be original. I do add other features to the app though, such as photo filters. And also, frontback is by far not the first app to do this. Just do a simple search in the app stores and you'll find lots of apps that do the exact same, much earlier than frontback.
I once wrote a quick Java program that recorded our project's build output (about 5 minute's worth at the time) and captured the time between each line of the output. Then it could play back the build output at the same pace. I could run that in a loop in a shell window and I could nap for an hour while it looked like I was waiting on a build to finish.

We joked about having a screensaver that looked like code being written and played realistic keystroke sounds like you were typing.
No, you just have to try...and of course practice if you want to get any good at it.
Of course, it's just fine if we all get kidnapped (or raped, whatever punishment seems fair by them) by the government if we someday fit in the ever-changing definition of "criminal" and "terrorists".

And it's completely irrelevant that the government is gigantic in comparison with all the tiny teams of wrong-doers is trying to stop.
As a Canadian who has lived in the US for a long time (but who happens to be in Canada at the moment to visit family), I've long thought a European-style union between the two countries would be a good idea.

I think Canadians would like to keep their own laws and culture, because they wouldn't want to give up their health care system, legal system (which for some reason involves much less litigation and fewer lawyers), and much simpler tax law.

Canadians have also mostly settled several of the large culture war issues that divide the US: they're happy with legal abortion, (mostly) illegal guns, and gay marriage, and are not interested in reopening debate on those issues.

But allowing labour visa-free access and unifying financial systems would provide great benefits. Not to mention how much I hated the moronic hoops I had to jump through to get my green card.
Well said. It's a topic I find myself at a loss of words to describe to the uninformed, but you do so nicely here.
actually, the Japanese already invented that in WWII - http://www.nbcnews.com/science/sunken-japanese-wwii-submarin...
Then you just need a keyboard with pulls the right buttons down while you are napping with your hands on said keyboard.
I never meant to be offensive. The reason why I wrote this title was because Google Play was currently showing me 'recommended apps' that were all border-line pornography apps whose icons showed precisely that.
The article makes decent points but these things are known to most people who understand anything about money, whether that money is Bitcoin or USD.

I have to say though that the opening line of the article is absolutely terrible:

Bitcoin is based on the idea that money gets its intrinsic value from its scarcity..

That is a terrible thing to say. Bitcoin is not based on that. Bitcoin is currently overvalued due to speculation. It's current value far surpasses it's utility (because we don't need $15 Billion transactions in BTC right now..). This is due to speculation, and yes, that is helped along due to it's scarcity.

But even with greater speculation, if the value starts going up, it becomes much harder to swing the market. Studying history is important. Bitcoin went from $30 to $2, then from $266 to $70. $1200 to $600 isn't even close. (there is of course the chance that it will go lower, much lower, but we'll see if/when it does..)

Volatility decreases with adoption. Adoption may decrease with volatility but so far, the crazy volatility has favored adoption and awareness. Volatility will truly become a problem if mainstream adoption takes place and it continues. However, it's harder to swing a bigger market, mainstream adoption is what will protect bitcoin from volatility (speculative, or otherwse). It's much easier for a person or a group of people to swing a $1MM market, vs. a $15 Billion, vs. a $1 Trillion market.

So far, every huge volatility event has helped bitcoin become less volatile and gain value/adoption/mindshare.

I can see how someone who just found out about bitcoin is going to focus on it's volatility. This has been true of every single media agency on the planet in the last few weeks. However, anyone who has been in this long enough or has studied it will recognize that volatility is actually decreasing as the market expands (an expected result). Somehow the other HN post about people not liking creativity/alternate solutions seems to come to mind [1]. (not an attack on the author but on the general sentiment, "BITCOIN WILL FAIL EVEN THOUGH I HAVEN'T STUDIED IT AND KNOW NOTHING ABOUT IT!!!! IT'S PONZI, OR ILLEGAL, OR DRUGS, OR SOMETHING!")

TLDR; Bitcoin is way less volatile than it used to be. Bigger numbers ($1000 vs $10) don't mean more volatility.

[1] - http://www.slate.com/articles/health_and_science/science/201...
Then they save your life. A week later, you receive the bill and the resulting heart attack kills you.
I can't imagine anything more than tighter economic integration actually happening, but it's a fun thought experiment to consider how a full-on merger would impact American politics. I (as an American) would certainly welcome the change and fresh perspective.
Reliance iStores to close because Apple doesn’t like how they look
I suspect it's actually done at runtime. Erlang for instance is dynamically typed, but also has pattern matching. I suspect Elixir is similar.
It's far too early for I-told-you-sos.
Bitcoin is more like gold than the dollar, except even less useful.
Apple honoring someone on their home page?

Google should sue them.
the server (mqttsrv) needs GOMAXPROCS>1 for any appreciable changes in the results, otherwise we're just measuring contention in the client.

i ran on a 2-core intel desktop running linux.
Thanks for the tips. You're right, maybe I was underestimating the importance of the app's screenshots. Thanks!
Tell the goverment to get a warrant
This is a very good talk. For people who prefer transcripts: http://poetry.rapgenius.com/John-cleese-lecture-on-creativit...
Hack Your Nook Simple Touch Into A Super E-Reader (even play Sonic)
if(condition, do: a, else: b)

looks like a function, but that implies Elixir does lazy evaluation so that only one of a or b gets evaluated. Or is something else going on?
Ok, I think I understand now. I'm guessing your Mom is slightly above the poverty line?

* For people with incomes above 150% FPL, copayments for non-preferred drugs may be as high as 20 percent of the cost of the drug. For people with income at or below 150% FPL, copayments are limited to nominal amounts.[1] *

[1]http://www.medicaid.gov/Medicaid-CHIP-Program-Information/By...
It freaks me out! I have many same attributes as this so called Mo!

- I have a name that starts with "Mo"
- I am from Iran
- I am twenty something
- I have the same skin color

I am kind of sure that they stole my information. I feel tribble right now
Agreed. I would be all in for removing barriers to trade (including labor) but that's about it. Also, if Canada were to merge with US, Quebec would almost surely certainly become independent unless the CanadUS agrees to officially become a bilingual country.
Yes, but its not the features per se that make Clojure and Racket different from CL; any feature in these languages can be tacked on top of CL fairly easily by a half-decent hacker.

What makes these languages different is their vibrant communities. I do hope they get faster implementations out sometime :) (and allow people the freedom they've been used to in the CL world).
Language to Language Matrix
This is a joke. It would be an incredible mistake for Canada to merge with America.

Who would want to merge into the $17 trillion in public debt, the economy strictly dependent on 0% interest rates (aka inflation), the poverty, the vast welfare expenses (that we can't afford), the collapsing infrastructure, the 14% unemployment, the $700 billion in military expenditures, the 3/4 of a trillion dollar budget deficit, the hundreds of billions in trade deficit, and the $100+ trillion in entitlement liabilities - that America is drowning under? Canada lacks most of those problems currently, and certainly the relative scale of those problems.

Why would Canada want to give up its countless unique national attributes? It would be smothered in any merger, and would see its national identity wiped out by a very obnoxiously aggressive US Federal Government.

Canada is a far more polite, gentle country at a government level. America is a violent, aggressive, quasi police state.

Canada's cities are some of the nicest on earth. The majority of large American cities are a wasteland of poverty and crime (10 out of the top 100 of the most violent large cities).

Canada has nothing to gain and everything to lose by merging up. As it is they get the benefits of being next to the largest economy on earth, with none of the negatives of having to be governed by the politicians in DC. It will never happen.
The word nerd doesn't mean nowadays what it meant 20 or 30 yrs ago. It's been appropriated by business sorts as a label so they can pass themselves off as creators of genuine stuff as part of their sales routine. Look at most of the nerds nowadays and ask if these people are really "persons of above average intelligence who don't care about their appearance"? Real nerds tend to use the aspie label nowadays.
>>More like "Apple markets on website by appealing to public figure".

Apple doesn't need to appeal to any public figures to do their marketing.
I think it really depends on the hospital. Some hospitals that are in major urban centers and provide services for a large indigent population often waive all expenses.

If you go into one of these hospitals looking like you have no money, you'll likely not be asked to pay anything.
As a student in a Ph.D. program, I can't help but think I'm caught in the grant-driven world and am being steered away from deeper consideration of big ideas. It's an easy track to get stuck on, mostly because grant-proposing is a game, identifying a minor unexplored area is relatively simple, and there are short-term rewards for doing so.

What's really getting at me is the arrogance of established "experts." It's kind of baffling (because it should be about curiosity, not certainty), and when you come across someone who has made it through the academic system and still retained curiosity, independent-mindedness, etc., it's a really refreshing sight.

That being said, a lot of what I do is unfulfilling and I've discussed several times leaving the academic world for some kind of tech startup life, although I'm not sure if that is a pipe dream or grounded in reality.
Yawn. Of course it did. Listen folks, China was driving value. The upticks now are the clueless looking to make some money. If you believe in it, by all means. If you're looking to buy for profit, please don't. I stand by my prediction of sub 100 soon...
Diane Francis has an agenda and should be ignored. She's long been considered a fringe figure in Canada and writes these sorts of things to sell her books. Her general technique is to frame an "us against them" argument that Canada cannot possibly survive unless we do something ridiculously dramatic, namely adopt the US dollar and/or merge with the US.
Even conservative politics in Canada are liberal (maybe even far liberal) by U.S. standards. The Senate would become a leftist bastion overnight!
That's the total cost to the French medical system for a normal delivery? I find that hard to believe. In Canada that rate is a couple thousand dollars.

Or is that what the patient has to pay?
Opportunity to pitch to global VC's in Barcelona
> So you think

Yeah, I do.

And yes, to answer your question, I think that page, which is not the first page one would visit for a project, is quite clear. I'm sorry, but KickStarter is clear as clear can be. I'm sorry, but anyone that expects something different is dumb, and I have no sympathy for them at this point.

> (one small text box that gives of an ebayish "we're just a middleman" warning)

There is a whole section called Risks and challenges on the project's main page.

There is a box clearly labeled on the pledge page that says:

"Kickstarter does not guarantee projects or investigate a creator's ability to complete their project."

Everything talks about "Estimated delivery" dates.

Not sure what KickStarter is?

At the top of the main page, right next to the name!

What is KickStarter? http://www.kickstarter.com/hello?ref=nav

> other caveats are behind links, which we all know are rarely clicked.

I'm sorry, but there is more than enough text explaining what's going on.

> From the perspective of the average consumer, KS looks much more like a store/daily deal/discount style website than anything else.

No. Only from the perspective of the below-average consumer. I'm normally tolerant of people not understanding things, but at this point, I couldn't care less. If someone is stupid enough to blindly ignore all the clear notices and wording saying exactly what they are doing and saying exactly what is really being promised, it's their own damn fault.

I've backed 20 projects and haven't had a bad experience. Things haven't always gone as planned, but I've never had an issue. I'm sorry, but if the someone can't use KickStarter like an adult, maybe it will prevent them from falling for a Nigerian scam they would have inevitably fell for.
A more descriptive, if not less offensive, term would be half-caste. Half-caste means the same thing everywhere in the world.

I am one.
This is exactly why the FDA is acting correctly here!

By "this" I meant "people not understanding the massive limitations in what 23andme does, likely due to their misleading and overhyped marketing material".

Rereading my post, I can see how that might not have come across as I originally intended.
OT but this is the first time I've seen the ternary operator used with only one operand. Apparently, it's only valid in GNU C though.

https://en.wikipedia.org/wiki/%3F:#C
The best part IMO is that backspace functions like backspace.
Wow. The average reimbursement for a non-complicated birth in most US hospitals is around $3-5K.

You are correct though, the reason why hospitals do this is because the system is entirely setup to support this kind of behavior.
Where/what is this from? A book of TR's speeches? Would appreciate the source, this is fantastic.
The North American Integration plan is already in full effect; the key to it's success is a gradual pace.

http://wikileaks.ch/cable/2005/01/05OTTAWA268.html

Has anyone shopped at a Target Canada recently? Maybe say on, Black Friday (which meant absolutely nothing in Canada)? Oh hi, Verizon!
It helps when there are drastic spikes in PM levels outdoors such as during rush hour or during high pollution events like Diwali. (people burn fire crackers en masse during Diwali, creates a ton of pollution)

Also, we do have air purifiers and air conditioners running indoors so those help a bit, but once you put them off, opening the doors and windows isn't going to help with situation.
Clever and satirical. Nice.
The file you appear to type is groups.c from the linux kernel:
https://github.com/torvalds/linux/blob/dc0755cdb16cb129c4054...
Tip: Hit Cap Lock 3x (Then hit Alt 3x)
So basically a political troll. That does explain it.

But why the WSJ? Maybe it's a better way to troll Canadians to get an article like this in the US press?
The code comes from the Linux kernel: http://lxr.free-electrons.com/source/kernel/groups.c
I anticipate that a lot of it will come through other means. Check out http://www.youtube.com/crashcourse, it's doing a fantastic job of making knowledge fun, interesting, engaging and cool.
Original post: https://news.ycombinator.com/item?id=2480946
Another: https://news.ycombinator.com/item?id=3997664
Cough, cough

http://www.youtube.com/watch?v=nmwXdGm89Tk
This has been posted so many times, very old
Awhile back I tried to make a markov chain generator that consumed a bunch of source code of javascript (or whatever language) and then spit out random code to execute with fuckit.js.

You could try something similar to easily produce random python code that will be correct a much higher percent of the time.

The problem was comments screwed it up since it would randomly put comments in code and comment out actual code.
Thanks!

While the original CrossCat paper focused on binary features, it is in fact much more general. For example, CrossCat uses a beta-bernoulli model for binary features, normal-gamma for continuous, and dirichlet-multinomial for categorical data.

CrossCat is a generative bayesian nonparametric probabilistic model. Informally, the generative process assumed by CrossCat is that the columns are clustered (into "views") according to a Dirichlet Process, then the rows within each view are clustered by another Dirichlet Process. Then, the data is generated by the datatype-appropriate component model for each cluster.

INFER, SIMULATE, and INSERT are all constant time, and most other operations scale linearly with the number of rows or columns, including inference. It doesn't store any sparse contingency tables or anything like that -- all it stores are CrossCat posterior samples.
"My friends and I" not "me and my friends"

Yes, call me a Grammar Nazi Troll, but I see a shocking amount of this most fundamental error all over forums where otherwise intelligent, educated people discuss things.

You sound ignorant when you make the same mistakes as my 12-yo daughter. I can tell you make it because you are typing as you speak, which means you are in public, in meetings, and some day in presentations using bad English.

People will judge you by how you speak. I'm not being a troll, I'm helping you have a better future.
Google: "Nelson Rolihlahla Mandela: 1918-2013" on homepage.
Reaction: Little fanfare.

Apple: "Nelson Mandela: 1918-2013" on homepage with b/w photo. Reaction: OH MY GOD. APPLE IS NOW HONORING A HUMAN RIGHTS ACTIVIST TO SELL THEIR PRODUCTS. LET'S ALL ORGANIZE A LYNCH MOB AND CONDEMN THIS INHUMAN BEHAVIOR!!!1