#dev | Logs for 2016-06-13

« return
[00:06:05] <Bytram> strange!
[00:08:08] <Bytram> will have to try a couple others, I guess.
[00:16:19] <Bytram> checking: "stderr"
[00:16:40] <Bytram> db says he has 129 comments;
[00:17:51] * Bytram waits for his pc to refresh its dnscache :/
[00:19:05] <Bytram> as AC: stderr's Latest 24 of 129 Comments
[00:19:41] <Bytram> as martyb: stderr's Latest 24 of 129 Comments
[00:20:19] <Bytram> too strange!
[00:20:43] * Bytram checks takyon again... as martyb: takyon's Latest 100 of 3443 Comments
[00:20:51] <Bytram> sense. no. makes!
[00:38:37] -!- takyon_ has quit [Ping timeout: 268 seconds]
[01:38:00] <Bytram> okay, now this is getting interesting...
[01:38:07] <Bytram> as martyb: Gaaark's Latest 74 of 1041 Comments
[01:38:34] <Bytram> as AC: Gaaark's Latest 24 of 1041 Comments
[01:44:43] <Bytram> and the oldest listed there looks to be on: Friday May 13, @11:21PM https://soylentnews.org
[01:44:44] <aqu4> Failed to connect to retrieve page title.
[01:46:35] <Bytram> and... as martyb: Nerdfest's Latest 64 of 1665 Comments
[01:46:51] <Bytram> and as AC...: Nerdfest's Latest 24 of 1665 Comments
[01:48:10] <Bytram> latest comment listed there looks to be on: Saturday May 14, @12:49AM https://soylentnews.org
[01:48:10] <aqu4> Failed to connect to retrieve page title.
[01:48:28] <Bytram> so, seems to be only those within the past month?
[01:50:36] <TheMightyBuzzard> Bytram, that was done for people like me that talk a hell of a lot. all comments ever was causing user pages to be unusable.
[01:50:55] <Bytram> nod nod
[01:51:06] <Bytram> was kinda figuring that out...
[01:51:09] <TheMightyBuzzard> i'm not sure of the exact rules though.
[01:51:26] <Bytram> seems that our buddy takyon is running into some performance problems when loading his user info page
[01:51:36] <Bytram> it lists the details on something like 600 accepted stories
[01:51:51] <Bytram> https://soylentnews.org
[01:51:51] <aqu4> Failed to connect to retrieve page title.
[01:52:07] <TheMightyBuzzard> yeah, it loads pretty damn slow.
[01:52:41] <Bytram> I've narrowed down some templates,
[01:52:48] <TheMightyBuzzard> we should prolly paginate it like we do other stuff
[01:52:52] <Bytram> nod nod
[01:53:02] <Bytram> so, I was trying to find a consistent pagination mechanism
[01:53:12] <Bytram> top 100? top 24?
[01:53:16] <Bytram> site var?
[01:53:29] <Bytram> looked at other things on the users page to see if coulduse as guideline
[01:53:46] <Bytram> and then got a bit confused... I do not see that we are all that consistent to start with
[01:53:55] <Bytram> then again, what's new, eh?
[01:54:02] <TheMightyBuzzard> we're not except with comments. no reason to be.
[01:55:09] <Bytram> I spose, but there is a certain nicety to seeing a consistent value for the top N of each category displayed
[01:55:42] * Bytram likes consistency -- is less for my brain to kep track of
[01:56:25] <Bytram> *keep
[01:56:52] * Bytram has enough trouble with his speeling
[01:56:52] <Bytram> =)
[01:57:33] <Bytram> btw, really appreciate your feedback -- I'm starting to get a feel for the code, but it's nice to know that I'm on the track and not heading off down a rabbit hole
[01:57:41] <Bytram> anyway, break time; biab
[01:57:48] <TheMightyBuzzard> there's no reason for them to be consistent though. they're not the same things and not displayed on the same pages.
[01:58:14] <TheMightyBuzzard> if you're displaying nothing but comments you can do a bunch of them. if you're doing other db heavy stuff too you need to do less.
[01:58:53] <Bytram> I'm talking about what is displayed on a user's info page; e.g.: https://soylentnews.org
[01:58:53] <aqu4> Failed to connect to retrieve page title.
[01:59:07] <Bytram> where it has sections for comments submitted, moderations performed, stories subbed, etc.
[01:59:22] <Bytram> in THAT case, I was thinking of consistency in what was displayed.
[01:59:45] <TheMightyBuzzard> again, different things are lighter to load than each other. plus some things you want to see more of than others.
[02:00:11] <Bytram> agreed on different load on system.
[02:00:16] <Bytram> I concede the point
[02:00:29] <TheMightyBuzzard> like you'd want maybe 50 comments tops but you might want twice as many subs.
[02:00:41] <Bytram> k
[02:01:03] <Bytram> given that, what do you think system-load-wise would be a reasonable upper bound on submissions
[02:01:13] <Bytram> latest 50?
[02:01:42] <TheMightyBuzzard> i think we could pull a hundred in. they're lighter to parse than comments.
[02:01:55] <Bytram> k
[02:02:05] <TheMightyBuzzard> but usability? fifty'd be better.
[02:02:27] <Bytram> though there are not that many folk with that many subs, atm, there could well be after a few more years
[02:02:52] <TheMightyBuzzard> don't matter. p666 should be able to load his user page same as anyone else.
[02:02:53] <Bytram> are these hard-coded into the routine itself or are they site vars?
[02:03:11] <TheMightyBuzzard> they don't exist right now. there's no pagination at all for subs.
[02:03:32] <Bytram> nod nod
[02:03:34] <TheMightyBuzzard> well not if you're an admin anyway. dunno bout normal users.
[02:03:55] <Bytram> just a sec
[02:04:05] <TheMightyBuzzard> you look, i'll smoke.
[02:08:42] <Bytram> break time sounds like a good idea; biab
[02:14:40] <Bytram> doh!
[02:16:01] <Bytram> just check taky using lynx 9so I'm an AC) showed *ALL* his submissions
[02:16:16] <TheMightyBuzzard> bummer
[02:16:28] <TheMightyBuzzard> yeah, we should add pagination soon.
[02:16:34] <Bytram> nod nod
[02:17:54] <Bytram> look at: template: userInfo;users;default
[02:18:02] <Bytram> line 133: PROCESS listSubmissions title=title admin_flag=admin_flag submissions=submissions;
[02:18:14] <Bytram> appears to be located in template: listSubmissions;users;default
[02:18:16] <TheMightyBuzzard> hit me up some time when i'm not five seconds from falling asleep n i will.
[02:18:25] <Bytram> LOL, np
[09:35:10] SoyGuest37311 is now known as cosurgi
[09:35:14] -!- cosurgi has quit [Changing host]
[09:35:14] -!- cosurgi [cosurgi!janek@Soylent/Staff/Wiki/cosurgi] has joined #dev