skysight-inc/HackerNews huggingface dataset:
I've been pretty disappointed with PyCharm's support for Pytest in a Django project -- seems to be incapable of overriding the `manage.py` test runner consistently.

pytest-django has some docs[1] for how to plug into `manage.py`, but they are broken as of Django 1.10.

Anyone else had this problem?

[1]: https://github.com/pytest-dev/pytest-django/blob/master/docs...
Thanks! I hope she likes it
It seems like you did not even read the article...

> He ignores that the effect remains in graduate-level math studies

I'm not sure what "effect" you're talking about, but he points out that graduate-level math programs have about the same gender disparity as CS (explained by his theory because like you say, no one gets a PhD to teach and thus the studies shift from being about people to being about things.)

I don't know about biochem, but he explains increased enrollment in biology over other STEM fields because it's about people and/or animals, which the "women like people, men like things" theory predicts.
> It's entirely possible this happened and he just didn't change his mind.

Although he had some bad ideas it was a long memo with some valid concerns.

> Had Edward used the proper internal channels, his bad ideas would have reached the people in charge of policies and he'd have a chance to debate them and be proven wrong.

There is the crux of the problem. In a genuine discussion about these issues both parties would have left the table uniquely enlightened about heightism issues. Edward wouldn't have had to defend [the portion of] scientifically correct ideas and would have been more open to correction on his assumptions/biases. Likewise, management would have been able to more accurately understand and tackle the problems that short people face as elevator operators.
As far as I know, free speech only protects people from the government trying to put restrictions on their speech. Google is not the government and most of the contentious text in the memo is pretty clearly a form of "hate speech". Even if others are posting things that are nasty, they're not getting nearly as much traction as the initial memo and Google has every right to try and stop the spread of counter-culture messaging by its employees. You can have a single, outspoken employee poisoning the well when it goes against everything the company has publicly stated. On top of that, all the cries about Google being hypocritical because they're intolerant of intolerance is nonsense. Tolerance, by definition, requires equality and intolerance by its nature doesn't include that. It's like saying that a restaurant that's open to everyone also has to be ok with staff that have explicitly said they refuse to serve everyone. It's an obvious disconnect.
Kea vs. setState, Redux, Mobx, Dva, JumpState, Apollo, Etc.
Far and away, lifestyle is the biggest contributor. The very source I linked above claims it accounts for 74% of differences, and "access to health care accounted for much of the rest of the difference, the team found."

I'm open to contrary claims, but if you're making one at all it's a pretty loose one.
Right, but if you were a boss and a member of your team published it, would you fire him? Why or why not?

I don't find rehashing the wisdom of his decision to speak his mind as important as how everyone else responds to it. That's where the real controversy is.
Are these systems really that sought after? Recently my team and I finished a responsive hazmat application which uses mapbox, elasticsearch, and some .Net for real time DB replication (about 5 seconds). Documents and data are ingested onsite and displayed on a map for public records request with secure bulk file download. Records date back to the mid-nineties up until now. So with some ML I've created a Palantir?
>I don't know, but I would expect 7,500 to 10,000 miles per year on a normal car, hence that would have in a 130 weeks/2.5 years some 25 thousands miles top.

I think that's way low. Over the course of several years and car insurance companies, the lowest any of them would let me estimate my annual mileage was 10,000 miles/year.
I upvoted this comment since I think you made a good, salient point, but I also think that you elided the important baseline point that programming is simply more "mechanical" than work done in HR/Sales or by managers.

My impression is that most managers in the tech industry already have a good amount of experience in "mechanical" (development, etc) roles, and to even get there you need an education or experience in relevant skills (correct me if I'm wrong). I don't know about whether the proportion of women vs men with managerial roles in tech is fair, but if what the author of this article is saying is true, the required educational or professional pedigree just to get into the tech industry is probably one of the biggest causes of men vastly outnumbering women in tech already.
I'm trying to understand the implications here. Is the author suggesting that real world attack would involve randomly generating email addresses to see if they are valid or not based on whether they might match the current user. Or would the attack involve purchasing a list known email addresses from spammers, and then doing lookup against that list for every visitor that comes to your website?

Option 1 seems like it would take impossibly long to match, and I'm not sure what actionable information you get from option 2, other then maybe verifying that the email address is still active?
> And didn't the president promise to pay the legal defense of supporters of his who committed violence on his behalf to intimidate a free press?

Not to my knowledge. Are you talking about when he (perhaps jokingly) said:

> So if you see somebody getting ready to throw a tomato, knock the crap out of them. I will pay for the legal fees.
Hey thanks for the reply. That's excellent advice and I really appreciate it.

I currently am stuck to a job due to visa reasons (if I quit or get fired, I have to leave the first world) for the next 6 months. The job's quite stressful with constant sales deadlines for me to also be learning JavaScript in the evenings. I'm putting in the time but consistency has been hard to come by.

I'm thinking of relocating somewhere that isn't expensive, find a job that's cognitively not as challenging to have spare time to learn and build stuff. I need a change in my day to day right now.
Lifestyle business beats a startup, until it doesn't. I'm the example. Ran a category leading website for years until I was demolished by a fully focused bad ass team and thrown out of my leadership position. Ultimately, I was forced to sell out at a much lower valuation than I'd have if I were totally focused.
It could vary on niche and industry. But one can't generalize it one way or the other.
If you have a great position in a big sector and you don't go for the kill, someone else will and your lifestyle business would be likely chewed up by competition. If it's a business with an intrinsic moat(think a retail store in small tourist town), it's likely to sustain.
Take frequent breaks while running a bad ass startup, but don't for a while think that you can let the ball drop.
To confirm what others have said: becoming a developer will not inherently "[cut] out bureaucracy and office politics" and certainly does not hold any guarantee of being "paid decently."

That doesn't make it any less feasible if you find yourself dissatisfied with your current path. Just don't fall for an illusion of greener grass on the other side of the fence.

For a personal view: I was programming in BASIC at 12 and coding HTML not long after. And while my professional journey has been... meandering (I'm whatever the opposite of a Type A personality is), after 10+ years (not contiguous) of having some variation of web development as my primary job responsibility, I'm pretty well bored and unmotivated at this point. I've made more than I do now and been less happy and I've made less and been happier, had more/less autonomy, and in a relatively wide variety of environments: large corporation, small businesses, not-for-profits, freelance, healthcare, verticals, consumer-oriented.

And frankly, if I had ideal working conditions and made double what I do now, would I happier in general? Sure. But I wouldn't necessarily be any more excited to wake up and do that work than the day before. Because the factors you cited, while not inconsequential, can vary and change due to factors entirely out of your control. And they have no causal relationship to any particular work.

In other words, if you've eliminated all bureaucracy and office politics from the equation, and you secure a generous income, it still doesn't mean you'll feel different when your head hits the pillow at night and your eyelids lift to greet the morning.

With a 12-24 month timeframe, you may want to reflect on what your core values are—what really drives and motivates you.
1. I quoted from the middle of the article. I've read it multiples times.

2. There is a reason that particular argument is banned by the guidelines ("Please don't insinuate that someone hasn't read an article"): it's inherently uncivil.
>women are inherently less capable of being good engineers

The memo never argued that, no one defending it argues that. I urge you to read the original document.
Maybe. I believe the people who want to colonize mars will appeal to the people with money. This can be done through FUD (Were gonna destroy ourselves, we need a backup, etc) and it can also be through economic incentive (if you colonize mars, you will have all the real estate, there is precious metals/resources, vast opportunity, blah blah blah). My view is that we as a species in general want to explore and expand, and as a result you see us using techniques that will allow us to appeal to the people that can make that happen.

EDIT: Spelling
Or less. Get rid of Round Up and you'll use a lot more herbicides/pesticides.
I think incredible how much money they are not making by each movie that is not available on some stream platform.
Ghostwriting research into your own products is a colossal breach of corporate, academic, and ethical integrity.
I own a lifestyle business and I work at a startup as the founding engineer, but I work remotely.

When you work remotely, you can treat both your lifestyle business and your gig the same, insofar as you have the freedom to take an hour off your gig to do some calls for your lifestyle business in the middle of the day, or you can test particular technologies on your lifestyle business before you commit to it in your startup.

I find them both to be healthily married.

I still have the freedom to hang out with my kid at lunch, or work from a far away place, while at the same time achieving my career goals and attaining financial independence.
I agree with you, but at some point you're going to have turnover if you don't provide employees with internal flexibility and mobility. That means you're doing to be dealing with the painful process of retraining new folks for static roles either way. My viewpoint is that, if you're going to go through that process anyway, you might as well try to retain your proven talent at the same time.

I did put it on the bottom of my list though because I think lots of folks will actually tolerate being shoehorned if the employer doesn't make any of the other mistakes listed.
This is a rediculous assertion
How Strava groups GPS activities in time and space
Funny (alternate) facts :

- Amiga is behind the novel "Ready Player One" (so they will make a craaaazy comeback)

- Trump paid GRRM for ASOF&I (so the people enjoy the mix of politics and mental illness)

- Hollywood is highly connected with cigarette manufacturers, liquor manufacturers and (of course) the US army.
I saw the links. No expert on the actual matter at hand (women participation in tech) would consider them relevant at all to the issue.
I can't tell if this is sarcasm - you realize this is just "median American lifestyle," right?

The idea that you can afford a house and a boat and time with your kids on a single upper middle class income in, say, Missouri is called "normal" outside of SF/NYC.
Then the post should be flagged.
This is an issue for those of us who do anonymous peer review of publications that include references to the authors' web sites. It's bad enough that people have tried to identify me just by location in their logs.

I recommend using Tor now. But most people won't.
So you know that it's entirely possible to write something that's "based on facts" -- with nice diagrams and all! -- yet when we consider the whole cloth of what's being said, it turns out to be fatally flawed -- and basically a load of tripe?

That's what this "manifesto" was.
Many of those folks are probably chill because they are established and have tenure.

People switching careers at 40 or 50 aren't going to be established and have tenure after a few years in academia.
I am in the first because I don't think you should change history. But I think there is a need for tools that can show history like it would look after rebasing and squashing.
"Ada allows for errors just as well."

Although the source of the Operand Error has been
identified, this in itself did not cause the mission to
fail. The specification of the exception-handling
mechanism also contributed to the failure. In the event
of any kind of exception, the system specification
stated that: the failure should be indicated on the
databus, the failure context should be stored in an
EEPROM memory (which was recovered and read out for
Ariane 501), and finally, the SRI processor should be
shut down.

In any case, I'd argue that converting a 64-bit float into a 16-bit integer is a much different class of problem from mixing up assignment and comparison operators. But yes, you're right, even Ada is not perfect.

"Besides, they do rockets in C just as well (with certain rules)."

Yes, they do. Those "certain rules" are codified in the MISRA C standard (or derivatives thereof, like with the JPL and JSF coding standards). Said standard is way more strict than the sort of thing normally implied by "C programming".
There's a mostly-dead generative art mailing list and slack (http://generative-art.slack.com), and the official stuff is on github (http://nanogenmo.github.io), but most of the off-season discussion is actually on the botally slack (despite that actually being oriented toward twitter artbots) because of a big overlap between the two communities.

The story generator idea you described above is an example of templating, & it's used pretty often. It's easy to make a good looking chunk of story that way, but difficult to make a 50k word novella that's readable (the target of nanogenmo).
The complexity was more in our customers application logic then in Stripe. Stripe understandably enforces quite a few sensible limits that 'normal' usage probably wouldn't hit. For us the 2 biggies were:

* There is a (undocumented?) limit of 25 subscriptions per customer. Our client sells a la carte services and some large customers have quite a bit more then 25 things. Subscription items partially solve this EXCEPT everything in a subscription must bill on the same-cycle and...

* Our client had a requirement to maintain the existing billing cycles for all customers (and enforce specific start dates for new subscription).

These two limits meant we had to bundle existing services into Subscriptions during the migration and use the "trial period" feature (as a "start_date") to force the billing cycle for each bundle. The worst case customer had I believe 18 different billing cycles for their services in the end so we got lucky. (we also had to figure out a way to name the bundles in the UI and the CC statement descriptor etc).

In the end this saves on transaction fees and reduces the clutter on their CC statements but cost quite a bit of development effort to do and makes the code managing "subscription" starts and stops a bit complex.
Not sure how much "willingness to pay" makes sense. This is more about taking advantage of money which would otherwise be left on the table. If you aren't going out of your way to spend on cards, and all you need to do is shift spending onto certain cards for certain purchases during the first X months in order to get a nice point bonus, seems like a nice way to get a free vacation.
I strongly agree with this.

In the past, I've valued HN as source of uncommonly good discussion. I still feel that way about how pure-tech topics are handled here, and I think HN remains better than 90% of other discussion fora for politics. (Twitter, anyone?) But "better than 90% of alternatives" is completely compatible with "reductive, vicious, and uninformed".

A particular frustration of mine: the scattering of dialogue across multiple comment trees over multiple posts. There are snippets of quality discussion, but they're broken across ~8 different posts. There's no particular way to find them when they're not highly voted, or keep the quality high after they become popular.

Meanwhile every single post has multiple instances of "The original essay is clearly inaccurate, so..." "Sources?" (Or conversely: "Is clearly backed by science, so..." "Sources?") I'm not sure either person in the exchange is behaving badly - the first person wants to make a conditional point without litigating the condition, the second person doesn't want to concede something uncited as objective fact. But the result is that every post is full of horrible, discussion derailing fights over whatever sources two random people can throw at each other.

However one feels about a given exchange, it ought to be fairly obvious that replaying the dispute fifty times with varying sources and no acknowledgement of the other instances is a terrible way to make any kind of progress.

I don't know what can be done about it within the HN format, though.
> It's hard not to get defensive when...

I thought classical liberals were incapable of emotional involvement in a rational discussion.
You have no idea what you're talking about, and are ignoring most of the 20th Century.
How Does SEO Work in 2017?
"The enemy of my enemy is my friend"? :P
Such a confusing name. I thought this was the .NET Spec publication. Still better than .NET 365 Premium Plus I guess :-)
How does that work? I always assumed that they were still using the disc brakes but harnessing that somehow to recharge the battery
Sharing with Virustotal is not same as sharing it with ‘anyone’ i suppose, possibility of downloading files is not acceptable.
Nobody thinks you "need" it, but staples are cheap, easy, shelf-stable, unrefrigerated, and at least appear healthy.

If we're going to feed billions of people, it's probably going to involve staples.
Ethereum is Coding's New Wild West
Your attempt at sarcasm aside, you don't change the law with badly-written nonsensical disclaimers.
A function returns a value. It doesn't really apply in C type dialects because everything is a function, but in Pascal type dialects, they were distinct as they are in PLSQL and TSQL. If you wrote anything in Delphi, you would have to know that, thus why we asked it. It's actually declared that way.

procedure ShowTime; // A procedure with no parameters
begin
// Display the current date and time
ShowMessage('Date and time is '+DateTimeToStr(Now));
end;

function Average(a, b, c : Extended) : Extended;
begin
// return the average of the 3 passed numbers
Result := Mean(a, b, c);
end;

Edit: thanks for the formatting tip.

http://www.delphibasics.co.uk/Article.asp?Name=Routines
This is a solved problem with dep. Switch your Go projects to dep today.

This never works correctly for me and I have no idea why. I haven't written enough Go lately to get this sorted – but it's definitely not quite so obvious.

This is the journey of every Go programmer:*

There are steps after that though:

Oh, I guess I have to copy that code from before. No big deal.
Oh, right. I have to copy it again, with some changes? I guess that's okay.
Wait, did I fix this bug in the other copies too?
fire and burning pain.
There was a interesting book I had when I was a kid. Its was about all the underground infrastructure by David Macaulay.

Google books has some pages :

https://books.google.com/books?id=Lqav0No51cEC&pg=PA92&sourc...
Whatever you need to tell yourself, buddy. I'm sure that was your first option.

> Logan's Run coworkers

What does this even mean?
Pricing is per household, so a family of four spends the same as an single individual.
This is a dangerous level of indirection. "The whole of the message". Sounds like you are reading into what it says, ...

No, it's called "assessing it qualitatively as well as quantitatively".

Which is a very useful skill, actually.
This guy is about to get roasted...
London is its own bubble. The part of the UK I'm in, £35k is the going rate for a senior software developer.
Generally deaths at all ages are tracked and considered in the life expectancy. There was a website posted here where you could enter your age and location and it would tell you how much longer you had to live :-) (yes it was click bait but it also had a great discussion about how life expectancy was calculated and how the number varied primarily by age, location, and socio-economic status. Other factors such as smoking or not had a big impact the effects on the median value quickly tailed off.
> We look for work-from-home experience and affinity

Great, back to the "you've gotta have experience to get experience" dance.
VP Biden said Romney would put the black community back in chains.

Romeney had the intimidation factor of a house plant.
GraphQL vs. REST
conscious that this probably sounds glib...

mandates and has are (in my experience) very different things in military systems. I would suspect that the police systems, as are a lot of military systems, far less likely to be airgapped mostly for purposes of convienience

I think the article is making the point that they are 'successful' in an economic sense but posing the question of whether this is an appropriate place for that type of success or the pursuit of that type of success. The potential for malfeasance seems particularly high.
With your first example, you could do that but it wouldn't be realistic to do that. Like I said, you'd have to know the admin's logged in Google email address already and then they'd have to sit on that page for over 2 hours before you even hit a statistical probability of a match. It would really only work if you were trying to target one specific person. If you were fishing for users from a leak of users or something, this would literally do nothing.

As for the Reddit option, Reddit would already know if the celebrities were redditors because they'd have to know their email address in advance anyways for this trick to work. No celebrity is going to risk setting up a Reddit account without an email address so Reddit already has that info. On top of that, what's reddit going to do with a celebrity's email address and username? It's already required for verification on anything important a celebrity would use it for (like an AMA or promos).

Val Kilmer is a redditor. What exactly would I gain from knowing if Val Kilmer is logged in to his Google account?
United Nations Human Rights Discusses Universal Basic Income
I don't think that's fair. More – "Go suggested I think in a different way, then I did it and it still wasn't good like it was advertised, and now I'm going"
Eventually I think AI safety will be solved through some mixture of design choices, supervision/monitoring, and human-administered "incentives" for good behavior (not unlike the reward signals in reinforcement learning).

But to flesh that out in detail requires a specific AGI design, something we're far from achieving. The current inability to get specific is probably why AI risk doesn't get more attention (though it does get a lot).

I've written about this topic more here: http://www.basicai.org/blog/ai-risk-2017-08-08.html
It doesn't matter how Edward spread his ideas. He was fired because he had a thoughtcrime.