hn12
Joined 16 years ago
Joined 16 years ago
I'll say this a different way: my personal opinion is that there's at least a whole book that deserves to be written on the documentable underinvestment in government measurements of national characteristics. We've trained a couple of generations--especially the most recent one--that rhetoric, rather than analysis, is the appropriate basis for policy decisions.
Skepticism, or at least reserve, in the face of expertise, can be a healthy impulse. It's simultaneously a leading slogan of the jingoistic playbook of authoritarians. Anti-intellectualism isn't a solvable problem: it's an ongoing temptation that every society needs to address in contemporary terms.
Well, the correct answer to almost any such technical question is "yes and no". This one comes as close as any to a bare "no".
It's a good question. PDF->SVG conversions are quite powerful--when they work. They simply do NOT work, in the general case. I deal with a hundred-thousand PDFs at a time, and they demonstrably don't behave with enough regularity to allow for the kind of general transformation I suspect you have in mind.
As it happens, our little company does quite a bit of business extracting content from specific classes of PDFs http://phaseit.net/claird/comp.text.pdf/PDF_content_extracti... Coincidentally, I also research and deliver advanced SVG effects http://phaseit.net/claird/comp.text.xml/SVG_examples.html I certainly am sympathetic to your aim. To be successful, you need to specify your situation more precisely.
One of the difficulties with Expect is that it's hard to explain its usefulness to newcomers. Expect itself is easy enough to understand; but a common initial reaction is, "So?"
Part of the difficulty is that Expect particularly shines in occasional circumstances that no one wants to repeat. It's a tool, more than a product--like a funny little jig that looks peculiar, but saves HOURS when you are doing particular operations with a drill press.
Network devops, for instance, might need to monitor and update hundreds of devices spread across multiple datacenters for a particular task accessed through a command-line interface (CLI). The CLI is "easy", in that it only takes thirty seconds to do one instance of the chore--but a royal nuisance to repeat for hour after hour. A "correct" answer probably involves setting up authentication key pairs and ... well, you can see where this is going. How "correct" is that kind of configuration, though, when it might have to be done only once in the lifetime of the datacenters? This is a typical case where twenty minutes of Expect scripting can save HOURS, and sometimes days, of error-prone typing. It would easily be worth hundreds of dollars to have Expect on hand for this one use. No one will ever pay for Expect, though, because it helps most for these pesky side-tasks that no one really budgets.
I can give lots of examples of good uses for Expect--but each single example will only apply to a handful of people around the world. Nearly everyone needs Expect in some way, but each instance is highly idiosyncratic.
Expect is a little like duct tape or WD-40.
I'm sufficiently involved with Expect that I've collected enough material for an entire book on the subject (serious--I do a lot of writing, and am well aware of what's involved in such a publication); at the same time, I know that jlgreco is EXACTLY right that Expect use is a symptom of a larger problem. Much of what I've already published through the years about Expect is how a particular task that used to be done with Expect now can better be handled with automation-interface-X.
Plenty went wrong. Plenty went right.
Hand-recounted votes aren't such a bad thing, in my personal view; more objectively, I think it's only fair to note how often they happen in the US, Canada, the UK, ...