#dev | Logs for 2018-02-03

« return
[13:30:35] <Bytram> now that I have managed to login as martyb on all 3 SN sites (prod, dev, staff), and exported cookies for automation, am about to do the same for Bytram
[13:31:43] <TheMightyBuzzard> Bytram, do NOT automate posting to prod. we don't need the help filling the db up with comments.
[13:32:24] <Bytram> I need to find out what things are currently not caught so I can verify that we DO catch them, now
[13:33:18] <TheMightyBuzzard> find out on staff then. prod is not for testing except by our wiseass community.
[13:33:20] <Bytram> we're talking, at the very most 500 comments, and I assume about 400 of 'em would not make it through the filters
[13:33:41] <Bytram> okay...
[13:33:55] <Bytram> hmmm
[13:33:57] * Bytram perks up
[13:34:50] <TheMightyBuzzard> but you really don't need to find out what don't get through on prod. as long as what's not supposed to get through on dev don't get through on dev and what is supposed to does, we're good.
[13:36:05] <Bytram> yeah, well what is/isn't supposed to ain't so well spelled out... and I suspect there are cases we are not aware of, so I was gonna go find out.
[13:37:01] <TheMightyBuzzard> what isn't "wiseasses posting whitespace as a subject or comment". what is, everything else.
[13:37:14] <TheMightyBuzzard> as far as this fix is concerned anyway.
[13:37:43] <Bytram> so, how many non-whitespace chars are *required* -- is a single period okay?
[13:38:02] <TheMightyBuzzard> dunno.
[13:38:11] <Bytram> point made?
[13:38:52] <TheMightyBuzzard> nah. not really concerned with it. as long as the fix doesn't break legit posting it's going live tonight.
[13:39:04] <Bytram> and, I'll be the first to admit I'm being pedantic... just trying to make sure I fully understand the problem space... I'm a "get the details and figure out the pattern" kind of guy
[13:39:44] <TheMightyBuzzard> breaking legit posting is far, far more concerning to me at this point than 100% chromas-proofing it.
[13:40:12] <TheMightyBuzzard> now tomorrow, that's another story and another release cycle.
[13:40:22] <Bytram> so... lessee... how many non-whitespace chars are there in Unicode? ;)
[13:40:28] <Bytram> j/k
[13:40:41] <TheMightyBuzzard> all of them, of course
[13:40:47] <Bytram> ROFL!
[13:41:15] <TheMightyBuzzard> man, i kinda wanna get us fully utf8-happy in the db.
[13:41:52] <TheMightyBuzzard> think i may make a backup of dev's db and try that several different ways tomorrow morning.
[13:42:04] <Bytram> you mean 3- and 4-octet cahrs?
[13:42:15] <Bytram> *chars
[13:42:20] <TheMightyBuzzard> full-range, yes.
[13:42:27] <Bytram> hold on a sec
[13:42:30] <TheMightyBuzzard> every character stored as 4-byte
[13:42:45] <Bytram> 1-octet: @ABCDEFGHIJKLMNO
[13:42:45] <Bytram> 2-octet: ŀŁłŃńŅņŇňʼnŊŋŌōŎŏ
[13:42:45] <Bytram> 3-octet:ࠀࠁࠂࠃࠄࠅࠆࠇࠈࠉࠊࠋࠌࠍࠎࠏ
[13:42:45] <Bytram> 4-octet: 𐀀𐀁𐀂𐀃𐀄𐀅𐀆𐀇𐀈𐀉𐀊𐀋𐀌𐀍𐀎𐀏
[13:42:58] <TheMightyBuzzard> or octet or whatever
[13:43:01] <Bytram> that is what I have in my "User Space" slashbox
[13:44:16] <TheMightyBuzzard> it's just a matter of converting the db from "utf8" to "utf8mb4" and removing some kludge code from rehash to deal with characters > 65535
[13:44:19] <Bytram> they all look fine, here... but on prod, I see 'boxes' for 3-octet, and 4-octet look okay except for one: U+01000c
[13:45:14] * Bytram remembers how convoluted and exhausting UTF-8 testing was the first time around...
[13:45:35] * Bytram is not really excited about going through that again... but
[13:45:52] * Bytram would provide a chance to get everything all pulled together for testing in one place
[13:45:54] <TheMightyBuzzard> thankfully, the fixing of it is far easier than the testing of it.
[13:46:11] <Bytram> can't think about THAT now... got enough on my plate with this psaces thing
[13:46:33] * TheMightyBuzzard cracks his whip
[13:47:02] <Bytram> so, the old "developer: fixed, not tested", "tester: tested, not fixed." dance, eh?
[13:47:28] <TheMightyBuzzard> naw. it'll be fixed the first time. unless you break it.
[13:47:35] <TheMightyBuzzard> ~blame
[13:47:57] <Bytram> I break nothing... I just reveal where others have broken things! =)
[13:47:58] <TheMightyBuzzard> .op
[13:47:58] -!- mode/#dev [+o TheMightyBuzzard] by Hera
[13:48:00] -!- exec [exec!~exec@crutchys.brothel] has joined #dev
[13:48:03] <TheMightyBuzzard> .op
[13:48:03] -!- mode/#dev [+o TheMightyBuzzard] by Hera
[13:48:09] <TheMightyBuzzard> .deop
[13:48:09] -!- mode/#dev [-o TheMightyBuzzard] by Hera
[13:48:11] <TheMightyBuzzard> .deop
[13:48:11] -!- mode/#dev [-o TheMightyBuzzard] by Hera
[13:48:28] <Bytram> #g TheMightyBuzzard
[13:48:28] <MrPlow> https://www.instagram.com - "248 Followers, 285 Following, 585 Posts - See Instagram photos and videos from Byron Vincent (@themightybuzzard)"
[13:48:30] <upstart> ^ 03Byron Vincent (@themightybuzzard) • Instagram photos and videos
[13:48:30] <TheMightyBuzzard> .deplane! .deplane!
[13:48:45] <TheMightyBuzzard> nick thief
[13:48:52] * Bytram chuckles
[13:49:29] <TheMightyBuzzard> hrm...
[13:50:02] <Bytram> how up-to-date IS staff atm? does it have the same filters in place as dev & prod?
[13:50:14] <Bytram> same slash/rehash code?
[13:50:14] <TheMightyBuzzard> should be current with prod.
[13:50:22] <TheMightyBuzzard> not filter-wise though
[13:50:25] <Bytram> oh, yeah. prod. my bad.
[13:51:02] <Bytram> and I don't have privs on staff to set 'em up... and I can't get to the db to give myself privs... here we go again!
[13:51:02] <TheMightyBuzzard> dunno that it has any filters at all. why would it need them?
[13:51:11] <TheMightyBuzzard> sigh
[13:51:33] <Bytram> to be as similar as the system-under-test so there are no false negatives and no false positives?
[13:51:56] * Bytram steps back for a few minutes to ponder and plan testing stratgey
[13:53:19] <TheMightyBuzzard> there. took two minutes.
[13:53:38] <Bytram> moo chose grassy ass
[13:53:48] <Bytram> TheMightyBuzzard++
[13:53:48] <Bender> karma - themightybuzzard: 14
[13:55:24] <TheMightyBuzzard> you overcomplicate things. 1) go read the root mysql password from master_password 2) mysql -u root -p on boron 3) update users set seclev = 10000 where uid = 11 4) coffee++
[13:55:48] * Bytram decides to do #4
[13:56:54] <Bytram> Is just that I only have so much brain power to keep track of all the permutations to be tested, and that has my brain pretty-well stuffed full. may be easy peasy, but is on top of too much stuff to start with.
[13:57:16] <TheMightyBuzzard> nod nod
[13:57:30] <Bytram> subscription granted to sel fon staff
[13:57:34] <TheMightyBuzzard> har
[13:57:51] <Bytram> okay... really need to step away from kbd for a few minutes... laundry calls, too.
[13:57:53] <Bytram> biab
[13:58:14] <TheMightyBuzzard> you're not going to be able to get full coverage testing done btw. it's just unpossible to test every possible subject/comment.
[13:58:25] <TheMightyBuzzard> smoke break
[13:58:25] <TheMightyBuzzard> nicotine++
[13:58:25] <Bender> karma - nicotine: 7
[17:21:50] Bytram is now known as Bytram|fite
[17:22:36] Bytram|fite is now known as Bytram
[22:21:12] <paulej72> hello all
[22:23:30] <TheMightyBuzzard> afternoon, yo
[22:23:46] <paulej72> how are things tmb
[22:24:16] <TheMightyBuzzard> oh, peachy keen. plannin on rollin the minor site update out tonight once i start getting tired.
[22:24:40] <paulej72> sounds like a good plan
[22:25:15] <TheMightyBuzzard> has like half a dozen minor but annoying issues fixed in it and a Twitter plugin
[22:25:54] <TheMightyBuzzard> well it will have a twitter plugin after i merge it here in a bit. it's up for pr if you're bored and wanna give it a look over for casual stupid.
[22:28:14] <paulej72> ok i'll take a look
[22:30:20] <TheMightyBuzzard> i'm gonna be in and out till this evening. got company over. i'll be "in" enough to make it worth back and forth if you're not in a hurry for a reply though.
[22:49:42] <Bytram> TheMightyBuzzard: I have a trivially easy way to avoid the problem reported with issue #402, and it is already in the title bar in the message I receive... put quotes around the subject! For both the original comment being replied to and the subject of the reply... that way, even if we do miss something, there will be at least *something* for the user to click on .
[22:50:47] <TheMightyBuzzard> Bytram, your idea does intrigue me. i'll roll that in before deploying.
[22:52:19] <Bytram> many thanks!
[22:52:36] <Bytram> be aware that there are TWO different templates for displaying "web" messages.
[22:52:55] <Bytram> and, there are also the e-mail messages that get sent. /me has not tried those, yet.
[22:54:05] * Bytram jus thasn't had much 'oomph' to beat on it today... got some scaffolding issues straightened out, but still not really fully alert today... has been a long stretch and it has been catching up with me.
[22:57:07] <paulej72> why don't i remember doing 17_05 deploy.
[23:07:49] <TheMightyBuzzard> paulej72, same reason i don't. we've slept since then.
[23:08:25] <paulej72> no I thought the last code I wrote never got pushed to prod.
[23:08:34] * TheMightyBuzzard shurgs
[23:09:31] <TheMightyBuzzard> i may have done the deploy. i remember doing one all by my lonesome since you wasn't around and NC said go ahead.
[23:09:40] <TheMightyBuzzard> don't remember which it was though.
[23:10:18] * paulej72 shurgs
[23:10:29] <TheMightyBuzzard> we're old
[23:10:39] <paulej72> tru dat
[23:11:10] <TheMightyBuzzard> aight, gonna go be sociable with company. wander back through in a bit.
[23:12:08] <paulej72> have fun
[23:42:09] <chromas> Being social? Like socialism?
[23:46:31] <paulej72> like social studies
[23:50:16] <TheMightyBuzzard> more like social diseases
[23:50:26] <paulej72> lol
[23:51:36] <TheMightyBuzzard> oh, i know what i can do till the roomie gets back next week. i can update dev and magnesium.
[23:53:33] * TheMightyBuzzard goes ahead and installs Net::Twitter before the update to save time
[23:54:01] <paulej72> is there a Net::Facebook?
[23:54:39] <TheMightyBuzzard> dunno. not even sure how we publish to fb.
[23:55:03] <paulej72> bender
[23:55:12] <TheMightyBuzzard> nope
[23:55:21] <TheMightyBuzzard> nothing about fb in him that i can find.
[23:55:31] <paulej72> majic
[23:55:49] * TheMightyBuzzard blames the french
[23:56:01] <paulej72> no blame Bytram
[23:56:23] <TheMightyBuzzard> good idea
[23:56:25] <TheMightyBuzzard> ~blame
[23:56:26] * exec points at Bytram
[23:57:38] <TheMightyBuzzard> no, there's not a Net::Facebook. there's a Net::Facebook::OAuth2 though.
[23:58:04] <chromas> Anything about Facebook Graph?
[23:58:42] <TheMightyBuzzard> screw graphs. pie charts ftw. they have pie in the name.
[23:59:00] <chromas> pie++
[23:59:00] <Bender> karma - pie: 1
[23:59:04] <TheMightyBuzzard> pie++
[23:59:04] <Bender> karma - pie: 2
[23:59:05] <chromas> but that's the name of their api now
[23:59:07] <paulej72> cakes and pie
[23:59:47] <TheMightyBuzzard> hrm... i need to come up with a bunch of good branch names for the spring update.