skysight-inc/HackerNews huggingface dataset:
>> 3) It's not $590, it's $1500 (or more).

>Just wanting to point this out, but the price for a single developer, with support included, is currently $590 according to this page: http://shop.highsoft.com/highcharts.html

OEM licence costs more than $1500.
Adam Smith too:

"Their [those who live by profit] superiority over the country gentleman is, not so much in their knowledge of the public interest, as in their having a better knowledge of their own interest than he has of his. It is by this superior knowledge of their own interest that they have frequently imposed upon his generosity, and persuaded him to give up both his own interest and that of the public, from a very simple but honest conviction, that their interest, and not his, was the interest of the public. The interest of the dealers, however, in any particular branch of trade or manufactures, is always in some respects different from, and even opposite to, that of the public. To widen the market and to narrow the competition, is always in the interest of the dealers...

"The proposal of any new law or regulation of commerce which comes from this order, ought always to be listened to with great precaution, and ought never to be adopted till after having been long and carefully examined, not only with the most scrupulous, but with the most suspicious attention. It comes from an order or men, whose interest is never exactly the same with that of the public, who have generally an interest to deceive and even to oppress the public, and who accordingly have, upon many occasions, both deceived and oppressed it."

Adam Smith, The Wealth of Nations, Chap. XI, Part III, "Rent of Land: Conclusion".
The time travel show "Seven Days" from the 90s dealt with this -- sometimes the time machine would end up stuck underground or floating out in space.
The solution to the entrenchment that comes, in time, to every free market, is more free market. Got it.
Ask HN: How is the average karma calculated?
How does HN calculate the average karma for a given user?

I noticed my average karma changes relatively quickly. Over 2-3 months it varied between approximately 2.0 and 4.0. Given that my account is 4 years old, it seems that HN takes a sliding window of the last X posts, or perhaps posts made in the last X days, to calculate the average karma.

Also it seems HN does not take into account points from submitted articles. 2 of my last 15 submissions over the last 3 months received hundreds of points, but this did not significantly increase my average karma.

I also noticed the average karma seems to be recalculated infrequently (no more than once a week).

Out of curiosity I downloaded my posts over the last 2 years, and tried running a sliding average karma calculation, but nothing matches what HN is reporting.

HN staff: care to enlighten us?
I'm not sure what you mean by "throw your voice at a small instance". Are you saying to set up a VM with a dedicated network card and use that as your router?
And then we go into the usual falacy. No governemnt is a single coherent entity.

The people creating the budget aren't the ones doing the spending. And the ones planning the outcome of the spending are even a thrid, disjunct group.

If you try to sell something to the first group, you'll discover they are separated from the outcome by (at least) two layers of intermediaries, and probably have no idea about the problem. If you try to sell it to the third group, you'll discover that they have no power at all to put resources onto a solution. And if you try to sell it to the second group, you'll discover that they only care about accounting, and have no desire do think about resource allocation or real-world problems.
Show HN: Angular-permission simple access control for your routes in AngularJS
A very obvious solution would be to have some proportion of single mothers watch the children of the other single mothers while they work outside the home.

I wouldn't be surprised, however, if there's a metric shit-ton of misguided regulation around running home daycares that makes this impractical.
lol, can't believe this gets down-voted. God forbid there is humor on HN!?!
Top 5 Things to Do After Your Email Account Is Hacked
As a counterpoint, my HS classes used TI-81s, and I had bought a TI-85. Not all the things were in the same place, and so I often had to think of other ways of getting to the same place. At the time I thought it was a good thing, but I'm not sure if it was just that I was geeking out on the nicer hardware. ;)
> A long time i've been thinking about getting an external keyboard for my phone

I really like this one:
http://www.amazon.com/ZAGG-FOLZKFLEXSLV-Zagg-ZAGGkeys-FLEX/d...

I keep it in my pocket. Goes a few months on a single charge. It has made my phones entirely more useful to me. That said, a rotary switch would be pretty nice on this thing...
The whole point is to look at the budgeted allocations - if it has budgeted $100 million on foobar, then that's a $100 million marketplace for foobar-replacing products and services.
yeah. I remember some ~7 years ago reading about a research team that stated that they had rewritten many of the fundamental equations of (some branch of) quantum physics to show that they could be written in a completely deterministic manner. They said that while such equations weren't likely to be useful (due to the limitations of our testing technology), it was an important result, particularly when it comes to understanding the underlying science. And they were very upset that basically no one paid their result any real attention.
I think Warren Buffet got rich with Coca Cola

Coca-cola is where he parks excess cash. He got the cash using insurance cash-flows (get cash now, pay out later) to fund utility building (needs cash up-front, pays out cash reliably for a long time)
Good luck to you, but it seems like a case of trying to tackle too much at once with limited synergistic use cases. I can already WhatsApp photos to my friends, Instagram serves a different purpose, and I don't mind logging into Paypal, Venmo, etc. for one-off transactions. I would focus in on a specific problem / synergy opportunity... 3-icons-in-1 doesn't particularly hook me.
Yes but you can copy a program more easily than you can "copy" the knowledge behind it.

What happens when one kid writes a quadratic solver and gives it to half the class?
Forgive me for making a somewhat philosophical tangent.

It has been said that naming things is fundamental to our abstract thinking. The ability to not only group some concepts together, but to give a single label to this group that is further composable, enables us to do more complex, more advanced things with those concepts.

To present a very clear example:

> In China, (...) they call their holdout houses “nail houses.”

Finally I know what words to type into Google Images to find pictures of those.
ISO/IEC/IEEE 29119 Software Testing
SVG is another obvious contender, but it needs a separate file (or a cryptic data url), which is not always a disadvantage, but sometimes may be.

It seems like CSS has many of the same possibilities as SVG, although expressed a bit more obscurely. But I can imagine that an SVG-to-CSS converter would be possible.
How Elizabeth Joseph Became a SysAdmin on HP's OpenStack Infrastructure Team
Hah, funny, I had a similar question and I'm also in Atlanta. :)
If neural nets can compute any function (as seems neatly proven here) then can they compute any function in more than a single way? If so, then upon applying the novel input (which was our goal following training) how can we know that the particular way which was computed via training set is 'right' for our novel input? If this is all true then it would seem to make neural nets perfectly unreliable as a means to modeling..?
Can we standardize software testing? Should we standardize software testing? At some point, are we looking at standardizing an artistic science? What happens to software development, architectural design, or even music?

Does the push to standardize these things jeopardize them from future new and hence 'non-standard' ways.
I've heard that they'll often do it if you phrase it as "Best price on X gets the deal".
Posted earlier here: https://news.ycombinator.com/item?id=8260498
Nice 10kf overview, but more hand on tips:

1. Run the program, look at stacktraces/profiler. Sometimes it's easier to analyze runtime and figure out what the program is doing and what are the main/common patterns.

E.g. Java - jstack, C++ - gdb, gprof

2. Use some static tools to get call/caller graph and be able to browse program quickly. Jump between definitions, see what's used, what's not.

E.g. C++ - docgen, Java - most modern IDE will do just fine
I disagree with the OP,in a system with dependency injection,it doesnt matter where the injected stuff comes from,only the fact that they are injected is important.

You could have 20 services instead of one it would not make any difference. Since the details and dependencies of the services are encapsulated. I would,however separate the modal methods from the config variables, as it's 2 different concerns.But the rest is totally fine.

It's a matter of opinion beyond that, there are no "best-practices",other than the fact that one should not use any data that is not injected somehow , in a controller.

Same for $http.Of course one might want to abstract some business logic as the application grows,because at some point one might need to do complex stuffs when it comes to api calls(validation,...) but YAGNI over DRY. The code is still testable.

Again the only thing one should NOT do in a controller is DOM manipulation,beyond that anything goes.
If your theory was the correct one, could we use that effect to perform computation - perhaps condensing 1000s of years of computation into a few minutes, with the result encoded in which steady state it settles on?
Quasar is an amazing piece of engineering work, and I really don't understand how pron has been able to do so much in such a relatively short period of time (including insights into the ideas and implementation).
I failed a fizz buzz on purpose once, basically writing a regex parser in the hour given instead of working on the problem. I had already realized I didn't want to work there for other reasons. So I kind of wonder if this is the same type of thing. "Sure I'll do this for you" trolololol pie times r squared minus the diameter of the sun..
The DSM exists to give labels to groups of symptoms, it's not a theoretical framework and all the above problems are due to people mistaking it as such.

You seem to be conflating the DSM as it used by clinicians and the DSM as it is used by researchers, its use by researchers is indeed dubious, but clinicians need a lingua franca for making diagnoses - they're not academics.

If you want theories, there's always psychoanalysis :p
> Highcharts is not expensive compared to developing something similar yourself,

Here's what you guys keep ignoring: there's other open source alternatives that are free. I'm not helping develop them beyond giving bug reports.
From my experience, the "be humble" strategy is by far the most important one. Many developers tend to dislike whatever piece of code that was not written by them before even looking into the actual code or they get discouraged because they have a hard time learning how it works. For whoever is in this situation, be humble... pretend your way of writing software is not the only way and see if you can learn something. You may get surprised.
Keep moving, you still have Foursquare!
Most exams don't specify a brand but rather more tangible requirements like "must not have a QWERTY keyboard".
Exactly, the problem is that parapsychology and other junk (let's be honest...) clears the same bar that we set for social science in general.

http://slatestarcodex.com/2014/04/28/the-control-group-is-ou...
Yes, actually I like the idea of an internal chargeable battery through USB much more than replaceable AA batteries, since nowadays I´m very likely to have one (or two) USB chargers around when I´m travelling.
Misleading a coffee machine? No...
> far fewer people in the world have a Bitcoin wallet. Could this be a mere matter of implementation of the design?

imho it has more to do with the fact that banks have been around for hundreds of years and Bitcoin is brand new.
Manage your Docker containers along with your servers and VMs
> There's a certain segment in American politics who really doesn't like to talk about this, but for all the drama, the poor in America are still better off than they are in almost any other country, which, yes, includes all (AFAIK) the European countries, and while that doesn't prove anything about what we do or do not need to do in that area, it does suggest that rhetoric about poverty in the US can occasionally get overblown.

Really? My understanding was that without state-subsidized healthcare, many don't have access to non-emergency healthcare, and so miss out on the kind of preventative measures that can do a lot for your general health. So while the American poor might be wealthier in some narrow sense than the European poor, their quality of life is worse than in nations with state healthcare.
Right, but that brings us back to the main point: how is an app going to solve that? It's not.
$100,000 in donations help Comcast get merger support from Chicago mayor
And Hollywood Squares!
Drafts of Chapters 5–8 from the Rails Tutorial 3rd Ed
Let me understand how I'm supposed to see this:

A-OK: Rich Americans die from kidney failure while poor Africans die from malnutrition/AIDS/TB/whatever.

Reprehensible exploitation: Rich American buys a kidney from a poor African, feeding his family for a decade in the process. Nobody dies.
So its 'caring' that is the litmus test? The issue here is, many of us don't care, while you do. Its not a question of bad faith, we just don't agree at all.
I see duckduckgo's traffic page referenced a lot: https://duckduckgo.com/traffic.html

Anyone have any idea what Google or Bing's traffic graphs might look like over the same period? Would be very interesting to do a comparison.

I run a small subreddit, and was quite pleased with how it's grown. Then I noticed I actually FELL in subreddit rankings. turned out there's just a huge rising tide.

My intuition is that DDG is growing faster than search is growing, but that the growth rate may be less impressive than it appears from simply looking at the chart.

Either way, I'm really, really happy they're challenging google (and also glad Bing is still in the game). Monopolies are no good for anyone.
I ask this because I have never seen a decent answer to this question: how does that make the poor people worse of? I mean I can sorta see it with the spare room (rent goes up because your neighbor has a little extra cash, now you _have_ to rent your room out too) but your car? Swinging by with my groceries on your way home from work? Swing by with some ready-to-freeze homecooked dinner for me[1]?

[1]: Yes that is illegal, but I would _love_ for it not to be. Cooking for one is a waste of time.
Except the TSA which is still way more intrusive than before 2001, and has been expanding lately (to security lines at subway stations etc). Oh and the forming of the DHS which erased boundaries between a bunch of agencies, that's still around. And the "Patriot Act" which got cut down a bit but is still around. https://en.wikipedia.org/wiki/Patriot_Act#Reauthorizations
I agree, lesson learned.
Despite Google, Here’s What a Link on a Top Website Will Cost You
The video doesn't exactly make it look like a master of subtlety. They only show it on really obvious, simple emotions. Nothing too complex.

Still creepy. Who would ever need this? Apart from people with diagnosable mental disorders, I mean.
Its expensive and pointless? It blocks development and progress? The animals don't care either so why should we? I could go on and on.
When I look at my profile, there's the following text. I think it's actually from an HN extension I use and not HN itself but I don't remember for sure:

Average karma is calculated by averaging the scores of your last 50 comments except the comment with the highest score and your 5 most recent comments. It is generally recalculated every few days.
Author of Quasar here and apparently the target of the criticism in the article. It's kind of hard to make out the main claim the author has, but let me respond to the few more specific claims:

1. ForkJoin is not "notorious for its overhead". In fact, it is among the best implemented, best performing work stealing schedulers out there. Scheduling a task with ForkJoin takes a few nanos, and is almost as cheap as a plain method call. Don't take my word for it: go ahead and benchmark it.

2. Like Go, Quasar doesn't constrain the running code from mutating shared state -- if you're using Quasar from Java, that is. But it's still just as useful as Go, and when used from Clojure, it's even more flexible than Erlang, and actually quite safe.

3. My macbook isn't cruddy.

4. The stuff possible with Quasar, like running a plain Java RESTful service on fibers to gain a 4x increase in server capacity -- without changing the code and without even starting to parallelize the business logic with actor/CSP -- speaks for itself.

5. I'm not spreading FUD on threads -- you can watch my talk at JVMLS (linked in the article) to see my precise point: kernel threads cannot be used to model, one-to-one, domain concurrency, because the concurrency requirements of modern application (and the capabilities of modern hardware) exceed by several orders of magnitude the number of threads supported by the kernels. Fibers keep the (excellent) abstraction provided by threads as the unit of software concurrency, while making the implementation more suitable for modern soft-realtime workloads. When your average programmer can spawn up a (lightweight) thread without thinking about it -- say one for each request, and even many more, concurrency becomes a lot easier.

6. The linked Paul Tyma slide are completely irrelevant. I've got nothing against doing kernel-thread-blocking IO. The problem becomes writing simple, yet scalable code to process incoming requests. Modern hardware can support over a million open TCP sockets, but not nearly as many active kernel threads. Asynchronous libraries give you the scalability but fail on the simplicity requirement; fiber-blocking IO gives you both the performance and the simplicity of blocking code.

7. As to the "strawman benchmark" with "too many threads", the author is welcome to repeat the experiment using a thread pool with as few or as many treads as he'd like -- the result would be the same: switching kernel threads costs about 10-20us, while task-switching fibers costs 0.5us (and can be improved).

> few existing libraries understand what your application is trying to do with green threads

That's exactly the purpose of the Comsat project, which integrates existing third-party libraries with Quasar fibers. You're right, integrating "inverted" frameworks does require more work, but so far Comsat integrates, servlets, JAX-RS services and Dropwizard.

[1]: http://blog.paralleluniverse.co/2014/05/29/cascading-failure...
Looks like from the query graph in the article, that DuckDuckGo enjoyed a huge surge in users after the Snowden leaks (more than doubling).

I've only toyed with the idea of switching off google for searching... mostly because I'm so tied into their ecosystem with my Android... but, I must say, DuckDuckGo looks impressive.
Most of the time this is handwaved over, for bunches of reasons. Part of it is that there is no one valid frame of reference: you can't just say "this stays stationary" - because what does that even mean? Stationary relative to what?

If you mean "you go wherever inertia would take you in that amount of time, with no acceleration", then if you go backwards a multiple of a year you end up pretty close to Earth (quick approximation: the Sun's acceleration in its orbit in the milky way is ~2*10^-10m/s/s, which works out to ~100km in a year, ~400km in two years, etc.). In actuality you could probably get somewhat better range by letting your velocity build up to intercept Earth-that-was at the target time. (You'd need to take into account a bunch of things for best accuracy: the Earth's orbit is not "perfect", the moon's phase, the acceleration of the Sun, etc, but we know most of that.)

You probably would end up needing to make multiple jumps, pausing in-between to let Earth's (or another planet's, or even the Sun's) gravity well readjust your velocity to what is needed for your next jump.

This means that you'd need to build in re-entry capability into the machine (as you are unlikely to have the precision necessary to be able to jump into atmosphere at a sane velocity), and potentially maneuvering delta-v. Note that with a time machine you lose conservation of momentum, which makes things a lot easier. You can change the direction of your velocity vector by jumping back in time and interacting with your past self. You can potentially use this to get "free" (read: reactionless) velocity out of any gravity well.
As I said, this is just the first solution I could think of. Advocates of Free Market Environmentalism - which I'm not - may have much better solutions.
I really like the idea of the product but the idea of looking at three screens gives me anxiety. I know the product can be used for a single device but the video scared me off by showing its potential. I'll stick with what I got.
> all these people really want and need is money,

In my opinion, all they really want and need is _land_.

The real people squeezing everyone else are the landowners, and the landlords. With enough land, anyone can support themselves: chickens, vegetables, hunting and fishing, etc.

Mortgages in exchange for housing ("death pledges") exploit the poor, indenturing them to overemployment at insufficient wages. The novelty and promise of technology are part of the system that works like a carrot on a string enticing us toward so-called "higher standards," which we only think we need. The rest of the system is security/fear. These are the forces governments and corporations use to keep themselves secure. Anything we're going to do to escape it will be much more like what Jesus of Nazareth, Gandhi, Martin Luther Kind or Malcolm X did than what Paul Graham or Scott Adams did.

Technology and SV makes an easy whipping boy because they're in the crosshairs of the media (all the "billion dollar" buyouts), but we're just another pawn in the game the powerful landowners, governments and corporations are playing. In fact, we're playing along to their rules.
The K480 is listed as half the price of the K810.

Touch typing skill is worth at least 50 bucks, apparently :)
>No matter what the management the people seem to get a bad deal.

...maybe having management at all is the problem then?
Where do you stop with that? Everybody needs money; there are more people around all the time; you have to print more money. And is it 'stealing' to put more value-tokens into circulation - they have no intrinsic value?
If that is the definition, than C surely isn't close to the metal, specially since intrisics, function modifiers and inline assembler are not part of the standard.
Tools like gdb and docgen are useful for smaller open source projects, but I think they quickly loose effectiveness on a large code base. For example I think the original post's high level view would work great when starting a new job as well as when diving into an open source project.

That said one step down the chain from stack traces and profiler output might be to look at log files, or run the code in verbose/debug/trace mode if it exists.
Founder Stories: Tracy Young of PlanGrid (YC W12)
Wander Around the Destiny Universe with Google Streetview
Sounds like a sound way of managing it...as others have pointed out, occasional on-call duty or what have you is fine--it's the idea that staying at the office until 3 is "normal" and accepted as part of your equity payout is insane.