#instantbird log on 08 01 2018

All times are UTC.

07:49:16 <-- florian has quit (Client exited)
08:17:30 --> u1dzer0 has joined #instantbird
08:17:30 <-- u1dzer0 has quit (G-Lined: no spamming here bug 1478166#9)
10:41:54 <-- MrPickle-M has quit (A TLS packet with unexpected length was received.)
10:41:54 <-- matrixisreal[M] has quit (A TLS packet with unexpected length was received.)
10:41:55 <-- clokep-M has quit (A TLS packet with unexpected length was received.)
10:41:55 <-- EionRobb has quit (A TLS packet with unexpected length was received.)
10:41:55 <-- eggsperde-M has quit (A TLS packet with unexpected length was received.)
10:41:55 <-- soundharya-M has quit (A TLS packet with unexpected length was received.)
10:41:55 <-- MrTomato-M has quit (Error in the push function.)
10:41:55 <-- ryanleesipes-M has quit (Error in the push function.)
10:41:55 <-- matthew-M has quit (Connection closed)
10:47:47 --> matrixisreal[M] has joined #instantbird
11:04:42 --> florian has joined #instantbird
11:04:42 * ChanServ sets mode +qo florian florian 
11:11:22 --> SpEcHiDeR has joined #instantbird
11:11:23 --> ryanleesipes-M has joined #instantbird
11:11:23 --> soundharya-M has joined #instantbird
11:11:24 --> matthew-M has joined #instantbird
11:11:24 --> MrTomato-M has joined #instantbird
11:11:29 --> EionRobb has joined #instantbird
11:11:35 --> eggsperde-M has joined #instantbird
11:11:36 --> clokep-M has joined #instantbird
11:11:44 --> MrPickle-M has joined #instantbird
12:12:54 <florian> freaktechnik: e
12:12:56 <florian> hey
12:13:04 <florian> so, what's the plan for twitter after august?
12:13:48 <florian> do we need to continuously do XHRs just to know the unread message count?
12:13:55 <freaktechnik> Polling. As smartly as possible. I'll post an updated patch for that ubtil the weekend hopefully.
12:13:58 <freaktechnik> Yes.
12:14:12 <florian> isn't that going to drain the battery and waste bandwidth?
12:14:24 <florian> (to the point that keeping a twitter account connected would be a bad idea)
12:14:54 <freaktechnik> The hope is to poll as smartly as possible. But it shouldn't be worse than keeping a request open forever.
12:15:41 <freaktechnik> we can poll for just new tweets and mentions, for example, so we don't load the last 100 or so tweets all the time.
12:16:50 <florian> keeping a request is just keeping a socket open, right? There's no actual traffic
12:17:56 <freaktechnik> Until twitter floods it with traffic because someone subscribed to you, for example.
12:18:11 <freaktechnik> Also, there's keep alives, isn't there?
12:18:59 <florian> they send some whitespace to keep it alive, right?
12:19:33 <freaktechnik> Something like that, yeah
12:19:54 <freaktechnik> Which is only marginally less traffic than a request with an empty result imo
12:20:17 <freaktechnik> And not having an open connection may actually save battery, too
12:20:44 <florian> I doubt re-creating an ssl connection each time can be cheaper
12:20:53 <florian> and there'll be the http headers each time
12:20:58 <florian> anyway, sounds like we have no choice
12:21:20 <florian> or rather, the choice is to do it like this, or drop twitter support
12:21:43 <freaktechnik>  There's a third option: build a custom polling service^^
12:21:50 <freaktechnik> (and pay for more webhooks)
12:22:02 <florian> how often should we poll, and how often can we do it without exceeding the rate limit?
12:22:11 <freaktechnik> Pushong service I meant.
12:22:29 <freaktechnik> Iirc. the sustainable poll intervall is a minute
12:22:46 <freaktechnik> (haven't built the pollinganager just yet)
12:22:52 <florian> that's pretty slow when you are in a conversation with someone
12:23:00 <freaktechnik> Luckily every endpoint has separate rate limits.
12:23:10 <florian> and that's a lot of requests for when the chat tab isn't visible
12:23:35 <freaktechnik> My plan is to try and make it as higg as possible when twitter is focused and as low as possible when the chat tab isn't active.
12:24:45 <florian> I don't expect to have enough time and energy to do a thorough review of this in the near future
12:24:58 <freaktechnik> Like only poll for new mentions and don't even poll the other tweets when there's already some unreads.
12:25:14 <florian> so if I have to do the review it'll be mostly a quick code inspection and "I trust you and if we don't do this it's broken anyway"
12:30:03 --> gerard-majax has joined #instantbird
15:13:12 <-- gerard-majax has quit (Quit: Leaving)
15:19:29 <-- florian has quit (Client exited)
15:28:01 <-- GeekShadow has quit (G-Lined: spammer 1478166#c8)
16:14:28 --> florian has joined #instantbird
16:14:28 * ChanServ sets mode +qo florian florian 
18:30:48 --> Xiti29 has joined #instantbird
18:30:48 <-- Xiti29 has quit (G-Lined: no spamming here bug 1478166#9)
19:35:19 --> drh25 has joined #instantbird
19:35:19 <-- drh25 has quit (G-Lined: no spamming here bug 1478166#9)
19:40:17 --> GeekShadow has joined #instantbird
20:52:24 --> clokep_tb has joined #instantbird
21:04:32 <-- clokep_tb has quit (Ping timeout: 121 seconds)
21:40:22 --> anderx has joined #instantbird
21:40:22 <-- anderx has quit (G-Lined: no spamming here bug 1478166#9)