Mr_Monkey: So I was looking into that issue of relationship editor in which the search suggestions are not shown properly. But the problem is I cant see the console log statements since it is rendered on the server side. Now for that I thought to use the debug-watch-server script (hoping it would help in debugging this issue), but it doesn't seem to start elasticsearch on its own. So I am stuck here for a while now. Any help would be
appreciated.
It might be a noob issue
Just tell me if I am going in the right direction?
we have a query named "all_stats_all_users" and it doesn't need any params
so we send {"query": "all_stats_all_users"} to rmq
ruaok
good thinking, we should preserve params. 🤣
iliekcomputers
:P
then we have a query "all_stats_for_user" and it needs a user
so we send {"query": "all_stats_for_user", params: {"user_name": "blah"}}
ruaok
ok, I see where you're going and I think I like it.
iliekcomputers
here each query just seems like a function call to me and we don't have to do any specific logic.
ruaok
I kinda dislike how both our approaches have a special case for "all".
ah, but when there is a 1:1 binding from request types to functions, then it comes together nicely.
iliekcomputers
yes!
ruaok
ok, let's do that.
let's talk about naming stats.
I think each stat should have a clear and unambiguous name.
artist_stats -> shitty.
iliekcomputers
I agree.
ruaok
top_artists_per_user -> good.
iliekcomputers
I'd also like to have a description for each stat anyways.
ruaok
does that get stored at lemmy or spark?
I'd say lemmy.
iliekcomputers
hmm. not sure.
ruaok
it is user facing metadata. that belong to lemmy, IMHO.
spark should be the dark magic voodoo stuff.
iliekcomputers
hmm, i don't think i have an opinion either way. if we enforce a 1-1 mapping, lemmy works for me.
ruaok
ok, bake it so.
iliekcomputers
+1
ruaok
how do I indent that line?
I want to make a sub-list.
iliekcomputers
tab works for me?
ruaok
ah. the obvious thing. lol.
iliekcomputers
listing all the stats is a good idea!
ruaok
I just wanted to capture some examples on how the requests should be formatted.
but, lets make a list of stats too.
chhavi arrives in BCN tomorrow. I hope I can rope her into some graphics work for us. :)
iliekcomputers
that'd be amazing.
LB already has react so it'll hopefully be easier to add graphs this time around.
😅
ruaok
yes.
D4RK-PH0ENiX has quit
ok, I think the spark consumer is well enough defined for my taste now. what do you think?
iliekcomputers
i agree.
ruaok
ok, onward.
and yes, for staring the container on the spark side of things we should define and run a new servicem similar to how the master service is defined.
iliekcomputers
do we need a different service?
ruaok
I don't recall the specifics right this second.
might just be a singleton container and not a service. I'll have to dig a little more.
but for now I am comfortable saying that we'll start the service according to how services are started now, extending things as needed.
and not bringing in consul.
iliekcomputers
hmm. sounds good.
do we have any sensitive data in the configs right now anyways?
ruaok
ok, I see things breaking down into two larger groups: write the consumer and all the admin BS around running and connecting both ends of the consumer.
not on leader, we don't.
iliekcomputers
yes, totally agree
with the breaking into two groups.
ruaok
so, wanna take care of whipping the consumer into shape while I take care of the other tasks?
iliekcomputers
definitely what I was hoping for :P
this sync was really helpful!
ruaok
right. what else needs discussing before we dive in?
yes, I feel like I understand the task to hand now.