skysight-inc/HackerNews huggingface dataset:
You cannot end all economic inequality without removing freedom. A free society where people can freely express their full potential will create inequalities by default. Even if we manage to give equal opportunities to everyone, some people will manage better than others. Some people are born to be Mozart and Newtons. That is just how it is, and when you are one of these people, with greater potential, you will accomplish more and people will be happy to give you more of their money to enjoy your work, making you unequally richer than they are. There is no way around that. You could have given me a billion to get started and I would still not have written the magic flute or written a revolutionary algorithm.

Societies who tried to remove all inequalities managed to create living hell where everyone was equally poor and unfree and not able to express their full potential while the ones with great potentials tried to flee such society. Just be careful what you ask for. For having grown up in a socialist hell myself (Syria), I wouldn't go back to such a place (even without the war).
As a fan of Thomas Sowell, it is unfortunate to have to say "whoa, this person is not with me" in polite company. If this person is reading, please cut it out. Swearing and insulting people won't lead to anything good.
Any push notification would be ok, but SMS is preferred because it's more reliable for me. The Visa service V.Me was great because you could use any card, even all the specialty rewards cards, and they didn't even have to be Visa cards!
How do we know you aren't buying stolen gas from these gangs? /s
Caching Ajax guide
I feel like it is a bit too generic
Very US centric. There are thousands of tribes outside USA with rich cultural heritage.
One of the main duties of the secret service is investigating the counterfeiting of U.S. currency and access device fraud (including credit and debit fraud).

http://www.secretservice.gov/investigation/
How about eating babies? What do you think about that?
One of the two focuses of the secret service is financial crimes:

"Financial Crimes, covering missions such as prevention and investigation of counterfeit U.S. currency, U.S. treasury securities, and investigation of major fraud."

https://en.m.wikipedia.org/wiki/United_States_Secret_Service
This would be a case where C99 style designated initializers would come in handy in C++.

For example if you have a struct like:

struct data {
double w;
double x;
double y;
double z;
};

You can then create a struct of that type using syntax like:

struct data d = {.w = 1.0, .x = 1.0, .y = 1.0, .z = 1.0};

Then you could have your functions take a struct data as a parameter, and use designated initializers to have syntax for keyword parameters.

I'm not sure why this feature never made its way into a C++ standard over the years.
> You're going to compare working graveyards at 7-Eleven to slavery?

> I suspect most slaves would not agree with you.

The abolitionist and former slave Frederick Douglass initially declared, "now I am my own master", upon taking a paying job. But later in life, he concluded to the contrary, "experience demonstrates that there may be a slavery of wages only a little less galling and crushing in its effects than chattel slavery, and that this slavery of wages must go down with the other"

https://en.wikipedia.org/wiki/Wage_slavery
للبيع ارض فيلا في دريم لاند – تراخيص
I have "in-app" alerts (push notifications) enabled for a Discover card and two AmEx cards but they are set at relatively high amounts ($500, IIRC). I haven't checked to see how low they can be set. That requires you have their apps installed, however. I'm not sure if you can get them via SMS.
The biggest difference on desktop is you get the old black bar offering links to the 10 or so Google products that actually matter, rather than the dropdown. It also seems to load faster.
> Or in the "packrat project manager" scenario, there may be tons of low priority nice-to-have tickets that have been sitting around for months or years, even though everyone knows they'll never be worked on any time soon. If this is the case, the graph is still "sad", but it's not a death spiral... it's just a sign of a wasteful and broken issue tracking process.

What's wrong with keeping a few hundred "low priority" issues in your tracker as long as they are labeled properly?
Wealth distribution is a big problem, because the richest can essentially buy the government (and that's exactly what they have been doing) [http://www.nytimes.com/interactive/2015/10/11/us/politics/20...]

But if you took the money from the 1% and distributed it to everyone, it would probably amount to a few thousand dollars each, at best.

The reason for lack of jobs is the they all went to India, China, etc.

As for immigrants, don;t you think there is something awfully wrong with the fact that Massachusetts for years provided housing and money to the Tsarnaev family (the Boston bombers and their parents), yet war veterans are often homeless, because there is never any money left to take care of them?
now nearly everybody behind that wall has joined

... and quite a few folks in front of it, too, which is a significant aspect of the internal tensions that arose as the EU evolved out of the EEC.
After working with seniors on their computers for years, I feel we should replace all current UI testing with "senior testing".

If you can't get a 70-year-old to understand what you're asking them to do, you're wrong.
Sleep deprivation is known to have fast-acting, acute antidepressant effects. This may have something to do with whatever sensation you're noticing.
I'm not sure it is deserved at all. Emanuel appears to have taken on powerful constituencies in Chicago politics, with various unions being the most notable, and seems to have suffered for doing so.

Chicago has a major, union-fueled municipal pension crisis brewing: http://www.wbez.org/news/experts-say-chicago-has-public-pens.... It already has among the highest tax rates in the U.S. Its teachers unions make improving schools almost impossible. Its police unions discourage anything like justice.

Some of the stuff in the article, like eavesdropping on alderman, are bad—but much, much better than the problems Emanuel was confronting.
Once you give him some gas, he sloshes the can in your direction and threatens you with a lighter to get you to hand over your credit card.

Or something. I'm having trouble understanding this scam as well.
I was at europython 2006 when Guido announced that the print statement was getting axed. It was a bit of a shock to me. I think everyone in the audience was altogether not quite sure where/why python 3000 was coming and so willing to patiently listen to what the master had to say about all of it.

Guido's reasoning seemed to be that since a bunch of junior devs at google couldn't refactor their print statements into logging statements the print statement had to go.

I don't seem to have this issue: for me the print statement is 99% used as a debugging tool. When I'm debugging I pepper my code with print statements until it tells me what is going wrong. So two extra parens every time i do this just seems unreasonable to me. Excuse my whining, but there it is.

I was also at europython in 2007 when Guido once again went over the changes being wrought by python 3. This time when he got to the print statement I let out a loud "BOO!" Guido was somewhat surprised and remarked: "well no-one said anything about this when I announced it at last year's europython!"

Doh.
Somewhat OT; As a swiss, the omitted ö is really beginning to bug me.

It's Zöpfli. Gopferteckel.

(The second word is a somewhat soft cuss word - But don't try to use it as a non-native).

Also, you can't "zopfli" something - it's a noun! You "zöpf" - or, since we're in the alemannic german space; "zöpfle".

/rant /vent
SEEKING WORK, Remote, Central NJ

Hi, I'm Julius! I'm a software developer with 10 years experience and I specialize in iOS development.

2015 was a great year and you may have seen some of my work around:

- Charlie App's iOS app, which hit #1 on Product Hunt when released: https://www.producthunt.com/tech/charlie-for-ios

- Daily Burn's Apple TV app which was featured by Apple on the App Store, as well as on the demo units in Apple Stores. Time.com did a piece that has some very nice mentions about the app: http://time.com/4137223/apple-tv-apps/

- I built the Macronutrient Tracker for On The Regimen: http://www.ontheregimen.com/macros

- Before I started freelancing I worked on the Fitocracy iOS app: https://www.fitocracy.com/

- In my down time I've been working on Swerver, a Swift MVC web framework: https://github.com/jparishy/swerver/tree/develop

- And in the past I've built RunSwiftLang.com and TestAPNS.com as free tools for helping developers learn and test their apps.

I'm available starting in January for new projects; if you're looking for a great dev to build your next iOS app get in touch.

You can reach me at julius@jaymobile.io.
It is all too easy to be pro-war when its only effect is a new genre of reality TV.

This should be framed somewhere.
CES 2016 – Still important but beware of hype without value
Interestingly, at least according to The Atlantic, the political power of these billionaires seems to be failing. This article [1] frames the rise of Donald Trump (!) in the 2016 presidential race as an effect of the growing disconnect between billionaire donors like the Kochs and the Republican voting base.

[1] http://www.theatlantic.com/magazine/archive/2016/01/the-grea...
If you change the PNG standard, it's no longer PNG. If existing PNG decoders can't decode it, then all you've done is invented a new format that looks very similar to PNG.
No, retail traders don't. However if I go through my electronic broker, it's then trading on the 'real market' on my behalf, and the extra liquidity is much appreciated. And trading today is cheaper than ever before.

I actually started trading on the TSX-V market, which has super-low liquidity and no HFT players (not even sure if there are market makers for most of the stocks). It's pretty much my idea of what hell is like.

BTW, here's an interesting link: http://www.forbes.com/sites/timworstall/2015/01/26/relax-eve...

The thing about HFT, is that it's basically arbitrage. People used to do it manually, machines of course do it better. Now spreads are so small, there's basically no profit in it. The result, better liquidity than ever, smallest spreads in history. And yes I've read all the anti-HFT propaganda - but I'm also in the markets, and I like trading in high-liquidity markets, especially after trading in low-liquidity markets...
'The perfect company culture' is all well and good so long as it is for the immediate benefit of employees and only secondarily the long-term benefit of the company. Too many senior managers maintain a top-down approach to culture and forget that employees care first for their own needs.

Friendly work environment free of inappropriate humor = Good thing. Happy employees = longer retention.

Forbidding any discussion of pay/raises during work hours to foster better cooperation across pay grades = evil. Keeping employees in the dark may increase retention, but does real harm to individuals. (Also probably illegal despite being a widespread practice.)
E_CONTEXT: Please elaborate, I don't understand where the question is coming from.
Imagine a machine that has all of your intelligence, dexterity and creativity. What work will you do that said machine will not do better?

Perhaps we can all become artists - but then again, machines will be able to compose songs, write stories and create abstract art.

This is going to be very different than previous waves of automation that largely augmented human muscle.

Bringing it back to the original thread, I think the concern is that rising income inequality will accelerate as the wealthy will increasingly own the means of automation.

Some mechanism for wealth redistribution will be needed if we are going to avoid a meltdown in society. That doesn't mean that all should be equal, but we ought to think about how we can provide everyone with enough to live with dignity.
WeatherBug: ESP8266 WeatherStation with IFTTT and HomeKit Support
While you may think their claim is frivolous or unfair at the end of the day he has lots of money and if he really wanted to stop you he will. Money talks in the legal system. So I would do the cheapest, easiest thing possible to show them the domain is nothing to do with Trump and see what they say, it is quite likely they are just trolling every domain that has trump in it.
I have left jobs I was happy with because they paid below market and were not taking into account how expensive living in the San Francisco area has become. It is absurd to me that even now companies will negotiate salary down by amounts like $5k or $10k when to the employee this delta could be significant.
>I don't think that's good enough reason for killing the usability of print statement in repl.

I really don't think the difference between

print(some_var)

and

print some_var

constitutes "killing usability".

> I'd consider it quite a weird piece of code if I'd see print in lambda

Granted, I don't do much Python these days (I have become enamored with more strongly-typed langs lately), but my impression is that lambdas are uncommon in python, instead preferring relatively-inexpensive toplevel function defs instead.

> I debug in REPL quite a lot and I don't do functional magic with print at all (at the moment)

Consider a case where I'm debugging why my function foo(x) is failing for at least one of [42, 333, -57, 0, None, 33], but I don't know which one. It's not unheard of to do some step-by-step binary-search stuff like this:

>> [print(foo(x)) for x in test_cases[0:3]]
# repl doesn't blow up
>> [print(foo(x)) for x in test_cases[3:]]
# repl blows up as expected
>> [print(foo(x)) for x in test_cases[4:]]
# repl doesn't blow up, so now I know that foo(0) has a bug

Now, you might look at this and point out that I don't actually need to print(foo(x)) at all, that the REPL will display the resulting arrays anyways. And you're right! So even here, the difference between "print(x)" and "print x" doesn't "kill usability", since it's a moot point either way.

I think in day-to-day use, even at a REPL, it's a "six of one, half-dozen of another" scenario with no major wins either way. In teaching Python, it's a win because it's more consistent -- you don't have to teach people "this is how it looks to call a function -- except print, it's not really a real function, it's special, so make sure you remember this one exception." And in building Python, it means one fewer special case to maintain for the interpreter and language.
I suspect that is a misinterpretation of moderating practices here. As long as you aren't doing things like engaging in personal attacks, you are allowed to express yourself pretty freely here. However, they do penalize articles on certain subjects, in part because the discussion of some subjects typically does not go well.

It is sort of like "Yelling FIRE! in a crowded theater is not a protected form of free speech." Putting inflammatory topics with inflammatory titles etc on HN will get it downmodded (or they will change the title to something less inflammatory, etc). That doesn't mean you can't say it. It does mean they want the front page to be dominated by intelligent, meaty discussion, not ranty, fighty, strongly emotional drivel.

When things get downmodded in order to get less attention by removing them from the front page, inevitably, someone says something about how their right to free speech is being impeded or "Why can't we talk about this here?" I have seen the moderator reply to the effect of "You are talking about it still, it just isn't on the front page anymore."

Some people think "right to free speech = right to be on the front page if I get enough upvotes, no matter how much I have violated the guidelines" and will say something nasty about how things are moderated if their desire to be attention whores has been interfered with by the folks who, you know, get paid to run the place as they see fit.
Using D and std.ndslice as a Numpy Replacement
At the risk of this turning into the low-quality discourse that followed Obama's "You didn't build that" soundbite a while ago, I'll point out that there is validity to that soundbite. The fruits of your labor only exist within an organized society. There's a reason that entrepreneurs prefer not just certain countries but certain places in certain countries for building companies: where you work, who you're near, what infrastructure is around, what customers are around, what regulatory frameworks are in place and what laws are interpreted in what ways, etc. all contribute to a more or less successful company. And those things can in large part be traced to good or bad governance.

What would a fair rent in Galt's Gulch be? What should John Galt have charged the other strikers for not only collective defense like the distortion field, but for the community existing? For the opportunity to live in such a society? If the US government collapse didn't happen, the number of people Galt would have wanted to live there would have been fairly high, and their willingness to pay, once they knew what he was up to, would also have been high. And he had a genuinely good product, and every right to eject people from Galt's Gulch at gunpoint.

Taxes up to that point are certainly fair. Whether governments as currently implemented are the right entities to collect those taxes is a question (though, by no means interpret me as advocating a Randian anarcho-capitalism just because I used Galt's Gulch as an example!), but your labor is fruitful within a society, and that society certainly has the right to charge you for it, or demand, at gunpoint if necessary, that you stop taking advantage of what they provide for free. (You always have the right to opt out of taxes if you opt out of the taxing society, as Roger Ver did.)

For a less fictional valley: how much does the government fund Bay Area universities in the form of research grants? And how much did the tech industry gain from that, and what would a fair price for access to that have been? Imagine a parallel universe where Stanford and Berkeley never got a penny of government funds. How much should a VC or founder in this parallel universe pay for transportation to ours?

Denying people the fruit of their labor is immoral. But society collectively also labors to build a better society.
Interesting. I wonder if this is a language or terminology shift and, if so, what factors are motivating it.

When I was a kid, our 2nd grade class went to tour the "ancient Indian burial grounds". Today, I work with so many people from India such a statement couldn't be made without qualification.
Thanks a lot for this explanation.
I guess what matters is: do they get tended to, cleaned up regularly, and do people get to them eventually? In my experience, the answer is usually no.
One reason why many such characters would support basic income is that it would ostensibly remove the provision of benefits from the overview of the bureaucracy. That's the same reason that many others would not support it.

I'm very tempted to throw in with the former, except that I worry about the follow-on effects of basic income. Would a basic income just be a windfall for landlords, as they all increased rents by some large percentage of the average basic income? Or would the formerly-urban formerly-poor head for the hills, now that they could budget over the long term without relying on urban amenities? This would be a windfall for a different set of landlords and real estate investors, but it would drastically change the nature of 80% of the communities in the nation. That's not even to consider the wealth effects on markets more elastic than housing. It would be a grand experiment, but somebody would start crying.
> There is a small computational cost to maintaining referenced pointers but it’s minuscule and the safety outweighs this cost.

Atomic reference counting does not have minuscule costs. See, for example, http://www.hboehm.info/gc/nonmoving/html/slide_11.html

In particular, note that if you use shared_ptr everywhere you will be end up with much slower code than you would have if you had a good GC. In other words, you end up slower than Java, with less safety and more verbosity.

Browser engines have used custom non-thread-safe reference counted pointers where possible extensively for this reason.

Furthermore, I always have to say it: shared_ptr is not memory safe.
Yes. If you don't, that's fine – just don't pay attention to it.
Oh no, I'm not assuming anything about cooking, just about the quality of ingredients.
Here: http://kivy.org/#gallery
I am well aware of their various duties. That doesn't detract from my point that enforcement by such an agency is a remarkably inefficient means of addressing the problem.
Are the reported Zopfli numbers for PNGs achieved by recompressing the original, or by recompressing the output of PNGout? The wikipedia page for PNGout says

> PNGOUT also performs automatic bit depth, color, and palette reduction where appropriate.

Assuming the Zopfli numbers were created by recompressing the original, I wonder if there's any further savings to be had by recompressing the output of PNGout?

Alternatively, PNGcrush can also do the same sort of lossless bit depth and palette reduction, so I'd be curious about the combination of PNGcrush + Zopfli as well.
Hedonism is your ultimate phylosophical truth, is it? Strawberries are hardly as heavily industrialised as coffee, calling your relationship with a hot bevarage a romantic one is doubtful. I am as pessimistic as your logic is flawed. There are few things in live the brain is prewired to feel a need for. Coffee supplis the illusion of fullfilling two or three enssential ones of these, hunger and thirst and sleep, but it doesn't actually provide the associated value.
Well, taste and nutrutional quality go hand to hand for vegetable and fruits. And eating them is the very basis of health with sleep and exercice. So it's a major health issue, even before being a tastebud one :)
Other recent Paul Graham writings on inequality that I thought were interesting reads:

http://paulgraham.com/inequality.html (Inequality and Risk, 2005) - economic inequality goes hand-in-hand with risk. If you remove the payoff rewards of risky bets like founding companies, then you remove the incentive to do those things in the first place.

http://paulgraham.com/ineq.html (more on Economic Inequality)
How does this (Disque) compare to Kafka?
What are the differences and same?
Optimizing letter avatar rendering
Please expand on what you mean by "code bottom-up". I am somewhat skeptical about your advise to be honest, although I certainly agree that taking responsibility is important in oranisatitons in general.
That doesn't matter - both systems decompress the losses PNGs before recompressing them.