#dev | Logs for 2019-01-16
« return
[01:16:41] <fyngyrz> okay, I think it's all working. I'm tired now, so I'll take a fresh look in the morning, and if it still looks good, I'll post it and you can see what you think.
[01:17:24] <fyngyrz> note that my perf-fu is weak. However, it runs very quickly, and could probably run even faster if comments were stripped, var names shortened, etc.
[01:17:33] <fyngyrz> s/perf/perl/
[14:52:05] <fyngyrz> okay. Perl stuff is up in https://github.com -- there's a .pm module and a simple .pl example of how to use the module.
[14:53:41] <fyngyrz> I believe this should be very straightforward to add to the story editing page. I suggest that it run (gated by a checkbox) when the story is previewed, but NOT modify the source text until/unless UPDATE is selected.
[14:54:20] <fyngyrz> There's a provision for terms to ignore, and some other switches you can throw, some of which might be best exposed to the users.
[14:54:38] <fyngyrz> a full example is in the pltest.pl file
[14:55:06] <fyngyrz> any questions, I will be happy to answer. Any problems, I will fix same.
[14:57:06] <fyngyrz> To implement this, all you need is the .pm module and the acrobase.txt file.
[14:58:03] <fyngyrz> ------------------
[15:13:47] <Bytram> fyngyrz: Hey! Looks like you've put a lot of work into this -- thanks! One observation, if I may? When we <blockquote> something from another source, it should be what was actually at the source. The one exception I make is to clean up tracking junk from a URL; any other changes are set off by square brackets. "[" and "]"
[15:14:49] <Bytram> Also, it is my understanding that one expands abbreviations at *first* use, only.
[15:15:34] <fyngyrz> the abbr doesn't change the quote
[15:16:04] <Bytram> Maybe we could use something like [<sup>n</sup>] to redirect the user to a, umm, 'footnote' following the quoted text?
[15:16:05] <fyngyrz> the system doesn't re-abbr anything that's already got an abbr
[15:16:15] <Bytram> yays! on no dupe abbr
[15:16:50] <Bytram> so, when I see something we've quoted... and I've seen sources that use <abbr> tags, how do I as a reader know what was in the original source versus our modification?\
[15:16:50] <fyngyrz> it also provides for a hot ignore list, so if something's being hit you don't want, you just enter it in the list and it'll be ignored
[15:17:04] <Bytram> gotta think about that a bit
[15:17:07] <fyngyrz> again, the system doesn't change what was quoted
[15:17:36] <fyngyrz> if it says "NASA shot off a rocket", after running, it'll still say "NASA shot off a rocket"
[15:17:50] <Bytram> if the source did not have an <abbr> and our quoting of it does, then we have changed the quoted source.
[15:18:01] <fyngyrz> all it does is provides contextual expansion of terms. Nothing else.
[15:18:34] <fyngyrz> that's a benefit to the reader, not a downside.
[15:18:35] <Bytram> we are protraying, via <blockquote> that this is exactly what was at the source.
[15:19:01] <fyngyrz> yeah, at this level though, it's pedantry, not a feature
[15:19:03] <Bytram> I have not seen otherwise any place on the web.
[15:19:14] <fyngyrz> no one else has this that I know of
[15:19:15] <fyngyrz> :)
[15:19:22] <fyngyrz> it's a feature, not a bug
[15:19:29] <Bytram> I *have* seen ABBR tags used elsewhere
[15:19:54] <fyngyrz> its fucking annoying to have all these damned CAPS things that mean little or nothing to the reader
[15:20:09] <Bytram> a blockquote is a promise to the use that what you see is exactly what was at the source, and any changes are set off with "[" "]"
[15:20:15] <Bytram> agreed
[15:20:18] <fyngyrz> I have not seen one that is an automated system for posts
[15:20:34] <fyngyrz> there. are. no. changes.
[15:20:59] <fyngyrz> there isn't only a hover-capability to see WTF their particular flavor of jargon might mean
[15:21:19] <Bytram> Automated ABBR expansion/generation... I think that is *GREAT*! Changing what we quoted, without indicating that *WE* changed it... that is what I am questioning.
[15:21:37] <fyngyrz> in any case, I dont' want to do this in dev. We'll end up burying my messages to TMB. Editorial?
[15:21:45] <Bytram> oh, sure
[16:02:08] <fyngyrz> mods made to add an optional prefix to the <abbr> tag contents to address some of Bytram's concerns.
[20:49:15] <fyngyrz> so instead of "content" in the title element, it could, for instance, be made to come out as "Ed:[content]"
[20:50:01] <fyngyrz> or "[Ed: content]", etc.
[21:44:35] -!- fyngyrz has quit [Ping timeout: 248 seconds]
[22:57:59] -!- fyngyrz [fyngyrz!~fyngyrz@Soylent/Staff/Editor/fyngyrz] has joined #dev