wisdom

Building better developers by specifying criteria of success (by prettydiff)

Wisdom Alternatives

Similar projects and alternatives to wisdom

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better wisdom alternative or higher similarity.

wisdom reviews and mentions

Posts with mentions or reviews of wisdom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-02.
  • Ask HN: How can I learn about performance optimization?
    6 projects | news.ycombinator.com | 2 Mar 2024
    Measure everything and be extremely critical. Be ready to challenge common and popular held assumptions.

    Here is something I wrote about extreme performance in JavaScript that is discarded by most programmers because most people that program JavaScript professionally cannot really program.

    https://github.com/prettydiff/wisdom/blob/master/performance...

  • TypeScript Is Surprisingly OK for Compilers
    14 projects | news.ycombinator.com | 18 Aug 2023
    That depends on how many changes it requires. If its just a matter of don't do these 3 things and your code suddenly becomes more predictable its like being slapped with a magic wand. Everybody wins. All you have to do to ensure 100% of your code compiles in a JIT is be predictable. Predictable code is, on its face, always less confusing.

    > The performance benefits are likely to be minimal

    This makes me cry, but not a cry of joy or ecstasy. People guessing about performance is perhaps the most frequent anti-pattern in all programming. Please read this document, you can skip to the end but it may not make much sense if you do. https://github.com/prettydiff/wisdom/blob/master/JavaScript_...

  • Htmx
    5 projects | news.ycombinator.com | 25 May 2023
    Software developers, especially DOM fearing front developers love using the word easy. It isn’t so much an infatuation but more like a fatal attraction obsession where obstruction means war on a very emotional level. Ironically, people are loathe to confront these feelings openly and thus cannot define the word easy with any kind of clear practical application.

    So, I did the world a favor and wrote just such a definition: https://github.com/prettydiff/wisdom/blob/master/Easiness.md...

  • Building a Front End Framework; Reactivity, Composability with No Dependencies
    11 projects | news.ycombinator.com | 14 May 2023
    Depends on the definition of simplicity. People say they want simple, but then really want easy. The most easy is always somebody doing the work for you. I got tired of hearing people mention easy when really they probably mean some combination of fearful and/or lazy, so I chose to define easiness:

    https://github.com/prettydiff/wisdom/blob/master/Easiness.md

    If developers really wanted simplicity or to be done with work faster they would just learn the primitives of their environment: DOM, functions, and events. Most of the frameworks have APIs that are huge, so clearly simplicity isn't what's wanted.

  • Ask HN: What is your favorite front end state management solution?
    12 projects | news.ycombinator.com | 25 Dec 2022
    I use a simple 4 point system for state management:

    https://github.com/prettydiff/wisdom/blob/master/state_manag...

    I use it for an OS GUI here which fully loads in 200ms in Chrome (300ms Edge):

    https://github.com/prettydiff/share-file-systems

    When simple things, like state management, become complicated they are either over engineered or poorly planned.

  • Ask HN: What's the biggest problem you've faced with SPA JavaScript frameworks?
    2 projects | news.ycombinator.com | 27 Nov 2022
    These frameworks spend a tremendous effort trying to solve ridiculously simple problems. The most obvious example is state management. Here is how I solve for state management in a few easy steps:

    https://github.com/prettydiff/wisdom/blob/master/state_manag...

    With that approach I can have full state restoration on a full OS GUI running in the browser that loads in 0.3 seconds with state fully restored:

    https://github.com/prettydiff/share-file-systems

  • The WebSocket Handbook
    14 projects | news.ycombinator.com | 11 Jan 2022
    I wrote a document explaining how to implement your own web socket service: https://github.com/prettydiff/wisdom/blob/master/websocket_s...

    Implementing your own service logic is incredibly helpful in the cases where you have multiple sockets to manage and custom logic associated with identity, reestablishment, custom data handling, and so forth. There are features in the protocol that aren't used in the browser, for example, and allow for custom scaling.

    Here are my learnings about web sockets:

    * They are session oriented so that means both end points have to agree to connect. That mitigates many security risks associated with HTTP traffic.

    * Web socket messages cannot be interleaved. In 99% of cases this isn't an issue, because control frames unrelated to a web socket message can occur anywhere without interruption. This becomes a problem if you are transfer a large file that takes a substantial amount of transfer time. All other messages must wait in a queue, which means long delayed microservice status updates or you just break things.

    * Web sockets are so much faster to process than HTTP. A web socket is primitive. There is no roundtrip (request/response), no headers, and no additional negotiation. I reduced some test automation in my personal application from 45 seconds to 7 seconds by fully converting from HTTP to web sockets for messaging.

    * Reliance on web sockets simplifies so much of a service oriented application. I used to rely upon callbacks to HTTP responses to verify message completion and perform next step actions in an application. Instead I am switching to specific messaging for everything. A response is a specific message when the responding machine is ready. This eliminates response timeouts, flattens the architecture, and eases service testing by moving all messaging concerns to a single listener as opposed to listening for responses versus requests from other machines.

    * Since web sockets are session oriented they are potentially more fragile than HTTP. If the pipe drops you have to reestablish the connection before sending/receiving service messages.

  • A note from our sponsor - WorkOS
    workos.com | 28 Mar 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic wisdom repo stats
25
566
5.4
7 months ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com