#dev | Logs for 2017-12-14

« return
[05:09:38] -!- cosurgi has quit [Ping timeout: 246 seconds]
[05:10:37] -!- cosurgi [cosurgi!~cosurgi@pskvpf01.bl.pg.gda.pl] has joined #dev
[05:11:35] cosurgi is now known as SoyGuest49847
[11:37:00] <TheMightyBuzzard> Bytram, Xyem, all my december changes are up on dev. changes here: https://github.com and here: https://github.com
[11:37:02] <upstart> ^ 03Add min karma for the journals slashbox by TheMightyBuzzard · Pull Request #414 · SoylentNews/rehash · GitHub
[11:37:03] <upstart> ^ 03Wobblywilly by TheMightyBuzzard · Pull Request #420 · SoylentNews/rehash · GitHub
[11:45:27] <TheMightyBuzzard> NCommander, got that pull request up for review when you get some free time. see #420 link above.
[11:46:30] <TheMightyBuzzard> no huge rush but i'd like to roll out what we have ready before the new year.
[15:27:23] <Bytram> TheMightyBuzzard: good morning! Would there be a way to get a list of all changes implemented in this new release (aka Release Notes) -- we're gonna need something to post to the site about the changes being made, and it would be helpful for me in doing testing.
[15:39:56] <Bytram> one would think I'm not the first who would want such a thing... is there no way using github to get a report of all issues that have been marked closed and that are associated with a particular label (December 2017)
[15:41:43] <Bytram> okay, found this: https://help.github.com
[15:41:44] <upstart> ^ 03Searching issues and pull requests - User Documentation
[15:44:11] <Bytram> and found this: https://help.github.com
[15:44:12] <upstart> ^ 03Sorting search results - User Documentation
[15:48:47] <TheMightyBuzzard> Bytram, read the pull requests. it says which issues are taken care of.
[15:50:29] <TheMightyBuzzard> i mean i went to all the trouble of linking the issues in the description and everything.
[15:55:56] <Bytram> thanks... was just looking for something like a single doc that had evereything in it...
[15:55:57] * Bytram is running on "not much left" so may make mistakes as I try to get up to speed on the issues -- sorry!
[15:57:27] <Bytram> so... *just* 414 and 420 ??
[15:59:06] <TheMightyBuzzard> ya, just those two pull requests. maybe six or seven issues.
[15:59:45] <Bytram> huh! I thought for sure there were a bunch more! My bad!
[16:00:46] <TheMightyBuzzard> s'all i had time for. and i don't remember if #414 is still active on dev or not. really not much to test though.
[16:01:19] <Bytram> that's the one requiring a min karma for journal entries to appear
[16:01:25] <TheMightyBuzzard> yup
[16:01:34] <Bytram> yays!
[16:02:10] <TheMightyBuzzard> just a slight change in the sql statement pulling the entries. not much that could go wrong.
[16:02:44] <TheMightyBuzzard> oh and i thought about it and i don't want to document what karma you have to have to get an entry up on the front page.
[16:02:49] <Bytram> okay, 414 stands alone... but 420 points to a buncha others... am gonna gather it all together and put up as a "story" on dev so I can see everything in one place and on one 'page'
[16:03:02] <TheMightyBuzzard> issues != pull requests
[16:03:12] <TheMightyBuzzard> sure
[16:03:29] <Bytram> pull requests are fixes for issues
[16:03:45] <TheMightyBuzzard> ya but they can be one issue, 20 issues, or half an issue.
[16:03:53] * Bytram grads a tissue
[16:03:57] <Bytram> s/d/b/
[16:04:05] <Bytram> got it
[16:04:11] <TheMightyBuzzard> relax man, i didn't mean to make ya cry.
[16:04:16] <Bytram> ROFL!
[16:04:39] <Bytram> okay... before I dive any further into this, i really should start laundry -- only day off until next week
[16:04:43] <Bytram> biab
[16:05:04] <TheMightyBuzzard> anyway, i say we mention the karma floor for getting your journal linked in the release notes and nowhere else. make it a bit more difficult for spammers to figure out.
[16:09:19] <TheMightyBuzzard> aight, i gotta run. gun shopping for TR's 10yo girl.
[16:10:25] <Bytram> nod nod...
[16:10:35] <Bytram> whacha looking to get a 22 LR?
[16:17:12] <TheMightyBuzzard> prolly. TR's dead set on getting her a lever or bolt action instead of a semi-auto. i think he's just deranged by his love of all things obsolete.
[16:26:00] <Bytram> is what I learned on ... bolt action with iron sights
[16:26:22] <Bytram> less opportunity to cause unintended damage / injury
[16:27:45] <Bytram> one year I was able to carry the .22 LR rifle, next year could carry it along with a single bullet in my pocket, 3rd could carry rifle with bullet in chamber. Safety First!
[18:36:46] <Bytram> TheMightyBuzzard: I put a story up on dev that should go live in about 5 minutes that summarizes the issues that are addresses in the "December 2017" release: https://dev.soylentnews.org
[18:36:48] <upstart> ^ 03Error ( https://dev.soylentnews.org )
[18:36:57] <Bytram> biab; laundry and lunch
[21:03:41] -!- mrpg [mrpg!~m@Soylent/Staff/Editor/mrpg] has joined #dev
[21:04:00] <mrpg> hi. https://mobile.twitter.com still down. bye.
[21:04:01] <upstart> ^ 03SoylentNews (@SoylentNews) on Twitter
[21:04:09] -!- mrpg has quit [Quit: Leaving.]
[21:18:28] <chromas> it's those dang net neutralities being smashed by the trumpriarchy
[21:35:40] <TheMightyBuzzard> chromas, you do python, don't you?
[21:36:01] <chromas> A bit. Not an expert though.
[21:36:27] <chromas> Does Bender need a smake?
[21:37:04] <TheMightyBuzzard> yeah, i was gonna dump his cat-herding upon you
[21:38:00] <TheMightyBuzzard> i really don't wanna figure out why he's not regurgitating our crap onto twitter so it can slightly improve the crap quality there
[21:39:17] <chromas> Last post Novermber 5. Was there an ircd reboot around then? Maybe Bonder lost his credentials
[21:39:30] <TheMightyBuzzard> guess i will anyway though. it'd be easier than adding you the proper perms.
[21:39:40] <TheMightyBuzzard> prolly. who knows.
[21:40:57] <chromas> You could rewrite the twitter plugin in rust :D
[21:41:37] <TheMightyBuzzard> i could log in and shut down the twitter account too
[21:43:44] <Bytram> for some reason, I thought bender was written in... tcl?
[21:43:51] <TheMightyBuzzard> appears he lost his creds
[21:43:55] <TheMightyBuzzard> Bytram, python
[21:44:06] <Bytram> oh, okay.
[21:44:09] <Bytram> TIL
[21:44:18] <Bytram> naps++
[21:44:18] <Bender> karma - naps: 1
[21:44:25] <Bytram> what a difference a couple hours makes!
[21:44:33] <TheMightyBuzzard> damn skippy
[21:44:40] * Bytram feels, dare I say it, nearly human again!
[21:44:57] <Bytram> did youget a chance to glance at the story I put up on dev?
[21:45:21] <Bytram> tried to gather together all the issues addressed by "December 2017" into one place.
[21:45:34] <Bytram> am planning to work from that as a design doc for what needs testing
[21:46:23] <TheMightyBuzzard> no
[21:47:06] <Bytram> https://dev.soylentnews.org
[21:47:08] <upstart> ^ 03SoylentNews' Issues Addressed in Release: 2017.12 - Dev.SN ( https://dev.soylentnews.org )
[21:47:33] * Bytram is not sure what naming convention is used to identify rehash releases -- was best I could recall from memory
[21:49:26] <TheMightyBuzzard> neat, i broke audioguy
[21:49:46] <TheMightyBuzzard> year_month
[21:49:51] <TheMightyBuzzard> so 17_12
[21:50:08] <TheMightyBuzzard> well sometimes it's a . sometimes it's a _
[21:50:21] <Bytram> Wha? You *broke* audioguy? What did you do THAT for?
[21:50:57] <Bytram> so, we are relying on the fact that for the next few years, the YY is always greater than the MM to make it clear which is which.
[21:51:18] <Bytram> that made much more sense when I typed it than when I now read it.
[21:54:07] <TheMightyBuzzard> for the next 82 years? yes.
[21:54:53] <Bytram> doh!
[21:55:03] * TheMightyBuzzard chuckles
[21:55:38] <TheMightyBuzzard> feel free to start bugging me about it in 75 years so we don't let it get ahead of us
[21:56:26] <Bytram> glad I could give ya a laugh... really. I've really come to appreciate the wisdom in this saying I repeat many times a day "Life is too important to take myself seriously" as well as "I'm too old to act my age."
[21:56:39] <Bytram> *chuckles*
[21:56:46] <chromas> The're just ordered by magnitude, as jesus intended.
[21:56:52] <TheMightyBuzzard> damned skippy
[21:56:58] <Bytram> which reminds me... how much longer before our certs and DNS need updating?
[21:57:11] * TheMightyBuzzard shurgs about the certs
[21:57:20] <TheMightyBuzzard> dns don't need updating, just paid for.
[21:57:37] <Bytram> um, Yeah! *that*'s what I meant!
[21:57:41] <Bytram> for Soylentnews.org:
[21:57:42] <Bytram> Updated Date: 2017-01-10T01:05:42Z
[21:57:42] <Bytram> Creation Date: 2014-02-09T01:50:26Z
[21:57:42] <Bytram> Registry Expiry Date: 2018-02-09T01:50:26Z
[21:58:02] <TheMightyBuzzard> okay, febulary then
[21:58:20] <Bytram> and for sylnt.us:
[21:58:22] <Bytram> Updated Date: 2017-01-25T14:04:39Z
[21:58:22] <Bytram> Creation Date: 2014-02-11T20:01:26Z
[21:58:22] <Bytram> Registry Expiry Date: 2018-02-10T23:59:59Z
[21:59:11] <TheMightyBuzzard> we'll start bothering Deucalion or NCommander about it the first of febtober then
[21:59:36] * Bytram would be more comfortable with end of Jan
[21:59:44] <Bytram> can't hurt to renew early
[22:00:11] <Bytram> btw, looks like certs for both of them were last updated: 2017-11-10
[22:00:12] <TheMightyBuzzard> sure sure
[22:00:16] <Bytram> we get 90 days per?
[22:00:24] <TheMightyBuzzard> no, a year or two.
[22:00:47] <Bytram> not domains, certs. don't we use let's encrypt?
[22:01:02] <TheMightyBuzzard> not for soylentnews.org
[22:01:21] <TheMightyBuzzard> if we have a non-le cert for sylnt.us, we don't need/use it
[22:01:27] * Bytram does not understand this, then: https://crt.sh
[22:01:32] <TheMightyBuzzard> so we can quit paying for it
[22:01:54] <Bytram> oh, that's for *.soylentnews.org
[22:02:10] <TheMightyBuzzard> no, we don't have a wildcard cert
[22:03:07] <TheMightyBuzzard> when i said not for soylentnews.org i meant not for EXACTLY 'soylentnews.org'
[22:03:22] <TheMightyBuzzard> dev/mail/etc... all use le certs
[22:03:30] <Bytram> gotcha
[22:03:49] <Bytram> mon ami starting to sound all french on me with "le certs"
[22:04:12] <Bytram> ;)
[22:04:21] * Bytram goes off to break some things on dev
[22:04:51] * TheMightyBuzzard prefers mentos anyway
[22:05:02] <Bytram> ROFL!
[22:05:19] <Bytram> 'specially when you drop 'em in a large bottle of soda... amirite
[22:06:52] <TheMightyBuzzard> diet. less sticky.
[22:07:04] <Bytram> good point
[22:07:36] <Bytram> fyi, the "Electron • Still Testing" launch window opens in about 3.5 hours
[22:09:38] <TheMightyBuzzard> whatchoo talkin bout, willis?
[22:09:54] <Bytram> wwooooops! just noticed a couple more issues that are covered in #420
[22:10:24] <Bytram> nope, already had 'em covered. whew!
[22:10:59] <TheMightyBuzzard> should only be 5 in #\420
[22:11:10] <Bytram> yuppers
[22:11:57] <Bytram> saw 415 & 402 mentioned separately and panicked for a sec... until I saw they were repeated in top list: 410 281 309 413 402
[22:12:10] <TheMightyBuzzard> blarg. dev.twitter.com is a piece of flaming shit
[22:12:31] <Bytram> TheMightyBuzzard: s/dev.//
[22:12:47] <Bytram> ~time x
[22:13:04] <Bytram> .op
[22:13:04] -!- mode/#dev [+o Bytram] by Hera
[22:13:11] -!- exec [exec!~exec@crutchys.brothel] has joined #dev
[22:13:15] <Bytram> .deop
[22:13:15] -!- mode/#dev [-o Bytram] by Hera
[22:13:20] <Bytram> TheMightyBuzzard: s/dev.//
[22:13:39] <TheMightyBuzzard> Bytram, there's no limit on ed notes on stories on dev now. don't abuse it though. our db is on the same mysql-cluster instances that host prod's db
[22:14:14] <Bytram> so, if I bork dev, then prod gets it, too.
[22:14:42] <Bytram> whatcha change the definition to be? varchar(65536)??
[22:14:57] <TheMightyBuzzard> text
[22:15:23] <Bytram> oh, no size limit on that one? Zoinks!
[22:15:28] <TheMightyBuzzard> varchar counts towards the limit of data you can have in any individual row. text/blob don't.
[22:15:58] <Bytram> you are just a font of info today -- many thanks
[22:16:41] <TheMightyBuzzard> chromas, i will kill you in the face if you go breaking the db servers with your dev edity privs
[22:17:18] <Bytram> and we'll sic MrPlow on yas on IRC, too!
[22:18:10] * TheMightyBuzzard gives up on bender for a bit and wanders off to find caffeine and nicotine
[22:18:19] <Bytram> so, that said, what are you comfortable with as a max bound for me to use when testing the notes field? 4KB? 8KB?
[22:18:46] <Bytram> oh, and tho not much need, will also test some UTF-8 / Unicode stuff there, too.
[22:19:58] * Bytram just closed something like 30 tabs
[22:29:24] <TheMightyBuzzard> Bytram, not the bible or NYC phonebook. we don't need insanity tests vs. editors who should know better.
[22:29:56] <Bytram> understood... that's why I asked for an upper bound you are confortable wityh... is 8KB okay?
[22:30:17] <TheMightyBuzzard> if ya like. i doubt we'll ever use that much on an actual story though.
[22:30:43] <Bytram> besides, I don't have a copy of the NYC phone book 9tho i *do* have a couple/three translations of the bible i could try... ;)
[22:30:57] <TheMightyBuzzard> if we ever go above half a dozen paragraphs i'll be much surprised.
[22:31:04] <Bytram> ina pinch, could use it to paste in a copy of the story for backup purposes
[22:31:27] <TheMightyBuzzard> yeah, um, that's not a good idea. i don't know that we strip html out.
[22:31:37] <Bytram> Ho ho ho!
[22:32:07] <TheMightyBuzzard> we put trust in our editors to not Bytram things up.
[22:32:10] <Bytram> but... we don't post that anywhere... wait... uh... hmmm...... =) =)=)
[22:32:18] * TheMightyBuzzard glances meaningfully at chromas
[22:32:27] <Bytram> ROFL!
[22:36:27] <Bytram> break time... back in a few
[22:37:44] * TheMightyBuzzard looks for something to bang his head upon
[22:40:46] <Bytram> I gots an idea...
[22:41:03] <Bytram> set a limit= on the text entry field for editor comments
[22:41:56] <Bytram> would be needed in two places that I know of...
[22:42:00] <Bytram> (1) https://soylentnews.org
[22:42:02] <upstart> ^ 03SoylentNews Submissions
[22:42:03] <exec> └─ 13SoylentNews Submissions
[22:42:45] <chromas> I have additional privs?
[22:42:59] <Bytram> on dev
[22:43:19] <chromas> I was playing on dev.edit the other day. Couldn't figure out what the links under article were for since they didn't seem to work right
[22:43:21] <Bytram> (2) when editing a story, e.g.: https://soylentnews.org
[22:43:24] <upstart> ^ 03- SoylentNews User ( https://soylentnews.org )
[22:43:24] <exec> └─ 13- SoylentNews User
[22:43:26] <TheMightyBuzzard> you made the mistake of saying you wanted to 2nd or 3rd stuff
[22:43:41] <Bytram> TheMightyBuzzard: s/mistake/great suggestion/
[22:43:47] <Bytram> ~ssed on
[22:43:50] <Bytram> ~sed on
[22:43:51] <exec> sed enabled for 10#dev
[22:43:54] <Bytram> TheMightyBuzzard: s/mistake/great suggestion/
[22:43:55] <TheMightyBuzzard> ~lisp off
[22:43:57] <exec> <Bytram> <TheMightyBuzzard> you made the great suggestion of saying you wanted to 2nd or 3rd stuff
[22:44:00] <chromas> ssed == sexual sed
[22:44:01] <Bytram> ROFL
[22:44:11] <chromas> ~lithp on
[22:44:12] <Bytram> TheMightyBuzzard: you are in FINE form today! Much appreciate the wit!
[22:45:53] <Bytram> huh. looks like there is a maxlength="1023" on the story editing page
[22:45:56] <chromas> Oh, it's working on this puter. On the other, clicking the "[ Display Enabled ]" link under article would go to a blank/new article page
[22:46:26] <TheMightyBuzzard> oh, yeah, that should come out of the templates
[22:46:34] <Bytram> yuppers
[22:46:34] <TheMightyBuzzard> damnit
[22:46:42] <Bytram> got one more place to look ... story preview page
[22:46:59] * TheMightyBuzzard cannot code multiple things at once
[22:47:09] * chromas cracks the whip
[22:47:11] * Bytram loads story for preview
[22:47:16] <Bytram> s/story/submission
[22:49:48] <TheMightyBuzzard> um, there should be no limit set on those pages
[22:50:36] <Bytram> template: previewForm;submit;default
[22:50:50] <Bytram> maxlength="1023"
[22:51:15] <TheMightyBuzzard> where are you looking cause the source running on dev should not have that in it
[22:51:17] <Bytram> note: delete reason field DOES NOT have a maxlength field
[22:51:33] * TheMightyBuzzard just grep'd out every 1023 in the source and there isn't one in any template
[22:51:51] <Bytram> search for "maxlength"
[22:52:39] <TheMightyBuzzard> s'not there
[22:53:00] <Bytram> <label>Editors' Notes</label>
[22:53:00] <Bytram> <textarea class="fullbox" wrap="virtual" maxlength="1023" name="comment_[% subid | strip_attribute %]" cols="[% user.textarea_cols || constants.textarea_cols %]" rows="3">[% submission.comment | strip_textarea %]</textarea>
[22:53:15] <Bytram> (that's from looking at the template on prod)
[22:53:24] <TheMightyBuzzard> Bytram, are you on dev?
[22:53:31] <Bytram> going there now
[22:53:35] <TheMightyBuzzard> #smake Bytram
[22:53:35] * MrPlow smakes Bytram upside the head with the Oxford Dictionary
[22:53:48] <TheMightyBuzzard> the code is not live on prod. of course the size removal isn't there.
[22:55:43] <TheMightyBuzzard> debug the right server, you =P
[22:55:44] <Bytram> oh, you *removed* the limit and left it entirely open-ended?
[22:55:46] <Bytram> <TheMightyBuzzard> s'not there
[22:55:48] <Bytram> oops
[22:55:59] <Bytram> here is corresponding code on dev:
[22:55:59] <Bytram> <label>Editors' Notes</label>
[22:55:59] <Bytram> <textarea class="fullbox" wrap="virtual" name="notes" cols="[% user.textarea_cols || constants.textarea_cols %]" rows="3">[% submission.comment | strip_textarea %]</textarea>
[22:56:45] <TheMightyBuzzard> you had me all ready to fix something i already fixed
[22:57:13] <TheMightyBuzzard> you know what? to hell with bender and to hell with twitter.
[22:57:15] * Bytram thought you just changed datatype in DB... didn't realized you also changed the template
[22:57:41] <Bytram> bender is all kinds of wierdness according to Deucalion
[22:58:42] <chromas> Should I "sign off" on the soylentnews' issues on dev?
[22:58:49] <Bytram> okay, time for me to get down to business with testing... gonna beat on min karma for Most Recent Journal Entries slashbox
[22:59:45] <TheMightyBuzzard> A) python can suck a dick B) twitter can suck a dick
[22:59:55] <TheMightyBuzzard> chromas, only if yer gonna fix em
[23:00:21] <chromas> I just noticed it says "no signoff" and figured I should get the XP, but didn't wanna interrupt/break anything
[23:01:25] <TheMightyBuzzard> oh we don't monkey with all that noise. we post the issue, fix the issue, forget about the issue, and close the issue next time we're sifting through issues and notice this got done a long time ago.
[23:01:54] <TheMightyBuzzard> all the talking gets done either here or in the souper-secret channel
[23:02:07] * chromas edits 'n' signs off
[23:02:47] <TheMightyBuzzard> Bytram, look up the variable name first
[23:02:59] <TheMightyBuzzard> starts with journal. should be easy to find
[23:03:51] <Bytram> k
[23:04:03] <TheMightyBuzzard> the bells n whistles of github don't get used around here. the code review i requested from NC yesterday was the first time we ever used that feature.
[23:04:14] <Bytram> kewel beans
[23:04:50] * Bytram needs to get karma amounts for his test accts on dev
[23:06:39] <TheMightyBuzzard> huh, that's odd. nowhere in bender's code are the twitter CONSUMER_KEY or CONSUMER_SECRET ever used
[23:07:03] <Bytram> may be misspelled?
[23:07:20] <TheMightyBuzzard> Bytram, update users_info set karma = whatever where uid = your_uid;
[23:07:41] <Bytram> thas... cheating!!!
[23:07:45] <chromas> Maybe Bender's using an older api that didn't use those, but isn't supported no mo'
[23:08:08] <Bytram> but, I already gots some values there... might as well use 'em, but I gots to know what they are ahead of time, and need the UIDs, too
[23:23:11] <Bytram> dev_user_0000 ... dev_user_0009 all have karma == 0
[23:25:18] <TheMightyBuzzard> chromas, very likely. i'm not updating him though
[23:25:46] <chromas> Now you gotta add twitter to MrPlow
[23:25:55] <Bytram> #smake chromas
[23:25:55] * MrPlow smakes chromas upside the head with a bag of LEDs
[23:26:10] <Bytram> pre-emptive before TMB gets to ya
[23:26:13] <Bytram> ;)
[23:26:22] <chromas> Is there enough 'engagement' on the account to make it worth the effort?
[23:26:27] <chromas> Also, is the fb page official?
[23:26:54] <TheMightyBuzzard> mrplow used to have twitter when he was perl
[23:26:57] * TheMightyBuzzard shurgs
[23:27:02] * Bytram never used FB, but as far as I can recall, yes, we had an official FB page *way* back when
[23:27:15] <TheMightyBuzzard> little over 200 people follow us on twitter
[23:27:33] <Bytram> FB page was prolly set up about the same time as the twitter feed
[23:27:45] <chromas> We can just say we're protesting Twitter because of it's stance on free speech
[23:27:51] <TheMightyBuzzard> okay, it's not just the soylentnews account. bender can't post to twitter at all.
[23:28:13] <chromas> Are you trying to make him post as tmb?
[23:28:28] * Bytram wonders if there was some "confirmation" we needed to reply to in order to keep the acct active?
[23:28:37] <TheMightyBuzzard> tried, yeah
[23:28:41] <Bytram> twitter had been under a lot of pressure to clean up bots
[23:28:57] <TheMightyBuzzard> no, it's just failing on oauth
[23:29:06] <Bytram> curses!
[23:29:33] <TheMightyBuzzard> nah, no need for a gui
[23:29:41] <Bytram> ROFLMAO!
[23:29:45] <Bytram> good one!
[23:42:05] <Bytram> aha! So THAT is where I put my comment generation tests: %HOME%\My Documents\SoylentNews\SN_api\
[23:49:47] * Bytram heads over to channel #qa