mirror of
https://github.com/arthyn/sphinx.git
synced 2024-12-25 17:01:58 +03:00
app: preventing exponential gossip
This commit is contained in:
parent
391886b844
commit
fcfd17e386
@ -179,7 +179,7 @@
|
|||||||
?: (~(has by directory) hash.listing)
|
?: (~(has by directory) hash.listing)
|
||||||
~& 'Listing already exists.'
|
~& 'Listing already exists.'
|
||||||
cor
|
cor
|
||||||
di-abet:(di-publish:(di-abed:di-core hash.listing) listing)
|
di-abet:(di-receive:(di-abed:di-core hash.listing) listing)
|
||||||
::
|
::
|
||||||
%directory
|
%directory
|
||||||
=+ !<(d=directory:s vase)
|
=+ !<(d=directory:s vase)
|
||||||
@ -318,5 +318,10 @@
|
|||||||
(~(put by directory) hash.listing listing)
|
(~(put by directory) hash.listing listing)
|
||||||
=. cor (emit (invent:gossip %directory-listing !>(listing)))
|
=. cor (emit (invent:gossip %directory-listing !>(listing)))
|
||||||
di-core
|
di-core
|
||||||
|
++ di-receive
|
||||||
|
|= l=listing:s
|
||||||
|
=. listing l
|
||||||
|
=. index (~(catalog delver index) hash l)
|
||||||
|
di-core
|
||||||
--
|
--
|
||||||
--
|
--
|
@ -4,7 +4,7 @@
|
|||||||
image+'https://nyc3.digitaloceanspaces.com/hmillerdev/nocsyx-lassul/2022.7.16..04.35.22-sphinx-web-shifted.svg'
|
image+'https://nyc3.digitaloceanspaces.com/hmillerdev/nocsyx-lassul/2022.7.16..04.35.22-sphinx-web-shifted.svg'
|
||||||
glob-http+['https://nyc3.digitaloceanspaces.com/hmillerdev/sphinx/glob-0v7.58bpe.gauar.d272t.l9jhq.uqhkn.glob' 0v7.58bpe.gauar.d272t.l9jhq.uqhkn]
|
glob-http+['https://nyc3.digitaloceanspaces.com/hmillerdev/sphinx/glob-0v7.58bpe.gauar.d272t.l9jhq.uqhkn.glob' 0v7.58bpe.gauar.d272t.l9jhq.uqhkn]
|
||||||
base+'sphinx'
|
base+'sphinx'
|
||||||
version+[0 4 1]
|
version+[0 4 2]
|
||||||
website+'https://github.com'
|
website+'https://github.com'
|
||||||
license+'MIT'
|
license+'MIT'
|
||||||
==
|
==
|
||||||
|
@ -152,9 +152,6 @@
|
|||||||
=/ exact (turn (get-exact title) (uprank 8))
|
=/ exact (turn (get-exact title) (uprank 8))
|
||||||
=/ trigrams (turn (get-trigrams title) (uprank 4))
|
=/ trigrams (turn (get-trigrams title) (uprank 4))
|
||||||
=/ phonetics (get-phonetics title)
|
=/ phonetics (get-phonetics title)
|
||||||
~& [%exact exact]
|
|
||||||
~& [%trigrams trigrams]
|
|
||||||
~& [%phonetics phonetics]
|
|
||||||
;: weld
|
;: weld
|
||||||
phonetics
|
phonetics
|
||||||
trigrams
|
trigrams
|
||||||
|
@ -5,25 +5,25 @@
|
|||||||
=/ posts
|
=/ posts
|
||||||
^- (list declare:s)
|
^- (list declare:s)
|
||||||
:~ :- %friends
|
:~ :- %friends
|
||||||
['networked subject' %group 'web+urbitgraph://group/~matwet/networked-subject' 'https://subject.network | networked subject' ~['hosting' 'networking' 'urbit' 'ops'] 'https://urbits3.ams3.digitaloceanspaces.com/sitful-hatred/2022.7.07..17.15.52-ns.png']
|
['networked subject' %group 'web+urbitgraph://group/~matwet/networked-subject' 'https://subject.network | networked subject' ~['hosting' 'networking' 'urbit' 'ops'] 'https://urbits3.ams3.digitaloceanspaces.com/sitful-hatred/2022.7.07..17.15.52-ns.png' '']
|
||||||
:- %friends
|
:- %friends
|
||||||
['Hooniverse' %group 'web+urbitgraph://group/~hiddev-dannut/new-hooniverse' 'Community based Hoon learning for all levels. For discussion of Hoon specific to Uqbar, join ~hiddev-dannut/uhoon' ~['hoon' 'dev' 'urbit' 'programming' 'education'] 'https://i.imgur.com/ghThlz7.png']
|
['Hooniverse' %group 'web+urbitgraph://group/~hiddev-dannut/new-hooniverse' 'Community based Hoon learning for all levels. For discussion of Hoon specific to Uqbar, join ~hiddev-dannut/uhoon' ~['hoon' 'dev' 'urbit' 'programming' 'education'] 'https://i.imgur.com/ghThlz7.png' '']
|
||||||
:- %friends
|
:- %friends
|
||||||
['Hollow Mars Theory' %group 'web+urbitgraph://group/~rabsef-bicrym/hollow-mars-theory' 'Definitely NOT a Conspiracy Chat' ~['conspiracies' 'ufos' 'steel beams'] '']
|
['Hollow Mars Theory' %group 'web+urbitgraph://group/~rabsef-bicrym/hollow-mars-theory' 'Definitely NOT a Conspiracy Chat' ~['conspiracies' 'ufos' 'steel beams'] '' '']
|
||||||
:- %friends
|
:- %friends
|
||||||
['celestial systems' %group 'web+urbitgraph://group/~nocsyx-lassul/celestial-systems' 'A place for pilots who are building hosting providers' ~['hosting' 'ops' 'urbit'] '']
|
['celestial systems' %group 'web+urbitgraph://group/~nocsyx-lassul/celestial-systems' 'A place for pilots who are building hosting providers' ~['hosting' 'ops' 'urbit'] '' '']
|
||||||
:- %friends
|
:- %friends
|
||||||
['Structure' %group 'web+urbitgraph://group/~fabled-faster/structure' 'Urbit Structural Design and Engineering Group. Always Thinking About Mechanics.' ~['design' 'ux' 'hci' 'urbit'] 'https://fabled-faster.nyc3.digitaloceanspaces.com/fabled-faster/2022.1.27..17.59.43-image.png']
|
['Structure' %group 'web+urbitgraph://group/~fabled-faster/structure' 'Urbit Structural Design and Engineering Group. Always Thinking About Mechanics.' ~['design' 'ux' 'hci' 'urbit'] 'https://fabled-faster.nyc3.digitaloceanspaces.com/fabled-faster/2022.1.27..17.59.43-image.png' '']
|
||||||
:- %friends
|
:- %friends
|
||||||
['The Marketplace' %group 'web+urbitgraph://group/~tirrel/the-marketplace' 'Welcome to The Marketplace, featuring The Pit, Urbit\'s first open-outcry market!' ~['urbit' 'market' 'sell' 'buy'] 'https://snipboard.io/U0IYyi.jpg']
|
['The Marketplace' %group 'web+urbitgraph://group/~tirrel/the-marketplace' 'Welcome to The Marketplace, featuring The Pit, Urbit\'s first open-outcry market!' ~['urbit' 'market' 'sell' 'buy'] 'https://snipboard.io/U0IYyi.jpg' '']
|
||||||
:- %friends
|
:- %friends
|
||||||
['The Forge' %group 'web+urbitgraph://group/~middev/the-forge' 'pale fire computing' ~['dev' 'programming' 'hoon' 'urbit'] 'https://nyc3.digitaloceanspaces.com/archiv/littel-wolfur/2021.5.06..21.01.58-the%20forge.png']
|
['The Forge' %group 'web+urbitgraph://group/~middev/the-forge' 'pale fire computing' ~['dev' 'programming' 'hoon' 'urbit'] 'https://nyc3.digitaloceanspaces.com/archiv/littel-wolfur/2021.5.06..21.01.58-the%20forge.png' '']
|
||||||
:- %friends
|
:- %friends
|
||||||
['UFORIA' %group 'web+urbitgraph://group/~tiplec-lacnyx/ufora' 'UFO Research, Investigations, and Analysis' ~['UFO' 'conspiracies' 'research'] 'https://tiplec-lacnyx.nyc3.digitaloceanspaces.com/tiplec-lacnyx/2021.12.27..06.09.47-change1.jpg']
|
['UFORIA' %group 'web+urbitgraph://group/~tiplec-lacnyx/ufora' 'UFO Research, Investigations, and Analysis' ~['UFO' 'conspiracies' 'research'] 'https://tiplec-lacnyx.nyc3.digitaloceanspaces.com/tiplec-lacnyx/2021.12.27..06.09.47-change1.jpg' '']
|
||||||
:- %friends
|
:- %friends
|
||||||
['Urbit Community' %group 'web+urbitgraph://group/~bitbet-bolbel/urbit-community' 'World hub, help desk, meet and greet, etc.' ~['general' 'urbit' 'community' 'help'] 'https://fabled-faster.nyc3.digitaloceanspaces.com/fabled-faster/2021.4.02..21.52.41-UC.png']
|
['Urbit Community' %group 'web+urbitgraph://group/~bitbet-bolbel/urbit-community' 'World hub, help desk, meet and greet, etc.' ~['general' 'urbit' 'community' 'help'] 'https://fabled-faster.nyc3.digitaloceanspaces.com/fabled-faster/2021.4.02..21.52.41-UC.png' '']
|
||||||
:- %friends
|
:- %friends
|
||||||
['Urbytes' %group 'web+urbitgraph://group/~nartes-fasrum/urbytes' 'We feed and water Mars.' ~['cooking' 'food' 'beverages' 'peanut butter eggs'] '']
|
['Urbytes' %group 'web+urbitgraph://group/~nartes-fasrum/urbytes' 'We feed and water Mars.' ~['cooking' 'food' 'beverages' 'peanut butter eggs'] '' '']
|
||||||
==
|
==
|
||||||
^- thread:spider
|
^- thread:spider
|
||||||
|= arg=vase
|
|= arg=vase
|
||||||
|
Loading…
Reference in New Issue
Block a user