Rawer

Under Construction

Journal 2025-05-16

Blog might be back...

Journal 2025-05-10

Setting up Linux Mint.

Journal 2025-05-07

Journal 2025-05-03

Here’s the trace of where your message goes and how it should reach ProcessorImpl.getProperty:

CLI Entry: You run:

This calls the bash script trans, which runs node run.js ....

Argument Parsing: In run.js, yargs parses the --message argument and coerces it to a JS object.

CommandUtils: CommandUtils.handleOptions is called, which calls CommandUtils.parseOrLoadMessage. This wraps your message as { payload: { theSettingProperty: ... } }.

AppManager: AppManager.start(message) is called with the message object. The message is merged with app context, then passed to each transmission’s process(message).

Transmission: The transmission’s process(message) method is called, which passes the message to each processor in the pipeline.

Processor (TestSetting): The processor’s process(message) is called. In TestSetting.js, it calls this.getProperty(ns.trn.theSettingProperty).

ProcessorImpl.getProperty:

Checks if the property is in the message (via propertyInMessage). If not, checks settings/config.

Journal 2025-04-30

I broke #:transmissions!

Web fs prompt

I would like you to write a node js HTTP server app called WebStore using ES modules and the express library that will do the following :

  • handle HTTP GET, POST, PUT, DELETE, using a preset filesystem subdirectory on the server to store
  • there will be HTTP Basic authentication on PUT, POST and DELETE with username:password
  • content/media type will be handled using the standard technique through filename extensions
  • run on port 4500

This will be put on an existing server running nginx, which will proxy to port 4500. Please create configuration webstorage.conf

Additionally I'd like a simple object-oriented command-line client app called wstore using yargs library in ES modules that supports the same core functionality as curl.

Base URL will correspond the server-side fs dir, so eg. http://hyperdata.it/files might correspond to /home/hyperdata/webstore/files. The filename with refer to both the local file and the target resource on the server.

Please render all source code as complete, individual artifacts.

#:todo

Refactor #:semem

  • rebuilt sparql graphs