2023-12-10 19:26:25

So… showable progress on the little static mobile headless web app thing.

This little tool:

– Scraped the REST API of my local copy of my blog
– Saved all the JSON responses as static files
– Indexed using Pagefind (pagefind.app/)
– Has a thin JS (actually Alpine.js) and HTML layer on top
– 100% static files!

Neat!

Not QUITE ready for consumption yet. And has MANY caveats. But no reason it shouldn't work with simple blog sites.

2023-12-10 09:55:10

Another thing about this is: Gosh coding a clean PHP project with types and data objects and services and PHPStorm/static analysis is a JOY!!

I’ve said this before – I FLY in this environment.

2023-12-10 09:43:05

Also: I’ve now added to my list of things-a-web-dev-must-build that I have built:

– Chatbot
– Todo list
– Static site generator
– Geolocation app
– Snake game
– Simple social network/chat
– CMS
– Cards Against Humanity clone
– Wordle clone
– Mobile headless app framework

I think I just need to make a drag-and-drop Kanban board and I’ve qualified! 😂

2023-12-10 09:35:46

… I figured if I constrained it I could make this a framework/toolkit.

I’m well on the way with this! I have a nice CLI scraping tool. Grabs and saves all the JSON.

In theory I can just layer my little web app code on top and be done! Yay!

However, I recently found Pagefind – a static site search library: pagefind.app/

I wanted to integrate this. BUT it crawls HTML pages.

So I’m wondering if I need to to save and serve HTML instead of JSON.

Hmm…

2023-12-10 09:31:19

A while ago I made a little web app that re-presents a very static website in an app-like interface. This is private because it’s technically using copyrighted content (I own the book, FWIW, and the website version of the content is free to view).

I made this by scraping the content using the WordPress REST API and storing/serving the resulting JSON statically.

It’s effectively a simple headless content app! …

2023-12-05 10:31:18

I did some looking around…Websites that sell to developers have virtually NO PEOPLE on them!!

– Vectors, illustrations, screenshots
– Show-me-the-product
– Very few pop-ups and exit intents (even without ad blockers)
– Lots of dark mode

What does this say about marketing to this audience? 🤔

2023-12-02 09:06:05

Well, THIS is interesting. An argument that you should commit ALL your dependencies (including build toolchain) to version control. I get the argument. Is this practical anywhere right now?

https://www.forrestthewoods.com/blog/depen

2023-12-01 11:21:10

I'm not sure the right photo won the Comedy Wildlife Photography Awards (the owl is the best, IMO!). But they're a fun Friday thing:

https://www.comedywildlifephoto.com/galler

2023-12-01 08:01:57

I’m not a fancy car dude. But the novelty of remote controlling it to turn the heater and demister on is going to take a while to fade. 😃

2023-11-29 21:42:33

So I started writing this little web-app version of an old WordPress site that consumed the API.

And now… of course… I'm thinking I might be able to abstract it into a universal generator for statically-served, mobile-friendly web-apps based on WordPress sites.

No, Ross. You don't need to do this!!!! 😂

2023-11-27 23:25:45

AI thoughts continued…

– I should say that my wife’s CV is excellent. And that has very little to do with the few tiny things that I helped with while proof reading.

– No AI was involved in writing my wife’s CV (if future employers are reading)…

– … but even if it was, is that a bad thing?

– I really don’t know what to make of these LLMs and chat interfaces, but the questions and conversations around them are FASCINATING!!

– “It’s like a thesaurus, but for whole paragraphs!” 😎

2023-11-27 23:20:16

AI thoughts continued…

Doesn’t the AI make stuff up? It doesn’t understand anything!

Sometimes. You can fact check it. Humans are still required. And so what if it doesn’t understanding anything? Do *I* understand your CV?

Maybe. But I’ve seen a bunch of CVs and CV writing advice and I kinda know how to structure a good CV. I’ve seen what you’ve written and edited it into that kind of format. You’ll still read it and make changes to what I’ve done.

That’s no different to asking ChatGPT.

2023-11-27 23:13:37

AI thoughts…

My wife has been writing a new CV these last few days. She has had me review it.

I suggested ChatGPT could help with editing. She says this is “wrong”.

“Why?”, I ask.

Because I don’t want to outsource the work to a machine.

So you outsourced it to me?

But you’re not a machine?

What if I told you I got ChatGPT to help rewrite your personal statement?

(I didn’t – it was just a thought experiment)

2023-11-26 21:01:14

Interesting little weekend project:
– There’s an old WordPress site with static content. It’s not mobile friendly.
– The REST API works so I can grab all the post JSON.
– Now I can rebuild all the pages and logic
– But for fun… can I use the JSON files as a static “headless” API and build an app-like front end?
– I chose AlpineJS but it has no routing. It’s the wrong tool.
– But I’ll persevere. It’s just a toy project!!

2023-11-25 23:06:16

I want to post this without comment because it is just perfectly executed and brilliant.

But you need to know what it's about: It's slides and script of a superb talk about the costs and benefits of adopting new technology.

It should be required reading for people working in tech.

boringtechnology.club/