1,122 karma · joined Aug 5, 2014 (12y ago) · 547 submissions
comment 11y ago · link · parent
One component of Schneier's recommendation is protecting researchers who practice full disclosure ("...attempt to muzzle security researchers who find problems"), but that's not really the core of his message in this post.
comment 11y ago · link · parent
I'm skeptical of whether VW would have been caught any sooner, or would have changed their behavior, if they were forced to release source code; "and then analyze" is far easier said than done, especially with generated code (which is common in the automobile industry). I fear that if anything, forcing VW to release source code would have simply resulted in uselessly obfuscated "generated" code.
I'm skeptical of the proposition that taxpayers should take on the cost of analyzing reams of generated code without any context or documentation.
And finally, I'm skeptical that these calls for public access to source code are politically feasible, fair, or wise. The amout of intellectual capital that's spent on ECU design is absolutely massive. I don't see anyone in the tech industry calling on Congress to force Google or Microsoft to open source core components or reveal their software to regulators, even though vulnerabilities in their software could easily ruin or end lives.
It might make more sense to mandate that comapnies provide verifiable evidence that their safety-critical or regulation-relevant systems are properly designed, with a variety of avenues to compliance.
Releasing source code to the public and paying for at least one private analysis (to be selected by government regulators) would be one way of achieving this. This would probably be the easiest option for IoT companies (e.g. run-of-the-mill smart lightbulb manufacturers) whose source code doesn't contain any particularly valuable IP. And this would also force companies to pay up when they release hopelessly obfuscated code.
But this also opens the opportunity for other paths to compliance which, if designed properly, could address the safety concerns of the public as well as the fairness/property rights concerns of private entities. For example, one alternative path for companies whose IP concerns are legitimate could be use of formal methods. The regulation/safety specifications could be open to the public for criticism, and would be far more readable than a dump of generated code. And a few regualtors could double check that a trusted formal methods tool verifies that the specifications hold for the software running on the car, at minimal cost to both the car company or the general public.
comment 11y ago · link · parent
The phase out of nuclear power isn't the result of a coalition trying to appease a radical fringe component. It's broadly reflective of public will in Germany.
http://www.world-nuclear.org/info/Country-Profiles/Countries...
comment 11y ago · link · parent
I take two weeks off from drinking coffee each year (not because of the coffee, it just works out that way).
I had horrible withdrawal the first year, and switched from 3ish cups of American style coffee to 3ish shots of espresso with water or milk. Same amount of liquid, but considerably less caffeine. I haven't had withdrawal problems since.
comment 11y ago · link · parent
There is a common perception that gifted students are "like other students, but smarter and better at school stuff".
This is a flawed perception; it's not at all uncommon for gifted students to do very poorly in school, and not just for social reasons.
Instead of thinking of "gifted" as "better", you should think of gifted as "special".
(FWIW, I agree with your criticism of your parent post and upvoted you -- gifted students aren't more important than any other student.)
comment 11y ago · link · parent
I'm not an educational researcher and I don't have a thorough understanding of the research methodology or the issues involved in designing those studies. Every Education researcher I've talked to thinks anti-common core people are a bit nuts and/or fundamentally don't understand what common core even is (I think most of them would put you in this second camp, since you're complaining about specific assignments).
But as a mathematician, some problems are obviously the sort of problems that anyone with a passable mathematics education should have no problem solving. The common core problems people complain about are decidedly in this set.
So when people say "I can't solve this common core problem", I mostly take it as an indication that they've had a really shitty mathematics education rather than an indication that common core is flawed.
And yes, even someone who has passed through a calc course at Harvard can be bad at math.
> I guess Harvard, MIT, etc. don't count.
Harvard, MIT, etc. have excellent Mathematics departments and, following my criteria, any Math major for either of those institutions could have a lengthy conversation about common core. Indeed, among the many mathematicians I know with undergraduate degrees from Harvard College, I've never heard a single one complain that common core problems are obtuse or difficult.
The distinction I was drawing is that US-based Calculus for Engineers and ODEs for Engineers courses aren't proof-based except in a small handful of cases. And, those courses are often easy to skate through with little or no mathematical understanding. Yes, even at elite universities.
Which goes back to my original observation -- if you really can't add numbers in a novel way or setup and solve for a set of linear equations, then you're apparently not very good at math. Even if you are an intelligent pattern matcher who made it through a few calc courses by applying templates and performing rote calcuations.
comment 11y ago · link · parent
Especially the second one. I'm not sure what a calc I teacher is supposed to say if a student has any foundational questions, which any bright student probably will.
comment 11y ago · link · parent
But when those anecdotes and narratives are ultimately nothing more or less than an appeal to authority ("I'm an ENGINEER/accountant/etc. and can't do/didn't do/don't need to do this -- it must be crap!"), then it's absolutely reasonable to question that authority.
What, exactly, was the problem that your friend had trouble finding the correct answer to?
I'm extremely skeptical claims with the form "I'm an X and can't do CC problems" for a reason. There's no shortage of anti-common-core accountants/engineers/etc. who take the the blogosphere with complaints that "even they" don't know how to work a problem.
But when you look at the problem, it's just performing addition using a non-standard algorithm or setting up and solving for a linear relationship. Not exactly rocket science. And then you look at Calc III classrooms and see students who clearly haven't internalized division. Which leaves only one conclusion -- being an engineer or accountant who made it through a few calc courses doesn't exactly equate to "good problem solver" or "understands anything about mathematics".
> Looking at a lot of these studies, they are just gussied up anecdotes with questionable method and results.
I'm not really sure what you're talking about here.
I don't need empirical evidence that understanding multiple algorithms for a arithmetic procedures is a useful and crucial exercise. Just like I don't need empirical evidence do know that there's a lot less value in memorizing quick sort than there is in seeing multiple different sorting algorithms and comparing them.
> and you don't make the rules
Obviously :-) But it's a good sanity check on what it means to be well-trained in mathematics.
If you've never written a proof of substantial length, you really don't know what mathematics actually is. In particular, the mathematics courses US engineers and accountants take are mostly unsubstantiated symbol pushing (warrant: find me a calculus student in the US outside of Chicago or a few other places who can prove the fundamental theorem), which isn't mathematics.
comment 11y ago · link · parent
Forfeiture would be more like the EPA confiscating (and then auctioning off) a factory because it might have been polluting too much maybe, with the onus on the company to prove that they weren't polluting. Or the SEC confiscating all the money you made on an insider trade, and then demanding you prove that you didn't insider trade before getting the money back.
comment 11y ago · link · parent
Yeah, these anecdotes of supposedly brilliant people incapable of learning a new way to add numbers are always about engineers and accountants and stuff. Never an actual mathematician. It's almost like they went through an entire college degree pushing symbols and were never forced to stop and come up with a real proof on their own...
It's possible to have a heavy math background and still be shit at math. Especially if that background stopped short of anything proof-based (but even then, plenty of people memorize proof techniques instead of actually understanding the arguments and the subject).
Calculus sequences and ODEs courses that EEs take are particularly bad. They are just symbol pushing like in middle and high school. More symbols and more complicated pushing, but nothing essentially deeper.
If I had a dime for every vector calculus student who didn't understand basic facts about the Reals (or even the Integers)... and most of them get decent marks, too.
So, new rule: any rant about common core mathematics can only contain as many words as the number of words in the longest proof the speaker has written outside the context of a homework assignment or exam.
comment 11y ago · link · parent
* identify a rote procedure to apply when a problem of a particular form is seen
* execute the rote procedure
* come up with "<equation here> / 0"
* ... and then turn the thing in anyways.
comment 11y ago · link · parent
My first point was exactly that transparency isn't a solution, even theoretically. There's no such thing as perfect knowledge when the questions you're asking are undecidable.
My second point was that even if transparency is a solution theoretically, it's demonstrably not a solution historically. People (including customers not subject to CYA-induced stupidity) choose insecure proprietary systems over secure open source systems all the time.
comment 11y ago · link · parent
No one is recommending copy/pasting aerospace regulations. In part because we're now 10-30 years further along in basic and applied CS research than we were when those regs were drafted.
What makes aerospace regulations expensive is the process, not the analysis. The attitude that formal methods are completely untenable is painfully sutck in the 1990's. For god's sake, Facebook runs portions of their code base through static analyses, as does Google. If websites are important enough to establish the safety of using formal methods, then the software running are ours sure as hell is.
In any case, thing is sure: as software becomes an integral part of high-level safety-critical control decisions, it needs to either be taken seriously by car companies and trusted by the general public.
Formal methods and static analysis are the only way we know of for establishing trust in software systems without revealing their source code or relying on black box testing (the downsides of which are demonstrated by both the Toyota UA and VW emissions testing cases). If you know of a third option, then by all means...
comment 11y ago · link · parent
Even speaking theoretically, the behavior you're describing isn't even an accurate description of how rational actors without resource constraints and with perfect knowledge would behave (because e.g. there are qualities aside from security and safety that might make it impossible to use an alternative product, and there might be qualities that are impossible to measure directly). And anyways, all three of those assumptions are clearly out-of-touch with reality.
Specifically wrt automobile software:
* Even with public access to source code, it's impossibly expensive for the average consumer (even the average software engineer; hell, even the average automotive engineer) to make a decision with truly perfect knowledge. Any number of safety constraints boil down to intractable questions if code is designed in a way that isn't amenable to inspection. So even in a purely theoretical setting with completely rational actors, making a fully informed decision might just not be possible.
* Many consumers will overlook errors in previous products and plausible errors in current products; Toyota's brand is doing just fine despite the findings of experts in the UA case. And I bet a lot of the software on cars that have sold even this year has some of the same structural problems, because based upon the expert testimony, a lot of that code probably needed to be essentially rewritten, and it's highly unlikely that they've achieved that in a year or two.
comment 11y ago · link · parent
comment 11y ago · link · parent
The people being harmed by software vulnerabilities are rarely the people who made an informed decision to use a certain piece of software. People who shop at Target can't meaningfully be said to make a choice to trust Target's software -- it's not something the average consumer things about.
So although "should" is an understandable prescription, "would" is a bit unrealistic...
comment 11y ago · link · parent
I always thought this was an engineering culture war thing -- software engineers aren't really engineers and software is sort of this silly thing that you use to glue together "real" engineering products.
Hopefully the author of your parent post will elaborate some :-)
(edit: I assumed you meant business-engineering culture war, not engineering-software. Might've been mistaken upon rereading)
comment 11y ago · link · parent
See "Butterfly Method, Jesus Fish" or "Backflip and Cartwheel":
http://www.nixthetricks.com/NixTheTricks2.pdf
They're both super inefficient tricks that are totally unnecessary if you know and understand the theorem they embody.
> If I can explain and justify the trick - then let me use it.
This book is a guide for teachers, not a rule book for students.
For the tricks that are arguably good hacks, the authors provide a simple argument: the time investing in teaching the trick is not worth it, and is better spent somewhere else (see the Jim Doherty quote just before the TOC).
The argument isn't that students should not be allowed to use certain theorems if they understand those theorems. Rather, the argument is that teachers should invest their finite teaching resources explaining other theorems instead.
Often, the authors are arguing that there is an equivalent and equally useful formulation of the same theorem (or a similar one) that's easier to derive and understand. Which is the sort of justification any working mathematician should be on board with (they don't need to agree with the conclusion, but the form of the justification is at least reasonable).
> This mode of thinking does not apply to mathematics.
But this does apply in education writ large. E.g. sacrificing understanding for good performance on a standardized test.
This is not a book telling you how you should do mathematics in your work day. It's a book advocating for certain ways of allocating classroom teaching time.
comment 11y ago · link · parent
Anecdotally, yes -- and damn proud of it! A lot of the backlash against Common Core Mathematics is from people who want Mathematics education to stay that way.
The reason is that a huge amount of mathematics educators in American secondary schools aren't properly trained in even elementary Mathematics.
At the lower grades (ages < 15 or 16) it's mostly because you can go through all of high school and university in America without understanding anything about Mathematics. For example, most people at the university I attended never took a Calculus course. Everyone was required to take a Mathematics course, but there are math courses that are essentially repeats of what you would expect a non-exceptional sixth grader to understand -- matching linear functions to their graphs and the like. These courses even get recommended by teaching colleges because even Calculus I was perceived as "hard" or "advanced" "math". And Calculus I itself was entirely superficial and mostly trick-based (because calculus isn't proof based except at a tiny handful of elite universities).
Result: most Mathematics educators a typical student encounters before the age of 15 have never written a proof (with practical consequences; e.g., they don't know what induction is). Even worse, these educators would probably have a hard time defining a function in terms that a working mathematician would find meaningful (educators now have their own cutesy but non-rigorous definitions for things like "number" and "function").
At the upper ages (~15 until university), I'm convinced it's because teachers are not properly compensated and so teaching doesn't appeal to the best students. Many high school teachers that teach math at least complete an undergraduate degree in Mathematics, although even that is not actually required in many states. However, based upon my anecdotal experience tutoring and interacting with peers while in university, Education students are typically in the bottom half of Mathematics students and often rely on (and prefer :-( ) "trick"-based "mathematics", even in proof-based courses (memorizing formats of theorems and corresponding proofs, then figuring out what symbols/numbers to plug in. But with zero understanding of the underlying argument).
comment 11y ago · link · parent
> Are you saying that revealing source will lead to more bureaucracy that formal specs will somehow avoid?
I'm arguing that process is insufficient (which, crucially, doesn't imply formal methods are by themselves sufficient, and also doesn't imply process or access to source code isn't necessary).
Merely revealing the source code isn't enough if you need to know how the car behaves and have to recover the meaning of a bunch of complicated equations in order to make any sense of the code. Really reading and trusting the code would require more effort than re-writing it.
> Current history is showing that if the source code isn't revealed, the formal specs will be rigged
Hm. That's very surprising to me. Can you give an example of a company providing a rigged formal spec?
Also, rigging formal specs is why the formal specs should be reivewed by a third party expert.
And if/when fraud does happen (e.g., by giving a bunk formal spec or cheating on the proof), formal methods still have two advantages over process:
* The debate over whether enough work went into QC becomes trivial, and skimping on QC becomes willful deceit (something that's incredibly hard to demonstrate in the status quo).
* Unlike process, there are technical solutions to the problem of rigging proofs. And, the specs themselves are much easier to review than the code. So the review process is pretty likely to catch cheating.
comment 11y ago · link · parent
This is why regulators should embrace formal methods as an alternative to process-heavy regulation. They're actually measuring ground truth, and today are not that much more expensive after accounting for all the costs associated with certification processes.
comment 11y ago · link · parent
A 3rd party review can reveal horrid practices, but it's hard-pressed to make any sort of guarantee, no matter how soft.
We know how to do better than "process". Software verification techniques are approaching economical. If a piece of safety-critical software is going to put lives at stake on every road in America, it's reasonable to ask the creator of the software for a set of formal specs that is concise enough it can actually be reviewed by experts, together with a proof that their software meets that formal spec.