lzon_ca

@lzon
12 Followers
13 Following
72 Posts

I'm Lzon, and this is the official account for my personal site, https://lzon.ca.

I like to code, to write, and to cook.

This account isn't automated, and I check it regularly. If you message me I'll try to respond.

#indieweb #smallweb #rss #blogging #personalweb

URLhttps://lzon.ca

A maybe type for C++

Here’s an idea I had for a useful C++ class that adds a little syntactic sugar to null pointer checking.

https://lzon.ca/posts/tips/cpp-maybe-type/

#IndieWeb #PersonalWeb #Blog #TechTips #Programming #Cpp #CPlusPlus

Lzon.ca. A personal blog, by a programmer and IT expert.

A personal blog, by a programmer and IT expert. Essays, Articles, Guides, and Recipes. As well as Code, Quotes, and Links.

Minor site update

I've updated the games section of my /uses page, including support for inline gifs/videos.
I've been working on a new project and haven't had time to write, so I
wanted to do something small that I could publish. Check it out!

https://lzon.ca/more/uses/games

#IndieWeb #PersonalWeb #Blog #Gaming

Lzon.ca. A personal blog, by a programmer and IT expert.

A personal blog, by a programmer and IT expert. Essays, Articles, Guides, and Recipes. As well as Code, Quotes, and Links.

A result type for C++

I wrote my own version of the very useful ‘result type’ pattern for C++.
https://lzon.ca/posts/tips/cpp-result-type/

#IndieWeb #PersonalWeb #Blog #TechTips #Programming #Cpp #CPlusPlus

Lzon.ca. A personal blog, by a programmer and IT expert.

A personal blog, by a programmer and IT expert. Essays, Articles, Guides, and Recipes. As well as Code, Quotes, and Links.

I've added a few new photos to an old post I made about Chip Nuts.
If you haven't already, check it out!

https://lzon.ca/posts/series/grateful/chip-nuts/

#IndieWeb #PersonalWeb #Blog #Ontario #CanadianFood #LocalFood #Peanuts

Lzon.ca. A personal blog, by a programmer and IT expert.

A personal blog, by a programmer and IT expert. Essays, Articles, Guides, and Recipes. As well as Code, Quotes, and Links.

YouTube channels worth following

Here’s a few good Youtube channels that you may find interesting.
https://lzon.ca/posts/other/good-youtube-channels/

#IndieWeb #PersonalWeb #Blog #Technology #Linux #YouTube #Recommendations

Lzon.ca. A personal blog, by a programmer and IT expert.

A personal blog, by a programmer and IT expert. Essays, Articles, Guides, and Recipes. As well as Code, Quotes, and Links.

A hack for Zola SSG feed templates

Here’s an interesting little hack I discovered for the Zola static site generator.
https://lzon.ca/posts/tips/zola-feed-hack/

#IndieWeb #PersonalWeb #Blog #ZolaSSG #StaticSiteGenerator #WebDev

Lzon.ca. A personal blog, by a programmer and IT expert.

A personal blog, by a programmer and IT expert. Essays, Articles, Guides, and Recipes. As well as Code, Quotes, and Links.

News & Feeds

This is what I’ve been working recently on the site.
https://lzon.ca/posts/site/news-feed-update/

#IndieWeb #PersonalWeb #Blog

Lzon.ca. A personal blog, by a programmer and IT expert.

A personal blog, by a programmer and IT expert. Essays, Articles, Guides, and Recipes. As well as Code, Quotes, and Links.

Answer is A

Yes, this is valid, see [class.union.anon]p2: https://eel.is/c++draft/class.union.anon#2

"An anonymous union declared in the scope of a namespace with external linkage shall use the storage-class-specifier static"

[class.union.anon]

Gratitude for an Open Android

Today I’m grateful for the open Android operating system.
https://lzon.ca/posts/series/grateful/keep-android-open/

#IndieWeb #PersonalWeb #Blog #KeepAndroidOpen #Android #Google #RightToRepair

Lzon.ca. A personal blog, by a programmer and IT expert.

A personal blog, by a programmer and IT expert. Essays, Articles, Guides, and Recipes. As well as Code, Quotes, and Links.

How to make a single instance program in C++

I just discovered a neat trick for enforcing a single instance of a C++ program.
https://lzon.ca/posts/tips/cpp-single-instance/

#IndieWeb #PersonalWeb #Blog #TechTips #Programming #Cpp #CPlusPlus

Lzon.ca. A personal blog, by a programmer and IT expert.

A personal blog, by a programmer and IT expert. Essays, Articles, Guides, and Recipes. As well as Code, Quotes, and Links.