skysight-inc/HackerNews huggingface dataset:
WWI still didn't have total war or deliberate destruction of entire cities using aircraft. The bombing of Guernica in 1937 was considered shocking at the time.
Women go missing on Wikipedia
Workplaces.
Hm. Salt water is (according to my google-fu) denser than fresh water. The article says, "When the eye is immersed in water, which has about the same density as the cornea, we lose the refractive power of the cornea..."

I wonder if this refers to salt or fresh water. Maybe both, if the density delta between the two is trivial.
Slack? http://hamsterpad.com
You know that it was precisely the sort of meddling you're talking about that got us into this mess with Iran in the first place, right? So at best, we broke even.
I mean, finally getting standard networking and filesystem libraries is a really nice thing...
As I read this I could not help but think the future is going to be bright. A glut of educated young people even in poorer countries. They will do things their parents could not even dream of. But it always is painful realizing you have to make a new world on top of the old.
Oh yeah, that's right. Just my broken memory on that one. Thanks for catch.
Sure! https://github.com/zachlatta/sshtron/issues/2

Will add.
Fishing, i.e. food & money.
Donald Trump's desire to "build a wall" is incoherent.
> "[It's] peace, not war, that makes wealth for a country. War just transfers possession of the residue from the weaker to the stronger. Worse, what is bought with blood is sold for coin, and then stolen back again. [...] It's a wondrous transmutation, where the blood of one man is turned into the money of another. Lead into gold is nothing to it."

-- "The Curse of Chalion", by Lois McMaster Bujold
> the 3D modeling tools in Blender are on par with, if not better than, anything Maya or 3ds Max has to offer.

This is unfortunately untrue. In fact saying that this is untrue is downplaying it, this could not be further from truth and is ridiculous to even consider. Anyone who has used all of these programs knows how incredibly awkward blender is to use. Even moving an object around or saving a scene is a disaster so forget about cranking through shots in a studio under a deadline.

If blender was better, studios wouldn't pay thousands for licenses of other closed software. They do though, and that should tell you something. Animation studios large and small don't have money to burn but the truth is that the tools make a huge difference in productivity and blender is not even in the same league as commercial tools.
every time china has a prolonged period of peace, the nobility gets corrupt which then opens it up for invasion. culture may be the result of extended peace, but unity is only achieved through conflict. ironically, there is no peace without war. yin and yang.
Before the array decays to a pointer, you can get its length.

Here is the implementation of std::begin for arrays in libc++:
https://github.com/llvm-mirror/libcxx/blob/60d223df071f6e3d4...
Good questions to ask, but Tinder on Android is truly terrible and the most unstable Android app I've ever used for any length of time.
I've noticed that they've pretty much quit doing that, and as much as I agree with you, I think that's for the best. You never want it to turn into a competition as to whether or not someone's death was meaningful enough to merit it, and at the same time avoid just having a constant black bar in the title.
Yes, and?

Are you implying 'well then worth it!'?
Why? It would only feed a new industry of expensive arrests and trials for no good reason.
The difference wasn't that segwit got bigger, it was that the other patch got smaller. (Or rather, looking at it again, he's referring to BIP101 which was an adjustable size HF).

I don't see why not knowing how to check the line difference in github implies a lack of technical skill. The claim about https I had taken directly from a site which claimed they didn't host it on https because it was too expensive. I haven't dealt directly with testing https on a large scale, but again, that's hardly a core technical skill, except for someone running webservices.

I've changed to a bit more uncertainty on the difference between soft forks and hard forks based on someone else's comments here. I'm not sure if I've changed my mind on anything due to your comments in particular (except that the classic fork is indeed smaller).

I'm not sure what I can do about incorrect information from an unreliable source that I'm not aware is incorrect. Do you have any practical piece of advice on that besides "be more self-critical"? (Because the practical consequence of such self-criticalness would be less posting on subjects I'm semi-confident about, and while I'm occasionally wrong, I think I'm overall contributing in a beneficial way. I wouldn't have >2500 karma here if I wasn't.)
A bad idea to gain some negotiating power led to a lie that caused an unjust invasion, the direct murder of hundreds of thousands of Iraqis and the deaths of probably a million people in the area since.

Sure, let's look a bit deeper. We ignored the treason the first time around but it's not too late to hang a bunch of people.

They deserve as much of a pass as a kidnapper of children who says he plans to build a hospital with the ransom.
Quite right, I'm apparently rusty on my stdlib knowledge. Didn't know about the reference trick.
What's the criteria for the black band at the top of the page when a tech luminary passes away?
Which resource is insufficient to support the current
global population?

Oil.
Maybe Moxie? He's a personal security hero and he (co?)wrote the Axolotl protocol, but I'm not sure if we can call him a cryptographer.
>I read this and I think of the courage that it must have taken to write, however, I quickly realize that my thoughts are based on today's mindset where questioning the government gets you labeled a conspiracy nut or traitor.

It's interesting you mention that, as Smedley Butler was the alleger of the Business Plot -- what he claimed to be a planned coup d'etat on FDR by wealthy businessmen. [1]

[1] https://en.wikipedia.org/wiki/Business_Plot
Yes you can call std::begin() and std::end() on an array.

int a[] = {4,5,6};
for(int i : a)
;

That is how the above works.
IRC/Live-chatting does not really solve any new problem which the Email has not solved already. If you look at live-chatting in the corporate and the personal world, you'll see that most often (and when things gets tough) people tend to either pick up a phone, or they'd send long-form email.
Too bad he never got to see it replaced with something like Google Wave
Funny you mention this because China did use an extreme version of this technique.

https://en.wikipedia.org/wiki/Human_wave_attack
I tried it and it works for me (gcc 4.8.4), but I couldn't tell you why.
Nexus 5, latest Marshmallow. Vanilla Stock. I'm guessing it's triggered by a backend load thing, because it seems like it either just stops responding, or hangs when it can't download an image, and the app goes numb. If you see a spinner in Tinder, go to the square button and swipe it closed. It's simply a fragile app.
Show HN: I Coded a Vector Field in Canvas (JS)
fair enough, but killing can never be performed ethically by a state actor. Unless it is in self defense or an act of war, in which case the morality varies with the situation.
https://www.virtualbox.org/wiki/Downloads
Does this work at compile-time?

One of the uses for countof is (somewhat ironically) doing a enum->string table where you want to enforce the table gets manually updated properly:

enum Color { red, green, blue, num_colors };
const char *color_string[] = { "red", "green", "blue" };

static_assert(countof(color_string) == num_colors);
Here are the first two results in a 20 second web search I just did. I don’t have the weeks of free time it would take to make a comprehensive research report on this subject (feel free to do that as an exercise, I’d love to read your final document), but needless to say, the current level of gun registration and tracking in this country is nowhere near as complete as the tracking of e.g. automobiles. The Wikipedia article above about the “gun show loophole” also does a reasonable job filling in some context.

http://www.pbs.org/wgbh/pages/frontline/shows/guns/procon/gu...

http://www.huffingtonpost.com/2013/01/29/gun-crime-tracing-w...
This is what good PR looks like.

In cases like this it is always FBI and the govt. which usually have the PR upper hand. They wait to find a most abhorent crime that nobody sane would want to defend (terrorism seems to work well today) and use that as an example. "Oh look everyone, Apple doesn't want to fight terrorism. We are keeping people safe and what side are they on?". It is almost too easy.

Fighting that is an uphill battle. One can present the technical details ("They could have cracked that particular model themselves") or appeal to more general ideals of freedom and privacy etc. Those typically are not as effective in convincing the average joe out there when the other side uses the "T" word.

But here they are playing the same card as FBI -- using a crime that most people can fear -- their phone getting stolen, their identity used. Everyone has heard stories, has friends at least who this happened to and so on. So it works well. Terrorism is more scary, but this is more real. Great work.
What does "position in the market" mean? You can't mean "luxury/upmarket" or "used green and brown and hand drawn graphics in ad copy". Can you give an example of a company positioned as non-sweatshop? I only know a few niche firms, like Amricant Apparel.
Yeah, no chief or despot or king or prime minister ever took a nation or tribe to war with the explicit goal of reducing the number of young men in the population. However, when you have a bunch of extra young men looking for something to do, as opposed to a shortage of same (i.e. not enough of them to do the things that need doing), the opportunity cost of going to war also goes down. So nations with a surplus of young men are more likely to go to war.
It really casts the lie to the quality of work done by high-valuation companies.
I still have sheets of those stickers. They are perfect for putting on laptop webcams.
"My understanding of many of the most recent military engagements by the US is that they are basically sandbox experiments for prototyping new warfare tech and tactics, especially to study things like asymmetric urban warfare in which the distinction between combatant and civilian is difficult."

And my "understanding" of how gravity works is that the Earth is carried around the Sun by a giant invisible rottweiler dog. If I can't back it up, though, I'm not going to get my Rottweiler Theory through peer review. What do you back up your "understanding" with?
Down on the very bottom of the page is a seemingly mistyped link to the video where Andy Tanenbaum discusses the lessons learned.

http://cacm.acm.org/videos/lessons-learned-from-30-years-of-...

The above just redirects to vimeo:

https://vimeo.com/154212224
You and Krugman are sinplistically ignoring complex macro effects, like someone sacrificing their previous home and skillset, moving to a new city for the promise of a better job, and getting stuck. Look at the laborers trapped in Qatar with no passports, or everyone involved in labor that involves human trafficking, as an extreme but not unique example.

And suffering the externalities of, for example, a polluting factory in their town.
Apple Campus 2: March 2016 Progress Update [video]
Your opinion. If compare to Macs vs PCs or iOS vs Android, it's the complete opposite.
"Maximizing shareholder value" is essentially a myth. Management has wide latitude in deciding how to make long term bets for the brand. Management's job is to decide almost all questions, shareholders choose to buy and sell.

Shareholders have no liability for crimes and torts, management does.
I will admit it's pretty subjective. I will also be the first to admit Blender takes a lot of getting used to. But as someone who has used both Maya and Blender extensively, I can confidently say I much prefer Blender for most modeling tasks, retopology, etc. It also has some very wonderful UV unwrapping tools. If you haven't used Blender recently, you might want to take another look at it. It is a radically different tool than it was two years ago.
> my suspicion is that if one is undefined behavior the other probably is too

I would suspect otherwise. I have no particularly good reason for that, but the cases with and without warnings match to my expectations of what's valid and what's not. Intuitively, I'd expect pointers can point to any valid memory, while array accesses can only be done within the dimensions of the array.
It's been three years since the reorg. How did that work out?
Yes, and every time you choose not to do anything horrible for money, the buyer might find someone else. So?
> Calculating the size of a static array.

std::size is in C++17: http://en.cppreference.com/w/cpp/iterator/size
That advice can't work, as advice. We need better whistleblower laws and layouts.
Coincidentally, just today my friend was talking about terminal based browser, and I opened w3m, only to discover that it displays images now. I still couldn't figure out how it does that, so thought I might as well just ask here as it seems to be doing something similar here.
No, it doesn't, which is why I said this is better implemented with a template :)
Influential “ego depletion” psychological theory may be debunked
The best numbers to use are the prices, which they also cite.

Granted, there are still multiple factors at work and you need to take several measurements.
Show HN: KCRW Morning Becomes Eclectic Spotify Playlist Generator
Also PR. It's not just this article, either -- the founder gives talks and interviews pretty regularly, it appears.
Give a few examples of companies that are father successful but didn't skirt the law. Compare to ones that have.
That was true up to about 1900 or so. But most wars since then have been an economic lose for the side that started them.
That's quite smart, using the two 200MHz PRU cores to do the capture. It's also a sad commentary on the state of CPU designs, where we now have GHz processors that can't sample the state of an IO pin in 200ns to save their life.
It should be simpler than that. The US went to war without declaring war. This meant there would be no capitulation. No formal occupation. No end to the pseudo-occupation. No plan for what to do when the same patrol got blown up on the same road as last week and the week before. If we had stuck to the recipe for how to do war, we'd probably not be in the mess we are in.
Export Document to OneNote Format and Setting Output Image Resolution Using Java
I'm guessing you've never driven a Model S?

If you like the way a high-end electric car drives, there's little comparison between a Model S and the BMW/Benz.

And Tesla has completely changed the paradigm of car design and manufacturing. The fact that it can add self-driving to its cars with an over-the-air software update is amazing.

People might buy for the zero emissions but they stay for the ride.
You are wrong about that.

WWI eventually defined total war, and no doubt its legacy was the primary reason France just surrendered to the Germans in 1941. The entire population had simply had enough.

Hell, Sherman was fighting total war in 1864.
Can you give more detail? I'm an alum ('10) who was majorly involved in student government but now have little insight into what's going on.
And also don't get paid for their involvement.
I think most of us are fine with the government being able to decap our phones and steal data, or at least try. I'm fine with that because It cost money and time and would be difficult for them to do in a massive, dragnet style operation.

The idea is once they have the phone they can do whatever they want with it, but they can't go to a manufacturer and force them to weaken the security of _all_ phones because they don't want to do any work.
Here is another cool one http://bl.ocks.org/newby-jay/767c5ffdbbe43b65902f
How does ITIL enable outsourcing?
disclaimer This is my first Show HN, hope I followed the rules but will be watching this to adjust / respond to any feedback.

Quick little app that builds Spotify playlists for any KCRW Morning Becomes Eclectic playlist (by date). You can play directly in app or download / save to your own account to take with you.

Feedback -- positive / negative -- greatly appreciated.
Ultimately, all security is founded on a basis of trust. Be it trust that their word is good, their signature is difficult to forge, their code they open-source is actually what is running, etc. We trust these companies to do right by us as their customers.
Ask HN: Shouldn't the team behind parse-server just make a bid for parse.com?
1. Get a price tag from FB

2. Kickstart a campaign

3. See if 500k developers support it

4. Buy it and continue from there instead of starting from scratch

Upvote if you agree.
Revelatte – The waiting is the hardest part
Not when they're dead, which is the case of syed farook.
I come up with 4.9%. 1.35 billion in China, and assuming 34 million more men than women, that gives 692 million men and 658 million women. 34 million of those 692 million men do not have a corresponding woman. 34/692 = 0.04913294797688.
"Okay Bob, what are you working on today?"

"Ah, I'm handling support tickets. Same as I did yesterday, the day before that, the week before that, and the month before that."

"Any roadblocks?"

"Nope, I'm tier one support. When I can't quickly handle an issue, I push it up the support ladder. I don't have any roadblocks today, and I won't have any roadblocks tomorrow or the day after, or even the week after that. Unless of course you mean the 4 missed support calls that just occurred because I was on the SCRUM call."
std::tuple is essentially an "anonymous" struct -- there's no allocation involved
> The 5th amendment guarantees that you can't be forced to incriminate yourself.

It does, and my example was hyperbolic to my detriment by bringing in the 5th. The point I was trying to make was that the act you described (a manual signature to enable a search) was equally transgressive in my eyes.

The 1st Amendment does prohibit government-compelled speech, of which the act of digitally signing is (by analogy to signing) expressive conduct that merits protection. That alone should be sufficient to stop this case.

Your example doesn't apply here. For one, as far as I can tell, being forced to reveal one's own encryption key remains an unsettled matter (I would argue 5th Amendment protections apply, were I before the court). Apple is not being asked to supply something that they possess, they are being asked to use something that they possess, to create something that doesn't exist, to give to the government in order to enable a search. The government hasn't established if they have exhausted their own resources, they haven't (to my knowledge) proposed payment for Apple's services (which would as I see it constitute taking), and they haven't established the probative value of what might be on the phone (probably zip). And, if the product of this search were to come up in court, Apple would have to testify to their methods and be subject to cross-examination.

This whole situation is a tire fire.
OpenVDB: a C++ library for sparse volumetric data
The FAQ[0] says it uses xv to display images. My guess would be that w3m generates a borderless X window running xv set to run on top, then manipulates that window to follow the scroll behavior.

[0] - http://w3m.sourceforge.net/FAQ
One problem is, in C at least, the compiler has no way to know that the contents pointed to by p have reached their end of life. All these examples use malloc() and free(), but these two names are purely convention, and any names and memory management methods can be used with different names. And implications for the contents.

But there is another problem too - the free() might (should:) use a mutex while it does its work, but another thread could be woken up during the free() postamble, after the mutex has been released but before the caller resumes execution - or even between the == comparison and the second free() - call malloc(), and the implementation might be one that re-uses the most recent free(). Which would mess up the other thread wonderfully.

Neither of the above rely on any kind of mapping between the C variable p and the underlying hardware. This is deliberate. C is defined as an abstract grammar and semantics set, primarily because by that era it was painfully recognised that inventing new HLL's for each new hardware architecture was a losing proposition. There were so many of them, and those languages were not transportable. The essence beauty of C was it is simple enough to be implemented on any level from direct hardware out to as many layers of VM as one could wish for. And really only required the execution machine model to be Turing complete. Its early use was all done to the metal, hence the inherited impression that C pointers are hardware pointers, but really only when used at the metal is this likely to be true. And typically, these days, one finds architectural specific extensions, such as intrinsics, that allow metal access from C to the custom parts of the hardware.

The still painful part of C though is where its architectural independence intrudes. Such as, sizeof(int) being the native hardware size of an integer. 8, 16, 24, 32, 36, 48, 64, I've suffered from them all. Similarly, sizeof(enum) is undefined. The language only stats it must be large enough to represent all its values. I have found the compiler definition differences of bool to also be very frustrating. I grew into software from a hardware design background, and to me

a & true == a

is always true. Or should be. The language defines boolean values as 0 for false and any other value for true. Most compilers choose 1 for true - enum style. So then

((a & true) == a) && ((a == 0) || (a == 1))

Useless when trying to deal with metal and bitflag registers (clearly not the literal true, rather when somewhere else a variable has been set to true and later is used as a mask).

Some compilers have compile command options or #pragmas for forcing the issue, but there is no standard for these. Still. These indefinites can cause serious and sometimes difficult to debug problems when the binary structures containing these things have to be shared between different architectures. Not to mention endian-ness.

All told though, C is still easier than ASM, which usually _is_ specific to the hardware architecture.
But from 1999. There's been progress since then.
There are quantitative tests for THC and its metabolites. A quantitative test can be dialed to whatever threshold you want, within the lower limit of detection for the methodology.. Demonstrate that most people are "under the influence" at a threshold value, then set policy to that value. This is just a matter of political will and influence. Many studies have been done, enough to design specific 'influence' studies (for driving, etc).
Under the new leadership of Satya Nadella, Microsoft was reorganized in 2015 - http://news.microsoft.com/2015/06/17/satya-nadella-email-to-...
Mysterious repeating signals arriving from deep space
flying the day after 9/11 was the safest time, I really doubt this sort of thing will happen again to the same software
> The encryption technology built into today’s iPhone represents the best data security available to consumers.

I appreciate Apple's willingness to fight, but this article could have benefited from less bragging PR talk and a little more humility. If the issue really is larger than Apple (and they are claiming it is) then we don't need this kind of messaging.

The message is that being forced to create a backdoor is bad for everyone, and they're doing it to Apple today but they'll do it for everyone else tomorrow.
Satya shot that reorg in the head. As far as I know it was not really rolled out.
Pointer World