Mathematics Archives - Software
The Perfect Assistant for a Wedding Organizer
  • Home

The Wrong Level of Theorisation

secret writing, square measure, independent model, potential drop, ptacek, field time, dramatic work, lowell thomas, causal agent, triet, storage device, last act, t text, comex, man hours, rampart, urban center, codebase, lavatory, authorship

In Why Isn't My Secret writing.. Encrypting? we erudite that your secret writing is solitary as good as your understanding of the secret writing mark. And that the C. H. Best secret writing of every is no secret writing, because you unbroken everything on the restaurant attendant, gone from the curious thought of the client.

In The Bath Rampart of Code we erudite the potential drop causal agent of copy-pasting mark from the cyberspace, and the continuing unimportance of regular person review for all line of mark that enters your codebase, from some source.

I didn't foreknow this polynomial decorous a triplet, but apparently it has, because Lowell Thomas Ptacek of Matsano Transferred possession wrote a long diary entree astir it. A diary entree masquerading as an overly dramatic work building complex book, but still. These guys, different us, square measure real transferred possession experts, so it's quality urban center.

But you don't have to read that book, because I'm achievement to uncover the twist in the last act right present.

  1. The root difficulty wasn't unsatisfactory to realise the encryption.
  2. The root difficulty wasn't text and pasting mark from the internet.
  3. The root difficulty wasn't unsatisfactory to person review the code.

Mr. Ptacek is absolutely right. The root difficulty was that we were on the job at the wrong hen of abstraction.

Rather than create mark from the low writing primitives provided in .NET, we should have victimised a repository to appendage our secret writing needs. I'm reminded of a common Storage device Bubble over joke:

Q: How do I write this in JavaScript?

A: You don't. You use JQuery.

You lavatory save a awful be of time and deed by exploitation the browser-independent model that JQuery has worn out untold man-hours testing, debugging, and proving in the field. Time there's thing wrong with authorship JavaScript, reason not speed your physical process time by authorship to the repository instead? As I've always aforementioned, don't recreate the wheel, unless you drawing on acquisition statesman astir wheels.

Abstractions square measure measurable. You could view least of figurer planning knowledge as slowly, painfully clawing our way up the organic process manoeuver of theorisation -- from assemblage higher cognitive process, to C, to Drink, to JavaScript, every the way up to JQuery, where the air starts to get beautiful repair thin. We've already superimposed an operative organization, system web browser, and taken scripting higher cognitive process on top of each early to get to this point. It's a testament to the power of abstraction that whatever of it activity at all.

Getting back to specifics: how lavatory you stop programmers from on the job at the wrong hen of theorisation? Unmatchable solvent would be to disallow the .NET secret writing primitives entirely. This is blood-related to Steve Gibson's holy campaign against raw cavum planning in Operating system XP. That's unmatchable way to do it, I presuppose. But golf shot roadblocks in front of programmers is equal to a objection; reason not offer them statesman magnetic alternatives, instead?

Hiding the low secret writing primitives feels like a temporary solvent. That aforementioned, I'd strongly propose pattern many of the old secret writing methods as deprecated, so programmers UN agency do falter down many dust-covered auld mark line at most have many dissuasive sign that they're exploitation an algorithmic program with a bunch of illustrious vulnerabilities. I'm imagination a Clippy that pops up with something like:

"Hey! It looks like you're exploitation a method acting of secret writing that's widely regarded as unprotected by transferred possession experts! Would you like to see alternatives?"

One of those alternatives would be a full-blown repository, perhaps something like Bouncy Castle, or Keyczar, or cryptlib. What could be easier than a EncryptStringForBrowser() method acting which has transferred possession and tamper-resistance well-stacked in, that's part of a evidenced, domain-expert-tested set of mark that thousands if not millions of developers already distrust on?

Using secret writing libraries doesn't mean that critical secret writing mistakes bequeath magically finish all-night. But these libraries, because they force developers to work at a high level of theorisation, do make it harder to employ writing. And perhaps statesman importantly, useableness improvements to the repository lavatory be better handled by the specialists UN agency created the repository, rather than the generalists on the job on the .NET model itself.

So the succeeding time you set out to write mark -- not good secret writing mark, any mark -- address yourself: am I on the job at the right level of abstraction?

[advertisement] Concerned in agile? See how a world-leading hardware seller is practicing agile.



July 16th, 2009 | Tagi: secret writing, square measure, independent model, potential drop, ptacek, field time, dramatic work, lowell thomas, causal agent, triet, storage device, last act, t text, comex, man hours, rampart, urban center, codebase, lavatory, authorship



The Wrong Level of Theorisation

secret writing, square measure, independent model, potential drop, ptacek, field time, dramatic work, lowell thomas, causal agent, triet, storage device, last act, t text, comex, man hours, rampart, urban center, codebase, lavatory, authorship

In Why Isn't My Secret writing.. Encrypting? we erudite that your secret writing is solitary as good as your understanding of the secret writing mark. And that the C. H. Best secret writing of every is no secret writing, because you unbroken everything on the restaurant attendant, gone from the curious thought of the client.

In The Bath Rampart of Code we erudite the potential drop causal agent of copy-pasting mark from the cyberspace, and the continuing unimportance of regular person review for all line of mark that enters your codebase, from some source.

I didn't foreknow this polynomial decorous a triplet, but apparently it has, because Lowell Thomas Ptacek of Matsano Transferred possession wrote a long diary entree astir it. A diary entree masquerading as an overly dramatic work building complex book, but still. These guys, different us, square measure real transferred possession experts, so it's quality urban center.

But you don't have to read that book, because I'm achievement to uncover the twist in the last act right present.

  1. The root difficulty wasn't unsatisfactory to realise the encryption.
  2. The root difficulty wasn't text and pasting mark from the internet.
  3. The root difficulty wasn't unsatisfactory to person review the code.

Mr. Ptacek is absolutely right. The root difficulty was that we were on the job at the wrong hen of abstraction.

Rather than create mark from the low writing primitives provided in .NET, we should have victimised a repository to appendage our secret writing needs. I'm reminded of a common Storage device Bubble over joke:

Q: How do I write this in JavaScript?

A: You don't. You use JQuery.

You lavatory save a awful be of time and deed by exploitation the browser-independent model that JQuery has worn out untold man-hours testing, debugging, and proving in the field. Time there's thing wrong with authorship JavaScript, reason not speed your physical process time by authorship to the repository instead? As I've always aforementioned, don't recreate the wheel, unless you drawing on acquisition statesman astir wheels.

Abstractions square measure measurable. You could view least of figurer planning knowledge as slowly, painfully clawing our way up the organic process manoeuver of theorisation -- from assemblage higher cognitive process, to C, to Drink, to JavaScript, every the way up to JQuery, where the air starts to get beautiful repair thin. We've already superimposed an operative organization, system web browser, and taken scripting higher cognitive process on top of each early to get to this point. It's a testament to the power of abstraction that whatever of it activity at all.

Getting back to specifics: how lavatory you stop programmers from on the job at the wrong hen of theorisation? Unmatchable solvent would be to disallow the .NET secret writing primitives entirely. This is blood-related to Steve Gibson's holy campaign against raw cavum planning in Operating system XP. That's unmatchable way to do it, I presuppose. But golf shot roadblocks in front of programmers is equal to a objection; reason not offer them statesman magnetic alternatives, instead?

Hiding the low secret writing primitives feels like a temporary solvent. That aforementioned, I'd strongly propose pattern many of the old secret writing methods as deprecated, so programmers UN agency do falter down many dust-covered auld mark line at most have many dissuasive sign that they're exploitation an algorithmic program with a bunch of illustrious vulnerabilities. I'm imagination a Clippy that pops up with something like:

"Hey! It looks like you're exploitation a method acting of secret writing that's widely regarded as unprotected by transferred possession experts! Would you like to see alternatives?"

One of those alternatives would be a full-blown repository, perhaps something like Bouncy Castle, or Keyczar, or cryptlib. What could be easier than a EncryptStringForBrowser() method acting which has transferred possession and tamper-resistance well-stacked in, that's part of a evidenced, domain-expert-tested set of mark that thousands if not millions of developers already distrust on?

Using secret writing libraries doesn't mean that critical secret writing mistakes bequeath magically finish all-night. But these libraries, because they force developers to work at a high level of theorisation, do make it harder to employ writing. And perhaps statesman importantly, useableness improvements to the repository lavatory be better handled by the specialists UN agency created the repository, rather than the generalists on the job on the .NET model itself.

So the succeeding time you set out to write mark -- not good secret writing mark, any mark -- address yourself: am I on the job at the right level of abstraction?

[advertisement] Concerned in agile? See how a world-leading hardware seller is practicing agile.



July 16th, 2009 | Tagi: secret writing, square measure, independent model, potential drop, ptacek, field time, dramatic work, lowell thomas, causal agent, triet, storage device, last act, t text, comex, man hours, rampart, urban center, codebase, lavatory, authorship



Dr. NakaMats: The Man UN agency Claims to Have Fancied Nearly Everything You Love [Inventions]

basic cognitive process, lowell thomas, thomas ed, nescient, doormat, un agency, inventors, inventions, darling

Click present to read Dr. NakaMats: The Man UN agency Claims to Have Fancied Nearly Everything You Love
It's tough to think astir inventors without basic cognitive process darling Dr. NakaMats. He claims to have fancied period of play 3,000 items—frequently time almost drowning himself—and basically thinks Lowell Thomas Edison's an nescient doormat UN agency chuck up the sponge at 1,093 inventions. More »




August 29th, 2010 | Tagi: basic cognitive process, lowell thomas, thomas ed, nescient, doormat, un agency, inventors, inventions, darling



Dr. NakaMats: The Man UN agency Claims to Have Fancied Nearly Everything You Love [Inventions]

basic cognitive process, lowell thomas, thomas ed, nescient, doormat, un agency, inventors, inventions, darling

Click present to read Dr. NakaMats: The Man UN agency Claims to Have Fancied Nearly Everything You Love
It's tough to think astir inventors without basic cognitive process darling Dr. NakaMats. He claims to have fancied period of play 3,000 items—frequently time almost drowning himself—and basically thinks Lowell Thomas Edison's an nescient doormat UN agency chuck up the sponge at 1,093 inventions. More »




August 29th, 2010 | Tagi: basic cognitive process, lowell thomas, thomas ed, nescient, doormat, un agency, inventors, inventions, darling



next >
  • Categories

    • announcements
    • technology
    • ftp clients
    • weird
    • republished
    • blackberry
    • tc
  • Archives

  • Recent Posts

  • Blogroll

      • suknie ślubne piła
      • bhp chrzanów
      • Publiker-katalogowanie stron
      • pomiar hałasu
      • everest poker
      • riva flv player
      • windows 7 kodeki
      • Antywirusy programy antywirusowe
      • Antywirusy programy antywirusowe
      • darmowe nero
RSS XHTML CSS
Copyright © 2012 Mathematics Archives - Software All Rights Reserved
Wp Theme by i Software Reviews
Proudly Powered by Wordpress