0:00 AM
rdswift joined the channel
0:30 AM
D4RK-PH0ENiX has quit
0:56 AM
D4RK-PH0ENiX joined the channel
1:02 AM
Nyanko-sensei joined the channel
1:05 AM
D4RK-PH0ENiX has quit
1:57 AM
Nyanko-sensei has quit
1:58 AM
D4RK-PH0ENiX joined the channel
3:47 AM
pac23 joined the channel
3:57 AM
pac23 has quit
4:05 AM
Slurpee has quit
4:14 AM
pac23 joined the channel
4:21 AM
pac23 has quit
4:25 AM
pristine--
How do I start the local instance of critiquebrainz?
4:34 AM
pac23 joined the channel
4:35 AM
ahmedkrmn_ joined the channel
4:42 AM
Heerozeon joined the channel
5:16 AM
pac23 has quit
5:30 AM
pac23 joined the channel
5:31 AM
Prashant1223 has quit
5:37 AM
pac23 has quit
5:37 AM
_pulkit6559 joined the channel
5:51 AM
pac23 joined the channel
5:51 AM
_pulkit6559 has quit
5:56 AM
pac23 has quit
6:19 AM
ahmedkrmn_ has quit
6:20 AM
ahmedkrmn_ joined the channel
6:51 AM
pombreda joined the channel
6:56 AM
Heerozeon has quit
7:12 AM
Prashant1223 joined the channel
7:18 AM
Prashant1223 has quit
7:19 AM
yvanzo
mo’’in’
7:35 AM
outsidecontext joined the channel
7:51 AM
pristine--
Moin!!
7:59 AM
madmouser1 joined the channel
8:06 AM
outsidecontext has quit
8:07 AM
outsidecontext joined the channel
8:54 AM
karimo_ joined the channel
8:56 AM
DjSlash has quit
8:57 AM
DjSlash joined the channel
8:57 AM
karimo_ has quit
9:05 AM
Gazooo has quit
9:07 AM
Gazooo joined the channel
9:09 AM
Slurpee joined the channel
9:09 AM
Slurpee has quit
9:09 AM
Slurpee joined the channel
9:21 AM
Mr_Monkey
Moin moin !
9:22 AM
rsh7 and iliekcomputers Congrats to you two!
9:23 AM
rsh7
thanks Mr_Monkey! what's up?
9:24 AM
Mr_Monkey
Doing all right, apart from all the construction noise all around me !
9:24 AM
The recurrent backdrop of Barcelona.
9:24 AM
Mr_Monkey is going to escape to OfficeBrainz after coffee
9:24 AM
rsh7
aah
9:25 AM
great! coffee and work, sounds like a plan :p
9:37 AM
moinmoi joined the channel
9:38 AM
BrainzGit
9:54 AM
dhruvan joined the channel
10:24 AM
ruaok
moooin!
10:24 AM
the construction noise here in my barrio is bad too. but it is worse at the office.
10:24 AM
I'm bringing my noice cancelling headphones today.
10:33 AM
Mr_Monkey
iliekcomputers: When you get a chance, could you talk me through how to use the new refresh token API endpoint? I thought I would be able to figure it out, but I keep getting 405s
10:36 AM
ruaok
that sounds like a configuration issue.
10:37 AM
is your API setting correct?
10:41 AM
Mr_Monkey
Do you mean API_URL? If so, yes. I fnot, what setting?
10:41 AM
alastairp
10:41 AM
that sounds like a bug, I think it should be POST
10:42 AM
Mr_Monkey
Let me try that then
10:43 AM
Oh hey not the same error: 500 now. So there's definitely something there.
10:47 AM
alastairp
10:47 AM
spelling mistake in exception name
10:47 AM
Cyna joined the channel
10:55 AM
Mr_Monkey
Thanks alastairp I got a correct response back.
10:56 AM
I was also making a request to the wrong url…
10:56 AM
alastairp
yeah, I"m not sure why there are 2 endpoints there
10:56 AM
Mr_Monkey
I did try /1/ and /profile/ earlier, but the 405 didn't help figure out which one to call
11:15 AM
ahmedkrmn_ has quit
11:41 AM
iliekcomputers
Hullo, I am traveling today so will be mostly afk.
11:47 AM
pristine--
iliekcomputers: have a happy and safe journey :)
11:51 AM
Cyna
Hi reosarevok , Can you look at this ?
11:51 AM
11:52 AM
dhruvan has quit
11:53 AM
iliekcomputers
Thanks pristine-- :)
11:53 AM
ruaok waves
11:53 AM
D4RK-PH0ENiX has quit
11:56 AM
pristine--
iliekcomputers: I will complete the remaining queries (recording, release etc). I mean, was doing right now.
11:56 AM
Enjoy!
11:58 AM
ruaok
pristine--: can you do me a favor and set the "please review" flag on PRs that you want me to look at?
11:59 AM
I see three of them, but its isn't quite clear which ones are ready for review.
11:59 AM
pristine--
ruaok: Sure
11:59 AM
ruaok
iliekcomputers: [not urgent] is playground #9 ready for another review?
12:00 PM
reosarevok
Cyna: hi!
12:00 PM
So, first thing is you're importing Layout twice :)
12:04 PM
Also, mostly I haven't needed to make anything as abstract as renderModel() etc, I'd follow one of the existing React files, which is mostly const not class
12:05 PM
12:10 PM
pristine--
ruaok: I am not sure if authors can add that flag. Only owners can. not sure
12:10 PM
but here is the link
12:10 PM
12:15 PM
ruaok
oh, that's not very useful at all.
12:15 PM
let me see if that can be tweaked.
12:15 PM
anyways, I am reading pr #23 right now.
12:16 PM
12:16 PM
I wonder if the zipWithIndex can be done in the SQL query.
12:16 PM
check the docs for zip_with and monotonically_increasing_id .
12:16 PM
12:17 PM
if we can get the index in one step, we can remove the extra step.
12:17 PM
I'm very much focused on how many steps we take -- each step could be an hour or so once we get to scale.
12:19 PM
D4RK-PH0ENiX joined the channel
12:19 PM
pristine--
I have read about monotonically_increasing_id . The problem was its that it returns 64 bits whereas rating tuple takes 32.
12:20 PM
ruaok
did you try it?
12:20 PM
pristine--
But they should be an alternative.
12:20 PM
yes
12:20 PM
ruaok
it may very well just do the conversion for us.
12:20 PM
did it fail with an error?
12:20 PM
pristine--
yes.
12:21 PM
then i figured out that rating is (int, int, double) not long int
12:21 PM
ruaok
what does line 15 do?
12:21 PM
pristine--
I wonder if sql queries allows to add a new column
12:21 PM
ruaok
the user_rdd.map ?
12:21 PM
pristine--
just a sec
12:22 PM
ruaok
"adding a column" -- you could do this:
12:22 PM
SELECT DISTINCT monotonically_increasing_id(), user_name FROM ...
12:22 PM
then you have a [64bit, string] results.
12:23 PM
can we convert types in the map call?
12:23 PM
the we can nuke at least one step of this process.
12:25 PM
Cyna
Thanks reosarevok ... I have a look and make the changes
12:25 PM
pristine--
zipWithIndex converts the dataframe to rdd that is why we used map, because rdds are basicaly partitions
12:25 PM
so map would apply this to all the partitons
12:25 PM
ummm......not sure about the type conversion in map call. will check
12:26 PM
ruaok
spark.sql returns a dataframe, no?
12:26 PM
pristine--
yeah
12:26 PM
ruaok
gah.
12:26 PM
then we really need to avoid the two subsequent steps.
12:26 PM
we really want to avoid going from DF -> RDD -> DF.
12:26 PM
pristine--
yes, because it is converting df to rdd and then aggain to df
12:26 PM
lol. yup
12:26 PM
ruaok
let's work extra hard on getting the query to do all our work for us.
12:27 PM
pristine--
yeah, We need to add an extra column in the dataframe
12:27 PM
but
12:27 PM
ruaok
yes, you can do that in the SELECT
12:27 PM
`SELECT DISTINCT monotonically_increasing_id(), user_name FROM ...`
12:27 PM
would make a two column DF.
12:28 PM
pristine--
okay. I will try to run this. I had some doubt in my mind, but will post after i run this query. Things would be clear then
12:30 PM
I will get on this in like 15 min. just adding suff in release. py
12:30 PM
ruaok
no rush.
12:30 PM
pristine--
you will have one more review ready. lol
12:31 PM
ruaok
ok, kewl. my top priority today.
12:32 PM
iliekcomputers
ruaok: it is still my turn on #9, not ready yet.
12:32 PM
ruaok
ok, I see how to do this better.
12:32 PM
iliekcomputers: ok, just set the flag when you get to it.
12:32 PM
in the meantime, I'll just keep torturing pristine--
12:32 PM
err, helping her.