18 Matching Annotations
  1. Last 7 days
  2. Jul 2021
  3. datatracker.ietf.org datatracker.ietf.org
    1. The WebSocket Protocol is designed on the principle that there should be minimal framing (the only framing that exists is to make the protocol frame-based instead of stream-based and to support a distinction between Unicode text and binary frames). It is expected that metadata would be layered on top of WebSocket by the application Fette & Melnikov Standards Track [Page 9] RFC 6455 The WebSocket Protocol December 2011 layer, in the same way that metadata is layered on top of TCP by the application layer (e.g., HTTP). Conceptually, WebSocket is really just a layer on top of TCP that does the following: o adds a web origin-based security model for browsers o adds an addressing and protocol naming mechanism to support multiple services on one port and multiple host names on one IP address o layers a framing mechanism on top of TCP to get back to the IP packet mechanism that TCP is built on, but without length limits o includes an additional closing handshake in-band that is designed to work in the presence of proxies and other intermediaries Other than that, WebSocket adds nothing. Basically it is intended to be as close to just exposing raw TCP to script as possible given the constraints of the Web. It's also designed in such a way that its servers can share a port with HTTP servers, by having its handshake be a valid HTTP Upgrade request. One could conceptually use other protocols to establish client-server messaging, but the intent of WebSockets is to provide a relatively simple protocol that can coexist with HTTP and deployed HTTP infrastructure (such as proxies) and that is as close to TCP as is safe for use with such infrastructure given security considerations, with targeted additions to simplify usage and keep simple things simple (such as the addition of message semantics).
  4. Jun 2021
  5. Apr 2021
    1. Windows Subsystem for Linux provides a Linux-compatible kernel interface developed by Microsoft and containing no Linux code
    1. Windows Subsystem for Linux, also known as WSL, is a compatibility layer for running Linux binary executables natively on Windows 10 using a Linux image
  6. Mar 2021
  7. Feb 2021
    1. An endpoint links your routing with your business code. The idea is that your controllers are pure HTTP routers, calling the respective endpoint for each action. From there, the endpoint takes over, handles authentication, policies, executing the domain code, interpreting the result, and providing hooks to render a response.
    1. Trailblazer extends the conventional MVC stack in Rails. Keep in mind that adding layers doesn't necessarily mean adding more code and complexity. The opposite is the case: Controller, view and model become lean endpoints for HTTP, rendering and persistence. Redundant code gets eliminated by putting very little application code into the right layer.
    2. Trailblazer is no "complex web of objects and indirection". It solves many problems that have been around for years with a cleanly layered architecture.
    1. Any representation of information such as a chart, diagram or table. Multiple views of the same information are possible, such as a bar chart for management and a tabular view for accountants.
  8. Dec 2020
    1. Svelte components are a thin layer over the DOM and naturally expose the web platform. Coding in Svelte feels like I’m moving with the grain of the web.
  9. Oct 2020
    1. Presumably this is so that you can import React libraries, even if they depend on ReactDOM, and they will work with Svelte instead.

      Reminds me of Wine. IIRC they have some system calls that they just make to be no-ops on Linux.

  10. May 2020
  11. Apr 2020
    1. To read all of the license deeds, or legal codes, visit this site and explore the different licenses. https://creativecommons.org/licenses/

      An excellent resource directly from the Creative Commons site describing the rationale of use, "three-layer" design, license types, and their specific permissions/restrictions. This is a go-to resource before and after completing this course. There is no better documentation for this topic on the internet.

  12. Jun 2018
    1. Why can’t Statler and Waldorf annotate?

      I love it! What a great idea! It's groundbreaking! Well, it's new anyway. Eh, not that new, we're from the '70s. It'll never work. It's too much work! Boo! Get off the stage you crazy bear... er, dog.


      (Serious comment - I do like this idea. But I think "heckling" only works on websites where people know they're playing a game. Statler and Waldorf stay in their box for a reason. A more alchemical approach might work, though, if there were a game culture of the characters being relatively respectful to the original writer.)

  13. Nov 2017