skysight-inc/HackerNews huggingface dataset:
As he notes in the comments, you'd really just do this:

IOUtils.copy(System.in, System.out);

using the Apache Commons library.

That's the most apples-to-apples comparison to more "scripty" languages that have more stuff built in. With Java you pick the libraries/frameworks you want to use. Commons and Guava are extremely popular and robust libraries and really should be included in any comparison against "real world" Java.

I actually like how in Java you can get down closer to the metal and control the exact buffer size if you want to, or handle all the exception cases instead of just passing them up if you want to. If you're comparing intentionally lower-level more verbose Java code to higher-level Python or whatever, that's not really apples-to-apples. High-level Java involves frameworks.
Not exclusively. While Bungie was primarily a Mac developer, and Halo was announced at a Macworld, it was always going to be released for Mac and Windows.
The big lie of multiple inheritance using Java default methods
How The Truth Is Made At Russia Today
Even when they don't shut them down, they can often turn gold into shit. See Delicious, Flickr (before Melissa Mayer) and so on...

Google actually does a better when they decide to keep the product (Android, Blogger, Google Docs...), but it's impossible to know whether they're buying the product or the team until they either integrate the product or shut it down.
> Why not? Aren't Swiss watchmakers in the Alps as well?

This says... not really:

http://www.fhs.ch/en/history.php

At least not compared to someplace like Agordo, which is still not that easy to get to today:

https://maps.google.com/maps?q=Agordo,+Belluno,+Italy&hl=en&...

Which is probably why Luxottica moved to Milan, and Safilo here to Padova.
1. We know enough, and we can make reasonably informed guesses. Palmer has been giving out enough information on his sub-reddit. In their own words: "nothing will change!", but we know that it's not true. Facebook is acquiring them, not entering in a Partnership with them, regardless of the PR speak.

2. Eh, while I agree that personal attacks are bad, they should have (and probably did) seen this coming. They're smart people, who got a great jumpstart because of a community. They were most certainly aware of what this community thinks of Facebook. They entered into this anyway. If anything, this was a slap in the face of all those people who have supported them from the beginning. The people who gave their money to support their vision.

> Do people really think this man went from passionate inventor to greedy businessman overnight?

Umm, yes? It's not that hard to believe, to be honest. I don't know if I would have turned down the deal with so much money on the table either.
I thought Bungie gave up on the RTS concept and made it a shooter before Microsoft purchased them.
> but for Linux it's not really how people do it.

Please explain that to all the people who wrote CGI scripts for years. Seen the link at all?
Agreed, looks like Wikipedia also agrees:

http://en.wikipedia.org/wiki/Perfect_storm
On the other hand, strict immigration policies themselves depress wages for every person on the planet who's not American. I can guarantee you there are a lot of people think American businesses that hire H1Bs are fucking heroes.
Exactly, just as if IOL bought out the Oasis headgear rights well before the Oasis really launched.

Zuck is pretty much the antithesis of the James Haliday character from the book.
Not my experience. Some of the Java people I work with are exceptionally good. Many of them are career long software wizards.
No he doesn't. He oversimplifies things.

You know what the money during the kickstarter campaign was for? The first DevKit! They raised money for the dev kit and guess what? The people you chipped in got their dev kits.

As far as I can see, people got exactly out of the kickstarter campaign what they wanted. They helped to start the business of Oculus and in return even got the DevKit to experience the first results on the road to VR.

I hardly think just cause you started your business with a kickstarter campaign and gave the backers what you set out to give them should exempt you from ever getting acquired by another company somewhere down the road. If that were true, why go on kickstarter at all? That would basically mean you will always stay a small time player. If you can survive at all because you will have to do it all by yourself. Next thing you know, kickstarter backers demand that you also don't accept other investors money because then, these investors would also have a say how to do things.
Because of security and privacy probably. All those tracking scripts, advertisments and so on.

Browsers do need this functionality for development purposes. Like checking how the website looks like for a search engine crawler.
I have found two bugs;

Level 17 of 26: Select the small apple and the pickle

Does not accept .table > :last-child, apple.small

does accept

apple.small, pickle

Level 19 of 26: Select the 1st bento:

Does not accept .table > :nth-last-child(4)

does accept: bento:first
You are saying hashes, vectors, etc. are not first-class types in Lisp?

Strange...
I still don't get how this is different from just texting.. I must be too far out of the loop on this stuff.
Of course they don't lie. Overly specific denials are much better than lying.

> “Mike makes a serious allegation here — that Google opened email messages in his Gmail account to investigate a leak,” Kent Walker, Google general counsel, said in a statement.

and

> “The source had corresponded with me from a non Google email account, so the only way Google saw it was by accessing my Gmail account,” wrote Arrington. “A little while after that my source was no longer employed by Google.”

Arrington declined to comment.

See, you don't need to actually open the email to see if a correspondence occured.

At least that was the first thing I thought when I read the article.
But of course, we'll probably never know. And I agree with you that we shouldn't jump to conclusions, it's just a possibility.

Should they get caught I doubt there will be a fall out. They can go the NSA route: It was just metadata.
Well, it is version 1.0. If it is that important, maybe you could port it and issues some pull requests.
'Legalising' your American car in Mexico
I agree, the lawyer denies it, then says we have the right to do so now and in the future. And adds, though I can't imagine when we ever would.

The right to snoop through your email is the problem (the algorithmic searching to place ads I can understand some people finding annoying but that is the bargain for using Gmail - it isn't that I am talking about - it is the snooping for whatever purpose Google has for reading your emails by a person at Google).

That you promise to not do what you give yourself the right to do is not worth much of anything. I don't imagine this lawyer would sign off on legal contracts that had bad clauses that the other side said "no, leave the contract the way it is, just trust us to not ever use that clause."
Once you build the immersive virtual reality where we can live, think of the opportunity for the outdoor and indoor advertising that follows.

An infinite landscape, where every advert is 100% tailored to the person viewing it.

Yeah, I hate it too.
The problem with small-scale investing is that the smaller your investment, the less you can afford to spend doing research and due diligence on what you're giving money to. Also, companies don't generally want to deal with a bunch of tiny investors if they don't have to, so even if it were legal most of the good investment opportunities still wouldn't be available to people who don't have enough money to count as qualified investors. This is apparently especially true of Silicon Valley VC, where everyone wants investors with good contacts.

Basically, it'd open up individuals to being scammed a lot more and the non-scams would still not be open to them.
Heh, just had a bit of a wry thought: At least they didn't get bought by Twitter.
Bringing Google into this makes your comment especially funny.

I would hit anybody over the head who would dare to say "Yeah, I hate Oculus now. If only they had gone with Google instead of Facebook"

Really the pot calling the kettle black, here. And make no mistake, any of the other companies you mentioned should have resulted in just the same kind of backlash. Not a single one of them cares about you or your privacy. They are all out to collect as much information as possible. It is high time people realized this.
It's also weird how many don't see the big white elephant in the room: People hate Facebook. For about 3-4 months now, whenever I talk to a non-techie and Facebook comes up _they_ start complaining and telling me how they're trying to get away from it. They even mention other services that are connected with Facebook (Instagram, What's App)!

Is this happening only here in Germany? I was definitely surprised to be back in "the mainstream".
So now let me be the bad guy in good faith:

1. you may want to consider edit your post url to link to you site. some people will not even bother looking at your site if they need to type your site name into their browser.

2. your site looks terrible on my mobile phone (samsung galaxy s4). I can't even see any content except a video, background and buttons. I tried to reload 10 times and all I got extra were some non-text glyphs. if this bug is reproducible, I suggest you fix your mobile site asap. you probably do not want to push your potential user away by having a not working mobile site.

Sorry if it sounds a bit harsh, I do not intend to be. Just want to provide some, hopefully helpful ,feedback.
> there is nothing better to do instead of waiting for input.

In case no more input is available it would be best to already output the data that have accumulated in buffer. Else in case the input program deadlocks you're never going to see the last (up to 8191) bytes output.

This is what non-blocking I/O is for. With non-blocking I/O you first wait until your input channel becomes readable, then reading functions return as soon as the data available for read is exhausted.
SEO- GOOGLE ΠΡΩΤΗ ΣΕΛΙΔΑ – Para Marketing Blog
To avoid tax returns, US expats have to cancel their citizenships
Lot's of people agree with you. In crowdfunding circles, Kickstarter is considered a bubble that will burst hard when people realize they're funding companies in exchange for beads and trinkets.

Sure there are plenty of projects for which the Kickstarter formula is perfectly valid. Funding companies isn't one of them, and that's where most of the money is.

If that stops happening, Kickstarter's may not be enough to keep them afloat.
Uh. You SHOULD be raising your kids like this. There's a reason we're all using aliasis here and not some thing more specific like our names or addresses or our social security number.
Except that's not what's happening. Virtual reality isn't an abstract interface to a complex piece of hardware - it's intended to mimic your everyday experience of reality.

A lot of UI paradigms will simply disintegrate against that issue. You'll be able to transpose existing ideas into virtual reality by projecting them onto things which are those abstract interfaces (virtual displays etc.), but you're not going to be able to expect to control how the user moves or interacts.
Good for him.
Not for what he did, I have no opinion on it.
But for actually having some principles other than how to make more money.
1/10 of hedge funds closed last year
I'd generally ask if this is something we need. A wearable smartwatch I can see because it's unobtrusive. But having a Borg-like device in front of your eye at all time? What's the point?
Offers very little (in terms of added functionality vs. carrying a cellphone/smartwatch) but costs a lot (in financial but even more so in social terms).
You touched a very important point of promoting VR to masses. People have indeed to be "instantly sold" to it, but trying it to a friend's house won't be enough in my view. Broad and free public experience availability is crucial to promote it on "must-have personal gadget" level. I don't fancy FB and the current acquisition, but the heavy promoting will require heavy investment (like from someone who can afford to pay billions on a whim).
What is box? What do they do? Why do I care that they are losing money? (Though I seem to already have figured out WHY)
The command line equivalent, with Perl:

perl -pe '' <input >output
It feels like Notch is being given too much credibility here.

At the end of the day he's a billionaire because he had a viral hit and was ready with a monetization strategy (and had amazingly cheap running costs).

None of this really speaks to his business or technical acumen, and he hasn't exactly done very much lately.
Hmm, was afraid of that re: SYSEMU. Still, I'm sure people will find ways to do higher-level debugging in rr with the current architecture!
> 30 percent of all fatal accidents are "speed related"

Almost all accidents are "speed related". Very few accidents happen with cars standing still.
Not as expensive as Glacier and its intricate retrieval model.
Using development kits sales as a base for such estimates doesn't make much sense. Development kits have low resolution, cause motion sickness, there are no playable games for them, you need to wait 1+ month for one. It is safe to assume that the kits were bought mostly by developers willing to experiment with the new platform. It is very hard to estimate how many end users will buy Oculus based on this number.
Finally the word soure code has been released! I have been waiting so long for this blessed moment!

Why the ---- does this have 656 upvotes? Microsoft PR campaign anyone?

"Microsoft had under 100 employees and a Microsoft product (MS-DOS) had less than 300KB". Yeah, that is still alot of employees compared to new software companies today. And the sourcecode? Well resources for software development were much scarce back then, both computer and human wise.
Who cares? By the time that happens we're either deep into companies producing high quality VR displays, motion sensors etc. and we've got a lot of competitor products, or it didn't work out and so who cares?
Couldn't really have been on how to make more money - as it wouldn't have been minecraft itself getting VR, but a freebie version.
"Second Life is still going?", said everyone.
That's what I understood as well. But I thought OculusVR was making a VR headset, not VR content.

Since when was OculusVR supposed to build the metaverse? I thought they only wanted to build the tools to access it.
Still, Awk and Perl need no library, the semantics was the part of the language since the beginning, and is always available to every programmer, also for the bigger programs. Awk and Sed were obvious inspirations for Perl.
What makes you think that Google employees don't have root on their devices? Are you talking about android specifically?
"a cyberattacker must connect the ATM to a mobile phone via USB tethering"

I've never seen ATMs (at least here in Switzerland) which you could just walk up to and plug in a USB device. Do Mexican ATMs come with USB ports on the front of the device?!

Don't forget:

"Law 3: If a bad guy has unrestricted physical access to your computer, it's not your computer anymore."
http://technet.microsoft.com/en-us/magazine/2008.10.security...
I wish I could get a reference from the console command line to an object I printed in the console earlier.

For example: in my code I write console.log({ foo: function(msg) {...} }). The object is displayed as "[object Object]" (which isn't as good as Chrome's output by the way) and, sure, I can click it to inspect it,but what I'd like is, like, right-click->"Copy reference" and then it puts "$_(123)" in my clipboard, where $_ is a console-defined function which takes a number and returns the matching output of the console history.

Then I can use the referenced object in a new command: e.g. $_(123).foo('hello').

Firebug has $_ [1] but it's just for the last output of the command line (not the console history). (edit: likewise for Chrome [2])

Thank you for the many enhancements.

[1]: https://getfirebug.com/wiki/index.php/Command_Line_API#.24

[2]: https://developers.google.com/chrome-developer-tools/docs/co...
Candy Crush Maker King Prices Shares At $22.50, Puts Valuation At $7B
I came here to quote just that. Next up: "How to hack the NSA's Computers!!! First, gain physical access to their server farm..."
We have an OfficeJet. The color ran out a year or two ago, and I haven't found a need to replace them; I just print B&W. The only reason I didn't switch is because I couldn't find a multi-function laser printer (I need a scanner and the auto feeder) though admittedly I barely looked. It seems there are more options now (well rated Brother on Amazon), so that's my next buy once the black runs out. Screw ink printers, never again.
I've always loved this take on printers: http://theoatmeal.com/comics/printers
Ah yes, very true. I am not in games or finance but I use it day to day. Doesn't seem to be the language of the month and a lot of hatred is directed towards it, which I cannot fathom entirely.
wow, the first cool hacking news I've read here so far
Yes, and from the point of view of backers this introduces a new risk of failure: the company doing so well that it's bought out by a company whose goals are at odds with the original purpose of the Kickstarter. They originally backed the Kickstarter as a way to create a platform for VR gaming and other applications that developers could use, but instead that was abandoned in favour of a good exit from a venture capital perspective.

They may have thought they were giving money to an idea to help it succeed, but in retrospect they were providing early-stage seed funding for 0% equity exactly as the article says.
There was an article on here recently about a technique using this attack. Transpires that the usb port is under the cover at the front of the device, you just need to know where to cut the hole.

EDIT: Found it. https://news.ycombinator.com/item?id=6984821

The most wonderful part is that whoever wrote the software had the insight to add a phone verification step so other crooks couldn't run off with their software.
Don’t Listen to Google and Facebook: The Public-Private Surveillance Partnership
A Story About ‘Magic' (1994)
Agree to @headius fulliest. Hats off to organizers covering up failures of hotel, for taking care of all attendees and making conference a success. Really sad that they had to suffer because The Lalit goof up.
The Alphanum Algorithm (1997)
If a small company trying something disruptive needs to do favors to the government or face restrictions, that's a large barrier to entry and less economic efficiency.

Opening a car factory is not cheap. For an auto startup one mistake like this can destroy the company. Texas of course stands to gain millions in tax revenue + good press.
CGI scripts are dead though. It turns out it wasn't a good way to do it. It's better to use a nice new invention like Apache or Nginx to handle the sockets for you and then use frameworks specifically designed to handle HTTP responses as piping HTML through std inputs is difficult and error prone.

The ability of a language to easily write to std out is simply not important anymore apart from shell scripting which is mostly used these days for setting up the runtime environment and building other languages to handle the grunt work.

I don't know of any companies that still pipe std output directly to sockets anymore, but I guess there must be some. If your company still does this then a language feature like that makes sense. For most people, having the ability to write code that can directly write to sockets without piping through a shell is better practice.
What's preventing them? If they did that, they'd have to give up a fraction of their sales. Also, it's not easy to set or agree on a commission percent when Tesla and the dealerships have such opposing interests to begin with.

In other words, they are not trying this simply because selling direct is a better choice.
Really nice presentation. Clear, professional, interesting and useful.
Carmack tweeted :

"I suppose I will get a FB account now, so that may lead to some writing a little longer than tweet length..."

I guess he wasn't a great fan of facebook either.
They have done some really interesting stuff. BUT! It is still just a website. Of all the over 200 million top level domains, everyone goes nuts of 2 of them: Facebook and Twitter.

They are just websites. Are they the pinnacle of human achievement?
Three SQL Constructs You Can Forget About
For me that wasn't even the worst part. What is the contrast ratio here? Looks light light-grey on off-white or something. I mean, ok, "they" say: 'Don't use black text on white background'. But "they" also say: 'Being able to actually see the text helps readability'.

And are those chapters available as single-page links -- or just in that cramped div/iframe with scrollbars?

I know this is harsh, but after seeing quite a few designs on the front page of hn, this has the prize for detracting from the user experience.
"who have no idea how to run a multi-million-dollar business, can turn on a dime and start slinging vitriol at the person they claimed to idolize just a day earlier."

As someone who does run a multi million dollar business and that supported the Oculus Rift buying ten of those in a kickstarter I would tell you something:

Nobody idolized Mr Palmer, they loved the vision, not the man. The vision is way more important than the person.

Specially when they asked for your support, and you support them, and then they change their vision, you have the right to complain, like I do.
New malware allows cyber-criminals to control infected ATMs via SMS
> perhaps not a researcher, the best would be a grad student

This reminds me of one of the other frequent failure points of having authors each write a chapter: they write a chapter that is really more of a survey paper about their favorite technique (maybe one they invented or have worked on). Usually that ends up with a choice of content and writing style that's a poor fit for a textbook. A grad student writing about something that is not their own research might be a way of avoiding that.

I agree some kind of incentive is probably needed. It could be monetary, could be advancement-based, depends on the people writing and their situation. On the other hand, money might help for both: if there were grants for textbook writing, which e.g. a professor could use to buy out some of their own teaching and pay their summer salary, it'd also help out with the angle of "if I spend a year writing this book instead of journal articles, will I still get [tenure | full professor | etc.]?", because getting grant money is usually counted as a plus for advancement.

There are some areas that have stronger internal incentives, mostly those in which there is significant controversy, and people have strong opinions about the Right Way to do something. The belief that existing books were doing it wrong and he could write one that introduced things correctly was what motivated Robert Harper to write his 2012 programming languages textbook, for example. Another variant of this is if there are no textbooks on a subject so far, and you feel it's as a result being overlooked: then writing a textbook can be a form of evangelism for your new field. There is less incentive to write a good textbook "for free" on established and uncontroversial subjects.
I'd prefer them to have acquired KS rather than Oculus.
Awk and Perl are tools built on another language that does stream copying i.e. read stdin and write stdout.

You could build Awk and Perl in Java if you wanted and have the same result.

System.out.println("hello world");

Is the same as:

printf("hello world\n");