skysight-inc/HackerNews huggingface dataset:
Fabric is the tool I use since it handles all the routine stuff but if you need it you have all the power of python and its excellent pip tools.
LeagueApps - Arlington, VA

We build the leading platform that helps local sports leagues and clubs thrive. Our digital tools and technologies are used by thousands of sports organizers across the US, and enhance the experience of millions of participants in youth and adult sports.

We're looking for talented and ambitious Java software engineers to join our team.

Contact steve@leagueapps.com or follow our job post: http://leagueapps.theresumator.com/apply/ZmHNGM/Software-Eng...
I bought the Gear VR when they just said a Note 4 was needed. Once I got it I found out that of course, this was not the case with my HK bought Note 4. So useless region locked lenses and a piece of plastic. I'll never buy any VR hardware from Samsung again.
Microsoft Research has numerous languages that provide many, many more guarantees than Rust. If Microsoft were to design a completely new kernel, I'd be fairly disappointed if they didn't do it in something Z3 Boogie based like Dafny.
They are equivalent. It's just a matter of personal preference. I like it because it's shorter and it doesn't read as a loop that evaluates the value 'true' on each iteration. Even though you know the evaluation optimizes away trivially if you think about it, I don't even want to think that far when I'm scanning code.
Rah Rah Rah! If your startup is not winning, just pivot, and be positive enough, and you will inevitably win. Selection bias doesn't exist and was made up by negative Nancys.

Seriously though, stick a fork in HN. It's over. Enjoy the echo chamber that this place will inevitably become.
But where are all the successful large scale projects built with Haskell (or Clojure or whatever)?

Standard Chartered has a huge amount of infrastructure in Haskell. Clojure's too young to have the types of stories you're looking for, but it's had plenty of moderate-sized successes (as has Haskell).

The biggest FP project I was aware of was Twitter using Scala and they ended up completely backing away from it. Yikes.

Scala is different from Haskell. Scala has a lot of features that don't play well together, it has stability issues, and it has inherited some of the Java culture which means that there's a lot of terrible Scala code out there.

I've been working with Spark over the past month and I'm shocked by how bad the JVM/Hadoop legacy is. Spark itself is a neat idea. Getting it to work on an actual production cluster is a huge PITA. I'm tempted to just use Cloud Haskell.

I know people who've moved away from Scala (either to Java or Clojure or Haskell). No one who's moved to Haskell has ever regretted it. I know of about 15 companies that use it (not all on million-line projects) and they're all happy with it. I'm only aware of one case, in the past 7 years, where a company moved away from using Haskell: they moved to F# because they picked Microsoft up as a client and MSFT wanted to be able to say that $COMPANY_X was using their products.

The only other popular site that springs to mind is Hacker News, and frankly, it sucks. It's practically the Hello World of discussion forums.

It's written in Arc, which lost to Clojure. Also, HN is as good as it needs to be. It's successful on its own terms. It doesn't need to be a wonder of software engineering.
React's JSX stuff looks like some massively bad engineering to me. They are at least on the right track with the virtual DOM stuff.
I had a professor who gave some reasoning about this. He's written a paper: http://plg.uwaterloo.ca/~pabuhr/papers/MELoop.ps

I haven't read the whole thing but I like this bit:

> There are many algorithms that are best written using an exit from the middle of a loop. If not written in this fashion, techniques such as the traditional “priming” of a loop must be used. For example, in reading a file:

read(a, b, c)
WHILE NOT eof DO
{ process a, b, & c }
read(a, b, c)
END WHILE

LOOP
read(a, b, c)
WHEN eof EXIT
{ process a, b, & c }
END LOOP

> The example on the left [top] shows the priming of a loop. This requires duplication of the READ statement or, in other cases, creation of a subprogram to eliminate the duplication, both of which are undesirable. As well, loop priming can be done an arbitrary distance before the beginning of the loop making the program difficult to read as the priming statement(s) is critical to the understanding of the loop.
The failure of the security industry
Maybe you should stick to twitter.
You might want to `set -o pipefail` on your bash because a failing process does not stop things from getting piped:

`echo OK | false | echo OK2` --> this command returns zero exit code even though false does return non-zero exit code. If you do `set -o pipefail` entire pipe will fail with non-zero exit code (of `false`).
Actually, no. I have written several modules and packages in R, both native and C++, and it is impossible to write efficient R that is beautiful or even comprehensible.
It doesn't have to read into memory; if that becomes a problem they can fix it. The hashing algorithm just needs a small, constant amount of state. While it is hashing, it can divert the data to a temporary file. Then it can just pass the file to its standard output.

A "hashexec" command could also be produced which passes the name of this temporary file to a subprogram:

whatever | hashexec <hash> arbitrary --command with args

This "arbitrary" command's standard input is redirected from a temporary file created by hashexec (so no cat-like loop has to execute to feed the data).

Also, since this is for scripts, there could be an argument which limits the size. This could have default value, say one megabyte. Anyone pulling down scripts which are anywhere near one megabyte has to add explicit overrides for the size:

whatever | hashpipe --max=4M <hash> | ...

The real problem isn't that hashpipe buffers everything, because the scripting language running the script will also do that; rather that because it buffers everything, it can be DDoS'ed with an infinite stream or whatever.

By incorporating a size limit, hashpipe could provide an additional protection measure to the next pipeline element: it protects against content which doesn't match the hash, and against content which is too large.

Idea: the size of the input could be encoded as a few digits of the hash. Then the argument is unnecessary. The hash itself tells you that the script is exactly 6059 bytes long; if you read 6060 bytes, the input is not the right one. Or the program could just stop reading at 6059 and check the hash at that point, and either pass on the 6059 bytes or error out.
And if I'm on a smartphone I don't want you transmitting megabytes of images, thanks.

I am reminded of all of these blog articles that start with one full screen picture that I have to scroll down to get to the first sentence. Generally, I just close the page when I see that because it indicates someone more interested in plastering my eyeballs than in giving me content.
Looking at the same data, I would have said power law.
There are always going to be those times when the most charitable reasonable interpretation is still incredibly bad.
If you just say "http request library" you'll get as varied approaches as your ant picture. Try giving a ten page spec for the ant picture.

There exist creative ways to program, and there exist uncreative ways to photograph.

The typical photograph is more creative than the typical program, but you've mostly just shown the effect of specs.
Check out the unfortunate caption on Alex's https://news.ycombinator.com/user?id=secalex photo.
What line? It's so bloody arbitrary as to be a useless guideline. It's about as meaningful as 'be nice'.
You know that you could keep the make tasks simple and have them invoke external scripts that are written in the language of your choosing, right? Building a mound of spaghetti shell code in a single file isn't the only way to construct a Makefile.
It's also important to note that Cass Sunstein was hired into the US government after that work, after which both the Smith-Mundt Act was eviscerated and the Air Force as well as other branches of the government developed workflows for 'engaging public opinion'.

The undertone of all of this is that there is a propaganda war going on across the internet and through foreign media companies (and sometimes through NGOs and CSOs) between nations - one component of what is now referred to as hybrid war. The US feels that it needs to respond to the activities of other nations and in particular Russia - though Russia and other nations feel they needs to respond to the US (which propagandizes overseas liberally).
$800,000 donated to help Memories Pizza recover from gamergate like harassment
I think this is a topic worth raising, I spend so much time auditing the "magic" in open source projects to try and find out how they work behind the scenes, and whether they are doing anything to protect me.

For example:

Pip (python package manager) tells you to run a "secure" script off the internet [0], where the only real protection is being behind SSL. But, surely I can just check the code of that script? Oh wait, it's embedding a zip file inside the python script, so I need to manually unzip it and look into it before I can start to consider it safe.

I like what CoreOS does, they don't even provide SSL download links for their isos, it's all plain text http, so they stress that you need to verify the image signature against their GPG signing key which is distributed via github.

[0] https://bootstrap.pypa.io/get-pip.py
I feel like two separate point counters for each post would work best. One for well thought out post, and one for disagreement. They wouldn't affect each others score, and only the positive point counter would determine the ranking of the score.
This is an interesting application of statistics! I'm surprised how well the sick-time ranking correlates with the sick times. Intuitively, I'd imagine we'd expect correlation between the ranks and the raw values (your X axis is just an ordinal version of the Y axis), but this is still quite high. I imagine that's a function of the underlying distribution. Your data could be conveyed effectively with a histogram, and I think that would paint an interesting picture.

Is there a picture associating the sick-time and the tenure? You mention it increases the R^2, but don't have an associated graph. Maybe you could post a scatterplot of Sick-Time and Tenure and show that logarithmic relationship?

Would you be able to provide anonymized versions of the data, or something like a table with (ID, Sick Time, Years of Tenure)? I'd love to play with it, and try a QQ plot. My email's in my profile.
This is amazeballs! You rocked my world.
Which suggests that:

> "There are lots of people that make money in the stock market by making long term bets."

Is not actually a counter to:

> "Being smarter than the algorithm isn't sufficient [to trade against it] if it is somewhat smart but blazing fast."
Sure, but once you want to start sharing code between your external scripts and the Makefile, it makes a lot more sense to me to write it all in a single more maintainable language.
Well no, the biggest risk is falls according to a CERN safety presentation from this year:

https://indico.cern.ch/event/383674/contribution/6/material/... (page 42)

(Handling is pretty vague though, and it was hard enough to track down this paltry statistics, so I'm glad falls won)

But oxygen deprivation is probably the biggest "exotic" hazard.
Because this isn't like reddit where the most upvoted comments are elevated in otherwise collapsed threads. I've only read some of the most insightful and interesting comments and discussions on HN buried most of the way down the page because they were available for me to see despite their lack of being voted on. On HN, popularity isn't valuable, the ideas are, and non-precollapsed threads support that.
Show HN: Bar Recommendations by Text
In the first versions of C, 'true' was not a keyword, so for(;;) was the way an endless loop was encoded. After that, it became the convention.
>it's extremely difficult to get Bitcoins anonymously

buy a miner, connect through tor.
A tale of two killings
>Or maybe the issue is that what lots of people want out of HN isn't the same kind of environment in which the actions of Torvalds to which you are obliquely referring occur.

The actions of Torvalds, though brash, are respected not because of his accomplishments, but because his assertions are usually quite valid. Many of us can learn from not discarding useful counterpoints simply because of how colorfully or insultingly they are delivered.
Switching to Wind Power Would Save California 18B Gallons of Water a Year
It's a common trend I see, not just here, but in all online forums as they grow. I'm glad to see you guys calling it out.
This is non-portable, as OS X has no sha256sum out of the box. But it does have shasum from Perl, and Linux distros typically come with Perl, so 'shasum -ba256' should work...

I wonder if there is any concise way to do this without needing to save a file to disk. I can't think of one, as it requires splitting the input in two, which bash can do with >(command) but not sequentially or with the ability to communicate from the subshell to the outer one.
The brain is at the center of all experience - I see nothing new here.
Six men charged in kickback scheme involving Boeing satellites
It depends on if your server side code is heavily reliant on third party libraries written in non-functional languages and which languages your team are experienced with.
thanks, though it doesn't look very usable where I am (Seattle, lots of rain).

I actually ended up buying 2 car tents, and built floors/walls for it.
It screams exponential at me, especially given a potential underlying model where every sick person has a .x probability of getting every individual they work with sick. As the number of individuals goes up with no change in the rate of sickness from outside the office, the number of sick people should go up exponentially (as with any multiplicative process).

Edit: actually I think I completely misinterpreted the data. Now that I look more closely, I have no idea what the X axis is for. I assumed it was number of employees in a company whose sick time was somehow represented by bar height, but is it just a list of all employees sorted by how much sick time was taken?

If so, this is probably an example of a normal distribution with an exponential tale.
Have you tried it? Or are you just imagining an extremely terrible implementation of the idea so you can write short quips about how bad it must be?
It would be great is someone with some neat design skills could help them make their homepage be less bootstrappy! Especially since, you know... bootstrap comes from twitter :P
Interesting idea, although not new (been done in different ways before).

Let me put it to you this way:

Imagine Zuckerberg screwing over Savarin amplified by 10,000.

Giving people value in anything will just drive them to become greedy.

Also, giving stock over a certain threshold of users should possibly classify these startups as public companies.

Review the JOBS Act and make sure you are legally on the right side of the law.

I personally wouldn't support this because those valuations of Uber, AirBnB, etc. are driven by VCs who pump big amounts of cash into these companies with big stock taken in return.

If my small startup is giving away 5-10% of stock to 10,000 people, my valuation will already never reach the values that those billion dollar companies have reached.

I do hope I am wrong though, as I would like to see some type of equity-sharing work (there was some other company similar to yours, but it gave equity in exchange for work put-in).
I'm not really sure what the problem with that is. Security flaws are important to know about, as well as personal opinions. We don't want HN to turn into a hugbox, as that gets rid of all the info that is useful.

Positivity is nice, but criticism is what chips away at the block of marble until it becomes a beautiful statue.
travisjgood: I'd love to see what openings you currently have but the link to jobs.lever.co on your jobs page returns a 404.
There are echo chamber aspects of HN... Especially Sam's AMA, which I was hoping would be a discussion of Sam's life, philosophies, interesting anecdotes, etc. like it is over on Reddit, but instead was predominantly questions about how to get into YC :(.

Even so I'll take the good with the bad, you still get great insights on technology. It just morphs for the worse when YC companies post, or the topic turn to getting into YC.
This wasn't really my question. I was asking about the different infinite loop idioms in C family languages and the rationale for using one over the other.
A Brief Introduction to X10 for the High Performance Programmer
I also thought that it's exponential, and as the other comment says it makes more sense.

I don't have the data, but I superimposed an Excel graphic over the original graphic: http://imgur.com/L5f6CIa

The logarithmic fit looks better.
Tor Project Launches Summer of Privacy
Oops. I figured if it was a dup the link would match and it would be handled correctly.
I think there's a weak echo of this concept that plays out in an election. Except swap in the inconvenience of voting for giving up the $1,000 box.

On the one hand, why bother voting? It's a pain in the ass and my single vote has such a negligible effect. On the other hand, if everyone like me has that same attitude, then I and others like me lose our voice in the election. So should I vote, or not?
I∫ will race you. =∫∫ ∫og will race log.

Maybe empathy karma will come around. Empathy comes and goes, money comes and goes, karma comes and goes.

Sadly it hurts when it is accellerated by force of will to determine a ruler and winner to feel good versus bad about.

Fog of war is very real for hacked news logy, where edit change commit revision history is basic needs remorse remotely administrated by the "unsayable trauma of hidden language" rulers.
Email me (teenageSec@mailinator.com) sometime if you want to chat about web security stuff. I'm 17 years old and I tend to spend my free time working on bug bounties etc. I can certainly give you some pointers on this sort of thing.
Not sure I understand; almost any context where "QmTpn…" can appear could also handle a "sha1:" human-readable prefix. Including, notably, this shell context.

If another context is sufficiently different, it would be fine to use a controlled fixed-length binary-vocabulary there. (But, the ASCII bytes for "sha1:" would still be a pretty robust and largely self-documenting choice.)
You wouldn't happen to know of a tutorial on how to understand all the things you just said, would you?
Balance, c/c++ (and even to some extend Java), are not appropriated for what I normally build: web systems. The balance that Python offers me, where performance is achieved by other means than the programming language (systems), with an access to libraries (data analytics, web frameworks, devops...) that cannot be easily matched by C/C++/Java. And about Haskell... well, I suppose it offers amazing performance and technical advantages over other languages (if I remember...), but always as far as you can afford little geniuses working in specific problems in a megacorp where all the other things (from having access to cash, to sending them to Hawaii with all the family every year, to SRE, to Devops, to... well everything) has been covered and what you really need is that 0.00001% of advantage that can keep you in the competition with other megacorps (Google vs Facebook?).

Sorry for my "you geniuses are important but not that much" approach, but I'm in the start-up business, not in a PhD ridden competition to check who can move more chess movements in their head while listening to trash metal :)

If you want to know my thinking framework for this kind of stuff, I apply Dawkins/Evolutionary Biology technique of counting how many times certain traits have evolved independently to measure its usefulness. Take any Haskell project in Google and measure it vs their total code vs the revenue that it brings to the table. Same for Facebook. And then we can talk.

And yes, I realise that Facebook is mostly PHP and Google is mostly C++/Java. But I remember, the first engine in Google was implemented (at least in part) in Python ;) Later they had the cash/resources to afford rewrites in C++/Java.
Unlikely. More likely this is another attempt in the long history of car makers trying to gain full control over the entire supply chain. They want to have your car serviced only at approved auto shops that they control or own, using only original parts that they produce/sell.
You know, if you see a bullshit opinion or statement, there are ways of refuting it that don't need the level of aggression you are showing here.

Here's an example: homeopathy. If someone believes in it, then you can give counter statements without calling them an idiot. You can explain that you believe it's without basis through reasoned argument, and you absolutely should show respect for the other person. You don't even have to respect their opinion - heck I have zero respect for homeopathy - but that other person might have reasons for their stance.

At the end of the day, Hacker News works because it allows the free flow of ideas through discussion. HN knows that being wrong and failing are important to innovation because there are so many things that are non-intuitive that you need to give people space to think and act outside the box.

To allow for innovation needs robust discussion where you freely share your wild and unorthodox thoughts in a safe environment. A safe environment is one where you invite criticism and allow others to point out the flaws of your ideas, but you do so in the knowledge that they are doing it out of respect to try to help you improve your theories, plans or projects - not to treat you like a complete idiot not worthy of any respect. On the other side of the coin, you should be able to freely and constructively criticise without fear that you will be penalised by the community and that your criticism is given to help the other party limit their failure, or think of ways of improving their idea by ironing out flaws.

In essence, when you call another person an idiot, or treat them as such, you break the very model that makes HN successful. So with the greatest of respect, if you can't get your point or view across without denigrating the other party, I don't think HN was or ever will be the forum for you.
I definitely get what you're saying, and agree the iPad line is at least one product (original mini) too heavy. I didn't realize they still sold that thing, that's crazy.

There's a ton of segmentation going on in the iPad line. I think you've gone through the decision tree pretty well. To answer your question I think the last bit mostly comes down to a combination of price and what the retailer even has stocked and displayed - they may only have the latest one.

I agree the mini 2 and 3 are a little too close spec-wise. I think Apple is trying to figure out supply chain choices there, and the A7 is just a good chip that still has legs. I'd guess the consumer decision on that one would be if the consumer likes the form factor and wants the latest, they choose the 3, and if they look a bit more into it and find the 2 is just lacking fingerprint and they don't care, they choose 2. Most people aren't pouring over specs, and may not even know the 3 has the same guts as the 2.

More generally though, having this year's and last year's model in both form factors makes sense for price segmentation. It's doubly good for business as it clears out the supply chain, and it even suggests to purchasers that older products will be supported so you can have confidence in your purchase.