skysight-inc/HackerNews huggingface dataset:
I don't know much Java. Does 'System.in.read(buffer)' block until stdin is at EOF or buffer is full? Then this solution would be somewhat broken. Imagine a low-bandwidth source on stdin and a audio player connected to stdout, like

wget -O - http://audiostream | java inout.java | mplayer /dev/stdin

If I had to write this in C I'd use file descriptors in non-blocking mode and select(). With Tcl one could use event-based IO.
I've been very interested in that topic for the past years.

We've implemented an in-kernel linux multicore record/replay engine. See for more: http://velvetpulse.com/2012/11/27/scribe-the-deterministic-t...

We also did a mutable replay engine, to replay on modified program (e.g. replay a bug that happened in a production environment, but this time with the logging verbosity turned into debug mode). Check out Dora: http://viennot.biz/asplos2013_dora.pdf
Dude - I can't believe they held your family and wouldn't let you leave! I was shocked at the way they treated Zak and I when we left, but never expected anything of this magnitude.

At least you pulled off an amazing conf despite all the following bullshit.
Please please atleast file a consumer court complaint.
F-D was mostly awful because it was open. There are plenty of private security forums with a much higher signal to noise ratio.

They perform slightly different functions and rely on a higher level of trust than an open mailing list can deliver but the security community is not uniformly awful.
Verizon and hundreds of other ISPs around the world. I've been working for sometime on firmware development for ISP gateway devices, and most of them implement remote management protocols like TR-069 (http://en.wikipedia.org/wiki/TR-069). They can get all kind of information from your gateway device: from SSID/Key, to SAMBA/FTP passwords, MAC addresses of the devices connected, to it, etc.

If you are worried about your privacy, NEVER use a router you cannot control.
Microsoft is a minor shareholder in Facebook, there will be an Xbox tie in at some point.
Here's two examples I've found to be very interesting:

https://github.com/clojure/core.async
Timothy Baldridge has a couple of videos on the go macro internals
https://www.youtube.com/channel/UCLxWPHbkxjR-G-y6CVoEHOw

https://github.com/swannodette/om
https://www.youtube.com/watch?v=DMtwq3QtddY&index=7&list=PLZ...
Monetas is looking for C++ devs and testers
Monetas is looking for

* strong server side C++ developers

* experienced testers

to help us develop and expand http://opentransactions.org/. You have the option of either working in beautiful Switzerland (in Zug) or remotely.

Please send your CV (to careers at monetas dot net) if interested and/or forward this to any friends who might be. Thanks!

About us: Monetas is one of the hottest startup companies in the decentralized and crypto finance space and seeks to bring instant, global, secure and private transactions to all. For more information please see:

- a talk on our vision: https://t.co/iyrDgX5IWD (by the Monetas CEO, Johann Gevers)

- an interview with our CEO (Johann Gevers) and CTO (Chris Odom): http://bit.ly/OTyO4J
>It's a whole another issue whether he should resign as a CEO of an organization that prides itself for being open and inclusive (or at least issue an apology and/or a statement of his changed mind on this issue).

Why would either of those options happen? Since when is a person not entitled to his own opinions and beliefs? Him being the CEO has nothing to do with the stand on diversity of the organization itself, that was the whole point of Mozilla's statement. He is not firing his gay employees or enforcing his agenda upon the organization because that has nothing to do with his current position at Mozilla. In fact, the money he spent was his own, not Mozilla's. One can do whatever the fuck one wants with his own money as long as it's legal.

Making his stance against gay marriage public was probably not a good idea from a business standpoint, but there's absolutely nothing from that that should taint Mozilla's image.
> most hatred [sic] companies in the world

Look at #81. http://www.apcoinsight.com/methodologies/tools/el-top-100-co...
Sure, but I wouldn't bring my forklift out of storage to move a sack of potatoes across the room either which is what you're doing when you use Java for a 10 line shell script. That's not what Java is designed for.
Apple Working To Make Emoji Characters More Racially Diverse
What really would improve the world would be clean water for a few more people or a clean energy source.

VR not so.
1) Any decent device manufacturer should have a record of the serial number of every device they sell. Bonus points if you mailed in your name and address and serial number so you'd be eligible for the warranty.

2) The MAC often is the serial number for many ethernet devices. (Most routers are weird because they usually have at least two or three MAC addresses, but it works out so long as you're consistent about which one you use.)
Still really rough. I have shipped two large production Erlang apps, smaller scale F# and Haskell apps. It is tough in three ways: (1) Just finding people who can do it, (2) finding people INTERESTED in using it, (3) affording people who fulfill the first two.
This would be an excellent chance for Google et al. to just drop the permission of them reading Gmail users' e-mail from the terms of service. If they have no intention of doing it, why leave it open in the terms?
Also : Imagine - me and my doctor can talk face to face while both wearing goggles. Sounds great! I'd rather use Skype thanks.
A Brief History of the Magic Number 5 in Usability Testing: Measuring Usability
They must be made to regret this bullying behaviour : file a case please.
TEXATA Big Data Analytics World Championships
This is all that I'm reminded of:

http://mashable.com/2010/04/02/facebook-acquires-divvyshot/
This is one of the first things I thought of when I heard the announcement, but not in a good way.
Amazingly, in Java 8, they added a Files utility class to copy an InputStream to a Path, and copy a Path to an OutputStream, but no Files.copy(InputStream, OutputStream).

At this point, Guava should just be added as part of the JDK. :) In Guava, ByteStreams.copy(System.in, System.out)
The relevant test is "economic useful life", which the IRS helpfully defines:

(b) Useful life. For the purpose of section 167 the estimated useful life of an asset is not necessarily the useful life inherent in the asset but is the period over which the asset may reasonably be expected to be useful to the taxpayer in his trade or business or in the production of his income. This period shall be determined by reference to his experience with similar property taking into account present conditions and probable future developments. Some of the factors to be considered in determining this period are (1) wear and tear and decay or decline from natural causes, (2) the normal progress of the art, economic changes, inventions, and current developments within the industry and the taxpayer's trade or business, (3) the climatic and other local conditions peculiar to the taxpayer's trade or business, and (4) the taxpayer's policy as to repairs, renewals, and replacements. Salvage value is not a factor for the purpose of determining useful life. If the taxpayer's experience is inadequate, the general experience in the industry may be used until such time as the taxpayer's own experience forms an adequate basis for making the determination. The estimated remaining useful life may be subject to modification by reason of conditions known to exist at the end of the taxable year and shall be redetermined when necessary regardless of the method of computing depreciation. However, estimated remaining useful life shall be redetermined only when the change in the useful life is significant and there is a clear and convincing basis for the redetermination.
Having used the DK1 it was obvious even with all the limitations that VR will be a dominant entertainment platform within a decade. It's simply too compelling to be anything other.
Yes - even for a mostly teenager aimed book, I found the dystopian future a bit jarring.
It's not much shorter, but it was pretty easy to write it you know the libraries.

package main

import ("os"; "io")

func main() {
io.Copy(os.Stdout, os.Stdin)
}
You are right, the shortest awk is one byte. Please post the link all nine variants I wasn't able to Google it.

Still the shortest Perl is 0 bytes when the command line switch is allowed to be -p

Update: That's actually called "the sed mode of Perl." Moreover these two command lines behave similarly:

perl -pe 's/search/replace/g'

and

sed 's/search/replace/'
Yes, with income tax rates approaching 50% around a great deal of the world, I do think that income tax demotes the idea of working hard for a viable living, and income tax in general suppresses productivity.

Why bother working hard if half of it goes to the State?

The same mechanic that you say is at play with Sales Tax - i.e. you have to spend more to get more - is also at play with EARNING. Why bother working to earn more - or, indeed, at all - if you are required to share the fruits of your labor with strangers?

Sales Tax improves this by making the choice where to spend your taxes available to the individual.
Yes, and many people set up a column in Hotsuite/Tweetdeck/etc. to track a few hashtags passively. When someone's using #ritetag or #startuplife, #hashtagmarketing, I see it this way.
I'd say "it depends". If Google actually lets people run any software on the thing, allowing the tech to be used without mandating upload to Google's servers, I think it could be great. Commoditizing tech is generally a good thing(tm).

If they keep with the silly stance that You Shall Only Use The Glass in Service of Google -- then, no, I don't think it's a good idea, and we should probably kill it with fire.

One would think, that after seeing what came out of licensing the 8086 (or even arm, for that matter), tech companies might get behind more (and/or fully) open architecture where they can lead by virtue of resources, marketing and lead-time -- and still we have these remarkably closed systems. Sometimes it feels Google is sorry they went with a GPL kernel, because now they have all this trouble with partners having to at least pay lip-service in the form of binary-blob drivers.

It seems inevitable that as we move from telecom to datacom (GSM/voicecentric networks fade into irrelevance as data-centric networks rise) and towards a (fully) software dominated reality for phones (as they merge with tablet/phablets/walkmans) -- the open architecture will win.

Does anyone seriously believe closed platform will be able to stand as all parts become (even more) "commoditized"?

Apple managed to launch a "smart phone" blending a couple of crucial pretty obvious technologies at a great price-point (arguably making iTunes work as a businessmodel was the real innovation, like it or not) -- only to, in many way, be overtaken rather quickly by not one, but two OSs (Android and Windows (As well as Sail, MeeGo and WebOS).

Google glass might be posed to do something similar: demostrate viability of AR for consumers -- but I fail to see how they could possibly stay relevant if they don't open it up. Arguably they're still catching up to the DYI wearable crowd.
I run a couple of disposable email websites like http://www.fakeinbox.com/ and in the last thirty days together they generated about $110.
From the guy who destroyed Star Wars Galaxies having worked for Sony after it bought and ruined Verant. Of course he's going to think the sale is a good idea.
Android Privilege Escalation Flaws
Today Oculus is just a display and a controller (sending head movements to the computer). I really, really hope it will stay this way. It would be so unfortunate if Oculus became sophisticated, stand alone device with Facebook controlling software stack on it. Display + controller is a way to go!
You are basically everything that is wrong with consumers, today.

A kneejerk reaction to something you cannot possibly see the end results of.

And to even support Sonys dumbed down version of VR that has to run on this mid spec'ed PC they call the PS4 is downright stupid.

When it becomes clear that Oculus does not work independently under the FB roof, then you can start your whining. Not now. Not just based on the fact you don't like the company that is now housing Oculus.

Tell me, do you also not like Nestle? I bet you do. Do you also stop doing business with every company that sits under the Nestle roof? No? huh. Must be Facebook exclusive, then. Great hypocrisy was had by all.

To the rest of us, we will wait and see how Oculus will continue to operate until we throw a fit.

In closing, you said you wanted Oculus to get big. Every thought that they want that as well and the best way to get big is to be partnered up with a big company that has reach and contacts and funds? I know, right? Weird thought. Why did I never thought of that, you ask yourself.
Well FWIW when I was working for a French ISP I could get that and also what TV channel was on and any other possible metrics for the modem or the media player.
In Linux you can redirect the stdout to the the socket outside of your program, no programming required. You can test and develop everything with stdout and let the same unmodified file run in the web server. See traditional CGI, that's how dynamically generated web pages were easiest to implement long ago:

http://computer.howstuffworks.com/cgi3.htm

The server opens the socket, redirects the stdout to his socket while calling your program fully unmodified.
I agree, I also read the headline in a way that something terrible is going to happen to OSS vendors ...
very well written and refreshing as others said. +1 absolutely!
I would pay for a good printer. I bought the most expensive HP consumer printer (which was not very expensive at all really). It never works when I need it. Doesn't connect to my wifi network 90% of the time. It's bug ridden as well, crashes all the time with the weirdest error messages. The only way to fix wifi or crash is a reboot, which is annoying and takes forever. It refuses to print black and white when it's out of magenta. And it's pretty much always out of something, apparently you can get about 5 prints from one cartridge. It also constantly nags you about low ink levels, worsened by the impossible user interface. I don't even want to talk about the included software and drivers. The scanner has a mind of its own and there is no convincing it to use the flatbed scanner when it has decided you want to use the feeder. I always end up at the local copy shop.
Ask HN: Who has applied to YC S14?
Nor you grab an camel when you want a ride, as there are better options.
Thanks for filling in some details. I don't have any expertise in the apparel business either, but general principles indicated how badly thought out this was.

Really, a functioning brain stem is all you need. If this were a workable business model, you could get them at Walmart, because they can get stuff made cheaper than anyone else thanks to their selling clout.
You open network sockets in Linux and redirect stdout to them? It's possible with curl I guess, but generally people don't do that as it's hard to send the data in the right format. Mostly people will use a tool to access network services.

As for serving files, you'd normally let nginx or apache take care of the sockets for you and not use output redirection.

In Plan9 it's actually viable to use network sockets as files which is pretty nice, but for Linux it's not really how people do it.
... says a guy working for a company heavily invested in an OSS vendor. But please, dear reader, don't expect any bias or even wishful thinking.

(Disclaimer: I use OSS software heavily and admire it, but I'm always sceptical when I read statements like "The time is now to make money in open source")
Devices.css – popular phone and tablets made in CSS
Using non-blocking mode may be better, but to answer your question: yes, it does block [1].

[1] http://docs.oracle.com/javase/7/docs/api/java/io/InputStream...
It is if you use underpants gnomes, eg:

1. Order shirt online
2. ?
3. $30 dress shirt in 48 hours with profit!
It's a similar observation to the Inner Platform Effect http://en.wikipedia.org/wiki/Inner-platform_effect

Any project that runs some sort of external script would count. Soon a config file has some sort of conditional (#define grows #ifdef) and variables.

Also any project that has a VM (in the traditional sense) such as SCUMM.

It incorporates the notion that Lisp will do everything already, the code as data as code that Lisp gives you is a win that coders dismiss until it's too late and they have spent years learning C++
Great book, Warner Bros. owns the rights, expect it any summer now.
For public shares there is only the stock market, but that isn't a kick-starter. It would be interesting to have an option in the stock market of just bidding money for stock and the actual transaction to be executed only after the required amount was gathered. I'm not sure if it would be possible to build such thing without involving governmental regulation.
The future of Kickstarter depends on how well companies honor the non-legal aspects of their relationships with backers, which you say don't exist. I'm not saying I would have refused the acquisition offer, though :-)
Should have used Forth from the start
Comprehensive list of DVD and Blu-ray ripping software
The documentation [1] does not mention any buffering unfortunately. In a quick test on the console it showed line-buffering behavior, so it probably depends on the input file type?

[1] http://docs.oracle.com/javase/7/docs/api/java/io/InputStream...
He probably imagines that they can 3D-print the shirts.

If I remember right from talking to a tailor, collars, cuffs and buttons are almost all of the construction effort. If the idea behind "standard" configurations was "We can make these up in bulk in advance and then just add them to the shirt", this guy has even less clue about how to make a shirt than I thought.

It's kinda the point of "custom"-- it doesn't get thrown together from pieces and parts.
1) Kickstarter is not an investment platform.
2) Kickstarter is not a store.

Kickstarter is ONLY for giving your money away to ideas you want to see succeed. The perks are a gamble at best and misleading at worst.

If you give money to a kickstarter for any other reason, despite what the campaign or your friends or some blog tells you, you're quite unfortunately doing it wrong.
Or even Nintendo, or maybe even Bethesda (assuming they aren't bitter about him leaving Id)
The Mystery of the 'Only Camera to Come Back from the Moon'
Thats a good one!
The real question is, why do people still disable Javascript? (And, why do browsers offer this option)
I would find it very dubious if my own employer asserted that it was appropriate to read and act on an employee's private, non-work email because that employee accessed it from their network or device.

If I were a Google employee I'd be pretty interested in getting answers as to how they acquired this information, and to advocate to change internal policies if this was the case.

It also makes me think twice about ever working for an organization where I don't have root on the devices I use.
Data Mining 101: Map Reduce
Here's an illustrative example of just how arbitrary these regulations are...

In USA, donation-based crowdfunding is legal but equity-based crowdfunding is not. In Finland, it's just the other way around: a company can sell equity to private individuals, but it can't take donations [0].

In both cases, the proponents of the laws claim that the average citizen is dumb and would be ripped off if these protective laws weren't in place. Yet somehow Finns are smart enough to invest into private companies whereas Americans aren't, and meanwhile Americans are smart enough to make their own decisions about donations whereas Finns aren't.

Both of these laws are just historical accidents at this point. They made sense in an era where information was hard to acquire, but today you can just google a person's name to find out whether you want to invest in her project. Arbitrary limitations around crowdfunding should go.

- -

[0] More precisely, one needs a "collection license" from the police to take donations in Finland. This is only available to registered charities, so doing a Kickstarter is effectively illegal for Finnish companies and individuals.
How would you do face-to-face if both of you have giant goggles strapped to your faces?
Get a laser printer. Period, end of statement. Spend at least a few hundred dollars on it, it'll last you a decade and a half, and it'll have much better drivers than the jokes that inkjet printers come with. Plus, you'll get supplies that won't go bad if you only print every month or two. Inkjets are just complete and utter crap.
> the way people work, talk and play

Um, that is also what Facebook did. Maybe not for work but definitely for communication and play.

And if you read the announcement you would know where FB wants to go with VR. Since neither WhatsApp nor Instagram require you to log in with your FB account, I doubt the first thing you'd see after putting on the Rift would be a FB login page.
When was Halo a RTS?
SED is shorter (0 byte). SED /is/ a turing complete language [1] so don't try to claim that I'm cheating.

sed < input > output

:)

[1] http://robertkotcher.com/sed.html

[update] s/set/sed/
Data for sale: I will sell you my soul
There are already developments towards blending in the real world into the VR space again. Attach stereo cameras to the front of the device detect certain important features (like other persons or mouse and keyboard) and merge them into the picture created by the VR device. In my opinion, this is much better than the Google approach because it gives you more control over the visualization. Now imagine the devices having the size of regular sunglasses. Imagine all the possibilities. I have seen a project displaying the picture from the front cameras in HDR mode. Therefore, making reality looking better that it really did. Now think of Facebook having the lead in this development… Still makes me sad if I think about it, because they are not going to use this power responsibly.
This is the problem I have with Kickstarter.

* You can't see it as investing, because you're not getting any share.

* You may see it as pre-ordering a product that doesn't exist (and I think that's how most backers see it), but you don't get any consumer protection if the project fails or doesn't live up to your expectation.

* All is left is seeing Kickstarter as a charity. You're giving charity to a for-profit organisation.
This is very, very cool. If I can contribute, I will. But I shall certainly be using it. Thanks!
I read it last week. While I enjoyed it, at times it seemed almost like a Da Vinci Code of teenage scifi, and sported an enormous namedrop of culture pop memes for advancing the plot...
(You referenced the one byte read function, instead of the multi-byte function used in the OP.)

The documentation does not answer how long it blocks. Blocking when there is no input is completely ok in this use case as there is nothing better to do instead of waiting for input. The relevant question is how long it blocks after there is some input available for efficiency reasons.
Not knowing the exact details of used classes, the bigger question is if the exceptions in the OP code can be thrown and if some try catch is needed. In Java the classes like to throw a lot.
AltOutlet Now Accepting Ultracoin
Not sure why one would upvote this, it's nothing but the original 2048 with an obvious tweak.