Better HN
topnewbestaskshowjobs
Log inSign up

nmrm2

1,122 karma · joined Aug 5, 2014 (12y ago) · 547 submissions

Submissions

comment 11y ago · link · parent

http://www.passwordstore.org/ is a similar solution, and I prefer it to this solution for a few reasons:

* git integration.

* Separate file for each secret, so that I can store the password on the first line and then other sensitive account details on subsequent lines.

* -c flag for copying passwords to clipboard (but only copies the first line of the file, so it doesn't interfere with the usecase above)

* tab completion for user account names. However, this comes at a slight cost to security -- anyone with access to your machine (or git repo) can see all of the websites / accounts for which you have a password.

* Everything happens via the file system and secrets are just gpg encrypted text files. So it's really easy to implement new utilities on top of your password store. This is true for this solution as well, but somehow having separate files for each account makes it safer to implement utilities that do account management.

comment 11y ago · link · parent

> and up to a decade for full recovery.

Do you have any idea what that would look like?

Are we talking "back to our standard of living" or are we talking about "recouping from lost economic activity / damage expenses"?

comment 11y ago · link · parent

But a poster above pointed out we (US, via Congress) aren't even willing to spend ~$3B hardening the power grid. That seems like a pretty low ball number; I'd imagine shielding just the things you mentioned would cost at least that much.

comment 11y ago · link · parent

Doesn't that entirely depend upon whether you think you'll be more effective than some other person making 60k/yr?

In other words, if you're a "10x" malaria killer and if 10xers are rare in the malaria killing business, then probably it's better for everyone (except you) that you kill malaria for a living. Rather than paying someone 60k to take your place (esp. if that other person is a 1xer or -10xer.)

comment 11y ago · link · parent

If you can even come close to explaining how to replicate your results in 12 or 20 pages, you're not really doing an experiment that is non-trivial to replicate. Constraining science to protocols that can be explained in 12-20 pages would be stupid and wrong; almost any protocol used in a modern lab will take longer to explain than that.

With all due respect, the assertion that a typical protocol should be able to fit in the length of a typical CS publication is pure hubris. (And when you need a 200 page TR to explain things, my arguments about unjustified cost start resonating because you're demanding a dissertation or two per published paper.)

> such questions did not take half a day to answer.

Just because the science you did was trivial to replicate does not mean all science is trivial to replicate.

Yeah, when replication involves nothing more or less than compiling code on commodity hardware, I can imagine replication protocols are probably pretty easy to explain... it's a small wonder anyone had to email you about this at all.

> "To replicate and check methodology, `darcs clone ...`".

However, the assertion that replicating any experiment is basically no more difficult that downloading some source code and compiling/running it is... arrogant in the extreme.

It's nice that some Computer Scientists can "replicate" their results by saying "oh yeah compile and run this code on the same dataset".

But asserting that all science is like this is underestimating the difficulty of replication even in CS. What happens when your dataset is terabytes in size and requires a specially configured cluster of GPUs or FPGAs to process in the next year? What if you have a half million dollar robot that has to be built to spec? Give me the 12 page IKEA manual for building a half-million dollar robot that has only ever been built once before. Or even the 200 page manual. Not all Computer Science can be done on a laptop, and the assertion that it can is, again, arrogant.

Even more to the point, most laboratory experiments are not run entirely by autonomous robots that you can load code into and walk away; in fact, many require steps that require skills in the lab that can only come with lots of practice. Hell, limiting ourselves to protocols that are easy to use and fit in 12-20 pages would ban the contents of upper-level undergraduate lab assignments.

There is nothing wrong with an experiment requiring skill to replicate. Banning protocols that are difficult for non-experts to follow for intrinsic reasons would basically ban all modern experimental science.

comment 11y ago · link · parent

You are correct; I was being hyperbolic. But still, not sure Nature/Science/Cell is a high enough standard for "anyone should be able to replicate with little effort" -- lots of "non-late-game" results that aren't necessarily ready for industry applications get published in those venues (which, I guess I've been arguing, is a good thing.)

comment 11y ago · link · parent

> If an engineer builds the worlds greatest new engine

There is more to science than advanced product development. Conflating the two is wrong-headed.

> but says "unfortunately it'll only run in my lab, no one else is competent enough to run it or build a copy" then what good is it to society?

It's fantastically good to society. A company interested in monetizing the research could provide that researcher with a multi-year sabbatical to come to their company and turn is Research into a Product.

Incidentally, that happens. It's also not unheard of for phd students to carry an adviser's idea forward toward application in the context of a permanent position at a relevant company.

> almost nobody else can duplicate

There's a difference between not being able to duplicate, and duplication being expensive.

> and it is therefore impossible to determine the veracity of their claims

Again, reproducibility should focus on the veracity of the claims, not the economics of reproducing them. Nothing is wrong with calling for better reproducibility. The problem is in expecting to get it for free, and assuming that it's always appropriate at every stage of research.

Investment in reproducibility should be in proportion to the degree of trust the scientific community puts in the claim, and it is absolutely reasonable for that investment to grow over time. But, don't kid yourself, it's an investment. And society would have to be stupid to invest enormous amounts of money into ensuring every single scientific paper ever published is held to an extremely strong standard for reproducibility.

> Isn't the onus on the researchers to focus experiments that are also reproducible by non-supergeniuses?

If by "super genius" you mean "someone else who does research in the same or a closely related field", then Hell. No. The onus on the scientists is to focus on experiments that push science forward in service of mankind.

Sometimes this means helping mega-corps figure out how to reliably reproduce your research without expert help and thereby increase profit by decreasing required investment. Sometimes this means focusing on discovery.

comment 11y ago · link · parent

Sorry, but how is this not just anti-intellectualism?

> 30 emails, wow!

It can take up to half a day to reply to an email containing even one fairly technical question. Obviously the time invested depends on the content of those 30 emails, but it's not at all difficult to imagine this eating a week worth of a PI's time.

> 2 weeks of a graduate student's time -- these are the people who are the least paid right? Below minimum wage even?

The typical attitude is that this is a justification for not making them spend their time managing these sorts of tasks. You don't get to say "we get to pay you crap because your job is exciting and rewarding" and then load that same person down with a bunch of grunt work (on top of all the normal grunt work). That's how you bleed students and kill the lab's productivity.

Also, grad students are not well paid but they are typically no cheaper than post docs; PIs pay tuition.

> The demands on their time seem so low, yet the complaints are so high

So let's imagine a world where people calling for massive improvements to reproducability get their way. Let's say it is a month worth of time for the lab. For each paper. Multiple papers a year. That's a pretty massive time investment. If you're a top lab, that could become a full-time position. And believe me, you're not going to be able to fill that position with a grad student. That person will have to be well-paid, because their job is going to suck.

So it's reasonable that scientists are peeved when they invest all this time and don't perceive their collaborators as acting in good faith, or feel like their collaborators are trying to cut corners to pinch pennies.

comment 11y ago · link · parent

The question is not whether reproducibility is good, it's how much labs should invest upfront in producing descriptions of protocols. My argument is that they should probably invest more than they do now, but not enough that pharmacutical companies are able to reproduce a given experiment without talking to the lab.

Science is a collaborative process. There's nothing wrong with collaboration being part of the reproducibility process, as long as the person doing the reproduction maintains their objectivity.

comment 11y ago · link · parent

Lots of the replies have covered the whys:

* Because this is in the context of a for profit company arguing that they should get a slice of the Science funding pie so that pharmaceutical companies have an easier time at reproducing results. It's unclear that this is a better use of funding than investing in new discoveries (unless you are profoundly suspicious of scientists and think they are all fabricating results), but it's fairly obvious why this aligns with the profit motives of pharmaceutical companies. I hope it's obvious why that's troubling to me and others.

* Because there is value in reproducing results without doing everything exactly identically (see other posts).

* Because there are other mechanisms for obtaining high-quality descriptions of protocols and it doesn't necessarily always make sense to invest lots of time in this early in the scientific process.

* Because public morality panics rarely result in good policy making.

comment 11y ago · link · parent

Agreed. I think results should be reproducible. I guess my point is that the amount of time spent writing up and communicating protocol should be governed by an analysis of the scientific benefits of doing so, rather than commercial benefits.

I'm not saying that protocols can't be improved at appropriate cost. Rather, I'm saying that the cost of creating protocols that random person at pharma company can use correctly the first time without asking for help is a going to result in an enormous amount of wasted time getting to a level of reproducibility that isn't necessary for doing good science (where good != profitable).

And at the frontiers of science where we're using a novel protocol for the first time, I think it's OK to publish without extensive documentation. If the protocol ends up being useful and important enough that other people want to use it, then that's the time to start investing time in high-quality documentation. Which is one of the scientific benefits of collaborative reproduction.

(FWIW I think michaelhoffman did a better job of capturing the essence of my complaint in a few sentences than I've done over multiple posts.)

comment 11y ago · link · parent

> the NuPRL project is like this in what way?

Difficult to obtain and get running (I'm told by everyone I've asked). So definitely not the first thing; mostly those last two things.

And yeah, I think that high-quality source code is definitely a pretty impressive feat when researchers pull in off. And I also agree source code should be provided. But beyond providing a VM, I think it's really dangerous to sort of fixate on building software that's easy to setup/use. There's a pretty significant time cost there in some cases, and it's worth asking whether that's what we want to be spending our Science dollars on.

comment 11y ago · link · parent

Thanks for giving an excellent example. NuPRL is exactly like this, but no one in their right mind would say the group that put out NuPRL hasn't done good science for 20+ years.

comment 11y ago · link · parent

My criticism was only of the justification given. And honestly, the attitude in scientific publishing has never been "science should be written so that people in industry can reproduce the results at minimal effort/expense and without acquiring scientists who know the area and techniques well."

(Also, your post would have worked just as well without the first sentence.)

comment 11y ago · link · parent

I can't state how strongly I disagree with the conclusion that papers should be providing excruciating detail about protocol just because "pharmaceutical companies can't reproduce key cancer papers [without the help of the original scientists]". Science has rarely been done like this.

It would be like Google complaining that they can't copy psuedocode verbatim out of a paper and have a highly performant algorithm. Or Microsoft complaining that a static analysis defined in a paper wasn't accompanied by a production-ready implementation.

Producing protocols that literally anyone could replicate without expending effort is not the business of Science.

Replication should focus on the veracity of the underlying truth claim, not the economics of reproducing the results.

comment 11y ago · link · parent

Sure, they drafted rights to protect them in cases where they were minorities. Isn't that exactly what I'm saying?

I bet Jefferson didn't want to be raped. Wonder why he didn't make that an amendment? Could it have been because he figured that right could be provided in a non-constitutional setting?

comment 11y ago · link · parent

You're confusing the logical consequence with the historical reality.

The historical reality is that the rights enumerated in the amendments were designed specifically to protect minorities.

Yes, "individual rights are minority rights" implies "minotiries get rights". But if the primary purpose was individual rather than minority rights, then why in god's name aren't other more obvious individual rights (e.g., right not to be raped) enumerated as constitutional amendments? The answer is because the legislature can and will do that anyways.

comment 11y ago · link · parent

> are you an American?

Yes.

> May I ask where you received your education pertaining to the Constitution?

From a constitutional law course taught by a professor with a JD from Harvard.

Again, rights of a minority are individual rights. But it's disingeneous to say that the constitution PROTECTS individual rights in general. It does not. It protects a small subset of individual rights that are most relevant when someone is in a political/racial/religious minority. Calling these rights minority rights is more accurate than calling them indvidual rights. In addition to minority rights, the consitutiton also provides a mechanism for ensuring other individual rights -- both de facto and de jure -- are protected.

Most of the founding fathers considered freedom from unreasonable taxation a plausible individual right. The Constitution doesn't provide explicit protections against that; instead, it provides self-governance.

Here is how I viewed this exchange:

OP: 5 is a positive number.

You: 5 is a number.

Me. That's stupid. It's more accurate to say it's a positive number, why are you correcting OP?

You: But positive numbers are numbers!

Me: Yeah duh I'm done here.

comment 11y ago · link · parent

The substance of my post above was that on balance, "minority rights" is a better characterization of the enumerated rights in the bill of rights than "individual rights".

Yes, saying "individual rights" isn't technically incorrect. But it's less accurate a protrayal than saying "minority rights".

Anyways, you're clearly ignoring the obvious intent of my posts in favor of stupid nit-picking. So I'm done.

comment 11y ago · link · parent

I'm not saying they don't have those rights, I'm saying they don't need them. Not at the particular moment when they are expressing an idea that the governing party agrees with.

If you agree with a supermajority of Congress and the President on issue X, your first amendment rights to say you support issue X aren't really super important. Of course you should still have them, but they are easily protected by way of democratic processes -- constitutional provisions aren't necessary when the lawmakers are on your side.

comment 11y ago · link · parent

See my response to ScottBurson. The Constitution does not protect individual rights in general. Instead, it protects a small set of individual rights that are most relevant when that individual finds himself in a minority, so-called minority rights.

It was expected that democratic self-governance would protect against other basic rights (e.g., to freedom from unreasonable taxation, the right to not be raped and murdered, etc.). But most individual rights are not listed in the Constitution, because the purpose of the constitution was to establish democratic self governance with protection for minorities against mob rule. NOT to provide for individual rights.

> What specifically can you point me to, what founding father, specifically wrote that the Bill of Rights was to protect minorities and not individuals?

Read Thomas Jefferson's First Inaugural Address, for starters.

Of course rights of minorities are individual rights, since minorities are composed of individuals. But the constitution was designed specifically to protect the rights of minorities, not to protect individual rights in general. The assumption was that democratic self-governance would provide for "little-r" rights; i.e., for fir and just governance.

comment 11y ago · link · parent

(Edit: Here is a summary of what happens below to save everyone time:

OP: 5 is a positive number.

jr: Correction: 5 is a number.

nm: That's a silly correction. It's more accurate to say it's a positive number, why are you correcting OP?

jr: But positive numbers are numbers!)

No, it is not an important point. It is a silly point that confuses the issue and is more wrong than right.

It is NOT accurate to say that it that the Constitution or Bill of Rights protects individual rights. They DO NOT protect individual rights. Instead, the Constitution provides for democratic self-governance bounded by some enumerated protections designed primarily to protect minorities. The hope was and is that these limited protections in tandem with democratic self-governance provide a system of government that will protect individual rights.

The Constitution and Bill of Rights is substantively and substantially different from a document that might enumerate a list of protected individual rights. Ensuring individual rights is the purpose and duty of the entire democratic process, not just the Constitution.

To make the point clearer, there are many items in the UN Declaration of Human Rights that the US recognizes (culturally) as being valid individual rights. E.g. The US provides universal access to education and the culture, on balance, recognizes access to secondary education as a fundamental right. But there is no constitutional prerogative for meeting this or other "rights" -- that's provided for legislatively. Georgia could defund its educational system tomorrow and the US Constitution wouldn't have squat to say about it.

In conclusion, the Constitution (edit)WAS NOT PRIMARILY DESIGNED TO PROTECT(/edit) individual rights. It protects primarily minority rights and provides for a system of governance that we hope will protect all individual rights.

(*edit, alternative wording for the paragraph above because jrs235 is nit-picking.)

comment 11y ago · link · parent

> Scalia's argument is the stronger here

Scalia's argument is not new and goes back to before the civil rights era. It was wrong-headed then and it's wrong-headed now.

> there's no way the federal court system would start mucking around with marriage.

And maybe if fed and state governments hadn't felt the need to placate the angry mobs by passing super discriminatory laws, the court never would have had the demonstrable harm necessary to step in and make a ruling.

> For a fundamental issue like this, it's not a good thing that nobody knows even whether it's relevant to the court or not.

That's kind of the hitch though, isn't it? We wouldn't even need the courts if there weren't always fairly smart people (smart enough to get elected, at least) who disagree that minorities should have Rights.

Court decisions to confer Rights are tricky because the procedural question is exactly the substantive question -- if Gay people have a Right to marry, then the court has no choice but to step in. And if they don't, then the court has no choice but to stay hand off. And whether they have that Right depends, basically, on your opinion. As Kennedy pointed out, the due process and equal protection clauses were written in an intentionally non-explicit way.

Edit: For example, it would be absolutely insane today for us to imagine the equal protection clause not providing a basis for banning discrimination based on race. Obviously, either our constitution forbids that practice under the Fourteenth Amendment or else our Constitution is seriously, seriously flawed. Right? Right. Now, go read the Plessy v. Ferguson decision.

comment 11y ago · link · parent

> that disagrees with said majority

We typically call a person who disagrees with the majority a member of the minority.

> the majority

What majority? There are lots of majorities and lots of minorities -- one for each issue put forward to a group of citizens, and then a bunch of other cultural ones.

I doubt anyone is a member of each of those majorities. So yes, everyone needs these individual rights. But the rights were designed to protect individuals when they find themselves in the minority. So saying that the issue is individual rather than minority rights is disingenuous, confusing, and massively ahistorical. Again, many of these rights were explicitly designed to prevent violent mob rule. This issue is not up for debate. It is an historical fact. Go read what the founding fathers wrote about the Bill of rights.

comment 11y ago · link · parent

Did you read the opinion? Decisions typically contain some rhetorical flair ("fluffy stuff"), but there was plenty of substance to this decision. See e.g. pages 3-5 of the Syllabus. None of this analysis would be relevant to a decision about marijuana, and many of the standards the decision sets forth would fail in the case of marijuana.

comment 11y ago · link · parent

No, "minority" is correct here. Individuals who happen to be members of a majority do not need a Bill of Rights. Individuals who are a member of a minority do.

(edit: Holy cow this post got downvotes! If you think this is wrong please go read pretty much literally anything on the topic of the bill of rights by literally any of the founding fathers. Protecting the rights of democratic minorities was a very, very, VERY explicit goal of the bill of rights.)

comment 11y ago · link · parent

IANAL. FYI, this is a constitutional issue that goes back to the early days of the court. See e.g. https://en.wikipedia.org/wiki/Judicial_review_in_the_United_...

The essential response from Kennedy et al. was two-fold:

1. Marriage is a Right because the due process and equal protection clauses were designed to be interpreted broadly as society came to "understand" liberty in new ways. I think this is actually pretty damn accurate -- I have no doubt that some of the founding fathers had slavery on their minds, even though at the time the amendments we're interpreted in that way.

2. Rights are not subject to the "vicissitudes" of public opinion -- the democratic process doesn't get to take away rights.

Roberts and Scalia mostly disagreed with (1), but there was very little substance to their argument. Read through the four justifications given by Kennedy. Roberts and Scalia doesn't respond to these. They just sort of complain about a slippery slope to tyranny. But this court is by far less activist than previous courts and we have yet to devolve into a dictatorship-by-SCOTUS. So I'm sceptical of the veracity of their slippery slope argument. It would have been more compelling if that had talked more about this specific case.

Roberts and Scalia also made some more practical arguments, e.g. that democratically selected policies are more robust protections because they can hash out the details. I mostly believe that's a false dichotomy because there's very little evidence that courts conferring Rights upon groups of people actually shuts down legislative action or debate on either side of the question. Look at abortion or civil rights. Ultimately, I find this argument extremely ahistorical and massively empirically denied.

(As an aside, I think Scalia's "o'weening pride will be our fall" thing was a pretty dickish thing to say, given the overloaded connotations associated with pride in this case.)

comment 11y ago · link · parent

Very interesting, because it would undermine basically everything SCOTUS has ever said about marriage.

(undermine in the sense of reverse a principle upon which the arguments used by SCOTUS to defend various decisions depend.)

comment 11y ago · link · parent

Your comment is confusing.

What is the difference between "code correctness" and "to show that the result of a function is correct for all input parameters"? In common parlance these are the same thing.

Also, what does it even mean for a piece of code to be sound or complete? Sound with respect to what? Complete with respect to or relative to what?

I think the words that you want are "correct wrt a specification" instead of sound and "total" instead of complete?

Testing cannot prove correctness, period. The proof is a set of unit tests that cover every single input and also a proof that the set of inputs you tested is the entire domain. Basically no in-the-wild unit testing does even the former.

What you mean to say, I think, is, "testing is indispensable when your specification language isn't sufficient for specifying all correctness properties for your code."

Which is about right, but the way that you worded this post was extraordinarily confusing.

comment 11y ago · link · parent

First, their goal is to make money, probably. Success of their students might be important in service to that goal, but it's quite important to not confuse the two.

Second, I'm not sure why they make their decisions. Maybe they want to grow (you know, to make more money) and that requires taking on higher risk students. Maybe it's becoming harder to place people and so there are not always enough low-risk students. Maybe they're getting bolder and even though these students are low-risk, they figure "what the hell, people will pay so we will charge them." Maybe there's some other reason.

1
121314
19