Dan’s thoughtshttps://fediverse.blog/~/DansThoughts@hey.dou.bet/atom.xml2021-02-01T18:38:42.225061+00:00<![CDATA[Encouragement for writers]]>https://hey.dou.bet/~/DansThoughts/encouragement-for-writers/2021-02-01T18:38:42.225061+00:00Danielhttps://hey.dou.bet/@/daniel/2021-02-01T18:38:42.225061+00:00<![CDATA[<p dir="auto">Reminder to self:</p>
<p dir="auto">Your writing seems boring and predictable because</p>
<ul dir="auto">
<li dir="auto">You wrote it</li>
<li dir="auto">You’ve read it like eight million times</li>
</ul>
<p dir="auto">A person who has never read it before does not have this problem<a href="https://www.facebook.com/talesofakitchenwitch/photos/a.528535623834265/3861907677163693/" rel="noopener noreferrer">.</a></p>
]]><![CDATA[Plume 0.5.0]]>https://hey.dou.bet/~/DansThoughts/plume-0.5.0/2020-11-19T20:44:52.732310+00:00Danielhttps://hey.dou.bet/@/daniel/2020-11-19T20:44:52.732310+00:00<![CDATA[<p><img src="https://hey.dou.bet/static/media/DE38F2C0-4396-0D95-27E1-C8DF6CE90471.png" alt="screenshot of plume showing new version"></p>
<h2>New features</h2>
<ul>
<li>Email blocklisting</li>
<li>Syntax highlighting</li>
<li>Persian localization</li>
<li>Switchable tokenizer - enables Japanese full-text search</li>
<li>Make database connections configurable by environment variables</li>
</ul>
<h2>Changes</h2>
<ul>
<li>Display likes and boost on post cards</li>
</ul>
<h2>Fixes</h2>
<ul>
<li>Fix parsing of mentions inside a Markdown code block</li>
<li>Fix RSS issues</li>
<li>Fix Atom feed</li>
<li>Fix default theme</li>
<li>Fix shown password on remote interact pages</li>
<li>Allow unicode hashtags</li>
<li>Fix French grammar for 0</li>
<li>Don’t show boosts and likes for “all” and “local” in timelines</li>
<li>Fix liking and boosting posts on remote instances</li>
</ul>
<h1>Additional</h1>
<p>If you want to read more, you may do so <a href="https://git.joinplu.me/Plume/Plume/releases/tag/0.5.0" rel="noopener noreferrer">here</a>.</p>
]]><![CDATA[Hey.Dou.Bet Change]]>https://hey.dou.bet/~/DansThoughts/hey.-dou.-bet-change/2020-05-27T19:12:40.943370+00:00Danielhttps://hey.dou.bet/@/daniel/2020-05-27T19:12:40.943370+00:00<![CDATA[<p><img src="https://hey.dou.bet/static/media/DE1B4012-24F2-8FA5-5886-04E2E860E8BE.png" alt="Purple feather with curved arrow"></p>
<h2>Announcement</h2>
<p>Because my blog has been getting a lot of spam, I am going to enforce a new rule in the meantime. I will disallow http/1.0 and http/1.1 traffic. In order to use http2, use a modern browser (Chrome >79, Firefox >53). Or, use <a href="https://caniuse.com/#search=http2" rel="noopener noreferrer">this link</a> to see which specific versions of browsers you can use with http2.</p>
<p>In addition to the above server change, it appears that the theme "Default theme" is broken. In order to fix it, I recommend changing your theme to theme-dark or theme-light.</p>
<p>Thank you.</p>
]]><![CDATA[Upgrading Plume]]>https://hey.dou.bet/~/DansThoughts/upgrading-plume/2020-01-22T16:48:29.921992+00:00Danielhttps://hey.dou.bet/@/daniel/2020-01-22T16:48:29.921992+00:00<![CDATA[<p><img src="https://hey.dou.bet/static/media/DE1B4012-24F2-8FA5-5886-04E2E860E8BE.png" alt="Purple feather with curved arrow"></p>
<h1>WARNING</h1>
<p><strong>This is only for Plume operators</strong>. Otherwise, this would be a very boring article to read and wouldn't help you very much.</p>
<h2>Purpose</h2>
<p>Write a guide on how to upgrade Plume from version 0.3 to 0.4 for instance owners.</p>
<h2>My system</h2>
<p><strong>OS</strong>: Ubuntu 18.04</p>
<p><strong>DB</strong>: PostgresSQL 12.1</p>
<p><strong>Installed Plume</strong>: Binary <a href="https://dou.bet/plume" rel="noopener noreferrer">guide here</a></p>
<p><strong>User</strong>: plume</p>
<p><strong>Install Location</strong>: /home/plume/Plume</p>
<h2>Upgrade Guide</h2>
<p><strong>BACKUP!!!</strong></p>
<ol>
<li>Backup Database `sudo -u postgres pg_dump plumedatabase > plumedatabase.sql</li>
<li>Log in as plume user <code>su plume</code></li>
<li>Backup binary <code>cd ~&&cp -a Plume Plume.bak</code></li>
<li>Change directory to where plume was installed <code>cd ~/Plume</code></li>
<li><code>git pull origin master</code></li>
</ol>
<p>Results in error (for me, maybe not for you):</p>
<pre><code> plume@comp:~/Plume$ git pull origin master
From https://github.com/Plume-org/Plume
* branch master -> FETCH_HEAD
Updating e54fffc..5f8d6b8
error: Your local changes to the following files would be overwritten by merge:
po/plume/ar.po
po/plume/bg.po
po/plume/ca.po
po/plume/cs.po
po/plume/de.po
po/plume/en.po
po/plume/eo.po
po/plume/es.po
po/plume/fr.po
po/plume/gl.po
po/plume/hi.po
po/plume/hr.po
po/plume/it.po
po/plume/ja.po
po/plume/pl.po
po/plume/pt.po
po/plume/ro.po
po/plume/ru.po
po/plume/sk.po
po/plume/sr.po
po/plume/sv.po
Please commit your changes or stash them before you merge.
Aborting
</code></pre>
<ol start="6">
<li>Clean it (will remove all local changes you have made) <code>git clean -f&&git clean -fd&&git reset --hard</code></li>
<li>Then do <code>git pull origin master</code></li>
<li>If you want to use latest tagged version not directly from the master branch, also do <code>git checkout 0.4.0-alpha-4</code></li>
<li>Build front end <code>cargo web deploy -p plume-front</code></li>
</ol>
<pre><code> plume@comp:~/Plume$ cargo web deploy -p plume-front
info: syncing channel updates for 'nightly-2020-01-15-x86_64-unknown-linux-gnu'
info: latest update on 2020-01-15, rust version 1.42.0-nightly (8a87b945b 2020-01-14)
info: downloading component 'rustc'
58.6 MiB / 58.6 MiB (100 %) 23.8 MiB/s in 3s ETA: 0s
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
58.6 MiB / 58.6 MiB (100 %) 6.4 MiB/s in 9s ETA: 0s
info: installing component 'rust-std'
17.3 MiB / 17.3 MiB (100 %) 7.3 MiB/s in 1s ETA: 0s
info: installing component 'cargo'
info: installing component 'rust-docs'
12.0 MiB / 12.0 MiB (100 %) 4.3 MiB/s in 2s ETA: 0s
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
Compiling proc-macro2 v0.4.30
Compiling unicode-xid v0.1.0
Compiling syn v0.15.34
Compiling serde v1.0.91
Compiling ryu v1.0.0
Compiling encoding_index_tests v0.1.4
Compiling semver-parser v0.7.0
Compiling stdweb-internal-runtime v0.1.4
Compiling itoa v0.4.4
Compiling byteorder v0.4.2
Compiling sha1 v0.6.0
Compiling base-x v0.2.4
Compiling spin v0.5.1
Compiling discard v1.0.4
Compiling gettext-utils v0.1.0 (https://github.com/Plume-org/gettext-macros/?rev=a7c605f7edd6bfbfbfe7778026bfefd88d82db10#a7c605f7)
Compiling encoding-index-japanese v1.20141219.5
Compiling encoding-index-korean v1.20141219.5
Compiling encoding-index-singlebyte v1.20141219.5
Compiling encoding-index-tradchinese v1.20141219.5
Compiling encoding-index-simpchinese v1.20141219.5
Compiling semver v0.9.0
Compiling lazy_static v1.4.0
Compiling encoding v0.2.33
Compiling rustc_version v0.2.3
Compiling quote v0.6.12
Compiling gettext v0.3.0 (https://github.com/Plume-org/gettext/?rev=294c54d74c699fbc66502b480a37cc66c1daa7f3#294c54d7)
Compiling stdweb v0.4.18
Compiling gettext-macros v0.4.0 (https://github.com/Plume-org/gettext-macros/?rev=a7c605f7edd6bfbfbfe7778026bfefd88d82db10#a7c605f7)
Compiling serde_derive v1.0.91
Compiling serde_json v1.0.40
Compiling stdweb-derive v0.5.1
Compiling stdweb-internal-macros v0.2.7
Compiling plume-front v0.4.0 (/home/plume/Plume/plume-front)
.... done.
.... done.
.... done.
.... done.
.... done.
.... done.
.... done.
.... done.
... done.
.... done.
... done.
... done.
... done.
... done.
.... done.
... done.
.. done.
.... done.
.... done.
... done.
.... done.
... done.
Finished dev [unoptimized + debuginfo] target(s) in 2m 22s
Processing "plume-front.wasm"...
Finished processing of "plume-front.wasm"!
The `plume-front` was deployed to "/home/plume/Plume/target/deploy"!
</code></pre>
<ol start="10">
<li>Install libclang (will be required for master branch and tags > 0.5) <code>sudo apt install libclang-dev</code></li>
<li>Update plm (~30 minutes) <code>cargo install --path plume-cli --force --features postgres</code></li>
<li>Update plume (~ 12 minutes) <code>cargo install --path . --force --no-default-features --features postgres</code></li>
<li>Run migration scripts <code>plm migration run</code></li>
<li>Restart plume <code>sudo service plume restart</code></li>
</ol>
<p>You should be up and running on Plume version 0.4! Congrats.</p>
<h3>Sources</h3>
<ul>
<li><a href="https://matrix.to/#/+plume:disroot.org" rel="noopener noreferrer">Plume Matrix Room</a></li>
<li><a href="https://docs.joinplu.me/update/" rel="noopener noreferrer">Plume Docs</a></li>
</ul>
]]><![CDATA[How to follow another user from another instance of Plume or WriteFreely]]>https://hey.dou.bet/~/DansThoughts/how-to-follow-another-user-from-another-instance-of-plume-or-write-freely/2019-07-02T15:20:16.403710+00:00Danielhttps://hey.dou.bet/@/daniel/2019-07-02T15:20:16.403710+00:00<![CDATA[<p>I haven't been able to do it the correct way... which is find a user at their instance, click the follow button, then type in your username and instance and have it follow. I always get this error:</p>
<pre><code>Error: Invalid URI used for redirect.
Warning: Responding with 500 Internal Server Error catcher.
</code></pre>
<p>Instead, I have found, from reading the Plume documentation here, how to do it an alternative way that <em>works</em>.</p>
<p>Try typing this into your web browser:
<code>https://hey.dou.bet/<a href="//hey.dou.bet/@//" rel="noopener noreferrer">@</a>/user@other.instance</code></p>
<p>Where <code>https://hey.dou.bet</code> is your instance and <code>user@other.instance</code> is the username and server name of user at the other instance, Plume or WriteFreely, who(m) you'd like to follow.</p>
]]><![CDATA[What is Plume?]]>https://hey.dou.bet/~/DansThoughts/what-is-plume/2019-07-01T15:39:31.650259+00:00Danielhttps://hey.dou.bet/@/daniel/2019-07-01T15:39:31.650259+00:00<![CDATA[<p><img src="https://hey.dou.bet/static/media/7574C26B-9D98-1544-569D-0EC9911C5E54.png" alt="hey.dou.bet logo"></p>
<h2>Write once, publish everywhere</h2>
<p>Plume is not just a single website, but an entire interconnected, yet independent network of what we call instances. You write content from your own instance, but anyone else on any other Plume instance can enjoy your stories too.</p>
<h2>Social blogging</h2>
<p>When we write, it is, most of the time, to share something with other people. Plume has many features that allow the exchange between writers and readers to be bi-directional from the get-go.</p>
<h2>Collaborative writing</h2>
<p>Plume also makes it easy to collaborate on an article. Since blogs are not limited to one author, many people can write on the same blog and improve each other's work, to get to the best final result.</p>
<p><a href="https://hey.dou.bet/" rel="noopener noreferrer">Hey.Dou.Bet</a> is one of these instances. You can find more instances <a href="https://fediverse.network/plume" rel="noopener noreferrer">here</a>.</p>
]]><![CDATA[Welcome, Plume]]>https://hey.dou.bet/~/DansThoughts/welcome-plume/2019-06-28T21:24:39.520345+00:00Danielhttps://hey.dou.bet/@/daniel/2019-06-28T21:24:39.520345+00:00<![CDATA[<p>Welcome to the next federated social networking platform focusing on bloggers and writers. This is one of the many services offered my Dou.Bet. Check out more at <a href="https://www.dou.bet" rel="noopener noreferrer">https://www.dou.bet</a></p>
]]>