<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Automation on Mohseen</title><link>https://www.mohseen.dev/tags/automation/</link><description>Recent content in Automation on Mohseen</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 03 Oct 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://www.mohseen.dev/tags/automation/index.xml" rel="self" type="application/rss+xml"/><item><title>Automate Publishing Blogs with GPT-4</title><link>https://www.mohseen.dev/post/2023-10-06-automate-publishing-blogs-with-gpt-4/</link><pubDate>Tue, 03 Oct 2023 00:00:00 +0000</pubDate><guid>https://www.mohseen.dev/post/2023-10-06-automate-publishing-blogs-with-gpt-4/</guid><description>&lt;h1 id="summer-2023"&gt;Summer 2023&lt;/h1&gt;
&lt;p&gt;It&amp;rsquo;s a long summer, and AI has been a buzz ever since &lt;a href="https://chat.openai.com/"&gt;Chat GPT&lt;/a&gt; was introduced to the general public.
Since then it&amp;rsquo;s been a roller coaster ride of AI advancements, and the latest one is &lt;a href="https://openai.com/blog/gpt-4/"&gt;GPT-4&lt;/a&gt;.
While there is much heated debate on whether it&amp;rsquo;s out to replace us or turn into a skynet version of virtual overlords, I wanted to see if it&amp;rsquo;s any good at writing tech blogs.&lt;/p&gt;</description></item><item><title>Enabling Airflow API</title><link>https://www.mohseen.dev/post/2021-11-30-enabling-airflow-api/</link><pubDate>Tue, 30 Nov 2021 14:30:23 -0800</pubDate><guid>https://www.mohseen.dev/post/2021-11-30-enabling-airflow-api/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Hey folks, previously I wrote a blog post about &lt;a href="https://www.mohseen.dev/post/2021-11-17-airflow-cron-on-steroids/"&gt;how to setup Airflow&lt;/a&gt; and how it can streamline data pipelines and a great replacement for cron tasks.&lt;/p&gt;
&lt;p&gt;In this post I&amp;rsquo;ll go over how to enable their api to trigger dags through nodes vs manually or scheduled runs.&lt;/p&gt;
&lt;p&gt;By default after installing Airflow, the api is disabled for all requests. From &lt;a href="https://airflow.apache.org/docs/apache-airflow/stable/security/api.html#disable-authentication"&gt;Airflow docs&lt;/a&gt;, a few apis are experimental and need additional security like basic auth or only accept requests from trusted ips.&lt;/p&gt;</description></item><item><title>Airflow Cron on Steroids</title><link>https://www.mohseen.dev/post/2021-11-17-airflow-cron-on-steroids/</link><pubDate>Wed, 17 Nov 2021 11:25:55 -0800</pubDate><guid>https://www.mohseen.dev/post/2021-11-17-airflow-cron-on-steroids/</guid><description>&lt;h2 id="airflow"&gt;Airflow&lt;/h2&gt;
&lt;p&gt;Airflow is a popular open-source framework for running data pipelines, but also really great at running tasks/scripts on a schedule. Cron has supported scheduling tasks for a while, but it&amp;rsquo;s really hard to configure and monitor it correctly. Fortunately for me, Airflow was a lot easier to setup DAGs (Directed Acyclic Graphs) and dependencies needed between tasks.&lt;/p&gt;
&lt;h3 id="overview"&gt;Overview&lt;/h3&gt;
&lt;p&gt;Airflow has a few key features that make it easy to use:&lt;/p&gt;</description></item></channel></rss>