Bruce Conrad

Results 103 comments of Bruce Conrad

Workaround is, for example, this code: ``` coreRID = "byu.hr.core" wranglerRID = "io.picolabs.wrangler" otherDisplayName = function(eci){ oRIDs = wrangler:picoQuery(eci,wranglerRID,"installedRIDs") isParticipant = oRIDs >< coreRID isParticipant => wrangler:picoQuery(eci,coreRID,"displayName") | wrangler:picoQuery(eci,wranglerRID,"name") }...

This would actually also address issue #511 because the subscription ruleset already does the needful by selecting on the `wrangler:rulesets_need_to_cleanup` event!

Note that rulesets selecting on the `wrangler:rulesets_need_to_cleanup` event MUST complete anything needed within the confines of the existing schedule. Oh, which means the suggestion won't work. Sigh.

It also was wrong because it was running in the parent pico, not the pico that was about to be deleted!

How about this? ``` rule deleteOneChild { select when wrangler child_deletion_request eci re#^(.+)$# every { event:send({"eci":eci,"domain":"wrangler","type":"rulesets_need_to_cleanup"}) event:send({"eci":eci,"domain":"wrangler","type":"ready_for_deletion"}) } } ``` along with modifying the `child_initiates_deletion` rule to send its parent...

Here is a ruleset taking care of this: https://github.com/Picolab/fully-sharded-database/blob/main/krl/byu.hr.oit.krl#L454-L455 Suggest giving this some thought and then incorporating it into Wrangler.

@farskipper Matthew would you be so kind as to include this change with the work you are doing Saturday to upgrade the node version and various npm package versions? Many...

One difficulty when using GitHub is that after pushing a change, it can take some time (often several minutes) for the new raw URL to incorporate the change.

Hm. The [code](https://github.com/Picolab/pico-engine/blob/7eee32777be87b2a65398ae7054e16dca4f2ccdc/packages/pico-engine/src/server.ts#L13) doesn't do anything to _remove_ anything from the headers provided by `express`, which are quite slim compared to those provided by the [Common Gateway Interface](https://en.wikipedia.org/wiki/Common_Gateway_Interface) (CGI). Generate...

A `request_method` header can be added by changing [this line](https://github.com/Picolab/pico-engine/blob/7eee32777be87b2a65398ae7054e16dca4f2ccdc/packages/pico-engine/src/server.ts#L13) ``` return _.assign({}, req.query, req.body, { _headers: req.headers }); ``` to look like this line ``` return _.assign({}, req.query, req.body,...