skysight-inc/HackerNews huggingface dataset:
Just eyeballing the chart in the story, it's still up 10% from January 2015. That's not a bad return. This looks like a correction of a ridiculous overvaluation spike to me.

No market is predictable. That is why you don't try to do it. Invest regularly, i.e. dollar cost averaging. The couple who invested their entire savings in one shot during an obvious run-up made an all to common emotional mistake.

OC I haven't studied the situation there in any depth.
I have a Clojure Anki deck of function-name -> the output of (doc function).

The reason I started it was because I just kept forgetting the names of functions. I'd know exactly what I wanted the code to do, but then I would find myself not remembering the which word to invoke to do it. The flash cards have helped a lot there.

I'm not sure how you would fit an idiom into a flash card, but try it out and see how it goes.
I copied the prototypes and general structure of the driver from the existing ones (mainly the sqlite driver), implementing the functionality with the appropriate postgres API calls.

As for the implementation by mhodgson, one thing I noticed is that it uses the slightly newer PQexecPrepared API, which only works from protocol version 3.0 and upwards (which was introduced with PostgreSQL 7.4, so not really a problem).
He also seems to use some more calls to the libgit2 API, mainly for copying and creating buffers for SQL statements (which I did with static allocation, at the expense of having hardcoded schema and table names).

All in all, mhodgson's implementation seems more feature-complete (and well-tested) than mine, yet also considerably more complex.

As for submitting it, I'd like to have some confirmation that it works first :) Unfortunately, I'm currently too busy to really set up some tests for it, but once I have the time, I just might ;)
> The problem was that /r/fatpeoplehate was banned while other "vile" subreddits continued to exist.

But that's not a problem at all. Anyone who is making that claim either seriously misunderstands why those subreddits got banned, or is being disingenuous.

There are plenty of vile subreddits that I wish didn't exist. But as long as they're not breaking the law or reddit's rules (the relevant one in this case being about harassment), then they're allowed to exist. r/fatpeoplehate and the other banned subs broke the rules by harassing people, and by having their moderators refuse to do anything about it. That's why they got banned. It had nothing to do with the content being objectionable and everything to do with the behavior of the subreddit.
I was hoping for an explanation of how airlines globally price customer internet access out from a business perspective; instead I got a hodge-podge of quick reviews from a customer perspective of airlines in the US only. Typical... a better title might be 'In-flight wifi by carrier (US only)'
The bit about surfers really is reaching. No time warp necessary. The brain emulates musculoskeletal movement in parallel to actual movement, and compares performance against goal attainment, and against the emulation. This takes milliseconds, quick enough for very rapid musculoskeletal adjustment, before conscious awareness.
Yep, exactly.

Also much of anger on the street has been due to lower living standards (euphemistically referred to "internal devaluation") So a true devaluation via an independent drachma won't go over well either.

Of course, the rich keep their money far away from Greece. It's the masses who will suffer.

Worse, any political instability will cause more problems for their critical tourism industry.
Yes. You will enjoy this talk: http://blog.confluent.io/2015/03/04/turning-the-database-ins...
Maybe if they lose something specific like message content, order history, etc. But businesses are not morally culpable for banks and governments' inexcusable choice of shared secret numbers to prove ownership of identities, bank balances, credit lines, etc. when public key crypto has been available for 20+ years. It should be the entities who deliberately perpetuate broken security architectute like CC numbers, SSNs, paper ID documents, who bear the cost of their inevitable copying.

Businesses have to architect for the world we have, yes, but still.
>You guys use the word "seriously" here in an entirely different sense than these statements intend.

I don't think security can be taken seriously unless specifically compliance is taken seriously.

I claim something that few security professionals would say in their career: Compliance is the magic bullet to taking privacy and security seriously. But to understand why, we have to think about the the most reasonable alternative to compliance as an approach to security.

Do you know what “full content packet capture” means? It’s when you’re able to grab every piece of data transmitted over a network using a tool called tcpdump. You can use another tool to reassemble those collected data packets into complete applications, movie or music files, even video chats and phone calls.

As a joke, an instructor once told me that when they went onsite to do security investigations, they would do a full content dump; if someone was downloading videos at the time, my instructor would say, “Thanks for the movie, guys!”

This is what the Utah Data Center is doing. All packets are collected using a tool like tcpdump, and then the Center reassembles them and categorizes the content into data cubes (e.g., movies, video calls, emails) that are easily findable with open source search engines such as Lucene and Solr. Is this taking security seriously? You bet!

Enhanced Intrusions Detection Systems is how security is being taken seriously and with a cost to privacy. If a hosting provider like Akamai — which, runs 15% of the world’s web traffic — is able to reassemble your packets, and even archive them, is that what you want security to be?

Probably not, but when a security professional says "let's take security seriously", to them it means just watch all the things. I remember in 2006, after my IDS training, I was all for collecting every single packet (no matter what) because I was taught as a security professional, that was the only way I could do my job: watch everything, since we need to know everything about anything. If you watch everything, that’s inherently security, and the world is protected. That was my modus operandi for many years.

This is why taking privacy and security seriously really means taking compliance seriously. Compliance lassos in "watch everything" while also providing validation and proof of security. If we’re doing good hygiene (e.g. Key rotation, log review, Change Control) on our systems, there’s no reason to collect and watch everything.

The recipe to collect everything already exists but that means only security is being taken seriously. I hope we start to take compliance seriously and bring that into the privacy/security equation.
It was "stomach biopsy" that sounded more invasive than an allergen skin test. :)
First, as long as you're retracting your original statement about 8-10% deficit, we're good. I'm not going to argue 1.5% down or up.

Nobody's talking about paying the loans and keeping the country going without help.

What people are saying is that Greece can support itself, minus the loans.
Except JetBlue is switching to low-cost-carrier style fare tiers, charging for checked luggage and other ancillaries, etc., largely at the behest of their shareholders who feel that being indistinguishable from the other budget airlines would be more profitable.
Reading List for Young Entrepreneurs
Luckily not everybody shares your opinion, for we would still be writing assembly code if that was true.
That's reddit for you. Over the past five years, the zeitgeist of the site has become increasingly petulant and entitled. A lot of people on the site seem to genuinely believe the entire internet gets their content from reddit and only reddit.

Remember when the genius sleuths of reddit wrongly accused an innocent man of the Boston Marathon bombing? Or all the ridiculously borderline illegal subreddits (jailbait, creepshots) Hell, there's an entire wikipedia article devoted to redditor drama: https://en.wikipedia.org/wiki/Controversial_Reddit_communiti...
Luckily, our views don't matter and France has taken action.
Ask HN: If marijuana is legalized, what happens to people jailed for possession?
I understand this train of thought. But, when it comes down to write this algorithm on the whiteboard or build something small but non-trivial, I'd much rather do the latter.
I've sometimes thought there should be exactly two levels of government... International (non-optional and all countries participate) and County (~2500 km2 and several thousand to maybe 10 million max people).

The world has gotten smaller and the effects nations have on each other larger. It's dangerous and it's not efficient. At the same time people have their local customs and laws (and spending habits). So let that be. But enforce bans on slavery, genocide, trade route monopolization, nuclear weapons, pollution etc. At an international level.

As it is, it seems national governments are in general problematic... both to local communities and to the global community. I think eventually they can be done without.
This would seem to be a core evil of the situation: investors chased risky money but are apparently not expected to be capable of weathering a Greek default.

The risk/reward curve is the fundamental idea of investment. If we privatize reward but nationalize risk, the cost of bonds/mortgages/etc. will never reflect reality. I shudder to think of a system where governments are implicitly assumed to insure everything that's "too big to fail."
Well, it's always been the case that people who are seen to be wealthy/"big spenders" actually don't have to spend so much because they get things comped. Higher-tier credit cards have a history of these kinds of perks, with airline-partner deals on those cards covering everything from lounge membership to in-flight wifi to refunding the application fees for trusted-traveller programs like Global Entry.

And if you're getting that stuff comped, why would you complain about how much it costs someone who doesn't get it free?
I am really enjoying Reflux personally and I think that's one of the good things about React and the Fluxes; there's many mental models to suit different ways of thinking about how to build apps.

There is no 100% correct way to build complex single page web apps but there is definitely a wrong way and that way looks increasing like progressive enhancement sadly...
The troika includes Germany. My impression of Germany's role in the troika ("Germany is the backbone of obduracy in the troika") could be wrong. Is it?

Here's what Varoufakis said:

What they’re doing with Greece has a name — terrorism

[...]

Why did they force us to close the banks? To instill fear in people. And spreading fear is called terrorism.

My point, of course, is that these were both hyperbolic arguments.
What a ridiculous title. The reality is this is a backslapping Facebook post about bringing out new open source javascript libraries for nothing in particular with no particular benefit and a whole lot of fluff. Who were the 75 people who upvoted this? Probably Facebook employees.
The fact that digital media is so easily copied is what immensely scares the copyright/DRM advocates, so let's hope they don't get in the way of preserving history.
You'd have to do what's known as "shorting a stock":

http://www.investopedia.com/university/shortselling/shortsel...

So pick companies that would be hurt by a real estate bubble (you can look at the previous bubble, and that can include those who hold the debt or secondary sources like companies that sell things to first time home owners like a Home Depo).

A secondary strategy might be to invest in companies that focus on rentals since that would go up (I'm assuming you're talking about homes and not commercial real estate):

http://investorplace.com/2014/07/rental-reits/#.VZm3J3jsfH0

Although keep in mind that trying to do a play can come down to timing which can be tricky.
From what I understood, the biggest problem is that lots unsophisticated investors (families) invested when the prices were already up, as it usually happens with bubbles, and now they are in deep trouble. This in turn could create big troubles in the "real economy".
Your country doesn't have strategic position

From all the arguments I’ve read this is the most hilarious. Dude, have you opened a map lately? Half of Middle East is in flames including parts of northern Africa. And we have no strategic position? Greece is what stands between Europe and legions of refugees from Syria, Afghanistan and Iraq. Not to mention the fuckers from ISIS who want to infiltrate Europe. Thank God we’re in NATO otherwise we could allow Russia to build a naval base in Greece and watch EU and US go ballistic.
Funny boy picture
I think you've responded to the wrong comment. I never claimed an 8-10% deficit.

Also: you haven't explained how Greece can support itself, minus the loans, while still running a deficit even before interest payments on those loans.
Not according to the IMF, who, while their report have some choice words for the Greek government too, have made it quite clear that the bailouts have been a total disaster.
Now that this thread's on the first spot of the front page, can we admit HN isn't a libertarian echo chamber?
It takes zero effort to have your public relations department issue a press release claiming that your company "takes something seriously". That claim rings hollow when it comes right after you demonstrate the opposite. As I said in the other thread, these companies falling all over themselves to say how seriously they take security after they've been compromised are like companies gushing about how seriously they take quality--after issuing a major recall (or getting sued) over faulty parts. The proof is in the pudding.
The standard defines preconditions when talking about what operations on valid on its containers. std::string::clear() has no preconditions so it is valid to call on a moved from object and then you can be sure of its state.
I think SRS is useful to learn "data", not competences. Learning data has it own usefulness.
Yep, I think the ops / system admin saying should be "all my successes happened in the darkness and all my failures occurred in the harsh light of day".
FINALLY!

It has been obvious for a long time that actually driving on Market St. a terrible idea. It's dangerous, permanent gridlock, and far too many people end up confused at the unusual road layout and end up driving in the bus lanes. This is outstanding news.
This sounds like two phenomena: flow during the gave, amplified by time-dilation during later recollection.

On mobile, references awkward. Flow is easy to Google. See my previous comment re time-dilation during recollection.

Incidentally, none of this is meant to disparage your comment. In fact, it sounds awesome.
If you believe Piketty, debt is never meant to be repaid and no one should therefore ever invest in sovereign debt. That would solve the debt debate. No creditor = no need to worry about whether we want to pile more debt.

And he has a point. I personally don't believe that any of the US, Japanese and European sovereign debt will ever be repaid. The whole thing is a ponzi scheme. Investors hope that their investment will mature before the music stops. That's worth AAA...
You realize React Native has been out for about 3 months, right? Rails is nearly 10 years old. I almost think you must be joking.
I've had success using it to remember terms, usually term -> description.

My problem wasn't that I'd forget what the technical thing was, but that I'd just forget the vocabulary to talk about it.

Looking things up isn't that difficult, but it's much better to remember a term and say it than it is to halt a conversation while you look it up.
You hear the claim annoyingly often.
In SF, cars vs. everyone else captures a surprising amount of political energy. As someone who has lived in a variety of cities and suburbs, but SF for the past 3-4 years, SF remains excessively car-friendly at the expense of pedestrians, bicycles, public transit, and non-car-related uses of public space. Fortunately the voting population and the political class are slowly pushing the cars out (the "saving lives" rhetoric is a smart strategy and not invalid, but there's more to it than that - the future prosperity and quality of life in the city depends on curbing private auto ownership and use). Prohibiting private vehicles on Market St. is a no-brainer.

What I'd like to see is a kind of congestion pricing, eg. a $1000/year permit to operate a car in the city, with vouchers for low-income drivers. (I would pay this myself; I walk, take transit, cycle, drive, and take cabs in the city in that order of frequency)
"Falling" is a very relative term. Rather than look at birth rate, look at total population growth on this chart: https://www.google.com/publicdata/explore?ds=d5bncppjof8f9_&...

Certainly the rate of increase has slowed -- which is an accomplishment, relative some other countries' quadrupling of population since 1950. But Egypt has still gone from a desert country of 28m in 1960 that relies on the extortion of diminishing water supplies from Ethiopia to... a desert country of 82m in 2012. The Arab Spring was directly related to the higher price of heavily subsidized bread in North Africa due to a minor spike in corn prices that year.

Even if the birth rate fell flat today (and as you noted, the opposite is happening), can you honestly predict any future for Egypt other than Malthusian failure? The Aswan dam was specifically built in a rare fit of foresight of this exact future... and relies heavily on Ethiopian/Sudanese submission to Egyptian riparian rights. I think it's fair to say that Egypt is extremely overwhelmed by its population growth.
I love Apple's great contribution to Open Source.
"Myth: Prisons are full of people in for marijuana possession"

http://www.rollingstone.com/culture/lists/top-10-marijuana-m...

If this information is accurate then we are talking about 400 people.
The interviewer completely oversteps his boundaries here. In case anybody wonders: "Die Zeit" is Germany's tabloid version of a politics paper (similar in lack of quality to "Der Spiegel"). This interview illustrates whats wrong with these tabloids very clearly: Bias, ignorance and uneducated employees.

Piketty brings up some good points but the interview is painful to read, like dragging a wet mattress up a stairwell.
"In fact these bailouts where were unpopular in Germany, because it cost us a lot of our money, we could have spent on infrastructure, education, etc." The money was provided as a loan, was not given for free, you even get a return on investment so that kind of comments are made by populist politicians and don't make any sense.

https://medium.com/@gavinschalliol/thomas-piketty-germany-ha...
You're right, nobody is saying "screw it, we just won't pay". Hell, I'd be ecstatic if changes were instituted that reduced bureaucracy, made the public sector simpler and more transparent for citizens, and fostered entrepreneurship, rather than the current climate of uncertainty.

Unfortunately, right now, everyone in Greece is paralyzed, because they don't know if, a few months from now, a new tax or law will be instituted that will kill their business, or mean they will no longer be able to feed their family (for the ones that still can). I think this prolonged uncertainty is the biggest problem right now.
Point 4 is sane? Greece doesn't seem interested in repaying their debt now, you think they're going to care in 10 years after just writing some of it off? Why won't they expect the rest to go away too? I think a lot of the "no" voters simply don't see any services from their government to justify their taxes, they already avoid taxes at endemic levels, and fundamentally don't actually feel any ownership for the debt.

Moreover, can their economy recover without outside help? What does that actually look like? That's the bigger issue, any way you slice it, they got really used to making promises and living larger than they are. The wish or risk or whatever is that the ECB will want to recover some of that debt and in exchange for that wish, write off a large chunk of it and then continue to give them handouts. What does a viable Greek economy actually look like?
New in Cassandra 3.0: Materialized Views
"And don't forget the fact that short selling was illegal until earlier this year, and even now only a limited number of stocks are allowed to be shorted"

... which means the crash will be even faster and more brutal.

Remember, short positions close by buying the shorted security. This means that in a healthy (albeit declining) market there is always buying at every level down as shorts cover.

Limiting short selling is a misguided feel-good move ... a PR stunt that only serves to make the pain worse.
> The explicit assumption is that these companies wouldn't have gotten in trouble if only they had taken security more seriously.

They didn't care about security at all. That's the assumption. And it seems I'm not the only one to think that, because that's how thing are generally.
His example is perfectly fine. The example that puts the object in an invalid state is an example of what not to do. The example of what you should do, which is to make the method marked "&&" so it can only be used on rvalue reference, i.e. an object that's going to be discarded anyway, makes a method that leaves the object in a valid state and one that conforms perfectly to expectations. It even politely cleans up m_set.

Generally speaking, there's nothing wrong at all with moving from a member variable. You can see an example of where it's perfectly all right in this article.

> you have some cached string that you may or may not want to move out. If you move it, the next time you access "it", the string needs to be re-computed. This means the string is going to re-malloc the memory that it had before it was moved. I don't understand what "efficiency" the outlined code gives you.

The method in question can only be called on an rvalue reference, which means the object, in its present state, is not going to be used again in the future anyway, so the problem of reallocating the string is moot.

> https://gist.github.com/wallstop/4d80fba9b1d15da64488

Your code has a use-after-free bug, because your std::string&& str() && function returns a local variable by reference. Your 'std::string&& str() &&' function doesn't even destructively modify the object, so there's no reason for it to be marked '&&' in the first place, and there's no reason for it to exist at all, because its performance is worse than the 'const std::string & str() &' version.
This can't be upvoted enough.

It's also ironic that Greece was one of the creditors that forgave a large amount of German debt.
Because how the Greek's debt conflict is solved will have a severe impact in global economy. And HN community tens to care about economy.