Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Can't open /usr/share/games/fortunes/fortunes.dat.


devel / comp.theory / Re: sublinear identity recognition is possible now

SubjectAuthor
* sublinear identity recognition is possible nowDaniel Pehoushek
`- sublinear identity recognition is possible nowDaniel Pehoushek

1
sublinear identity recognition is possible now

<6a7b0aaa-76b0-41c3-bcb4-06fe2b338c75n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=34973&group=comp.theory#34973

  copy link   Newsgroups: comp.theory
X-Received: by 2002:a05:600c:4f84:b0:39c:9897:5295 with SMTP id n4-20020a05600c4f8400b0039c98975295mr11555207wmq.158.1656273906188;
Sun, 26 Jun 2022 13:05:06 -0700 (PDT)
X-Received: by 2002:a25:9f0a:0:b0:66c:8ecd:9d18 with SMTP id
n10-20020a259f0a000000b0066c8ecd9d18mr7423276ybq.345.1656273905601; Sun, 26
Jun 2022 13:05:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.theory
Date: Sun, 26 Jun 2022 13:05:05 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2600:2b00:774c:5000:9d2a:6330:c711:a945;
posting-account=wr2KGQoAAADwR6kcaFpOhQvlGldc1Uke
NNTP-Posting-Host: 2600:2b00:774c:5000:9d2a:6330:c711:a945
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6a7b0aaa-76b0-41c3-bcb4-06fe2b338c75n@googlegroups.com>
Subject: sublinear identity recognition is possible now
From: pehoush...@gmail.com (Daniel Pehoushek)
Injection-Date: Sun, 26 Jun 2022 20:05:06 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Daniel Pehoushek - Sun, 26 Jun 2022 20:05 UTC

this string matching algorithm is O(N/M)
as compared to O(N+M) for kmp
on any alphabet size.
daniel 2391++

num minusbit(num bits, num g) { if (g < one + fifthtau) { if (bits & ones[g]) bits &= diagovreason[g]; else { bits += ones[g]; bits = minusbit(bits, g + one); } } return bits;}
num minus(num more, num less) { for(num g = zero; g < one+fifthtau; g++) if (less & ones[g]) more = minusbit(more, g); return more; }
typedef void joy;
template < class tt > class set { // fibolacci 0 1 2 4 7 11 17 26 /// space growth of ordered sets
public: joy allocay(num get) {if(have<get){tt* tmp = new tt[(num)get]; if (tmp == (tt*)zero) {} else { for (num h = zero; h < have; h++)
{ tmp[h] = v[h]; v[h] = (tt)zero; } if(v == (tt*)zero) {} else { delete[]v; } { have = zero; v = tmp; have = get; tmp = (tt*)zero;}}}}
joy add(tt elt){if(y==have){allocay((one+(y>>one)+y));}v[y++]=elt;}
inline num size(){return y;} inline tt& operator[](num r){return v[r];} num setsize(num z){y=z;return z;}
joy clear(){for(num g=zero;g<have;g++)v[g]=(tt)zero;y=zero;}
~set(){clear();if(v==(tt*)zero){}else{delete[]v;}y=zero;have=zero;v=(tt*)zero;}
set(num beg):y(zero),have(zero),v((tt*)zero){allocay(beg);} set():y(zero),have(zero),v((tt*)zero){}
num y;num have;tt* v;
};/// ten lines
typedef set<num> nums; typedef set<nums*> numnums;
/// (time n over space m search)
num age = zero;// count all finds one by one ()

num map(nums&p,num&z,num&dep,num&lga){
/// map a few letters of p to a small number d
num d=zero;for(num h=zero;h<dep;h++)d=(d<<lga)+p.v[z+h];return d;}

num skip(nums&string,nums&book,num&lga,numnums*myn){
/// allocate proper memory space of empty sets O(constant)
num m=string.size();num logm=zero;num d=one;while(d<m){d=d<<lga;logm++;}
for(num g=(*myn).size();g<d;g++)(*myn).add(new nums);
/// the m part of partten are mapped precisely O(mlgm)
for(num g=zero;g+logm<m;g++)(*(*myn)[map(string,g,logm,lga)]).add(g);
/// map part of the book into pattern O(nlgm/(m+1-lgm))
num mm=minus(m+one,logm); for(num j=mm;j+logm<book.size();j=j+mm){
nums* d=(*myn)[map(book,j,logm,lga)]; for(num o=zero;o<(*d).size();o++)
{ num be=minus(j,(*d)[o]);num h=one;for(num g=zero;g<m;g++){
if(book[be+g]==string[g])continue;h=zero;break;}if(h)age++;}}
/// release resources from step two O(mlgm)
for(num g=zero;g+logm<m;g++)(*(*myn)[map(string,g,logm,lga)]).clear();return age;}

Re: sublinear identity recognition is possible now

<f30b8765-604c-4402-a470-eab71ed1ba1an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=35005&group=comp.theory#35005

  copy link   Newsgroups: comp.theory
X-Received: by 2002:adf:eb4d:0:b0:218:45b6:8fdb with SMTP id u13-20020adfeb4d000000b0021845b68fdbmr12835632wrn.77.1656335956028;
Mon, 27 Jun 2022 06:19:16 -0700 (PDT)
X-Received: by 2002:a05:6902:124e:b0:668:222c:e8da with SMTP id
t14-20020a056902124e00b00668222ce8damr14091268ybu.383.1656335955395; Mon, 27
Jun 2022 06:19:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.theory
Date: Mon, 27 Jun 2022 06:19:15 -0700 (PDT)
In-Reply-To: <6a7b0aaa-76b0-41c3-bcb4-06fe2b338c75n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:2b00:774c:5000:9c14:7e16:332:53f9;
posting-account=wr2KGQoAAADwR6kcaFpOhQvlGldc1Uke
NNTP-Posting-Host: 2600:2b00:774c:5000:9c14:7e16:332:53f9
References: <6a7b0aaa-76b0-41c3-bcb4-06fe2b338c75n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f30b8765-604c-4402-a470-eab71ed1ba1an@googlegroups.com>
Subject: Re: sublinear identity recognition is possible now
From: pehoush...@gmail.com (Daniel Pehoushek)
Injection-Date: Mon, 27 Jun 2022 13:19:16 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Daniel Pehoushek - Mon, 27 Jun 2022 13:19 UTC

0 three planes make a point
1 one half dozen lines
2 define an idea
3 two halfspaces make a space
4 two halfplanes make a plane
5 two halflines make a line
6 three planes make a point
7 four lines make a square
8 numbers are two colorable
9 theory is two colorable
10 all is black information on white background

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor