skysight-inc/HackerNews huggingface dataset:
Yes, better to allocate the funds to a cause you actively oppose if you fail.
Here's an other article from HS detailing the data that is sent to US-based servers.

http://www.hs.fi/sunnuntai/HSn+testiss%C3%A4+Lumia+otti+yhte...

All an all, the content seems aimed to people who do not understand the realities of modern computing. Things proxies, cloud services etc. or the phone communicating with servers even when you're not doing anything with it.

Using the default settings, web browsing (or at least DNS-queries) is proxied through the United States. Also the Nokia Maps & navigation services are sending your location information to "foreign servers".

It also says "Lumia can save photos and text messages to a Microsoft cloud service".
This is no gotcha; he deliberately shoots himself in the foot by using a "weird" integer type. The right solution is to use value_type from container/iterator_traits (that is what it is there for):

accumulate(begin(v), end(v), value_type{0});

Suggesting 0LL is just calling for trouble when someone realizes the vector didn't had to be long long and forgets to change the initialized value.

IMO one of the huge screw ups of the design of the STL is making sizes unsigned. It means that you get a compiler error when writing:

for(auto i = 0; i < vec.size(); ...) {...}

since i and size() have different types. The worst part is that unsigned doesn't buy you that much (only twice as many elements).

The lesson to be learned here is: don't use weird integer types unless you really need to, and then, you should know what you are doing. E.g. if I need a long index then I use

using Idx = long long;
accumulate(begin, end, Idx{0});

when I'm hacking, and

struct unique_tag {};
using Idx = arithmetic_type<long long, unique_tag>;

when I'm serious to disable all implicit conversions and make these types of errors impossible.
Software engineers are not engineers either.
> Postgres has never been popular. [..] MongoDB is replacing MySQL not Postgres

I don't know what you are basing that on, but it's the complete opposite of what I am seeing. Postgres is now the default open source database as far as I can see, especially for Rails. MongoDB enjoyed a brief hype-fuelled day in the sun but is now viewed as a specialised tool whose choice over a more general RDBMS would require considerable justification.

I suspect the question of whether its popularity is "exploding" or not depends on your definition of the word. I have certainly noticed a very marked uptick in the last few years. Not exploding perhaps, but certainly ballooning.
>The argument that with UBI people will still do that only for more money is crazy, since the taxes would have to be so high to support UBI that the costs would dwarf what people could afford.

Actually you could support UBI by just taxing 1-2 people in the whole US.
Two examples that invalidate your last sentence would be Khan Academy and Mozilla -- both very competitive places to get a job, yet they don't pay substantially above market; their mission is what draws employees in. Not all competitive forces are financial in nature.

We could argue about the extent to which these nonfinancial competitive forces influence (or ought to influence) the market, but saying that they "simply cannot" seems false.
Or find people to do them who are sufficiently desperate and low in status, compensate them just enough, make sure they don't have enough savings to walk, convince them they can't be hired elsewhere, collude with other employers to set wages, make harsh examples of anyone who pushes back, and
do anything to prevent workers from organizing.

This is much cheaper and considered socially acceptable or even laudable (depending on the country, certainly in the US). Businesses with a large share of their costs in unpleasant labor either do this or get destroyed by the competition. That's capitalism.
You agree with the principle; you're just arguing over where to draw the line. That argument will always exist.
Gmail adding prominent 'Unsubscribe' option to marketing emails
I was watching Trainspotting with my wife the other day and it both amused and troubled at how the drug addicts' behavior reminded me of how I typically procrastinate. People vastly underestimate how elaborate, nuanced and complex the procrastinator mind can be.
Of course, the post could have risen naturally to be more visible to a given audience through reshares.

If the post was a link to a news piece or something that could interest the audience that could have happened naturally.

Would it be possible to show the original post? (or the link to it if any?)
If you want security, just use a VM designed for isolation rather than something obscure or experimental or primarily aimed at other use cases.
Yup, it's the CDN that precludes auth for images. This was one of the bigger nails in my account's coffin.
Yes. A baby step in the right direction here is to chunk big things into little things- it's harder to screw up little things.
More complex, yes, but less reliable.
> Postgres has never been popular.

Postgres is the "default" database for django installations.

> MongoDB is replacing MySQL not Postgres.

That's part of the point, if user bases are switching databases, that's a chance for postgres.

> I would be interested to know what proportion of Postgres users use the JSON features, I suspect it is still small

For good reasons since it's still young (first introduced in 9.2) and fairly limited (9.3 did add operator and indexation as well as a bunch of functions). I'm in a postgres shop and we aren't quite ready yet to drop support for all postgres versions preceding 9.3 (to my dismay).
How is this graphs fault? The only fault the graph has is that it clearly displays the data, the problem is in the idea that is represented. It's formally called "Correlation does not imply causation" and it's fault of the person who is suggesting it.

There is a famous satirical version of this too: http://en.wikipedia.org/wiki/File:PiratesVsTemp(en).svg

It has nothing to do with graphs, graphs are are just visual tools and people reading data from them are supposed to evaluate it just like reading data from any other tool and not jump into conclusions.

What the graph in question suggests is that both "transistor count" and "average life expectancy in germany" have risen trough time and if you are reading this as "rising transistor count increases life expectancy" it's your fault. Why not read it like "from 1971 to 2011 both transistor count and life expectancy increased steadily, maybe because of the advances in technology - we should look into it, it's too early to say anything"
God says...

gloried Epicurus rehearse loosed stiffness quarter upbraid
license phrase reckoning shed curiosity soundeth strikes
Thrones retiring thereupon unsettled soever Carthaginian
luxuriousness imagined substantial shoulders wash sorts
infancy convert ariseth feareth boasting monasteries judges
fed paradise Homer's spectator dens owed tempting well-beloved
Ask strive start calculations extension indebted impatience
pair intention four-footed persevering bursting wroth
theatrical offence IX oil penal Whereto meddle travailing
employ blame arrival chiefest Omnipotent wondrously emptied
poet ways imitated FITNESS fled straitness perceived thyself
And replacing Most Afterwards boundary attack needing
womb I damaged otherwhere wooed dully uncorruptible reposes
deride commandest USE
Generally as the supply of dollars goes up, the price of a loaf of bread goes up too. Printing money isn't a panacea.
I think this is a very good idea. Lots of people still mix up correlation and causation. Either this tool will make them understand what this is wrong, either they will enjoy finding lots of weird relations between data sources.
>In Havana there are 3 families living in one apartment with cardboard over the windows for normal people, and there are gorgeous ex-Colonial villas with landscaped gardens, where well-connected Party types live.

And how is that different from the US? Besides "party types" being Ivy Leaguers and silver-spoon fed people?
> While I don't mind seeing some non relational additions like JSON, it shouldn't be detrimental to Postgres relational core.

The patchset in question is an improvement of hstore[0] (typed hstore, nested hstore) and unification of json and hstore (by using the binary hstore format for both). There is no more detriment to the relational core than when hstore or XML were originally added. Also, next-GIN[1] by the same people[2], not sure it's part of the patch mentioned.

[0] [PDF warning] http://www.sai.msu.su/~megera/postgres/talks/hstore-dublin-2...

[1] [PDF warning] http://www.sai.msu.su/~megera/postgres/talks/Next%20generati...

[2] Who previously contributed GiST and GIN, FTS, ltree or intarray
seccomp is pretty intimidating, and the lxc config makes it even harder (numbers not names for the syscalls!). Conceptually it is fairly simple, and it is quite fun to play with, but you really need tests with very good code coverage (including error handling) to know which syscalls you need, and it will vary if you change any software potentially. There are audit tools though, you could give it a go.

Apparmor has a rather simple "deny network" rule, which might be a good starting point... but I haven't spent much time with it and not sure how to apply it to one container either. Maybe apply it to the python in the container not the container itself? Might be easier.
If you don't feel like working, the bills don't take a vacation and the kids still eat and get sick.
Obviously that should only ever happy for CEO, golden parachute type of jobs, never blue collar stuff...
gk1, this is not about website design, it's about current situation in Venezuela.
Thats what I meant by "growing at a manageable rate".

Well maybe Postgres and Mongo are replacing MySQL. I haven't seen Postgres being the default, but who knows, I mostly hang around with people who have been long term postgres users anyway.
It amazes me that Facebook don't get sued more often

For what? Here Facebooks was in the position to sue but they chose not to. If you can just not pay for the campaign you find suspicious then there's little reason to go to court.

FTA

Brar declined to pay the bill. He told Business Insider that his magazine titles did not generate enough revenue to cover $600,000. His credit with Facebook was ruined. He offered to pay cash in advance for future campaigns but Facebook demurred. Facebook did not sue Brar or pursue him further for the money, however.
Ask HN: What are your must-read computer science journals and magazines?
...or you can consider going password-less: https://news.ycombinator.com/item?id=7283650
Because the US doesn't even claim to adhere to any notions of egalitarianism.
No, it just suffers from having all your cash, hard-mined by skimming off the drug economy, regularly stolen by people breaking into poorly secured exchanges ;)
What you're missing is that different players in this particular mess have different motivations.

The goal of the OFAC regulators is to stop money from going to terrorists and other bad people. So they prohibit the banks from transferring money to "blue sky" and anyone else on the list. There is no leeway here -- if a bank does not comply the banking regulators have the authority to immediately close the bank an seize its assets and give them to a different bank.

The goal of the IT and operations departments in the bank are to implement the requirements. The IT guys put a simple string match against the text of the online payments. There is no way to add a clause that checks whether it's "really" a payment to the prohibited individual or just someone who stuck a note in the memo field, because computers can't go out and interview the recipient to find out who they are. They also stuck in code to block that recipient from receiving payments in the future because otherwise anyone could circumvent the block completely by simply changing the name on the payment.

The goal of the bank representative that Mr. Dash spoke with was to help her customer. So she suggested sending the paper check. For what it's worth, the OFAC office isn't too worried about the person collecting payment on the check because banks are also prohibited from giving bank accounts to people (or organizations) on the OFAC list.
Packagist: which packages are using my package as a dependency?
I wanted to know which packages are using my package as a dependency so I've written a Python script for that.
It's probably just their way of explaining how those user-agents that do not get the catchall Disallow: / treatment got into that robots.txt file. Also, including some lawyerisms might be quite effective at reminding upstart scrapers that faking the googlebot UA would be even less cool than simply ignoring robots.txt.
> It has nothing to do with graphs, graphs are are just visual tools.

To make a graph, one has to make decisions, these decisions can be legitimate or they can be biased. Biased decisions lead to misleading graphs.

The same goes for other types of content such as news articles, product reviews, war photos, etc.

Edit, to illustrate better: the author of the graph chose to overlap data on a logscale (transistor count) with data on a linear scale (life expectancy). The resulting graph shows two similar curves, that suggests that the two are strongly correlated. That's what I call a biased decision.
As if your question was any better.
If the loss is small enough, small claims court can be worth it for the plaintiff. IANAL.

https://duckduckgo.com/?t=lm&q=honda+%22class+action%22+%22s...
Please don't fall into the trap of believing that I am terribly dogmatical about [the go to statement]. I have the uncomfortable feeling that others are making a religion out of it, as if the conceptual problems of programming could be solved by a single trick, by a simple form of coding discipline!

E. W. Dijkstra, cited by Donald E. Knuth in Structured Programming with go to Statements, ACM Computing Surveys, 6 (4), 1974
>Freeing people to work on things they desire will mean no one will ever wash dishes at a restaurant, no one will pick up trash, no one will spend time wiring your house for internet, or fix your computer, or do a large swath of jobs.

Absolutely disagree.

Freeing people to work on things they desire will mean that undesirable jobs (such as the ones you describe) will have to increase pay and conditions to correctly reflect the job's undesirability. To me, that's an awesome result!

In the specific case of being a doctor: it's possible (but unlikely) that desirable jobs such as doctors may have to take a relative paycut to cover other expenses.

I don't see that as the worst thing. Doctors deserve to be paid according to their skill, yes, but at the moment have entrance requirements which are disproportionate to the job at hand. This effectively limits a desirable career to the already-privileged and means the system is not necessarily accurate at identifying the most skilled candidates. If poor, skilled people are more securely able to fund themselves through medical school, that would also be great!
Confirmed: EC-Council has been hacked 2014
>You'd inevitably learn to feel good at the prospect of not having to yield cash to a good cause.

Are you really saying this is like Pavlov's dog experiment? Since, the money goes for good cause, I think it might not act as a good motivation in the first place to finish the task. But yeah, publicly announcing this stuff can lead to many people comprehending this as unethical.
>Everybody in the USSR had job. But these jobs didn't produce any (usually) value to the society.

Well, they got a huge backwater, mostly agricultural country, into one of the big powers of the industrial era. And got to feed some hundends of million of people, have space exploration, very good physics and math, music and arts, and a lot more besides.

So, it's a myth that these jobs didn't produce any value to the society. They just weren't as competitive as the west, but then again, they started from far worse and backwards conditions, in an a land which is cold and unhabitable as hell in large regions. And they had political BS to deal with too.

Not every similar scheme will result in the same results. Stalinist politics and such is not a necessary byproduct of everybody having a guaranteed job.
Chrome uses its own updater which presumably uses the same non-vulnerable SSL implementation as the rest of the program.
In their defense, there are far more iOS devices out there than Macs.
I hook iPhone via cable and turn on Personal Hotspot, and then on OS X I do Internet Sharing via WiFi back to iPhone.

It shouldn't be like this; my main source of bandwidth _is_ 3G.
This is bang on. PHP devs need to stop rolling their own hashing methods.

The compatibility library to use for PHP <5.5 is Antony Ferrara's password_compat: https://github.com/ircmaxell/password_compat.
They have such a large network, anything they could do to prevent unwanted crawling is probably helpful.
That's sort of the exception that proves the rule no? Not every country can be tiny and make piles of cash selling resources to large countries, while paying low wages to guest workers from poor countries to do the work that none of the citizens want to do.

I'm not saying that being born a citizen of Brunei is a raw deal, but their wealth is pretty dependent on the needs of much larger countries.
I suppose my main experience is with rails people, and as of rails 4 postgres is pretty clearly the "default" DB, emphatically displacing MySQL.

The author appears to come from much more of a node.js angle and so probably what he sees is different. I'm probably underestimating the number of node.js projects so the author likely has a good point. Still, I'd raise an eyebrow pretty highly at anyone who considered MongoDB a solid default choice for a general purpose application. Most companies I know who opted for MongoDB regret it, for reasons that have been rehashed here any number of times.
Where does the "physical access" part come from? And if that was the case, why would it be impossible now?

One of the sources: http://www.forbes.com/sites/erikkain/2013/12/30/the-nsa-repo...
I converted the stylesheet to a userstyle[0] so it can be used in any browser as well.

[0]: http://userstyles.org/styles/98492/google-music-mac-theme
http://www.correlated.org/
How To Write A Perfect Invitation Letter For A Technical Co Founder
Along similar lines, personally I was fascinated with https://bridges.torproject.org/robots.txt :)
"Postgres is the "default" database for django installations."

Is it? It is the recommended DB, between oh, MySQL, PostgreSQL, Oracle and Sqlite3

But I've yet to see an actual statistic on that.

With 3rd party plugins you can even use it on Microsoft SQL Server (though of course I don't recommend it unless it's a specific thing)
Thanks for posting this - your efforts are appreciated :)
Get help, even if just to call a hotline or discuss once with a doctor. HN is a terrible place to get help. There are people with real expertise who can help you and want to help you, you just need to take the help.

Chronic depression is a lifelong problem, but it can be managed pretty effectively. The combination of CBT and meds is well proven with clinical trials and this does not require faith in the treatment. Just your compliance.

Unfortunately it's still your job to start getting help and comply with treatment one day at a time. Nobody else can fix this for you. Do you have something better to be doing?

The more you think you aren't in control, the more you should be following the guidance of a doctor. If you're totally lost you might need hospitalization. If that sounds bad, then take more responsibility for your own treatment.
An open letter
An integration test wouldn't catch this one. You need a specific malicious SSL server (presents a valid certificate, uses ephemeral mode, does not present a valid signature proving that it owns the private key). The code does validate certificates, otherwise this would've been caught ages ago by anyone trying an invalid cert.

Unit tests would've caught this, though.
What the hell!? That's awful! I fucked myself over completely the first two years of high school, dropped out, homeschooled for two years, and then got into a state flagship university with honors by working hard at advanced subjects during the homeschooling.

Bloody hell, I didn't realize the system could screw someone over that easily.
Agree - same applies for the other languages at the bottom of the page. He should remove those code samples and just link to the bcrypt function/library for each language.
Donating to charity is good and making the donations large enough to be an effective disincentive would be foolhardy.

Try rewards rather than punishment. It seems like a sself-made, self-run system using rewards would be simpler and more resilient.
I found the previous discussion: https://news.ycombinator.com/item?id=3602407 (498 points, 737 days ago, 82 comments)

(Note: I usually prefer the "unfiltered" version, unless there is a very special new that covers the 90% of the front page.)
Parliament Dismisses President Viktor Yanukovych
Shameless plug for a site I created once: http://tomato-timer.com
If all you want is media keys support, Bearded Spice does the job. It supports a bunch more web apps too, like Youtube and spotify.

http://beardedspice.com/
So Oracle, Google and Microsoft get burned when something like this happens, but Apple gets excused?! Typical.
There are problems with all three techniques.

The problem with adopting a prevention focus is that it doesn't work. Or, rather, it might work when the fear of failure is the only fear at stake, but -- at least for me -- it seldom is. For example, one might have thoughts like "I really need to be doing this, otherwise it might be too late ... hang on, it already might be too late ... I really should check ... but what if it's already too late? I'd feel awful ... no, let's not feel awful, let's check sometime later." Poof, thought gone until next time. When you suffer from GAD or any other psychological disorder involving anxiety, about the only thing you can do is understand your fears and your reactions to them, and take small steps towards reinterpretation. Fighting anxiety with inducing more anxiety is not going to work.

The problem with ignoring your feelings is that it's much easier said than done. Good luck ignoring the urge of turning off the alarm clock when you're not even half-conscious, you feel dizzy, sleepy and have headaches. While in #3 the author advises to "embrace the fact that your willpower is limited," here he seems to forget all about it. In situations like getting up in the morning, techniques involving subconsciousness like [1] are more likely to work.

We are more feeling-driven than we think ourselves to be, and that's not necessarily a bad thing. Those feelings are there for a reason, and ignoring them might just not work. Indeed, the author acknowledges that "on some level you need to be committed to what you are doing" and I think when he says "ignore not feeling like doing something," he actually means "_trick_ your mind into starting feeling like doing that."

The problem with using if-then planning is that for some people, it's all too easy to change the decision, even if it's already been done; the unconscious mind keeps re-examining the decision and re-pondering the issue at hand. So when the time comes, you end up re-considering the decision instead of deliberating what to do. That's not exactly the same thing, but it still eats up willpower.

[1]: http://www.stevepavlina.com/blog/2006/04/how-to-get-up-right...
That would require skills. Also it's not "fun". It's not "fun" to be caring about optimizations or type-safety or general correctness and elegance.
> It is the recommended DB

Hence "default". You can use any db you want, but if you follow the documentation or ask which one you ought use, Postgres will be suggested and recommended. Sounds like a default to me.