Show newer

With the other songs for the night, the front end of the app should load like this on the dev server:
>>

Show thread

But all being well the json-server will show a successful POST request.
>>

Show thread

Trailing commas after the last item of the songs array must also be removed.
>>

Show thread

PDFs very often copy across with unusual line terminators. JSON is a very fussy format but that's partly what makes it so popular as a "glue" language format between different scripts or parts of a app. It's easy to remove them: they are highlighted in Visual Studio Code.
>>

Show thread

There are fields for Song Title, Words, Usage, Key, Capo, and YouTube embed video link for learning new songs from the web. Mostly it's just Title and Words, but that enables a search on EITHER Title or first line in another version of the app. Handy.
>>

Show thread

Next, fire up the React app, made in Vite, in development mode, also with a json-server loading the songs table JSON. Copy/paste new song into form in the app.
>>

Show thread

Possibly of interest to those developers among you, here is today's workflow for updating a new song in my choir app. End-to-end 20 mins or less. Start by texting the song to myself from PDF supplied. It works from a photocopy too, using scan text OCR in Mac Notes. >> THREAD

@sinabhfuil yeah that's right Buíochas le Dia. Mustn't lose sight of that, thanks.

The DRM-free ebooks for my pre-apocalyptic, hopeful climate emergency novel *The Lost Cause* is on sale in the USA!

Today, you can get the Kobo edition for $2.99:

kobo.com/us/en/ebook/the-lost-

And all month, the Kindle edition is also $2.99:

amazon.com/Lost-Cause-Cory-Doc

@sinabhfuil Unacceptable. And also last week the home of Helen McEntee. Weans had to be removed at night because of credible b0mb threat. WHATEVER their policies/actions this is not an Ireland that I can get behind and feel comfortable with any more.

@sinabhfuil Can't say for sure because I am in England and voted yesterday but from this link it looks like they exclude NI, Scotland, and Wales.
theguardian.com/politics/ng-in

Think I'm gonna hang here a while longer this time. X's engagement is still good but my tweets are protected so I can't ask questions over there of super interesting looking coders like @notwoods. Still, would be nice even to just follow them... :blobfoxcomputer:

Show thread

Just back after an extended safari, but, looking for a friend, is there a cheat sheet on how to follow users from other servers? Getting this a lot.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.