<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vincent Engelmann</title>
    <description>The latest articles on DEV Community by Vincent Engelmann (@engelmav).</description>
    <link>https://dev.to/engelmav</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F136864%2F588ba115-2036-4f9b-b859-284395773b5c.jpeg</url>
      <title>DEV Community: Vincent Engelmann</title>
      <link>https://dev.to/engelmav</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/engelmav"/>
    <language>en</language>
    <item>
      <title>Explicit Joins in SQLAlchemy</title>
      <dc:creator>Vincent Engelmann</dc:creator>
      <pubDate>Thu, 20 Jun 2019 21:21:54 +0000</pubDate>
      <link>https://dev.to/engelmav/explicit-joins-in-sqlalchemy-1fkh</link>
      <guid>https://dev.to/engelmav/explicit-joins-in-sqlalchemy-1fkh</guid>
      <description>&lt;p&gt;Explicit joins in SQLAlchemy! What this means is that we are &lt;em&gt;showing&lt;/em&gt; what the join conditions are &lt;em&gt;within the ORM query itself&lt;/em&gt;, rather than built into your model classes.&lt;/p&gt;

&lt;p&gt;Here's the ORM query with explicit joins:&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight python"&gt;&lt;code&gt;    &lt;span class="n"&gt;join_results&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;db&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;session&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;TableA&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;filter_by&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;table_a_col&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;some_var&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;TableB&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;TableB&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;table_a_id&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;TableA&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;all&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



</description>
      <category>sqlalchemy</category>
      <category>python</category>
      <category>codinginenglish</category>
    </item>
    <item>
      <title>Flexbox Item Stretching, Oh My!</title>
      <dc:creator>Vincent Engelmann</dc:creator>
      <pubDate>Thu, 04 Apr 2019 16:37:38 +0000</pubDate>
      <link>https://dev.to/engelmav/flexbox-item-stretching-oh-my-58cl</link>
      <guid>https://dev.to/engelmav/flexbox-item-stretching-oh-my-58cl</guid>
      <description>&lt;p&gt;To stop an item from stretching vertically in a flexbox container, apply this to the container: &lt;code&gt;align-self: flex-start;&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;In tailwindcss, this would be &lt;code&gt;class="items-center"&lt;/code&gt; (or any of the other &lt;code&gt;items-{position}&lt;/code&gt; classes). Here's a tailwind example:&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;        &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"flex items-center"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
          &lt;span class="nt"&gt;&amp;lt;button&amp;gt;&lt;/span&gt;Edit&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
          &lt;span class="nt"&gt;&amp;lt;button&amp;gt;&lt;/span&gt;Delete&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Ain't no shame in StackOverflow Driven Development.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://stackoverflow.com/a/33887124/1258020"&gt;https://stackoverflow.com/a/33887124/1258020&lt;/a&gt;&lt;br&gt;
&lt;a href="https://tailwindcss.com/docs/flexbox-align-items"&gt;https://tailwindcss.com/docs/flexbox-align-items&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flexbox</category>
      <category>css</category>
      <category>tailwind</category>
      <category>codinginenglish</category>
    </item>
    <item>
      <title>JS Dev - So Much New</title>
      <dc:creator>Vincent Engelmann</dc:creator>
      <pubDate>Wed, 03 Apr 2019 22:22:56 +0000</pubDate>
      <link>https://dev.to/engelmav/js-dev-so-much-new-g1d</link>
      <guid>https://dev.to/engelmav/js-dev-so-much-new-g1d</guid>
      <description>&lt;p&gt;What's your preferred way to format this type of destructuring?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;        &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nx"&gt;thing1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="nx"&gt;thing2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="nx"&gt;thing3&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;state&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;It's amazing to realize how many new development features the Javascript dev community is bringing to development in general. So many awesome features available to us via Webpack and Babel!&lt;/p&gt;

</description>
      <category>aesthetics</category>
      <category>syntax</category>
    </item>
    <item>
      <title>Fresh Code in the Morning</title>
      <dc:creator>Vincent Engelmann</dc:creator>
      <pubDate>Wed, 03 Apr 2019 17:04:08 +0000</pubDate>
      <link>https://dev.to/engelmav/fresh-code-in-the-morning-1enk</link>
      <guid>https://dev.to/engelmav/fresh-code-in-the-morning-1enk</guid>
      <description>&lt;p&gt;Does anyone else LOVE the look of syntax-highlighted code first thing in the morning!?&lt;/p&gt;

</description>
      <category>code</category>
      <category>love</category>
      <category>asthetics</category>
    </item>
  </channel>
</rss>
