FUCK. 78 calendar days. I'm exhausted: this is the longest I've ever worked on a 2-page site. To try to convince myself this wasn't a futile effort, I figured I'd take a moment to jot down all the things that I accomplished and learned along the way–often while getting nerd sniped on things that were … Continue reading Go-powered Bakersfield Technology is finally live. It’s been one of the biggest learning experiences of my career.
Templating languages are puritanical nonsense
Simple things should be simple, and complex things should be possible? Nah. Fuck you. We're gonna put artificial constraints on you because you might stub your toes some day. This is open source, so I can't be too upset. But damn it's irritating. PHP, erb, JSX, are really just a lot better. I dislike using … Continue reading Templating languages are puritanical nonsense
Markdown parsing and first merge conflict in Neovim
At work I had to deal with my first merge conflict in the Fugitive Vim plugin. I hard noped out to VS Code: it was a busy day and I couldn't spend all of it figuring out how to best deal with this in Neovim. I'm learning Neovim to become a better programmer, but I … Continue reading Markdown parsing and first merge conflict in Neovim
Resuming daily commits & touch typing
I'm officially able to be some level of productive at coding with Neovim, so after a long hiatus on rebuilding the Bakersfield Technology site with Go, I'm back at it. I went on some weirdly long side-quests to write about Vite and learn Neovim. Learning Vite was in service of this Go project, and I'll … Continue reading Resuming daily commits & touch typing
Second Impressions of Echo and Templ
I put Go on hold for a few weeks as I jumped into Vite, but now I'm back on the saddle. I'm rebuilding Bakersfield Technology with Go, and I chose Echo and Templ for my router and template layer respectively. And I'm pretty surprised to say I'm not loving it. Echo feels like I'm swimming … Continue reading Second Impressions of Echo and Templ
Go REPLs
REPLs are one of my most important tools for learning languages. I constantly drop to the REPL in Python, PHP, JS & Ruby to understand how a language works. Go doesn't have a built-in REPL. Worse yet, Go requires a fair bit of boilerplate to do anything. package mainimport fmtfunc main() { fmt.Println("Hello, world!")} That's … Continue reading Go REPLs
First impressions of templ
I've moved from templ's watcher to Air for running and reloading my applications. So far, templ is pretty neat. I've gotta say it's not quite the slam dunk I was hoping for though. I'm less than an hour into using templ, but I figured I'd capture my initial thoughts. templ seems to stick an impossible … Continue reading First impressions of templ
Exploring the hidden Templ
My next Go project is rebuilding bakersfieldtechnology.com. This project is less about learning new Go features than it is about seeing how it feels hooking Go up with JS build tools and trying out Templ. Templ serves the roughly the same purpose as Ruby's ViewComponent library, where it offers composable templating with some idea of … Continue reading Exploring the hidden Templ
Finished my WordPress/Go project
And fuck all that noise. WordPress is awful, and containerizing PHP is even worse. Never again with this shit. Moving onto better Go projects now. https://github.com/tylerlwsmith/headless-wp-with-go-frontend
Two days until my Go/WordPress amalgamation is complete
I worked on my Go app today. The code is complete, so now we're moving onto packaging. I managed to hammer out the development and production stages of the Dockerfiles. I made the README far worse than it was, but it's got a rough structure now, even if it's currently work-in-progress nonsense. It'll be done … Continue reading Two days until my Go/WordPress amalgamation is complete