skysight-inc/HackerNews huggingface dataset:
This appears to be a peculiarity of the REPL implementations, not a difference between V8 and JSC. d8 (and the Chrome console) behaves the same way as jsc, while you can make d8 and jsc behave the same as the node REPL by wrapping each statement in parentheses:

d8> ([] + [])

d8> ([] + {})
[object Object]
d8> ({} + [])
[object Object]
d8> ({} + {})
[object Object][object Object]

So I believe this is merely erroneous behavior of the console, not a weirdness of JavaScript itself.
> The occasions of Google's data being compromised are notable for being exceptions

So far, but the risks are only going to get worse. Eventually the value of our data, at least in aggregate, will exceed the costs of defeating Google's security (assuming it's even as good as the money they put into it). And please don't forget, the government can take a peek anytime for free.

> Google makes money by keeping that private data confidential, while Facebook makes money by selling the data

They use it for exactly the same purpose. To sell ads. Neither platform has, or likely ever will, sell our data outright. That is absolutely the last thing I'd be worried about.

Of course, like the government, you don't know who will be in charge tomorrow or what their intentions might be.

> These are the companies' respective structural traits. And I think that's what makes Google unique.

All institutions will try and do terrible things if you set up the wrong incentives.

> Can you elaborate as to how this new strategy no longer aligns our interests with Google

We are paying for this with our privacy. I'm not sure how much clearer I can get. Improvements to Google's index used to cost us nothing. Now they cost us our data. The more data they collect, the more money they will make. That sets their interests squarely against ours; yes, true, we want good search results. We also want the government to arrest all the terrorists. I'm not prepared to live my life as an open book to achieve these results.

> to me the benefits far outweigh the risk/cost.

You've asked me a lot of questions, let me ask you some. What happens when the benefits no longer outweigh the risks but Google tell you sorry, our profiling isn't finished yet. What if through some change in your personal circumstances the data they hold suddenly becomes damaging to you. What will you do if they go too far? Will you know straight away? Will you have time to make a decision? Will you be able to tell them to stop? How will you get Google to delete your data if you want them to leave you alone? Are you expecting the government to step in and help even though they're directly benefiting from all this data collection? Are you perfectly happy that they have access to it all? Would you so willingly hand over the same data to them directly?
"If it all disappeared tomorrow no one would know where to start from first principles again as these are no longer taught."

Modern Computer Science is a relatively new field... there are still early pioneers of the field who are quite alive.

While I agree with you that today's abstractions make things less fun than they used to be for the average development job let's not get crazy with the hyperbole.
Whos afraid of China?
A's hire A's and B's hire C's

OK, now define "talented."
Chilling Effects Clearinghouse
It would've helped if Google convinced other companies to join them if they don't lower their censorship requests.
Exactly. The kid was a junior in high school. I'm 30 years old. It wasn't like I was picking on some little kid. The sooner someone gets called out for stuff like this the better.
The other reply is right, to clarify String({}) === "[object Object]"

I think the actual video was a little misleading, [] + {} == the string "[object Object]" not an object. The square brackets are just part of the tostring method and are unrelated to the square brackets of arrays.
most of the undergrad cs classes i took at berkeley were somewhat open. In the lower div classes, you would usually get unlimited notes, and the upper div classes would usually give you only a few pages (usually 2 to 4). it seemed to be a good compromise of scalability and usefulness.
For those referring to open books, one of my law professors explained it to me this way.

It's a trap for the unprepared. Poor students think that they can rely on the books in an exam, but there's just not enough time to read, parse and apply the source material. Either you learned ahead of time or you didn't. Students who learned the material use it as a reference, not a source.

It also, he said, allows him to give "proper exams".

I quit studying law, but it was still an eye-opener.
The Case for the /usr Merge
Humanity continues to hang from Eisenhower's 'cross of iron'.
Pages 3 and 4 in the PDF. The redactions leave some questions, but the avaialble text directly confirms what smokinn and the Techcrunch article wrote.
Masdar City is an experiment around Dubai where all cars are underground, top level is pedestrian. They built it from scratch so they had that luxury.

http://www.masdarcity.ae/en/
http://en.wikipedia.org/wiki/Masdar_City
http://www.youtube.com/watch?v=PB_5TBZQNRY

Also the cars are automated - self driving. They don't have to deal with pedestrians and traffic, so much easier to automate driving.
They addressed that specific question in the essay. Did you miss it, maybe?
I actually do my best to maintain a constant speed, though because of the large window in front of me, it often doesn't last long before someone merges in and sends me back to stop-and-go. I'm just glad I have transit options available.
Fast, native methods for javascript collections
It's probably well-known among readers here, but you can turn off this tracking via the Google ads settings page: https://www.google.com/settings/ads/onweb/

Ironically, I disabled targeted ads because the targeted ads would distract me (since they were well-targeted) and I prefer to not use ad blocking software.
I'm going to guess this is more about Germany than it is about China

In Germany, Nazi propaganda is illegal. This leaves Twitter with three options when dealing with a user who posts Nazi propaganda:

1. Leave it up, in violation of German law.
2. Delete the user's tweet, even though it is legal in most countries (and blocking it is a violation of the principle of free speech)
3. Block it only in Germany, and make it clear that it has been blocked.

Personally I think 3 is the least-bad option, though obviously others may disagree.
Ah that makes sense, thank you. I may steal that idea for future talks with R. Though, just embedding a shell in a slide deck would be very nice.
Google Calendar. I use it more for entering things that have already taken place than I do for entering future events/upcoming dates of importance.
On our Bamboo tablet the feeling is a lot better than on a iPad for example. But we're optimistic about iPad and Android tablets getting closer to the paper feeling.
The £25 logo (too much or too design?)
Developer Community Tools
Hi - I work for a large company and we are looking for some advice on building a new "Developer Portal". Our infrastructure is built on IIS and our standard DB cluster is MSSQL.

I'm wondering if there are any ASP.NET based community portal solutions which might speed up the development of this community? Pre-Existing, packaged tools?

Our goal is to have a secure login area with user based permissions for different areas of the site in addition to mail capabilities.

In the PHP world there are loads of these community style scripts, but haven't seen anything similar for non LAMP installs.

Has anyone ever come across such a thing? If so, would you mind sharing?

Thanks in advance.

David
MegaUpload users plan to sue the FBI over lost files
No, it's more subtle than that. By wrapping in parenthesis, you're making it an expression. When you just say "{}+[]" in e.g. Chrome, the first {} is parsed as a block. So what you see printed is the result of "+[]", which is 0. This is why {}+[] is not equal to {}+[] without parens. This may also be why Node gives different results; I'm not sure.

I didn't mention any of this in the talk (it would've killed the flow ;). Instead, I glossed over it and interpreted the syntax as any sane programmer would.
To explain it even easier: every integer addition problem can be transformed into a TSP problem, but not vice-versa.
Vlingo co-founder explains data-collection issues
People rarely feel ripped off buying goods from retail stores, even though everybody knows that retail stores just buy goods for less money than what they charge and make their profit based on that difference.
I'm curious how security is typically handled in REST setups.

Wouldn't you want to have some nonce anyway on requests that modify resources (and thus allowing idempotency even if you POST everything) ?

Or are resources typically protected purely by some non-HTTP auth process, i.e. a custom header, or username/password/API key provided as POST data?

If sending data to a resource is protected via simple basic authentication then you can use a auto-posting form to send it on behalf of a user, if they previously entered this data for testing in their browser. I.e. basic cross-site request forgery.
This doesn't say that car users are not paying for the roads they use. Indeed, the figures I pointed out already proved they do pay, and more. What this is saying is quite different. It's saying that some roads are more expensive per passenger-mile than others, and the most recently built roads in Texas are being subsidized by other roads. He's making the argument that people driving (and thus using gas, and thus paying the gas tax) on poorly maintained roads in the city center are subsidizing the construction of less trafficked roads in the suburbs.

It's questionable to me whether this is even a valid complaint. Road upkeep and maintenance is not always linearly proportional to gasoline consumption. Cars and trucks will idle more in the city than in the suburbs and thus increase gas use, but that's no excuse to demand a higher proportion of funds be used for those roads.

Besides which, at best this is a problem of car use subsidizing other car use, not of non-car tax revenues being misspent to subsidize road building.
I forgot to mention the radioactive cesium tax. There, fixed that. Seriously though, the government will never be able to out-optimize individual choice in choosing technologies. Besides, the system needs to be tech-neutral or else we get a new generation of special interests.
Creating Triangles in CSS
Academic Freedom and Indentured Students
Just because emotions are involved doesn't mean the decisions aren't based in logic. It is totally logical to shut down a project that nobody really wants to work on, and one that wasn't making enough to justify its continued existence. Even if it's a source of profit.

After all, something like a mailing list service requires lots of ongoing care if it's to be any good (deliverability, etc).
Spray-on bandages rely on aerosoling a drying, congealing liquid which hardens quickly. I fail to see how that core tech can't be slightly adapted to do something harmful.

Penicillin isn't really an invention, nor is it a technology, but we are capable of biological warfare because we know about cellular structures and resistances.

Mobile defibrillators are essentially tasers without a propellant and barbs.

---

There are definitely cases where I'd argue something made for war has done more good than harm. Lots of them, even. But I didn't invent those things - how does the inventor feel about it all? If your accounting software turned out to have a unique algorithm that made it easier to keep ammo supplies available on a battlefield, resulting in a few thousand more deaths, how would you feel about it? What if it were tens of thousands? More?
This is awesome, but why does compete.com think their traffic is going down since raising funding in July? http://siteanalytics.compete.com/airbnb.com/
At its core, student debt is a labor issue, just as colonial indenture was, subsisting off the desire of those less privileged to gain better opportunities in exchange for their future labor. One of the goals of the planners of the US university system after World War II was to displace what they saw as an aristocracy; instead, they promoted equal opportunity in order to build America through its best talent.
>I get that it's not the heart of the piece, but starting with such pedantry seems to detract from the point.

I'm guessing it's there to persuade people that have preconceptions about lisps verbosity/readability to read the article instead of immediately dismissing it.
googletron, are you familiar with the concept of opportunity cost?

It's not idealist, as you say, to shut down a project that is a time and energy suck. It's idealist to think a busy company with 2 very successful, well-loved projects should "devote a day a week" to a project that isn't nearly as profitable as the others, and which nobody really enjoys working on to boot.
Exactly. The iPad can only be an access device for an EHR - it cant be the core of the product.
I found this in news.arc:

;For some reason vote files occasionally get written out in a
;broken way. The nature of the errors (random missing or extra
;chars) suggests the bug is lower-level than anything in Arc.
;Which unfortunately means all lists written to disk are probably
;vulnerable to it, since that's all save-table does.

I wonder if/how they have fixed this.
Opt out from Online Behavioral Advertising (Beta)
What if you designed a cargo plane, or engines for commercial jets, which ended up being / being on bombers? Boeing doesn't just make military planes.

Or a simpler case: what about those who made planes that got hijacked, maybe even flown into buildings?
Here's TurboTax's tax forecaster, which will do all the work, including the self-employment (payroll) tax: http://turbotax.intuit.com/tax-tools/calculators/taxcaster/

I put in my own numbers for a complicated personal return (business income, capital gains, itemized deductions, etc) and the forecaster agreed with my actual taxes done by a CPA, so it's not making any guesses.

Put in married, $45k in business income, 4 kids. The total federal tax bill comes out to $3700 or 8%. Most of the tax bill was offset by the large EIC for having kids. In reality he'd have many deductions to lower that even further, from business use of a home, to any health insurance he buys, to part of his car expenses and mileage...
I don't think you have to prove that. In big cities like Tokyo and Osaka, most people use public transport to commute anyway. Although it's not mandatory, in practice every company will reimburse your commuting costs if you take public transportation.
Oh god, another Fiji checking in.

To contribute something of substance, my chapter was very technical (engineering school). We had our own website, servers, email listserv, shared google docs, etc.

However, when we visited a few other chapters they were universally amazed by our listserv. Many of them just had big mass email chains to do house business, or no email lists at all.

I imagine there are quite a few houses that have no such service internally but might be willing to pay for it externally.

The "fickle" comment mentioned earlier is legit though. Cabinet and house turnover can drastically change where the house budget is spent. That said, if you can lock down four years of service, it becomes "The Way Things Are Done", and it is usually very hard to change.

If you have some more questions (I'm a recent grad), my email is in my profile =)
Blocking those tweets is not a violation of the principle of free speech. At least not in the legal sense. Private people and companies suppress speech all the time and that's fine. It's when your government does it that it's very wrong.
I like the sliced screencasts because they're so repeatable. I practice my talks a lot, and I can get the timing down perfectly because it's always the same. Highly recommended. :)
>> We've extended all objects including numbers to respond to the bar function.We can provide more specific implementations at anytime, i.e. by using extend-type on string, array, Vector, even your custom types

>Mimicking that in javascript:

>This is totally safe (except for oldIE)

No, not in his definition of safe it isn't. That's just monkeypatching -- the new functions are visible everywhere in the program, and it's entirely possible to be stung badly by name collisions. The ClojureScript version doesn't have these problems -- the protocol only exists in the namespaces where it is defined or imported.
Yay? I can't tell if this is a good thing or bad thing in the long run.
OK fair enough. We simply disagree on the possibility that Microsoft can get its act together. I think in the longer run it is possible.
North Georgia has some pretty dramatic hills: https://en.wikipedia.org/wiki/Geography_of_Georgia_(U.S._sta...

And I see more trees than road thanks to all the curves.
You know what? I'm fine with that. The idea of using someone's apartment oogs me out anyway.

AirBNB is rapidly turning into the best market for small, independent, professional hoteliers. There are a lot of them, and Craigslist used to be the only option for these folks.
You don't compete with Costco, you partnership with them.
Some fun that can fit on a poket calculator:

12345679 * 9 = 111111111

12345679 * 18 = 222222222

12345679 * 27 = 333333333

12345679 * 36 = 444444444

12345679 * 45 = 555555555

12345679 * 54 = 666666666

12345679 * 63 = 777777777

12345679 * 72 = 888888888

12345679 * 81 = 999999999

12345679 * 999999999 = 12345678987654321
Copyright Monopoly Goes Insane: Non-Copy Judged As Infringing
Yeah count me in the "not a hacker, I guess" crowd, this stuff isn't very funny.
Why Startups Are Like Fruit Flies
I already paid my taxes. Self employment taxes were a decent chunk. I keep records of everything. Just entered it all in a database.
This is much more common than everyone here thinks. I posted a car for sale two years ago. My first two replies were people offering half my price in cash. While I didn't actually check with them, I assume they were dealers (self employed or part of a business) trying to buy something below Blue Book so they could sell it at Blue Book. It seems unlikely there are many people sitting around looking to buy any car as long as it was a "deal".
Having a hard time processing how it could be anything but a good thing in the short or long run.

Memo to Tim Cook: not sure you'll want to have $100+ billion dollars just chilling in the bank when ex-employees start winning class action suits against you.
If your company sells for any appreciable amount of money, the "interest" you pay YC will be astronomically larger than any loan anyone would give you.
FWIW

If I were you, I wouldn't waste my time and money on getting a degree. If you've had that much experience in various fields it should be relatively easy to find a way into the robotics industry.

Plus, if you have the money and the time to "validate" yourself by going through the monotony of classes which sound like they would already be well beneath your level, I would say you would be better off by putting that money and time toward your own robotics company.

It sounds like you have more than enough initiative to accomplish the tasks you set out on. Why waste time getting a worthless piece of paper to show your level of worth? Just to work for a company that can't understand the value of someone beyond what they see on paper?

Think up the next wave of robotics you'd like to see in this world. Then do whatever it takes to make it a reality.

Build a company to work for if you can't find one that will hire you from your background alone.

Now. ;)
"ou du peu de protection qu'il offre à nos indications géographiques". -> "or how little protection it gives to our geographical indications."

Does anyone have a better translation of that phrase in context? I'm curious what it means. My best guess is a reference to the idea that different EU members should be allowed to have somewhat different rules, but that seems like a bit of a long shot. I'm thinking this is a technical political term that didn't come over well.
... it later reverts to the sensible position that distributions just need to provide some package which pulls in the full Perl distribution.

Also if the base system installation requires Perl or another general-purpose dependency, the distribution needs to keep the two forever separate.
Mortgage? Student Loan Debt? (OK -- I know you American's have crazy prices for University and thus crazy loans)

Do these pass your muster? A lot of people still view these forms of debt as acceptable.
That's great that she can get that much, and that's neat that she can explain her expenses.

Her expenses mean absolutely nothing to her customers. This amounts to a negotiating tactic, nothing more.

There are two options for the industry - add a lot of value, or race to the lowest price.

Some photographers are not adding a lot of value, and they're also not racing to the lowest price.

I can buy an $800 car. We all know what kind of car I'm getting.

Finding an $800 photographer for an 8 hour day - that's $100 an hour - shouldn't be so hard. And we all know what kind of photos they'll be taking.

That you provide an excellent service is great. That you have customers who love you is great. I don't begrudge you that. We spent a similar amount for our photographer, and it was worth it. I don't question your value.

You are not McDonalds. This bride clearly wants McDonalds. Your explanation of what a sous chef is, why a sommelier costs so much, and how you are insulted, is clueless at best, and condescending at worst.

I’m extremely insulted by your petapixel post and hope this sheds a little light on why we find the lack of competition in the photography market to be appalling. And I'd like fries with that.
Why haven't these matters been pursued criminally? It seems like there are plenty of incriminating e-mails.
Georgetown does not have a metro stop primarily because it would delay people getting to the heart of the city, where most jobs are. Georgetown is a primarily commercial / residential neighborhood, not a job center, and the ridership calculations at the time did not justify a stop there.
I've heard of DuoLingo, its a great concept. Really good intro video on the home page too.
It is when they do it because of German government coercion. So it is.
If the guy has $45k in business income, then he owes $6885 of payroll taxes (unless he is Amish). I don't care what tool you use, that number is the absolute floor for what he would have to pay out of pocket.
Roy: Small functional language that compiles to JavaScript
It's a violation in the moral sense, depending of course in your morals. Twitter's image involves the protection if free speech, so it's problematic for them.
I feel like we've been suffering extra-much from this effect lately...
We're planning on doing a demo video which will showcase the app, which we'll post on the website and on this forum.
Ginzametrics SEO Software Integrates with SEOmoz Data
You can find the Catalan numbers buy computing 500,000,000,000 - Sqrt(500,000,000,000*500,000,000,000 - 1)....

http://people.csail.mit.edu/devadas/numerics_demo/chord.html

For an explanation better than I can provide of what they are and how it works, see 6.006 lecture 11 notes!

http://courses.csail.mit.edu/6.006/fall11/lectures/lecture11...
I understand the downvotes since this is HN and you people don't like useless comments here. But I simply thought it was very funny. No need to be mean here.
It's only a violation in so far as its less of a violation to a persons free speech than blocking the whole service.

Users can be creative with what they want to express with this approach - with no Twitter at all, where is the wiggle room?
Beautiful Architecture of South Asia
South Asia is rich in history and architectural inspiration abounds. With influences from both their northern neighbor of China and Western Arab cultures, the designs and buildings also contain their own unique flair based on their origin.
The Best Places For Entrepreneurs Around The World