skysight-inc/HackerNews huggingface dataset:
The people who the software is for, end users, rarely care which language/framework things are written in.

We as developers can get too focussed on optimizing and making our own lives easier and the net output to the end-user is relatively the same.

This does not mean to ignore what's out there that's new, but if you see a platform re-inventing features and libraries that have existed already for years in other platforms, you might be in for a few years of patching together things.
Well... Appropriate for the discussion. So I would say, if the discussion is appropriate (for Hacker News) then so is the posting.
No problem -- I just re-read your first comment and I don't think that's what it said, but apparently we're in agreement ;-)
Well, I was making the point that, at some point, Ancient Greek was more morphologically complex than any variation of English (which is true to my knowledge).

I agree that we can accomplish specific meanings without explicit grammatical structure, but the rabbit hole we were tumbling down was the simple idea that the prominence of a grammatical construct might facilitate a different kind of thinking than in a language that doesn't contain said construct.

Grammatical gender is a rarely-useful concept, I agree.
Makes sense to me. I've always wanted to get involved in a cool open source project. Anyone want to get this started? Make it a free time activity or something? Or are there already better solutions out there? No need to reinvent the wheel.
"These parents want more help doing so"

There are parents who feel so strongly about filtering their children's access to the internet they were willing to put pressure on politicians to strongarm ISPs into implementing opt-in filters, but aren't willing to click the big "parental controls" button that was already on their ISP's website? That sounds incredibly unlikely.
> Supporting iOS 6 and 7 visuals at the same time just means your app looks out of place in both versions.

Assuming you want it to look exactly the same on both. I have an app that offers a flat, stylised look on iOS 6 and a completely native iOS 7 look on iOS 7.
> flu like symptoms for a week

People assume that's a bad thing, but that's not a trivial assumption. Yes, it's not convenient - but e.g. fever - while indicative of a disease, is most of the time a good thing (unless it is life threatening, taking down the fever with Tylenol or Advil is likely to prolong the disease). Those flu- like symptoms might be a good, if uncomfortable, process.

I don't know myself - I'm just pointing out that it is not necessarily an indication that keto is bad for you.
From a single seed
What the article completely ignores is the fact that there are plenty of security issues in the implementation of the PHP interpreter. Just compare the number of security advisories for bugs in PHP itself to bugs in Python/Perl/Ruby/etc. There is a difference.
The headline is false. As repeated problems like https://www.idontplaydarts.com/2010/07/mongodb-is-vulnerable... demonstrate, PHP is routinely vulnerable to security problems that other languages are not.

The reasons are a combination of things. The language tries to volunteer to do too much for you by default. The environment it is run in tries to do too much for you by default. The past defaults were even worse. A lot of available software in PHP was written with no attention to security, and it still shows. And it has attracted a community that fails to recognize these things as problems.

Yes, in theory you can write PHP and make it as secure as anything else. In practice it doesn't happen that way. And until PHP developers stop patting themselves on the back and assuring themselves that they are really OK, they will continue to have big problems.
One more to add to the long list of reasons not to work at EA.
Ask HN: Why did this post cost me 10% of subscribers?
A few days ago I published a post with the title: In 2014, if you want happiness, choose work

After this post my number of subscribers decreased almost 10%. This made me curious: why did this happen?

Was it because of my tone? Was because of some bad english? Or was because people don't agree with my point? And if it is because of this last one, why not?

I'm interested in knowing the point of view from the people of HN.

EDIT: I forgot the url for the blog post - http://danielflopes.com/choosework/
The reality is that bringing a lawsuit against a former employee is a huge expense and as others have mentioned - unlikely to even get anywhere.

So unless you want to cherry pick extremely unlikely situations, this separation agreement clause is a no-op and probably worth signing.
> Please bear with me as I draw an analogy using history. In 1865 the U.S. government abolished slavery. [...], and it wasn't until 2008 that we elected our first African American president. Doing the math it took 143 years before African American were supposedly on equal political footing!

By this logic, I guess white women are (politically) disadvantaged compared to black (men) today?
We run something which could be considered a lifestyle tech business. Several of our staff, including women, have had kids and come back to work with us. One of our developers is in fact coming back from 6 months paternity leave this month.
The original plan was for ~5 years as a transition period. Now that most of the popular libraries work with 3, there's a lot less holding people back (note dependency problems affect most of the responders). Also some of the cool features have been back-ported to 2.x so even projects that haven't migrated are benefiting.
What has been working for me (I've lost 8kg in 4 months) is Weight Watchers - not the meetings, just access to their points-rated food database via Web and App, which makes keeping track of your points budget reasonably convenient.

The biggest advantage is that you don't have to make any fundamental changes to your diet or habits and it's flexible enough to accommodate occasional big, unhealthy meals - so there's not too much self control necessary to stick with it.

It also subtly pushes you towards eating fruit and veggies because most of those have no points and thus can be eaten at any time, as much as you want.
Biggest dependency still keeping me back is Twisted, progress: http://twistedmatrix.com/trac/wiki/Plan/Python3

It's either that or writing some blocking code or something. No thanks.
Wouldn't it be wiser to choose a hypermedia format for the API, and then use a generic hypermedia client on whichever platform you like? Then you write just as many client libraries (zero), but the problem of pushing updates to your clients is solved as well.

Full disclosure: I wrote such a library for Ruby, called HyperResource.
https://github.com/gamache/hyperresource
There's a coin for that! http://catcoins.biz/
Um...anyone ever heard of the term "military-industrial complex"[1]? I would opine that the decline of this is a good thing. You might be able to trace a bunch of evil things to it. For example, NSA spying and the invasion of Iraq.

I assure you that the chances of the defense industry running out of things to produce in the USA are wildly exaggerated. The article sounds like a shill piece for the defense industry.

[1] http://en.wikipedia.org/wiki/Military%E2%80%93industrial_com...
The url to the blog post: http://danielflopes.com/choosework/
British Telecom opt-out parental controls panel screenshot
It helps to have a supportive spouse/SO. It helps that my father was a lifelong entrepreneur and is there for advice/help. It helps to be good at many different things. It helps to be able to learn to be good at something very quickly. It helps to be able to learn to figure out "good enough" quickly.
I definitely do not buy the strong Sapir-Whorf at all.

I do not believe someone is explicitly constrained by the language, but I do believe that the explicit existence of certain concepts can facilitate a different kind of thinking more naturally than in other languages, which is the only real point I'm trying to back up.
I think mpyne was saying that there are plenty of people that go through the legal system and don't kill themselves. I don't think it had anything to do with comparing suicide rates in prison with other people. But instead pointing out that many, many, many people who are facing prison do not kill themselves. Some do. (adding my own opinion) But some people also kill themselves when facing divorce. Or job loss. Or Christmas. Depression is an illness. Depression lies.
Running Android emulator in the CI environments
correct, I should have made that explicit
I find these responses promising. I see some negativity here that after 5 years, over half of the devs are still on Python 2. But reading some of the threads in the last few weeks, you would assume that fewer than 5% of all people attempting Python 3 stuck with it. And this survey, if it is representative of the community at large, obviously doesn't show that.

Sure, more people use Python 2 than 3, but is that really surprising with the legacy code out there? The point is that Python 3 is also being used quite a bit.
Victoria's Secret model who codes in her spare time
In the fictional novel "Lost Boys" (the author's name tends to start flamewars on HN so I'm not mentioning it), a software developer travels across the country with his family to a new job and is presented with a horrible IP contract. He sweats and is nervous and anxious about it all weekend, and on Monday he tells his boss he won't sign it. The boss shrugs and pulls an alternate contract out of a drawer and hands it to the developer. They give the first contract to people who won't bother reading it, and the second (read: "fair") contract to anyone who has an issue with the first.
This is nothing more than an advertisement for this conference next year that I have never heard of.
When you are programmatically trying to unscramble something that has been encrypted, you end up trying a bunch of different keys. When you try a key and you want to know if the unscrambling worked, you can check the letter frequency distribution in your result against the letter frequency distribution of a big English corpus. If the distributions are close, you can be more confident that your key is correct.

It actually works pretty well. You end up having to do something like this pretty early on in the Matasano crypto challenge problems.
Rex: a palm-sized, single-board computer to power your robots.
Some of the best coders I've seen probably have negative LOC/month counts.
sure, but it doesn't work. that's why companies give out equity and options, instead of trying to blackmail their recruitment targets. and startups around here described as being run by a bully implode or close soon thereafter.
The problem is a lot of iOS 6 apps don't use mostly native UI. The article touches on this when talking about all their custom code because previous iOS components were not as easily customizable. My next update will be iOS 7 only, at which point I plan to drop a lot of custom code and switch back to mostly native UI.
Maybe you don't have anything disparaging to say right now. But that may change dramatically in the future.

Crass example, let's say you worked at a bank, parted on good terms, signed such an agreement. A few months later it turned out the bank had been laundering billions of dollars of drug money. This has no affect on the agreement you signed. Still got nothing disparaging to say?
I think that's hogwash. The things you suggested:

> It's about right clicking with your mouse to see if there are any other options available. Googling for your answer before you ask someone else. Asking questions on stackoverflow. Hacking and reading at night to figure out something that may or may not be for work. Recompiling the source code to make it bend to your will.

These are things people can be trained to do.

The real problem here is that software engineering is still in the dark ages. We overvalue people who have been "hacking since middle school" because we can't systematically articulate the skills a good programmer should have and how we can train people in those skills. But this is purely a function of the immaturity of the field. There is nothing magic about software development that requires it to be perpetually stuck in the dark ages of ad-hoc craft.
1. Free speech means you have a right to say what you want, but it doesn't mean you cannot voluntarily give up this right in part.

2. What part of this is duress? Nothing unlawful is going on; the author wasn't legally entitled to severance pay, even if withholding it is unprofessional.
I don't think that employers pay any premium whatsoever for these extra clauses. Have you ever heard of jobs with these conditions being paid more?

So exactly what "consideration" are you talking about?
We're a small team of football fans and we recently made a game in that area for iOS devices. It's called Football Heroes. We'd love your feedback!

https://itunes.apple.com/us/app/football-heroes/id543009156?...
I know the link says .pdf at the end, but it's actually a webpage with the option to download a pdf. https://wiki.python.org/moin/2.x-vs-3.x-survey?action=Attach...
First you would have to get contractually guaranteed severance pay, which is a lot more than most people get.
My mom became a doctor in the late 60s, when there was still a good deal of real sexism towards women (she was the only woman doctor at the college) - she had her lab work sabotaged among other things. (Before becoming a doctor, she started majoring in computer science, of all things.)

So why did women start becoming doctors? Is it because we went out of our way to create special programs, incentives, interest, and reverse discrimination for them?

No.

Women became doctors because they wanted to, and now sexism is at a point where it is kind of pathetic to not become a doctor because you are afraid of any sexist reactions you might encounter. I'd say the same applies for computer science. Women will come into the discipline over time (especially since now there are more software engineers than there are farmers in the US), no need artificially manipulate the evolution of the job market.
Non-retina iPads use retina assets for iPhone apps.
Flatline, a language for data generation and filtering
'That sounds an awful lot like "If you've done nothing wrong, you have nothing to fear"'

Then your pattern matcher is giving you a false hit.

Your statement is about a government imposing unreasonable searches and seizure of you and your personal effects for the illusion of societal security.

The subject under discussion is about exchanging value for value in a voluntary transaction with you and a non-monopolistic employer.

[edit: added "voluntary"]
Lavishing Kids With Praise Can Make Them Feel Worse About Themselves
with 1025 coins the numbers are nice:

1024/1025 * 1/1024 = 1/1025 (probability of unbiased coin, 10 heads)
1/1025 (probability of biased coin & 10 heads)
relative probability = .5
the answer is then precisely 3/4
Yes, that's how it reads to anyone in the know, but how does it read to the general public? To you future employers? To your electorate, should you ever run for office?

You're basically saying that you're happy for someone to collect information that -- at least in prudish Britain -- could be easily used against you. I'm amazed that so many HN users seem fine with this, given the normal outcry when Google wants to gather something as trivial as your geo-location.
The collectivist/individualist conflict in this article is odd. On the one hand, she seems to be opposed to collective responsibility:

Men supporting the notion that their female significant other can contribute as an equal partner financially or be the bread-winner of the household....leaving the choice of taking care of elderly parents up to women.

Ok, sounds good. No one owes anyone anything, you can do as you like with your life. No social obligations.

Having supportive social and economic practices for those who do chose to have children and take care of aging family members, which will need to be reinforced by some body such as companies or governments.

Wait what? So non-mothers owe mothers "support", socially and economically?

I'd love to know the philosophical underpinnings of this odd combination of individualism and collectivism. I do hope it's something more interesting than simply "the universe should make my chosen lifestyle easier!"

(Incidentally, it's incoherent articles like this one which have convinced me that more people should learn philosophy. I describe it as incoherent simply because it has a gaping philosophical hole, and no attempt whatsoever is made to explain it.)
What creepy version of photoshop do you use? Mine will let you paint it red too.
Please explain how Bitcoin is a distributed autonomous corporation that pays people to leak/publish information and then generates income via demand for advertisements
I am a huge fan of deleting code. And I've landed commits that killed thousands of lines in one go, so I'm pretty sure I'm in the negative.
Heroku supports 3.x fine, IIRC.
There we go...

Q1 Have you ever written code in Python
2.x?

Yes - 97.51% 4,660

No - 2.49% 119

Q2 Have you ever written code in Python
3.x?

Yes - 60% 2,862

No - 40% 1,908

Q3 Do you currently write more code in
Python 2.x or Python 3.x?

Python 2.x - 78.09% 3,692

Python 3.x - 21.91% 1,036

Q4 Do you think Python 3.x was a mistake?

Yes - 22.91% 1,071

No - 77.09% 3,603

Q5 Do you have dependencies keeping
you on Python 2.x?

Yes - 61.46% 2,883

No - 38.54% 1,808

Q6 Have you ever ported code from
Python 2.x to Python 3.x?

Yes - 32.83% 1,554

No - 67.17% 3,179

Q7 Have you ever written/ported code
using 2to3?

Yes - 16.27% 768

No - 83.73% 3,953

Q8 Have you ever written/ported code
using 3to2?

Yes - 1.93% 91

No - 98.07% 4,627

Q9 Have you ever written/ported code to
run on Python 2.x and Python 3.x
unmodified?

Yes - 31.12% 1,473

No - 68.88% 3,261
It depends on what you are doing, pure maintenance work is very very low LOC.
If you blindly trust user-generated data and use it as database connection credential or in a SQL string, i do not think this is a problem of PHP.

If you don't use prepared statements with PDO, i still don't see this as PHP's problem. This is a unqualified programmer problem.

refer to: http://www.phptherightway.com/#databases
Coca-Cola Buys 16 Million MAC Addresses
The Future of Education and Tech: 10 Trends To Watch
Good luck convincing Winklevii to buy $11 million worth of cats.
IBM 704 Scientific Computer
Adobe HQ in Utah
I agree, I think the problem is more so with developers that don't have a proper understanding and with what comes out of the box.

Microsoft provides a lot of security features that are backed into asp.net that are pretty trivial to enable. From what, little, that I know about php I am not sure the same can be said. I believe that would make a bigger difference about perceived security of a platform
She studied Comp Sci. at Amherst. So what's so special about her writing and releasing apps ?
The Mythical Man Month gives 10 lines per day: http://www.cs.usfca.edu/~parrt/course/601/lectures/man.month....
Agreed. But also its clear that the cost of a high-speed train is grossly underestimated. All lines end up costing several times their estimate as well. So apples to apples?
Your lawyer would tell you not to sign that agreement, because there wasn't a sunset clause on that portion. The ones I've seen are usually 2 years.
It makes very depressing and uninspiring reading; I don't want to think of my life as being consumed by work.

I think you just need a slightly different angle: many happy people have a driving project or belief that inspires them. I think that's what you meant to say. And it's different from "work", which is a four letter synonym for drudgery.
It's a research language and it seems very rough around the edges so using it in production might be a bad idea. That being said this is supposedly written in the language https://bazqux.com.
I love this. Yes, you want someone's silence, you're going to have to do better than two weeks of substandard pay that passes for a salary in SV startups. most employees forget that leaving is as much a negotiation as starting and EVERYTHING (in most cases, barring mass layoffs) is negotiable.
I wondered about this after I signed a severance contract that required me not to "disclose, defame, compete, or recruit" for a set period of time. Don't judge me, it was an emotional time and the severance was non-trivial.

I'm happy to say that time is over and I've gone on a disclosure, defamation, competition, and recruiting spree.
5 great free iOS productivity apps for starting the new year
I love To Do Sports.

Every now and then a story on "Exercise/Sleep/Meditate well and you will reach the Nirvana of Human 2.0" comes up here at HN. But the thing is, that Sports are quite fundamental. According to Wikipedia: "Sport (or sports) is all forms of usually competitive physical activity". It's analogous to all "entrepreneurs" here doing "competitive mental activity", at least if you are in the same industrial sector. It's not exercising only, sports teaches you about sportsmanship, respect and fairness. That's what I look up to.

Heck, Hacking itself is even some kind of sport to me.

So, if you need somebody in order to raise the experience of doing sports: I'm all yours. ;-)
Google to push royalty-free VP9 4K video codec as H.265 alternative for YouTube
stop fucking debates about non-sense issues and trolls
It was only a single app, and the database server was pretty much unprotected. As far as I can remember it did most/all of its access controls via JavaScript - it was truly terrible.

Sure there are situations where it is OK, but as a rule of thumb it's not a terribly good idea.
Well... it looks like there needs to be an opening first (which is the obvious thing, I guess) and also who decides when there is a single place but 4 applicants? It sounds like the team would decide. After what? interviews?
Open Source Initiative co-founder says Emacs should move from bzr to Git
So the question that determines whether someone will enjoy the game overall is: does that intense adrenaline rush outweigh having to go through all that bootstrap grinding again? I strongly suspect that the answer for me is "no", at least on the long run.
Trying to take as objective a view here as possible...

The present hacker zeitgeist disagrees with your viewpoint. Your post came at a particularly bad time, as this post is fresh on the collective's mind:

http://sethbannon.com/vacations-are-for-the-weak
Ah good too know. I guess that is new in iOS 7.
I don't see much value autoassignining args. I do see being useful at times to auto-assign kwargs.

class Base(object):
def __init__(self, *args, **kws):
self.__dict__.update(kws)

class Foo(Base):
def__init__("foo", age=30):
self.name = "foo"
super(Foo, self).__init__("foo", age=30)

or you can do the same using a decorator for the init.

def update(init_meth):
def wrapped(self, *args, **kws):
init_meth(self, *args, **kws)
self.__dict__.update(kws)
return wrapped

class Foo(object):
@update
def__init__("foo", age=30):
self.name = "foo"