skysight-inc/HackerNews huggingface dataset:
One reservation I have about “optional” (and for that matter, “shared_ptr” and other objects that directly store their tracking in an object) is that object-oriented storage models do not necessarily make sense for tiny objects.

If you have a lot of optional data, or a lot of reference counts, etc. it can make a lot more sense structurally to gather the state of all variables in one place. For instance: if you have 10 optional fields in a structure, create a single set of 10 bit flags to track them all; the result is much smaller than 10 “optional” objects ever could be. The last thing you want is a ton of padding across millions of objects in your program; this starts to affect everything from efficient use of caches to maximum memory capacity.

It just seems a bit of a slippery slope; optional<> might start showing up all over the place as the One True Way To Optional things, without regard for the unnecessary padding and/or wrapping of data.

The only way to really do this “for free” is to have the compiler keep track of what was ever set, as Swift appears to do, keeping the tracking out of the memory or run-time footprint.
What exactly is BFT? Proof-of-stake doesn't reach consensus (https://download.wpsoftware.net/bitcoin/pos.pdf) and it's unclear what this Tendermint is using? Do you have any data to back your claims up?
The right gut microbes help infants grow: watershed moment in global health
A pretty good overview of reverse proxies can be found in [1]... spoiler: nginx is NOT one of the best-of-breed. Compliance was/is indeed an issue.

1. http://www.slideshare.net/bryan_call/choosing-a-proxy-server...
if anything white males are underrepresented and asian males are overrepresented.
The blog post directly from Dice has slightly more information: http://insights.dice.com/2016/03/02/dice-report-gender-plays...

It also links to a more in depth look at what they call the "position gap", which addresses some people's comments about the original article hinging on controlling for education, experience, and job title: http://media.dice.com/report/february-2015-the-position-gap/

(I'd call the IEEE post blog spam, personally. It's barely more than a collection of quotes from elsewhere, and "IEEE" with "Study" in the title gives this more of an air of credibility than a survey by a job search company probably deserves)
When will there be a C++XX that will actually remove bad features? Of course with a migration plan and tools.

C++ standard is pretty big, I don't personally know anyone who really knows C++.

I write C++ as my day job.
For me, this is what shortcuts are for. The start button on my keyboard is faster than mouse targeting.
Good point. As painfully explicit as Rust is at times, I'm actually slightly surprised they didn't go that route. (At least for integer sizes less than 32 bits.)
I used to save mine everywhere from emails, text files, to-do apps, Google keep, trello notebooks, and texting myself to random pieces of paper. What I use really depends on what's available to me at the time as well as the convenience.

Yesterday I just finished putting all my family cooking recipes into a single JSON file so they'll easier to digest. This morning I started on compiling all my notes to a single JSON file too, adding summaries, detailed explanations, tags, and categories. After I'm done I plan on making a nice Webapp to add, search, and view entries.
Announcing Rust 1.7
Plus, getting 2100 cycles at 75% vs. 1000 cycles at 50% is barely an improvement at all. With this particular example battery there is absolutely no reason not to discharge it completely. You get roughly the same number of watt hours before it dies, no matter what you do.
I think you have it exactly backwards. The blockchain ledger applies to anything you want to trade/communicate with traceability. Some people trade bitcoin that way, and that was a good demonstration vehicle. But blockchain can be applied to anything, not just crypto-currencies. Why not chain-of-title for real estate? Now there is the poster child for a highly manual system based on shuffling and signing very large stacks of paper.
Going public can be a risky strategy. You only want to do it when you benefit from the exposure. You do it after you're already in the position and won't want to get more. (For instance, "I am long High Yield credit") If you're still accumulating something harder to access ("I'm buying Inverse Mortgages") then you don't want to be public. You also hold yourself up to be second-guessed. It's a tradeoff.

CNBC and Bloomberg TV are full of talking heads all day long, though they only scratch the surface on potential fund managers.
Comment on “Estimating the reproducibility of psychological science”
> We need to upend the idea that family care is solely the domain of women (normalizing parental leave for fathers with newborns is a good

Don't have a kid, but I would think that an infant is better off having his mother close to him in his early months of life compared to having his father, for the simple biological reason that the mother can breast-feed, while a father can't. From what I remember reading kids who are breast-fed tend to do better in life in terms of health or being better from a psylogical point of view.
the patriarchy, duh. check your privilege, hurrrr..
Interesting when you put it like that. When I graduated i'd never heard of relo assistance let alone knew how much to ask for. If offered 2k id been very happy.
I'd be very surprised to meet a computer scientist who doesn't know what a stack is. It really is a fundamental part of computer science.
I have a similar thing. When i did the battery of SPED tests in elementary school they mentioned something about the two halves not communicating as well. What you talk about not remembering names really strikes a chord with me. Interesting to know what its called. Not that i'm sure I have the same thing but definitely seems similar.
What is tech about insurance brokerage?
True. Anyway, my link shows what you can do for your "wrists" with weights.
I enjoyed the demonstration because although I could still read it I could notice that I had to spend extra effort to do so.
Are they not first-gen?
I'm kind of a MS fanboy, but please don't believe their lies:
- VS is still not free; the community edition can only be legally used by very small companies with slim revenue
- the Xamarin acquisition will turn out to be a slap in the face of developers who want to cross target Android and WP
- the desaster of the Metro App API that has been replaced by UWP after being hailed as the future of application development for Windows (for a time, you could develop Windows 8.1 Metro Apps only on Windows 8.1 machine, not a Windows 8 machine)

Anybody doing any non-desktop application development on Windows is shouldering the full risk of obsolescence within 2 year.

I would really, really like a cooperation between Google and Microsoft in the area of the utterly braindead 90ies API of Android development by switching to XAML + C# ... ah, a man can dream!
Etsy CEO: We Need Revenue, Not a Mouthy CTO
> Did you know that at the time alcohol prohibition was instituted, fully 1/3 of the federal budget came from liquor taxes?

It's not about general funding (for which the government has many sources, including straight-up printing), but about untraced monies. Money is not all equal, and for certain purposes, taxed money is much, much less valuable than untraceable drug money.
I jumped for lateral move. For a better work environment and culture. To escape high pressure and assholes.
Unfortunately, this presents only rather old, naive notes on decompilers, with little discussion on even the advances made by Mike Van Emmerik's decompiler work, let alone newer developments like Phoenix, DIVINE, or TIE. There's actually been a lot of work on things like variable, type, and structure recovery in the past decade, but it's usually not presented as decompilers but rather static binary analysis.
> Systematically, though? Industry-wide? Is this really happening?

Probably?

The issue as best I see it is that there isn't any one cause here. So when you look at the roster of Silicon Valley CEOs and see row after row of white, male faces you could say that it's because tech is racist/sexist and prevents women/people of color from ascending to management positions in companies. Then someone might counter and say, no, it's because there are far fewer women/people of colour entering the industry at the entry level, so it's understandable that there would be a lack of representation at that level.

In reality, both of those things can be true without contradicting the other. There is both a pipeline problem going all the way back to elementary schools that presumes which career a person is going to pursue, and there are incidents of sexism and racism within the tech industry, but it's next to impossible to attribute exactly what cause and what effect go together.
>It doesn't account for differences in industry, job title, experience, etc. It's super broad.

It also doesn't account for full time covering a wide number of hours worked. Full time can be 37 hours a week or 45 hours a week, can comparing them as both just being 'full time' misses quite a lot.

>This is in large part because care for family members(children and elderly parents usually) is more often foisted upon women in our society than on men.

How it is more often foisted upon women? The social pressure on men to take deadly jobs and to work longer hours is equal to the social pressure on women to choose careers where they can take time off and be with their kids. If anything, I rather be with my kid than stuck an extra 20 hours in the office... one of these pressures is for something most people find more desirable than the other.

>We need to de-stigmatize flexible schedules.

So are we aiming for more men to take flexible schedules or for pay to not suffer when someone takes flexible schedules? Because if you want the former, it is more about the pressure to earn than the stigma on flexible work schedules. And if it is the latter, how is this fair to the people who don't get the flexible work schedules? I think the deeper problem is why are women forced in the child care role and men into the bread winning roles and how to fix that (which you do mention).
A consensus algorithm is one that ensures that multiple independent actors come to agreement about anything. In a blockchain, multiple independent miners or validators need to come to agreement about which blocks have been committed.

A fault-tolerant consensus algorithm is a consensus algorithm that can tolerate failure of any nodes (e.g. miners or validators). By failure, I'm referring to fail-stop failures, where a miner or validator crashes or goes offline. The key metric for fault-tolerant consensus algorithms is the threshold for how many failures the system can tolerate. For example, Raft is a fault-tolerant consensus algorithm can tolerate up to 49.99% of node failures.

A Byzantine fault-tolerant consensus algorithm is a fault-tolerant consensus algorithm that can tolerate not just fail-stop failures, but arbitrary failures. For example, one or more nodes that get hacked by a malicious hacker might be coordinated to subvert consensus from within. Bitcoin is exciting because it can tolerate such attacks from within (e.g. any miner) to a significant degree. Tendermint is similar, except it doesn't require significant energy expenditure for its security.

Proof-of-Stake was a family of early consensus algorithms from cryptocurrency projects that don't use PoW mining. A lot of them are terrible and suffered from the "nothing at stake" problem. For a while, the Tendermint project had been using collateral bonds to ensure that there is actually "something at stake". But Tendermit is more general than that. You can have stake with collateral posted on-or-off-chain, or, you don't need to use collateral at all. It all depends on what you're trying to build.

If you want a standalone cryptocurrency blockchain, you'll want in-chain collateral with bond deposits. But different blockchains have different requirements, so posting collateral to put something at stake may not be one of them.

Personally I think we should just avoid the term "proof of stake".

See ErisIndustries using Tendermint for ErisDB: https://github.com/eris-ltd/eris-db/blob/master/erisdb/serve...

Actually, we wrote the Ethereum virtual machine implementation that they're using. We're moving away from the EVM though, because the TMSP architecture allows for easier native-application development.

http://github.com/tendermint/tmsp

If you want proof on the security of the Tendermint consensus algorithm, it's in the Github wiki.
A merger feeding frenzy targets Orange County companies
The C++ standards committee and community has really been firing on all cylinders lately. C++ has made such enormous strides in the last few years. If you've been away from C++ for a while, check out modern C++ again. You'll be shocked by how good it's become.

Just keep away from the Google C++ style guide lines. They'll lead you very far astray.

Check out https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
for a good start on modern C++ style.
"A paper from the Open Science Collaboration (Research Articles, 28 August 2015,aac4716) attempting to replicate 100 published studies suggests that the reproducibility of psychological science is surprisingly low. We show that this article contains three statistical errors and provides no support for such a conclusion. Indeed, the data are consistent with the opposite conclusion, namely, that the reproducibility of psychological science is quite high."
There is a lot more to parenting than just breastfeeding (which can be pumped and stored ahead of time - it's not always practical).
I think this was one reason for PHP and MySQL's initial success. There were simply a lot of useful open source end user projects using it (WordPress, phpMyAdmin, MediaWiki, Drupal, SugarCRM, phpBB, Gallery, Magento) . Say what you will about the coding style and issues with these applications, but millions of people built real businesses on top of them. And I don't remember feeling like I was falling behind if I didn't write my application an entirely new way every few months. I was mostly working on solving a problem for a paying customer.
Quantum computer factors numbers, could be scaled up
Then your interview better not include reversing a linked list...
How to Run a Weekly Growth Meeting That Gets Results
Atri contacts you the same way it identifies you - via twitter. When possible, we'll email or reach out directly, but we use twitter to verify identities and know who to send the money to, so we use it to communicate as well. Once we get in contact, we can send money via ACH, paypal, bitcoin, etc
There have been deprecations like auto_ptr and gets(). But I assume you're looking for more.

You aren't going to get it. C++ is just not that language. It isn't going to have a Python 3 moment. Nor should it.

I for one am glad to be able to upgrade to new versions of the language without having to rewrite much.
Re Developers not good testers. What you say?
This can be a big debate. Developers testing their own code – what will be the testing output? All happy endings! Yes, the person who develops the code generally sees only happy paths of the product and don’t want to go in much details. Read here @ http://bit.ly/1TAIkqW
>for the simple biological reason that the mother can breast-feed, while a father can't.

While the father normally is unable to do so without effort like a woman is, they do have all the equipment and their are ways to get it functioning. Somehow I don't think people would be for that option.
What Lending Club’s falling share price means for the P2P lending sector
What Is Quantum Cryptography?
"computer lights on"
"dimmer"

no thank you.. i will use my hand
From what I remember reading kids who are breast-fed tend to do better in life in terms of health or being better from a psylogical point of view.

The former (health) is absolutely true, but it's nothing that couldn't also be solved by the mother pumping her breast milk and the father doing the actual feeding by bottle.

"bottle vs breast" is about the actual milk being fed, not the delivery method.
How to write code. Guide for engineers
I feel like these editors that pull in entire browser runtime and run JavaScript aren't really light weight or stable.

It takes about 3 seconds for Visual Studio to open on my desktop; not exactly forever.
China's Quantum Satellite Could Change Cryptography Forever
Home office desk of an interaction designer from Brooklyn, NY
His distinction between 'engineer' and 'developer' is artificial and easily criticized. That isn't what is interesting in this article. There are a lot of things that are.

Their method for avoiding the proliferation of different tools is interesting.

His discussion of the kind of people they want, once you ignore the semantics, is interesting. They want people who take responsibility and are always pushing the boundary of their knowledge into new fields. That's interesting.

My favorite part of the article was right at the end: "instead of asking questions about “why did something fail,” we want to ask why something succeeded, which is really easy to skip over."
I don't understand why people think serving a blank or janky page to your users is OK. There's no reason not to serve a completely rendered page from the server side and only enhance the UI with client-side rendering and navigation when there is a user action or other event after page load.

The test case used text in a table, which is an extremely poor example. Modern designs use a lot of images and CSS, where presenting a complete document and stylesheets allows much faster time to render than client-side rendering followed by fetching all those assets and applying styles.

The pain for your users is multiplied by the slowness of mobile devices/networks and the complexity of your UI's layout to render.
Algolia (YC W14) Is Conducting Live AMA on Hashnode. Shoot Your Question
I'm not dyslexic, but I've also experienced a similar attitude towards spelling. It's something I've always struggled with (I tend to think faster than I write, so frequently muddle words together, and words tend to 'look fine' even if I know the correct spelling - writing this I typed 'thinker' instead of 'think faster', and something like 'wierd' wouldn't stand out to me without spell-check). Fortunately it's never held me back, and deson't effect, e.g., reading, but I've definitely encountered people with an attitude along the lines of "You can't spell, therefore are an idiot" which can be fustrating.
Previously Downloaded OS X Installers No Longer Work
There is; a negative correlation. Humans are much, much less efficient when tired/overworked.
Pretty interesting stuff.

What was strange for me is that I had no problem reading 90% of that at the same pace as I usually read except for word I have never seen before.

I tend to speed read contextually skipping over words entirely. Maybe a bad thing now that i think of it...
> Seeing how even the trivial pid1 "scripts" solve the problem, it's truly baffling why Docker doesn't have a --with-reaper flag.

That doesn't fix the issue since you need to know about the issue and accept that it exists, at that point you can just as easily use one of the micro-inits available.

The alternative is to enable it by default, but now you've broken BC for the weirdo who actually expects orphan processes to be adopted by the root process they're starting.
(I'm the author of the linked article.)
At the margin, it's plausible that the effect you're describing is having an impact. But the real distinction the researchers are making is between companies that are looking to expand and those that were always intended to be small businesses. They intentionally avoided an overdetermined model ("Companies that rhyme with 'Gamma-zon' always grow huge!") and chose attributes that more generally signal the intention to grow.
Obviously. But where is the difference? If the NSA is reading your texts through the physical phone hardware or reading them off the wire, it's the same thing. In fact it's scarier if there is an encryption backdoor on their software, since it could be read remotely much easier.

If Amazon hardware is compromised, there's no reason to assume their AWS platform isn't compromised. And that puts a backdoor in a lot of web applications.
Nginx can also be used for other protocols, see stream block.
The recent collapse in worldwide bank stock prices can be
explained not so much by potential defaults in the energy/commodity complex, as by investor
recognition that banks are now not only being more tightly regulated, but that future ROE’s
will be much akin to a utility stock. Observe the collapse in bank stock prices ... Banking/finance seems to be either a screaming sector
ready to be bought or a permanently damaged victim of write-offs, tighter regulation and
significantly lower future margins. I’ll vote for the latter.

I don't want to make one paragraph representative of an industry, but it matches some other things I've read: He's omitting the massive fraud and incomptence by that sector - on an historic scale - which caused the largest economic calamity in several generations, the Great Recession of 2008 (and they and we were saved from a much worse calamity by central bankers and tax-payers). Yet he seems to forget that minor detail and calls the financial sector a "victim" and blames the regulation that will prevent another catastrophe!

It's as if the first catastrophe never happened. Perhaps that psychology, as much as anything, explains the financial sector's problems. You also see it when people in that industry complain about being 'demonized', as if they totally deny the reality for which they are criticized (and for which they've gotten off easy: bailed out by the taxpayers ad government, nobody in jail, few went out of business, and since then have returned to record profits while much of the economy stagnates).
Proposed New Swift Collections Model
I find it fantastically useful for social gatherings in my small apartment. While cooking we listen to music from the Echo, and have equal control over the music selection (vs "Who has the iPhone? Can you turn it up? Oh, it needs unlocked") and timers for cooking. It could be far more powerful with playlist creation.

After that, it's Uber, schedule, and weather on my way out the door. As I leave I ask it to turn off the lights.

So I use at least 5 of its features (and stream Pandora/NPR on it, so 7?), and find it useful. I don't think I would miss it, but I do find myself wishing for it a bit when I'm at a friend's house that doesn't have one.
>The issue as best I see it is that there isn't any one cause here. So when you look at the roster of Silicon Valley CEOs and see row after row of white, male faces you could say that it's because tech is racist/sexist and prevents women/people of color from ascending to management positions in companies.

Or it could be that CEOs are likely to result from certain factors that were only open to white men historically, but whose factors have been fixed. Even if we waved a magic wand and fixed every discrimination problem ever tonight, tomorrow you'll still see the effects of past discrimination that would have to work their way out of society. So the question would then be, do we engage in further discrimination to try to counter act the effects of past discrimination?
Fun fact: Dyslexia in Chinese is anatomically different than Dyslexia in English - so you may be dyslexic in English, but function fine in Chinese: http://www.economist.com/blogs/analects/2014/09/dyslexia-chi...