mafintosh: why not group them together? Combine the byte count, spit out the meta hash
just cant imagine needing the content core's key, but I can imagine having to explain to people multiple times why there was 2 messages
mafintosh
pfrazee: yes good idea. thats why i said that this was just the easiest way to impl it right now
pfrazee
mafintosh: ok cool :)
pfrazee joined the channel
yoshuawuyts
going to bed now; but if someone feels like debugging something - I still can't figure out why this line contains legit DOM elements (if files are added) but they never show up in the UI https://github.com/yoshuawuyts/dat-desktop/blob...
so far my best guess has been: chrome bug - but a fresh pair of eyes would do miracles I reckon
pfrazee
yoshuawuyts: you try putting it in a tbody?
yoshuawuyts: also, try wrapping the <th> elements in a tr, so that it's thead > tr > ths
yoshuawuyts
pfrazee: lol, no - let's give it a shot
pfrazee: I def like the markup better now, but it's not the solution
pfrazee
yoshuawuyts: :(
yoshuawuyts
pfrazee: thanks for the thinking tho - for a moment I was like: "ohhh, wish I would've known about tbody sooner!"; at least I learned a thing now haha :D
pfrazee
yoshuawuyts: yeah :) did you try the tr in the head?
yoshuawuyts
pfrazee: yeah, that's what you suggested right?
pfrazee
yoshuawuyts: that and the tbody
yoshuawuyts
(pushing new markup now)
pfrazee
HTML is generally forgiving for stuff like this, but yoyo can be weird about markup things
yoshuawuyts
(markup pushed)
yeah perhaps the solution would be to not use a table?
pfrazee
you might try it, if just to see whether it renders
yoshuawuyts
yeah might just do that - have spent a whole lot of time debugging this today; feel it might like actually be a chrome bug - not using tables could be the best / least hacky solution
pfrazee: thanks for thinking along!
pfrazee
yoshuawuyts: no prob! always happy to help out with a tough debug sitch
mafintosh: Do you know anything about sodium.crypto_stream. I'm very confused as to what it does
mafintosh
emilbayes: nope
emilbayes
mafintosh: There's noting on google about it either. I'm thinking it might be something to do with one-time-pads but there's no mention of it's purpose anywhere
mafintosh
"Unless you specifically need unauthenticated encryption, \Sodium\crypto_secretbox() is the operation you should use instead"
emilbayes: o/ from docs
so secret key enc without a mac?
emilbayes
mafintosh: Yeah, read that, I am going to use the crypto_stream_xor
mafintosh: Oh, but look at it. It will give you a buffer(length) encrypted with nounce and key. But what's encrypted? Garbage data?
mafintosh: Maybe it's for overwriting something that was previously encrypted with crypto_stream_xor with plausible data
mafintosh
yea dunno
secretbox sounds "safer"
emilbayes
mafintosh: Yeah, but I wanted to try and do some random access stuff ^^
mafintosh
what does that mean?
emilbayes
mafintosh: With secret box you have to decrypt the whole thing. With crypto_stream_xor you can decrypt at any point of the buffer (I think)
mafintosh: But for it to be secure there would still have to be some kind of authentication somewhere
mafintosh
ah. i've been using varint prefixed secretboxes
varint containing the length
over a stream
emilbayes
mafintosh: I was thinking more of a abstract-random-access interface to an encrypted file
mafintosh
basically just dominic's secret-handsake procotol but without the handshake part lol
ah cool!!
emilbayes
mafintosh: But may be moving into stupid dangerous territory here
mafintosh
yea dunno, i'm no expert
make something. lable it secure. announce on twitter. wait for the world to tell how wrong you are
emilbayes
mafintosh: Haha, that's the spirit!
mafintosh
and ask dominic
emilbayes
mafintosh: Yep! He's not on irc so it's not as convenient as just googling :p
oh so its a util for generating pseudorandom bytes
karissa
yoshuawuyts: it seems like an array of objects instead of a single HTML element
son0p has quit
yoshuawuyts: yeah jhand has a point make sure updateArchives reducer is updating the archives
dat-gitter-bot has quit
dat-gitter-bot joined the channel
ddem-bot1 has quit
ddem-bot joined the channel
G-Ray joined the channel
jorin joined the channel
M-flyingzumwalt has quit
M-flyingzumwalt joined the channel
mafintosh
yoshuawuyts: i read that choo article. good stuff. i understood most of it
almereyda joined the channel
johncoffee joined the channel
dat-git-bot
[dat] joehand closed pull request #558: fix usage print out on empty stdarg. fixes #557 (master...fix-empty-stdarg) https://git.io/vXJvI
Hi pdurbin! That was a prototype version done for the grant application I think. We are still pursing the same idea (registry for data) but UI will be a bit different.
pdurbin
jhand: ok, thanks. I think you're going to be on my floor at 2. :)
jhand
pdurbin: I'll actually be at Harvard this afternoon (been corresponding with Danny) and happy to answer more questions.
jhand: any thoughts? Is requiring an API Token a show stopper for including Dataverse installations in PublicBits?
jhand
pdurbin: ya, sorry my internet died. I think it's not a complete blocker now. That original idea was more user driven requests closer to one time http requests. But now I think we'll be doing something closer to centralized harvesting.
pdurbin: cool! Still on phone but I'll check it out more when internet is back.
iml_ has quit
pdurbin
thanks :)
johncoffee has quit
jorin has quit
jhand
Ah much more interesting on my computer! (there was just one graph on mobile)
pdurbin: a few ?'s: who determines the affiliation? The monthly stats are across all the dataverses? Kinda surprised to see those not go up with a much higher number of installations.
Did y'all do something for the big jump in installations over the summer?
I guess the total numbers are from the dataverses on Harvard's portal (since the 1.8k dataverse number matches), not groups that install it themselves.
pdurbin
jhand: the "miniverse" app sits on top of the postgres database of a single Dataverse installation. So what you're seeing is only metrics from Harvard's installation of Dataverse. You don't see other installations.
jhand: we can bring this to #dataverse on freenode if you want :)
jhand
pdurbin: okay, that makes sense! I'll hop on there but I think I just needed to browse around a bit more and got most my ?s answered.