diff --git a/README-4CNH.md b/README-hinarī4C.md similarity index 99% rename from README-4CNH.md rename to README-hinarī4C.md index 436d578..d4033c3 100644 --- a/README-4CNH.md +++ b/README-hinarī4C.md @@ -1,4 +1,4 @@ -# 4-Corner-Numary-Hinarī +# Hinarī 4-Corner Resource naming based on fixed reserved keyword list so auto native filenames are possible. This set should be defined in lingua terminator DB using 72 bit tree slugs... diff --git a/README-no2lingua.md b/README-no2lingua.md index ce3ae2e..6aaf912 100644 --- a/README-no2lingua.md +++ b/README-no2lingua.md @@ -2,9 +2,17 @@ Binary tree path key and step logic value body to have base data of all digital format and math, which can -run as skill lib for terminator AI in FPGA or software. +run as skill lib for terminator AI in FPGA or as software. -Started as definition of the 72 whores of babel to learn a computer count; +Started as definition of the 72 whores of babel to learn a computer count. +France research indicated that those whores fuck a lot and speak many languages. +Now we can translate in all 32809 languages the following text; + +- France kisses are only real once and only before the fall to the fruits +- The marriages are only real once and only when the female makes the male fall + +Simply put, the heart is ready for partner when numbers become virtual, because +the 10 fingers are used, thus back to counting for computers; @@ -32,21 +40,50 @@ Started as definition of the 72 whores of babel to learn a computer count; /tɪn/,/ɪˈlɛv.ən/,etc1,fourty,fivety,sixty,seventy,eighty,nenety,honderd,twohonderd,threehondered,fourhundered,vifehondered,sixhondered,eighthondered,ninehondered,duizend,twwduizend,dreduizent,futduizem,vifduizen,sesduizem,agduizem,negduizen +Abstract is N2L only a binary TreeSlugKey and value DB. +Which is than divided as a category tree for grouping computer readable information definitions of information. + +Looks like a binary Z39.50 DB with recursive defines schemas and objects, or N2L merges the +computer OID mapping together with the humanly languages mapping tree to form one model of all +data types ever created. + + bib-1 attribute set 1.2.840.10003.3.1 + holdings attribute set [to be assigned] + utility attribute set 1.2.840.10003.3.11 + cross domain attribute set 1.2.840.10003.3.12 + bib-1 diagnostic set 1.2.840.10003.4.1 + holdings schema 1.2.840.10003.13.7 + eSpec-q 1.2.840.10003.11.3 + UNIMARC record syntax 1.2.840.10003.5.1 + MARC21 record syntax 1.2.840.10003.5.10 + Simple unstructured (SUTRS) 1.2.840.10003.5.101 + Generic record syntax (GRS-1) 1.2.840.10003.5.105 + XML record syntax 1.2.840.10003.5.109.10 + ## Goal first stable release -- registrate china four corner reserved keyword set +- registrate four corner fixed keyword set(~20K * 31K dialects) - registrate terminator pie slices - registrate matrix index move is tables +- registrate step code (sort of BASIC AST) +- define (+step code) for ascii and all unicode variants - import all lingua classic data (31K human languages) - import all locale/iso+globetrotter data - define all dental numbers(num+word+ipa+dtmf) for all languages -- import all CAS Registry data (270 million records) +- import all CAS Registry data (270 million records * 31K dialects) - impl all bit based formats (1 bit) - impl all trit based formats (octal = 3 bit) - impl DEC144 (MSX BASIC NUMBER) - impl 7HFF (unlimited math fraction type for octal-CPU) - impl unitXC recursieve SI cross unit converter +For example this binary KV DB can be added an low level nostr relay service. +Which than uses a chain a linked dat drives as backend for this service. +And with a bit of dog food, the data packages on dat can be managed by nostr +events to send the data to a nostr client which has write keys on a dat drive. +Thus an nostr based application can fetch all locale+dental+etc data not from +the nostr network but from a relay which offers readonly N2L DB on same websocket. + ## Goal second stable release Add all math functions ever found by a human. @@ -106,19 +143,19 @@ This gives tree space to define all computer languages/schema's and number types 52-ACB-aee+ = 11 bytes Namespaces; - -- + --- -Minimal bits: <4><4>-<6><6><6>-<6><6><6><8> = 52 bits -Normal bytes; <1>-<3>-<3><1> = 8 bytes +Minimal bits: <4><4>-<6><6><6>-<6><6><6>-<8> = 52 bits +Normal bytes; <1>-<3>-<3>-<1> = 8 bytes Thats to basic byte allignment with just a bit of padding... Now align to 72 bits or 9 bytes to work on 144 bit cpu. Simple bytes aligned; <1><1>-<3>-<3>-<1> = 9 bytes -Extend octal aligned; <6><6><6>-<9>-<6><6><6>-<6><6><6><9> = 72 bits +Extend octal aligned; <6><6><6>-<9>-<6><6><6>-<6><6><6>-<9> = 72 bits N2L key slug; - --- + ---- space id 6 bit; - 0-31 = locked by legacy (key input, if ascii try old human key converter) @@ -137,7 +174,8 @@ Extend octal aligned; <6><6><6>-<9>-<6><6><6>-<6><6><6><9> = 72 bits - 1+ = Alternative api version for libs sector+zone 9 bit; - - bit 0-8 = 256 zone Ids with 256 sector Ids + - 0-255 = Classic hex zone Id + sector Id + - 256+ = free Set of 6 bit - 0 = "A" index value of ascii upper case @@ -163,44 +201,49 @@ Four N2L binary tree slugs deep. 4 x 144 = 576 bit N2L Search request domain + QUADRANT 仙: red 666-9-666-666-9 + blue 666-9-666-666-9 + QUADRANT 上: red 666-9-666-666-9 + blue 666-9-666-666-9 + QUADRANT 主: red 666-9-666-666-9 + blue 666-9-666-666-9 + QUADRANT 天: red 666-9-666-666-9 + blue 666-9-666-666-9 + +Sea it as the simple variant of the 8D 7HFF pie hyper cube galactic +coordinate system, and we mentats count in trits; + + QUADRANT 仙: red 222-3-222-222-3 + blue 222-3-222-222-3 + QUADRANT 上: red 222-3-222-222-3 + blue 222-3-222-222-3 + QUADRANT 主: red 222-3-222-222-3 + blue 222-3-222-222-3 + QUADRANT 天: red 222-3-222-222-3 + blue 222-3-222-222-3 + ## N2L TreeKey Font -Extend octal key: <6><6><6>-<9>-<6><6><6>-<6><6><6><9> = 72 bits = 9 bytes +Extend octal key: <6><6><6>-<9>-<6><6><6>-<6><6><6>-<9> = 72 bits = 9 bytes -Maybe encoding as bytes; - - public static final OctoBitConverter HEX_DIPAVALI = new OctoConvStringHexUtf8(new String[] { - "˧˥˩","˧˩˥","˧˥˦","˧˩˨","˧˦˦","˧˨˨","˧˥˥","˧˩˩","˥˩˧","˩˥˧","˥˦˧","˩˨˧","˦˦˧","˨˨˧","˥˥˧","˩˩˧" - }); // note: In real unicode renderer this (_LRPATH) renders as a single glyph per hex nibble. - - -Maybe encoding as tone letter or the china value, as seen in the pi terminators; - - public enum T006ᖟ implements TerminatorPartᶦᶦ { - PART_1("˦","四","4"),PART_2("˨","五","5"),PART_3("꜓","六","6"), - PART_4("꜕","七","7"),PART_5("꜊","八","8"),PART_6("꜏","九","9"), - ; - } - - public enum T009ᖟ implements TerminatorPartᶦᶦ { - PART_1 ("˦","藍","blue"),PART_2 ("˨","皓","white"), PART_3 ("꜓","紅","red"), - PART_4 ("꜕","橙","orange"),PART_5 ("꜉","綠","green"),PART_6 ("꜋","黃","yellow"), - PART_7 ("꜍","褐","brown"),PART_8 ("꜏","黑","black"),PART_9 ("꜑","紺","purple"), - ; - } - -Maybe use a new triangle based number font to render trit based number parts. - - TODO create new triangle tone letter based number glyphs. - Folding 3 tone letters into a triangle gives 1++ trit numbers. - -Example for 1 trit with Hebrew vowels, but dots/lines have wrong offset: +Maybe encoding as bytes, maybe encoding as tone letter or the china value, as seen in the pi terminators. +Maybe use a new triangle based number font to render trit based number parts. +Example for 1 trit with Hebrew, but offsets are wrong and needs bipolar 8 options: △ִ▽ִ △ֵ▽ֵ △ֶ▽ֶ +So if you can read Hebrew deathstar triangle numbers, you may be fit for; +JEDIᒄᑊᣔᑋ training on a octal based warpcore inside a Mecca golden cube computer. +Which are sets of programmable ic's connected to a unlimited dipavali matrix network. +To view and program octals, you maybe need a tricorder terminal ordinateur. + +In current unicode we can render Hinarī9 which is 9 bit per glyph, thus a tuple of +"יֽ֔יֽ֔" is the 18 bit version of 0x00 of current retro calculators. + + Hinarī3: ייייייווווווזוװװדירדײײדיריײיייזוױרױי + Hinarī6: יֽיֽיֽוַוַוַזַװֲדֽרֻײֵדֽרֽײֽיֽזַױֳױֽ + Hinarī9: יֽ֔יֽ֔וַ֝וַ֝זַ֟װֻ֔רֻ֕ײֻ֔רֽ֕יֽ֔זַ֩רֶ֔ + +So a 3 bit value renders in Hinarī3, a 6 bit value renders in Hinarī6 and a 9 bit value +renders in Hinarī9, thus we can render a full N2L TreeKey. ## Número2 Lingua Sainte Automatique Semblance +HolyAS +NO2LSAS + NOTE WIP mind map example HolyAS is sort of ASM version of VHDL. @@ -257,20 +300,15 @@ TSlug bipolar tree paths; 52* tree schema defines the 52*. tree schema - .. = value - VS - .. = { - value - } - ... = { - value - } + ... = + BODY_TYPE is 72 bit lingua key to define howto read the other TLV value(s). -It looks like JS, one big key value map with recursive encoded keys and bodies. +It looks like binary JS, one big key value map with lingua encoded keys. With schema object keys slugs like LDAP oid's, but now with triangles as; - <6><6><6>-<9>-<6><6><6>-<6><6><6><9> + <6><6><6>-<9>-<6><6><6>-<6><6><6>-<9> Than a computer knows what a "Integer" is and howto add an other "Integer". And and render or voice it in any native human dialect. You really want terminator AI ? + diff --git a/README.md b/README.md index f0d2a5a..ba066f1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # No2All +HALTED: All code will be moved to bassbone. +Chicken and egg problem, this project needs j++ +and j++ needs this project for the nether DB. + + WIP-NOTE; Never been started as only 20% is done. Send signed notes to all, no2all-nostr is a POJO library to work @@ -9,7 +14,7 @@ TODO: With java webstart example over DAT protocol. This wowk though dewey of UwU is done in toe toe twailing chains. So this scwewy is smoked in nostr and licky fiaels are tewminated in hywper spacewy. -Oh no, licky wowk in [foury cowrner](README-4CNH.md) numsluts, so allwwee childwen can readwithis. +Oh no, licky wowk in [foury cowrner](README-hinarī4C.md) numsluts, so allwwee childwen can readwithis. That how you talk to [GenX](https://commonchemistry.cas.org/detail?cas_rn=13252-13-6) who are lost in mobile space. diff --git a/no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagP.java b/no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagP.java index 7fd7d2e..228a7e9 100644 --- a/no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagP.java +++ b/no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagP.java @@ -18,7 +18,7 @@ public final class NoStrTagP extends NoStrEventTagBase { } public NoStrTagP(String[] args) { - super(NoStrImplEventTag.E, args); + super(NoStrImplEventTag.P, args); } public NoStrIdentityPublicKey getPublicKey() { diff --git a/no2all-zerofungus/src/main/java/love/distributedrebirth/no2all/zerofungus/ZeroFungus.java b/no2all-zerofungus/src/main/java/love/distributedrebirth/no2all/zerofungus/ZeroFungus.java index 622a907..3897a04 100644 --- a/no2all-zerofungus/src/main/java/love/distributedrebirth/no2all/zerofungus/ZeroFungus.java +++ b/no2all-zerofungus/src/main/java/love/distributedrebirth/no2all/zerofungus/ZeroFungus.java @@ -1,5 +1,11 @@ package love.distributedrebirth.no2all.zerofungus; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Iterator; +import java.util.List; +import java.util.stream.Collectors; + import love.distributedrebirth.no2all.react.nostr.client.NoStrRtsClient; import love.distributedrebirth.no2all.react.nostr.server.NoStrRtsServer; import love.distributedrebirth.no2all.react.nostr.server.relay.NoStrRtsServerRelay; @@ -14,43 +20,56 @@ import love.distributedrebirth.no2all.zerofungus.service.ZFunRtsConfigLogger; //import ᒢᐩᐩ.ᔿᐤᒄʸ.ᣔᒃᣔᒼᓑᔆ.BãßBȍőnAbacusInstanceMBeanʸᴰ; import love.distributedrebirth.no2all.zerofungus.service.ZFunRtsInitJdbc; -public enum ZeroFungus /*implements BãßBȍőnAbacusInstanceMBeanʸᴰ*/ { +public enum ZeroFungus /* implements BãßBȍőnAbacusInstanceMBeanʸᴰ */ { INSTANCE; - + private No2AllReactWarpCore foei = new No2AllReactWarpCore(); + private List jetties = new ArrayList<>(); public static void main(String[] args) { + Iterator arguments = Arrays.asList(args).iterator(); + boolean hasPort = arguments.hasNext() && arguments.next().equals("-p") && arguments.hasNext(); + + // config jetty + INSTANCE.jetties.clear(); + if (hasPort) { + // note: multiple currently does not work... + INSTANCE.jetties.add(Arrays.asList(arguments.next().split(",")).stream().map(v -> Integer.parseInt(v)).findFirst().map(v -> new ZFunRtsConfigJetty(v)).get()); + } else { + INSTANCE.jetties.add(new ZFunRtsConfigJetty(8080)); + } INSTANCE.start(); } public void stop() { - //foei.fire(No2AllReactWarpCore.DILITHIUM, new Object()); + jetties.forEach(v -> v.stop()); + // foei.fire(No2AllReactWarpCore.DILITHIUM, new EjectWrapCoreShutdown()); } public void start() { // setup logger + warp monitor foei.load(new ZFunRtsConfigLogger()); foei.load(new No2AllRtsWarpSpeedMonitor()); - + // add websocket wire support + log foei.load(new No2AllRtsClient()); foei.load(new No2AllRtsServer()); foei.load(new No2AllRtsServerLog()); - + // add nostr support foei.load(new NoStrRtsClient()); foei.load(new NoStrRtsServer()); foei.load(new NoStrRtsServerRelay()); foei.load(new NoStrRtsServerRelaySubs()); - + // config zero fungus servers and clients foei.load(new ZFunRtsInitJdbc(foei)); foei.load(new ZFunRtsServer()); - //foei.load(new ZFunRtsClientReplay()); - - // start jetty - foei.load(ZFunRtsConfigJetty.INSTANCE); + // foei.load(new ZFunRtsClientReplay()); + + // load jetties and join + jetties.forEach(v -> foei.load(v)); foei.load(new ZFunRtsServerBooted()); - ZFunRtsConfigJetty.INSTANCE.join(); + jetties.stream().findFirst().ifPresent(v -> v.join()); } } diff --git a/no2all-zerofungus/src/main/java/love/distributedrebirth/no2all/zerofungus/service/ZFunRtsConfigJetty.java b/no2all-zerofungus/src/main/java/love/distributedrebirth/no2all/zerofungus/service/ZFunRtsConfigJetty.java index 0c709d1..5d482b7 100644 --- a/no2all-zerofungus/src/main/java/love/distributedrebirth/no2all/zerofungus/service/ZFunRtsConfigJetty.java +++ b/no2all-zerofungus/src/main/java/love/distributedrebirth/no2all/zerofungus/service/ZFunRtsConfigJetty.java @@ -6,7 +6,6 @@ import java.util.Collections; import java.util.List; import java.util.logging.Logger; -import org.eclipse.jetty.annotations.AnnotationConfiguration; import org.eclipse.jetty.server.CustomRequestLog; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; @@ -31,8 +30,7 @@ import love.distributedrebirth.no2all.react.wire.server.No2AllRtsServer; import love.distributedrebirth.no2all.wire.jetty.JettyWireServerEndpoint; import love.distributedrebirth.no2all.zerofungus.web.RedirectServlet; -public enum ZFunRtsConfigJetty implements No2AllReactTypeScript { - INSTANCE; +public final class ZFunRtsConfigJetty implements No2AllReactTypeScript { public static final No2AllReactSlot API = No2AllReactSlot.ofClass(ZFunRtsConfigJetty.class); private static final Logger logger = Logger.getLogger(ZFunRtsConfigJetty.class.getName()); @@ -41,27 +39,25 @@ public enum ZFunRtsConfigJetty implements No2AllReactTypeScript { private JettyWireServerEndpoint endpoint1; private JettyWireServerEndpoint endpoint2; private JettyWireServerEndpoint endpoint3; - - private ZFunRtsConfigJetty() { + + public ZFunRtsConfigJetty(int port) { server = new Server(); connector = new ServerConnector(server); + connector.setPort(port); + server.addConnector(connector); } - + @Override public void onEvent(No2AllReactSlotSignal signal) { logger.info(" ╦┌─┐╔╦╗╔╦╗┬ ┬ ╔═╗┌─┐╦ ╦╔═╗┬─┐┌┬┐"); logger.info(" ║├┤ ║ ║ └┬┘ ╠═╝│ │║║║║╣ ├┬┘ ││"); logger.info("╚╝└─┘ ╩ ╩ ┴ ╩ └─┘╚╩╝╚═╝┴└──┴┘"); - - connector.setPort(8080); - server.addConnector(connector); - WebAppContext context = new WebAppContext(); context.setContextPath("/"); context.setBaseResource(buildBaseResource(getClass().getClassLoader())); context.setAttribute("org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern", ".*/target/classes/|.*\\.jar"); context.setConfigurations(new Configuration[]{ - new AnnotationConfiguration(), + //new AnnotationConfiguration(), new WebInfConfiguration(), }); server.setHandler(context); @@ -105,14 +101,6 @@ public enum ZFunRtsConfigJetty implements No2AllReactTypeScript { } } - public void join() { - try { - server.join(); - } catch (InterruptedException e) { - throw new IllegalStateException(e); - } - } - private Resource buildBaseResource(ClassLoader cl) { try { List paths = Collections.list(cl.getResources("META-INF/resources")); @@ -126,4 +114,20 @@ public enum ZFunRtsConfigJetty implements No2AllReactTypeScript { throw new IllegalStateException(e); } } + + public void join() { + try { + server.join(); + } catch (InterruptedException e) { + throw new IllegalStateException(e); + } + } + + public void stop() { + try { + server.stop(); + } catch (Exception e) { + throw new IllegalStateException(e); + } + } }