<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Updated Vpatch: Add Embeddable Codeblocks and Server-Side Select Mechanism</title>
	<atom:link href="http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mechanism/feed/" rel="self" type="application/rss+xml" />
	<link>http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mechanism/</link>
	<description></description>
	<pubDate>Wed, 22 Apr 2026 01:45:33 +0000</pubDate>
	<generator>http://polimedia.us</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: HTML/CSS improvements and a new dark theme for asciilifeform's logotron &#171; billymg</title>
		<link>http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mechanism/comment-page-1/#comment-411</link>
		<dc:creator>HTML/CSS improvements and a new dark theme for asciilifeform's logotron &#171; billymg</dc:creator>
		<pubDate>Wed, 26 May 2021 14:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://billymg.com/?p=66#comment-411</guid>
		<description>[...] was trimmed3, a feature was added, patches were produced, and in 2020 TMSR was closed. I had also at this time just moved [...]</description>
		<content:encoded><![CDATA[<p>[...] was trimmed3, a feature was added, patches were produced, and in 2020 TMSR was closed. I had also at this time just moved [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Welsh</title>
		<link>http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mechanism/comment-page-1/#comment-281</link>
		<dc:creator>Jacob Welsh</dc:creator>
		<pubDate>Sat, 27 Feb 2021 04:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://billymg.com/?p=66#comment-281</guid>
		<description>Since I now have a definite need to get selection working for a hosted blog customer, and would prefer to do it the proper / standard / upstream way if such a way in fact exists, I tried to give this patch a closer look, but was put off enough by first impressions that I'm not sure I can bring myself to push through it as is.

You've got mixed tab and space indents (server_side_selection); inconsistent spacing style in new code; inconsistent spacing style even within a space-only change (roman); a bulk reindent mixed with content change making the latter harder to follow (default_options); poor factoring (that sprintf paste table in highlight_as_diff, not to mention assigning a variable just in order to return it).

Then there's the angle that since it's 406 lines of patching on what was a 346 line file it might as well be a total rewrite, from which view it's a missed opportunity to fix the overall structure. Such as dropping the "plugin" baggage wherein this (and only this) file is considered "content", on a level with themes and uploads, despite in actual usage being part of the core text formatting, on a level with the insertion of br and p tags; and wherein the "how to deploy a new blog" process that nobody's published except in bits and pieces needs to include "don't forget to activate the footnotes plugin!" in its lengthy list of ridiculous GUI-based post-install tasks. Or the "Encapsulate in a class [for no discernible reason and requiring more code to instantiate it into a throwaway global variable]".

&lt;blockquote&gt;so it will work across all themes without modification&lt;/blockquote&gt;

Except that existing users already put selection code in their own themes per the original recipe so... won't the two implementations interfere unless the old one is manually reverted in full or in part?</description>
		<content:encoded><![CDATA[<p>Since I now have a definite need to get selection working for a hosted blog customer, and would prefer to do it the proper / standard / upstream way if such a way in fact exists, I tried to give this patch a closer look, but was put off enough by first impressions that I'm not sure I can bring myself to push through it as is.</p>
<p>You've got mixed tab and space indents (server_side_selection); inconsistent spacing style in new code; inconsistent spacing style even within a space-only change (roman); a bulk reindent mixed with content change making the latter harder to follow (default_options); poor factoring (that sprintf paste table in highlight_as_diff, not to mention assigning a variable just in order to return it).</p>
<p>Then there's the angle that since it's 406 lines of patching on what was a 346 line file it might as well be a total rewrite, from which view it's a missed opportunity to fix the overall structure. Such as dropping the "plugin" baggage wherein this (and only this) file is considered "content", on a level with themes and uploads, despite in actual usage being part of the core text formatting, on a level with the insertion of br and p tags; and wherein the "how to deploy a new blog" process that nobody's published except in bits and pieces needs to include "don't forget to activate the footnotes plugin!" in its lengthy list of ridiculous GUI-based post-install tasks. Or the "Encapsulate in a class [for no discernible reason and requiring more code to instantiate it into a throwaway global variable]".</p>
<blockquote><p>so it will work across all themes without modification</p></blockquote>
<p>Except that existing users already put selection code in their own themes per the original recipe so... won't the two implementations interfere unless the old one is manually reverted in full or in part?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: #ossasepia Logs for Jun 2020 &#171; Ossa Sepia</title>
		<link>http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mechanism/comment-page-1/#comment-161</link>
		<dc:creator>#ossasepia Logs for Jun 2020 &#171; Ossa Sepia</dc:creator>
		<pubDate>Fri, 26 Jun 2020 13:33:36 +0000</pubDate>
		<guid isPermaLink="false">http://billymg.com/?p=66#comment-161</guid>
		<description>[...] diana_coman: yeah, i would recommend just keeping the directory of your current custom theme as is. the included themes can be safely nuked for sure (server-side selection is handled in the footnotes.php as of this patch) [...]</description>
		<content:encoded><![CDATA[<p>[...] diana_coman: yeah, i would recommend just keeping the directory of your current custom theme as is. the included themes can be safely nuked for sure (server-side selection is handled in the footnotes.php as of this patch) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billymg</title>
		<link>http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mechanism/comment-page-1/#comment-153</link>
		<dc:creator>billymg</dc:creator>
		<pubDate>Sat, 23 May 2020 14:46:37 +0000</pubDate>
		<guid isPermaLink="false">http://billymg.com/?p=66#comment-153</guid>
		<description>&lt;strong&gt;@Mircea Popescu&lt;/strong&gt; Can you check again to see if it's fixed now? There should be no horizontal scrolling.

There was a fix I made earlier on my live version that breaks the long file hash in a vdiff but for the rest of the code only wraps at the word level. I forgot to carry this fix over when updating the patch.

A wider layout for displaying code will help readability as well (just so that less wrapping is required in the first place). I'm working on an update to my theme that will improve this.</description>
		<content:encoded><![CDATA[<p><strong>@Mircea Popescu</strong> Can you check again to see if it's fixed now? There should be no horizontal scrolling.</p>
<p>There was a fix I made earlier on my live version that breaks the long file hash in a vdiff but for the rest of the code only wraps at the word level. I forgot to carry this fix over when updating the patch.</p>
<p>A wider layout for displaying code will help readability as well (just so that less wrapping is required in the first place). I'm working on an update to my theme that will improve this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: #ossasepia Logs for May 2020 &#171; Ossa Sepia</title>
		<link>http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mechanism/comment-page-1/#comment-151</link>
		<dc:creator>#ossasepia Logs for May 2020 &#171; Ossa Sepia</dc:creator>
		<pubDate>Sat, 23 May 2020 11:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://billymg.com/?p=66#comment-151</guid>
		<description>[...] http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mecha... &#60;&#60; billymg -- Updated vpatch: Add embeddable codeblocks and the server-side select mechanism [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mecha.." rel="nofollow">http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mecha..</a>. &lt;&lt; billymg -- Updated vpatch: Add embeddable codeblocks and the server-side select mechanism [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mircea Popescu</title>
		<link>http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mechanism/comment-page-1/#comment-149</link>
		<dc:creator>Mircea Popescu</dc:creator>
		<pubDate>Thu, 21 May 2020 08:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://billymg.com/?p=66#comment-149</guid>
		<description>Oh is that what it was, a horiz scroller ? It doesn't show on this machine ; most people regard these very dimly fwis.</description>
		<content:encoded><![CDATA[<p>Oh is that what it was, a horiz scroller ? It doesn't show on this machine ; most people regard these very dimly fwis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billymg</title>
		<link>http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mechanism/comment-page-1/#comment-147</link>
		<dc:creator>billymg</dc:creator>
		<pubDate>Mon, 18 May 2020 14:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://billymg.com/?p=66#comment-147</guid>
		<description>&lt;strong&gt;@Mircea Popescu&lt;/strong&gt; Thanks for taking a look. Do you mean that there is horizontal scrolling inside the code "pane"? Or that the code pane itself is running off the browser's viewport? The former is intentional but is only set with CSS and so can be adjusted at the theme level by adding &lt;code&gt;td.content-column { word-break: break-all; }&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p><strong>@Mircea Popescu</strong> Thanks for taking a look. Do you mean that there is horizontal scrolling inside the code "pane"? Or that the code pane itself is running off the browser's viewport? The former is intentional but is only set with CSS and so can be adjusted at the theme level by adding <code>td.content-column { word-break: break-all; }</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mircea Popescu</title>
		<link>http://billymg.com/2020/05/updated-vpatch-add-embeddable-codeblocks-and-the-server-side-select-mechanism/comment-page-1/#comment-146</link>
		<dc:creator>Mircea Popescu</dc:creator>
		<pubDate>Mon, 18 May 2020 13:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://billymg.com/?p=66#comment-146</guid>
		<description>Your code displayer runs offscreen ; I tried to get you some shots to show it but &lt;a href="http://archive.is/p05TB" rel="nofollow"&gt;look at this sad shit&lt;/a&gt; -- 5 failed, 41 expired out of 46, browsershots.org is dead by now too, joining a lengthy pile of needful infrastructure nobody's left to salvage.

So what can we do, sit here like savages, "your thing runs offscreen".</description>
		<content:encoded><![CDATA[<p>Your code displayer runs offscreen ; I tried to get you some shots to show it but <a href="http://archive.is/p05TB" rel="nofollow">look at this sad shit</a> -- 5 failed, 41 expired out of 46, browsershots.org is dead by now too, joining a lengthy pile of needful infrastructure nobody's left to salvage.</p>
<p>So what can we do, sit here like savages, "your thing runs offscreen".</p>
]]></content:encoded>
	</item>
</channel>
</rss>
