skysight-inc/HackerNews huggingface dataset:
Not really, but I know what you're experiencing.

The ssh agent forwarding info is stored in environment variables, which are then inherited by any other process spawned from your initial connection, so everything that cares knows the agent pid and where to find the agent socket.

The problem is that, with screen and tmux, the content of those environment variables outlasts their accuracy.

The solution needs to take the form of updating those environment variables. It looks like there's a .ssh_agent file that can be sourced to update it, though I'm not finding - at a skim of the docs - what creates that and when. It does only seem to contain info for a single socket, so assuming it's populated on login there's still a possibility of that data being stale:

connection 1 login
connection 1 writes info to file
connection 2 login
connection 2 writes info to file
connection 2 logout

leaves the info wrong if you try to use it from connection 1.

Better would be to store all active agent sessions. We can implement that as follows:

in .bash_profile:

if [ "$SSH_AUTH_SOCK" -a "$SSH_AGENT_PID" ]; then
exec {SSH_AGENT_INFOS_FD}>>~/.ssh_agent_infos
if flock $SSH_AGENT_INFOS_FD; then
sed -i "1i$SSH_AGENT_PID $SSH_AUTH_SOCK" ~/.ssh_agent_infos
fi
exec {SSH_AGENT_INFOS_FD}>&-
fi

This creates the file if it doesn't exist, locks it, and prepends the current session's info. It goes in .bash_profile, not .bashrc, so that it is only executed for login shells.

in .bash_logout:

if [ "$SSH_AUTH_SOCK" -a "$SSH_AGENT_PID" ]; then
flock .ssh_agent_infos sed -i "/^$SSH_AGENT_PID /d" .ssh_agent_infos
fi

This locks the file and strips out lines with a matching PID. .bash_logout is sourced on exit from a login shell.

in .bashrc, set BASH_PROMPT so that it includes the following (personally, my BASH_PROMPT is set to source ~/.bash_prompt):

exec {SSH_AGENT_INFOS_FD}>>~/.ssh_agent_infos
if flock -w 1 -s $SSH_AGENT_INFOS_FD; then
read -u $SSH_AGENT_INFOS_FD SSH_AGENT_PID SSH_AUTH_SOCK
fi
exec {SSH_AGENT_INFOS_FD}>&-

This will run every time a new prompt is generated (so, right after running the previous command, if any). It locks the file, and then reads the first line out of it to populate SSH_AGENT_ID and SSH_AUTH_SOCK. So if a shell has old values in those variables, you should just need to hit enter to repopulate them.

Note that the above assumes that, if you're logging in from multiple devices, your agents are interchangeable. If you need to keep them separate, then adjust the above to either tag the lines in .ssh_agent_infos or use multiple files.
I found the detail level close to perfect. It explains a lot of my feelings towards the recruitment process.
Confiscating a refugee's smartphone seem cruel. But also, given the sheer number of people with them there, that has to be millions of dollars in smartphones. Strange.

I'm also curious what they are going to do with the tens of thousands of life-jackets you can see piled on the shores.
> In the 1980s and 90s, knowing about computers was also a way for kids to "rebel against old people".

Growing up in the 1980s, knowing about computers was actively encouraged by all the adults in my life (parents, teachers, etc.)

While some of the particular uses of that knowledge may have been rebellious, actually gaining the knowledge itself was not.

> It was us who could teach our teachers how to use and program a computer, not the other way around.

For the people for whom that was true, IME, computer knowledge often wasn't the only thing it was true about.

> That's gone now.

No, to the extent that it was true in the 1980s and 1990s, its still true now. Most adults (including most teachers) still don't know much about computers, and its seems just as common for young people to be able exceed the teachers they are likely to have at skill with programming current computers as it was in the 1980s or 1990s. And there are plenty of rebellious applications of computer-related knowledge for the young.
Credit card numbers aren't nearly long enough to prevent a brute force attack against anything of the nature.
Well, consider that there are well documented academic studies (that I can't be bothered to look up right now) showing that most hiring processes are no better than throwing darts at a board with regards to retention rate, employee success, and every other measure of success of the HR process. The only thing that is remotely effective are IQ scores, and even then it's only a weak correlation.

So regardless of what the companies want, it's near impossible to accurately judge someone in an interview process. Even if you know what you want, it's very difficult to assess how someone is going to perform in a job through an interview process. The main benefit of interviews IMO is to help managers "buy-in" on hiring decisions.
> "We’ve seen that most engineers only have the stomach for a limited number of interviews. Investing time in the wrong companies carries a high opportunity cost."

I suspect in addition to not having the "stomach" for an unlimited number of interviews, they don't have the vacation days to burn for them. Let's say you are working already and have 10 days a year vacation (pretty standard). With these ridiculous all-day interviews, you have the ability to waste that vacation on a maximum of 10 companies, and that's if you choose not to take any "real" vacation at all during the year.

In an environment like today, where every company is ostensibly hiring yet overly picky, a job candidate potentially will waste their entire PTO balance on interviewing with companies serious about interviewing but not serious about hiring.
Or £5 ($8) a month for BT Sport, which has some Premiership football, though not all.

I'm not a [watching] sports fan — is BT Sport making much impact in Britain?
Except calibration doesn't impact colour transformation, so calibrating does very little, doubly so if your display isn't an accurate sRGB display.

Strictly in terms of calibration, it can only impact the VCGT tag of your video card, or curves. It will _not_ assure you anything on the colour reproduction front.

To properly adjust colour, which is a portion of the post's information discussed, you would need to characterize / profile the display, and then implement the resulting data.

TL;DR Calibration doesn't do a heck of a lot.
Global Warming Is Affecting Places Across the U.S
And of course the initiative has a cute mascot character, and of course the book has a manga section. Japan, keep on Japanning.

Seriously, though, this looks like a really great resource. I'd love to pick up a hard copy were I still living in Tokyo.

EDIT: Holy crap, that manga is downright apocalyptic…
Maybe, except this entire season has been leading up to it...
It's actually their official policy: "Verifiability, not truth"

Wherever mainstream journalism or authoritative sources fail, Wikipedia is right there to amplify that failure, primary sources be damned.
Winning the game requires a combination of research, caution, and instinct built up over time, all of which serve to simply avoid death. It's not nearly as much a matter of getting up enough armor or dealing enough damage as it is a matter of learning and avoiding the many instadeaths in the game, and taking advantage of the small edges that can help you survive when you're in peril.

I knew a guy who quit drinking for a week so that he could ascend. So there's that, too: don't play drunk.
The Common Parts Library (CPL) Initiative
Plus not all citations are born equal. You can use	Gawker Media as a citation, but they're no more than a series of gossip sites. Or the Daily Mail or often re-print stories taken directly from anonymous internet comments.
probably because ML is the hot new thing. People that are interested in a hot new method (especially if there "excited to learn!") instead of the results that that method can product (a better product) are prone to running down technical rabbit holes over shipping.
That'd be lovely. My insurer (in upstate NY, US) won't pay for phone consultations, period.
I think that you have a point as far as staying true to what the status codes mean, but it comes with a price. To make the resource invisible to the user by 404ing instead of 403ing, you protect yourself from people searching for endpoints that return personal info... and all urls are guessable. If you get a hit on some resource in a sea of 404s, you are that much closer to gaining private info.
That's a really poor example of success.

The Romanian court handed down [a] suspended sentence
So his actual quote isn't nearly as bad as the headline sounds. The way I read it, he's saying the government needs to talk to experts to get a better understanding of the situation and that maybe certain areas need to be clamped down on.

This being a good or bad thing would depend greatly on the specifics of what he means. Can we tolerate nuanced discussion?
Because ML/AI are feature enablers. They make a good product better, but they won't make a product successful. It's a signal that people are more interested in solving technical problems than solving business/product problems.
> If authors who have the choice overwhelmingly prefer to position their works as "literary" rather than "genre" when they could fit into either category, doesn't that say there's something asymmetric about how we treat the two?

Well, as the article says, "literary fiction is one of the larger chunks of the popular adult fiction pie." "Literary" fiction can reach a larger audience. Anecdotally, it's pretty common for me to hear an SF novel recommendation given with the proviso, "it's not like other science fiction." There's a larger audience for "fiction in general" than for speculative fiction, so it makes sense that authors would reach for that larger piece of the pie.
Your argument is in fact two arguments. First one is: "women are discriminated against". Second one is: "women are fighting back, men brought it onto themselves".

So lets go through part one, "women are oppressed", point by point.

> A hits B. Hard. ...

Violence. 70% of non-reciprocal domestic violence is committed by women against men. Article [0]. Men are primary target of every police intervention, even if it was man who reported violence committed against him by his woman partner. Lookup Duluth model. And battered men has nowhere to go - there are no shelters for male victims of DV.

> C turns D's family into indentured servants...

Slavery? What?

> ... members of G groups, which are in power in their country. ...

"Men in power". Yeah, those who are in power are mostly men. But what good comes from it for men who are not in power? Majority of homeless are men; majority of prisoners are men; majority of unemployed are men; majority of victims of DV are men. Men get longer sentences for same crimes, women get suspended sentences for things men serve time.

As for clear legal discrimination, there are multiple examples of it. Fathers' rights are a joke, draft is still for males only, selective service is for males only; men can't opt-out from parenthood, while options are available for women. As for legal discrimination of women - there is one clear-cut example and it is access to abortion.

As for your second argument. "Men had it coming, now repent for your sins". This argument is dumb beyond recognition. Even Joseph Stalin said that "The son is not responsible for the father's deeds". You seems to be not agreeing with him on only thing everyone agrees with him. And you basically place blame ON HALF OF HUMANITY, collectively. Good job!

[0] http://www.nationalpost.com/opinion/columnists/story.html?id...

If you want more sources, go here: https://www.reddit.com/r/MensRights/wiki/faq. FAQs don't bite, and I've spent enough time typing out this answer.

EDIT: word of warning, /r/MensRights is a bad place, too much vitriol. Go to /r/FeMRADebates instead.
Browse Internet freely – Tunnel through ping
Why not for low volume sites?
A lot of ML work is currently ad hoc. Not what you want in most software design and development. Accomplishment in ML and interest in ML are very different. With the hype these days an interest in ML is almost like an interest in making the computer magic.
Captive-Portal Identification Using DHCP or Router Advertisements (RAs)
Doh! But he didn't say how they moved that.
Not at a YC company, but yeah my guess would be that it's hard to get the trend followers on board with other stuff. I've anecdotally seen myself a lot of candidates (esp at the recent-university/recent-MS level) who've taken some ML courses cause it's trendy and sounds interesting but (a) don't have a serious enough interest in it or knowledge of how to apply it well enough to be a good fit on our ML teams and (b) aren't open to other roles because they sound less cool or have a perception that the day to day work will be more tedious.
The pattern matching issue with Java or C# is interesting, since all these companies generally do want mobile. So I guess the humorous point of advice for that: replace all occurrences of Java on your CV with Android, and C# with WinPhone, and you'll probably bump your chances of getting passed the pattern matching.
Direct link to book [because it's not all that obvious]:

[HTML]: http://www.wolfram.com/language/elementary-introduction/
How did coffee go from dietary no-no to health drink?
Why Do We Create Bad APIs
Yup, that's the sort of dim, obvious commentary I get from the piece. Which is why I consider it shitty art.
It's always amusing to watch editors debate whether an individual's high school can be included without a citation whilst leaving alone a massive "controversy" list of every piece of adverse information ever published about an individual, and figuring it's balanced if there's a few counter arguments in there as well.
Maybe they are looking for more practical programmers at the moment?
Pixel C review–New hardware ignores an Android tablet’s core problem: software
Severalnines adds silver lining to database management for CloudStats.me
If you interpret his unlettered remarks charitably, it's just another instance of pushing for censorship. Instead of child porn though it's terrorist propaganda. There are good arguments for censorship, though I don't think it would work out so well in America. At least he doesn't seem to know about encryption yet, though it wouldn't surprise me if once he learns he like every other politician on either side wants to ban it.
Just to be clear, it is the DNS Server, not the DNS client. So normal Windows client operating systems are not impacted.

It is still a serious exploit, but with much less wider reaching effects.
I can't tell if you forgot /s?
Sometimes 403 give away information (The resource you tried to reach exists) which you don't want to give away at all because it's much secure.
> "Second, companies dislike programmers with enterprise backgrounds. Our data shows that companies are less likely to hire programmers coming from Java or C# backgrounds."

This I totally understand. Enterprise software is systematically horrible in almost every way: terrible UI/UX, insane degrees of over engineering, high footprint, high cost, and usually at least two to three generations behind on every technological trend. Of those traits I can't stress over-engineering enough... it's epidemic everywhere but most of all in "enterprise" where you'll see insane things like simple web application servers that use gigabytes of RAM and XML schemas that lead to ten-page-long messages to do trivial things. (The use of XML at all is usually a smell unless the domain is very HTML-like such as word processing... and even there extending Markdown would be better in every way.)

It doesn't have to be that way. Those facts reflect the management pathologies that exist in large companies and governments where you have a lot of people managing software projects who don't know anything about software... lots of "pointy haired bosses." You also have a lot of dumb requirements in those areas that twist things out of alignment with what users actually want. Startups very often have the luxury of ignoring stupid requirements unless they have to interoperate with legacy stuff.

It's so bad that I've actually heard people advise startups to pass on some enterprise revenue if they can afford it (pass on REVENUE!) if it might lead them down an "enterprisey" path, since doing so would in the end result in a systematically inferior product. If the systematic diseases of enterprise are that extreme (and I think they mostly are), then I understand the desire that some startups might have to also systematically avoid developers with enterprise backgrounds.

That being said and while I do understand, I think this underestimates the versatility of a good developer. A good developer might have gone into an enterprise job because they need the money but they might be otherwise great at what they do. You can find some great developers by offering to rescue them from enterprise hellholes. Sometimes that alone is all they need to inspire a ton of motivation and loyalty. I mean, you just dragged them out of hades. They're gonna love you.
You're setting up a false dichotomy. Like advertising, your suggestion is one potential business model, but there are others. Thinking up another business model is a difficult problem, yes. But you can't stop ad blocking. Just like structural engineers have to deal with the fact that metals rust, website maintainers will have to deal with the fact that ad blocking is on its way towards ubiquity.
How Personal Branding Got Me Out of My Mother's Basement
Challenge HN: Support Open Source Software
I don't think any of our startups would exist without open source software. We use free operating systems, compilers, scripting languages, databases, web servers, content management systems... where would your startup be if you had to pay for all of these? I think those of us with successful startups owe it to those who came before us to help out those who come after us.

Stripe supports open source software by running an open source retreat. Tarsnap doesn't have unicorn-scale resources, but sponsors FreeBSD developer summits and the FreeBSD Foundation. How does your startup contribute back?
Ghostery found:

Amazon Associates (Advertising, Affiliate Marketing)
ChartBeat (Analytics)
Criteo (Advertising, Search)
DoubleClick (Advertising)
Effective Measure (Analytics, Analytics)
Krux Digital (Beacons)
MediaMath (Advertising)
Moat (Advertising)
Omniture - Adobe Analytics (Beacons)
OpenX (Advertising)
Outbrain (Widgets)
Polar Mobile (Advertising)
Sailthru Horizon (Beacons)
ScoreCard Research Beacon (Beacons, Analytics)
Twitter Button (Widgets, Social)

Way too much "Analytics" in the list.

116 requests; onload: 7.77s

Chrome DevTools timing said:

2.71s Scripting; 636ms Rendering; 210ms Painting

Dozens of reflows are visible in the flame graph! Poor mobile devices, such websites eat battery like there's no tomorrow. Summary: One hell of a page.
I'm a bit surprised that this article doesn't deal with the increasing amount of science behind neurological food reward mechanisms. The tl;dr is that our junk food (and much mass-produced food in grocery stores) has been tailored for a kind of hyper-palatability that mutes the effectiveness of our normal satiety mechanisms. So in the article's context the "nudge" is up against an evolving attack by industrial food against very low-level neurological mechanisms.

I don't have a good "lay" source for this field, but I'd recommend digging into Stephen Guyenet's blog[1], that is if you're up for wading through an academic's professional musings. He's a neurobiologist and obesity researcher, and as such the blog provides his perspectives on ongoing work (his and others') in this field. Warning: DO NOT go here expecting any specific answers, and be able to deal with a fair bit of hypothesizing (i.e. untested, maybe totally wrong) both on Guyenet's part and via the work he reviews. You'll only really get a sense of how this field is going as you pick up enough context of ongoing work. IMO, the most interesting self-contained posts that go by are the significant negative results, where robust work comes to light that just crushes an existing hypothesis.

[1] http://wholehealthsource.blogspot.com/
According to [1], watching every top football match in the UK will cost close to £100/month, which is $150. Probably less with a bit of negotiation, or switching suppliers for limited-time deals.

[1] http://www.broadbandchoices.co.uk/tv/sport/premier-league
Humble Object Pattern in Swift
> You make it sound like people don't implement static analyzers from scratch for every static language out there.

Yes, except those static analyzers are the compilers for those languages and the rules that define crappy programs are in the type system, not in ad-hoc specifications of patterns to identify for static analyzers...
Indeed, it's quite easy to shake one's head at the message of ads and stop there. Where does the demand come from? Where does the money go? Why does this system have this outcome? It's too hard to think about that, let's just condemn the ads and move on.
I prefer to store photos and videos on encrypted storage because I want to control who sees them. Storing them on unencrypted storage means I don't have that control, the storage provider does and is kind enough to let me make suggestions.

As for OneDrive, I tried it for a while but it didn't work out. Their clients and web interface were terrible and their API was severely lacking. I expect more functionality when I'm sacrificing my privacy.

I ended up going with Google Drive in the end, as you can get 1TB for $9/month with an Apps for Work Unlimited account (I actually seem to have Unlimited under that plan, which isn't supposed to happen until 4 users). That of course means sacrificing encryption but I trust Google enough to make the privacy tradeoff in exchange for extra features (OCR, Google Photos etc.).
There is nothing wrong with text-based ads.
Twitter Moments, #Discover and Attrition
I'm going to take a crazy leap here based on the commits. asm might not stand for what you think.
Great read! You mentioned various services that have equivalents in china.

Can you share a URL for tower? (trello clone).

Have you found a good replacement for google spreadsheets? I like Airtable, but its worrying what might get blocked, when.

With the GFC in the middle often accessing those from outside china is very slow, so having a global team someone has a problem. I guess there also self-hosted OSS options for services.

Good luck with KBStreet! Hopefully Tencent won't rewrite the rules on KOLs.
Hide your internet traffic from prying eyes – tunnel through ping
Node.js Interactive Conference Live Stream (reqs Signup)
Your non-linear problem of 90% utilization
Admittedly, I'm quite ignorant of the laws related, but wouldn't this be grounds for an anti-competitive lawsuit (even if the App Store terms specifically say so)?
Learning JavaScript in WordPress, Deeply
I think that irradience is difficult to pin to surface temps. From the same article:

> The current scientific consensus is that solar variations do not play a major role in driving global warming, since the measured magnitude of recent solar variation is much smaller than the forcing due to greenhouse gases. Also, solar activity in the 2010s was not higher than in the 1950s (see above), whereas global warming had risen markedly. Otherwise, the level of understanding of solar impacts on weather is low.

The last sentence and the section on hypothesized cycles basically state "we're not sure" about what the sun is doing in the long term and what it's effects on earth are.

That's okay, I'm fine with not having answers on that while science and tech catches up with nature.

What I'm not fine with is drawing extraordinary conclusions from incomplete computer simulations about man's role in climate given the primary sun and cosmic ray inputs into the system are not well understood.
I wanted to ask the same question.

Harj, is it people with ML/AI interests without experience? Does this also include PHDs? On that note, are Academic Programmers Comp Sci PHDs or from other fields?