skysight-inc/HackerNews huggingface dataset:
Enforcing pureness on the function might be difficult w.r.t. things like IO, due to Java interop, and frankly that's one of the strengths of the platform.

Inferring loose immutability constraints on a function would be interesting. You could implement it in the compiler, perhaps something like an annotation on a method that declares all inputs must consist of only final/immutable values, enforced all the way down the chain.

This is more of a JVM gripe, but as long as we're talking about Go, I'd love to see actual VM-level coroutine support. It'd make async code in Scala a lot easier to both author and debug.
Then, I'll definately get some more before I head back to France!
Hey, that name looks familiar!

Best of luck to xiaq, a fellow fish shell contributor. It's definitely good to see more innovation in the ossified command-line shell space.

Assuming this is planning on using Go's concurrency support, it will be very interesting to see how it deals with the nasty interactions between fork and multithreading.
Creating Validation Schemas with Joi, from creators of Hapi
I feel honored about your account creation :-).

Our shirts are made by hand by professional manufacturers in China. We work with them closely to ensure that every shirt meets our high standards and is what a customer would love.

Since we make higher end custom shirts which require skilled labor (custom vs. off-the-rack), we focus on quality rather than squeezing out every penny on the manufacturing side. I hope that helps.

The reason we can offer high end custom shirts for $69 is that we cut out the expensive measurement process -- a tailor normally spends at least 30 minutes with you for measuring, while we do it with software. We also have fewer returns (since we're more accurate) and we have fewer mistakes (software vs. writing by hand). Additionally, we sell direct to consumer, so there's no retailer markup on top of us.
Interesting, I wonder how many Scala users intentionally pass around mutable objects and/or attempt to mutate non-local state.

I guess for Java devs new to Scala that might seem a viable approach at first...so yes, maybe forcing the user to be explicit in the same way that the `var` keyword is required to stray into mutable territory would be a good thing -- certainly wouldn't bother those that use immutable constructs 99% of the time.
You should probably ask the question in reverse: why is Java seemingly so heavily criticised on HN when it is clearly an incredibly successful and productive platform that almost took over the whole enterprise world?

For its time Java was a god send. It solved a ridiculous number of problems that programmers today just don't even think about. We used worry about things like byte order when sending data between computers. We used to license libraries to provide basic things like lists, hashtables, string handling. Compiling things to work on multiple platforms was a nightmare, especially Windows. Developing on Windows and deploying on Unix was a pipedream. Java just swept all of this away and replaced it with a standard portable runtime that worked across Windows and Unix was free. The equivalents that offered these things (say, Perl) were not considered viable contenders at the time (dynamic languages in general did not gain a lot of trust until Ruby on Rails and PHP became so widely used - people just did not believe that you could build a large scale system with such languages and not have all fall apart if the type system wasn't rigorously checked).
Google doesn't specifically know you stopped at Pizza Hut or the BP garage. It uses coarse location (GPS being too taxing on battery to get constant location updates) which has an accuracy of 100+ meters. So it would know you stopped somewhere around the Pizza Hut, but not specifically that you went inside. Could have just as easily gone to the Tesco next door.
Just saying in general that anything Haskell related effectively lives on HN front page, while Scala is more or less thrashed regardless of the topic.
Browserify vs. Webpack
As someone who loves getting tailored shirts, the MTailor process was unreal. A couple minutes in front of an app, and a few weeks later I got a shirt that fits really nicely. This is a startup I really want to succeed, because if they do, I never have to go shopping at a brick and mortar again - just order online and everything will be tailored to my fit.
How did humans know ionizing radiation was harmful (to them, anyway)?

And no, the answer is not "a previous iteration of intelligent life left them dubious comics, sounds and symbols".

Any life form advanced enough to be bothered by the effects of nuclear waste will presumably be capable of learning.
> True, _competency_ doesn't require fanaticism, but if you want to _excel_ at something

This is along the lines of what I was thinking.

If I'm looking for someone who is really passionate about what they do, they're probably going to be associated with it outside of their nine to five. This could be reading books, magazines, talking to people, participating in discussion boards, or trying to figure out problems.

That doesn't mean every employee is like that, or that you have to be like that to be a worthwhile employee, but it's not crazy to think that someone in almost every field will be actively involved in something related to their profession in their day to day, outside of work.

Even with accountants, you might not be doing someones books all the time, but you might have an active interest in financial news, forums, current scams, common mistakes, loopholes you could use, etc. etc. (I don't know anything about accounting; don't judge me :))
This HN page is currently #3 for the search query "Don't Trust Google". So I'm going to call BS right there.
1. It got many important things right, like Unicode by default. It has a strong garbage collector and no GIL. The language may be stale but therre's a lot to recommend the platform.

2. Sun. It ended badly, but that's a company that was synonymous with innovation for quite a good run. Just as Google has energized Go (another not great, but solidly good by the standards of its time, language) having Sun behind Java was a major advantage.

3. Lack of a suitable challenger. PHBs will always see Python as unsuitable for production (and they're wrong) but mediocre programmers will never learn Haskell or Clojure. In my estimation, Go is the challenger, and it's only 5 years old.
Actually yes it does know I stopped at both of those location.

1. The BP garage has a wireless AP with a known SSID to them. Location services uses this, the cell network and the GPS to build an accurate location. There are no other wireless networks at that location. I was at this location for around 10 minutes. Google location history shows this location on the mark.

2. They know that I was at the Pizza hut because I left a review in Google+ and was approximately near it at the time and stayed in roughly the same location for about 90 minutes. Google location history shows this location on the mark.

It's all about correlating events and data, not specifically accurate bits of data.

Granted these are all assumptions but they would stand as evidence in a court of law.

Now I'm not fussed about this myself as it's something I trade for the service, but the data is there.
It's not about linking, it's about re-posting titles and excerpts of news, like Google News does (did?)
In the really early days of Java, there wasn't: it started out as part of small-team project aimed at embedded systems, then set-top boxes http://www.blinkenlights.com/classiccmp/javaorigin.html . By the time work started on the specification, about 1995-6, Sun was soliciting feedback from a wider base of people http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/m... http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/m... http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/m... . Even by '96 I think everyone was still mostly thinking of Java as a client-side Web and OS-native application language, though: it wasn't until later that it began to be strongly associated with server-side programming and "enterprisiness".
>We used worry about things like byte order when sending data between computers

Isn't it always just in network order?
They're also used around maximum-security prisons.
Update to the story: "Meanwhile, in Nigeria, the health minister Onyebuchi Chukwu said that all other passengers on board the flight with the infected man had been traced and were being monitored."

Freetown, the Sierre Leone Capital, has had it's first case and seems to be having problems controlling the movement of infected people, one (now unfortunately dead) was 'rescued' from quarantine by relatives. "The woman had been one of dozens of people who tested positive but were unaccounted for, the BBC's Umaru Fofana reports from the capital, Freetown."

http://www.bbc.co.uk/news/world-africa-28505061
Copernican principle
The "dumb-proof" bit is from people that themselves are not strong in CS, typically... It's just snark as you say.

There was incredible demand for something like Java, gigantic efforts were put in to place to standardize the many different UNIX like OSes but apps were still incompatible. ANDF was an effort by the OpenGroup, I'm not aware of any real implementations of it. The big powers, save for MS, all wanted to build platforms where vendors could write applications that could run. Then along comes Java, it has all the modern bits in a language that people deemed needed at the time, there were plans for performance, it was fairly easy to implement a VM, it had a robust library, C-inspired syntax (Pascal vs C might have been the last big war before Java,) it had real binary compatibility. Sun, IBM, Oracle, just about every major company backed it, even MS sort of did. The performance got better, etc.. When the whole industry buys in to something, it'd have been amazing if it didn't get adopted. Then compared to C++ or C, the productivity gains were (and still are) staggering, GC and real stack traces are manna from the gods at the time.

Fast-forward to now, it's still got top shelf managed language performance, the tooling is maybe only matched by MS's tools. The counter question I'd ask, what has come up lately that could possibly replace Java? There are some interesting JVM languages, the CS dork in me would love for Scala to take off more but not for any qualitative reason that I could point to to say it's really better; I'm a functional believer but I'd estimate that less than 3% of the code written in any language anywhere is functional. Rust and Go are neat, but if you look at the whole picture, I don't think there is anything close to providing what Java does that would justify replacing it; save for possibly .net but then you lose the compatibility which was one of the primary desires from the start. I'd think something would have to outdo java or the game would have to change pretty dramatically and enterprises would start needing different kinds of software and I don't see that happening any time soon.

How many major technologies get replaced with nothing?
> I could give a trivial example

Please do, because this thread is hard-to-read deep and the only examples you've given were discussed at length in other subthreads before you even posted them.

> but do you mean the material advantages for you, or for some other person?

I would prefer "here is a problem" and then "here why bitcoin is the best available solution to the problem".

Rather than the more common "here is a problem" and "here's a way that bitcoin could solve the problem", and then completely ignoring hundreds of other less-complicated, safer and some-times even already well-established solutions.

Or solutions that are actually just ways to circumvent regulation, and probably aren't legally sustainable or financially scalable (see post #1).

> I wouldn't be so presumptuous as to insist that bitcoin must be good for you personally.

If you re-read my original post, my reasoning is explicitly selfish. The reasoning goes "I want X to happen because that's best for me."

> but then you've dismissed all other people's possible pleasure at bitcoin's growth as being purely politically motivated[2]

Um, yeah. In the post I'm responding to, you started with the assumption that bitcoin is good, and then reasoned from that assumption that we should use bitcoin in specific circumstances while ignoring arguments that it's not the best technology for addressing those specific problems.

But this reasoning is really silly. Because then every time I point out there's a better technology for solving problem X, you say "yeah, but Bitcoin solves lots of problems! So if we use it as the solution for X, then there's more adoption and we solve all these other problems."

But of course the only "other problems" you've mentioned all have better alternatives. And if even a significant portion problems have much better alternatives, then your argument falls apart and becomes "use bitcoin for X because bitcoin is inherently good", which is a political judgement and not a pragmatic judgement.
When they are already in such bad economic shape, why are the Spaniards so eager to push themselves into further irrelevance?
What if your searching for something and the engine displays some of the article - as search engines do. Bloody idiots.
Can you be more specific on what problems you've had?

As a non-EU company, you are under no obligation to collect VAT & import duties on shipments to the EU. These will often be collected by shipping agent on behalf of the recipient's tax authority, otherwise it is up to the individual to declare their liability.

To claim this as a reason not to trade internationally is a disservice to your potential customers and to your shareholders, and frankly reads as "we have no idea what we're doing, so we're not going to do it, just in case".

If you're really not sure, pay for some basic tax and legal advice who will tell you there's nothing to worry about. Meanwhile, you're loosing potential revenue and future referrals. (Assuming reasonable standards of product quality...)
Two plugs I always make during any drug law discussion on HN:

One - The Economist's 2009 article "Failed states and failed policies" - http://www.economist.com/node/13237193 (you might have to Google the title to get around a paywall)

Two - The documentary, The House I Live In - http://www.imdb.com/title/tt2125653/ (trailer - http://www.youtube.com/watch?v=a0atL1HSwi8)

Both make such a fascinating case that drugs should have never been a crime and punishment issue, but rather one of public health. I highly recommend both for a read and a watch, and both will articulate the case far superior to anything I would be able to write here.
Where are the shirts made? Are you planning to go into pants, suits, jackets, etc.?

As a business decision, the $69 price-point seems a bit high. That sets it at elite, rather than mass-market. The problem with elite is outside of SFO and NYC, you'll get a lot less viral word-of-mouth growth. In most of the world, elites do talk to each other, but they talk to non-elites a lot more, and when they do talk to elites, the topic is usually not clothing.

To give a concrete example: I am C-level. As such, I could afford it, but most people I know would not be able to. The only people I could mention it to would be VP-level or C-level, most of whom are colleagues rather than friends. This would limit word-of-mouth from someone like me to perhaps 2-3 people tops, rather than 20-30 (so in practice, 0 rather than 2-3, since it would come up in conversation for perhaps 10% of the people I know). At $69, I also won't buy it on a whim. At a price point competitive with Eddie Bauer, or even Men's Warehouse, I would, just to see how well it worked. If it worked well, I'd switch to it. If I did buy it, at $69, I also expect quality. I wouldn't buy a second one until I see how long the first one lasts. That means repeat business won't come until you probably run out of runway.

Custom-tailored pants, in India or Africa, cost $10 for the fabric and $3 for the labor (and are fantastic). Even with a generous mark-up, you ought to be able to have a slow but inexpensive process that competes with middle class mass-market goods (not Walmart and Target, but certainly EB and Men's Warehouse).
The downvotes reflect the truth of the above statement...
Huh, wow. I was recently thinking about and prototyping a shell seemingly very similar to this. Explicit goals I have in common include:

- Focus on the lispy parts of sh - prefix functions everywhere and a simple, regular syntax. Not that anything with FD redirections as a primitive can get anywhere near S-expressions' simplicity, but shell is naturally more regular than most programming languages (even if bash goes out of its way to be complex).

- Be a real programming language that doesn't make you reach for awk or perl (separate, incompatible environments) to do moderately complex things sanely.

- Emphasize using pipelines rather than 'backwards' function application to naturally string together operations.

- Emphasize lambdas.

- Typed (i.e. non-string) pipes.

- Syntax highlighting.

- Nonzero-exit modeled as exceptions. (I think elvish is doing this, but I haven't reviewed the code in detail.)

Things I want but don't see in the readme include:

- A story for passing typed data around between processes (potentially in different languages) rather than just builtins. I'm not sure exactly what the story should be, but it should exist.

- A somewhat more succinct
syntax, with metaprogramming kept in mind.

- A JIT, eventually.

There seems to be a lot more in the first category than the second... give up? But elvish isn't anywhere near done, and I want to do things all my own way for once. I'll keep going, and post my project on HN if it gets anywhere. :)

But to the OP, congratulations on elvish. Hope it gets finished and seriously takes off.
Any reason to have it that way rather than shirtless? (My guess is that shirtless would be more accurate, but that you guys decided the privacy tradeoff was not worth it for the minimal accuracy gain.)
To the Americans around here: do you think this will have any important effects? It seems to me it could have, if it had been done ten years ago, our if the NYT was a newspaper aligned with a more conservative line, but nowadays I'd expect most readers of the Times to think "took you long enough!"
Maybe but I don't much like "<people A> are 'devils' that <people B> are superior to <people A>" bunk. Some of my family got gassed on account of that kind of stuff not long before Malcolm did his thing and it's still racist even if the speakers skin is dark in colour.
What Mark Klein revealed is the backbone for the case - the plaintiffs in Jewel v. NSA are claiming that they have standing because they are AT&T customers. Here is their argument[1]:

"First, the government unconstitutionally seizes plaintiffs’ Internet communications. Technology at plaintiffs’ Internet service provider, AT&T, automatically creates and delivers to the government a copy of plaintiffs’ online activities, along with those of millions of other innocent Americans—including email, live chat, reading and interacting with websites, Internet searching, and social networking.

Second, the government unconstitutionally searches the content of much of the communications stream it has seized. The government admits that it searches the content of the online communications that it has seized if it believes there is some indication that the origin or destination of the communication is outside the United States."

As I scroll through the statement of facts, I see Mark Klein's testimony, the PCLOB 702 report and Barton Gellman's article from earlier this month cited. Klein's testimony is key to this case because that's how the EFF is establishing that the plaintiffs have standing.

> The NSA is not capturing only traffic between Russia and Venezuela or only traffic that crosses a national border.

The EFF itself is saying right in their article and court filing[2] that the NSA is discarding purely domestic traffic.

> They are sitting on the links into Google's data centers. Google is a domestic entity. So either they're sitting on a link and then filtering out 100% of the traffic (which is preposterous) or they're sitting on a link where 100% of the traffic goes to and from a domestic entity and not filtering it out.

There is absolutely no evidence of this. I assume you're making a reference to the Barton Gellman's MUSCULAR reporting[3], which claimed that the NSA was making use of GCHQ's tapping of international fiber to scan Google's unencrypted international communications for their targets.

[1] https://www.eff.org/document/plaintiffs-jewel-knutzen-and-wa... (see page 7)

[2] Same as above, page 10

[3] http://www.washingtonpost.com/blogs/the-switch/wp/2013/11/04...
When Media Mergers Limit More Than Competition
You can write background, web, and desktop apps with Java. It is statically compiled and works very well.

I use C# for all the same reasons. Versatile, good tool set and does everything I need.
Nobody has any comments?

Are we having server infection fatigue? Are these sort of occurrences just too common for anyone to really care?

To me it's at least somewhat interesting, since in my ignorant opinion about 99% (statistic pulled out of thin air) of malware infects end-user systems, not servers.
Thanks, i understand all of it. And it is a fact (for me), that it is easier to be lucky if you are on SV. But my point is that it just sounded as bad advice from her. If all it take is hard work and luck is not a factor, why a lot of startups from her same batch will fail? They should just as smart, hard working and well connected as her.

Anyway, my point actually was more in the line of the comment above (mhale ). Sometimes it is good to quit. Even if you want to get a job for now and lager come back to start up something new again. It is hard to know when, impossible i would say. But the advice never quit seems wrong to me. Speciallly qhen applied to a specific startup.
From what I understand, Twitter only posts content from the linked site (expanded tweets) if the site is a partner or (twitter cards) if the site actively includes code for Twitter. Anything you can squeeze into 140 characters is surely protected as a (very) limited quote.

Which makes me question this article. Did they really pass a law requiring payment for quoting small parts of an article? Seems unlikely. Paying for merely linking to a site would be even crazier.
I was under the impression that tobacco and alcohol companies are against legalization and have the largest hand in keeping it illegal.
Looks like a really cool product. Are you thinking of moving to android? Don't mean to nit pick but you are mixing up accuracy and precision. If your standard of deviation is 20% lower, then you are more precise then professional tailors. Accuracy denotes some distance from some "true" value. Accuracy != Precision
http://en.wikipedia.org/wiki/Accuracy_and_precision
Great comment. Maybe I rushed into a superficial critique of the advice, but you wrote very well what My really doubt is. And gave me good new insignts also... Thanks
How Successful Companies Design for Users’ Multi-Device Lives
this is a good point. one developer i hired had the spark but not the maturity to deal with disagreement objectively. he has trouble communicating and working with others. he has potential, so i'm hoping he grows out of it over time.
Jibo is a social robot for the home
Legalize it,

But there are some real issues to be worked out, as someone who had a friend sent to hospital after being hit by a stoned driver who blew through a stop sign. Whats the legal limit?

I'm not sure how easy it is to detect if someone is "under the influence" as the drug is detectable for weeks in the blood (in this case the join was in the car).