<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Codepens]]></title><description><![CDATA[<p dir="auto">This is less of a request and more of an effort to reopen discussion on an interesting idea that sort of wound up forgotten for various reasons that I won't go into here.</p>
<p dir="auto">In the early days of planning this forum, <a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/17">@rob</a> advocated for incorporating Codepens into the forum. (Archive link: <a href="http://www.votingtheory.org:3000/archive/posts?where=%7B%22topic_id%22%3A734%7D" rel="nofollow ugc">http://www.votingtheory.org:3000/archive/posts?where={"topic_id"%3A734}</a> ) He argued that it would be useful for users to be able to copy example elections that forum users came up with into codepens so that they can figure out what is going on in the example without having to do a lot of computations by hand. This seems like quite a good thing!</p>
<p dir="auto">However, allowing users to embed codepen plugins into their posts seems like a possible security concern. Obviously it's unsafe to let people run arbitrary javascript on the site, even if the codepens require user permission before they can run. I don't know much about javascript or codepens so there may well be some obvious detail I'm missing.</p>
<p dir="auto">What could safely be done with codepens on the site?</p>
]]></description><link>http://www.votingtheory.org/forum/topic/87/codepens</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 04:52:35 GMT</lastBuildDate><atom:link href="http://www.votingtheory.org/forum/topic/87.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 May 2021 21:25:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Codepens on Wed, 27 Oct 2021 07:34:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/17">@rob</a> said in <a href="/forum/post/411">Codepens</a>:</p>
<blockquote>
<p dir="auto">So it is installed?  Do I just do this?</p>
</blockquote>
<p dir="auto">Yes, you do.</p>
]]></description><link>http://www.votingtheory.org/forum/post/683</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/683</guid><dc:creator><![CDATA[Jack Waugh]]></dc:creator><pubDate>Wed, 27 Oct 2021 07:34:56 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Tue, 19 Oct 2021 20:58:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/17">@rob</a> I put the query on the support forum. <a href="https://community.nodebb.org/post/85573" rel="nofollow ugc">https://community.nodebb.org/post/85573</a></p>
]]></description><link>http://www.votingtheory.org/forum/post/653</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/653</guid><dc:creator><![CDATA[Jack Waugh]]></dc:creator><pubDate>Tue, 19 Oct 2021 20:58:14 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Sun, 17 Oct 2021 23:11:07 GMT]]></title><description><![CDATA[<p dir="auto">Yes, especially if you are ready to move if they offer a suggestion.</p>
<p dir="auto">I posted a test here:<br />
<a href="https://community.nodebb.org/topic/16088/codepen-plugin-test" rel="nofollow ugc">https://community.nodebb.org/topic/16088/codepen-plugin-test</a></p>
<p dir="auto">I wish it auto-ran, but that's better than nothing.</p>
]]></description><link>http://www.votingtheory.org/forum/post/638</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/638</guid><dc:creator><![CDATA[rob]]></dc:creator><pubDate>Sun, 17 Oct 2021 23:11:07 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Tue, 19 Oct 2021 21:01:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/17">@rob</a> So you still think that the next step is to go ask.</p>
<p dir="auto">Here is, I think, the best procedure for an upgrade. Wait until some time that is between 3am and 6am, New York time. Purchase the backup service from Linode ($2/mo.). Stop NodeBB. Trigger a backup. Await its completion. As long as the forum is going to be down anyway, this is a good opportunity to update the OS*. Upgrade NodeBB. Restart it. Do a cursory sanity check. After about a week, drop the backup service.</p>
<p dir="auto">* It's Ubuntu. If I had it to do over again, I would use straight Debian, which is stabler and needs less-frequent updates.</p>
]]></description><link>http://www.votingtheory.org/forum/post/637</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/637</guid><dc:creator><![CDATA[Jack Waugh]]></dc:creator><pubDate>Tue, 19 Oct 2021 21:01:20 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Sun, 17 Oct 2021 22:57:06 GMT]]></title><description><![CDATA[<p dir="auto">Possibly. It would be interesting to see if the plug in is actively supported.</p>
]]></description><link>http://www.votingtheory.org/forum/post/636</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/636</guid><dc:creator><![CDATA[rob]]></dc:creator><pubDate>Sun, 17 Oct 2021 22:57:06 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Sun, 17 Oct 2021 22:51:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/17">@rob</a>, I predict that their first answer will be "update to the latest."</p>
]]></description><link>http://www.votingtheory.org/forum/post/635</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/635</guid><dc:creator><![CDATA[Jack Waugh]]></dc:creator><pubDate>Sun, 17 Oct 2021 22:51:19 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Sun, 17 Oct 2021 22:44:14 GMT]]></title><description><![CDATA[<p dir="auto">I would go to the NodeBB forums. If you want me to do this, I can, but since you are the one who can respond and do what they say to do, it might be easier for you to do it.</p>
<p dir="auto">We'd also like to have embeddable YouTube videos, which last I checked didn't work.</p>
]]></description><link>http://www.votingtheory.org/forum/post/634</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/634</guid><dc:creator><![CDATA[rob]]></dc:creator><pubDate>Sun, 17 Oct 2021 22:44:14 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Sun, 17 Oct 2021 03:11:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/17">@rob</a>, I told the add-on to install itself, and it says it is installed, but evidently it does not actually work. Do you have a suggestion on what I should do next?</p>
]]></description><link>http://www.votingtheory.org/forum/post/621</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/621</guid><dc:creator><![CDATA[Jack Waugh]]></dc:creator><pubDate>Sun, 17 Oct 2021 03:11:37 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Fri, 04 Jun 2021 13:05:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/17">@rob</a>, the admin page that lists the plugins says it is activated. However, when I did the "npm install" (prior), I received several warnings. I posted those. I don't know whether any of those are keeping it from working.</p>
<p dir="auto">Maybe I should take the latest NodeBB.</p>
]]></description><link>http://www.votingtheory.org/forum/post/412</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/412</guid><dc:creator><![CDATA[Jack Waugh]]></dc:creator><pubDate>Fri, 04 Jun 2021 13:05:34 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Fri, 04 Jun 2021 13:01:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/6">@Jack-Waugh</a><br />
So it is installed?  Do I just do this?</p>
<p dir="auto"><a href="https://codepen.io/karmatics/pen/eYJxXge" rel="nofollow ugc">https://codepen.io/karmatics/pen/eYJxXge</a></p>
<p dir="auto">(apparently not.... are you sure it is running?)</p>
]]></description><link>http://www.votingtheory.org/forum/post/411</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/411</guid><dc:creator><![CDATA[rob]]></dc:creator><pubDate>Fri, 04 Jun 2021 13:01:46 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Fri, 04 Jun 2021 12:40:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/17">@rob</a><br />
<img src="/forum/assets/uploads/files/1622810317480-codepen.png" alt="codepen activated" class=" img-responsive img-markdown" width="938" height="138" /></p>
]]></description><link>http://www.votingtheory.org/forum/post/410</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/410</guid><dc:creator><![CDATA[Jack Waugh]]></dc:creator><pubDate>Fri, 04 Jun 2021 12:40:59 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Fri, 04 Jun 2021 12:23:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/17">@rob</a></p>
<pre><code>theory@votingtheory:~/nodebb$ npm install nodebb-plugin-codepen

&gt; husky@4.2.5 install /home/theory/nodebb/node_modules/husky
&gt; node husky install

husky &gt; Setting up git hooks
husky &gt; Done

&gt; core-js@2.6.12 postinstall /home/theory/nodebb/node_modules/core-js
&gt; node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
&gt; https://opencollective.com/core-js 
&gt; https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


&gt; nodemailer@6.4.5 postinstall /home/theory/nodebb/node_modules/smtp-server/node_modules/nodemailer
&gt; node -e "try{require('./postinstall')}catch(e){}"

=== Nodemailer 6.4.5 ===

Thank you for using Nodemailer for your email sending needs! While Nodemailer
itself is mostly meant to be a SMTP client there are other related projects in
the Nodemailer project as well.

For example:
&gt; IMAP API (  https://imapapi.com  ) is a server application to easily access
IMAP accounts via REST API
&gt; NodemailerApp (  https://nodemailer.com/app/  ) is a cross platform GUI app to
debug emails


&gt; husky@4.2.5 postinstall /home/theory/nodebb/node_modules/husky
&gt; opencollective-postinstall || exit 0

Thank you for using husky!
If you rely on this package, please consider supporting our open collective:
&gt; https://opencollective.com/husky/donate

npm WARN nodebb-plugin-emoji-android@2.0.0 requires a peer of nodebb-plugin-emoji@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN textcomplete.contenteditable@0.1.1 requires a peer of textcomplete@^0.14.2 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ nodebb-plugin-codepen@0.2.0
added 650 packages from 338 contributors and audited 1363 packages in 37.461s

77 packages are looking for funding
  run `npm fund` for details

found 118 vulnerabilities (11 low, 20 moderate, 83 high, 4 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
</code></pre>
]]></description><link>http://www.votingtheory.org/forum/post/409</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/409</guid><dc:creator><![CDATA[Jack Waugh]]></dc:creator><pubDate>Fri, 04 Jun 2021 12:23:05 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Wed, 02 Jun 2021 18:12:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/6">@Jack-Waugh</a> Nobody needs to build a plug in, it already exists. You just need to install it.  <a href="https://www.npmjs.com/package/nodebb-plugin-codepen" rel="nofollow ugc">https://www.npmjs.com/package/nodebb-plugin-codepen</a></p>
]]></description><link>http://www.votingtheory.org/forum/post/408</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/408</guid><dc:creator><![CDATA[rob]]></dc:creator><pubDate>Wed, 02 Jun 2021 18:12:17 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Tue, 01 Jun 2021 13:11:39 GMT]]></title><description><![CDATA[<p dir="auto">So, using the <code>iframe</code> technique, the burden of learning enough about NodeBB to be able to build a plugin to allow them to be embedded in posts could be relatively light.</p>
<p dir="auto">Whoever wants to give it a try should send me their public key for SSH.</p>
]]></description><link>http://www.votingtheory.org/forum/post/407</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/407</guid><dc:creator><![CDATA[Jack Waugh]]></dc:creator><pubDate>Tue, 01 Jun 2021 13:11:39 GMT</pubDate></item><item><title><![CDATA[Reply to Codepens on Fri, 28 May 2021 19:35:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://www.votingtheory.org/forum/uid/8">@Marylander</a> Codepens aren't running arbitrary JS on the actual site, they are running it in an iframe that is embedded into the site and can't communicate with the JS runtime within the site.</p>
<p dir="auto">If they allowed people to, for instance, steal your login credentials (e.g.. read your document.cookie and then post it to a random URL), Codepen would have never even considered making them run embedded in forums. I can assure you they carefully considered the security implications and architected it in a way that prevents such things..</p>
]]></description><link>http://www.votingtheory.org/forum/post/405</link><guid isPermaLink="true">http://www.votingtheory.org/forum/post/405</guid><dc:creator><![CDATA[rob]]></dc:creator><pubDate>Fri, 28 May 2021 19:35:10 GMT</pubDate></item></channel></rss>