19 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. 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.
  3. Jun 2021
  4. May 2021
  5. Mar 2021
  6. Jan 2021
  7. Nov 2020
  8. 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!
  9. 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:
  10. 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.
  11. Nov 2019
  12. Aug 2017
  13. Sep 2015