<?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: Joshua Davis</title>
    <description>The latest articles on DEV Community by Joshua Davis (@joshdavisgit).</description>
    <link>https://dev.to/joshdavisgit</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F464172%2F708a7eed-f07f-48e5-bbdd-c8a3516ecc63.png</url>
      <title>DEV Community: Joshua Davis</title>
      <link>https://dev.to/joshdavisgit</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/joshdavisgit"/>
    <language>en</language>
    <item>
      <title>The spreadsheet price stayed at $24. The unit price went up 20%.</title>
      <dc:creator>Joshua Davis</dc:creator>
      <pubDate>Thu, 26 Nov 2026 02:22:42 +0000</pubDate>
      <link>https://dev.to/joshdavisgit/the-spreadsheet-price-stayed-at-24-the-unit-price-went-up-20-47mg</link>
      <guid>https://dev.to/joshdavisgit/the-spreadsheet-price-stayed-at-24-the-unit-price-went-up-20-47mg</guid>
      <description>&lt;p&gt;Imagine two supplier spreadsheets. Same SKU, same $24 case price. One case holds 12 units and the other holds 10. A diff of the price column looks clean, even though the cost per unit went from $2.00 to $2.40.&lt;/p&gt;

&lt;p&gt;That example gets at why I built ChangeGuard. Before comparing two sheets, you have to decide which rows describe the same item and what unit the price buys. Otherwise, a harmless row reorder can look noisy while an expensive pack-size change slips through.&lt;/p&gt;

&lt;p&gt;Here's the &lt;a href="https://changeguard-jdavis.onrender.com/app" rel="noopener noreferrer"&gt;ChangeGuard browser demo with sample freight rates&lt;/a&gt;. When a source value and a calculated unit cost both change, which would you put first in the review screen?&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>software</category>
      <category>tools</category>
    </item>
    <item>
      <title>Debugging the gap between a payment and a bank deposit</title>
      <dc:creator>Joshua Davis</dc:creator>
      <pubDate>Thu, 26 Nov 2026 02:22:10 +0000</pubDate>
      <link>https://dev.to/joshdavisgit/debugging-the-gap-between-a-payment-and-a-bank-deposit-24a4</link>
      <guid>https://dev.to/joshdavisgit/debugging-the-gap-between-a-payment-and-a-bank-deposit-24a4</guid>
      <description>&lt;p&gt;Say an invoice is $1,000 and the deposit is $970. The difference alone tells you very little. A fee and an underpayment can produce the same $30 gap.&lt;/p&gt;

&lt;p&gt;I built LedgerLens around tracing the payment through settlement to the deposit. The most useful debugging question for me is where the amount first changed. If the processor recorded the full payment and itemized a fee, that points to a different investigation than a payment that was already short when it arrived.&lt;/p&gt;

&lt;p&gt;I put together an &lt;a href="https://apphandoff.net/ledger-demo.html" rel="noopener noreferrer"&gt;interactive walkthrough with synthetic payment data&lt;/a&gt;. If you were handed a ticket for a short deposit, which record would you open first?&lt;/p&gt;

</description>
      <category>backend</category>
      <category>debugging</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Splitting $100 three ways: who gets the last penny?</title>
      <dc:creator>Joshua Davis</dc:creator>
      <pubDate>Thu, 26 Nov 2026 02:22:08 +0000</pubDate>
      <link>https://dev.to/joshdavisgit/splitting-100-three-ways-who-gets-the-last-penny-4np3</link>
      <guid>https://dev.to/joshdavisgit/splitting-100-three-ways-who-gets-the-last-penny-4np3</guid>
      <description>&lt;p&gt;I built Allocation Proration to split a fixed amount across recipients. One test I like is an equal three-way split of $100. Round each share independently and the total comes out to $99.99. Working in integer cents avoids floating-point surprises, but you still have to decide who gets cent number 10,000.&lt;/p&gt;

&lt;p&gt;That choice gets more interesting when the split runs every month. A stable tie-break is easy to reproduce. Rotating the extra cent spreads it around, but now a rerun needs to know whose turn it was. Which rule would you use for a recurring allocation?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://allocation-proration-demo.onrender.com" rel="noopener noreferrer"&gt;Try the sample allocation&lt;/a&gt;&lt;/p&gt;

</description>
      <category>algorithms</category>
      <category>programming</category>
      <category>softwaredevelopment</category>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
