61 lines
17 KiB
XML
61 lines
17 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||
|
|
<channel>
|
||
|
|
<title>Programmings on My New Hugo Site</title>
|
||
|
|
<link>http://localhost:1313/programming/</link>
|
||
|
|
<description>Recent content in Programmings on My New Hugo Site</description>
|
||
|
|
<generator>Hugo</generator>
|
||
|
|
<language>en-us</language>
|
||
|
|
<atom:link href="http://localhost:1313/programming/index.xml" rel="self" type="application/rss+xml" />
|
||
|
|
<item>
|
||
|
|
<title></title>
|
||
|
|
<link>http://localhost:1313/programming/embedded/inventory/</link>
|
||
|
|
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
|
<guid>http://localhost:1313/programming/embedded/inventory/</guid>
|
||
|
|
<description><h1 id="inventory">Inventory</h1>
<table>
 <thead>
 <tr>
 <th style="text-align: left">Qty</th>
 <th style="text-align: left">Item</th>
 </tr>
 </thead>
 <tbody>
 <tr>
 <td style="text-align: left">2</td>
 <td style="text-align: left">Arduino Uno R3 ATmega328PU</td>
 </tr>
 <tr>
 <td style="text-align: left">2</td>
 <td style="text-align: left">Arduinno prototyping shield</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">Arduino SPIO Extension Board with bus</td>
 </tr>
 <tr>
 <td style="text-align: left">~</td>
 <td style="text-align: left">Pushbutton</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">Arduino HW-130 motor control shield</td>
 </tr>
 <tr>
 <td style="text-align: left">2</td>
 <td style="text-align: left">Ultrasonic sensor HC-SRO4</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">DC motor driver L298N</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">6x AA battery pack</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">9V battery pack</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">Servo motor SG90</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">LCD display 1602A without pins</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">LCD display 1602A with pins</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">Relay bank 8x SRD-12VDC-SL-C</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">Relay bank 8x JQC-3FF-S-Z</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">Relay SRD-05VDC-SL-C</td>
 </tr>
 <tr>
 <td style="text-align: left">1</td>
 <td style="text-align: left">Relay HJR-3FF-S-Z</td>
 </tr>
 <tr>
 <td style="text-align: left">23</td>
 <td style="text-align: left">Infrared sensor Flying-Fish</td>
 </tr>
 <tr>
 <td style="text-align: left">2</td>
 <td style="text-align: left">Multimedia remote control</td>
 </tr>
 <tr>
 <td style=&
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<title></title>
|
||
|
|
<link>http://localhost:1313/programming/general/coding-for-humans/</link>
|
||
|
|
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
|
<guid>http://localhost:1313/programming/general/coding-for-humans/</guid>
|
||
|
|
<description><h1 id="coding-for-humans">Coding for humans</h1>
<ul>
<li>Code is instructions for machines.</li>
</ul>
<p>BUT</p>
<ul>
<li>Code is read by humans.</li>
<li>Humans need to be able to understand code easily.</li>
<li>Not all humans think about code the same way</li>
</ul>
<p>SO</p>
<ul>
<li>Write maintainable code
<ul>
<li>If design is about usability, coding is about maintainability</li>
</ul>
</li>
<li>Write boring code that&rsquo;s easily modified and extended
<ul>
<li>Consistent patterns</li>
<li>Avoid obscure and fancy syntax</li>
<li>Aim for maximum readability</li>
</ul>
</li>
<li>Use dev tools to make the job easier and less error-prone
<ul>
<li>Syntax highlighting</li>
<li>Code completion</li>
<li>Linters and formatters</li>
<li>Static analysis</li>
<li>Statically typed languages or type hinting</li>
</ul>
</li>
<li>Write documentation to guide devs
<ul>
<li>Explain how programs work so devs don&rsquo;t have to reverse-engineer your
team&rsquo;s work.</li>
<li>Explain the reasoning behind obscure solutions.</li>
<li>Document pitfalls you&rsquo;ve fallen into so other devs don&rsquo;t do the same.</li>
</ul>
</li>
<li>Write code that accommodates different kinds of devs. Devs can be:
<ul>
<li>Inexperienced:</li>
<li>New to the codebase</li>
<li>Opinionated</li>
<li>Impatient</li>
<li>Bored</li>
<li>Tired</li>
<li>Pressured</li>
</ul>
</li>
</ul></description>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<title></title>
|
||
|
|
<link>http://localhost:1313/programming/general/pull-requests/</link>
|
||
|
|
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
|
<guid>http://localhost:1313/programming/general/pull-requests/</guid>
|
||
|
|
<description><h1 id="pull-request-practices">Pull request practices</h1>
<p>Practices to make code review smoother and more productive.</p>
<h2 id="submit-your-final-draft-not-your-first">Submit your final draft, not your first</h2>
<p>It may be tempting to get your work into code review as soon as possible, but if
you ask people to read your spaghetti code, then you&rsquo;ll find that your PR will
take longer to review, plus reviewers will burn their time and energy asking
you to fix obvious mistakes instead of checking for more subtle problems.</p></description>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<title></title>
|
||
|
|
<link>http://localhost:1313/programming/general/working-on-a-team/</link>
|
||
|
|
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
|
<guid>http://localhost:1313/programming/general/working-on-a-team/</guid>
|
||
|
|
<description><h1 id="what-ive-learned-from-working-on-a-team">What I&rsquo;ve learned from working on a team.</h1>
<p>A cordial working environment is more important than getting everything your
way, or optimal engineering practices. You have to pick your battles and focus
on fixing just the things that you can&rsquo;t work with at all.</p>
<p>Some devs are mediocre programmers. Some devs are mediocre communicators. Some
are both.</p>
<p>Good documentation (comments, readmes, pull-requests) makes everyone&rsquo;s job
easier.</p></description>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<title></title>
|
||
|
|
<link>http://localhost:1313/programming/general/writing-good-code/</link>
|
||
|
|
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
|
<guid>http://localhost:1313/programming/general/writing-good-code/</guid>
|
||
|
|
<description><h1 id="writing-good-code">Writing good code</h1>
<p>Good is boring.</p>
<p>Good code can be understood by junior developers.</p>
<p>Great code can be understood by people who have just learned how to code.</p></description>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<title></title>
|
||
|
|
<link>http://localhost:1313/programming/web/tech-stack/frontend/</link>
|
||
|
|
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
|
<guid>http://localhost:1313/programming/web/tech-stack/frontend/</guid>
|
||
|
|
<description></description>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<title></title>
|
||
|
|
<link>http://localhost:1313/programming/web/tech-stack/overview/</link>
|
||
|
|
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
|
<guid>http://localhost:1313/programming/web/tech-stack/overview/</guid>
|
||
|
|
<description><h1 id="my-web-tech-stack">My web tech stack</h1>
<h2 id="frontend-client-side-in-the-browser">Frontend (client side, in the browser)</h2>
<h3 id="ui-development">UI development</h3>
<ul>
<li>Styling</li>
<li>Forms</li>
<li>Navigation</li>
<li>Multimedia</li>
<li>Debugging in Chrome DevTools</li>
</ul>
<h3 id="ui-design">UI design</h3>
<ul>
<li>Apply Human-Centred Design.</li>
<li>Create static mockups in Inkscape.</li>
</ul>
<h2 id="backend">Backend</h2>
<h3 id="databases">Databases</h3>
<ul>
<li>MySQL</li>
<li>SQLite</li>
</ul>
<h3 id="apis">APIs</h3>
<ul>
<li>REST</li>
<li>JSON:API</li>
<li>Laravel</li>
<li>Symfony</li>
<li>.NET Core</li>
</ul>
<h3 id="content-management-systems">Content management systems</h3>
<ul>
<li>Drupal</li>
<li>Wordpress</li>
</ul>
<h3 id="search">Search</h3>
<ul>
<li>Apache Solr</li>
</ul>
<h3 id="static-sites">Static sites</h3>
<ul>
<li>Gatsby</li>
<li>Hugo</li>
</ul>
<h3 id="design-patterns">Design patterns</h3>
<ul>
<li>MVC</li>
<li>Stack middleware</li>
<li>Dependency injection, service container</li>
<li>Pub-sub, events</li>
<li>Batch processing</li>
<li>Caching</li>
<li>Throttling, rate limiting</li>
</ul>
<h2 id="system-administration-maintaining-the-os-filesystem-services">System administration (maintaining the OS, filesystem, services)</h2>
<p>Bash scripting</p></description>
|
||
|
|
</item>
|
||
|
|
</channel>
|
||
|
|
</rss>
|