Hacker Laws

(github.com)

142 points | by Olshansky 4 days ago ago

21 comments

  • JoshTriplett 4 days ago ago
    • qznc 4 days ago ago

      I recently learned another wrong time-related assumption: Each day, sunrise is before sunset.

      Actually, closer to the poles sunset sometimes happens after "midnight".

    • solyin 3 days ago ago

      Did you send a pull request?

  • mesrik 3 days ago ago

    How about, Vonada's Engineering Maxims - great advise from electronics pioneers long time ago.

    https://gunkies.org/wiki/Vonada%27s_Engineering_Maxims

    Vonada's Engineering Maxims are a group of pithy observations about computer engineering compiled by Don Vonada, an engineer at DEC, and reproduced in:

    * C. Gordon Bell, J. Craig Mudge, John. E. McNamara, "Computer Engineering: A DEC View of Hardware Systems Design" (Digital Press, Bedford, 1978)

      They are:
       1. There is no such thing as ground.
       2. Digital circuits are made from analog parts.
       3. Prototype designs always work.
       4. Asserted timing conditions are designed first; un-asserted timing conditions are found later.
       5. When all but one wire in a group of wires switch, that one will switch also.
       6. When all but one gate in a module switches, that one will switch also.
       7. Every little pico farad has a nano henry all its own.
       8. Capacitors convert voltage glitches to current glitches (conservation of energy).
       9. Interconnecting wires are probably transmission lines.
      10. Synchronizing circuits may take forever to make a decision.
      11. Worse-case tolerances never add - but when they do, they are found in the best customer's machine.
      12. Diagnostics are highly efficient in finding solved problems.
      13. Processing systems are only partially tested since it is impractical to simulate all possible machine states.
      14. Murphy's Laws apply 95 percent of the time. The other 5 percent of the time is a coffee break.
      (#10 is apparently a reference to meta-stability. The seeming typo in #11 - "Worse" - is in the original.)
    
    Related observations Maurice Wilkes is reported to have said something like: "A digital circuit is like a tame animal, the analogue circuit is a wild animal. Every so often the tame animal reverts to the wild."

    (See, for instance, meta-stability.)

    External links * PDP-11/45: V6 Unix Troubleshooting, Part I Part II - a wonderful, lengthy and painful example of Maxim #12 at work

    • mesrik 3 days ago ago

      Also I did not spot a rule or advise to avoid Off-by-one errors, which some know as "fencepost error" because a closed fence contains even amount posts (pilasters) and fence elements between. But an open fence instead always need +1 post than elements between.

      Which is and attempt to cure old joke:

      * There Are Only Two Hard Things in Computer Science, cache validation, naming things and off-by-one-errors.

  • contingencies 4 days ago ago

    Or get these and other pithy fortunes at at login via https://github.com/globalcitizen/taoup (brew install taoup)

  • vivzkestrel 3 days ago ago

    you forgot the best one of all https://lawsofsoftwareengineering.com/

  • 0xbadcafebee 4 days ago ago

    Is there a Law in there about how people who read the Laws are doomed to repeat them?

    • Betelbuddy 3 days ago ago

      But there must be one for people who catalog these laws, dont fully grasp their usefulness in context. Example here is Metcalfe's Law

    • probably_wrong 3 days ago ago

      It could be a Generalized Hofstadter's law:

      You'll keep repeating the same mistakes, even when you take into account the Generalized Hofstadter's Law.

    • longdong 3 days ago ago

      "Those who don't understand unix are doomed to reinvent it, poorly."

      Microsoft’s motto!

    • Joel_Mckay 4 days ago ago

      Yes, some organizations are doomed to generate the same problems they built before... and it is impossible for individuals to fix. =3

      https://en.wikipedia.org/wiki/Conway's_law

      • pcthrowaway 4 days ago ago

        That's not what Conway's law is

        Conway's law is about the software produced by an organization reflecting the neuroses of the organization. For example, if teams which each work on a microservice which composes a distributed system have poor communication, work separately, and aren't given proper tools to coordinate or appointed cross-team delegates, the distributed system they all work on will reflect that in its components and how they interact.

        • Joel_Mckay 4 days ago ago

          In my observations, it is also inversely causal. It is much like how LLM cause some people to nievely gloss over subtlety.

          The same group will hammer any project permutation back into the same circus they enjoy. It is not a feature of individual skills, but rather how they communicates with each-other within the context of an organizations defined roles.

          I am not saying your experience is false, but I have yet to see a successful restructuring project that didn't require jettisoning 95% of division management. =3

          • TeMPOraL 3 days ago ago

            A lot of software design and architecture patterns are just about managing team communication and reporting, thinly veiled in language of computing.

  • jjkaczor 3 days ago ago

    Missing "Zawinski's Law".

  • FergusArgyll 3 days ago ago

    > If you're incompetent, you can't know you're incompetent... The skills you need to produce a right answer are exactly the skills you need to recognize what a right answer is.

    The Dunning-Kruger Effect

    This formulation implies P = NP

  • Skyfall106 3 days ago ago

    [dead]

  • elendilm 4 days ago ago

    Good.

    Wheaton's law and Dead Sea Effect are stupid. Rest is fine.

    • longdong 3 days ago ago

      Dead sea effect is obvious true, the most competent people can easier get a new job.

      • elendilm 3 days ago ago

        Keyword: "can". Can doesn't imply they will. Additionally, there are far fewer companies and job positions, and unless there are enough vacancies or enough attrition of talent, the point is moot. Add ethics, morality and comfort to the mix, and the whole situation gets messy fast.

        Anecdotal experience also points to mediocre-skilled people jumping companies more frequently, while more skilled ones tend to put their skills toward the betterment of the company.