Dino’s Journal 📖

SoftwareDevelopment

At the start of this year, I decided to stop writing to my dev blog and instead start publishing software development posts on this journal.

I loved the ease of publishing new software development content to this journal using write.as. But I didn't really like how it all turned out. Specifically, I thought it was jarring to be reading a post on SQL Server, then hit the homepage to find posts on video games and God. It felt awkward to me.

So, I decided to once again start publishing software development posts to a dedicated software development blog. This time around, instead of going back to a static site generator, I spun up a new dev blog on write.as. I'm hoping that the ease of publishing new content outweighs the drawbacks of having yet another website to maintain. We'll see how it goes.

Read more...

I went from an Archive Page that used an embedded Glitch app, to a static Archive Page.

Previously, I used an embedded Glitch app to dynamically create the contents for my Archive page. It worked well, but it was also slow. It was slow because every time you visit the page, the Glitch app had to wake up, then pull all my write.as posts and finally display them in a list. The slowness was a stark contrast to other pages on this site — most of which load very quickly. I also didn't like the idea of depending on a third-party service to serve up the contents of my Archive page.

So, I've been wanting to switch to a static Archive page for awhile now. My problem was that I already had over 350 posts on this site. To get me started, I needed a way to quickly generate a list of all posts on this site. For this, I created a .NET Core console app. This app would get all my posts using the write.as API. Then the app would spit out the list of all posts in HTML format. My first pass actually had it spitting out text in Markdown. But I quickly ran into issues with Markdown and <div> elements not playing well together. So, HTML it was. Anyway, once I had the output on a text file, all I had to do was copy over the HTML and paste it into my Archive page.

Read more...

I was inspired by Erik's post on software development testing, that I ended up writing about my own experience with bug fix testing on my dev blog.

Link: Write Tests Before Bug Fixes

Tags: #SoftwareDevelopment

Discuss... or leave me a comment below.