journal
all all entries rss SoML excited dreams runes YRUU ultimate KTRU skate sleepy nihongo
Rob is 20,354 days old today.
prev day next day printable version

Entries this day: arrived-at-dps-airport-in-bali different-way-of-synchronizing-my-quick-journal-entries india-is-calling-me last-few-pics-in-bali no-power-twice plandex-is-cool thinking-about-quick

arrived at dps airport in bali

Chillin with Jess in the airport at Fresh, with free wifi and yummy vegan food and drinks.

permalink

different way of synchronizing my quick journal entries

Instead of trying to use ssh or rsync, I've now got my server using git to save journal entries in branch tempospoon which I plan to pull locally, then change as I see fit, then merge into main while keeping up with my backwards story and keeping tempospoon branch intact.

Still gotta figure out the last bit.

I've got a few test entries on tempospoon but this is the only one I want to keep. If you can see it on my site, it's a good sign future me figured it out.

permalink

india is calling me

On September 28th, my mala helped start a conversation with Praveen (Prawin), a man from India who was headed out of the park where we had been visiting spider lilys. We ended up talking for hours, especially after his friend Alok joined us.

I told them I've always been afraid to go to India because of the outright lies I've gotten. They agreed those sometimes happen, but greatly encouraged me to go sometime, and just be aware while I'm there.

They encouraged me to visit a couple of different cities, temples, ashrams, gurus.

Neem Karoli Baba

Amritsar Golden Temple

Gudawara Bunkyo-ku

Nishi Kasai Diwali

Dalia Superfood

Iskcon Tokyo

They went to an Indian festival near NHK so I went with them as it's near my favorite Yoyogi Park plus my train line. Great time trying different food and watching the dancers on stage.

I headed out when my internal alarm sounded and saw Mark In The Park on the stairs so I said HI to him.

Oh, I forgot, so then 6 days later while in Bali with Jess, we met a woman who said she loves India and goes every year for months at a time. Hmmm!

India is calling me!

permalink

last few pics in bali

2024 oct 13 bread in bed by pool 1000 2024 oct 13 hammock on roof 1000 2024 oct 13 digital hotel 1000

Did I upload these already?

See, I need a Quick editor!

permalink

no power twice

The power cut off at the juice bar so I decided to go for a walk with 5 hours to go before I'm allowed to go into the airport.

2024 oct 13 capsule hotel 1000

I found a capsule hotel in DPS airport where I can rest. Yayyyy!

but not plug in my computer!!?! boooo!

permalink

plandex is cool

It's just too convenient to ignore.

The code ain't perfect, but it's prettier than ugly HTML with loads of CSS tags and such.

permalink

thinking about quick

Quick is my replacement for Quill, which, last I checked, wasn't updated (*) to PHP 8, though my servers have been.

I wasn't using much of Quill's features, so I just slapped together a thing to save journal entries via a web form.

However, there are some bonus features I'm building into Quick, which make the whole setup a Frankenstein extravaganza. Details, for the curious 🧐:

The files are saved to a journal/yyyy/mm/ directory structure which nestles nicely into my Hugo-driven static website. This journal directory is tracked by my git repo in which I've been writing a story backwards in the commit messages, one word at a time.

Because I want to manually confirm each word in the backwards story is correct, I only commit them manually, on my local laptop (currently my System76 Lemur). Because they are saved by Quick on a remote server, I need a reliable way to get just the files from the server to my local machine.

For the past couple (?) of years, until two days ago, I was using scp to get the files which hadn't been added to the git repo. However, in order to store them locally in the correct location, I need to SCP them one at a time. That causes the remote server to get mad 😡 and block SCP connections after about four files (I was doing one connection to get the list of files, then for each file, one connection to copy it locally, and then a second connection to move it out of that remote directory so it wouldn't (a) be copied again, and (b) cause problems with git (when that repo is updated with the same named files in a locally manually created git commit)).

Three(?) days ago I tried using rsync, but couldn't get it to just get the few files.

A couple days ago, I realized I can use git, so now, my basic setup is:

  • save files on remote server (already done years ago)
  • commit files to a new temporary branch on remote server
  • push temporary branch to remote
  • delete old temp branch on server and remote
  • locally get new temporary branch
  • `git merge --squash` temporary branch
  • manually check next word in backwards story
  • commit new word with any changes as needed

Yesterday (as I write this while with Quick while on the train with Jess to Nagano) when the power cut off at the airport, I was using plandex to make updates to the code:

  • Check if master branch is ahead of temporary branch
  • If so, delete the old temp branch on server and remote

Next plans are to wrap these commands in functions to make the code more legible, less verbose, and slightly more beautiful.

(*) Quill was updated in the last month, but the recent commit messages don't look like they address PHP 8 issues. https://github.com/aaronpk/Quill/commit/8ecaed3d2f5a19bf1a5c4cb077658e1bd3bc8438

permalink
prev day next day