<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>TIL on Christopher Tyler</title><link>https://cetyler.github.io/til/</link><description>Recent content in TIL on Christopher Tyler</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2026, Christopher Tyler.</copyright><atom:link href="https://cetyler.github.io/til/index.xml" rel="self" type="application/rss+xml"/><item><title>Use pytest-xdist to Speed Up Testing</title><link>https://cetyler.github.io/til/2026/2026-7-18_pytest-dist-testing/</link><pubDate>Sat, 18 Jul 2026 13:44:04 -0500</pubDate><guid>https://cetyler.github.io/til/2026/2026-7-18_pytest-dist-testing/</guid><description>I was able to reduce my tests from ~25 minutes to ~5 minutes.</description></item><item><title>How to Remove a Stubborn Snap</title><link>https://cetyler.github.io/til/2026/2026-7-11_remove_snap/</link><pubDate>Sat, 11 Jul 2026 21:00:40 -0500</pubDate><guid>https://cetyler.github.io/til/2026/2026-7-11_remove_snap/</guid><description>I was getting a failed to remove base directory error.</description></item><item><title>Using uv and subprocess module</title><link>https://cetyler.github.io/til/2026/2026-5-29_uv_subprocess_python/</link><pubDate>Fri, 29 May 2026 20:34:06 -0500</pubDate><guid>https://cetyler.github.io/til/2026/2026-5-29_uv_subprocess_python/</guid><description>Need to be careful when using uv to call a Python program with subprocesses</description></item><item><title>The Git Commands I Run Before Reading Any Code</title><link>https://cetyler.github.io/til/2026/2026-5-2_git_new_project/</link><pubDate>Sat, 02 May 2026 18:10:27 -0500</pubDate><guid>https://cetyler.github.io/til/2026/2026-5-2_git_new_project/</guid><description>Five git log commands that diagnose a new codebase before you open a single file.</description></item><item><title>Python tip: name your unicode characters</title><link>https://cetyler.github.io/til/2026/2026-5-2_name_unicode/</link><pubDate>Sat, 02 May 2026 16:01:12 -0500</pubDate><guid>https://cetyler.github.io/til/2026/2026-5-2_name_unicode/</guid><description>Another helpful tip from Trey.</description></item><item><title>uv Python Upgrade</title><link>https://cetyler.github.io/til/2026/2026-5-2_uv_python_upgrade/</link><pubDate>Sat, 02 May 2026 15:41:06 -0500</pubDate><guid>https://cetyler.github.io/til/2026/2026-5-2_uv_python_upgrade/</guid><description>If you use uv, an easy way to update Python.</description></item><item><title>Find Error in pg_dump</title><link>https://cetyler.github.io/til/2023/2023-11-5_pg_dump_sed/</link><pubDate>Wed, 05 Nov 2025 23:52:55 -0500</pubDate><guid>https://cetyler.github.io/til/2023/2023-11-5_pg_dump_sed/</guid><description>Find this handy tip on Mastodon.</description></item><item><title>Use filter() instead of for loop</title><link>https://cetyler.github.io/til/2025/2025-10-18_use_filter/</link><pubDate>Sat, 18 Oct 2025 16:54:59 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_use_filter/</guid><description>A helpful tip to use Python&amp;rsquo;s built-ins.</description></item><item><title>How to Version in pyproject</title><link>https://cetyler.github.io/til/2025/2025-10-18_pyproject_version/</link><pubDate>Sat, 18 Oct 2025 16:35:28 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_pyproject_version/</guid><description>This is from the packaging project&amp;rsquo;s documentation.</description></item><item><title>Use SQL Linter</title><link>https://cetyler.github.io/til/2025/2025-10-18_sql_linter/</link><pubDate>Sat, 18 Oct 2025 16:22:58 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_sql_linter/</guid><description>With pre-commit, you can run the linter before each commit.</description></item><item><title>Bash trick: using grep for faster history search</title><link>https://cetyler.github.io/til/2025/2025-10-18_grep_history/</link><pubDate>Sat, 18 Oct 2025 16:19:13 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_grep_history/</guid><description>A nice alias to help search your bash history.</description></item><item><title>List table columns in PostgreSQL database</title><link>https://cetyler.github.io/til/2025/2025-10-18_list_tables_postgresql/</link><pubDate>Sat, 18 Oct 2025 16:13:43 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_list_tables_postgresql/</guid><description>An easy way to get all the tables in a given database.</description></item><item><title>Use Grep to Find Content and Move</title><link>https://cetyler.github.io/til/2025/2025-10-18_grep_file_move/</link><pubDate>Sat, 18 Oct 2025 15:59:38 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_grep_file_move/</guid><description>You can grep and move those files at the same time.</description></item><item><title>Remove Tracking File or Folder from Git</title><link>https://cetyler.github.io/til/2025/2025-10-18_remove_file_git/</link><pubDate>Sat, 18 Oct 2025 15:57:03 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_remove_file_git/</guid><description>How to remove a file from being tracked by git.</description></item><item><title>Last Updated Columns with Postgres</title><link>https://cetyler.github.io/til/2025/2025-10-18_postgres_updated_columns/</link><pubDate>Sat, 18 Oct 2025 15:31:38 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_postgres_updated_columns/</guid><description>Good article from Gunnar how to avoid using triggers.</description></item><item><title>Remove Telemetry from Streamlit</title><link>https://cetyler.github.io/til/2025/2025-10-18_streamlit_telemetry/</link><pubDate>Sat, 18 Oct 2025 15:24:48 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_streamlit_telemetry/</guid><description>Disable telemetry in StreamLit especially for work projects.</description></item><item><title>Data Alignment to Save Space</title><link>https://cetyler.github.io/til/2025/2025-9-18_data_alignment/</link><pubDate>Thu, 18 Sep 2025 16:46:50 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-9-18_data_alignment/</guid><description>While it was an excellent talk, this was my biggest takeaway.</description></item><item><title>Remove Characters from a String</title><link>https://cetyler.github.io/til/2025/2025-8-26_remove_string/</link><pubDate>Tue, 26 Aug 2025 14:41:40 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-8-26_remove_string/</guid><description>Needed to remove an email from a string of emails.</description></item><item><title>uv Cheatsheet</title><link>https://cetyler.github.io/til/2025/2025-08-26_uv/</link><pubDate>Tue, 26 Aug 2025 14:41:40 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-08-26_uv/</guid><description>Nice cheatsheet from Rodrigo.</description></item><item><title>Firefly III Personal Access Token Expires</title><link>https://cetyler.github.io/til/2025/2025-8-16_firefly_iii_api/</link><pubDate>Sat, 16 Aug 2025 17:41:40 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-8-16_firefly_iii_api/</guid><description>Access tokens expire and do not use the same name.</description></item><item><title>Start all of your commands with a comma</title><link>https://cetyler.github.io/til/2025/2025-7-25_comma_commands/</link><pubDate>Sat, 02 Aug 2025 22:43:35 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-7-25_comma_commands/</guid><description>Start with a comma for your commands to set them apart.</description></item><item><title>git diff with pytest</title><link>https://cetyler.github.io/til/2025/2025-7-18_git_diff_pytest/</link><pubDate>Wed, 30 Jul 2025 20:04:58 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-7-18_git_diff_pytest/</guid><description>An easy way to only run tests that have changed.</description></item><item><title>Get Schema Sizes</title><link>https://cetyler.github.io/til/2025/2025-7-29_schema_size/</link><pubDate>Tue, 29 Jul 2025 20:21:47 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-7-29_schema_size/</guid><description>Get the size of each schema in a database.</description></item><item><title>How to Append Text in PostgreSQL</title><link>https://cetyler.github.io/til/2025/2025-7-18_append_text_postgresql/</link><pubDate>Fri, 18 Jul 2025 13:40:09 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-7-18_append_text_postgresql/</guid><description>How to append text to a text column.</description></item><item><title>Python Gotcha: Logging an uncaught exception</title><link>https://cetyler.github.io/til/2025/2025-07-14_exception/</link><pubDate>Thu, 17 Jul 2025 14:41:40 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-07-14_exception/</guid><description>A much better method than a huge try/except block.</description></item><item><title>Linking to external files &amp; folders</title><link>https://cetyler.github.io/til/2025/2025-6-2_linking_obsidian/</link><pubDate>Mon, 02 Jun 2025 15:47:12 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-6-2_linking_obsidian/</guid><description>An easy way to link external files and folders.</description></item><item><title>Finding Differences in Images with Python and Pillow</title><link>https://cetyler.github.io/til/2025/2025-5-20_pillow/</link><pubDate>Tue, 20 May 2025 08:08:59 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-5-20_pillow/</guid><description>An easy way to determine the differences between images.</description></item><item><title>Install pre-commit with uv</title><link>https://cetyler.github.io/til/2025/2025-5-14_uv_precommit/</link><pubDate>Wed, 14 May 2025 07:50:59 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-5-14_uv_precommit/</guid><description>Conscise explanation of using uv and pre-commit.</description></item><item><title>A PostgreSQL planner gotcha with CTEs DELETE and LIMIT</title><link>https://cetyler.github.io/til/2025/2025-5-3_planner_oops/</link><pubDate>Sat, 03 May 2025 16:30:33 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-5-3_planner_oops/</guid><description>Good article from Shayon about CTEs and planner interactions.</description></item><item><title>Validating Data Types from Semi-Structured Data Loads in Postgres with pg_input_is_valid</title><link>https://cetyler.github.io/til/2025/2025-5-3_valid_types/</link><pubDate>Sat, 03 May 2025 16:08:59 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-5-3_valid_types/</guid><description>Yet another excellent article from Elizabeth.</description></item><item><title>SQL Noir</title><link>https://cetyler.github.io/til/2025/2025-5-3_sqlnoir/</link><pubDate>Sat, 03 May 2025 15:40:57 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-5-3_sqlnoir/</guid><description>Looks like a fun way to learn SQL.</description></item><item><title>PostgreSQL_Language Server</title><link>https://cetyler.github.io/til/2025/2025-5-3_postgres_lang_server/</link><pubDate>Sat, 03 May 2025 15:36:41 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-5-3_postgres_lang_server/</guid><description>Initial release of Postgres Language Server - a Language Server Protocol (LSP) implementation for Postgres.</description></item><item><title>selfh.sh</title><link>https://cetyler.github.io/til/2025/2025-5-3_slfh/</link><pubDate>Sat, 03 May 2025 15:25:14 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-5-3_slfh/</guid><description>Weekly newsletter for learning about self-hosted applications.</description></item><item><title>Python sh Package</title><link>https://cetyler.github.io/til/2025/2025-4-30_python_sh/</link><pubDate>Wed, 30 Apr 2025 19:03:42 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-30_python_sh/</guid><description>sh is a full-fledged subprocess replacement for Python 3.8 - 3.11, PyPy that allows you to call any program as if it were a function.</description></item><item><title>De-duplicate with sets &amp; dict.fromkeys</title><link>https://cetyler.github.io/til/2025/2025-04-16-sets/</link><pubDate>Wed, 16 Apr 2025 11:31:28 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-04-16-sets/</guid><description>Some more useful tips from Trey.</description></item><item><title>A Quick Guide to Generating Fake Data with Pandas</title><link>https://cetyler.github.io/til/2025/2025-4-6_fake_data/</link><pubDate>Sun, 06 Apr 2025 11:46:46 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_fake_data/</guid><description>A excellent article from Erin.</description></item><item><title>How to use Fuzzy String Matching with PostgreSQL</title><link>https://cetyler.github.io/til/2025/2025-4-6_fuzzy_postgresql/</link><pubDate>Sun, 06 Apr 2025 11:42:16 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_fuzzy_postgresql/</guid><description>Good article from Peter.</description></item><item><title>Writing Python Like It's Rust</title><link>https://cetyler.github.io/til/2025/2025-4-6_rust_python/</link><pubDate>Sun, 06 Apr 2025 11:38:22 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_rust_python/</guid><description>Good article from Jakub.</description></item><item><title>How to List Active Connections on PostgreSQL</title><link>https://cetyler.github.io/til/2025/2025-4-6_active_connection/</link><pubDate>Sun, 06 Apr 2025 11:36:10 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_active_connection/</guid><description>How to return the active connections.</description></item><item><title>Working with Time in Postgres</title><link>https://cetyler.github.io/til/2025/2025-4-6_postgres_time/</link><pubDate>Sun, 06 Apr 2025 11:33:38 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_postgres_time/</guid><description>Yet another good article from Elizabeth.</description></item><item><title>Vim Tips</title><link>https://cetyler.github.io/til/2025/2025-4-6_vim_tips/</link><pubDate>Sun, 06 Apr 2025 11:31:28 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_vim_tips/</guid><description>Some useful tips.</description></item><item><title>Escape Keys using psycopg2</title><link>https://cetyler.github.io/til/2025/2025-4-6_escape_keys/</link><pubDate>Sun, 06 Apr 2025 11:29:10 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_escape_keys/</guid><description>A mistake I seem to make repeatedly.</description></item><item><title>psql is Awesome</title><link>https://cetyler.github.io/til/2025/2025-4-6_psql_awesome/</link><pubDate>Sun, 06 Apr 2025 11:25:07 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_psql_awesome/</guid><description>Excellent talk from Laetitia.</description></item><item><title>How to use Variables in a psql Script</title><link>https://cetyler.github.io/til/2025/2025-4-6_psql_variables/</link><pubDate>Sun, 06 Apr 2025 11:19:37 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_psql_variables/</guid><description>How to use variables.</description></item><item><title>Prune Docker Images</title><link>https://cetyler.github.io/til/2025/2025-4-6_docker_prune/</link><pubDate>Sun, 06 Apr 2025 11:16:09 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_docker_prune/</guid><description>How to remove the old images.</description></item><item><title>Ultimate Guide to Python Debugging</title><link>https://cetyler.github.io/til/2025/2025-4-6_debugging/</link><pubDate>Sun, 06 Apr 2025 11:13:33 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_debugging/</guid><description>A good guide to Python debugging.</description></item><item><title>Clear Highlighting in Vim</title><link>https://cetyler.github.io/til/2025/2025-4-6_clear_vim/</link><pubDate>Sun, 06 Apr 2025 11:11:47 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_clear_vim/</guid><description>How to clear highlighting.</description></item><item><title>Find and Replace in Vim</title><link>https://cetyler.github.io/til/2025/2025-4-6_find_replace_vim/</link><pubDate>Sun, 06 Apr 2025 11:08:51 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_find_replace_vim/</guid><description>How to do find and replace in Vim.</description></item><item><title>Improving GROUP BY with CREATE STATISTICS</title><link>https://cetyler.github.io/til/2025/2025-4-6_create_stats/</link><pubDate>Sun, 06 Apr 2025 11:03:29 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_create_stats/</guid><description>Improve planning by using Create Statistics from Hans.</description></item><item><title>Include Schema in psycopg2 Connection String</title><link>https://cetyler.github.io/til/2025/2025-4-6_psycopg2_string/</link><pubDate>Sun, 06 Apr 2025 10:45:49 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_psycopg2_string/</guid><description>A method to connect to a specific schema.</description></item><item><title>Practical Decorators</title><link>https://cetyler.github.io/til/2025/2025-4-6_practical_decorators/</link><pubDate>Sun, 06 Apr 2025 10:36:56 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_practical_decorators/</guid><description>Reuven&amp;rsquo;s talk from PyCon 2019.</description></item><item><title>Create Read Only User in PostgreSQL</title><link>https://cetyler.github.io/til/2025/2025-4-6_readonly_user/</link><pubDate>Sun, 06 Apr 2025 10:34:11 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_readonly_user/</guid><description>Creating a read only user.</description></item><item><title>Using a Data Dictionary as Your Roadmap to Quality Data</title><link>https://cetyler.github.io/til/2025/2025-4-6_data_dict/</link><pubDate>Sun, 06 Apr 2025 10:32:37 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_data_dict/</guid><description>Good article from Crystal.</description></item><item><title>MERGE Command with Examples</title><link>https://cetyler.github.io/til/2025/2025-4-6_merge/</link><pubDate>Sun, 06 Apr 2025 10:20:07 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_merge/</guid><description>How to use the merge command with PostgreSQL 15 and above.</description></item><item><title>How to Create PowerShell Alias</title><link>https://cetyler.github.io/til/2025/2025-4-6_powershell_alias/</link><pubDate>Sun, 06 Apr 2025 10:16:29 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_powershell_alias/</guid><description>Example of an alias with Python virtual environment.</description></item><item><title>Creating Histograms with Postgres</title><link>https://cetyler.github.io/til/2025/2025-4-4_histograms_postgres/</link><pubDate>Fri, 04 Apr 2025 19:29:24 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-4_histograms_postgres/</guid><description>A nice article on how to do histograms in PostgreSQL.</description></item><item><title>Self-Contained Python Scripts with uv</title><link>https://cetyler.github.io/til/2025/2025-04-04_uv/</link><pubDate>Fri, 04 Apr 2025 12:25:47 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-04-04_uv/</guid><description>As long as uv is installed, be able to run a python script with dependencies.</description></item><item><title>Check Iterable Equality the Right Way</title><link>https://cetyler.github.io/til/2025/2025-04-02_iterable_equality/</link><pubDate>Wed, 02 Apr 2025 19:09:30 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-04-02_iterable_equality/</guid><description>From his Python Morsels newsletter.</description></item><item><title>Data Spines</title><link>https://cetyler.github.io/til/2025/2025-4-1_data_spines/</link><pubDate>Tue, 01 Apr 2025 19:04:02 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-1_data_spines/</guid><description>A way to fill in data.</description></item><item><title>Using Assert Never in Python</title><link>https://cetyler.github.io/til/2025/2025-4-1_assert_python/</link><pubDate>Tue, 01 Apr 2025 18:29:06 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-1_assert_python/</guid><description>Similar to how to do it in SQL you can do in Python.</description></item><item><title>Create Assert Function in SQL</title><link>https://cetyler.github.io/til/2025/2025-4-1_assert_sql/</link><pubDate>Tue, 01 Apr 2025 18:15:50 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-1_assert_sql/</guid><description>Using an assert to instead of sending NULL.</description></item><item><title>List Table Columns in PostgreSQL Database</title><link>https://cetyler.github.io/til/2025/2025-3-31_list_tables/</link><pubDate>Mon, 31 Mar 2025 20:50:24 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-31_list_tables/</guid><description>A way to list table columns.</description></item><item><title>Stub Code</title><link>https://cetyler.github.io/til/2025/2025-3-31_stub_code/</link><pubDate>Mon, 31 Mar 2025 20:41:19 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-31_stub_code/</guid><description>A better way to have a new function that is not ready.</description></item><item><title>List of Named Color for Pandas</title><link>https://cetyler.github.io/til/2025/2025-3-29_pandas_color/</link><pubDate>Sat, 29 Mar 2025 21:22:08 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_pandas_color/</guid><description>How to get a list of colors.</description></item><item><title>Using Document Properties to Track Your Excel Reports</title><link>https://cetyler.github.io/til/2025/2025-3-29_doc_property/</link><pubDate>Sat, 29 Mar 2025 21:11:00 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_doc_property/</guid><description>A good way to add some info to an Excel file.</description></item><item><title>How to Generate a list of Tables to Drop</title><link>https://cetyler.github.io/til/2025/2025-3-29_drop_tables/</link><pubDate>Sat, 29 Mar 2025 21:08:33 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_drop_tables/</guid><description>An easy method to get a list of tables to remove.</description></item><item><title>Passing a List of Arguments with Click</title><link>https://cetyler.github.io/til/2025/2025-3-29_list_arguments_clicks/</link><pubDate>Sat, 29 Mar 2025 21:04:57 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_list_arguments_clicks/</guid><description>This can be useful when an option can take multiples at the same time.</description></item><item><title>Using Regex in PostgreSQL</title><link>https://cetyler.github.io/til/2025/2025-3-29_regex/</link><pubDate>Sat, 29 Mar 2025 21:01:37 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_regex/</guid><description>How to do regex with SQL.</description></item><item><title>Linear Regression</title><link>https://cetyler.github.io/til/2025/2025-3-29_linear_regression/</link><pubDate>Sat, 29 Mar 2025 20:57:27 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_linear_regression/</guid><description>How to do linear regression with SQL.</description></item><item><title>Interpolation</title><link>https://cetyler.github.io/til/2025/2025-3-29_interpolation/</link><pubDate>Sat, 29 Mar 2025 20:52:38 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_interpolation/</guid><description>One method to fill in data.</description></item><item><title>Date Functions</title><link>https://cetyler.github.io/til/2025/2025-3-29_date_functions/</link><pubDate>Sat, 29 Mar 2025 20:46:37 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_date_functions/</guid><description>Different ways to extract values of a date.</description></item><item><title>Using DuckDB in Streamlit</title><link>https://cetyler.github.io/til/2025/2025-3-29_duckdb_streamlit/</link><pubDate>Sat, 29 Mar 2025 20:37:32 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_duckdb_streamlit/</guid><description>There were a handful of useful things from this article.</description></item><item><title>Sampling</title><link>https://cetyler.github.io/til/2025/2025-3-29_sampling/</link><pubDate>Sat, 29 Mar 2025 20:26:00 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_sampling/</guid><description>Sampling data with SQL.</description></item><item><title>Random</title><link>https://cetyler.github.io/til/2025/2025-3-29_random/</link><pubDate>Sat, 29 Mar 2025 20:14:38 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_random/</guid><description>Some different ways to create random data</description></item><item><title>Create Table with Existing Table with No Data</title><link>https://cetyler.github.io/til/2025/2025-3-28_create_table/</link><pubDate>Fri, 28 Mar 2025 21:12:09 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-28_create_table/</guid><description>Another Haki tip.</description></item><item><title>Self Joins</title><link>https://cetyler.github.io/til/2025/2025-3-28_self_joins/</link><pubDate>Fri, 28 Mar 2025 20:32:30 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-28_self_joins/</guid><description>How to do a self join.</description></item><item><title>Recursive CTEs</title><link>https://cetyler.github.io/til/2025/2025-3-28_recursive_cte/</link><pubDate>Fri, 28 Mar 2025 20:28:05 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-28_recursive_cte/</guid><description>How to do a recursive CTE.</description></item><item><title>Starting in Read Only Mode the Easy Way</title><link>https://cetyler.github.io/til/2025/2025-03-27_psql_readonly/</link><pubDate>Thu, 27 Mar 2025 12:44:37 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-03-27_psql_readonly/</guid><description>Easy way to ensure that you are in read only mode.</description></item><item><title>Exporting Notebooks from DuckDB UI</title><link>https://cetyler.github.io/til/2025/2025-9-18_export_duckdb_ui/</link><pubDate>Sat, 22 Mar 2025 20:08:50 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-9-18_export_duckdb_ui/</guid><description>How to export DuckDB notebooks.</description></item><item><title>Postgres query cancellation</title><link>https://cetyler.github.io/til/2025/2025-03-18_pg_query_cancel/</link><pubDate>Tue, 18 Mar 2025 11:15:37 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-03-18_pg_query_cancel/</guid><description>Couple of different ways to add a timeout to a PostgreSQL query.</description></item><item><title>VS Code to Copy and Paste to Terminal</title><link>https://cetyler.github.io/til/2025/2025-03-10_vs_code_copy_pasta/</link><pubDate>Mon, 10 Mar 2025 11:18:37 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-03-10_vs_code_copy_pasta/</guid><description>Very useful tip from Mehdi without leaving your IDE</description></item><item><title>An introvert’s 3 secrets to networking</title><link>https://cetyler.github.io/til/2025/2025-2-23_introvert/</link><pubDate>Sun, 23 Feb 2025 11:14:37 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-2-23_introvert/</guid><description>Excellent article from Ami</description></item><item><title>Some New Unix/Linux Tools</title><link>https://cetyler.github.io/til/2025/2025-02-22_bashrc/</link><pubDate>Sat, 22 Feb 2025 20:56:22 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-02-22_bashrc/</guid><description>Shorten your .bashrc with newer Unix programs.</description></item><item><title>Uv has a killer feature you should know about</title><link>https://cetyler.github.io/til/2025/2025-01-17_uv/</link><pubDate>Sat, 22 Feb 2025 20:39:14 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-01-17_uv/</guid><description>Lukas pointed out how to use a package with uv run.</description></item><item><title>Using uv to build and install Python CLI apps</title><link>https://cetyler.github.io/til/2025/2025-02-13_uv/</link><pubDate>Sat, 22 Feb 2025 20:31:59 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-02-13_uv/</guid><description>Not the full article but a couple of new items I did not know about.</description></item><item><title>Generate CREATE TABLE query for an existing table</title><link>https://cetyler.github.io/til/2025/2025-02-20_postgres/</link><pubDate>Sat, 22 Feb 2025 20:25:47 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-02-20_postgres/</guid><description>When you do not have the script that created the table.</description></item><item><title>The Reverse of cat is tac</title><link>https://cetyler.github.io/til/2025/2025-02-16_tac/</link><pubDate>Sun, 16 Feb 2025 17:38:01 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-02-16_tac/</guid><description>tac is the reverse of cat.</description></item><item><title>Browsing DuckdB Offline</title><link>https://cetyler.github.io/til/2025/2025-02-14_duckdb_offline/</link><pubDate>Fri, 14 Feb 2025 11:20:37 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-02-14_duckdb_offline/</guid><description>When you want to be offline.</description></item><item><title>Open Mateo Weather API</title><link>https://cetyler.github.io/til/2025/2025-02-01_openmateo/</link><pubDate>Sat, 01 Feb 2025 19:22:40 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-02-01_openmateo/</guid><description>Open Mateo can be an alternative to Open Weather Map.</description></item><item><title>Great Tables and StreamLit</title><link>https://cetyler.github.io/til/2025/2025-02-01_great_tables/</link><pubDate>Sat, 01 Feb 2025 16:02:22 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-02-01_great_tables/</guid><description>The Great Tables package is all about making it simple to produce nice-looking display tables.</description></item><item><title>How to Reinstall Python with uv</title><link>https://cetyler.github.io/til/2025/2025-01-11_uv_python/</link><pubDate>Sat, 11 Jan 2025 14:21:41 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-01-11_uv_python/</guid><description>uv python install &amp;ndash;reinstall 3.13</description></item><item><title>WAT Python Inspection Tool</title><link>https://cetyler.github.io/til/2025/2025-01-01_wat/</link><pubDate>Wed, 01 Jan 2025 15:44:34 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-01-01_wat/</guid><description>A powerful inspection tool to help with unknown Python objects.</description></item><item><title>RightTyper to Generate Types</title><link>https://cetyler.github.io/til/2024/2024-12-31-right_typer/</link><pubDate>Tue, 31 Dec 2024 21:37:26 -0500</pubDate><guid>https://cetyler.github.io/til/2024/2024-12-31-right_typer/</guid><description>Get a helper with typing.</description></item><item><title>Count Number of Lines in a Git Repository</title><link>https://cetyler.github.io/til/2024/2024-09-04-count_number_lines_in_git/</link><pubDate>Thu, 05 Sep 2024 00:00:26 -0500</pubDate><guid>https://cetyler.github.io/til/2024/2024-09-04-count_number_lines_in_git/</guid><description>If you were ever curious how many lines of code you have in a repo.</description></item><item><title>Fastest Way to Read Excel in Python</title><link>https://cetyler.github.io/til/2024/2024-6-22_excel_duckdb/</link><pubDate>Sat, 22 Jun 2024 15:20:48 -0500</pubDate><guid>https://cetyler.github.io/til/2024/2024-6-22_excel_duckdb/</guid><description>Hint, use DuckDB.</description></item><item><title>Check for unused Indexes</title><link>https://cetyler.github.io/til/2023/20230909235222/</link><pubDate>Mon, 18 Dec 2023 14:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230909235222/</guid><description>Part of a larger PostgreSQL management article.</description></item><item><title>Powershell Remoting</title><link>https://cetyler.github.io/til/2023/20230823081624/</link><pubDate>Mon, 04 Dec 2023 00:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230823081624/</guid><description>A couple of different ways to connect to a remote PC.</description></item><item><title>View Code of Stored Procedure</title><link>https://cetyler.github.io/til/2023/20230817111325/</link><pubDate>Tue, 28 Nov 2023 14:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230817111325/</guid><description>&lt;p&gt;I needed to see the code of a stored procedure in MS SQL Server at work so that
I could create a modified query.
I normally don&amp;rsquo;t use
&lt;a href="https://stackoverflow.com/questions/8733088/how-to-view-the-stored-procedure-code-in-sql-server-management-studio"&gt;Stack Overflow&lt;/a&gt;
much anymore but this was actually useful and well described.&lt;/p&gt;
&lt;p&gt;Using SQL Server Management Studio do the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Go to Database -&amp;gt; Programmmability -&amp;gt; Stored Procedure.&lt;/li&gt;
&lt;li&gt;Right click on the procedure you want to view and click &lt;strong&gt;Modify&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Be careful not to modify it when you only want to view it.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>See the History of a Method with git log -L</title><link>https://cetyler.github.io/til/2023/2023-11-19_history_method/</link><pubDate>Sun, 19 Nov 2023 23:56:35 -0500</pubDate><guid>https://cetyler.github.io/til/2023/2023-11-19_history_method/</guid><description>Saw this on Simon&amp;rsquo;s blog.</description></item><item><title>Using psql Variables to Introspect Your Script</title><link>https://cetyler.github.io/til/2023/2023-11-19_psql_vars/</link><pubDate>Sun, 19 Nov 2023 00:03:39 -0500</pubDate><guid>https://cetyler.github.io/til/2023/2023-11-19_psql_vars/</guid><description>Another good article from Lucas.</description></item><item><title>psql Watch Improvements</title><link>https://cetyler.github.io/til/2023/2023-11-19_psql_watch/</link><pubDate>Fri, 10 Nov 2023 00:00:45 -0500</pubDate><guid>https://cetyler.github.io/til/2023/2023-11-19_psql_watch/</guid><description>A good tip found by Luca.</description></item><item><title>How to List Active Connections on PostgreSQL</title><link>https://cetyler.github.io/til/2023/20230529112626/</link><pubDate>Tue, 17 Oct 2023 11:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230529112626/</guid><description>How to check using a query what is actively running.</description></item><item><title>Check for Unvalidated Database Constraints</title><link>https://cetyler.github.io/til/2023/20230707183736/</link><pubDate>Tue, 10 Oct 2023 11:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230707183736/</guid><description>Verify that you don&amp;rsquo;t have a constraint created without validation.</description></item><item><title>Deprecated</title><link>https://cetyler.github.io/til/2023/20230617165321/</link><pubDate>Tue, 19 Sep 2023 11:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230617165321/</guid><description>I neat way to deprecate parts of a Python program.</description></item><item><title>Get Battery Status in CLI</title><link>https://cetyler.github.io/til/2023/20230603144133/</link><pubDate>Tue, 12 Sep 2023 11:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230603144133/</guid><description>How to get the battery status using standard CLI tools in Linux.</description></item><item><title>How to Read a Vim Swapfile</title><link>https://cetyler.github.io/til/2023/20230603143022/</link><pubDate>Tue, 12 Sep 2023 11:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230603143022/</guid><description>How to read a swapfile, especially where there isn&amp;rsquo;t an reference file.</description></item><item><title>Delete Files Older Than x Days on Linux</title><link>https://cetyler.github.io/til/2023/20230528001633/</link><pubDate>Tue, 05 Sep 2023 11:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230528001633/</guid><description>Quickly delete files older than a certain number of days.</description></item><item><title>How to Use a match case Statement</title><link>https://cetyler.github.io/til/2023/20230515090746/</link><pubDate>Tue, 29 Aug 2023 11:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230515090746/</guid><description>Some examples of how to use match case statement in Python.</description></item><item><title>Vim Tips</title><link>https://cetyler.github.io/til/2023/20230510083934/</link><pubDate>Tue, 22 Aug 2023 11:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230510083934/</guid><description>Notes from the VIM Workshop from pybites</description></item><item><title>Create Git Branch and Checkout</title><link>https://cetyler.github.io/til/2023/20230503080911/</link><pubDate>Tue, 15 Aug 2023 11:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230503080911/</guid><description>Create a git branch and checkout at once.</description></item><item><title>Set Statement Timeout</title><link>https://cetyler.github.io/til/2023/202308012255/</link><pubDate>Tue, 01 Aug 2023 22:55:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/202308012255/</guid><description>Set a timeout in case you want to terminate a long running query.</description></item><item><title>Built-in Functions in Python</title><link>https://cetyler.github.io/til/2023/2023-6-14_python_builtin/</link><pubDate>Wed, 14 Jun 2023 23:27:41 -0500</pubDate><guid>https://cetyler.github.io/til/2023/2023-6-14_python_builtin/</guid><description>A couple of functions that I now know.</description></item><item><title>Escape Keys using psycopg2</title><link>https://cetyler.github.io/til/2023/20230502141136/</link><pubDate>Fri, 02 Jun 2023 20:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230502141136/</guid><description>Making sure that using &lt;code&gt;%&lt;/code&gt; in PostgreSQL works with psycopg2.</description></item><item><title>Setup Python Package to use with Pipx</title><link>https://cetyler.github.io/til/2023/20230502135936/</link><pubDate>Fri, 26 May 2023 20:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230502135936/</guid><description>Setting up your Python project to work with pipx and pyproject.toml</description></item><item><title>Prune Docker Images</title><link>https://cetyler.github.io/til/2023/20230218213148/</link><pubDate>Fri, 21 Apr 2023 00:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230218213148/</guid><description>Remove images that are not in use.</description></item><item><title>Clear Highlighting in Vim</title><link>https://cetyler.github.io/til/2023/20230130082138/</link><pubDate>Fri, 14 Apr 2023 00:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230130082138/</guid><description>Clearing highlighting after performing a search for an example.</description></item><item><title>Application Name in PostgreSQL</title><link>https://cetyler.github.io/til/2023/20230128205454/</link><pubDate>Fri, 31 Mar 2023 00:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230128205454/</guid><description>Send application name to PostgreSQL.</description></item><item><title>Find and Replace in Vim</title><link>https://cetyler.github.io/til/2023/20230119084147/</link><pubDate>Fri, 24 Mar 2023 00:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230119084147/</guid><description>Different ways to find and replace items using vim.</description></item><item><title>Calculate the Distance between two Latitudes and Longitudes</title><link>https://cetyler.github.io/til/2022/20221127204939/</link><pubDate>Fri, 17 Mar 2023 00:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2022/20221127204939/</guid><description>Calculation using SQL.</description></item><item><title>Get Disk Size for Each Database</title><link>https://cetyler.github.io/til/2022/20221106193508/</link><pubDate>Fri, 10 Mar 2023 00:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2022/20221106193508/</guid><description>Get the disk size for each database in PostgreSQL.</description></item><item><title>Include Schema in psycopg2 Connection String</title><link>https://cetyler.github.io/til/2022/20221218161531/</link><pubDate>Mon, 19 Dec 2022 17:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2022/20221218161531/</guid><description>Include schema in PostgreSQL connection string.</description></item><item><title>Create Automatic Timestamps in PostgreSQL</title><link>https://cetyler.github.io/til/2022/2022-12-15_timestamp/</link><pubDate>Fri, 16 Dec 2022 18:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2022/2022-12-15_timestamp/</guid><description>Create automatic timestamps by default.</description></item><item><title>Using Rich Inspect to Interrogate Python Objects</title><link>https://cetyler.github.io/til/2023/20230805171754/</link><pubDate>Sun, 13 Nov 2022 14:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230805171754/</guid><description>Using Rich can help format an object in the REPL.</description></item><item><title>Use IN and EXIST in the Right Situations</title><link>https://cetyler.github.io/til/2022/2022-9-14_in_exists/</link><pubDate>Thu, 15 Sep 2022 23:17:10 -0500</pubDate><guid>https://cetyler.github.io/til/2022/2022-9-14_in_exists/</guid><description>Good article from Marat Badykov</description></item><item><title>Pasting Text in Vim</title><link>https://cetyler.github.io/til/2023/202304152031/</link><pubDate>Wed, 28 Apr 2021 14:30:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/202304152031/</guid><description>Pasting text into vim.</description></item></channel></rss>