skysight-inc/HackerNews huggingface dataset:
> few developers like to write tests

I like how this statement completely skips the reason why developers don't like to write tests. The majority of managers refuse to allocate any time to write any tests. Hell, when we come up with a 6-week estimate for a project, they then tell us we must do it in 4. At 4 weeks, the complaints and blame game begins over why the project isn't completed. Why? Because it was a 6 week project, morons.

I've only had one company with management that wanted unit tests written for code. Yet there was no official time dedicated to this process. That 6-week project that would be estimated without unit tests? Still 4 weeks. Huh? What magical world do you live in?

Quality requires time. That 6 week project now needs 8-9 weeks. Not 4. Not 5. Find me management that understands this and actually cares about quality instead of impossible deadlines that fit their fantasy plan for the current quarter, and we'll talk.

To be clear, I love writing tests. I would always have them if the decisions for project deadlines were left to me. Such decisions are out of my control, so the company gets what they are willing to pay for.
Since I'm going to give up my HN activities after this I'll humor you with a response.

While the line between amateur and professional sports have been blurred there are still very real differences. Amateur athletes aren't well compensated, but they are protected from the world of contracts, agents, transfers etc.

People give golf or tennis as examples of professional sports where you can struggle as a professional, which is laughable for anyone who knows sports history. These are sports that because of their status has kept a lot of the original characteristics of amateurism in sports (which from the beginning is a status i.e. upper class thing). Countries which have adopted to a modern amateur approach (with government support, non-profit organisations etc) to those sports have also been punching above their weight.

So what is huge difference between e-sports and other professional sports? For one they don't actually own their sport. I'm not a huge intellectual property fan, but in the case of professional sports it's hugely important. It's the basis for most if not all professional sports organisations. Most of e-sports does not make any salary, if they do or even if the don't they are signed to a team which takes part winnings in tournaments. So you have a situation where it's hard to make a living like in amateur sports, but you don't have the support network or limits of the same. At the same time you have to deal with the contracts and incentives from professional sport, but you don't get the benefits of intellectual property deals and major leagues and therefor salaries.

To some degree this is changing, especially in Korea, but it's still more of a business than a sport. Sports at it's core is competition to find out who is the best. You do that by having fairly similar conditions over a longer time. That's what amateur and professional sport organisations do or, at least, should do.

That said I'm not even sure the discussion should be about if e-sports is a professional or amateur sport, but if it's organized enough to be either or for that matter even considered a sport at all. Is chess a sport? How about poker? Or day trading? Fashion modeling?

I find myself having a severe lack of motivation while writing this, but hopefully it made some sense.
As far as I recall CurveCP is based upon public key encryption NaCl primitives. This protocol uses symmetric encryption from Sodium. While it is also based on NaCl, that's all they have in common. I'm not familiar with Noise.
Matt, is Kensho taking on any interns at the Harvard Square office? I'm a junior at Harvard studying CS and Statistics (which means I live abnormally close to 17 Dunster St.), and am pretty much obsessed with bughouse.
Or 7hrs to fly if you turn up the suggested 2hrs before your flight at the airport, live an hour away from the airport (true for much of London), plus an hour to get through the border and baggage reclaim the other end and an hour bus/train ride to destination.

This is why Eurostar to Paris/Brussels is so nice. Get on train in centre of London. Only need to turn up 20-30mins before departure and arrive right in the city centre at the other end.
Looks awesome. Good luck
What? Why? Why wouldn't they just move that to an about:config flag or something? That seems very useful.
The Exciting and Scary Future of Cars
How would you implement Netflix without using
external plugins such as Silverlight?

Upon first inspection this does not look like a code example to me, but rather like a question in english language?

I have no knowledge about Netflix, so I don't know what the technical aspect of the question is. A code example would make it clear.
For a mobile app, I developed recently, I tried the following services:

https://www.nexmo.com/product/verify/
https://getprove.com/

In terms of ease of use and reliability, I preferred Nexmo. But however, I faced issues sending sms to VOIP numbers with Nexmo.

I ended up using Twilio and Parse (it was the backend anyway) to get a verification service running. You can use this http://shamadeh.com/blog/web/mobile/twilio/parse/2014/07/31/... as a starting point!
MOOC Done Right – Embedded Systems – Shape the World
http://www.bahn.de/p/view/bahncard/ueberblick/bahncard100.sh...

4090€
I think part of the problem with freemium is that it changes your perception of where the value lies. The user discounts the value of the free component to nothing and only measures the value of the additional functionality that is unlocked with buying the premium portion. A lot of the time, this looks like a ripoff.

The developer on the other hand tends to look at the value of the whole application and prices the premium portion in consideration of this.

I'm not sure that I have a solution, except to say that the developer might be more succesful to discount the value of the free portion to nothing as well and only price the premium portion at a rate that considers the actual value that it adds to the user experience. I think you have to consider the free portion as a marketing expense.
I'm from Romania, and Monday is the first day of the week here.

When we hear that in other countries Sunday is considered the first day of the week, sounds almost as weird as being told that they consider "z" to be the first letter of the alphabet.

Also, it is very frustrating when a UI uses Sunday as the first day of the week, and I encounter that quite often.
The thing is, that's all well and good, but advertisers want more personal info, and they're the ones paying the bills. If users paid the bills, they'd probably have more choice. As of right now, that's not the way most internet things work (sadly).
I haven't actually used it myself and am certainly willing to believe it's immature, but how do you mean it has "little in common with RCU"? Comparing personnel between that library and this set of people --> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.... there's certainly at least some authorship in common...
...and some of them are very intelligent and very clever, and are able to rise to positions of power, wherein they get to make decisions about what's OK and what's not from a morality standpoint.
Discover the world nearby – Wi-Fi Aware
Like any other primitive, dogmatic religion, Java will stay for ages, because there will never be a shortage of idiots to repeat the dogmas and mediocries to have a decent living by manipulating the crowd.

Java is triumph of the "packers mindset".

http://the-programmers-stone.com/the-original-talks/day-1-th...
How I killed app sales by switching to metered pricing
Agreed with many of your points - although I don't think that the purpose is to identify low performers, per se.

It's more about breaking down development into small chunks at a time, so that if there are performance (or specification, or other) issues, they can be dealt with quickly.
The protocol uses symmetric crypto primitive from Sodium, leaves key distribution - arguably the most difficult part - beyond the scope.

I'm not a cryptographer, but I do know, that cryptographic protocols are damn hard and their design should be left to professionals.
Whatever you're going through; "this too shall pass".

That is applicable at any time in your life. Things will change.

Please hang in there.
If places can profit from operating in the margins where the law is shaky and they're unlikely to be challenged on their choices (risk vs reward), they probably will.
Fetch – A window.fetch JavaScript polyfill
Google's Android Permissions Get Granular
Maybe we should listen to Alan Kay's proposal: https://youtu.be/FvmTSpJU-Xc?t=1082.

It might be bad example, but if the Java SE runtime libraries was just a dependency like any other mvn artifact (module), Sun / Oracle would for example have been in a position to introduce immutability to the Collections framework and fix crazy other stuff[1] without breaking backward compatibility. But now we are stuck with those legacies forever[2], since they standardized on a too high level abstraction and choose fewer layers. For Java's, luckily they had layer underneath - JVM byte code, which is why I predict Java is still relevant for many years going forward.

The next generation of WWW needs to a very low common abstraction, e.g. bytecode. Something similar to X Windows.

[1] See Effective Java Puzzlers.
[2] Project Jigsaw might change that.
Your app is too niche for a freemium model. You Said yourself that the app solves a very specific problem and it's the only app in the store that solves that problem. I would suggest you switch back to up front payment but jack up the price to the 5-10 dollar range.

I've seen my revenue triple when switching from 3.99 to 9.99 for a very niche app that was almost without competition. And that was on Android where people are even less likely to pay.
Yup. And the problem now is if its not free, your product is not going to get ANY users. I really hope, everyone starts rolling back on freemium, because its hurting everyone (except customers).
As someone who would like this sort of app there's no way in a month of Sundays I'd be willing to pay for each article after the first

This sort of thing is a one off purchase (if my device does the work) or fixed monthly fee (if your servers do the work)
There's Matthew Carter's great Charter, which is free to use and on CTAN. You might have to decrease the font-size a little to match TNR's space efficiency.

\usepackage{charter}
...that people are bad at on-the-spot risk/reward analysis, and saying "...but you could save $.50 right now" is a powerful psychological device capable of reliably defeating rational thought and long-term reasoning for many people.
Not a fair comparison - the store can and will track my habits just as easily via the card I pay with. If I forsake the loyalty card, I don't get my privacy back - I just get tracked via another method unless I go out of my way to always carry enough cash to pay anonymously.

All the loyalty card does is allow them to track the occasional time I DO pay with cash, which is insignificant enough to be worth the discount. If a store made a genuine, binding offer to only track people with loyalty cards, THEN your question would be a valid comparison. At the moment, it just isn't.
Work-family balance: Female executives with lots of kids offer tips
Faitout – Give access to volatile PostgreSQL database for unit-tests
I'm French, I was in St Pancras / Margate / Brighton last summer and they have new lines, one of them called The Javelin, it's extremely fast, on time, reliable, so I'd say they've made tremendous progress.
The problem with that legislation would be that loyalty cards would then become useless; the discount is the entirety of the consumer incentive.
> You're right, my time for Lille to Montpellier was by bus, by train it's closer to 24 hrs, I double checked. By TGV it's 6-8 hours.

Well no, it's really 5 hours.

And I don't understand how you can say "by train it's closer to 24 hrs" as TGV is a train. If you mean intercity, well... I'm not even sure how you could take intercity-only tickets and as far as I know there are no intercity trains going from Lille to the south. It would probably be around 10 hours even as the slower speed of such a train, never 24.
(I'm the author of the original post.) Model-checkers don’t prove that a program is correct, only that the logic in the program’s abstracted and simplified communications/state model has no inherent race conditions, deadlocks and so forth, i.e. no typical concurrency flaws. Model-checkers don’t “prove” correctness in the mathematical sense (and maybe I should have written “verifiably-correct” instead of “provably-correct”). Rather, model-checkers search for counterexamples to the hypothesis “there are no concurrency flaws in this model”, by exhaustively tracing through all possible distinct execution paths through the model. Amazon calls their models “exhaustively testable pseudo-code”. If no counterexample is found, then we can be sure the model has none of the standard concurrency flaws, and we can be sure that the communications “housekeeping” code auto-generated from the model will have none either. This is a limited yet extremely powerful and valuable aspect of correctness, the hardest kind of correctness for humans to achieve in concurrent software.

I believe software engineers can and should start routinely using model-checking on concurrent logic, taking advantage of the machine’s ability to race relentlessly through enormous numbers of execution paths to uncover subtle flaws in logic. Even a small change to concurrent logic can have far-reaching consequences that are very hard for humans to envision. I believe competitiveness and sound engineering practice demand use of model-checkers on concurrent logic.
The December 2013 Spiegel article about the NSA intercepting Windows Error reports to figure out how to break in to computers: http://www.spiegel.de/international/world/the-nsa-uses-power... (page 2).
Previously the user paid 1.99$ for unlimited use, forever.
Now you nickle and dime users, forcing them to think about credits, what the value of the service really is, etc.
I don't like it.
First, you had titled this Show HN "structure for your thoughts", and I was expecting exactly that. Instead of what I had expected, I have just seen another linear TODO list which I can use maybe for shopping list, at most.

Second, honestly, how is it better than Google Docs or any other collaborative text-editing tool?
This comes up in advertising all the time - you can increase how many impressions an ad gets easily by just showing it more but the conversion rate depends entirely on the kind of user, match between user & ad than anything else.

In this case, the people who paid for the app self-selected themselves by the act of paying, but the barrier to install the free version is much lower than that.
If you want to experiment with letting people try the app for free, you might want to consider just using a single permanent IAP purchase of some higher-than-$1.99 value (say, $4.99 or $9.99) that unlocks unlimited articles. Without this purchase, you could limit them to something like 20 or 50 articles. Enough for them to get a feel for what the app is doing and decide that it's worthwhile. The idea being that anyone that does send enough articles to hit the limit would likely have decided it's useful enough to be willing to pay the higher cost (which they may not have been willing to pay upfront if you simply charged that much).

Or you could just go back to your original price, since that was working out. It's hard to say which would do better.
ICQ for Mac OS X
Show HN: QuickQwerty – Touch typing tutor
Ooh snap, I'm pretty sure I played on that quite a bit back when GameSpy was a good way to find servers. IIRC they had a box running Mr. Pants Excessive Overkill. Weapons Factory Arena is my all-time favorite mod/game, but XO is up there.
PepsiCo's CEO Indra Nooyi Was Right. Now What?
> Fraud is still a crime, even for the NSA; if you're going to assume that NSA will simply break the law then legal changes as a way to stop NSA are irrelevant anyways.

You said it all right there.
Light train is still a much smoother riding experience than anything a bus can achieve. Just get your laptop out and try to do something.
Red Hat CEO: How I traded mandates for ‘open’ decision-making
In Python it's x = sum(range(100000)). You might say that's cheating because there is a specific sum function, but having smart builtins covering common programming cases is exactly what an elegant language offers.
> There is some hope for the younger generations it seems, The people who have a better grasp of technology than the older crowd.

While I agree there is reason for hope, the younger more Libertarian crowd concerns me more, even if I agree with them on surveillance.
Long-Awaited EPA Study Says Fracking Pollutes Drinking Water
Apple is having its Microsoft moment
Nice job blaming all of Java for Spring's foibles
Just to make sure I'm looking at the same book, is it "Self-Discipline in 10 days: How To Go From Thinking to Doing"?

http://www.amazon.com/gp/product/1880115107/

Thanks!
> So yes, if you're willing to fly the discount airlines, you can save about $60.

The point is that Shinkansen never offers discounts. The price is always the same. So if you are poor or if your company asks you to travel for business on the cheap, they will save on the trips using airlines instead of trains, because there is virtually no difference between ANA and any other discount airline for such short distances.

> That said, flying takes 1h30, plus an hour on each end, give or take, and then you have to get to the city

The Shinkansen arrived either in Shinagawa or Tokyo, which may be far from where you want to go as well. Let's not assume that "in the city" is close to your actual destination. Most of the time I need to take subway/train for another 30-40 mins so I'd say it's about the same with the plane. And security checks in Japan for domestic travel is very, very fast.
Or England at a busy station.

It's not a common occurance, but it happens often enough that people who use trains regularly can remember a time it happened to them.

(I tend to like trains, but I use buses and coaches more often because price and convenience.)
I siiiiighed when I read the word false in your comment. All identity is a human invention, there is no such thing as a "true" identity, only many individual ones, such as what the government knows you by, what your family called you at birth etc. There are probably even people without a name in 2015. You're falling for some of the same traps as FB and Ryanair.

http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-b...
If you go during the tourist season, it's very likely full. If you go during early morning or evenings, they are likely to be full as well for people who do daily trips. During day-time, Shinkansen are half-full or even less that that. And I am assuming you had a JR pass, which means you had to seat with the "reservation free seats" which are usually always pretty much full and do not reflect the actual situation of the other wagons.
But that's not how those cards work. Usually, you need to collect points, or visits, or whatever, and only receive the benefit (prize, discount) at some point in the future. It's the opposite of 50¢ right now.
I perform no micromanagement of third-party websites, it was a one-time setting of my web browser preferences.
> Not all of the tests, necessarily, but enough to set an example, set the standard, and get the ball rolling.

I think you stopped your quote too soon. Writing a couple tests sets a pattern, an example o follow, and demonstrates how important they are because you are willing to take time to do them to begin with.

But just giving lip service to the importance of them does not change a culture of untested code.

Setting up code coverage reports, test harnesses, a few examples, and then talking about the test metrics shows it's important to management.
>As has the historic tendency for the average citizen in countries run by plutocrats to enjoy substantially better standards of living

This isn't true at all.
Of course outliners are better tools for making indented lists and trees than are word processors.

But could you explain in what ways Omniflow improves on the many existing outliners, such as those listed here: https://en.wikipedia.org/wiki/Outliner#Browser-based_outline...
That's interesting to hear, because back when I tried leiningen for the first time (2011 maybe?) I was shocked how easy and non-painful a build tool can be (compared to those of other languages, and maven in particular) and I've been a fan ever since.

Then again I never tried anything with cljs, which seems to be the main point.
This post perfectly sums up a mindset I detest. Engineers get shit done and don't care about whatever the most recent hipster programming language is. They can probably spell "mediocrity" as well.
Short related story. When I was in first grade in the 80's, all of our chalk boards were being upgraded to white boards. The teacher used it as an opportunity to be a kind of time capsule. We each wrote our names and something personal on the boards. Later they placed the white boards over them. It wouldn't surprise me at all if those boards are still there to this day.
No, it was a posting looking for "RUBY ON RAILS DRAGON SLAYERS" if I recall correctly.
Each site has a set of attributes, which partially overlaps. The data formats should reflect this, allowing for software clients that know the base attributes to interact with both, while still having their non-overlapping attributes. Why can't I add both profiles to my PIM software without special adapters?

This is what RDF allows you to do: instead of designing a custom format, or being tied to a rigid standard one, you can simply add standard attributes to the element in an ad-hoc fashion, so the client can use whatever attributes it supports while allowing for the ones it doesn't. And if there is no standard attribute, fine, you can add custom ones as well.

There's no reason the same code shouldn't be able to process HN, Slashdot and Reddit threads, for example - and even a Github issue.
> Yes, because highways are free, require no land, never go through places where people live (/self warily eyes the massive elevated freeway overpass system lurking near my home...), and never have congestion.

A single car accident does not block the whole highway usually. For trains, it's very much likely it would or seriously delay the following trains.

As for the land part, sure, highways take lands too, but they don't have to be only in straight lines and they usually have to accommodate with the local populace. Numerous highways make detours around mid-size cities, which is simply impractical with trains designed to be on linear tracks as much as possible.

> With the exception of "trains aren't good for all distances", none of your arguments make much sense. They apply equally to all forms of mass transit.

Take this one then. In France all TGV lines converge to Paris. Try going from Lyon to Bordeau, and you are fucked, you need to go up to Paris and then down to Bordeau, which is utterly stupid. Either a car or a plane trip is faster. Japan is slightly better in that regard simply because all cities are on the coast. For large surface the amount of lines you need build is just not worth the investment.
I cheated --- I have a work sponsored visa, I'm afraid.