#social 2017-10-29

2017-10-29 UTC
rowan and JanKusanagi joined the channel
#
cwebber2
puckipedia: :)
xmpp-social, timbl, jankusanagi_, JanKusanagi and rowan joined the channel
#
puckipedia
yay, I can now do audience filtering /in/ the database :P
#
Loqi
does a happy dance!
rowan_ and rowan joined the channel
#
puckipedia
the triple store is backfiring
#
rhiaro
story of my life
#
xmpp-social
[ajordan] yikes
rowan joined the channel
#
puckipedia
I fixed it by requiring the triple store and database behind it are always in sync
#
puckipedia
now I need to fix a few things that are a limitation of the ORM I based the thing on
#
puckipedia
yep this was so much a bad idea
#
puckipedia
I think I'm going to throw away the whole idea of "committing changes" and just use transactions everywhere
#
rhiaro
I think I'm going to throw away the whole idea of "writing code" and just go to bed
#
puckipedia
works too
#
rhiaro
faceplants desk
#
rhiaro
I have left so many parts of this thing not quite finished that doing anything is impossible
#
rhiaro
shakes fist at past rhiaro
#
rhiaro
I swear this thing used to work
#
rhiaro
then I started *paging*
#
puckipedia
haha
#
puckipedia
I am actually thinking of redoing the entire paging system
#
Loqi
ahahahaha
rowan and bengo joined the channel
#
xmpp-social
[ajordan] I feel like I'm watching a transcription of my entire life
#
xmpp-social
[ajordan] "I swear to used to work"
#
xmpp-social
[ajordan] "/me shakes fist at past me"
#
xmpp-social
[ajordan] too real
#
xmpp-social
[ajordan] I sympathize rhiaro :P
rowan_ joined the channel
#
puckipedia
hm, only 17 seconds to POST an object to my outbox
#
puckipedia
10 seconds now
#
puckipedia
good enough(TM)
#
rhiaro
hey puckipedia, you know you had that to:talItems JSON-LD bug and I had the same one and you fixed it by adding the datatype
#
rhiaro
like ten million hours ago I tried the same fix and it didn't work
#
rhiaro
and I spent ten million hours trying to debug my JSON-LD library
#
rhiaro
I just had tried "Integer" instead of "nonNegativeInteger"
#
rhiaro
and actually that fix works for me
#
rhiaro
and that's what I spent today doing instead of making my client work properly
#
puckipedia
yyyyep
#
puckipedia
I'm going to have to spend like a million hours figuring out how to get a triple store down to <1 second for a request
#
rhiaro
eep yeah, did you build a triplestore from scratch?
#
puckipedia
yepp
#
rhiaro
does it live in a regular database of some kind?
#
puckipedia
yep. postgres, currently
#
rhiaro
mine lives in mysql
#
rhiaro
but I didn't make it myself
#
puckipedia
yeah, I've actually built it on top of EntityFramework, a .NET ORM
#
rhiaro
I used to think it was slow but it turned out the RDF library that came with the triplestore was slow, and when I switched to a different library for actually parsing the query results everything was much faster
#
puckipedia
I almost directly move from the quad store into JSON-LD
#
xmpp-social
[ajordan] puckipedia: how good are .NET's performance profiling tools?
#
puckipedia
ajordan: no idea(TM)
#
xmpp-social
[ajordan] Classic :D
#
xmpp-social
[ajordan] I mean same though
#
puckipedia
I have three tables, first is a table { int id, string uri } for all the ID values
#
puckipedia
(e.g. type, object id, parameter id)
rowan joined the channel
#
puckipedia
aha. I think just adding an index on the Uri, and adding an index on SubjectEntityId should help a ton
#
puckipedia
SELECT "a"."AttributeId", "a"."Uri" FROM "Attributes" AS "a" WHERE 0 = 1
#
puckipedia
except I still don't know what this is doing
jankusanagi_ joined the channel
#
cwebber2
hello from the airport
#
puckipedia
ohaio!
#
xmpp-social
[ajordan] Heya cwebber2!
#
cwebber2
wedding was nice
#
cwebber2
heading back hooome
#
cwebber2
hey look only 2 AP issues in the tracker, horray
#
xmpp-social
[ajordan] :-)
#
xmpp-social
[ajordan] Happy to hear your weekend was good \o/
#
Loqi
[yvolk] #260 Relation between Actors and Users of servers is undefined
#
cwebber2
I think we made some positive changes based on the ticket but it feels like remaining discussion is fit for the CCG not anything AP CR-blocking
#
cwebber2
PR-blocking
#
cwebber2
the SocialCG
#
puckipedia
yeah. I already have this loose relationship between Actor and user :P
#
xmpp-social
[ajordan] It seems like they don't quite understand some of the process stuff going on
#
xmpp-social
[ajordan] Like the fact that we're already in CR
#
xmpp-social
[ajordan] And also it seems like they want migration to be built in to the data model when in reality that's not *really* possible due to the coupling of URLs to ids
#
xmpp-social
[ajordan] So we do it "imperatively" instead
#
xmpp-social
[ajordan] Is that just me?
#
cwebber2
ajordan: for HTTPS at least
#
cwebber2
but again AP could be used with DIDs, etc.. or there are other methods we are discussing too in the SocialCG
#
xmpp-social
[ajordan] Right
#
puckipedia
firefox's inspector broke
#
cwebber2
and that doesn't require any changes to AP itself, at its core
#
puckipedia
anyways. I think I got a request down from 4s to 3s now
#
xmpp-social
[ajordan] But at least atm the spec is, in practice, all http
#
cwebber2
ajordan: the examples are
#
cwebber2
but the spec does not require http, and that's intentional
#
cwebber2
it requires GET and POST
#
cwebber2
and http headers
#
xmpp-social
[ajordan] Right sorry
#
cwebber2
but that's not necessary something that means https:// only
#
cwebber2
the implementation world is, in practice
#
cwebber2
all http :)
#
xmpp-social
[ajordan] I meant that all current implementations are https://
#
cwebber2
*that* is true for sure.
#
xmpp-social
[ajordan] And will be for a while
#
xmpp-social
[ajordan] So practically speaking we can't do anything that would put migration in the data layer into the core spec because it would break the real world
#
xmpp-social
[ajordan] That's what I meant
#
rhiaro
breaking the real worl d++
#
rhiaro
should go to bed
#
puckipedia
me too
#
xmpp-social
[ajordan] Hah
#
Loqi
[@sadserver] Happy Friday! Share a gif that shows how your last deploy went https://pbs.twimg.com/tweet_video_thumb/CVZuPk9UAAEQICx.png
#
xmpp-social
[ajordan] ^^^ us rolling out a new CR :P
rowan joined the channel