asheesh changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Channel glossary: "i,i" means "I have no point, I just want to say". b == thumbs up. | Public logs at https://botbot.me/freenode/sandstorm/ & http://logbot.g0v.tw/channel/sandstorm/today
jadewang has joined #sandstorm
* asheesh waves & stretches.
<asheesh> zarvox: That is neat.
<pdurbin> secrets in usernames sounds a bit odd
wolcen has quit [Ping timeout: 240 seconds]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tdsmith has joined #sandstorm
<kentonv> I can see the argument for secrets in usernames. Capability-based security calls for using a single value both to identify a resource and authorize access. So how do we shoehorn it into legacy username/password systems? Authorizing based on username alone is odd, but conversely routing based on password is also odd. But as a practical matter, it's usually best to avoid putting secrets into fields that aren't usually expec
<kentonv> ted to be secrets.
<tdsmith> Hi #sandstorm! Is Sandstorm/Oasis a useful platform for hosting i.e. IRC logging bots, like botbot or pmxbot? I worry that the bot will be autokilled and there will be gaps in logs; is that a valid worry? (Or, optimistically!, has this already been done in a way that I can leverage for #machomebrew?)
<tdsmith> (e.g.*, not i.e., oops)
<kentonv> tdsmith: right now, you can't host an IRC bot on Oasis because apps can't open arbitrary network connections for security reasons. We plan to improve on that through the concept of "drivers", which would allow apps to use specific protocols in a secure way
<zarvox> While we do have a concept of wakelocks, to allow for backgrounding, we don't have a great story quite yet for "always on" grains, in that if the server stops, there's no way to get the grain running on its own without something outside of Sandstorm pinging it.
<kentonv> there is an API by which an app can request that it not be killed, FWIW. Of course, we will eventually implement metering of compute usage so that people don't run bitcoin miners on Oasis. :)
<kentonv> that too
<tdsmith> okay! brilliant, thanks.
neynah has joined #sandstorm
neynah has quit [Client Quit]
<tdsmith> i was optimistic about getIpNetwork in hack-session.capnp but I guess the attached comment ("If the owner of the grain calling this is not an admin, then this will raise an exception") refers to an admin of the Sandstorm instance (here, an admin of Oasis)?
aldeka has quit [Remote host closed the connection]
ocdtrekkie has quit [Remote host closed the connection]
<zarvox> You can also use the Powerbox to request an IpNetwork capability, which the grain could save a reference to and restore for use even if the current session is not for an admin user
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
<zarvox> Right now the only thing that does this is a test app from our integration test suite, but that might give you a nudge in the right direction: https://github.com/zarvox/sandstorm-test-python
<zarvox> Admittedly there are a bunch of moving parts, and we haven't written developer docs for this, so the experience is likely to be a bit rocky. But if you still want to give it a go, I can answer questions as best I can. :)
NwS has quit [Ping timeout: 244 seconds]
neynah has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
chuan has joined #sandstorm
jadewang has quit [Remote host closed the connection]
neynah has joined #sandstorm
jemc has quit [Ping timeout: 250 seconds]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jadewang has joined #sandstorm
neynah has joined #sandstorm
wolcen has joined #sandstorm
digitalcircuit has quit [Remote host closed the connection]
digitalcircuit has joined #sandstorm
wolcen has quit [Ping timeout: 268 seconds]
frann has joined #sandstorm
wolcen has joined #sandstorm
GeorgeHahn has quit [Read error: Connection reset by peer]
raoulzecat has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jemc has joined #sandstorm
jemc has quit [Ping timeout: 244 seconds]
jemc has joined #sandstorm
jemc has quit [Client Quit]
jemc has joined #sandstorm
jadewang has quit [Remote host closed the connection]
xet7 has quit [Quit: Leaving]
jemc has quit [Ping timeout: 248 seconds]
xet7 has joined #sandstorm
logbot___ has quit [Remote host closed the connection]
logbot__ has joined #sandstorm
xet7 has quit [Ping timeout: 260 seconds]
Try`0xff is now known as Tryum
NwS has joined #sandstorm
xet7 has joined #sandstorm
dcb has quit [Ping timeout: 246 seconds]
keybits has joined #sandstorm
dcb has joined #sandstorm
aldeka has quit [Remote host closed the connection]
ocdtrekkie has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
M-eternaleye has joined #sandstorm
rolig has quit [Ping timeout: 246 seconds]
rolig has joined #sandstorm
M-hrjet has joined #sandstorm
keybits has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
M-hrjet has quit [Quit: node-irc says goodbye]
raoulzecat has quit [Ping timeout: 246 seconds]
raoulzecat has joined #sandstorm
raoulzecat has quit [Remote host closed the connection]
xet7 has quit [Quit: Leaving]
asmyers has joined #sandstorm
xet7 has joined #sandstorm
aaronr has joined #sandstorm
frann has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
sydney_untangle has quit [Read error: Connection reset by peer]
sydney_untangle has joined #sandstorm
asmyers has quit [Ping timeout: 268 seconds]
asmyers has joined #sandstorm
jemc has joined #sandstorm
asmyers has quit [Ping timeout: 240 seconds]
asmyers has joined #sandstorm
luckre has quit [Read error: Connection reset by peer]
luckre has joined #sandstorm
luckre has joined #sandstorm
wolcen has quit [Ping timeout: 240 seconds]
sandah has quit [Read error: Connection reset by peer]
sandah has joined #sandstorm
froggyto1d is now known as ftoad
sandah has quit [Read error: Connection reset by peer]
sandah has joined #sandstorm
xet7 has quit [Quit: Leaving]
notevil has joined #sandstorm
Tryum is now known as Try`0xff
wolcen has joined #sandstorm
notevil has quit [Ping timeout: 260 seconds]
notevil has joined #sandstorm
xet7 has joined #sandstorm
M-eternaleye has quit [Changing host]
M-eternaleye has joined #sandstorm
M-eternaleye is now known as eternaleye
xet7 has quit [Quit: Leaving]
xet7 has joined #sandstorm
neynah has joined #sandstorm
xet7 has quit [Ping timeout: 240 seconds]
xet7 has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
sydney_untangle has quit [Ping timeout: 252 seconds]
neynah has joined #sandstorm
neynah has quit [Client Quit]
neynah has joined #sandstorm
OOCoder has joined #sandstorm
<OOCoder> Hi, I'm trying to update my DNS (namecheap) to point to my sandstorm ghost blog app.
wolcen has quit [Ping timeout: 268 seconds]
<OOCoder> I ended up using the URL redirect to point domain but I cannot setup correctly the subdomain or host.
sydney_untangle has joined #sandstorm
wolcen has joined #sandstorm
<asheesh> Hi OOCoder !
<asheesh> http://networkeffects.ca/?p=2162 might be a helpful tutorial.
<OOCoder> hi, I'll check out the link
<asheesh> Great! Let me know what you think.
<OOCoder> Hmm, I did that... maybe I didn't wait long enough. I'll try again, I'll wait 20mins this time.
<OOCoder> thanks
<asheesh> OK, cool. Let me know in 20 min how things look.
<OOCoder> I'm going to get some lunch, i'll repost in 1hr or 2hr.
wolcen has quit [Ping timeout: 240 seconds]
wolcen has joined #sandstorm
<asheesh> Great.
jadewang has joined #sandstorm
OOCoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
OOCoder has joined #sandstorm
xet7 has quit [Quit: Leaving]
xet7 has joined #sandstorm
<OOCoder> didn't work, :(. Trying adding a '.' at the end now.
OOCoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<maurer> kentonv: In StructReader (layout.h) it uses BitCount to represent the data size. In a comment, it says this is to support struct lists encoded with less than a word per element. Looking at the composite list pointer type, it says it uses a tag word structured like a struct pointer. Struct pointers can only specify data sections in whole words. What is going on here?
<maurer> Is this for reading legacy structs?
<maurer> (I'm trying to actually write canonicalization code and it seems like checking truncation for a non-word-size-multiple data section would be kind of confusing)
<kentonv> it can happen when you have a list of structs
<kentonv> maurer: although bit-width structs are no longer supported. The smallest allowed size is bytes.
<maurer> kentonv: OK, so from the canonicalization standpoint, I can check that the data size is a multiple of word size, and if it is not, reject?
<kentonv> yeah, in order to make canonicalization possible, we deprecated this "efficient packing" of struct lists
xet7 has quit [Ping timeout: 276 seconds]
OOCoder has joined #sandstorm
neynah has joined #sandstorm
xet7 has joined #sandstorm
xet7 has quit [Ping timeout: 240 seconds]
prettyvanilla_ has joined #sandstorm
prettyvanilla has quit [Ping timeout: 248 seconds]
xet7 has joined #sandstorm
xet7 has quit [Quit: Leaving]
asmyers has quit [Ping timeout: 244 seconds]
aldeka has quit [Remote host closed the connection]
ocdtrekkie has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
OOCoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
notevil has quit [Quit: Leaving]
kecors has joined #sandstorm
OOCoder has joined #sandstorm
<OOCoder> fyi, setting subname/host is not working using the settings suggested by the ghost app.
<OOCoder> i keep getting the following message: Error looking up DNS TXT records for host "blog.oocoder.tech": queryTxt ENOTFOUND
<OOCoder> Also, The URL redirect works fine from namecheap.
<OOCoder> Another question, have anybody tried to replace the theme of ghost via external files? I tried to import the odin them from github into ghost but I don't see an option for it.
<kentonv> OOCoder: It looks like you haven't set the TXT record as required in the instructions. sandstorm-www.blog.oocoder.tech needs a TXT record with the text "6nm7rfnnritwu98kjfe8" (without quotes)
<kentonv> OOCoder: unfortunately adding themes currently doesn't work since as of the version of Ghost we last packaged there was no UI to import themes -- it required shell access, which Sandstorm doesn't provide. We really should add our own UI for this but haven't had the time. :/ Patches welcome, of course.
<OOCoder> thanks kentonv, but I did added it like that. Are there some file logs I can look at?
<OOCoder> Oh I c
<kentonv> OOCoder: Hmm, I tried doing `dig -t txt sandstorm-www.blog.oocoder.tech` and I am not seeing a TXT record.
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
asmyers has joined #sandstorm
<OOCoder> I have been trying multiple things... let me put it back the way I initially added it.
<kentonv> hmm, it may be that you had it right at some point but the cache was stale. DNS is slow to update. :/
neynah has joined #sandstorm
<OOCoder> ah.... I c. most likely.
<OOCoder> Ok, I put it back the way it was. I'll wait 30 mins this time and run the 'dig' utility to verify it, thanks.
<OOCoder> Btw, How do go about adding a patch for uploading a theme?
xet7 has joined #sandstorm
<kentonv> OOCoder: Hmm, you'll have to ask jparyani who maintains the Ghost package.
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
wolcen has quit [Ping timeout: 252 seconds]
asmyers has quit [Ping timeout: 276 seconds]
jadewang has quit [Remote host closed the connection]
<maurer> kentonv: Is there an API for pretty-printing capnproto messages without a schema? I'm trying to debug my canonicalization test cases, which I wrote the representation for by hand, and are probably not what I think they are
<kentonv> maurer: no, but you could probably whip something up pretty quick based on Any{Pointer,Struct,List}.
<maurer> OK. Thanks for the help.
OOCoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jemc has quit [Ping timeout: 260 seconds]