skysight-inc/HackerNews huggingface dataset:
Sorry you had trouble with the Android app. Anything in particular that bugged you?

It's essentially a simpler interface to our web service. The same one used by the web app. So results should be the same from both. But you cannot see an article preview or edit the article's title as you can with our web app.

Oh, and thank you for submitting this here, btw. Was surprised to see it. :)
GDB?
Yes, macros are not hard to get - they're far simpler than anything else imaginable.

No, they are necessary. There is no better way of doing things than macros.
I've been called "mastery-motivated" which means that I like to be able to accomplish what I want, when I want, better, faster, more efficiently, and more flexibly than anyone that I'm aware of. It honestly means that I hate introducing new things for novelties sake, and I would be happiest if the field never moved at all and I could get the job done in five minutes using something I wrote three years ago. Of course, it also means that if something five minutes old does everything in a better way than my old stuff, I need to know it now.

That's certainly not the same as passion for my work. It's more passion to get home and passion not to be a burden on my co-workers but a boon. Work is a place I go to make someone else money in exchange for as much as I can extort them into paying me.

summary: I agree 100% with Jack, but 0% with you, so I'm confused by your first line.
You are getting downvoted, but you are completely right. When implementing node based containers it is perfectly alright to use raw pointers as the nodes in no way own their children or siblings but they are all collectively owned by the datastructure.

You should of course use smart pointers for the automatic pointers that temporarily hold node references in functions that manipulate the datastructure.
>The CIA is the reason for most of the unstable regions

I recently read Legacy of Ashes[0], which I thought would be a sort of thrilling history of the spy game in America, but turned out to be a chronicle of blunder after blunder by the CIA. Fascinating stuff.

Having read that, I'm not naive enough to believe the cause of "most" global instability is due to the CIA; that's giving them far too much credit.

[0]http://www.amazon.com/Legacy-Ashes-History-Tim-Weiner/dp/030...
Try to understand the scale of the Observable Universe.

Question what else is there beyond that? Realize that if the Universe is proven to be expanding, what is observable now is less that what was observable in the past and more than will be observable in the future.
Everyone should love their work, deeply. If you don't, then you should demand work that you do love. If it's impossible to get work that you love, then you should change the world.
I know, I don't blame that guy, he is a soldier, not a politician, and that's why they sent him to the UN, because people trust him.
For example, many older games either have no online multiplayer support, or have shut it down, while they do have functional LAN support. If this can replace Hamachi for those use-cases, then that's pretty great already.
I wonder what would happen if we just told everyone at the CIA to go on a 1 year vacation. We might have world peace
> It's the oil money that's fuelling the conflict on both sides, if we cut that out of the equation I'm confident we would find it much easier to work towards peace in the Middle East.

I agree, though even if the US solved its energy problems today, we (i.e. the entire Western world) need to survive the generation or two of pretty angry Middle-Easterns seeking revenge for their destroyed homes and killed families, as well as our own politicians using that to further their agendas.
I assume that postthreadmessage has a C abstraction. In C++ you should use a queue that properly supports copyable and movable types. Or at the very least write a wrapper on top of postthreadmessage that does.
The problem here is humans in general. Intelligence agencies are created to follow orders of politicians, who often have morally dubious agendas - but at some point those agencies can also discover they have enough power they can do whatever they want without much oversight.

I too do dream of S.H.I.E.L.D.
I think we're basically agreeing loudly over everything except the example being a demonstration of mitigating the impact of BPs being immutable while adding a feature that requires that statement be less than true - and I agree, the permanent overhead of a mini-DDT is a non-starter for anything other than the example case of "oops I added a device, time to evac it before $TONS_OF_DATA gets landed".

Certainly, it would be much less exciting to send|recv from poolA to poolB, and require no code changes and no GB per TB of data indirection overhead.

But this was intended as an example of how many caveats and problems are involved in even a "simple" feature involving shuffling data on-disk, and thus, why "defrag" is a horrendously hard problem in this environment.
Really saddened that this was the lowest ranked comment, as I have an affection for classic MS Paint.
Re unique_ptr as a local variable: in C++98 you can use auto_ptr.
I know driver complexity is a common point for Vulcan, but given that opengl and direct3d are here to stay, aren't the drivers going to get strictly more complex due to it?
> If you were really "better than almost everybody else" you'd be hired to work on hard problems that even someone actually better than almost everybody else would find challenging.

That's assuming a lot.
It's assuming that great programmers also make great career decisions.
It's assuming that well funded companies or startups necessarily have the most difficult tech problems.
It's assuming that the people who hired you to do really tough problems don't also have a huge list of "mundane" problems to solve as well.

I've had some really interesting problems and challenges to solve during my career. But every role also has a lot of boilerplate.
I've found that what has really made me valuable isn't just my ability to solve the challenging problems, but also being able to see a project from conception to completion, even when you have to do the tedious and uninteresting tasks.
I've purchased many things from Amazon, and I'm a member of Amazon Prime. I've purchased more items on Amazon this year than I did last year. I've also avoided buying goods and services on the internet because of internet surveillance. You seem to think that's not possible, likely, or common enough that a quarter of households would report it - because Amazon's sales have risen.
Why do you pity the families of US soldiers who invaded Iraq but blame the US for the deaths of Iraqis? If what the US did was wrong, then the soldiers who carried out those orders were wrong too.

How do Americans maintain this doublethink that their government's military actions are bad but the people who carry them out are good? Is a US soldier somehow more righteous than an ISIS soldier? They both kill innocent people, they both do it to serve "bad" purposes. Why not treat them all as what they are - killers?
Given the serious effort CIA puts into destabilising regions (Lets not forget the large amounts of sources who said people were being ferried and paid to go to Kiev when the Ukrainian uprising was occuring) it would not surprise me very much if they were also behind the Britain "exit" from Europe, since that would cause an economic collapse of the EU and would remove a super-power from play.

I feel like a conspiracy theorist when saying it out loud, but given the history...

I mean it's economic suicide for britain to leave the EU, yet someone is plastering it all over the media and it's not the politicians. :\
Oh, they're not alone in it but operate globally and are a repeat offender. It seems that they took over from Britain right after those started the whole two-state/one-state debacle in the middle east. Before that, Britain was the major offender. Like Britain, other offenders like France, Belgium, Spain, and the list goes on, are not as clearly and strongly involved in meddling with other nation's fates anymore. When viewed over a longer time span, one cannot help but notice the same abstract patterns, regardless of who did it. I don't know what has to happen for humanity to evolve in this regard.
He gives the answer himself a few minutes later (46:00):

"You need that server process to coordinate write concurrency."
How to think analytically, how to act compassionately, and how to balance the two.

Though that seems a lot to ask for in the first 18 years.
Lot's of good bits around 45:00:

"We don't compete against Oracle, we compete against fopen(3)"
> This is why containers on Linux will probably never have the security that Solaris or the BSDs have

The dozens of changes which you refer to as containers are very much bolted-on to both FreeBSD and Solaris. It would have been nice of that wasn't true, but it's just not realistic to to back to the drawing board netiher for FreeBSD nor Linux to get this single feature.

Just think about cgroups, which required some rather deep reworking of several subsystems in Linux, took years to get in place. And that's just one of many pieces that containers can potentially make use of.
> CIA's policy is probably controlled by someone else, and that's where changes need to be made because I like to think they don't come up with the stuff on their own.

Beyond you liking to think that, what evidence do you have that the CIA's policy is controlled by anyone other than the CIA's Deputy Director who commands internal operations, and its Director, who reports to the director of National Intelligence as well as having to answer to Congress and the White House?

https://en.wikipedia.org/wiki/Central_Intelligence_Agency#Or...

For the most part, theories of secret groups that control things are false, not counting well-known groups like the Masons, etc. that make secrecy part of their identity. There is plenty of evidence to support that Congress and the White House are lobbied heavily by outside interest, and that's no secret. Combine that with the varied interests and agendas in the involved organizations, human error, incorrect or misinterpreted information, etc. and you have plenty enough reason for things like this to go wrong.

If you are an American citizen, and you believe the U.S. government is so wrong and misguided, nothing is typically stopping you from leaving the country or attempting to vote for others that might be able to make some changes, but the fact is that there is an extreme momentum of the country that is simultaneous chaotic and well-intentioned, so no matter who you vote for, things will typically continue on. Well- maybe not if Trump is elected, because the entire country could turn into a sideshow ;) , but this is true for the most part.

If you live in another democratic country, vote for leaders that you believe will positively influence the U.S. in one way or another, or you can speak up about it.

Belief in some shadowy group is just not helpful, and is a result of the imprint on the psyche from movies, television, and other media sources. There are real groups out there with influence, and real single players with influence, but it's really not that hidden; it's just complex.
I agree with you too, we will almost certainly be dealing with the blowback from our current activities in the Middle East for many years to come, and like you say certain politicians will try to use that for their own gain (particularly if they have financial links with the military industrial complex). However, reducing our dependence on oil would help reduce the financial incentives for war, as well as taking money out of the hands of those in the region who would buy weapons to fight (assuming that there was a similar move towards decentralised energy production in the Middle East also).
Let me know when it's out of beta
In the interest of some context: Mandela was a communist and a terrorist. While a "political prisoner" he was offered freedom as soon as he would publicly renounce violent protest (i.e. terrorism) and he persistently refused to do so. His second wife, Winnie, enjoyed the necklacing opponents. So nice people all round.
Yes...

United Fruit Company being a particularly nasty one to get on the wrong side of.

Its successor Chiquita as recently as 2007 pleaded guilty in US courts to aiding and abetting a Columbian terrorist organization, and got away with just paying $25m restitution, and the US government refused to allow extradition of any of the involved parties to stand trial in Columbia.
Job Hop or Go Stale
There are issues on both sides of that divide. I can't stand the tidy programmers who try and clean up ugly code that handles lot's of real world edge cases they don't understand.

Sometimes you can find loops in the source code repository where multiple people make the same kinds of changes to the same function before reverting back to the original state when some bug shows up again even when there is a comment about that edge case. It's one of the few times I feel leaving commented out code is reasonable, no don't do this it's not going to work.

The real world is messy, at some point you have to represent that twisty logic or it's not going to work.
It's not a requirement, you don't have to use it every time you employ sarcasm online, it just helps if it's likely to be misunderstood.
Depending on the tumor, feeding it well may increase its sensitivity to chemotherapy.

On the other hand, I've read recently that fasting improved chemo tolerance because it puts healthy cells at rest while the cancerous ones are oblivious to the reduced calories intake... Not sure if it is universal. Such an early study was likely targeted a specific kind of cancer.
> They both kill innocent people, they both do it to serve "bad" purposes. Why not treat them all as what they are - killers?

Why not treat both of them as victims - young people sent to die by politicians furthering their agendas? Or, in some cases - victims who die defending their homes from a foreign invasion?

As a low-rank soldier, it's not exactly your choice where you get deployed or what your orders are. Let's go after those who give the orders. And those who do invasions.
+1 wish they would opensource it.
Leaks Show US Senate Aide Threatened Colombia Over Cheap Cancer Drug
Thanks for the interesting observations. No surprises.

In my experience, wechat is a spam monster - too many useless notifications and missing useful features like easy OTT voice calls and read receipts. I find iMessage and whatsapp (I use both hourly) vastly superior.

How old is your uber/didi experience? I find both now to be mostly useless to non-chinese. I tried to get an uber to the airport in Beijing last week and would you believe there is no POI in english for "airport". Search comes up empty. This seems recent, it wasn't an issue last year when I was travelling there frequently. I agree, if you do get a valid destination the uberx drivers have enough english to find you and get you where you are going. People's uber on the other hand... its good for entertainment...
I write a lot of code that only I will work on in the future.

I keep it tidy because I don't hate myself.
It has happened before, and will happen again. People will be rounded up en masse from lists generated by state intelligence organizations, interrogated, shot, and dumped into mass graves. It may not happen in the US any time soon, but what if you live in Saudi Arabia and the US shares your Google searches with them? How about Singapore? The West Bank? Indonesia? South Korea?

You offer no argument but your own comfortable middle-class security. Relax, you can probably get a job writing the software that makes the list. They'll never use it anyway, and shouldn't we keep an eye on those people?
Not secret group, I don't believe in stuff. I should have been clearer and say that part of the government likely has a body which controls and influences the policy of the CIA. Sorry for my imprecise wording.
Yup, I think is very common, I'm in a similar position and feel the same way. Partly it feels like a game; filling in holes in knowledge is like locating pieces that fill gaps in a jigsaw. And partly it feels like a scrabble up a hill - the more you learn, the more you realise how little you know, so you try to grab more and more knowledge.

And it does lead very often to bad programming, I appreciate the GP point - reinventing wheels, NIH syndrome, overuse of clever techniques etc., but that's not necessarily the case; a big chunk of the knowledge you grasp is [or should be] best practices, testing, clean code etc v0v
>If you want to increase your productivity in orders of magnitude, if you want to be able to complete projects on your own that otherwise large teams would struggle to do

I've seen this claim a few times in this thread. What makes this possible? If you can increase productivity so drastically, why isn't everyone using it all the time? It seems utterly irrational not to.
And that's why for countries who aren't US closest allies it makes total sense to base military infrastructure on open-source operating systems and software (because let's be honest, Russian or Chinese military most likely won't be able to produce their own modern OS of comparable quality from scratch).

However, software and hardware on one hard, and internet on another, aren't the same thing: I don't see how one can seriously make the same argument in favor of great chinese firewall. It's only effective against general population, and doesn't seriously negate any cyber-threats, as far as I understand.
I think the best way to be anonymous is to practice pseudo-anonymity and try doing sensitive-looking things ad nauseum until you do the actual anonymous activities for real. Similar to drills, or dry runs. Typically you don't want to do fully fledged Silk-Road type things if you haven't practiced selling lemonade out of the boot of your car at the seaside.

What you typically want to do is know your enemy and threat model. For example, when I got my first Android phone and naively downloaded all the apps I could find, I was super reckless and done some very sensitive things on the phone, and only when I plugged it into Wireshark and realized any number of beacons and analytics scripts running in the background did I stop using it entirely. I now vet all my apps before using them, and if possible, create my own ones where I know exactly what each line of code is doing and why.

In terms of threat modelling, I think things like TOR are sufficient enough to blackout the NSA as long as you're using it correctly and know of all the attacks (previous and current) which are used against TOR. What always annoys me is that people don't include the NSA in their threat model and make up stupid excuses not to use TOR, thereby downgrading the security of others and making the Internet a breeding ground for more spying.

I know TOR is not a silver bullet though, and there are many strategies to compliment TOR like compartmentalization. For example, separating work from play, using disposable email addresses, having no centralized e-mail account for ever single thing you do (a big problem that still hasn't been solved yet). And just general OS hardening. Using OSX over Windows, using disposable VMs (Think Qubes), and paying attention to the last mile of The Internet usually holds us in pretty good stead. Using crypto for everything, and locking shit down with 2FA are two other strategies entirely missing from vast swathes of Netizens too.
That depends on your reason of usage, as a guide to web ranks its been obsolete as you say for years, but as a cheap and quick measure of a domains potential (for passing link juice or to compare link juice between two domains) in comparison against another, Pagerank had some value.
Best i can tell, the thinking in Langley was/is that any social democratic movement will soon after coming to power be hijacked by hardliners and turned "soviet".

Sadly their actions seems to more often than not hasten the takeover rather than counteract it.

Then again there is also the whole "banana republic" issue, that had been going on since at least WWI.
Most of them do, according to their definition of "good."
There were numerous previous attempts to do something like this, including Klik, its successor Klik2, AutoPackage, 0install, Glick, and its successor Glick2 (the latter two by the lead developer of FlatPak).

http://klik.atekon.de/wiki/index.php/Klik2
http://autopackage.org/
http://0install.net/
https://people.gnome.org/~alexl/glick/
https://people.gnome.org/~alexl/glick2/

However these all remained pretty obscure. AFAIK all of them only tried to solve the problem of how to install stuff on the end user's system, but ignored the problem of how developers can build binaries that actually run on multiple version of multiple distributions, which XdgApp/FlatPak solves with its "runtimes" and corresponding SDKs.
No. What I have done on the other hand was add unused lexical variables to an anonymous function so the runtime wouldn't optimise them out of the closure and I could still see them in the debugger.
Properties-file, 1.0.2 released
Closed-by-value variables (I.e. the default) in C++ don't expire. Referenced or pointed-to object might, but this is completely consistent with the rest of the language.

Remember that C++ is a by value language. Pointers are explicit, fist class and distinct from the pointed to object.

References are werid, though.
Doesn't it strike you as incredibly shady or selfish that these scientists who had their cancer cured haven't bothered to tell the world about it?

It doesn't, actually. Getting diagnosed with cancer and then surviving it is still a terrible ordeal. Publishing their single story would do nothing to change the course of medical science, but it would open them up to abuse from skeptics all over the world.

I'm sure that even if I survived cancer (through whatever means), I would still not have the courage to allow myself to be flagellated by a horde of entitled zealots.
Did you not read what I said? It doesn't matter whether it's a fork or not. If Oracle wins the current lawsuit over Java, it's arguable they could go after OpenZFS too as the lawsuit is based on whether the design of software (not the implementation, the design) can be owned by a company.

https://en.m.wikipedia.org/wiki/Oracle_America,_Inc._v._Goog....

"The appeals court reversed the district court on the central issue, holding that the "structure, sequence and organization" of an API was copyrightable."
“easy days will be easy. It is the hard days that will determine who you are”
This is the exact reason I'm headlong into Elixir and Phoenix right now. It's like the best of both worlds.
Does anyone know if I can switch my previously-used ZFS-on-Linux with this and it will just see my pool and work as before?
There are congressional intelligence oversight committees, who I'd like to think are aware of these things.

More likely, there's a little golf club agreement now and then between some corporation or lobbying group and government agencies. For example, if you guys can help us with a little information and maybe a teensy overthrow, we'll give you some better terms on that spy sat you wanted.
Worm going through unpatched Ubiquiti routers
Epic time lapse video of Mercury crossing the Sun