#dev | Logs for 2015-01-17

« return
[01:07:25] -!- Bytram|away [Bytram|away!~pc@Soylent/Staff/Developer/martyb] has joined #dev
[01:07:25] -!- mode/#dev [+v Bytram|away] by SkyNet
[01:08:13] Bytram|away is now known as Bytram
[02:28:38] <Bytram> dev server was just rebooted. starting some tests
[02:28:52] <Bytram> creating a new story submission.
[02:29:01] <Bytram> Title: dev server just rebooted; trying new elements
[02:29:05] <Bytram> Top: Slash
[02:29:10] <Bytram> The Scoop:
[02:29:17] <Bytram> <p>Plain Old Text:
[02:29:18] <Bytram> <p>New strike element: BEFORE[strike]stricken[/strike]AFTER
[02:29:18] <Bytram> <p>New strike element: BEFORE<strike>stricken</strike>AFTER
[02:29:18] <Bytram> <p>Same, but with DEL instead of strike:
[02:29:18] <Bytram> <p>BEFORE[del]del[/del]AFTER
[02:29:18] <Bytram> <p>BEFORE<del>del</del>
[02:29:36] <Bytram> clicked "PreviewStory" pushbutton
[02:30:18] <Bytram> previewed story displayed as follows:
[02:30:21] <Bytram> Plain Old Text:
[02:30:21] <Bytram> New strike element: BEFORE[strike]stricken[/strike]AFTER
[02:30:21] <Bytram> New strike element: BEFOREstrickenAFTER
[02:30:21] <Bytram> Same, but with DEL instead of strike:
[02:30:21] <Bytram> BEFORE[del]del[/del]AFTER
[02:30:22] <Bytram> BEFOREdel
[02:30:28] <chromas> unbalanced <p> tags :O
[02:30:29] <Bytram> === end of display
[02:30:47] <paulej72> aaaaaaaaaaaaaaa
[02:31:33] <Bytram> contents of The Scoop text entry field are unchanged.
[02:33:05] <Bytram> The "stricken" text between the <strike> and </strike> elements displayed as struck-through
[02:33:25] <Bytram> text between "<del>" and "</del>" was NOT struck through.
[02:33:29] <Bytram> BUG.
[02:34:02] <TheMightyBuzzard> not a bug, del wasn't approved.
[02:34:20] <Bytram> Also, the <del> and </del> tags, through still present within the "The SCoop" text entry field, appear to be missing from the preview area.
[02:34:54] <Bytram> here is the view source of the previewed text:
[02:34:55] <Bytram> <p class="byline">"martyb" writes:</p> <p>Plain Old Text:<br><br>New strike element: BEFORE[strike]stricken[/strike]AFTER<br><br>New strike element: BEFORE<strike>stricken</strike>AFTER<br><br>Same, but with DEL instead of strike:<br><br>BEFORE[del]del[/del]AFTER<br><br>BEFOREdel</p>
[02:34:58] <Bytram> TheMightyBuzzard: ok
[02:34:59] <TheMightyBuzzard> working as spected. unapproved tags are stripped.
[02:35:22] <Bytram> clicked on SUbmit pushbutton
[02:35:39] <Bytram> story is now in the submission queue... opening it now
[02:36:15] <Bytram> preview looks same as it was in the original story submission preview.
[02:36:51] * Bytram clicks on the "preview" button
[02:37:29] <Bytram> stricken text is no longer struck through.
[02:37:54] <Bytram> submission is here:
[02:37:56] <Bytram> http://dev.soylentnews.org
[02:40:33] <Bytram> text in the "Intro Copy" text entry field (before preview) was:
[02:40:38] <Bytram> <p class="byline"><a href="//dev.soylentnews.org/~martyb/">martyb</a> writes:</p> <p>Plain Old Text:<br><br>New strike element: BEFORE[strike]stricken[/strike]AFTER<br><br>New strike element: BEFORE<strike>stricken</strike>AFTER<br><br>Same, but with DEL instead of strike:<br><br>BEFORE[del]del[/del]AFTER<br><br>BEFOREdel</p>
[02:41:13] <Bytram> CLicked "preview"
[02:41:21] <Bytram> now Intro Copy contains:
[02:41:27] <Bytram> <p class="byline"> <a href="//dev.soylentnews.org/~martyb/">martyb</a> writes:</p><p>Plain Old Text:<br> <br>New strike element: BEFORE[strike]stricken[/strike]AFTER<br> <br>New strike element: BEFOREstrickenAFTER<br> <br>Same, but with DEL instead of strike:<br> <br>BEFORE[del]del[/del]AFTER<br> <br>BEFOREdel</p>
[02:41:53] <Bytram> bug. strike elements seem to have been deleted.
[02:42:42] <Bytram> Story preview area shows the "stricken" text to be NOT struck out.
[02:43:07] <TheMightyBuzzard> hrm... shows stricken to me
[02:44:08] <Bytram> on FIRST viewing of story in queue, yes. But, after I clicked on "Preview", the <strike> and </strike> elements were deleted
[02:44:59] <Bytram> TheMightyBuzzard: look here: http://dev.soylentnews.org
[02:45:03] <TheMightyBuzzard> hrm, yeah gotcha
[02:45:17] <Bytram> great!
[02:45:18] <TheMightyBuzzard> editorial preview
[02:45:38] <TheMightyBuzzard> so something in admin.pl rather than submit.pl
[02:45:40] <Bytram> I'll try and remember
[02:46:06] <Bytram> nod nod
[02:46:35] <Bytram> btw, I'm working from: http://soylentnews.org
[02:47:20] <Bytram> submitting new story with named character entities (NCEs) in the title
[02:48:14] <Bytram> title: NCEs as literals: < > & ' "
[02:48:22] <Bytram> topic: slash
[02:48:32] <Bytram> The scoop:
[02:48:33] <Bytram> NCEs as literals: < > & ' "
[02:48:47] <Bytram> "Plain Old Text"
[02:48:51] <Bytram> Clicked on Preview
[02:49:13] <Bytram> saw the "<" and the ">" stripped from the title
[02:49:21] <Bytram> oops!
[02:49:48] <Bytram> preview submission shows the title as being: NCEs as literals: < > & ' "
[02:50:04] <Bytram> and the story preview text as:
[02:50:05] <Bytram> "martyb" writes:
[02:50:05] <Bytram> NCEs as literals: & ' "
[02:50:11] <Bytram> === EOD
[02:50:21] <TheMightyBuzzard> hrm
[02:50:32] <TheMightyBuzzard> it's prolly seeing it as a tag.
[02:50:39] <Bytram> note how the "<" and the ">" were deleted... presumably cause the code thought there was an HTML element in there of unknown kind
[02:50:41] <TheMightyBuzzard> try them in reverse order
[02:50:54] <Bytram> clicked on submit story
[02:51:13] <Bytram> clcked on "back" in my browser. =)
[02:51:40] <Bytram> title and body text now contain these:
[02:51:41] <Bytram> NCEs as literals: > < & ' "
[02:51:52] <Bytram> format: plain old text
[02:52:05] <Bytram> "This resource is no longer valid. Please return to the beginning and try again. "
[02:52:07] <Bytram> :/
[02:52:11] <Bytram> sta4rting over
[02:52:14] <TheMightyBuzzard> sigh
[02:52:26] <TheMightyBuzzard> at least that's working properly
[02:52:31] <Bytram> nod nod!!!!!
[02:53:10] <Bytram> started over; title and text now contain: NCEs as literals: > < & ' "
[02:53:18] <Bytram> clicked preview story
[02:53:29] <TheMightyBuzzard> oh it worked in the title but not the story area
[02:53:36] <Bytram> yuppers.
[02:53:46] <Bytram> title is now displayed as: NCEs as literals: > < & ' "
[02:54:02] <Bytram> story text is now displayed as: NCEs as literals: > & ' "
[02:54:08] <Bytram> note the missing "<"
[02:54:20] <TheMightyBuzzard> strip trailing lt
[02:54:21] <Bytram> clicked submit story
[02:54:28] <TheMightyBuzzard> known annoyance
[02:54:36] <Bytram> yup. no biggee
[02:54:54] <Bytram> do you have your dev account set up to get emails of stories on the DEV site?
[02:55:22] <TheMightyBuzzard> i think i'm okay with that level of bugginess going live. it's the same bugginess we've had all along after all.
[02:55:22] <Bytram> I expect there to be some wierdness with all the NCE that is going to be coming through
[02:55:32] <Bytram> chuckles
[02:55:50] <Bytram> might be good for documentation purposes and future reference, yanno?
[02:56:21] <TheMightyBuzzard> i just get headlines and a link to the story but yeah, have email alerts.
[02:56:29] * Bytram looks at stories in: http://dev.soylentnews.org
[02:56:49] * Bytram clicks on http://dev.soylentnews.org
[02:57:30] * Bytram is now on page with this url: http://dev.soylentnews.org
[02:58:03] <Bytram> submission preview same as before, title DOES contain the "<"; story DOES NOT contain it
[02:58:15] <Bytram> intro copy now contains:
[02:58:15] <Bytram> <p class="byline"><a href="//dev.soylentnews.org/~martyb/">martyb</a> writes:</p> <p>NCEs as literals: &gt; & ' "</p>
[02:58:27] * Bytram clicks preview
[02:58:29] <TheMightyBuzzard> as it should
[02:58:55] <Bytram> nod nod
[02:59:03] * Bytram clicks save
[02:59:29] * Bytram edits story again
[02:59:46] * Bytram clicks "fastforward:
[02:59:59] * Bytram clicks update
[03:00:23] <Bytram> now at: http://dev.soylentnews.org
[03:00:28] <Bytram> see story displayed
[03:00:50] <TheMightyBuzzard> looks good
[03:00:55] <TheMightyBuzzard> or as good as expected
[03:01:04] <Bytram> xactly
[03:01:17] <Bytram> kinda wish we wouldn't lose the "<", but I understand
[03:01:31] <Bytram> clicked reply so as to submit a comment
[03:02:19] <Bytram> created a comment with this as the title AND the body text: NCEs as literals: > < & ' "
[03:02:27] <Bytram> clicked submit (without preview)
[03:02:46] <Bytram> see: http://dev.soylentnews.org
[03:02:55] <Bytram> looks same
[03:03:07] <Bytram> afk brb
[03:09:01] <Bytram> back
[03:09:26] <TheMightyBuzzard> goddamned rss. going to have to put the title in as CDATA
[03:09:37] <Bytram> OUCH.
[03:10:00] <Bytram> now gonna try NCEs entered as NCEs
[03:10:17] <Bytram> same as before, but use &quot; instead of " etc.
[03:10:24] <TheMightyBuzzard> nod nod
[03:11:07] <TheMightyBuzzard> going to go fix myself some very hot, very sweet tea.
[03:11:26] <Bytram> NCEs entered as NCEs: &gt; &lt; &amp; &apos; &quot;
[03:11:51] <Bytram> plain old text
[03:11:57] <Bytram> preview story...
[03:12:14] <Bytram> looks same as I put in.
[03:12:23] <Bytram> clicked PreviewStory
[03:12:41] <Bytram> looks same as I put in.
[03:12:48] <Bytram> clicked SubmitStory
[03:13:00] <Bytram> btw, "SubmitStory" should be "Submit Story:
[03:13:16] <Bytram> and "PreviewStory" should be "Preview Story"
[03:13:30] <Bytram> story in queue is: http://dev.soylentnews.org
[03:13:51] <Bytram> viewing Submission queue: http://dev.soylentnews.org
[03:14:00] <Bytram> clicked on story
[03:14:16] <Bytram> previewed output looks good
[03:14:27] <Bytram> Intro Copy now contains:
[03:14:28] <Bytram> <p class="byline"><a href="//dev.soylentnews.org/~martyb/">martyb</a> writes:</p> <p>NCEs entered as NCEs: &gt; &lt; &amp; &apos; &quot;<br>Plain Old Text</p>
[03:14:40] <Bytram> clicked "Preview"
[03:15:08] <Bytram> for giggles, added same text for "dept" field: NCEs entered as NCEs: &gt; &lt; &amp; &apos; &quot;
[03:15:33] <Bytram> clicked preview again
[03:15:52] <Bytram> clicked save
[03:16:04] <Bytram> story is now at: http://dev.soylentnews.org
[03:16:17] <Bytram> clicking on story
[03:16:33] <Bytram> all looks good
[03:16:40] <Bytram> clicked on edit
[03:16:55] <Bytram> clicked on "fastforward:
[03:17:04] <Bytram> clicked update
[03:17:29] <Bytram> story is live; located at: http://dev.soylentnews.org
[03:17:42] <Bytram> opened story
[03:17:54] <Bytram> clicked reply
[03:18:33] <Bytram> created comment with title and body text: NCEs entered as NCEs: &gt; &lt; &amp; &apos; &quot;
[03:18:37] <Bytram> "Plain Old Text"
[03:18:45] <Bytram> clicked Preview
[03:19:08] <Bytram> clicked submit
[03:19:19] <Bytram> comment is at: http://dev.soylentnews.org
[03:19:55] <Bytram> hmmm, might have missed a closing ";" on the story's title...
[03:20:06] <Bytram> title is displayed as:
[03:20:13] <Bytram> NCEs entered as NCEs: > < & ' &quo
[03:20:27] <Bytram> replying to that comment with a new comment
[03:21:07] <Bytram> yup, comment title field not large enough to include complete &quot; NCE
[03:21:29] <TheMightyBuzzard> nice
[03:21:30] <Bytram> title is now: NCEs as NCEs: &gt; &lt; &amp; &apos; &quot;
[03:21:45] <Bytram> clicked submit
[03:22:04] <Bytram> (without preview)
[03:22:15] <Bytram> comment is at: http://dev.soylentnews.org
[03:22:23] <Bytram> looks good
[03:22:38] <Bytram> title and story text now contain:
[03:22:39] <Bytram> NCEs as NCEs: > < & ' "
[03:22:48] <Bytram> NICE!
[03:22:48] <TheMightyBuzzard> honestly, i dislike having plaintext treated the same as html, which we pretty much do.
[03:23:01] <Bytram> I am right there with you on that one.
[03:23:14] <Bytram> trying again, as HTML formatted
[03:23:16] <TheMightyBuzzard> we really should be converting literals to nces
[03:23:41] <TheMightyBuzzard> at least for < and >
[03:23:51] <Bytram> clicked preview
[03:24:10] <Bytram> looks good
[03:24:12] <Bytram> clicked submit
[03:24:28] <Bytram> comment is at: http://dev.soylentnews.org
[03:24:42] <TheMightyBuzzard> missed a <
[03:25:01] <TheMightyBuzzard> shouldn't have stripped that if it was put in as &lt; but oh well.
[03:25:06] <Bytram> huh? Oh, yup. right you are.
[03:25:40] <Bytram> rot row George.
[03:26:59] <Bytram> trying again.
[03:27:07] <Bytram> new comment, replying to topmost comment.
[03:27:10] <Bytram> NCEs as NCEs: &gt; &lt; &amp; &apos; &quo
[03:27:10] <Bytram> Extrans (html tags to text)
[03:27:18] <Bytram> clicked preview
[03:27:40] <Bytram> looks good
[03:27:47] <Bytram> clicked submit
[03:27:59] <Bytram> comment is at: http://dev.soylentnews.org
[03:28:24] <TheMightyBuzzard> miss a ; didja?
[03:29:10] <Bytram> maybe... trying again, replying to *that* comment with another one -- should be the same
[03:29:31] <TheMightyBuzzard> for that matter you missed it in here too =P
[03:30:07] <Bytram> NCEs as NCEs: &gt; &lt; &amp; &apos; &quo;
[03:30:08] <Bytram> Extrans (html tags to text)
[03:30:21] <Bytram> no preview; clicked immediately on submit
[03:30:34] <Bytram> comment is at: http://dev.soylentnews.org
[03:30:53] <TheMightyBuzzard> missed a t as well =P
[03:30:59] <Bytram> hmmm, see "&quo;"
[03:31:03] <Bytram> doh.
[03:31:09] <Bytram> s/b "&quot;"
[03:31:13] <Bytram> blegh!
[03:31:13] <TheMightyBuzzard> getting tired?
[03:31:20] <Bytram> *getting* tired?
[03:31:24] <Bytram> way past beat.
[03:32:12] <Bytram> NCEs as NCEs: &gt; &lt; &amp; &apos; &quot;
[03:32:12] <Bytram> Extrans (html tags to text)
[03:32:22] <Bytram> clicked submit w/o preview
[03:32:33] <Bytram> comment is at: http://dev.soylentnews.org
[03:32:41] <Bytram> THAT one looks good.
[03:32:45] <Bytram> =)
[03:33:05] <TheMightyBuzzard> yup yup
[03:33:25] <Bytram> replying to first comment
[03:34:04] <Bytram> replying to: http://dev.soylentnews.org
[03:34:05] <TheMightyBuzzard> grab some sleep then. sounds like we're not updating anything but dev this weekend.
[03:35:06] <Bytram> will do, soon. one more to finish out all the kinds of comments
[03:35:10] <Bytram> NCEs as NCEs: &gt; &lt; &amp; &apos; &quot;
[03:35:10] <Bytram> Code
[03:35:19] <Bytram> clicked preview
[03:35:34] <Bytram> loked okay; clicked submit
[03:35:44] <Bytram> comment is at: http://dev.soylentnews.org
[03:36:04] <Bytram> looks good to me
[03:36:49] <TheMightyBuzzard> yep
[03:36:55] <Bytram> btw, ISTR that with UTF-8, the DB can handle 1,2, or 3-octet chars, but cannot handle 4-octets, right?
[03:37:15] <TheMightyBuzzard> yep
[03:37:26] <TheMightyBuzzard> going to take some db redesign to change that
[03:37:28] <Bytram> is it in plan to update the DB to handle the full UTF8?
[03:37:32] <Bytram> oh.
[03:37:50] <TheMightyBuzzard> ya, makes some columns too wide if you use four octet characters
[03:38:24] <Bytram> Woah! omg
[03:39:10] <Bytram> I'm guessing something like comment title?
[03:39:34] <Bytram> 50 (or whatever) chars going to 200 bytes could be a problem
[03:39:37] <TheMightyBuzzard> honestly dunno if it's talking about the name of the column or the size of the data
[03:39:47] <Bytram> hrmmm.
[03:40:39] <TheMightyBuzzard> it's going to take a mess of bothering with to get it done.
[03:41:30] <Bytram> [story/comment/journal] [title/text] should not be much of a problem, I would think
[03:41:54] <Bytram> I'd be most concerned with the user's info page and all the different identifiers and such they can enter there.
[03:42:12] <TheMightyBuzzard> no worries with them overflowing a field.
[03:42:55] <Bytram> thinking
[03:43:21] <TheMightyBuzzard> existing data could be truncated though, which is possibly what it's bitching about.
[03:43:34] <Bytram> from a user perspective, I don't see anything potentially problematic...
[03:43:47] <Bytram> admin / meta stuff could get interesting
[03:43:54] <Bytram> e.g. Submissions Queue
[03:44:29] <TheMightyBuzzard> not really, the only thing keeping us from using full 4byte right now is a switch i have in the code stopping us and the db
[03:44:57] <TheMightyBuzzard> perl is fully unicode happy once you get it behaving. there's no three-byte four-byte issues with it.
[03:45:11] <Bytram> yup, that was how I remembered it.
[03:45:25] <Bytram> was wondering what the holdup was on rolling out the full 4-octet support, was all.
[03:45:36] <TheMightyBuzzard> time mostly
[03:45:51] <Bytram> Jim Croce - time in a bottle
[03:45:53] <TheMightyBuzzard> one me, sixty some odd bugs.
[03:46:13] * Bytram hopefully offers a fly swatter
[03:46:30] <Bytram> whatever happened to those people who [were] volunteered to help with coding?
[03:46:37] <TheMightyBuzzard> good question
[03:46:41] <Bytram> ISTR there were 3 or 4 of them?>
[03:46:44] <TheMightyBuzzard> six
[03:46:57] <Bytram> musta been the matrix
[03:46:58] <TheMightyBuzzard> not one of them have i heard a word from
[03:47:26] <Bytram> I've been keeping my eyes open on getting a deal on a new box.
[03:47:44] <Bytram> I'd really like to be able to load up a VM and dive into the code.
[03:47:54] <TheMightyBuzzard> sounds good to me
[03:48:08] <TheMightyBuzzard> it really doesn't take that much ram
[03:48:38] <Bytram> well, atm I'm using 1.8 GB out of the 1.2 GB I have.
[03:48:41] <Bytram> :/
[03:49:20] <Bytram> and, my hard disk is old and slow.
[03:49:40] <TheMightyBuzzard> shows 45M memory used in top
[03:49:58] <TheMightyBuzzard> my bad, 305
[03:50:14] <TheMightyBuzzard> got dyslexic for a minute
[03:50:27] <Bytram> I got this box back in May of 2005 -- it's been a good workhorse.
[03:50:47] <TheMightyBuzzard> an eight gig system oughta be able to run half a dozen or more of our vms at once.
[03:51:21] <Bytram> I'll prolly need a bigger pipe to the net, too.
[03:51:33] <TheMightyBuzzard> for a VM? nah.
[03:51:50] <Bytram> no, not for a vm.
[03:52:11] <Bytram> web sites (and everything else) have gotten so bloated over the years
[03:52:52] <Bytram> what was once nice simple static HTML can CSS is now a whole computing library being D/Led as javascript
[03:52:59] <Bytram> s/can/and/
[03:53:20] <TheMightyBuzzard> oh, yeah. we should still be nice n light but everyone else sucks ass.
[03:53:52] <Bytram> you ain't kidding!
[03:54:26] <Bytram> a reload of SN takes only about 5-10 secs on my (ancient) phone. Ars takes at least a minute for first load of the main page
[03:54:42] <TheMightyBuzzard> gah
[03:54:47] <Bytram> well, gots a long day ahead tomorrow.
[03:54:54] <Bytram> been fun working and chatting with ya.
[03:55:15] <Bytram> so I heard you mention somehting about the rollout being delayed a bit?
[03:55:23] <TheMightyBuzzard> takes just under a third of a second for me
[03:55:33] <Bytram> drewel.
[03:55:49] <TheMightyBuzzard> yeah, i don't see us doing our own dev testing saturday and rolling out sunday.
[03:56:23] <Bytram> another week to beat on it would be great!
[03:56:46] <Bytram> in that case, time to get me some shuteye.
[03:56:49] <Bytram> ttfn
[03:56:53] <TheMightyBuzzard> nite
[03:58:09] Bytram is now known as Bytram|away
[03:58:16] -!- Bytram|away has quit [Quit: Leaving]
[12:19:49] -!- TheMightyBuzzard has quit [Remote host closed the connection]
[14:39:30] -!- TheMightyBuzzard [TheMightyBuzzard!bob@Soylent/Staff/Developer/TMB] has joined #dev
[14:39:30] -!- mode/#dev [+v TheMightyBuzzard] by SkyNet