jazzdotdev / jazz Goto Github PK
View Code? Open in Web Editor NEWThe Scripting Engine that Combines Speed, Safety, and Simplicity
License: Apache License 2.0
The Scripting Engine that Combines Speed, Safety, and Simplicity
License: Apache License 2.0
I saw an Apache app that had a simple GUI for starting and stopping. It could possibly have clap options.
improvements to filesystem bindings, from lighttouch's fs workarounds and gut's fs workarounds
Currently we are waiting by default for the response
local response = client_request.send("google.com")
exposing futures would look like this
local future = client_request.send("google.com")
-- we can do anything we want after sending the request
-- even send it and forget it
-- and then we can get the response
local response = future.wait()
Found Patterns Studio App Store
This is just a test environment whose output we either use for some ongoing reason or only check to see that everything still works how we want it to.
from: https://www.cisco.com/c/en/us/td/docs/routers/access/wireless/software/guide/SysMsgLogging.html
searched: log severity levels
https://github.com/foundpatterns/torchbear/tree/master/src/lua_bindings/crypto
Example: design contest where voters' keys have witnesses and profiles connected. profiles have reviews connected. designs are images from a profile and have connected votes.
we need to replace yaml use cases with this
https://github.com/foundpatterns/torchbear/blob/master/src/lua_bindings/markdown.rs
Example: blog
content with type: blog
rendered in html... { .. | safe } in some html template to make that work
waiting on jazzdotdev/flute#4
currently, we have try-catch.
https://github.com/foundpatterns/torchbear/blob/2b7737008f925b793dff466dbdd508ece9baacf5/src/managers/web_server.lua#L8-L21
if we mlua-rs/rlua#88 , we can get a stack trace.
error message can go in log.error()
.
events["incoming_request_received"]:trigger(request)
for k, v in pairs(rules) do
v.rule(request, events)
end
To select the logging level, start torchbear with the --log
option with the most verbose level acceptable, between error, warn, info, debug and trace. Default is info, it's used if no log option is specified.
I think the specified package should return a function which accepts the request as an argument and returns the response
event: request_process -> request_received
https://www.drupal.org/project/drupal/issues/1677052#comment-6679754
Example - TODO
https://github.com/lholden/job_scheduler
Example: ?
https://actix.rs/actix-web/actix_web/dev/struct.ConnectionInfo.html?search=ConnectionInfo
similar to extract table from header, but for ConnectionInfo
this is obviously old
can we pass the environment's address and port to Lua?
we could read it out of the settings file, but getting it from torchbear would be better than that
For some reason rust panics when trying to parse the response body into json
Currently the crypto bindings have only one special type: keypair, of which a value is returned by crypto.box.new_keypair
and crypto.sign.new_keypair
, because that's the only special type it's the one with all the important operations, so to sign currently both the private and public key are needed but the public is not necessary to sign.
Change it so that private and public keys are different types with their own operations.
warning: use of deprecated item 'tera::Context::add': Use `insert` instead to keep consistency with std collections
https://github.com/utkarshkukreti/select.rs
Example: In web-client request for https://github.com/search?l=&q=user%3Afoundpatterns&type=Issues , <h3>
has # of issues. Display that.
DateTime timestamp_subsec_nanos
also, import only needed modules
Currently the lua_prelude and application settings tell torchbear additional paths from where to include lua packages, but setting additional module paths should be up to the applications, and torchbear should only use a single init file
When logging everything (using the log-scope option), which module logged which messages.
I think unused bindings could be turned off with #feature cfg.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.