quicr / numero-uri Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 2-Clause "Simplified" License
License: BSD 2-Clause "Simplified" License
The HttpEncoder seems to be stateless and allways takes an UrlTemplater. So imagine we renamed the UrlTemplater to be UrlEncoder and hung the encode and decode off of it. Seems like that would make more sense to users.
Spec needs to describe the template format and how an given URL gets encoded
Need to describe way location on github for the URI templates and way to update that based on PR from owner of given PEN
Need to be in mmark ( not kramdown )
I think we can move to only the public includes that a user of the library needs are in ./inc
For example,
https://webex.com<pen=123>/meeting<int16>/room<int16>
I think all the stuff for managing configuration should be outside the library and the library works on the assumption that a valid JSON file is loaded into memory then passed into the library. So the CLI program might still have stuff for accessing a file but it all moves out to that.
One where we have manually computed the encoding by hand then see if program matches
MOQ has the concept of Track Namespace and Track Names to which things subscribe to.
When mapping between MoQ Tracks to Quicr Namespace, we need to be able to look up multiple prefixes under a given sub-pen.
This requires support in template addition/encode/decode flows.
In file included from /Users/snk/work/m10x/numero-uri/cli/src/main.cc:6:
/Users/snk/work/m10x/numero-uri/cli/inc/TemplateFileManager.hh:22:19: error: implicit instantiation of undefined template 'std::basic_stringstream'
stream->write(buf, count);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/iosfwd:144:32: note: template is declared here
class _LIBCPP_TEMPLATE_VIS basic_stringstream;
^
In file included from /Users/snk/work/m10x/numero-uri/cli/src/main.cc:6:
/Users/snk/work/m10x/numero-uri/cli/inc/TemplateFileManager.hh:56:27: error: implicit instantiation of undefined template 'std::basic_stringstream'
std::stringstream stream;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/iosfwd:144:32: note: template is declared here
class _LIBCPP_TEMPLATE_VIS basic_stringstream;
^
/Users/snk/work/m10x/numero-uri/cli/src/main.cc:58:21: error: call
Be nice if CLI could use curl to load a template file from a URL on say github
Load a bunch of templates then test performance of encode and decode
Lets talk about much faster way to do the uint128 stuff.
On a bunch of stuff use, we can do it with direct compiler support for in128 and on others I would like to use a struct with two int64
I would love to pick a test framework that was not gtest - it has constant installation problems. That said, I am not sure what to move to ?
If we end up with just a list of template strings, does make me wonder if we need it or not
I always get
FluffyMac18.fluffyhome.com:numero-uri 132% ./build/bin/numero_uri add-template 'https://webex.com/<int24=123>/meeting/room'
Failed to open template file creating an empty one
Added template.
and when run twice, seems same thing
Too hard to sort out what is going on when they are in decimal
Right now we add a string to templar like
https://!{www.}!webex.com/<int24=11259375>/meeting/user
But that seems like it has an extra / before the the int24 representing a pen and should be more like
https://!{www.}!webex.com<int24=11259375>/meeting/user
It needs to be able to match a string like
Keep track of all the names of people that contributed and their github userID
I think this can work for any type of URL so we should not make it specific to Http
If I call CLI with no parameters, should tell me what I can do
Pull the jon lib into a ./contrb directory with submodules
Current behaviour:
We cannot edit a template in code once it has been made without having to edit the template file.
Expected behaviour:
We should be able to pass a PEN value and receive the template that is associated with it for viewing and be able to pass a PEN value and an updated url_template object.
If I add a template for then encode
encode https://webex.com/1/meeting0/room0
I get a hex number of
56BC75E2D631000000000000000
Similarly is I move I do pen 0 and
https://webex.com/0/meeting0/room1
I get a hex dec number of
0000000000000000025600000000000000000000
which is hex
56BC75E2D6310000000
I did not poke into how this is all going but something is not right in encoding or in print out of number of something
We should move all the stuff for the CLI to be in ./cmd director that has the source for that and is a seperate project that calls the library. Sort of like test libs are done
Allow an optional subPen which is 8 bit number that follows the pen and is constant ( like the pen ) that is provided in template and allows for 256 templates in single pen
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.