<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.2">Jekyll</generator><link href="https://rocksthinkpoorly.com/feed.xml" rel="self" type="application/atom+xml" /><link href="https://rocksthinkpoorly.com/" rel="alternate" type="text/html" /><updated>2023-01-08T10:23:13+00:00</updated><id>https://rocksthinkpoorly.com/feed.xml</id><title type="html">Rocks Think Poorly</title><subtitle>Stewart Smith's programming blog, tech guide, and other tech stuff.</subtitle><author><name>Stewart Smith</name></author><entry><title type="html">Systemd Default Working Directory</title><link href="https://rocksthinkpoorly.com/guide/2021/06/24/systemd-default-working-directory.html" rel="alternate" type="text/html" title="Systemd Default Working Directory" /><published>2021-06-24T19:40:36+00:00</published><updated>2021-06-24T19:40:36+00:00</updated><id>https://rocksthinkpoorly.com/guide/2021/06/24/systemd-default-working-directory</id><author><name>Stewart Smith</name></author><category term="guide" /><category term="linux" /><category term="systemd" /><summary type="html">The default working directory for a systemd service is relative to the root of the system running the service manager. This is likely /. The default working directory is used when WorkingDirectory= is not set in the service configuration file, *.service.</summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://rocksthinkpoorly.com/assets/posts/systemd-light.png" /><media:content medium="image" url="https://rocksthinkpoorly.com/assets/posts/systemd-light.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Pre-C++17 Alternative to C++ 17 Structured Binding: Unpacking</title><link href="https://rocksthinkpoorly.com/guide/2021/06/21/alternative-c++-structured-binding-unpacking.html" rel="alternate" type="text/html" title="Pre-C++17 Alternative to C++ 17 Structured Binding: Unpacking" /><published>2021-06-21T14:37:46+00:00</published><updated>2021-06-21T14:37:46+00:00</updated><id>https://rocksthinkpoorly.com/guide/2021/06/21/alternative-c++-structured-binding-unpacking</id><author><name>Stewart Smith</name></author><category term="guide" /><category term="c++" /><category term="structured binding" /><category term="unpacking" /><summary type="html">Structured Binding Structured binding, introduced in C++17, is the ability to decompose an object into its subobjects or elements and bind them to, for example, variables.</summary></entry><entry><title type="html">Create Share Links To Mobile Apps Like Whatsapp and Messenger</title><link href="https://rocksthinkpoorly.com/guide/2021/06/09/mobile-app-share-links-from-web.html" rel="alternate" type="text/html" title="Create Share Links To Mobile Apps Like Whatsapp and Messenger" /><published>2021-06-09T20:02:12+00:00</published><updated>2021-06-09T20:02:12+00:00</updated><id>https://rocksthinkpoorly.com/guide/2021/06/09/mobile-app-share-links-from-web</id><author><name>Stewart Smith</name></author><category term="guide" /><category term="webdev" /><category term="mobile" /><category term="deep linking" /><category term="css" /><category term="whatsapp" /><category term="messenger" /><summary type="html">When sharing content on mobile people want to share with their peers over their favourite messaging app. These days that’s Whatsapp and Messenger. I’ll show you how to create links to Whatsapp and Messenger from your website and how to hide them on desktop where the apps aren’t available.</summary></entry><entry><title type="html">Easily Hide DOM Elements By Platform With CSS</title><link href="https://rocksthinkpoorly.com/guide/2021/06/09/hide-dom-elements-by-platform-css.html" rel="alternate" type="text/html" title="Easily Hide DOM Elements By Platform With CSS" /><published>2021-06-09T19:41:19+00:00</published><updated>2021-06-09T19:41:19+00:00</updated><id>https://rocksthinkpoorly.com/guide/2021/06/09/hide-dom-elements-by-platform-css</id><author><name>Stewart Smith</name></author><category term="guide" /><category term="webdev" /><category term="css" /><category term="sass" /><category term="scss" /><category term="mobile" /><summary type="html">Sometimes certain parts of a website only work on a certain platform. Mobile deep links are a good example of this; certain deep links can’t be handled on desktop. Use this CSS technique to hide Document Object Model (DOM) elements from the user based on whether they are on mobile or desktop.</summary></entry><entry><title type="html">Finding A Path Generation Bug In CMake</title><link href="https://rocksthinkpoorly.com/blog/2021/06/04/finding-path-gen-bug-in-cmake.html" rel="alternate" type="text/html" title="Finding A Path Generation Bug In CMake" /><published>2021-06-04T06:40:38+00:00</published><updated>2021-06-04T06:40:38+00:00</updated><id>https://rocksthinkpoorly.com/blog/2021/06/04/finding-path-gen-bug-in-cmake</id><author><name>Stewart Smith</name></author><category term="blog" /><category term="bug" /><category term="investigation" /><category term="cmake" /><category term="makefile" /><category term="nmake" /><category term="debug" /><summary type="html">Bug report for the impatient. Have you ever had one of those nights? You know the ones where you sit down to do the coding you really want to do. Not your day job stuff. No no, the good stuff. That side project you’ve been thinking about all week. You sit down and spend a few uninterrupted hours working in sweet bliss, then head to bed happy with yourself. This is not one of those nights.</summary></entry><entry><title type="html">Debugging Typescript tsc Builds</title><link href="https://rocksthinkpoorly.com/guide/2021/06/01/debug-tsc-builds.html" rel="alternate" type="text/html" title="Debugging Typescript tsc Builds" /><published>2021-06-01T19:05:49+00:00</published><updated>2021-06-01T19:05:49+00:00</updated><id>https://rocksthinkpoorly.com/guide/2021/06/01/debug-tsc-builds</id><author><name>Stewart Smith</name></author><category term="guide" /><category term="typescript" /><category term="tsc" /><category term="debugging" /><category term="compiler" /><category term="build system" /><summary type="html">Setting up or modifying Typescript builds can be finicky. Here’s a collection of Typescript compiler (tsc) commands that are useful for debugging.</summary></entry><entry><title type="html">C++ Implicit Conversion to Boolean, A Love Letter</title><link href="https://rocksthinkpoorly.com/blog/2021/06/01/c++-boolean-implicit-conversion.html" rel="alternate" type="text/html" title="C++ Implicit Conversion to Boolean, A Love Letter" /><published>2021-06-01T03:26:35+00:00</published><updated>2021-06-01T03:26:35+00:00</updated><id>https://rocksthinkpoorly.com/blog/2021/06/01/c++-boolean-implicit-conversion</id><author><name>Stewart Smith</name></author><category term="blog" /><category term="c++" /><category term="implicit conversion" /><category term="gotcha" /><summary type="html">Dear C++ We’ve known each other a while. Oh how we danced together, laughed together, cried together. But I must confess some distress. Your dirty little secret is out.</summary></entry><entry><title type="html">C++ Template Deduction With Pointers</title><link href="https://rocksthinkpoorly.com/blog/2021/05/30/c++-template-deduction-with-pointers.html" rel="alternate" type="text/html" title="C++ Template Deduction With Pointers" /><published>2021-05-30T15:13:40+00:00</published><updated>2021-05-30T15:13:40+00:00</updated><id>https://rocksthinkpoorly.com/blog/2021/05/30/c++-template-deduction-with-pointers</id><author><name>Stewart Smith</name></author><category term="blog" /><category term="c++" /><category term="template deduction" /><summary type="html">C++ got me again recently. It’s easy to make a mistake with template deduction, especially when you confuse it with function overloads.</summary></entry><entry><title type="html">Multiple External HDMI Displays and/or a KVM Switch with a MacBook</title><link href="https://rocksthinkpoorly.com/guide/2020/05/19/multiple-external-displays-kvm-switch-on-mac.html" rel="alternate" type="text/html" title="Multiple External HDMI Displays and/or a KVM Switch with a MacBook" /><published>2020-05-19T00:00:00+00:00</published><updated>2020-05-19T00:00:00+00:00</updated><id>https://rocksthinkpoorly.com/guide/2020/05/19/multiple-external-displays-kvm-switch-on-mac</id><author><name>Stewart Smith</name></author><category term="guide" /><category term="mac" /><category term="display" /><category term="kvm switch" /><summary type="html">This article covers how to attach two or more displays to a MacBook, specifically a MacBook Pro. Both directly connecting the MacBook to the external displays and using a KVM switch are covered. Due to some quirks with Apple hardware I had to go through a few setups myself before I got it all working properly. I hope to save you the trouble.</summary></entry><entry><title type="html">Bluetooth Sucks</title><link href="https://rocksthinkpoorly.com/blog/2020/04/27/bluetooth-sucks.html" rel="alternate" type="text/html" title="Bluetooth Sucks" /><published>2020-04-27T04:47:32+00:00</published><updated>2020-04-27T04:47:32+00:00</updated><id>https://rocksthinkpoorly.com/blog/2020/04/27/bluetooth-sucks</id><author><name>Stewart Smith</name></author><category term="blog" /><category term="rant" /><category term="software quality" /><category term="bluetooth" /><category term="meditation" /><summary type="html">Yeah, It Does It’s another weekday during COVID-19 quarantine. Day 50? 55? I lost count. To help keep myself sane I’ve taken up meditation. It’s good for my soul on rough days like this. I’m frustrated. Between the trains, birds, and my upstairs neighbour’s AC I snapped and couldn’t sleep last night. I wasn’t very productive at work today and it’s got me wound up. Meditate, that’s what I’ll do; inner zen the crap out of my day.</summary></entry></feed>