24 Matching Annotations
  1. Dec 2022
    1. While I initially started using just one single HTML file for my tiddlers, I soon switched over to the nodeJS installation. This still has better benefits like: you can run the instance in Docker install tiddlywiki and its dependencies without messing around with your system you’ll get multiple “flat” files (.tid files are in plain text) you can apply sed, awk, bash foo to extract/modify data even if Tiddlywiki will be discontinued some day, you’ll still be able to import your notes in whatever note-taking syntax

      For this advantajes regarding flat files and their programmability, we are using our custom build package TiddlyWikiPharo which allows us to have the single file approach while not using NodeJS (so, keeping at bay its incidental complexity). Our flat files are STON files, serialized from the live representation of the tiddlers objects from the Smalltalk image to the filesystem.

      And while is still possible to use Unix tools to extract/modify data over those plain files, we prefer to manipulate the tiddlers lively/directly inside the image, with all the advantages of a emergent DSL that give us to have the tidllers represented as a collection of live objects, as shown in the Malleable Systems Wiki data narrative. Also, instead of just plain text Unix scripts, we can build, share and publish complete interactive data narratives involving the import/export and manipulation of tiddlers (as the afore mentioned one).

  2. May 2022
    1. Also referred to as the backend development, Express.js is popularly used to design a web application’s behind-the-scenes architecture. The backend of an application is not visible to the end-users, but it exists. It is an inevitable part of the web application.
  3. Jan 2022
    1. There are a lot of nasty gotchas with unhandled rejections. That's why Node.js gives you a mechanism for globally handling unhandled rejections.
  4. Jun 2021
  5. May 2021
  6. Mar 2021
  7. Jan 2021
  8. Dec 2020
  9. Nov 2020
  10. Oct 2020
    1. Secondly, whether this works is highly dependent on the module bundler. For example, in codesandbox, when bundling our app with Parcel (or Webpack or Rollup), this solution doesn’t work. However, when running this locally with Node.js and commonJS modules this workaround might work just fine.
    1. Node doesn't have a DOM available. So in order to render HTML we use string concatenation instead. This has the fun benefit of being quite efficient, which in turn means it's great for server rendering!
  11. Sep 2020
    1. Since most CommonJS packages you are importing are probably dependencies in node_modules, you may need to use @rollup/plugin-node-resolve:
  12. Feb 2020
    1. k6 does not run in Node.js because it would perform poorly while running larger tests.Javascript is not generally well suited for high performance. It's a Go program - to achieve maximum performance - embedding a JavaScript runtime for running tests written in JavaScript.
  13. Nov 2019
  14. Jun 2019
    1. In this article, we are going to talk about the same kind of much-debated back-end programming technologies like Node.Js and PHP! We will know how do they differ from each other and why Node.js vs PHP is such a hot topic among developers.
  15. Apr 2019
  16. Aug 2017
  17. Sep 2015