These are chat archives for foundersandcoders/laniakea

15th
Apr 2015
James Griffiths
@MIJOTHY
Apr 15 2015 08:27 UTC
workin remote - ima auth n db
Rory
@rorysedgwick
Apr 15 2015 09:42 UTC
you gonna go haircut shop as well?
Rory
@rorysedgwick
Apr 15 2015 09:57 UTC
any more thoughts on how we’re gonna be storing the data?
we’ve got the csv splitter working and thinking there’s no point in sorting the data by custom id before writing it is there?
James Griffiths
@MIJOTHY
Apr 15 2015 10:10 UTC
yeah i dont think so, what are you planning on looking at today?
James Griffiths
@MIJOTHY
Apr 15 2015 11:55 UTC
wanna push it up?
Rory
@rorysedgwick
Apr 15 2015 11:58 UTC
yeah can do, we’ve been working on a csv creator as well for the reverse operation but having some issues with buffers
Rory
@rorysedgwick
Apr 15 2015 12:05 UTC
pushed
James Griffiths
@MIJOTHY
Apr 15 2015 12:09 UTC
nice one, will pull
just as a minor point, if you're only exporting a single function, name the file the same as the function exported
Rory
@rorysedgwick
Apr 15 2015 12:10 UTC
gotcha i’ll rename it
Rory
@rorysedgwick
Apr 15 2015 13:28 UTC
yo we’re trying to add some tests for the csv converters and it doesn’t seem to be recognizing the test files when we run npm test. The final test in __server seems to be failing strangely, was there a problem with it when you left it?
James Griffiths
@MIJOTHY
Apr 15 2015 13:30 UTC
yeah been working on it this morning, for now i'd stick with node test/utils/blahblah.js
David Beech
@beechware
Apr 15 2015 15:00 UTC
@MIJOTHY Are you using microsoft (documentdb) for databasing?
James Griffiths
@MIJOTHY
Apr 15 2015 15:04 UTC
azure table storage
David Beech
@beechware
Apr 15 2015 15:04 UTC
cheers
James Griffiths
@MIJOTHY
Apr 15 2015 15:04 UTC
havent looked at documentdb, ill take a peek now
Rory
@rorysedgwick
Apr 15 2015 15:42 UTC
we’re gonna look into getting mailgun working for notifications
how are things going is ruislip?
James Griffiths
@MIJOTHY
Apr 15 2015 15:45 UTC
ite, just had a kiwi and a cup of tea innit
csv going well?
David Beech
@beechware
Apr 15 2015 15:49 UTC
We have our csvConverter working it turns out we needed to specify the encoding. We been thinking that the best way to extract the relevant data from the database would be to search for all rows with a specific custom-id using some sort of db method.
James Griffiths
@MIJOTHY
Apr 15 2015 15:49 UTC
naturally
had a chance to look at potential ways of pulling the csv from yt without needing to download manually?
David Beech
@beechware
Apr 15 2015 15:50 UTC
How was the Kiwi i’m trying intermittent fasting havent eaten since yesterday so hungry!
James Griffiths
@MIJOTHY
Apr 15 2015 15:50 UTC
yh m8 not bad, check out leangains for guides on it
David Beech
@beechware
Apr 15 2015 15:51 UTC
we haven’t had a look at all Streeetch goal
James Griffiths
@MIJOTHY
Apr 15 2015 15:52 UTC
also you can have a look at the wheres_my_receipt/give_me_your_money stuff, there's a lot of mailgun work there that sarah did
David Beech
@beechware
Apr 15 2015 15:53 UTC
good shout
James Griffiths
@MIJOTHY
Apr 15 2015 15:53 UTC
if you do start using credentials stuff
im making a config and credentials.json, i'm adding credentials to the gitignore but i'll send a copy to each of you in private chat
but yeah the general format should be apparent when you see it
Rory
@rorysedgwick
Apr 15 2015 16:04 UTC
cool
is it worth you pushing what you’ve been doing today or shall we merge it later?
James Griffiths
@MIJOTHY
Apr 15 2015 16:09 UTC
im gonna push in a bit, finalizing non-db user stuff before i move to database in 30mins or so
David Beech
@beechware
Apr 15 2015 16:10 UTC
sweet
James Griffiths
@MIJOTHY
Apr 15 2015 17:04 UTC
pushed up to auth branch, working tests
made pull req
will let one of you review and merge
as has been decreed by the gitlord
the indenting has come out wonky, but yeah
included a creds.example.json
and on package control, install EditorConfig then restart sublime, should help a bit
Rory
@rorysedgwick
Apr 15 2015 17:08 UTC
don’t like the indenting, merge rejected
James Griffiths
@MIJOTHY
Apr 15 2015 17:11 UTC
bantz
Rory
@rorysedgwick
Apr 15 2015 17:16 UTC
editorconfig saves the day
Rory
@rorysedgwick
Apr 15 2015 17:25 UTC
can we get the creds file too?
James Griffiths
@MIJOTHY
Apr 15 2015 17:30 UTC
thats in /api/credentials.json, make sure it doesnt appear in your git statuses plz
also looks like blob storage might be what we want for video uploads
Rory
@rorysedgwick
Apr 15 2015 17:33 UTC
cheers
James Griffiths
@MIJOTHY
Apr 15 2015 18:44 UTC
homies
can one of you copy-paste one of the converted rows from the madness scv we got?
so an object
plz
Rory
@rorysedgwick
Apr 15 2015 18:57 UTC
coming
David Beech
@beechware
Apr 15 2015 19:35 UTC
here u go
{"Video ID":"--DBLqSHUj4","Content Type":"UGC","Policy":"monetize","Video Title":"Seven Mile in Colorado","Video Duration (sec)":"231","Username":"pinkfloyd","Uploader":"darr25","Channel Display Name":"Darren Roberts","Channel ID":"VjjrybFNLU9u0vkTP6JwIw","Claim Type":"Audio","Claim Origin":"Audio Match","Total Views":"5","Watch Page Views":"5","Embedded Player Views":"0","Channel Page Video Views":"0","Live Views":"0","Recorded Views":"5","Ad-Enabled Views":"5","Total Earnings":"0","Gross YouTube-sold Revenue":"0","Gross Partner-sold Revenue":"0","Gross AdSense-sold Revenue":"0","Estimated RPM":"","Net YouTube-sold Revenue":"0","Net AdSense-sold Revenue":"0","Multiple Claims?":"no","Category":"education","Asset ID":"A200218710251237|A769719267282901","Asset Labels":"","Asset Channel ID":"","Custom ID":"","ISRC":"GB01A1300592","GRid":"A10302B0001941414Z","UPC":"","Artist":"Pink Floyd","Asset Title":"Brain Damage (Darkside)","Album":"\"Darkside","Label":" Tom Stoppard incorporating The Dark Side of The Moon b\””}
James Griffiths
@MIJOTHY
Apr 15 2015 20:10 UTC
cheers
Rory
@rorysedgwick
Apr 15 2015 22:07 UTC
yo @MIJOTHY ive been trying to add routes to test a couple of things and it seems to redirect back to the login page no matter what url I input. Are routes apart from /login requiring authentication by default?
haa yeah literally just found exactly that I think nvm
James Griffiths
@MIJOTHY
Apr 15 2015 23:54 UTC
l0l