Hex Artifact Content
Not logged in

Artifact 01c5f82a9fe581afe9ab34649bbadd630006f5e8:


0000: 23 20 55 73 69 6e 67 20 6e 65 74 32 6f 20 61 73  # Using net2o as
0010: 20 73 6f 63 69 61 6c 20 6e 65 74 77 6f 72 6b 20   social network 
0020: 23 0a 0a 57 68 65 6e 20 47 6f 6f 67 6c 65 2b 20  #..When Google+ 
0030: 73 68 75 74 20 64 6f 77 6e 2c 20 49 20 74 6f 6f  shut down, I too
0040: 6b 20 74 68 65 20 6f 70 70 6f 72 74 75 6e 69 74  k the opportunit
0050: 79 20 74 6f 20 61 63 63 65 6c 65 72 61 74 65 20  y to accelerate 
0060: 6d 79 20 70 6c 61 6e 73 20 6f 6e 0a 72 75 6e 6e  my plans on.runn
0070: 69 6e 67 20 73 6f 63 69 61 6c 20 6e 65 74 77 6f  ing social netwo
0080: 72 6b 73 20 6f 76 65 72 20 6e 65 74 32 6f 2e 20  rks over net2o. 
0090: 20 48 6f 77 20 64 6f 65 73 20 61 20 73 6f 63 69   How does a soci
00a0: 61 6c 20 6e 65 74 77 6f 72 6b 20 6f 76 65 72 20  al network over 
00b0: 61 0a 70 65 65 72 32 70 65 65 72 20 6e 65 74 77  a.peer2peer netw
00c0: 6f 72 6b 20 6c 6f 6f 6b 20 6c 69 6b 65 20 61 6e  ork look like an
00d0: 64 20 77 68 61 74 27 73 20 74 68 65 20 63 68 61  d what's the cha
00e0: 6c 6c 65 6e 67 65 3f 0a 0a 23 23 20 44 61 74 61  llenge?..## Data
00f0: 20 73 74 72 75 63 74 75 72 65 20 6f 66 20 73 6f   structure of so
0100: 63 69 61 6c 20 6e 65 74 77 6f 72 6b 20 70 6f 73  cial network pos
0110: 74 69 6e 67 73 20 23 23 0a 0a 2a 20 54 69 6d 65  tings ##..* Time
0120: 6c 69 6e 65 73 20 61 72 65 20 6b 65 70 74 20 61  lines are kept a
0130: 73 20 63 68 61 74 20 6c 6f 67 73 2e 20 20 45 61  s chat logs.  Ea
0140: 63 68 20 70 6f 73 74 69 6e 67 20 69 73 20 61 20  ch posting is a 
0150: 63 68 61 74 20 6c 6f 67 20 65 6e 74 72 79 2c 20  chat log entry, 
0160: 77 68 69 63 68 0a 20 20 63 6f 6e 74 61 69 6e 73  which.  contains
0170: 20 61 20 73 68 6f 72 74 20 74 65 61 73 65 72 20   a short teaser 
0180: 6f 66 20 74 68 65 20 70 6f 73 74 69 6e 67 2c 20  of the posting, 
0190: 70 6f 73 73 69 62 6c 79 20 61 20 74 68 75 6d 62  possibly a thumb
01a0: 6e 61 69 6c 20 69 6d 61 67 65 2c 20 61 6e 64 20  nail image, and 
01b0: 61 0a 20 20 6c 69 6e 6b 20 74 6f 20 61 20 44 56  a.  link to a DV
01c0: 43 53 20 70 72 6f 6a 65 63 74 2e 0a 2a 20 41 20  CS project..* A 
01d0: 74 68 72 65 61 64 20 28 70 6f 73 74 69 6e 67 2b  thread (posting+
01e0: 63 6f 6d 6d 65 6e 74 73 29 20 69 73 20 61 20 44  comments) is a D
01f0: 56 43 53 20 70 72 6f 6a 65 63 74 2e 20 20 54 68  VCS project.  Th
0200: 61 74 20 62 79 20 69 74 73 65 6c 66 20 69 73 20  at by itself is 
0210: 61 6e 6f 74 68 65 72 0a 20 20 63 68 61 74 20 6c  another.  chat l
0220: 6f 67 2c 20 77 69 74 68 20 65 61 63 68 20 63 68  og, with each ch
0230: 65 63 6b 69 6e 20 61 73 20 6c 6f 67 20 65 6e 74  eckin as log ent
0240: 72 79 2e 20 20 43 68 65 63 6b 69 6e 73 20 63 6f  ry.  Checkins co
0250: 6e 74 61 69 6e 20 61 20 72 65 66 65 72 65 6e 63  ntain a referenc
0260: 65 20 74 6f 20 61 0a 20 20 66 69 6c 65 20 74 68  e to a.  file th
0270: 61 74 20 68 69 67 68 6c 69 67 68 74 73 20 74 68  at highlights th
0280: 65 20 70 6f 73 74 69 6e 67 2f 63 6f 6d 6d 65 6e  e posting/commen
0290: 74 20 61 64 64 65 64 20 69 6e 20 74 68 65 20 63  t added in the c
02a0: 68 65 63 6b 69 6e 2e 20 20 4c 69 6b 65 73 20 61  heckin.  Likes a
02b0: 72 65 0a 20 20 6a 75 73 74 20 6d 65 73 73 61 67  re.  just messag
02c0: 65 73 20 77 69 74 68 20 61 20 6c 69 6b 65 20 65  es with a like e
02d0: 6d 6f 6a 69 20 61 6e 64 20 61 20 72 65 66 65 72  moji and a refer
02e0: 65 6e 63 65 20 74 6f 20 74 68 65 20 63 68 65 63  ence to the chec
02f0: 6b 69 6e 20 74 68 61 74 20 69 73 0a 20 20 6c 69  kin that is.  li
0300: 6b 65 64 2e 20 20 54 68 65 20 44 56 43 53 20 61  ked.  The DVCS a
0310: 73 20 62 61 73 65 20 74 6f 20 6f 72 67 61 6e 69  s base to organi
0320: 7a 65 20 61 20 74 68 72 65 61 64 20 61 6c 6c 6f  ze a thread allo
0330: 77 73 20 65 64 69 74 69 6e 67 2e 20 20 49 74 27  ws editing.  It'
0340: 73 20 65 76 65 6e 0a 20 20 70 6f 73 73 69 62 6c  s even.  possibl
0350: 65 20 74 6f 20 63 6f 6c 6c 61 62 6f 72 61 74 69  e to collaborati
0360: 76 65 6c 79 20 65 64 69 74 20 69 66 20 70 65 72  vely edit if per
0370: 6d 69 73 73 69 6f 6e 73 20 61 6c 6c 6f 77 2e 0a  missions allow..
0380: 2a 20 41 20 70 6f 73 74 69 6e 67 20 69 74 73 65  * A posting itse
0390: 6c 66 20 69 73 20 61 20 6d 61 72 6b 64 6f 77 6e  lf is a markdown
03a0: 20 66 69 6c 65 2e 20 20 49 6d 61 67 65 73 20 61   file.  Images a
03b0: 6e 64 20 76 69 64 65 6f 73 20 61 72 65 20 69 6e  nd videos are in
03c0: 20 6a 70 65 67 2f 70 6e 67 20 61 6e 64 0a 20 20   jpeg/png and.  
03d0: 6d 6b 76 20 66 6f 72 6d 61 74 2e 0a 0a 23 23 20  mkv format...## 
03e0: 49 6d 70 6f 72 74 69 6e 67 20 64 61 74 61 20 66  Importing data f
03f0: 72 6f 6d 20 6f 74 68 65 72 20 6e 65 74 77 6f 72  rom other networ
0400: 6b 73 20 23 23 0a 0a 4f 6e 65 20 74 68 69 6e 67  ks ##..One thing
0410: 20 74 68 61 74 20 69 73 20 61 6e 6e 6f 79 69 6e   that is annoyin
0420: 67 20 77 69 74 68 20 6e 65 77 20 6e 65 74 77 6f  g with new netwo
0430: 72 6b 73 20 69 73 20 74 68 61 74 20 74 68 65 79  rks is that they
0440: 20 73 74 61 72 74 20 61 6c 6c 20 65 6d 70 74 79   start all empty
0450: 2e 0a 59 6f 75 20 6c 65 61 76 65 20 61 6c 6c 20  ..You leave all 
0460: 79 6f 75 72 20 70 6f 73 74 69 6e 67 73 20 62 65  your postings be
0470: 68 69 6e 64 20 69 6e 20 74 68 65 20 6f 6c 64 20  hind in the old 
0480: 6e 65 74 77 6f 72 6b 2e 20 20 42 75 74 20 74 68  network.  But th
0490: 65 20 47 44 50 52 20 61 6c 6c 6f 77 73 20 74 6f  e GDPR allows to
04a0: 0a 74 61 6b 65 20 6f 75 74 20 64 61 74 61 2c 20  .take out data, 
04b0: 61 6e 64 20 69 66 20 65 76 65 72 79 74 68 69 6e  and if everythin
04c0: 67 20 69 73 20 66 69 6e 65 2c 20 69 74 27 73 20  g is fine, it's 
04d0: 70 6f 73 73 69 62 6c 65 20 74 6f 20 63 6f 6e 76  possible to conv
04e0: 65 72 74 20 74 68 61 74 20 64 61 74 61 2e 0a 0a  ert that data...
04f0: 49 20 77 72 6f 74 65 20 61 6e 20 69 6d 70 6f 72  I wrote an impor
0500: 74 65 72 20 66 6f 72 20 47 6f 6f 67 6c 65 2b 2c  ter for Google+,
0510: 20 77 68 69 63 68 20 69 73 20 6d 6f 73 74 6c 79   which is mostly
0520: 20 63 6f 6d 70 6c 65 74 65 20 62 79 20 6e 6f 77   complete by now
0530: 2c 20 61 6e 64 20 61 6c 73 6f 0a 73 74 61 72 74  , and also.start
0540: 65 64 20 77 69 74 68 20 42 6c 6f 67 67 65 72 2e  ed with Blogger.
0550: 63 6f 6d 2c 20 54 77 69 74 74 65 72 2c 20 61 6e  com, Twitter, an
0560: 64 20 46 61 63 65 62 6f 6f 6b 20 69 6d 70 6f 72  d Facebook impor
0570: 74 65 72 73 2e 20 20 4f 74 68 65 72 20 69 6d 70  ters.  Other imp
0580: 6f 72 74 65 72 73 0a 77 69 6c 6c 20 66 6f 6c 6c  orters.will foll
0590: 6f 77 2e 0a 0a 23 23 20 43 6f 6e 6e 65 63 74 69  ow...## Connecti
05a0: 6e 67 20 74 6f 20 6f 74 68 65 72 20 73 6f 63 69  ng to other soci
05b0: 61 6c 20 6e 65 74 77 6f 72 6b 73 20 23 23 0a 0a  al networks ##..
05c0: 57 68 69 6c 65 20 69 6e 20 67 65 6e 65 72 61 6c  While in general
05d0: 2c 20 61 20 63 6f 6e 6e 65 63 74 6f 72 20 74 6f  , a connector to
05e0: 20 61 20 70 6c 61 74 74 66 6f 72 6d 20 69 73 20   a plattform is 
05f0: 61 20 62 61 64 20 69 64 65 61 2c 20 66 6f 72 20  a bad idea, for 
0600: 73 6f 63 69 61 6c 0a 6e 65 74 77 6f 72 6b 73 2c  social.networks,
0610: 20 77 68 65 72 65 20 70 75 62 6c 69 63 69 74 79   where publicity
0620: 20 6d 61 74 74 65 72 73 2c 20 63 6f 6e 6e 65 63   matters, connec
0630: 74 6f 72 73 20 63 61 6e 20 68 61 76 65 20 73 6f  tors can have so
0640: 6d 65 20 70 6c 61 63 65 2c 20 61 74 20 6c 65 61  me place, at lea
0650: 73 74 0a 66 6f 72 20 74 68 65 20 74 72 61 6e 73  st.for the trans
0660: 69 74 69 6f 6e 20 70 65 72 69 6f 64 2e 20 20 54  ition period.  T
0670: 68 6f 75 67 68 20 49 20 68 61 76 65 20 6e 6f 74  hough I have not
0680: 20 61 74 74 65 6d 70 74 65 64 20 74 6f 20 61 63   attempted to ac
0690: 74 75 61 6c 6c 79 20 77 72 69 74 65 20 6f 6e 65  tually write one
06a0: 3b 0a 62 75 74 20 61 74 20 6c 65 61 73 74 20 66  ;.but at least f
06b0: 6f 72 20 6e 65 74 77 6f 72 6b 73 20 74 68 61 74  or networks that
06c0: 20 68 61 76 65 20 61 6e 20 41 50 49 2c 20 79 6f   have an API, yo
06d0: 75 20 63 6f 75 6c 64 20 69 6d 70 6f 72 74 20 66  u could import f
06e0: 65 65 64 73 20 69 6e 74 6f 0a 6e 65 74 32 6f 2c  eeds into.net2o,
06f0: 20 61 6e 64 20 28 77 69 74 68 20 73 65 76 65 72   and (with sever
0700: 65 20 6c 69 6d 69 74 61 74 69 6f 6e 73 29 20 63  e limitations) c
0710: 72 6f 73 73 70 6f 73 74 20 66 72 6f 6d 20 6e 65  rosspost from ne
0720: 74 32 6f 2e 0a                                   t2o..