go

my code is hard to explain

I am currently at a weekly jam session at a bar called Mo Jam Mondays. It is pretty fun to hang out here so that I get a chance to play bass live and while I wait for my turn, write some code to some

November 4, 2024 · breadchris

go struct to ai stuff

Being able to develop go in an interpreter feels magical. I feel like I can fly through errors or web design iterations. The particular feature I was working on today was something I have been wanting

October 15, 2024 · breadchris

Static Site Generation, Again

I got the static site generation working while working on the plane! It feels pretty hacker to be able to have a vision of what you want to work on and then have it come to life so quickly. The static

October 3, 2024 · breadchris

Testing syntax highlighting in the blog

This is some godom code that syntax highlighting should pick up on for the blog. func RenderHome(state HomeState) *Node { var articles []*Node for _, post := range state.Posts { articles = append(

September 22, 2024 · breadchris

excited about coding

I am really happy with the progress that I have been making with the site. I feel like I have really embraced the ethos of hacking and I find myself having an easier time letting go of what my past se

September 22, 2024 · breadchris

The Go Proposal Process

Underneath the syntax and runtime is a very important system that is often overlooked in a language. Usually, there is "the person" who built the language, and successful languages often come from the

April 2, 2024 · breadchris

notes about coroutines?

Even though the "go" keyword is the same name as the language, you would think this is more commonly used. From my experience, go developers, including myself, will avoid using go routines and channel

March 28, 2024 · breadchris

The case for a single binary

In the realm of software development, the dichotomy between local development environments and production settings presents a notable challenge. The ideal scenario is where both environments mirror ea

March 11, 2024 · breadchris

go dependency injection

Dependency injection has radically increased my programming rate. When everything is designed as a module, you find yourself constantly reusing things you have already written since it is the path of

March 8, 2024 · breadchris

anatomy of syntax

Something I do not see often in programming language books is a concise explanation of semantic structures that are typically used. For example, in a Java method, there are different modifiers you can

March 1, 2024 · breadchris

a stupid bug

func (f *SQLiteFile) getTotalSize() (int64, error) { query := SELECT COUNT(*), COALESCE(LENGTH(fragment), 0) FROM file_fragments WHERE file_id = (SELECT id FROM file_metadata WHERE path = ?) ORDE

February 29, 2024 · breadchris

finding a balance while coding

When coding, have you ever stopped to ask the question: why am I doing this? Maybe it is a fleeting thought before you return to squeezing out a few more milliseconds on your page load. As creators of

February 26, 2024 · breadchris

go test

Testing in software development often finds itself at the tail end of the feature development cycle, sometimes viewed as a necessary evil to uphold code coverage metrics rather than an integral part o

February 23, 2024 · breadchris

go run

It may seem silly, but go run is my favorite part about go. Want to run your code? go run main.go. It is so stupidly simple that I could tell my mom about this command, and she would immediately under

February 21, 2024 · breadchris

Build dope shit with go

The goal for this year is to: "write and publish something every day." So far I have been doing a good job keeping up with this. In my pursuit to build larger compositions of thoughts, next year will

February 13, 2024 · breadchris

Why you should learn Go

You are a FAANG developer who writes excellent Go. You are inspired by the writing of Rob Pike. Write a bulleted list on why a developer who codes in scripting dynamic languages is unfamiliar with Go

February 8, 2024 · breadchris