Logseq show brackets setting creates a conflict

With a setting, a conflict between two options becomes a choice (or compromise) for the user, instead of a situation to be solved by the designer. The conflict itself has not been evaporated. The checkbox to show or hide brackets in Logseq is an example of this. I use Logseq as an example, because it is the software that I use daily and like a lot. The conflict When the setting enabled this improves the editing experience....

December 15, 2022

An easy method I learned for first time users to start using Logseq for real

I often see people searching for the perfect structure or method to use a tool like Logseq. You don’t need that. You only need a simple structure and the will and habit to fill daily notes pages. Logseq does not need much structure to become useful. And when you use it more, it becomes even more useful. The daily note page makes Logseq powerful without the need for much structure. The following example shows a daily note page....

December 10, 2022

CRDT Tree Algorithm

I found a piece of code and algorithm that makes it possible to collaborate online on tree structures. I have been using Logseq for the last few months and this algorithm seems to be a way to make collaboration on an outliner possible. Evan Wallace described this algorithm. The page also includes a demo application. I have rewritten this demo application to Go and implemented a network protocol with mangos. Mangos is a nanomsg port in Go....

December 2, 2022

Switch to Netlify

I started with Digital Ocean apps yesterday to try out a new static website. I found that it is not possible by default to have redirects. So I switched the platform to Netlify. It is possible to add redirects there.

November 27, 2022

Using Hugo to generate my website

In the beginning my website blog was generated with a Ruby app, that I wrote myself. Later I rewrote that app in Perl. It used the same file structure. Today I converted my files to a Hugo site, by copying the files and adding YAML front matter. With Perl this is really easy. See convert.pl. The index.yaml contains the title and date of the blog posts. Each $doc contains the name of the source file and the output file....

November 26, 2022

Year in review: 2019

I was always interested in the Year in Review posts from people. It looks like it is something that you can’t create after the fact. You need to keep some notes, and perhaps log data about the things you did. Some people keep count of the number of emails sent and received or kilometers traveled. After the fact, these kinds of details are rather hard to come by. To make this a great post, I will have to dig into the notes I made, the data that I collected, and the posts I wrote on the other blog and combine these into witty graphs and paragraphs of enjoyable words....

December 20, 2019

Ekster: a microsub server

Ekster is a Microsub server. As far as I know Ekster was the second implementation of a Microsub server. Microsub is a protocol for feed reader applications. Ekster fetches web pages and feeds and gathers the entries into channels. A channel contains multiple feeds, these feeds are combined into a timeline. Ekster can find entries from pages that are marked up with microformats. It uses the go-microformats library to get the MF2 structure and converts these microformat items to JF2....

December 31, 2018

A tour of my Indieweb projects

Earlier this year I started to rebuild this website to work better with the Indieweb. At the same I build a new website P83 with Indieweb support from the start. This website is generated from static files with a system that I created the first time when I started writing in the website. Not much has changed, except that I some point a few years ago I rewrote the whole system in Perl....

August 15, 2018

Writing a WebSub hub

This week I’ve been writing a WebSub hub. It’s server program that receives subscription and publish requests and sends notications to the subscribers when a website changes. The website itself sends a request when the website changes. This way the subscribers know when to update their feeds. Implementing the server is quite simple, especially with the help of a website that checks your implementation, websub.rocks. WebSub Rocks! is a validator to help you test your WebSub implementation....

January 31, 2018

Collection and select

Sometimes you need to get a lot of information from the database and you need it fast. The way to get this information normally would be to use the Magento collection for the model. It would look like this: 1 2 3 4 5 6 7 $collection = Mage::getModel('customer/customer')->getCollection() ->addNameToSelect() ->joinAttribute('billing_city', 'customer/city', 'default_billing', null, 'left'); foreach ($collection as $customer) { // Use $customer } The problem with this way of getting the information is that it loads all customer information into memory, which can take a long time when you have many customers....

May 27, 2017