skysight-inc/HackerNews huggingface dataset:
The confusing series of shell scripts most Java services (Cassandra, Kafka, Elasticearch) come wrapped in are a constant annoyance. Not only do they rarely if ever follow common shell command idioms, but trying to configure production services turns into tracing environment variables through a series of shell scripts sprinkled across my system.

It's nothing wrong with Java the language, but the platform just seems to make common UNIX best practices hard.

Edit: Just remembered Kafka is Scala, not Java, but I think it just supports my asssertion that the Java/JVM ecosystem just makes common best practices hard.
This is aware of some basic language semantics like literals, identifiers, etc. Or so it seems. Peek at the github page https://github.com/awgn/cgrep for a little more info.
Scala is full of many libraries that take advantage of trailing closures. I think their standard library Future/Promise API is good example: http://docs.scala-lang.org/overviews/core/futures.html

Edit: Another popular one is the ScalaTest unit testing framework: http://www.scalatest.org
In my opinion, the difference between "scripting" languages and other languages hasn't been relevant for about a decade.
Some of you will end up on juries. Just vote to acquit. Obviously you can't vote to acquit when evidence is withheld at trial... how would you know?

So vote to acquit for all crimes. Period. The damage that one or two or even dozens of criminals will cause is much less than that caused by a government that believes itself righteous when it undermines fundamental human liberties.
I figured it out. I was a bit confused in my assumption.
Get real-time information of the World Cup in Brazil from terminal.
Some load testing services ban Cloudflare testing.
Use a programmer testing framework (e.g. JUnit) even if this is an integration test, even if you're going to "ignore" it later. If you feel the need to create a main() method just to test your code, IMHO, it is a type of code smell and I think this should belong with your programmer tests.
Basically she is responding to a straw man - 'disruption' as represented by people who are using it to bless their own plans with an aura of power and inevitability, rather than people who are carefully analyzing a business context.
Nope, still don't get it.
I can't wait to try this out. I still have my 4.77 MHz 8088 IBM PC with CGA video.

I don't have a monitor for it anymore, but that is fine since this was designed for the composite out anyway which I can put on a TV.

And I need to find an 8-bit SoundBlaster to put back in it.

Nice to see trixter doing stuff. I remember him from demoscene stuff in the 90s. Back then, PC demos were for 386/486/Pentium and VGA graphics. Nobody bothered with PC or XT (or CGA or EGA graphics) even back then.
As of today that is true. But once we hit 10nm node the progress in terms of cost per transistor will probably cease dramatically. And it already slowed considerably.
Compare for example nvidia 460 gtx (2010) and 2014 760 gtx (2014). For same $ you get roughly 40% more transistors. Cards cost $200 and tdp is 130W which gives $450 at $.1/kWh in 4 years. So once cards with 2 times more transistors hit the shelves you would already spend 5 times more on electricity than card itself.
To reductio ad absurdum, we shouldn't even include arithmetic operators for numerical types because of ambiguities regarding truncating decimal places. After all, myInt1 / myInt2 is dangerously undescriptive so really all integer division should use

Math.DivideToFloat(myInt1, myInt1) or Math.DivideToInteger(myInt1, myInt2)
I'm not sure about you guys, but I'm not getting any feedback whatsoever. I've measured it with all the tools I can find, but I'm not getting any "Well done" or any link to the next level. Any thoughts?
> viable alternative to LaTeX: HTML

There is no built-in capability to make common constructs, for instance a simple LaTeX \newcommand{\stdbasis}{E}.
I wasn't advocating you take a pay cut for options. ;)

But I think $0 is wrong as well.

http://online.wsj.com/news/articles/SB1000087239639044372020...

75% fail. 11% go public or acquired.

It is a lottery ticket but those don't sell at $0.
I bet we will see some interesting examples of fooling in obfuscated Swift contests.

For example one can define operators called <>, =<, =>, and !=

You can do interesting stuff with pre- and suffix operators, too. For example, the XML comments <!-- and --> could be a prefix- and suffix operator pair.

Also, you could define operators that look conspicuously like comments, at least to some of your readers.

[disclaimer: I don't have access to the code; I just read the documentation. That documentation seems to imply that // starts a comment _and_ can be used to implement a custom operator. Even if that isn't possible (fairly likely, I would say, you can still try using --- or /// as your operator]
Really cool game and great idea, there's some good educational potential here. I'm looking forward to exploring Euclid's proofs again in this digital format. This easily beats dilly-dallying with a real-life compass.
I liked the fact that someone paid him $100 to option the movie rights.
What other services like this are out there ?

I know of loader.io but I am specifically looking for ones which I can script to simulate real users.
Old news story is old.
Watch for the next couple weeks or months, this will be reversed. Some of its champions will mysteriously stay silent on the reversal.

Those are the ones that were blackmailed by the NSA.
-L and -I are specified at compile time, so if you distribute/deploy a binary the runtime doesn't have to care (except in the case of dynamic linking - eek!)

$CLASSPATH is purely runtime, so it's all the fun of dynamic linking, all the time. Monolithic shaded JARs can solve this problem but introduce some of their own.
How to Dress for National Holidays in Style
Ask HN:  Anyone going to HackDiningNYC?
Anyone interested in food and hacking?

Food Tech Connect's Hack Dining NYC is approaching next weekend, June 27-29. I just bought my plane ticket and am journeying from Lake Tahoe with a pretty cool idea and a marketable unused .com to create something unique and hopefully win.

Seeing if anyone is interesting in attending and possibly forming a team before the event. I've done a couple of these before, winning money and prizes in the last one, but team building seemed to be the challenge vs. building something cool.

Teams can have up to five. Ideally two coders, one UX and maybe another wildcard. Personally I've been an owner in foodservice, consulted for many, and years of sales & mktg in food, so I have a decent taste for the market.

Food is really hot right now and personally I'd like to win this and continue to build the project, take it to an accelerator and see where it goes. I'd put the name out there, but don't have the app name reserved yet so a bit hesitant, but it's solid.

Would love to find cool, smart people who love food and its possibilities to build a team. Bonus points if you have a couch or spot on your floor to crash.

Thanks for considering. Happy Eating.
Looks cool! I think math needs to be taught in that kind of style, where people learn by doing it. I would be interested in having something similar to that on my site, Learneroo.com. One suggestion: start people off by walking them through easy challenge so they learn the interface.
Without the code and error message, this is just a rant from some (famous) guy who can't/won't figure out his tools.

First of al­l, it took me for­ev­er to fig­ure out the ja­va
command-line in­can­ta­tions to tell it that it need­ed my
project’s class files and the json.org li­brary (which I’d
al­ready down­load­ed so I could com­pile the suck­er). Yeah,
I used to know that stuff ten years ago, but there re­al­ly
shouldn’t be any com­plex­i­ty here.

"in­can­ta­tions"? It's not wizardry.
Yo anyone
One guess is that the average physicist, which might include both the journal editors and the author of this paper, have no clue about journals outside of physics. :)
By "different views of time" do you mean a scientific view, or a philosophical view? If it's the scientific view, the idea regarding time and macroscopic bodies -- general relativity -- specifically what you'd need to describe someone travelling in time, explicitly forbids that, so I don't think there is actually any possible scientific answer to your question.

Philosophically, but something vaguely based on physics, there's the Many Worlds Interpretation of quantum mechanics. But as far as I know the "physical meaning" has no bearing on science. There's a good sci-fi novel about a universe where the MWI is true -- Anathem by Neal Stephenson.
´./gradlew run´

Good luck trying to compile a C project without autotools/make either.
Force-Directed Graphs in D3
Predicting Who Will Win the World Cup with Wolfram Language
tl;dr: Missing certificate in keystore. It'd be helpful to know the details; it's hardly an issue limited to Java (although it's harder to bypass certificate checking than in, say, curl)
So someone has already gone to the effort of specifying them. In that case the analogous java situation is downloading a packaged jar and running java -jar mything.jar
It is important to not guess.

You need to use the tools provided to create something that is guaranteed to be what is asked for.

For instance in the first level you aren't given a ruler, so you need to figure out how to do the level without using one.
They shouldn't have paid for a $17 billion valuation, but if there was a firm offer of $200 a share, they should have had to match the $200 a share instead of offering $135 (which was quoted as a $4B valuation). This would imply a valuation of around $6B.
Load testing as a service- thats a brilliant idea!

But why tie yourself to Ruby? (My initial impression is "gross!", but I can't say I'm much of a language purist as I spend most of my time in JS)

Would services like Stripe, Mailgun and Twilio have succeeded if they had forced their customers to use a Ruby DSL?
If they had an offer for $200 per share, they should get $200 per share even if Uber is the one buying it instead.

> Two months ago, an early Uber employee thought that he had found a buyer for his vested stock, at $200 per share.

Sorry I wasn't clear by what I meant by "market rates".
Have a look at latexmk http://www.ctan.org/pkg/latexmk/ .
Probably because the editors are so siloed in their physics mindset that they aren't aware that there are journals in these fields, or if they are aware, they almost certainly don't know which journals are reputable.
> People are probably most familiar with them, I think, in the form of Haskell's Maybe monad.

Or just simply "Maybe" ;)

https://groups.google.com/forum/#!topic/elm-discuss/1acyOfxv...
If you want all the advantages of C++ compilers, you can write a backend for the language's compiler that generates C++. If the language is actually performance-focused, there shouldn't be any semantic mismatch in doing so; for example, every Rust type should be able to be translated 1:1 to a (much more syntax-laden) C++ type.

The new-generation languages (of which Go is a bad example; Rust and Nimrod, and now Swift, are much better ones) don't attempt to get the computer to do the kind of magic at runtime (garbage collection, type reflection) that made previous-gen languages so slow.

Instead, these NGLs start with the assumption of C/C++ runtime semantics, and then, through extra work done at compile time (e.g. type inference, ownership-tracking) clear away as much implied/redundant/unneeded syntax as possible.
Also if you do a partial action and press undo it undoes the partial action and the previous one.

It looks like Esc is the intended "nevermind" button, but it isn't obvious.
Thank you for your input! Having put some thought into it, I agree. I'm still in high school, and even though I have a job, I'd say overall I probably have a lot more time now than I will in two years. This might be the best chance I have to build this. And whether it succeeds or not, it'll at the very least be something I can throw on a Github repo and show potential employers in the future.
"Does Tax Payer Money Burn Any Better Than Regular Money?" (Nemiroff & Wilson 2014). too funny...
That's a good point, but those operators have really clearly-defined semantics, so they don't have the ambiguity issue.
I was thinking the same thing... But Newton and Lobachevsky make for a much more challenging 3rd and 4th edition.
I did too, mainly because S3 + Hadoop isn't going to provide the locality and speed that HDFS would. I don't think it's a fair comparison.
I don't think you read the article. You don't address his certificate issues. Your solution also requires writing a pom.xml which is non-trivial.
Why I Built OwnCloud and Made It Open Source
This is really awesome. Sometimes I feel annoyed finding settings or controls on website to perform certain tasks or go through lots of clicks. This api can certainly make them easier and fun too.

If it can do something like "Facebook deactivate my account with reason its temporary" then this lib can certainly redefine user experience too.

Looking forward to integrate it in my app soon.
I wonder if he tried one of the philosophy-of-science, foundations-of-physics, or philosophy-of-physics journals? For example, one of the earlier follow-ups to Hardy's paper was published in Foundations of Physics: http://philpapers.org/rec/SCHQTF-2
Apple and GTAT open second sapphire manufacturing facility in Massachusetts
I guess inference can be used to mask some smelliness of deeply nested generics. It seems FUD-like to raise these types of concerns solely in the abstract, though.
It's perjury if the term "confidential source" legally implies it was information conveyed by a human informant instead of gathered by electronic surveillance. The definitions I can find online say that "confidential source" is synonymous with "human informant" and must be a person. While this might be a "legal person" which includes a corporation, it would be a stretch to call a Stringray a person.

In my mind, they are simply lying about an illegal wiretap, and "this has not been challenged" only because the lie was taken as truth. But I'd guess the exact phrase was well-crafted by a lawyer who thought this alternate "plain English" interpretation would work as a defense. I'm doubtful a judge would view this charitably, but as you say, a prosecution where we find this out seems unlikely.
Right, of course. Been working a lot with the Swift compiler so I was in some state of mind where I associated interpreter/compiler pain with faults and crashes :)
It's not that hard. I believe in you.

gcc test.c -o test
I have checked them out and am planning on using them for the technical and physical requirements involved with HIPAA. But thanks for the link, would have been extremely useful to me had I not found them a week or so ago in a jobs post on HN haha. Also I am going to be using a start-up called Accountable that helps with the administrative requirements of HIPAA. The problem is just that neither of those services is cheap (TrueVault is cheaper at first than Accountable) once you actually release a public website. I don't expect them to be considering that they save a lot of time and money compared to becoming HIPAA compliant on your own. But as a 17 year old I just don't have a lot of money, which is why crowdfunding will be necessary most likely.

Yeah, I asked kinda planning to do it either way, unless there was a really strong negative reaction, which might have talked me out of it. I think it will be worth it in a lot of ways, even if it never succeeds.
Simplistically speaking, you don't always have to do table scans. I run into this every day: "Let's use Hadoop and keep doing full table scans! It's scalable! We just add more machines!" Yeah, except continuing to scan all of your growing data each time you need it is inherently unscalable. :(
This is what I hear: "I am java newb and it doesn't work!" . Its true that other languages are simpler but he is missing the point why in java you have explicitly set classpath. Java allows not only for having multiple versions of libraries on the system with no installation whatsoever, but allows running components requiring those different versions of same lib in the same process (OSGi).
I'm no fan of Java, but in this case I have to say I don't have much sympathy for Bray. Yes, running Java from the command line is a huge pain, especially if you haven't done it in ten years. Yes, it should be possible. But it can't be intuitive to everybody because people have conflicting ideas of what the intuitive thing would be. Yes, you will have to run "java -help" to figure it out, or package everything in a .jar file.
At $99 unlocked, they can't pull off more than a Moto E or so, not even Moto G levels. Amazon can only subsidize so much. And the phone isn't the best device for content consumption, other than music, but music is cheap, and most people don't buy songs anymore these days.

I think they should've done one around the Nexus 5 level in terms of specs, and since it's coming 9 months later, it should cost like $299, or even $249, while still having that great camera. And sell it worldwide, unlocked. I think that would've been a much better strategy for them. The phone itself already is around Nexus 5 level, but with lower res screen, cheaper components except for the camera. Then take out those 4 cameras and AT&T's cut, and it should've been very doable.

At $200 on contract, or $600 unsubsidized (not even unlocked), it makes very little sense to buy one just for that parallax effect, which will be cool for like 2 days, and then you'll get bored with it.
this and:

- there more and more automation. Creativity and analytical skills are more important. Schools sucks at first and are OK-ish at second

- Kids are defaulting to get a job. Brainwashed to be doctors, layers, firemen a.k.a "the real job"

- "If you work hard you will get reward" - Nope. If you do something valuable you prob. get reward. Doing something hard may be critical to crush the competition or to solve the problem, but it's not essential.
No, I'm referring to pure states (vector of complex probabilities), not mixed states (matrix of complex probabilities). The latter would need 2^107 bits.

Every useful quantum algorithm manipulates the complex probabilities of the system. You cannot observe these in a true quantum system but you must still track them in a classical simulation.
Again, I just can't help but think you've been blinded by SCIENCE! What I see is a curve that is slowing, not speeding, and no particular reason to believe that the curve ever gets over the "commercially-viable fusion" break-even point, ever.

We are not obligated to stop thinking about things because of how awesome the alternate reality where this all works like gangbusters would be. This is science, not politics.

Or, more accurately, ITER is politics, and not science, which is another reason I'm not holding my breath for this. It's not an experiment we're doing because the results are just so darned promising we had to carry on... it's an experiment we're doing because politicians have decided this is the way forward. We pour billions into this, and other approaches have a hard time getting single-digit millions. I do not care to follow along with the everybody-get-happy politics of ITER, I want fusion.

Might I further add that as this is science, should ITER succeed and produce a commercially-viable reactor, I will celebrate them all the harder for doing something I thought very unlikely, not try to argue it away. However, that is my bar for success, and I will not accept something sneaking under it under a cloak of pretty words.
Posted already :)
https://news.ycombinator.com/item?id=5817728

But still someone new might find it interesting.
I see little difference between searching for evidence of time travel on the internet and searching for evidence of pink unicorns on the internet. Current theory predicts that we should not find evidence of either one, nor any evidence of ESP, telekinesis, or a zillion other phenomena. So searching for evidence of these phenomena and failing is about as interesting as searching for evidence of anti-gravity by dropping a few dozen apples and failing.
I've been giving your idea some thought, and would be happy to discuss further over email if you like (in my profile).

I don't think HIPAA is the main problem you have. The biggest obstacle is whether any healthcare provider would be willing to participate. People in this area have little time, too much work/obligations, are generally not tech savvy, have fixed workflows that they're unwilling to deviate from, and even the smallest amount of friction in your product will make them give up.

If you're going to do this (and you probably should if you're passionate about it), then you have to think of a way to integrate seamlessly into existing workflows and minimize their time commitment. Your goal should be 5-10 mins per day, max, regardless of the number of people being "monitored". Think about the incentives to get providers to participate. How much turn-around time is realistic? I don't see how this will be an "imminent suicide" prevention system and there are already lots of hotlines for that, but it could be great to monitor mood over days/weeks.

Perhaps have a single daily aggregated and anonymized email to a provider's nurse at 7am (when most check their patient data) that updates them on all patients in the practice who are potentially in trouble. They click a link, enter a password, and see the non-anonymized data. Then the nurse can get on the phone and start calling people.
Slightly off-topic, but normally HN is scientifically sound when physics or any other science is mentioned. But when it comes to time-travel/FTL, I can't help but feel that half the posters here seem to almost want it to be true. Or at least seem to think that all of our physics knowledge is worthless when it comes to FTL et al. Or is everyone just having a laugh?
Swift has the "black-holing" as well in the form of either explicitly calling Optional's map method, or the syntactic sugar: myTypeTOpt?.methodOnTypeT()
I would wager the lack of a need for a 200 dollar bill is card payments becoming more popular.
Firstly, this is definitely partial application not currying (see my other post on this thread for great expansion on this point).

Secondly, this is merely a syntactic item you're looking for. It's trivial to achieve this end in any language with first class anonymous functions. I'm not claiming that syntax isn't important, but instead just pointing out that it really is a trivial transformation to include if it were valuable enough.
I have another question: Why are people still doing joins in this day and age? Big data + joins = teh suck.

I'm a big fan of compressed denormalized data.
Rise of the Sexbots
Why can't arrays be passed as function arguments in C?