This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-06
Channels
- # babashka (19)
- # beginners (68)
- # calva (9)
- # cider (27)
- # clj-kondo (64)
- # clj-on-windows (2)
- # cljdoc (8)
- # clojure (11)
- # clojure-europe (58)
- # clojure-italy (1)
- # clojure-nl (23)
- # clojure-uk (5)
- # clojurescript (9)
- # cryogen (18)
- # cursive (14)
- # data-science (17)
- # emacs (6)
- # gorilla (6)
- # graphql (1)
- # gratitude (2)
- # holy-lambda (10)
- # introduce-yourself (1)
- # jackdaw (3)
- # jobs (1)
- # leiningen (2)
- # malli (3)
- # missionary (33)
- # off-topic (21)
- # pedestal (7)
- # polylith (8)
- # quil (3)
- # random (1)
- # releases (1)
- # remote-jobs (7)
- # shadow-cljs (18)
- # specter (1)
- # sql (8)
is there a graph (more precisely "forrest"?) database wherein identities could be defined such that their attributes may not only be a reference to but also a computation over other identities?
i imagine a transactor that receives an event (an update over an identity) and applies it over the db. each event triggers updates for all the identities that branch from the initial point down the tree until there is no more deps.
Materialize is an SQL database that does this. The underlying Differential Dataflow library might be of interest, or indeed the original paper which describes ways to optimise the process of making these incremental updates.
Kafka Streams does a pretty good job of simple stuff just by sending CDC messages between tables. My struggle with that has always been that the moment you have both updates and stateful streaming logic you're slightly out of luck.
This also sounds pretty similar to entailment/automated reasoning in the field of knowledge graphs/engines. Though in those, entailed facts are usually calculated at query-time on-demand from a set of rules (i.e. an ontology) rather than at insert time, since the body of entailed rules might be big enough that you’d prefer not to store it directly.
That sounds similar to a rules engine like http://www.clara-rules.org/ or https://github.com/oakes/odoyle-rules
you have base facts and you can also have rules/derived facts
Yes, and it’s not really a database. But it probably has some properties you’re looking for
In SQL you can do that with views and triggers. In datalog with rules and functions or ions (datomic)
hi I have an issue with webpack
so I was following this tutorial:
and on the npm start step, which runs webpack serve --mode development --env development
I get this error:
% npm start
> [email protected] prestart /Users/prikshetsharma/Desktop/hello
> npm run copy:types
> [email protected] copy:types /Users/prikshetsharma/Desktop/hello
> rsync -avr .dfx/$(echo ${DFX_NETWORK:-'**'})/canisters/** --exclude='assets/' --exclude='idl/' --exclude='*.wasm' --delete src/declarations
building file list ... done
sent 314 bytes received 20 bytes 668.00 bytes/sec
total size is 19112 speedup is 57.22
> [email protected] start /Users/prikshetsharma/Desktop/hello
> webpack serve --mode development --env development
No production canister_ids.json found. Continuing with local
[webpack-cli] Failed to load '/Users/prikshetsharma/Desktop/hello/webpack.config.js' config
[webpack-cli] TypeError: Cannot read property 'hello' of undefined
at Object.<anonymous> (/Users/prikshetsharma/Desktop/hello/webpack.config.js:96:35)
at Module._compile (/Users/prikshetsharma/Desktop/hello/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (/Users/prikshetsharma/Desktop/hello/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at WebpackCLI.tryRequireThenImport (/Users/prikshetsharma/Desktop/hello/node_modules/webpack-cli/lib/webpack-cli.js:32:22)
at WebpackCLI.loadConfig (/Users/prikshetsharma/Desktop/hello/node_modules/webpack-cli/lib/webpack-cli.js:1554:34)
at WebpackCLI.resolveConfig (/Users/prikshetsharma/Desktop/hello/node_modules/webpack-cli/lib/webpack-cli.js:1677:49)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: `webpack serve --mode development --env development`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/prikshetsharma/.npm/_logs/2021-10-06T09_04_41_152Z-debug.log
any ideas what might be causing this?this doesn't seem like a good off-topic question. But also you have a stack trace telling you that line 96, column 35 of hello/webpack.config.js it cannot read the property 'hello' of an object that is undefined
it’s working on other machines, but not this one