Better HN
topnewbestaskshowjobs
Log inSign up

throwawayjava

2,805 karma · joined May 1, 2017 (9y ago) · 1,488 submissions

Submissions

comment 7y ago · link · parent

> I'll be honest, I'd probably trust code that's gone through DO-178C more than I would trust code that's been formally verified.

Well... depends on the company/team :-)

But I think the instinct is fundamentally reaosnable because even the most abusive interpretations of DO-178C tend to demand a lot more attention to quality than even very well-run software projects in other industries.

> For the most part cars and medical devices and stuff don't use FM because there's pretty much no oversight.

This is starting to change, maybe. The automotive companies have been snapping up verification people (and letting them work on verification).

> But any FM stuff has to go through DO-330 and DO-333, which are just as rigorous and intense as DO-178C. The only stuff that has so far is, unsurprisingly, very expensive and very proprietary.

So, it's been a while, but I seem to remember DO-333 being written in such a way that if Tool X went through the process, and if you could produce a deep embedding of Tool Y's logic into that Tool X, then you could piggy back on tool X's certification by using the Tool X embedding. Which is still a lot of work, but hopefully substantially easier than getting a new tool approved from scratch. Also, I could just be mis-remembering or confusing a dream for reality... its been a while.

comment 7y ago · link · parent

> The really simple answer to this question is: because at a high level of abstraction, it isn't useful. Most applications are being specified by people who don't understand in any detail what they want the application to do.

The world is changing.

In high-growth-potential areas, I think we're starting to see a shift away from the style of software where "what to build is hard but how to build is easier" and toward application domains/products where exactly the opposite is true.

IoT, next-gen factory automation, robotics, ADAS, automated trading, etc. all have two extremely important things in common:

1. It's really obvious what we want the system to do (minimize energy usage; produce widgets without killing Joe the machinist; go to the store and don't kill anyone; make money; etc.)

Unlike with social apps/online communities/productivity software/games, the "what did the customer want" problem is likely not THE key failure point.

2. It's extremely non-obvious how to map those high-level desires onto software.

These application domains, which I think will drive growth in the software industry during the next cycle, are kind of dual to our current ones (web and mobile apps).

So, at the highest level of abstraction we know what the customer wants. That's not the point where we need the most derisking. Also, the hardest problems -- the ones where derisking efforts will land -- are amenable to mathematical treatment. Because of this shift, mathematical modeling tools are going to play a big role in the industries that (I think) will drive growth in the coming decades. And that means the zeitgeist of software engineering will change.

I'm not sure if those mathematical modeling tools will look anything like today's theorem provers and model checkers. Probably only in the same way that Python looks like FORTRAN.

comment 7y ago · link · parent

> there is no "Silver Bullet"

Your second paragraph kind of walks back on this, but I think it's still worth linking to this essay:

https://www.hillelwayne.com/post/uncle-bob/

In particular: ...[he's] welcome to keep shouting that tools won’t help, better languages won’t help, better process won’t help, the only thing that’ll help is lots and lots of unit tests. Meanwhile, we’ll continue to struggle with our bugs, curse our model checkers, and make software engineering just a little bit better. We don’t believe in silver bullets.

Again, your second paragraph already kind of agrees with this point, but the brilliant rhetoric in the essay is actually true: "no silver bullets" is a reason for, not against, the use of formal methods (and any other quality assurance mechanism we can get!)

> adding a layer of additional effort like Formal Methods necessarily either (a) increases development time significantly or (b) exponentially increases headcount.

It really depends. Especially in the case of formal methods for specification (as opposed to implementation formal methods), formal methods can save substantial amounts of time and manpower. And there are already a lot of success stories, and not just in safety-critical industries.

comment 7y ago · link · parent

Even a sedan will do if you just want the bed. Not ideal, but definitely possible. Used to haul drywall, gravel, lumber, etc. in a little trailer hooked up to my freaking Corolla.

Trucks are great because the extra degree of freedom is a PITA, but unless you're towing serious loads they are mostly just the country version of a lexus or BMW.

comment 7y ago · link · parent

> The current state of the art of ML assumes nonlinear relationships between all parameters. It can't assume simpler & reasonable models, and therefore it can't extrapolate easily with reduced data.

I'm not really sure what "low-dimensional intuition" means, but I pretty regularly build models that do not "assume nonlinear relationships between all parameters".

comment 7y ago · link · parent

He's not saying that the total dev environment is bigger than the total prod environment. He's saying that this one cluster of dev machines is much bigger than other clusters of machines (dev or prod). that could be true while simultaneously having many more prod machines than dev machines.

The author explains: however there is one cluster that was built significantly larger than the others and hosted around 2,000 development environment workloads. (This was an artifact of the early days of running “smaller clusters, more of them”, when we were trying to figure out the right size of “smaller”.)

comment 7y ago · link · parent

There are many jurisdictions where this is an extremely dangerous assumption. Knowingly facilitating illegal transactions is often a crime.

comment 7y ago · link · parent

You're redefining words; rationality means something much more specific than "not magical thinking".

comment 7y ago · link · parent

Typically, philosophers would not consider a belief about a formal system justified unless that belief is backed by a proof.

In software, for known behavioral specs, you don't have a real justification until you write a formal proof. Just because formal proofs are uneconomical doesn't mean there's some fundamental philosophical barrier preventing you from verifying your UI code. Doing so is not just possible, there are even tools for doing it.

So really, this is not a Gettier case, because in formal systems a true justification is possible to construct in the form of a mathematical proof.

An example of a Gettier case in a software system would be formally verifying something with respect to a model/spec that is a Gettierian correct-but-incorrect model of the actual system.

There are almost no software systems where we have true JTB (proofs), so there are almost none where Gettier cases really apply.

Uncertainty in software is more about the economics of QA than it is about epistemology or Gettier style problems, and that will remain true until we start writing proofs about all our code, which will probably never happen.

comment 7y ago · link · parent

Rationality is not ideology, but epistemology and ideology are often closely related.

Also, it's not as if rationality is "above the fray", so to speak. Differing relationships to rationality are at the core of major differences between schools of thought in both international relations and economics, for instance.

comment 7y ago · link · parent

Not really monotonic. A lot of funds took deep hits during dotcom.

Image processing, text processing, and the next wave of robotics/manufacturing. A.k.a., "AI".

comment 7y ago · link · parent

you're leaving out publicly funded labs at universities, which is where e.g. Google's "garage" days were spent.

Public labs are nice for society because they're extraordinary cheap relative to their corporate counter-parts (grad student = 30k/yr with no benefits, research scientist = 200+k/yr with full benefits)

comment 7y ago · link · parent

Sure. But from none of this does it follow that "Policies that work at a local level don't scale to a Frederal level".

Or to put it another way, to the extent that we interpret local and federal and so on formally enough that they retain any connection to information theory, we're no longer talking about politics.

The words either have their political meaning or their formal meaning, but pseudomathematical sophistry that conflates formal and informal statements in the same breath leads to quackery and nonsense, which is exactly one of the article's critiques of libertarianism as a framework.

The CAP theorem occupies a similar place in pseudomathematics as Goedels theorems. An important result, but almost never for the reasons that someone attempting to use it to make a non-rigorous mathematical argument thinks it is...

comment 7y ago · link · parent

"...statements made in technical jargon often sound absurd if you forget the underlying definitions." - the article

comment 7y ago · link · parent

I enjoyed this article because it provided a level-headed and analytical critique of a topic that is mired in politically charged emotion.

For example, sections 2.1 and 2.2 resonated with me because, as a mathematician, because I can plainly see how the algebraic structure chosen by Rothbard for representing utility is going to severely impact the reasonableness of his models.

There are several other compelling examples, where anyone who has done a bit of mathematical modeling can see that the neoclassical school of thought is simply providing better tools for achieving the desired outcomes.

comment 7y ago · link · parent

> If he's claiming

He's not.

To take your example, Section 3.1 critiques The Use of Knowledge in Society via a critique of Human Action (which was published by Mises nearly a decade after 1942). Many of the observations in Section 3 (and 3.1 especially) are directly relevant to The Use of Knowledge in Society.

comment 7y ago · link · parent

> In terms of cost, UNSW is one of the top universities in the country.

This is certainly the major difference.

comment 7y ago · link · parent

Probably not often because software companies don't care about PEs and because Stanford CS graduates are unlikely to apply for positions in non-CS fields (unless they also have an education in those fields).

But yes, there are a lot of jobs out there that even Stanford CS graduates aren't qualified for.

Note: the patent bar's eligibility rules have special exemptions for CS degrees that are not ABET accredited but do satisfy other criteria, so many Stanford CS graduates will automatically qualify for the patent bar based upon those alternative standards. But that doesn't mean the patent bar doesn't care about accreditation.

And it's worth noting that any institution with a half-decent reputation has some form of accreditation. Again, this was the second point of my post -- accreditation is actually does do a very good job at over-approximating the set of educational institutions whose degrees mean something.

comment 7y ago · link · parent

> ~$19k USD

Was this with room and board? FWIW, there are many college degrees in the USA that are in the $7k/yr range, and many of then were around $20k total prior to the last round of state-level austerity in the USA.

Getting a US college degree for under $20k is still very possible if you a) commute and b) do the first two years at a community college (typically closer to $2k/yr, or $18k-$21k for 2 years cc + 2 years state college).

With a bit more public subsidy (or differently targeted subsidy), many US colleges could be well within the $20k USD range for commuting students. And some courses of study already are.

comment 7y ago · link · parent

This is both false and not relevant.

This is false because many fields do care very much. E.g. medicine (and not just mds), law, the patent bar, and many engineering fields care about accreditation. Even degrees from highly acclaimed universities aren't enough if the degree isn't accredted by the right body (eg ABET for the patent bar).

This is also not relevant because, in practice, places with good reputations are typically accredited.

comment 7y ago · link · parent

Most everything mentioned here that's administered through a university is "valid" in the usa and canada. Many Indian universities are also recognized by USA and Canadian firms/universities (eg certainly the IITs).

Note, however, that you won't get e.g. OPT from an online degree.

comment 7y ago · link · parent

> When looking beyond solely economic effects

Like it or not, in the USA cash is king. It is what people optimize for.

If you FIX a highly-rewarded measure for a nontrivial time period, the "take best comers" approach kicks ass. As long as your fix apriori and them measure. That's what we see here. GDP was defined before current immigration policy was set, after all.

If we have faults, they are in our system for doling out rewards. Not in the color/creed/religion of the people we let compete for those rewards.

If you want better social cohesion, design social systems to REWARD that cohesion. Then, communities will offer what you seek. To your great surprise, I suspect, those communities will be highly diverse.

Otherwise, you end up with sub-populations that severely under-perform on actually measured metrics and go out to search for bullshit alternative (under/arbitrarily)measured metrics by which they win. Again, that's what we see in your comment.

comment 7y ago · link · parent

Similar.

I want to suggest that perhaps those students in CA really were that much better. Not in terms of raw talent, but in terms of the previous 10+ years of their life.

I learned a lot in PhD school, but the most important thing I learned was that others' high school experiences really did prepare them for academic rigor and business success in ways that mine decidedly didn't.

comment 7y ago · link · parent

The George Dantzig case actually isn't a counter-anecdote to the XKCD observation, because Dantzig was already a graduate student in a phd program at a top statistics department when he solved those problems.

XKCD isn't criticizing the positive mindset of naive-but-gifted researchers; it's criticizing the attitude of experts in one field that their expertise necessarily gives them unique and powerful insights into solving problems in another field.

Perhaps a better counter-anecdote would be all of the mathematicians in the 1950s - 1980s who solved hard program design problems with little or no experience actually programming computers. That really was a counter-example to the XKCD mentality: a bit of mathematics was far more useful than knowing the instruction set of the latest IBM mainframe...

comment 7y ago · link · parent

To clarify, that quote is not something the journalist wrote. It's the opinion of Jarle Brivik [1]. It is also a statement that was made in the context of a few current moonshots aimed at solving cancer, and is referring specifically to concrete issues Brivik has with the paradigms underpinning those concrete attempts.

In particular, the quote is not meant as some sort of claim about the metaphysics of cancer or anything ridiculous like that. Rather, it's a (perhaps not so eloquently stated) way of pointing out that the mathematical and biological models underlying the current (and again, concrete) moonshot attempts fail to account for certain important issues and that this strongly suggests that those models are not going to result in cures.

The rest of the article summarizes some of Brivik's warrants, which are well thought-out. The claim is that the models currently used are fundamentally incapable of explaining how certain environmental factors effect cancer and the rest of the body, and that these environmental factors are important for understanding how to "solve" cancer because cancer evolves over time in often unexpected ways. The article points out, for example, that there are modeling assumptions baked into Microsoft's approach that are empirically falsifiable.

Finally, I'll just re-iterate that the argument made in the article is made in the context of current proposed/ongoing moonshots, so various comments about nanobots at the like are totally off-topic.

The article is not about science fiction. The topic is not whether maybe one day in the far future we might have enough knowledge about cancer cells to take a purely mechanistic approach toward curing cancer. Whether, the article is about the allocation problem in real science, today, and makes an argument against the efficacy of the approach taken by some current, concrete, well-funded moonshots.

[1] https://www.med.uio.no/imb/english/people/aca/jbreivik/

comment 7y ago · link · parent

> so they're supposed to give you a chance to pick up your litter to avoid the fine but some don't do that.

That seems like an ineffective mechanism. Just litter and pick it up in the very rare cases where you get called out.

If I were council dictator for a day, I would make the fines stiff and immediate but require that 100%^1 of the revenues are refunded to all residents at the end of each year.

That way there's still a stiff disincentive to littering, but no significant incentive for abusive/dishonest enforcement.

[^1]: (perhaps sans some low and more importantly fixed amount to cover enforcement costs)

comment 7y ago · link · parent

> the model

Surgical robots -- at least the ones that actually exist and work today -- are designed more like traditional safety-critical robotics platforms and less like a one-off case study for a nice visualization/table for an end-to-end deep RL paper. There is no "the model".

comment 7y ago · link · parent

My posts are all about teaching, as opposed to more research-oriented academic labor.

> $90k (9 month salary) is the bottom 10th percentile for a starting assistant professor in CS.

That's only because your data includes professors at R1s and also not including instructors at R1s. This is doubly misleading, since those professors you are including spend most of their time on research and those instructors you aren't including are the ones doing the bulk of the teaching.

And outside of R1, 90k is damn good for ast professors.

If you are teaching for a living, as opposed to doing research, $90k is in the upper 10th percentile at the asst prof rank, and $100k is a ceiling for tippy-top candidates at the asst prof rank.

> $200k (9 month) is the 90th percentile for a full professor with 16+ years.

...and is also bottom 10th percentile for wet-behind-the-top- ears top 10 PhDs, who don't have 16+ years experience on top of their 5+ year phd...

> This obviously varies by school and region, but $60k-$70k is what you would expect for an instructor at a very low rank school, which is not a position PhDs from top universities would be applying for.

Sure, but outside of top 10 $150k is still pretty typical industry salary for phds.

The same problem exists at every scale.

Your assertion is also fairly confusing; lots of smart people decide to teach at places where they can have the greatest impact, which is typically not a large-endowment private school...

comment 7y ago · link · parent

A lot of scientific insights are obvious in hindsight. IMO especially in applied mathematics, but maybe that's just because it's a field I know well enough to notice.

A lot of ideas are obvious even without hindsight (again, especially in applied mathematics, and again, maybe that's just my bias). None-the-less, the person who said it first gets their name on the important idea.

There are lots of "<person's name> operator" and "<person's name> theorem" in big-but-not-core fields of (again, esp applied) mathematics where this phenomenon occurs.

I've been party to a lot of conversations that go something like "<person's name> idea or <person's name> technique is just '<fairly basic thing> applied to <fairly commonplace thing>' and it's stupid that it's named after <person's name>".

I always remind the speaker that this is good news -- one route to science fame is to just state the obvious loudly enough and early enough ;-)

comment 7y ago · link · parent

Think >60% acceptance rate, low 100MMs endowment.

(Even at 400K, "highly paid administrators" doesn't pass the smell test.)

1
121314
50