skysight-inc/HackerNews huggingface dataset:
People that pirate Gucci bags or Rolex watches know there's a law against it but there's lot of rules we take for granted. People that buy the stuff know too.

Do we stop watching a YT clip that we know is actual copyright infringement? I'll venture that most of us don't. I suppose most of us rationalize our behavior by saying the laws are excessive. I imagine the people who buy and sell pirate goods do something similar.

While copying electronics is more common in Asia it's not like Japan or China or Korea don't innovate or that the West isn't similarly full of copycats (look at the Samwer brothers or the generic products in your supermarket).

And that also misses the point that Samsung and other copyists do a lot of good for consumers by copying innovations, pushing prices down. In some industries the people that actually innovate do need some protections so that they can keep making those investments. Much like in actual piracy there's a risk reward element to copying as a business model and I'm sure that's all part of the calculus that Samsung does with their products. Like the factory that breaks environmental or labor laws -- they pay up sometimes but in the end they do it because they still come out ahead.
It turns -1 (indexOf's "not found" result) into 0 (i.e. something falsy). Any other value is turned into something which isn't 0 (i.e. something truthy).

Basically, it's a smug version of:

return item.toLowerCase().indexOf(this.query.toLowerCase()) !== -1;

Writing it like this is a lot clearer. Furthermore it even returns `true` and `false` instead of some truthy/falsy integer.
It sounds like they are trying to update to be hipper, but perhaps that's not a great idea. From their news ticker:

The D.A.R.E. program, the pioneer prevention effort founded in 1983, has implemented a new middle school curriculum -
"keepin' it Real"
Sooo you come to a site requiring flash with a add on flash blocker and complain it doesn't support you well... Maybe you're doing it wrong. If you can't get your own custom modules to work either don't use them or figure out how to use them better, don't get mad at someone else for not supporting your custom setup better.

I could turn off javascript and spend all day criticizing websites, I don't think any one would give too much care.
Awesome. I'm planning on going out to visit friends the first week of September. Should help me get a sense of the city before my lease is up so I can make a slightly more informed decision.
And if you want to generate ascii text: http://www.figlet.org/
We used it since at least 2007 (not exactly sure, we switched from PhpBB around the time exploits were discovered every other week or so). It's still quite smooth and works fine, I just don't like looking at the code, nothing changed in that respect :)
`indexOf` returns -1 if there's no match.

Bitwise NOT on -1 will give you 0 -- for any other number, it'll return a truthy value.

It's the same as:

`return item.toLowerCase().indexOf(this.query.toLowerCase()) !== -1`

If you're really dead set on doing things this way, it's safer to prefix with !! to coerce a real boolean:

`return !!~item.toLowerCase().indexOf(this.query.toLowerCase())`
But since you're not accusing Koh and have no evidence then basically what you wrote is irrelevant to this case.
+$50
My god, I remember being spellbound by this for hours as a novice, after learning my first few shell commands and managing to get the damn modem to work on linux.
I like juries.

Set aside the details of which particular patent has been claimed -- is this not a just decision? Is it not completely clear that Samsung copied Apple's designs to an extent bordering on fraud?

If Samsung were making knockoff purses as similar to Louis Vuitton purses as many of its phones and tablets (and stores) were to Apple's, its products would be seized and destroyed. But Samsung isn't a hole-in-the-wall designer fashion accessory vendor but a multibillion dollar operation.
Interestingly, TechCrunch (http://techcrunch.com/2012/08/24/hang-on-a-minute-jurors-awa...) reports that some of the damages awarded to Apple were awarded without finding any patent infringements. In other words, the jury's report was quite a bit sloppy (maybe rushed?). Anyway, undoubtedly this will all be appealed, and the case could turn any direction.

A personal question - what is the double tap to zoom patent all about? It hardly seems to me, personally that that should be patentable. Just as there's no way, Google should be able to patent something like 'double-click to zoom' on Google Maps.
Not really true, in complex civil suits. Many countries use specialized, expert judges and courts to decide such matters.
If you mean broker, I am in the United States and use Scottrade. I use them because their fees are low, their tools are good enough and their service is excellent -- especially because they have an office in my city where I can fill out transfer paperwork in front of an employee to reduce the chance of time-wasting mistakes.
Numbers are IEEE 754 floating point. It's a separate standard which they just had to reference.

I do agree that it's bad style, because it doesn't clearly communicate the intention. If you want something that returns true or false, you should return true or false.
It doesn't make any sense to divide the efficiency by population. I have no idea what meaning to assign to the resulting numbers.

For example, imagine a country of efficiency of 1 and a population of 1m, and therefore having an "efficiency per million people" of 1.

Now, that country splits into two countries, each of population 500k. Oh happy days, each half of the former country now has an "efficiency per million people" of 2.
True but it isn't central to the case.

The Samsung counterclaims really centered around the patent exhaustion issue. If the jury found that it did not apply in this case Apple would clearly have infringed.
The submitter is making a silly comparison.
Pretend we have country A with a $10 GDP, 10 tons of CO2, and 10 people.
Country B also has a $10 GDP, 10 tons of CO2, but only 1 person.
Subby's numbers make Country B 10 times as efficient when really they're both the same per ton of CO2.
> But both claim A and claim B look like commercial speech to me!

One of them offer a refund without making any kind of claim, the other makes a claim about the contents of the book and about what outcome purchasers have a right to expect. They are treated differently under the law.

But I can see you are simply not going to get this, no matter how many cases I quote for you, how many legal decisions.

> How is claim B more dangerous than claim A?

One of the statements offer a refund without making any kind of claim about the book's effect. The other makes a claim about the book's effect.

Imagine you are a doctor, offering a miracle cure that is in the pages of a book. To one group you say, "If you're not happy with my book, I will give you your money back."

To the other you say, "My book provides a cure for cancer. If your cancer isn't cured, I will give you your money back."

The first pitch is protected under the First Amendment because it doesn't describe the book's contents or effect, and therefore it doesn't matter what the book says. The second doesn't have First Amendment protection, because it's commercial speech that makes a claim about the contents of the book. In the second case, the author makes the mistake of making a claim about the book and its contents in his promotion, outside the protection of the First Amendment.

How is that in any way complicated?

URL:

http://articles.businessinsider.com/2011-12-16/news/30523850...

Quote: "Trudeau insisted his First Amendment rights were being infringed, and began advertising books rather than diet supplements in new infomercials ... [but] the new ruling requires Trudeau to give back all the money he made from selling books during the infomercial ban."

The reason Trudeau lost his case, even though he was selling books, is because he didn't just sell the books, he described what the reader should expect from them in his pitches. It was on this basis that the court ruled against him.
Texas Judge: "U.N. to invade Texas"
I'm not sure about Germany, but in Denmark it's just a service of the state. Doctors' salary, and hospitals' equipment needs, are assessed and negotiated the same way as with other sectors of the public-safety apparatus, such as the police department, fire department, and military. You'd like to keep your hospitals well-stocked, your fire engines maintained and modern, your air force state-of-the-art, etc., but without spending infinite money on any of those, so similar decision-making procedures are used for each. Some services are contracted out to the private sector on a competitive-bidding basis. For example, private companies run a number of the ambulance services, and also the Copenhagen bus system: the government draws up its requirements, solicits bids, and chooses a bidder, who then gets an N-year contract. In addition, there are medical-device manufacturers, both foreign and domestic, who sell on the same competitive-bidding basis. So far the bidding seems to be relatively clean, especially compared to, say, what happens with U.S. defense contractors.

Moral hazard doesn't seem to be a large problem with hospital services (doctors aren't going to order an unnecessary surgery), and there is a strong culture against unnecessary prescription drugs. So about the worst that can happen is someone wastes their local physician's time 30 minutes at a time. Since small-time office visits aren't where most of the healthcare costs go (in either Denmark or the U.S.), it's a minor concern. As far as foreigners, that's a concern, and handled by the immigration system (you probably won't get a visa if that's the reason you're trying to enter). The main current concern is intra-EU system-shopping of that sort from Europeans, who don't need visas. There are attempts to standardize something around that (the EU "blue card" scheme is one), but it's one of those awkward areas that showcases the EU's quasi-integration. There is also a debate currently about whether Denmark should start charging tourists, since it's one of the few countries that provides completely free emergency care to anyone. Many see this as the right thing to do: if a visitor is injured in a mugging, for example, some people view charging them for the hospital visit as adding insult to injury, like sending them a bill for the police investigation would be. But there is also annoyance that other countries don't reciprocate, so a little bit of a sentiment of, "well if the bastards are going to charge me for getting mugged in NYC, let's charge them when they come here".
No; no; hyperbole.
The emissions of each nation would also be cut in half. The efficiency value would remain the same.
As an update: http://linuxlock.blogspot.com/2012/08/it-started-with-hopele...

While he still needs money, they did find a doctor to perform the surgery. But don't let that stop you from donating, if you're able.

He also answered a question that I had: he's a veteran, so he should qualify for VA medical assistance. According to his post above, the VA system moves too slow to stop his rapidly spreading cancer.
If Apple is smart they'll donate their winnings (or pledge to donate them) to a universally laudable cause, like MSF. They don't need the money, this was never about the money, and this will underline the point.
Immigration and Skilled Workers: The Track Star Economy
> The danger is that people will over-use the public system.

How does that work exactly?

I'm trying to think of how I could even deliberately overuse health care, in the event that I decided health care were something desirable rather than something I tend to avoid because it's boring. The best I can come up with would be to hit myself with a hammer occasionally, necessitating treatment of the injury. I'm not sure why people with a public system would deliberately do something like that.

I'm not really trying to be facetious. This seems to be one of the ways in which health care isn't like any consumer product: people really do not want as much of it as they can get. In terms of preventative medicine, just getting them to use it can be quite a chore. In terms of treatment of disease or injury, I don't see how using it for its intended purpose qualifies as "overuse."
I simply cannot comprehend our [as a nation] almost religious stance vis a vis public healthcare. Hearing stories like this literally upsets me, because it is totally unnecessary. We are better than this.
Judge Koh could learn from Posner. Tell them both to "figure it out" and cross license. If that doesn't work, "Get out of my courtroom" would. If I was Samsung CEO. I would cease shipping components to Apple tomorrow, then file a anti-competitive practices lawsuit against Apple.
What a joke! The jury rushed through this so quickly and uncaringly that there are glaring errors in their verdict. Look at the edit at the bottom of the article:

http://briefmobile.com/jury-comes-to-verdict-in-apple-vs-sam...
Before anyone talks about addiction everyone needs to understand what they mean by physical and mental. Most people think they do but don't.

To be addicted simply means one will seek out the thing they are addicted to at great cost. They'll neglect all sorts of important things and put the object of their addiction above all else.

To be dependent means ones body needs a substance to function normal. Usually this means keeping withdrawl at bay.

You can be dependent but not addicted.

The only difference between drug addiction and an addiction to, say, playing games is that you are not dependent upon the games. In reality however the cost of both are just about equal. The one difference being that many substances will cost you your health directly while games will cost you your health indirectly. In both cases however the psychology is the same and so is the neurobiology. But because games don't literally replace already existing neurotransmitters you don't get dependence. But what you do get with games, just like substances, is your reward pathway being excited to the point where you begin seeking out the thing that excited that pathway over and over. Nothing else excites that pathway as much and so you then crave that thing.

People look at gaming and drugs and think its a no-brainer that they're so clearly different but they aren't. Addiction is addiction no matter the object of addiction.

You know what the real difference between gaming addiction and drug addiction is? Stigma. What everyone thinks they know about addicts/addiction.
and the end of Apple begins....
It's collapsing newlines. In the Rails demo I hit enter twice to skip a line, but it only took one to get me down two lines, and the second was an 'error'.

Edit: It appears that this is part of the "auto-indent" mechanism (which is intuitive for indentation). How about accepting multiple newlines, or whitespace at the beginning of a line, but not requiring it?
The GDP goes down, and so does CO2 emissions. So GDP/ton stays the same, and the population is halved.
IRAN SET IN ATTACK MODE
Even though I have developed some javascript code, I always feels that my javascript code is full of hacks and needs to hack along the way.
All ready to check it out and get some socks; facebook roadblock.
Will Apple-Samsung Affect Open webOS?
> By that metric, OS X and Linux are bad operating systems because they don't sell/run anywhere as much as Windows does.

How is that my metric? I said it's ludicrous to assume nobody buys an iPhone because of the design or the OS, it's always because of the apps.

I never said word one about number of units sold, I have no idea what you're talking about right now.
Keen to see a few customization examples. Mind sharing your site if it's launched?
About the VA. What he would receive (this includes medical care) depends on his level of service. Was he in combat? Was in injured while on active duty? And many other factors.

All this takes time for the VA to consider. And worse still, there's a HUGE backlog of claims right now (for obvious reasons).

Just pointing this out in case anyone declines to help out cause you're hoping the VA will come through. I mean, they will, it will take time though. And he doesn't have time.
Good luck getting this kind of ruling anywhere in Asia except perhaps Japan. Most Asians are going to be baffled by this, if they don't see it as an attack on a successful Asian business by an American bully.

Apple is going to regret this in the long run, I suspect. They should have spent their energy going after the Chinese iPhone cloners that put junk hardware in an actual iPhone case instead.
Finding a pro-bono doctor was in the plans from the start, if I get it right. And the doctor should have never been in the $50,000 total. cit: "The cost just to book the OR for Ken's surgery is $50,000, and that doesn't include the surgery itself, nor any post-op medical expenses."
I'm not sure I agree. Apple was pushed into acting as an outsourced R&D and marketing consultancy for their business partner, Samsung. They're entitled to a fee for their services, especially given the success Samsung has enjoyed as a result.
Yeah, but -1 isn't represented in IEEE 754 floating point as all bits one, is it? The ECMAScript standard specifies that the bitwise operators work by first converting their arguments to 32-bit signed integers, but at least how I read it, it doesn't actually say anything about how these 32-bit signed integers are represented (which implies that they continue to be represented as IEEE 754, which isn't how browsers behave, and wouldn't be very useful).
On a similar note, I find the idea that future non-Apple devices might have been required to be triangular absolutely hilarious.

> The only patent the jury found that Samsung didn't infringe relates to the design of a tablet as having a rectangular shape and rounded corners. Throughout the trial, Samsung's lawyers frequently remarked that Apple shouldn't be given a monopoly on a rectangle with rounded corners.

-- online.wsj.com/article/SB10000872396390444358404577609810658082898.html
Just to add to that, the laws already on the books for quite some time can get you potentially ten years for sharing copyrighted works over Bittorrent and the like (the new law is for downloading, but a similar law for uploading is already there). Never heard of anyone getting pinched by it though.

It's still fucking lunacy.
The Groklaw coverage was late, pretty average in format and biaised.

Why would I upvote that submission in favour of better ones ?
Book Signing . . . 9/15
sane and efficient governments

Name one.
It's Medicaid he needs. Not Medicare (though Medicare would allow him to deal with this too). There's a huge difference.
I think this is one of the most disappointing verdicts since the OJ trial.
I don't want different socks every month, I want the same socks all the time.

That way I only ever have 1 mismatched pair (I will concede that I may have several types of socks - boot socks, running socks, cycling socks, business-time socks).

The ladies do not call me fashionable. I can live with that. I am safe in the knowledge that I have matching socks for every* occasion.

* except where prohibited by law
I haven't looked at cooled lava up close, but I thought it was abrasive and sharp and really had for tires.
Exactly. One way to explain the lunacy of claim 8 to a layperson would be by example: imagine if Edison's patent for the light bulb had covered any possible means of turning electricity into light, rather than a specific method involving a conductive filament in an evacuated bulb.
Dunno about OP, but some businesses have privacy or legal issues around data that they might want/need to store in these systems.. Things like healthcare info, etc.
Some of the best lispers use vim. cf Doug Hotye (antiweb, Let Over Lambda) and Paul Graham. I use vim + slimv to develop with SBCL.
great for ref. however i can't found the dataset anywhere on the internet :(
Ugh. I hadn't seen that - I just thought it was a really cool idea, reminded me a lot of Dollar Shave Club [http://www.dollarshaveclub.com/?gclid=CMjzjMnNgbICFelaMgodMH...]
I think my college-bound daughter would enjoy this if I gifted her a subscription. Unfortunately I can't tell how much it costs without creating an account (giving away my email), nor can I tell if it's possible to give an anonymous gift (because I find the idea of my daughter getting random socks anonymously hilarious).
No, you can also make an Android phone. You just need to avoid infringing these specific patents either by removing functionality or implementing it in another way.

As magicalist points out elsewhere in the thread, it is utterly impossible for anyone to build anything resembling a modern smartphone without infringing claim 8 of Apple's '915 patent. You can build a phone or a tablet, but whatever you build will not be capable of competing with an iPhone or an iPad.

Regardless of what you think about Apple, the iPhone, or patents in general, it is not OK for a judge or jury to hand an entire market over to a single player for 20 years. Claim 8, by itself, is enough to do that. By granting it, the USPTO walled off all possible competitive approaches.
Great copy on the front page.
Judge of Oracle/Google case claims everyone is a Google shill
I don't know why you should need stickers at all - just have some unique symbol you can draw, train evernote on the symbol and get rid of the stickers all together. It can't be that hard to do if you train it on your own symbol, as opposed to trying to learn to copy one or whatever.