Better HN
topnewbestaskshowjobs
Log inSign up

panic

29,749 karma · joined Sep 16, 2009 (17y ago) · 3,593 submissions

Submissions

comment 9y ago · link · parent

> On the average of millions of privately arranged employment agreements, the employee's marginal value absolutely (slightly) exceeds their salary.

Are you saying this based on data? The actual labor market is very different from the abstract, perfectly competitive microeconomics model. It's hard to even figure out what the marginal value of a person's work is, not to mention the lack of perfect information, the difficulty of firing, the expectations around raises and pay cuts, people's varying self-conceptions of their own worth, …

comment 9y ago · link · parent

People aren't paid based on how much value they create. They're paid so they agree to work for you, and then so they don't quit working. There is a relationship here -- you're willing to pay more to keep people working on more valuable things -- but there are tons of other factors that affect a person's pay. Previous salaries, other offers, and negotiation skills often affect pay far more than actual created value.

Think about it: if pay were based on how much value a person creates, why do different people on the same team doing the same job sometimes have wildly different salaries? Why do people often get raises after threatening to quit? How can salary negotiation ever work?

comment 9y ago · link · parent

Are there any terms which are not vague?

comment 9y ago · link · parent

Here's an application of the quadratic formula: https://twitter.com/beesandbombs/status/863124880614719488

comment 9y ago · link · parent

Yes, code signing (https://en.wikipedia.org/wiki/Code_signing) accomplishes this. It's why you rarely see malicious code running on iPhones -- iOS won't load code into memory at all unless it's signed (except in very special cases like the JavaScript virtual machine, which has to generate code on the fly for performance).

comment 9y ago · link · parent

You'd want to increase the level of income slowly over time so you can deal with problems like this as they arise. I don't think anyone's proposing an immediate $40k-per-year no-questions-asked grant to all residents.

comment 9y ago · link · parent

Not to mention points of interest on maps!

comment 9y ago · link · parent

Points are a single number. There would presumably be a lot of numbers involved in such a machine.

comment 9y ago · link · parent

The spectrum of human experience (and the meaning people find in it) can't be reduced to a concept like "gaining points". What about art, conversation, watching TV, taking care of family members, romance, sex, raising children, playing sports, traveling, dancing, or cooking? What about reading, writing, listening to music, making music, knitting, or playing with our pets? People have been finding meaning outside of work for thousands of years.

comment 9y ago · link · parent

What about someone who leaves work to raise their child? Just because they aren't making money doesn't mean their work is unimportant.

comment 9y ago · link · parent

Most maintainers wouldn't want to be or couldn't be an employee of such a company (e.g. due to existing employment contracts). I'd also question whether it's healthy to centralize the development of all OSS projects used by all your customers into one platform like this.

comment 9y ago · link · parent

In premultiplied alpha, you can think of all the legal (non-emissive) colors as a triangle. At an alpha of 1, all colors are legal, tapering off as alpha decreases until you reach an alpha of 0, where no colors are legal. To turn the triangle into a square, you could scale it up by two, cut off the top, and rotate the top over into the empty space (like this: https://i.imgur.com/6hjNe7X.png). That would give you twice the colors you had before.

comment 9y ago · link · parent

I think this is a great idea! Patreon has already figured out how to make this kind of service successful -- taking what worked for them and adding features specifically for software development seems so obvious I'm surprised no one else has done it yet.

comment 9y ago · link · parent

Premultiplied alpha is also more "correct" in that it separates how much each pixel covers things behind it (the alpha value) from the amount of light it is reflecting or emitting (the color values). These two values should really be interpolated separately, and that's what premultiplied alpha gives you.

2025.

It's Basically Just Immoral to Be Rich(currentaffairs.org ↗)

9 points · by panic · 9y ago · discuss

comment 9y ago · link · parent

You could use something like Go's 'defer' statement to ensure 'close' is called before the current function returns.

2027.

Kipper BASIC / BASIC on Bails (2014)(lyonlabs.org ↗)

2 points · by panic · 9y ago · discuss

comment 9y ago · link · parent

I mean, that's part of the problem, right? Nobody can even agree on what gender is! How can we expect to be able to classify it so easily?

comment 9y ago · link · parent

Minor pedantic note: the *x!=NULL check is unnecessary. Calling free(NULL) is specified to do nothing.

comment 9y ago · link · parent

> This is quite absurd. You think you can't know something about someone's gender from a photograph? Wow.

No, I'm saying that neither humans nor machines can determine gender solely by looking at a picture, no matter how well they're trained. There will always be examples they get wrong. The problem is not that the machines aren't as good as humans. The problem is that they're both trying to do something that's impossible.

And predicting at "above-chance levels" isn't enough. The article goes into great detail about how this kind of inaccurate prediction can cause real human suffering.

comment 9y ago · link · parent

Sure, that's true, and I bet a Down-Syndrome-recognizing neural net could be made quite accurate. I guess what I mean to say is that there's no general mechanism that would cause someone's inner character to be reflected in their appearance in any consistent way. If you want to predict behavior from appearance, you have to actually do the science and prove that there's an underlying mechanism before you can trust that your neural net is recognizing something meaningful.

comment 9y ago · link · parent

> It wouldn't surprise me, going off the samples, if human-level performance was closer to 86% than 100%, simply due to the noise in the dataset.

I think that's kind of the point! The idea that any agent -- human or machine -- can know someone's gender, criminal convictions, or anything else about their background just from a photograph is fundamentally flawed.

comment 9y ago · link · parent

The article's point is broader than that: the entire idea of physiognomy, "the practice of using people’s outer appearance to infer inner character", is not scientifically defensible. There's no mechanism that would cause someone's inner character to be reflected in their appearance in any consistent way. This remains true even if it's a computer algorithm, not a person, making judgements based on people's appearances.

comment 9y ago · link · parent

When you're debugging or reading code, you often want to know what a particular line of code was originally supposed to be doing. Maybe you want to know if it's OK to remove it, or you don't understand why it's written a certain way. If you can go back to the commit where the line was added and find some meaningful information about what that commit was supposed to be doing, that gives you a lot of information about what the code itself was for.

This leads to a commit style where each commit has a well-defined purpose rather than just being a snapshot of the code at a point in time. You make frequent commits while writing the code, but once it's working, you go back and create distinct commits for each distinct change. While you're splitting your changes up, you sometimes realize you forgot something, made a mistake, or left some junk around you didn't mean to commit, which is a nice secondary benefit.

comment 9y ago · link · parent

The largest new feature in Python 2.0 is a new fundamental data type: Unicode strings. Unicode uses 16-bit numbers to represent characters instead of the 8-bit number used by ASCII, meaning that 65,536 distinct characters can be supported.

It's interesting that both Python 2.0 and Python 3.0 made fundamental changes to how the language deals with text.

2036.

Sideways Dictionary(sidewaysdictionary.com ↗)

1 points · by panic · 9y ago · 1 comment

1
676869
120