-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path11.04.15
More file actions
86 lines (80 loc) · 4.9 KB
/
11.04.15
File metadata and controls
86 lines (80 loc) · 4.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
4 log-page-types triggering: offer->ok-> update in 3 tables with 1 id type:
https://comcomized.com/term-and-conditions/
^
| $n, mapped to a point on a vertical line, is a comcomized node-id:
| when of a human user, it is a negative -wp_p_users->id,
| when of a comcom. it is a positive integer id of the (bp) group and
| when it is used in asset of an ordinary owner,
| it is followed with .percentage of her/his possession
| in the asset, otherwise it belongs to a peer owner.
|
| <----------------------a=($n,,,)---”a” is a bp group id
| | |
| $holding_and_holders==($n,($n,,,),,)/br(,$n,,,)/br(,$n,,,)/br(,$n,,,)
| |
| <--------------------------b<--- “b” is a human user id (negative $n)
|
| $holding_and_holders==[
| (key)id =>, // id of the holder $n, (positive group id, or negative user id, but without .percentage notating the non peer holding percentage).
| heldby =>, // list of id of its children holders, used for Downwards traversal.
| holding=>] // null when it is a tree used for validating joining in which case the heldby replaces the id or
| // a list of pairs of (id of of the holding parent, id of its tree) used for Upwards traversal.
|
| $holding_and_holders of the site, or of any specific holder in the site, can be mapped to one string of
| concatenation of assets in different line, where each asset is a parent
| from different tree and is marked by brackets, within which each of
| the $n items, separated by comma, is of a child owner of the asset and
| as the asset optionally equals its $n.
| Such string can be then used for mapping the hierarchies for
| traversing between the nodes, where all matches of $n in the string
| (notified to the node after modification) can be stored in the
| $n_offsets of the node.
| In each act of joining for all $n of the smaller in the bigger, the
| $holding_and_holders, in it is most processed form (until all $n are
| negative), is to be checked for being not-matched on the same line.
Log-page-types in form ?offer->!ok->..update in the 3 tables key-type, comcom , user [created in creation of comcom]:
Transactions (?=>sell/buy->ok-> update ?c v,neV steepnes , iiaom reputation etc),
Group-activity, like grops , the members are children-owners
Bord=discussion/discussion, like forum
Executive=Holdings/maintainers like blog by maintainers , the members are parents assets
each as id (like link or page id ) of logs
||id||content/value||in-time|| by-authority ||
with rating in group/community triggers moderators between min/max threshold
to act on (approve) record in log.
Tables:
Keys-type-table: primary keys=> blob of list of $n having same d,c,v,newV,m,s,pp,pr is_open+is_static...
-Userid|iiaom =>holdings [created after accepting the comcomized terms]:
pk:user-id
uk:iiaom
test: reputation per each related iiaom
text: holdings filed of text holdings, in the form of link to the page having $holding_and_holders,
as act of mutual approval
+Comcom: id|name=>data [created in creation of comcom]:
pk, primary key: autoincrement of id or $bp->group->id or $post_id
uk, unique key :name
text: separated by lines:
$type= $d.$is_d_static.$authority.$is_open.$proportionality.
using y or n for $is_d_static or $is_open
$links= to the 4 Log-page-types
$holding_and_holders
$relations = 3 lines of coma separated ordered items,
1st line of parameters: text, to be by other tables sending to here
c = number of peers in the group,
v = the value held by each peer,
d = the ratio of the comcom held by all peers.
m = the value of the comcom (hence $v=$m*$peer_power, as peer_power = $d/$c=$v/$m).
steepness = ($V-$oldV)*($c/$oldV), where |$steepness|<= $proportionality (default=1)
born = the time of creating the record for the comcom(important when d is not static),
2nd line parents = 0, as root , number of assets
3rd line children = number of owners peer or non.
as children items are negative id to people and positive are for comcom ,
and as id.percentage is for non peer holding that percentage of the comcom .
todo:
instead v - newV to have x-newV where x is average v in x time (day, month etc)
use bp-custom.php
define it by 3 type of events:
1. joining/creating/logs, when andby whom the fields are changeable
2. table, feeds and interactions,
3. notification
4. iiaom+webrtc, reputation per contact
https://github.com/comcomist/comcomized-groups/wiki