#dev | Logs for 2017-03-20
« return
[00:45:13] <Bytram> ~blame
[00:45:33] <Bytram> .op
[00:45:33] -!- mode/#dev [+o Bytram] by Hera
[00:46:18] -!- exec [exec!~exec@crutchys.brothel] has joined #dev
[00:46:28] <Bytram> ahhh, THERE you are!
[00:46:30] <Bytram> ~blame
[00:46:31] * exec points at Bytram
[00:46:34] <Bytram> =)
[00:46:38] <Bytram> .deop
[00:46:38] -!- mode/#dev [-o Bytram] by Hera
[00:48:58] <paulej72> hiya Bytram
[00:49:04] <Bytram> paulej72: !!
[00:49:09] <Bytram> you
[00:49:24] <Bytram> you've been doing a crazy amount of coding lately!
[00:49:50] <paulej72> well only one of us has the magic fingers at any one moment
[00:49:52] * Bytram just got home and poked my head in to see where things are
[00:50:12] <Bytram> wel, I'm keeping *mine* -- very much attached to 'em, ya see?
[00:50:44] <paulej72> only 57 commits in my latest pull :)
[00:51:14] <Bytram> Is that all? Slacker!
[00:52:25] <paulej72> By the way I have reestablished sql backups of soylentnews and soylentdev dbs. running on lithium from roots crontab in /root/db_dumps
[00:52:43] <Bytram> I saw in the backscroll we have existing <spoiler> in the DB, so you need to keep the old css to render 'em... I wonder just how many times it's been used already? ( I doubt more than a couple dozen times.)
[00:53:29] <paulej72> yeah probably but there are a bunch in the spoiler go live story
[00:53:30] <Bytram> if it is only a few places, I *might* be convinced to just ignore it, depending on how badly it renders.
[00:53:41] <Bytram> so, just fix the story, then?
[00:54:00] <Bytram> all depends on how badly the get "non-supported" with the change
[00:54:23] <Bytram> by the way, one thing that drove me with the spoilers was the change in size when I hovered/clicked/whatever.
[00:54:35] <Bytram> is there any way to pre-expand them to their final size?
[00:54:58] <paulej72> yeah, but that is notmally not how other sites do spoilers
[00:55:05] <Bytram> it's especially problematic when they appear at the bottom of the computer screen
[00:55:12] <Bytram> F 'em.
[00:55:14] <Bytram> ;)
[00:55:29] <Bytram> We are better than them, right? =)
[00:55:35] <paulej72> this version has no hover jsut click
[00:55:49] <Bytram> I think that's better
[01:03:12] <TheMightyBuzzard> paulej72, erm.. still has hover
[01:03:15] <paulej72> Bytram: old spoilers will degrade to basiclaly a paragraph with no styling.
[01:03:41] <paulej72> TheMightyBuzzard: new ones don't
[01:03:43] <TheMightyBuzzard> and click does nothing
[01:04:00] <TheMightyBuzzard> comments in the top story?
[01:04:08] <paulej72> ah fuck
[01:04:14] <Bytram> *offhand*, that sounds fine to me. After a few months, it will be so rare to come upon 'em, I'm willing to ignore it.
[01:04:24] * Bytram would still have to see it in action to say for sure
[01:04:24] <paulej72> someting when wrong with th latest fix
[01:04:49] <TheMightyBuzzard> oh good, not just me then.
[01:05:06] <paulej72> oh I know I chnge the name of the class but the db did not get it
[01:05:25] * TheMightyBuzzard channels Bytram
[01:05:40] <Bytram> Ommmmmmmm
[01:05:54] <paulej72> I am goinf to pull the old css as we can let the old ones degrade
[01:05:58] <Bytram> TheMightyBuzzard: what's up?
[01:06:25] <Bytram> !woop
[01:06:25] <Bender> woop woop woop (\/) (;,,;) (\/)
[01:06:41] <Bytram> a prototype I just wrote works... now to clean that up
[01:07:44] <TheMightyBuzzard> Bytram, i just found a bug and made paulej72 grumble
[01:07:58] <Bytram> well done, my padawan!
[01:09:12] <Bytram> heh, now THAT is a testing scenario I doubt I would ever have thought of, beforehand:
[01:09:13] <Bytram> https://www.theregister.co.uk
[01:09:14] <aqu4> ^ "3A router with a fear of heights? Yup. It's a thing • The Register "
[01:13:11] <paulej72> https://dev.soylentnews.org
[01:13:13] <aqu4> ^ "3Dev.SN Comments | 'Chameleon' Vine Discovered in Chile"
[01:13:22] <paulej72> working again
[01:13:30] <Bytram> clicky
[01:15:31] <Bytram> that seems to work well
[01:16:47] <TheMightyBuzzard> paulej72, they'll still bitch about it changing the div size but then there is no one single perfect way to do spoilers for us and it works for me.
[01:18:15] <paulej72> Well if your spoiler is a paragraph you don't want to reserve the space for it.
[01:18:44] <Bytram> umm, why not?
[01:19:16] <paulej72> people will bitthc that there is 3/4 of a page of nothing., WTF
[01:20:03] <paulej72> if you need spoilers for a book/movie review you may need a lot of space for them
[01:20:07] <Bytram> [x] Pre-expand size of spoiler text
[01:20:20] <Bytram> new user pref? Or is that getting to wacky?
[01:20:29] <paulej72> yes wacky
[01:20:33] <Bytram> s/o /oo /
[01:20:33] <TheMightyBuzzard> people will bitch regardless is my point. we had arguments between respondents about the best method during initial release.
[01:20:57] <paulej72> but the hover method was universally hated
[01:21:05] <TheMightyBuzzard> many had good points that were both valid and contradictory
[01:21:25] <paulej72> and hover does not work on touch devices
[01:21:31] <Bytram> heh heh heh
[01:21:42] <Bytram> change the para from RTL to LTR?
[01:21:44] <TheMightyBuzzard> yarp. that's the only reason i saw an actual need to change it.
[01:21:57] <paulej72> me too
[01:22:24] * TheMightyBuzzard changes Bytram's underwear from RTL to LTR
[01:22:46] <Bytram> thanks, my knickers WERE getting in a twist
[01:23:14] <paulej72> wonder if they will complain about the yelling *SPOILER*
[01:23:31] <TheMightyBuzzard> ye flipping gods. i need to get away from the computer. that gumbo i made today is making the room quite fragrant a few hours after eating it.
[01:24:05] <paulej72> are you afraid the computer will explode from the fumes or something
[01:24:36] <TheMightyBuzzard> not sure which will dissolve first, my eyeballs or the solder joints
[01:26:36] <TheMightyBuzzard> damn, just checked before i run off to share the wealth with the roomie's kids. not going to be able to code tomorrow morning. fishing weather is too nice and i ain't been in weeks.
[01:30:30] <Bytram> yanno, the LTR / RTL thingy works better than i thought!
[01:30:34] <Bytram> <p>This text will go left to right.</p>
[01:30:35] <Bytram> <p><bdo dir="rtl">This text will go right to left.</bdo></p>
[01:30:58] <Bytram> see: https://css-tricks.com
[01:31:00] <aqu4> ^ "3direction | CSS-Tricks"
[01:34:32] <paulej72> everyone hide charon is here
[01:34:58] <charon> too late, i see you paulej72
[01:35:04] <Bytram> charon: !!
[01:35:15] <charon> hiyo folks
[01:38:05] <Bytram> charon: how's things?
[01:38:39] <charon> not so bad, but i'm exhausted from work
[01:39:01] <paulej72> shit spoilers are getting fiucked up in the story editor
[01:39:32] <charon> today was the day we took down the summer machines from winter storage. and i had to wrestle them around outside so they could be chained up
[01:39:59] <Bytram> must look really nice against the snowbank back drop, eh?
[01:41:03] <charon> heh, that's why we didn't take them down last weekend like my boss wanted to
[01:41:49] <Bytram> =)
[01:42:46] <charon> then after work there was a mandatory all-store meeting
[01:42:53] <paulej72> Going to need to figure this out differently
[01:42:57] <charon> but at least they had food
[01:43:39] <paulej72> need to basically do the spoiler change during display not during save
[01:44:53] <Bytram> Food? Oh, yeah. I should prolly make lunch! brb
[01:45:38] <charon> damn, you sure did nuke the sub queue
[01:45:57] <paulej72> yeah I did
[01:46:08] <charon> i thought you meant on prod at first
[01:46:26] <paulej72> boy woold that have been bad
[01:47:02] <charon> not so nbad. most of it is gewg stuff that no one wants to push
[01:47:38] <paulej72> dev is dev for a reason
[01:48:03] <charon> it's like you guys have some kind of plan
[01:48:33] <paulej72> thoes 99 stories were a pain anyway
[01:48:45] <paulej72> cloged up the queue
[01:48:47] <charon> but a bitch aint one
[01:51:19] <charon> Bug report: spoliers can only be nested 3 deep
[01:51:51] <Bytram> charon++ way to go!
[01:51:51] <Bender> karma - charon: 1
[01:52:05] <paulej72> charon: on dev?
[01:52:08] <charon> yes
[01:52:47] <paulej72> well they will be redone, so my new method may fix that
[01:53:18] <paulej72> current method only works in comments not story editor
[01:53:30] <charon> oh, i was in the editor
[01:54:15] <paulej72> yeah they get toasted on the way through the html parser more than once
[01:54:22] <Bytram> *should* not be different, but also check out journal articles, and journal comments
[01:54:38] <charon> that sorta makes sense. what comes out is a bit spaghettified
[01:54:48] <paulej72> I would expect they are broken there too
[01:54:52] * Bytram prefers rigatoni
[01:57:35] <charon> also, why are you using <label> all over? i thought <span> would be a better tag for an inline interactable element
[01:58:22] <paulej72> changing the state of a checkbox with a lable is how we toggle the state
[01:58:24] <charon> oh i see, it has built in clickability
[01:58:31] <charon> i was not aware
[01:59:35] <charon> i get it all now. i shan't question your choices again
[02:00:35] <charon> /msg Bytram jeez, is paulej72 nuts?
[02:00:40] <Bytram> charon: I had the same question back in the beginning... now that you know, you can find more interesting bugs!
[02:00:51] <Bytram> pistachio
[02:01:15] <charon> indubitably
[02:01:19] <paulej72> ok I am done for the night
[02:01:39] <paulej72> I will see you tomorrow
[02:01:46] <charon> thank you for all the hard work you've put in
[02:01:51] <charon> ~gnight paulej72
[02:01:52] * exec whole-heartedly sodomizes a volley of shell scripts with paulej72
[02:01:55] <Bytram> paulej72: many thanks for your hard work!
[02:02:02] <Bytram> ~gnight paulej72
[02:02:03] * exec insatiably tosses a coffee++ mug of whoopass to paulej72
[02:02:11] <paulej72> you're welcome
[02:09:13] <Bytram> TheMightyBuzzard: paulej72: okay, I don't know what changed, but I just reloaded a page and now it collapsed things correctly!?!! https://dev.soylentnews.org
[02:09:15] <aqu4> ^ "320170227b - Buzz's Barnyard - Dev.SN"
[08:09:18] <Bytram> Doh!
[09:35:53] <Bytram> Figured out what I did wrong with my moderation automation... left out a parameter: &op=moderate
[09:37:13] <Bytram> also, copied my privs from martyb to my alter ego on dev: bytram so I can do automation with that nick, and use the site as I had been doing, as martyb
[09:38:00] <Bytram> also, extended subscriptions for both nicks on dev so i don't need to wait between posting comments
[09:41:17] <Bytram> did a quick test...
[09:43:16] <Bytram> from the command line, posted 3 comments to Buzz's Barnyard (cids: 31302, 31303, 31304), and moderated each of them
[09:43:18] <Bytram> !woop
[09:43:18] <Bender> woop woop woop (\/) (;,,;) (\/)
[09:43:50] <Bytram> and with that, I can now go back to bed and rest in peace (literally speaking, that is!)
[15:18:05] <Bytram> one thing I forgot to do: Enable "Author in all Sections" for Bytram... just did that now and got a message:
[15:18:05] <Bytram> Since you changed the author status of this user, you will probably want to rebuild the authors cache at your earliest convenience. To do so, run this at the command line: /srv/dev.soylentnews.org/rehash/bin/runtask -u slash refresh_authors_cache and then restart your webserver.
[15:18:28] <Bytram> Don't have time atm, would someone please do this for me?
[15:18:37] <Bytram> Many, many thanks!
[15:20:21] <Bytram> ( /me is not sure which server to run that on, and don't want to take chances on "restart your webserver" )
[15:20:35] <Bytram> afk -- time to get ready for work
[15:38:03] <TheMightyBuzzard> Bytram, done
[22:44:39] <paulej72> TheMightyBuzzard Bytram, I am recoding the slash specific tags inot there own filter that can be applied after they come out of the db so they can be rendered as needed
[22:46:22] <TheMightyBuzzard> good luck to yas with that
[22:47:17] <paulej72> first deploy did not blow up so that is good
[22:49:17] * TheMightyBuzzard chuckles
[22:50:55] <paulej72> comment text is working
[22:52:59] <TheMightyBuzzard> oh, while yer in there... get rid of <quote> and have it sed it to a <blockquote>
[22:58:23] <paulej72> OK
[22:59:20] <TheMightyBuzzard> out for the evening. gotta cook foods n ride herd on kids.
[23:01:12] <paulej72> have fun, keep some ethanol available as some lubercant
[23:08:41] <chromas> Do kids need lube though?
[23:09:53] <paulej72> no but TMB might
[23:22:02] <paulej72> TheMightyBuzzard: looks like quote will need some work as it get mangel all over the palce i the code