<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Teal Studios Blog</title><link>http://blog.tealstudios.com/posts/</link><description>Recent content in Posts on Teal Studios Blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Fri, 06 Jan 2023 08:50:55 -0500</lastBuildDate><atom:link href="http://blog.tealstudios.com/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Please Don't Do This</title><link>http://blog.tealstudios.com/posts/please-dont-do-this/</link><pubDate>Fri, 06 Jan 2023 08:50:55 -0500</pubDate><guid>http://blog.tealstudios.com/posts/please-dont-do-this/</guid><description>So I was working with a popular, open-source C library and came across something like this:
#if defined(!WINDOWS) // Make things portable #define closesocket close // etc... #endif I&amp;rsquo;m not going to state which library as the details don&amp;rsquo;t really matter here.
Please don&amp;rsquo;t do this! My code was written in C++ and used another C++ cross-platform wrapper library that had its own class members named &amp;ldquo;closesocket&amp;rdquo; and &amp;ldquo;close.&amp;rdquo; For the sake of clarity, let&amp;rsquo;s call them Lib::closesocket() and Lib::close().</description></item><item><title>CLion’s New UI is Crap</title><link>http://blog.tealstudios.com/posts/clions-new-ui-is-crap/</link><pubDate>Thu, 01 Dec 2022 00:00:00 +0000</pubDate><guid>http://blog.tealstudios.com/posts/clions-new-ui-is-crap/</guid><description>So I use CLion as my C++ IDE at work. One reason why I like it is that it doesn’t really force you to do things its own way like many other IDEs do. It’s pretty flexible in letting you do things the way you like best.
The latest update includes a beta version of the new UI that JetBrains plans to move all its IDEs to. I’m not a fan.</description></item><item><title>The Blog Has Returned</title><link>http://blog.tealstudios.com/posts/blog-has-returned/</link><pubDate>Mon, 28 Nov 2022 10:59:35 -0500</pubDate><guid>http://blog.tealstudios.com/posts/blog-has-returned/</guid><description>So after a long hiatus, monkeying around with several different site solutions, and so on, I&amp;rsquo;ve resurrected my blog. Instead of using Wordpress or anything like that, I&amp;rsquo;ve decided to go with Hugo instead.
I realized that since this blog will be static content, I can use a nice static generator to create it and update it via rsync or similar technologies. I also don&amp;rsquo;t care about lacking the ability for people to post comments as, frankly, most of them are spam and I don&amp;rsquo;t want to deal with it.</description></item></channel></rss>