<isd>
Stuff tends to show up whenever someone stumbles across it and says "hey this is neat!"
<isd>
I had a blog post of mine from January show up at the top a few weeks ago.
wolcen_ has quit [K-Lined]
isd1 has joined #sandstorm
isd1 has left #sandstorm [#sandstorm]
isd1 has joined #sandstorm
isd1 is now known as isd
<isd>
Does sandstorm provide any way for a grain to be notified and respond when it is about to be upgraded to a new version of the app? I imagine no, but it would be useful; upgrading my irc-idler grains causes a dicsonnect, and because they don't do a clean shutdown, when the start back up again, freenode hasn't figured out that the client disappeared, so they end up with a different nick for a while.
<isd>
So it would be nice to be able to respond by sending a QUIT to the server and actually closing the connections, instead of just dying.
<isd>
Could do this manually beforehand, but...
<isd>
Or, I guess, more generally is there a way for an app to tell that it's going to be killed, despite holding a wake lock?
<mrdon>
is there an automatic encrypted grain backup to glacier app that I'm missing?
isd has quit [Ping timeout: 244 seconds]
isd1 is now known as isd
_whitelogger has joined #sandstorm
Telesight has joined #sandstorm
_whitelogger has joined #sandstorm
nwf has quit [Ping timeout: 244 seconds]
nwf has joined #sandstorm
wuch has joined #sandstorm
ThePurgingPanda has joined #sandstorm
ThePurgingPanda_ has quit [Ping timeout: 265 seconds]
dwrensha has joined #sandstorm
xet7 has joined #sandstorm
wolcen_ has joined #sandstorm
wolcen_ has quit [Read error: Connection reset by peer]
wolcen_ has joined #sandstorm
wolcen_ has quit [Read error: Connection reset by peer]
wolcen_ has joined #sandstorm
NwS has joined #sandstorm
wolcen_ has quit [Ping timeout: 252 seconds]
wolcen_ has joined #sandstorm
wuch has quit [Quit: WeeChat 1.5]
<digitalcircuit>
isd: That also sounds useful for, say, Davros, too - while error recovery from partial uploads is possible, it'd be cleaner to just remove the temporary files on shutdown. Sandstorm probably would need to enforce a time limit of some sort for shutdown to avoid misbehaving grains getting stuck.
* digitalcircuit
is rather amused by the Sandstorm "Be sure to misspell referer" commit :)
afuentes has joined #sandstorm
phoenix1796 has joined #sandstorm
<phoenix1796>
Hi guys o/
<phoenix1796>
We are hositing a hackathon at our college and wanted to connect with sandstorm.io , for the same , any ideas on what would be the best way to approach them ?
<phoenix1796>
*hosting
<phoenix1796>
The venue is ABES Engg. College , Ghaziabad , U.P.
<phoenix1796>
India
<dwrensha>
phoenix1796: asheesh would probably love to talk to you
<dwrensha>
he might not be around today, as it's the weekend
<dwrensha>
but you could try emailing asheesh@sandstorm.io
<phoenix1796>
@dwrensha will do , thanks for the quick reply :)
jemc has joined #sandstorm
Lionel_Debroux has quit [Ping timeout: 276 seconds]
<isd>
digitalcircuit: you probably need the recovery code anyway; can't control when the machine dies on you.
<isd>
But being notified that your wake lock is being revoked, and given a grace period to clean up would be very useful.
<digitalcircuit>
...exactly :)
<digitalcircuit>
isd: Right, as I'm guessing is the same with irc-idler. But there might be some situations where there's less recovery work if you get notified to shutdown.
<isd>
In my case, if I don't seed the QUIT and formally close the connection, and then I start it up again quickly, I get to be "isd1" until freenode figures out that the other connection is dead.
<isd>
You can't really fix that via startup recovery code
<liam>
you do have /msg nickserv ghost
<isd>
I guess my thought with davros is that if you do that cleanup on startup anyway, you don't really gain anything by doing it on shutdown too. But maybe I'm missing something.
<isd>
liam: didn't know about that, thanks!
<liam>
:)
<isd>
Still, would be nice if irc-idler did proper shutdowns to avoid that situation.
<liam>
some channels don't let you change nick while in them, so i would recommend doing that before all of your JOINs
<isd>
yeah, unfortuntely I have auto-join on for some of those
<isd>
the other annoying thing that happens is a few of those tell me to identify before they'll let me in; it's a weird scenario
<isd>
speaking of which, I think I've spotted another bug. Does anyone else see an isd1 in this room right now?
<liam>
no
<isd>
okay, that's what I thought. guess I have some debugging to do
decause is now known as decause-nick
decause-nick is now known as decause
Lionel_Debroux has joined #sandstorm
wolcen_ has quit [Quit: Leaving]
wuch has quit [Quit: WeeChat 1.5]
<isd>
Dogfooding a new version; back in a few
<digitalcircuit>
isd: Cleanup on startup in Davros might impact latency for the sync API.. maybe? I'm not sure how it's implemented.
<digitalcircuit>
Does irc-idler make use of SASL? That'd avoid any race conditions with identifying/joining.
isd has quit [Ping timeout: 276 seconds]
isd has joined #sandstorm
<isd>
hrm, is there a way to do something similar to ghost for a nick that isn't registered? I am having this problem on oftc right now.
<liam>
no. It would be unsafe to forcibly disconnect random people because "that's my nick" when it isn't really
<isd>
Well yeah. Was more looking for a "can you please send the ping *now*" message, but I'm not surprised it doesn't exist.
<isd>
Anyway, it seems to have figured it out
<liam>
even if it did that, you'd still have to wait ~27X seconds for it to time out
<isd>
Yeah. that's still a good bit faster than it sometimes takes though. Anyway, life goes on.
<asheesh>
isd: You could imagine irc-idler detecting an old version of itself leaving the channel, and renaming itself to its desired nick.
<asheesh>
As a random fwiw
<isd>
asheesh: the problem I'm trying to solve is to get the old version of itself to disappear in the first place
<asheesh>
Yeah, but in some cases that's impossible :)
<isd>
asheesh: indeed. If the sandstorm box just barfs you're out of luck until the irc server figures it out
<isd>
and in those cases it seems to handle things like most clients would without the proxy -- you pick a different nick, and you can send a NICK message to switch once it's freed up, or ust ghost if available
<isd>
but it would be nice if clean shutdown was a possibilty, which right now it isn't
<isd>
I could add a manual version of that without the wakelock support I suppose.
<isd>
On my mental TODO list is to add something NickServ like for administering irc-idler without having to go to the web ui
<isd>
I have hazy memories of reading about something like the wakelock-revoke notification, so maybe it does exist? I may have completely imagined that though.
<isd>
Just one more bug I want to fix for alpha 1!
<liam>
i had to manually run the hooks since those are broken but w/e
sydney_untangle has quit [Read error: No route to host]
sydney_untangle has joined #sandstorm
<isd>
Alpha 1 is complete! I'm going to dogfood it for a day, maybe touch up the docs a bit, and probably tomorrow send an email to sandstorm-dev soliciting alpha testers.
<isd>
Switching over to the new version; connection will die for a moment.
isd1 has joined #sandstorm
isd has quit [Disconnected by services]
isd1 is now known as isd
afuentes has quit [Ping timeout: 264 seconds]
<isd>
Huzzah! it's still super janky, but I've fixed the stuff that was perpetually apparent in my day-to-day use.