<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3092&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / A script to facilitate random note-taking in the terminal]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3092</link>
		<description><![CDATA[The most recent posts in A script to facilitate random note-taking in the terminal.]]></description>
		<lastBuildDate>Wed, 19 May 2021 17:15:06 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29873#p29873</link>
			<description><![CDATA[<p>All kinds of notes. Ideas for a better desktop environment, things that bug me about certain software, hilarious Mark Twain quotes, etc. Logs of interesting IRC discussions often end up in that notebook as well.</p>]]></description>
			<author><![CDATA[dummy@example.com (msi)]]></author>
			<pubDate>Wed, 19 May 2021 17:15:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29873#p29873</guid>
		</item>
		<item>
			<title><![CDATA[Re: A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29870#p29870</link>
			<description><![CDATA[<p>what notes do you take?</p>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Wed, 19 May 2021 16:23:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29870#p29870</guid>
		</item>
		<item>
			<title><![CDATA[Re: A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29865#p29865</link>
			<description><![CDATA[<p>Just in case anyone&#039;s interested, <em>mote</em>&#039;s source repository is now at <a href="https://vcs.malbolge.net/msi/mote" rel="nofollow">https://vcs.malbolge.net/msi/mote</a>. (Excuse the Javascript.)</p><p>I&#039;ve also made some improvements in the meantime.</p>]]></description>
			<author><![CDATA[dummy@example.com (msi)]]></author>
			<pubDate>Wed, 19 May 2021 14:45:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29865#p29865</guid>
		</item>
		<item>
			<title><![CDATA[Re: A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18183#p18183</link>
			<description><![CDATA[<div class="quotebox"><cite>HevyDevy wrote:</cite><blockquote><div><p>I dont see any problems with it, i guess its just a case of me thinking in year-month-day for note taking where you have folders for this type of directory format <span class="bbc">$HOME/.mote/2019-10-08/001</span> instead of empty folders for the year and the month in this (2019/10) empty folders format <span class="bbc">$HOME/.mote/2019/10/08/001</span>.</p></div></blockquote></div><p>Ok, I see. I tend to organize things in a hierarchical way where that is possible because it provides better order through encapsulation.&#160; </p><div class="quotebox"><cite>msi wrote:</cite><blockquote><div><p>Apart from that, I&#039;ve thought about the interface a bit more and I think the <span class="bbc">list</span> and <span class="bbc">search</span> commands should be merged into a single <span class="bbc">find</span> command with which you can then search notes based on a pattern, a date range or both, or nothing at all, which would be equivalent to listing all existing notes (just like running <span class="bbc">find</span> (the Unix command) without arguments).</p><p>The only problem with that is that specifying a date range will have to be done via an additional option, which I&#039;ll then also have to implement for the <span class="bbc">browse</span> command for consistency.</p></div></blockquote></div><p>That is now done.</p>]]></description>
			<author><![CDATA[dummy@example.com (msi)]]></author>
			<pubDate>Wed, 09 Oct 2019 15:40:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18183#p18183</guid>
		</item>
		<item>
			<title><![CDATA[Re: A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18176#p18176</link>
			<description><![CDATA[<div class="quotebox"><cite>msi wrote:</cite><blockquote><div><p>Thanks for trying it out.</p><p>The directory structure is actually something that keeps me thinking. There are two apparent problems with the current one:</p><ul><li><p>The notebook requires more storage space because of additional directory entries.</p></li><li><p>I haven&#039;t tested this, but I guess having less directories, maybe only a single notes directory, would help to increase the speed of searches.</p></li></ul><p>The main reason I went with the current structure is that, to me, it seems the most logical and easy to grasp for humans (e.g., in case you lose the script). What are the problems you see with it?</p><p>Apart from that, I&#039;ve thought about the interface a bit more and I think the <span class="bbc">list</span> and <span class="bbc">search</span> commands should be merged into a single <span class="bbc">find</span> command with which you can then search notes based on a pattern, a date range or both, or nothing at all, which would be equivalent to listing all existing notes (just like running <span class="bbc">find</span> (the Unix command) without arguments).</p><p>The only problem with that is that specifying a date range will have to be done via an additional option, which I&#039;ll then also have to implement for the <span class="bbc">browse</span> command for consistency.</p></div></blockquote></div><p>Sorry for late reply, been away from computers for a few days. I dont see any problems with it, i guess its just a case of me thinking in year-month-day for note taking where you have folders for this type of directory format <span class="bbc">$HOME/.mote/2019-10-08/001</span> instead of empty folders for the year and the month in this (2019/10) empty folders format <span class="bbc">$HOME/.mote/2019/10/08/001</span>.</p>]]></description>
			<author><![CDATA[dummy@example.com (HevyDevy)]]></author>
			<pubDate>Tue, 08 Oct 2019 05:23:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18176#p18176</guid>
		</item>
		<item>
			<title><![CDATA[Re: A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18165#p18165</link>
			<description><![CDATA[<div class="quotebox"><cite>golinux wrote:</cite><blockquote><div><p>@msi . . . Long time, no see.&#160; So are you still playing with Adelie or running Devuan&#160; again?</p></div></blockquote></div><p>I&#039;m still running Devuan on my main computer because Adélie is still beta. But it shouldn&#039;t be too long until 1.0 now. I have it running on a laptop with sort of the same hardware as my Devuan system. It definitely beats Devuan in terms of speed here and also offers a few other advantages. But Devuan runs pretty well too.</p><p>Apart from that, I now also have a box running OpenBSD available. That&#039;s mainly for compatibility testing and getting to know the system.</p>]]></description>
			<author><![CDATA[dummy@example.com (msi)]]></author>
			<pubDate>Sun, 06 Oct 2019 18:01:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18165#p18165</guid>
		</item>
		<item>
			<title><![CDATA[Re: A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18164#p18164</link>
			<description><![CDATA[<div class="quotebox"><cite>noname wrote:</cite><blockquote><div><p>make up a simple note-taker with timestamp, convert it for use under Android, make a million bucks.&#160; With all the BS about blogging and so forth, it amazes me that there&#039;s no simple note-taker.</p></div></blockquote></div><p>While I&#039;m not adversed to making a million bucks, I doubt there&#039;s any chance to achieve that with this project. I&#039;ve already given it away under the terms of the ISC license so others can capitalize on it if they should find a way to do that. (Good luck...)</p><p>Making the script work on Android as it ships would require two things:</p><ul><li><p>making it run in <em>mksh</em>, a comparatively minimalist Bourne-like shell that almost certainly won&#039;t support all the Bash features used in <em>mote</em></p></li><li><p>making sure the external commands run by <em>mote</em> exist on Android and behave as expected</p></li></ul><p>The second aspect is probably the more important one because it means that even if you managed to install Bash on your Android system, there&#039;s no guarantee the script would work correctly.</p><p>The only sort of compatibility testing I&#039;m planning to do is with OpenBSD. And that will only concern external commands. You&#039;ll still have to get Bash and change the shebang accordingly. (I&#039;ll add that to the README when testing is done.) </p><div class="quotebox"><cite>noname wrote:</cite><blockquote><div><p>if you stick with UTC all you need is:&#160; yyyymmddhhmmss text</p></div></blockquote></div><p>Well, that&#039;s a debate, apparently. Currently, the structure of a notebook will look somewhat like this:</p><div class="codebox"><pre><code>/home/msi/.mote/notes/
├── 2018
│   ├── 06
│   │   ├── 18
│   │   │   ├── 0001
│   │   │   └── 0002-variables
│   │   ├── 20
│   │   │   ├── 0002-desktops
│   │   │   └── 0003-user-dirs
│   │   ├── 21
│   │   │   ├── 0001-bash-empty-unset
│   │   │   └── 0002-parameters-vs-gui
│   │   ├── 22
│   │   │   ├── 0003-funny-wms
│   │   │   └── 0004
│   │   ├── 23
│   │   │   └── 0001-icons
│   │   ├── 25
│   │   │   ├── 0001-bash-good-practice
│   │   │   ├── 0003-paramater-parsing
│   │   │   └── 0004-html-checker
│   │   ├── 29
│   │   │   ├── 0002-while-read-IFS
│   ├── 07
│   │   ├── 04
│   │   │   └── 0001-nano
[...]</code></pre></div><div class="quotebox"><cite>noname wrote:</cite><blockquote><div><p>Hook it up to an accelerator key (no idea how to do that, but it can definitely be done) for taking notes, hook it up to a real editor for browsing and cetera, you&#039;re off to the races.</p><p>There are too many editors out there already, people invent a new one at the drop of a hat.</p></div></blockquote></div><p>I should probably have included the README in my first post because it explains that <em>mote</em>...</p><div class="quotebox"><blockquote><div><p>...will use the user&#039;s preferred text editor and pager as defined by the shell environment or via command-line options provided on its invocation.</p></div></blockquote></div><div class="quotebox"><cite>noname wrote:</cite><blockquote><div><p>Anyway Kudos for doing it, i&#039;ll probably be back to complain about it once i get a chance to try it LOL</p></div></blockquote></div><p>Please do.</p>]]></description>
			<author><![CDATA[dummy@example.com (msi)]]></author>
			<pubDate>Sun, 06 Oct 2019 17:44:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18164#p18164</guid>
		</item>
		<item>
			<title><![CDATA[Re: A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18163#p18163</link>
			<description><![CDATA[<p>@msi . . . Long time, no see.&#160; So are you still playing with Adelie or running Devuan&#160; again?</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Sun, 06 Oct 2019 16:56:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18163#p18163</guid>
		</item>
		<item>
			<title><![CDATA[Re: A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18162#p18162</link>
			<description><![CDATA[<div class="quotebox"><cite>msi wrote:</cite><blockquote><div><p>So, if anyone wants to check it out, the source is available on GitHub (for want of a suitable libre alternative). You can either browse <a href="https://github.com/msiism/mote" rel="nofollow">the repository</a> on the site or create a local copy of it with the following command:</p><div class="codebox"><pre><code>git clone https://github.com/msiism/mote</code></pre></div></div></blockquote></div><p>Haven&#039;t tried it but thanks for putting it out there.&#160; LOL, make up a simple note-taker with timestamp, convert it for use under Android, make a million bucks.&#160; With all the BS about blogging and so forth, it amazes me that there&#039;s no simple note-taker.</p><p>Suggest you stick with simplicity. if you stick with UTC all you need is:&#160; yyyymmddhhmmss text<br />Hook it up to an accelerator key (no idea how to do that, but it can definitely be done) for taking notes, hook it up to a real editor for browsing and cetera, you&#039;re off to the races.</p><p>There are too many editors out there already, people invent a new one at the drop of a hat.</p><p>Anyway Kudos for doing it, i&#039;ll probably be back to complain about it once i get a chance to try it LOL</p>]]></description>
			<author><![CDATA[dummy@example.com (noname)]]></author>
			<pubDate>Sun, 06 Oct 2019 16:39:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18162#p18162</guid>
		</item>
		<item>
			<title><![CDATA[Re: A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18159#p18159</link>
			<description><![CDATA[<p>Thanks for trying it out.</p><p>The directory structure is actually something that keeps me thinking. There are two apparent problems with the current one:</p><ul><li><p>The notebook requires more storage space because of additional directory entries.</p></li><li><p>I haven&#039;t tested this, but I guess having less directories, maybe only a single notes directory, would help to increase the speed of searches.</p></li></ul><p>The main reason I went with the current structure is that, to me, it seems the most logical and easy to grasp for humans (e.g., in case you lose the script). What are the problems you see with it?</p><p>Apart from that, I&#039;ve thought about the interface a bit more and I think the <span class="bbc">list</span> and <span class="bbc">search</span> commands should be merged into a single <span class="bbc">find</span> command with which you can then search notes based on a pattern, a date range or both, or nothing at all, which would be equivalent to listing all existing notes (just like running <span class="bbc">find</span> (the Unix command) without arguments).</p><p>The only problem with that is that specifying a date range will have to be done via an additional option, which I&#039;ll then also have to implement for the <span class="bbc">browse</span> command for consistency.</p>]]></description>
			<author><![CDATA[dummy@example.com (msi)]]></author>
			<pubDate>Sun, 06 Oct 2019 15:00:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18159#p18159</guid>
		</item>
		<item>
			<title><![CDATA[Re: A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18156#p18156</link>
			<description><![CDATA[<p>Nice, thanks for sharing.</p><p>One gripe is the folder structure, is there a way you could just date one folder instead of 3 ?</p><p>Example</p><p><span class="bbc">$HOME/.mote/notes/2019/10/06/0001</span></p><p>to </p><p><span class="bbc">$HOME/.mote/notes/2019-10-06/0001</span></p>]]></description>
			<author><![CDATA[dummy@example.com (HevyDevy)]]></author>
			<pubDate>Sun, 06 Oct 2019 12:42:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18156#p18156</guid>
		</item>
		<item>
			<title><![CDATA[A script to facilitate random note-taking in the terminal]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18154#p18154</link>
			<description><![CDATA[<p>I&#039;ve put together a more or less elaborate helper script for random note-taking in the terminal (because I happen to do that a lot). It&#039;s not really finished yet, though very much usable already. I use it on a daily basis and it serves me quite well.</p><p>So, if anyone wants to check it out, the source is available on GitHub (for want of a suitable libre alternative). You can either browse <a href="https://github.com/msiism/mote" rel="nofollow">the repository</a> on the site or create a local copy of it with the following command:</p><div class="codebox"><pre><code>git clone https://github.com/msiism/mote</code></pre></div><p>For usage information, just run <span class="bbc">mote help</span>. On second thoughts, you might rather want to make that <span class="bbc">mote help | less</span>.</p><p>Comments welcome.</p>]]></description>
			<author><![CDATA[dummy@example.com (msi)]]></author>
			<pubDate>Sat, 05 Oct 2019 17:44:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18154#p18154</guid>
		</item>
	</channel>
</rss>
