The website of James Johnson
  • 🪲 This is James
  • creating
  • reflecting
  • illustrating
  • reviewing
  • tinkering
  • noting
  1. Tinkering
  • tinkering

  • These are things I have discovered whilst working or experimenting with new technologies, or problems I’ve solved. It is principally for me to refer back to, but some may be useful to others. Some people call this section of a personal website “Today I Learned(TIL)”.

Tinkering

 

ChatGPT Work with Apps tool

ChatGPT
vscode
ChatGPT work with Apps tool
Nov 15, 2024

 

Hosting a static website on Cloudflare

Web sites
cloudflare
hosting
web development
Cloudflare allows you to publish static websites for free. It only limits the number of “builds” per month, but even that is very generous and not a limit I am likely to…
Oct 23, 2024

 

BigQuery CSV import sucks

bigquery
csv
TIL that in bigquery, when you are importing a CSV file and all your columns are strings, it will automatically assign column headings rather than using your first row. So…
Oct 17, 2024

 

How to normalize multilingual categorical data with ChatGPT

data processing
prompting
I had a dynamically updated BigQuery table containing a column with categorical data, but the column was in multiple languages and formats. This is how I solved that problem…
Oct 17, 2024

 

Hugo is fast!

One of the things I don’t like about Quarto is that it is slow to build web pages. Even a relatively small site involves a short wait whilst it builds. Another thing is that…
Oct 11, 2024

 

Quarto notation in Bear

bear
quarto
This is a test to see what Quarto notation I can use in Bear that will be transferred to Quarto.
Oct 9, 2024

 

Workaround to export raindrop bookmark highlights to Markdown

bookmarks
study
There is currently no good way to export highlights from Raindrop bookmark manager. This is a workaround:
Oct 7, 2024

 

Use Jina to get the Markdown for a web page

markdown
The following method can be used to extract MD from a web page:
Oct 6, 2024

Comments in Bear app

bear
All of the methods below work. The HTML comment results in the comment being in exported HTML, the others result in nothing exported at all. Source: Comments in Markdown
Oct 6, 2024

 

Footnotes in Bear app

bear
Footnotes in Bear app use the standard method. This is the same as Quarto uses, and so no changes are needed on export to Quarto:
Oct 6, 2024

Comparing ChatGPT, Perplexity, Claude and Gemini

chatgpt
claude
perplexity
In this experiment I compare the generative AI platforms below. I have awarded them stars based on their overall responses to similar or identical prompts.
Jul 4, 2024

Understanding Perlin noise

In this little experiment I investigate Perlin noise, and end by making a fantasy map
Jun 30, 2024

Using OSX Shortcuts to copy Perplexity.ai responses to markdown apps (Bear, Quarto)

artificial intelligence
productivity
“I … am rarely happier than when spending an entire day programming my computer to perform automatically a task that would otherwise take me a good ten seconds to do by hand.”
Jun 20, 2024

Markdown features that can be exported from Quarto to Confluence

confluence
productivity
quarto
Previously I did a test to export content from Quarto to Confluence. It worked, and very well! You can read about that here: Markdown features that can be exported from…
Apr 24, 2024

Diagrams from Python, exported to Confluence

confluence
productivity
quarto
Final test in this series, can I include a diagram drawn with Python?
Apr 24, 2024

Features in Confluence’s own storage format that can be exported into Confluence

confluence
productivity
quarto
My previous test was to see which basic Quarto features I can export to Confluence. It went pretty well. You can read about that here: Markdown features that can be exported…
Apr 24, 2024

Using Quarto to create Confluence pages

confluence
productivity
quarto
Quarto is a great publishing system for charts and graphs. It allows you to generate data visualizations with Python and Plotly, Observable or whatever. Confluence is a…
Mar 8, 2024

Processing a podcast transcript with the ChatGPT API

artificial intelligence
chatgpt
python
I was going to use Python and the ChatGPT API to cut up a podcast transcript and process it. But I discovered I could just cut and paste the whole transcript (over 9k words)…
Feb 21, 2024

Using Google Sheets as a database for simple web applications

data
web development
Often when creating simple web apps you want a small and simple database for the data. It is also often a requirement to give someone else access to the database, and to…
Jan 31, 2024

Uncle Lubin - experiments with colour palettes

creativity
drawings
I’m a big fan of the ligne claire1 illustration style, which is basically clear strong lines filled with flat colour. I am also a fan of the eccentric drawings of Heath…
Jan 24, 2024

Connecting to ChatGPT via the API in Python

artificial intelligence
chatgpt
python
I connected to ChatGPT using the API in Python. I ran a couple of tests, which cost $0.01 to process.
Next step - take data from a database, process it, return results to…
Jan 17, 2024

A curious case of JSON data being out-of-sync

drupal
json
Update: this didn’t solve the problem. It was a bug in Drupal itself.
Dec 14, 2023

Image tests: format and size

info design
When I did these experiments I didn’t include the webp format, which may be a better one than any of these. More experiments needed.
Feb 16, 2023

More experiments with Stable Diffusion

artificial intelligence
Stable Diffusion V2 was released this week (Dec ’22), so I decided to do some experimentation with it. To do this I used the ImaginAIry Python code by Bryce Drennan. I also…
Dec 30, 2022

Experiments with Stable Diffusion

artificial intelligence
I created these images using the Stability Photoshop Plugin by the wonderful Christian Cantrell, with images generated utilizing the Dreamstudio service. It’s a paid-for…
Dec 3, 2022
No matching items