<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Muhammad Bashir on Medium]]></title>
        <description><![CDATA[Stories by Muhammad Bashir on Medium]]></description>
        <link>https://medium.com/@moe.bashir2?source=rss-f96bed5887f4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*c1nivI-yK4nUrInTKfKh7w.jpeg</url>
            <title>Stories by Muhammad Bashir on Medium</title>
            <link>https://medium.com/@moe.bashir2?source=rss-f96bed5887f4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:35:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@moe.bashir2/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[“Unexpected end of JSON input”: Where It Comes From]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@moe.bashir2/unexpected-end-of-json-input-where-it-comes-from-5f583e662b17?source=rss-f96bed5887f4------2"><img src="https://cdn-images-1.medium.com/max/2600/0*2Omx20oy2inZ5vyH" width="5688"></a></p><p class="medium-feed-snippet">It almost always means there was nothing to parse. Here&#x2019;s where the empty text comes from.</p><p class="medium-feed-link"><a href="https://medium.com/@moe.bashir2/unexpected-end-of-json-input-where-it-comes-from-5f583e662b17?source=rss-f96bed5887f4------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@moe.bashir2/unexpected-end-of-json-input-where-it-comes-from-5f583e662b17?source=rss-f96bed5887f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f583e662b17</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[json]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Muhammad Bashir]]></dc:creator>
            <pubDate>Sun, 29 Nov 2026 02:24:56 GMT</pubDate>
            <atom:updated>2026-11-29T02:24:56.451Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[What a Median Home in Bend, Oregon (US) Actually Costs Each Month]]></title>
            <link>https://medium.com/@moe.bashir2/what-a-median-home-in-bend-oregon-us-actually-costs-each-month-435c807eee74?source=rss-f96bed5887f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/435c807eee74</guid>
            <category><![CDATA[oregon]]></category>
            <category><![CDATA[home-buying]]></category>
            <category><![CDATA[mortgage]]></category>
            <category><![CDATA[real-estate]]></category>
            <category><![CDATA[personal-finance]]></category>
            <dc:creator><![CDATA[Muhammad Bashir]]></dc:creator>
            <pubDate>Sat, 21 Nov 2026 14:56:18 GMT</pubDate>
            <atom:updated>2026-11-21T14:56:18.699Z</atom:updated>
            <content:encoded><![CDATA[<h4>$650,900 is the Census figure for Deschutes County. Here’s the monthly bill on it, and why the seller’s tax statement matters more than the price.</h4><figure><img alt="View over Bend, Oregon, from Pilot Butte, with pine forest in front and mountains behind" src="https://cdn-images-1.medium.com/max/1024/1*JCTrRom5JDh8sTCcWQa4ag.jpeg" /><figcaption>Bend from Pilot Butte. Photo: Roc0ast3r, <a href="https://commons.wikimedia.org/wiki/File:View_of_Bend,_Oregon_from_Pilot_Butte_-_1.jpg">Wikimedia Commons</a>, CC0</figcaption></figure><p>The median home value in Deschutes County is $650,900, according to the Census Bureau’s latest five-year survey. That covers the whole county, from Bend to Redmond, Sisters and La Pine, and it’s what owners think their homes are worth. So it runs behind what’s selling in Bend today. It’s still a fair place to start.</p><p>Here’s what that house costs a month at 7.32%, the national average for a 30-year fixed loan in late October.</p><h3>Putting 20% down</h3><p>That’s $130,180 in cash, and a loan of $520,720.</p><ul><li>Principal and interest: $3,577</li><li>Property tax: $309</li><li>Homeowners insurance: about $95</li><li><strong>Total: about $3,980 a month</strong></li></ul><p>The insurance line is an estimate from state averages, and Oregon’s are low. If the house sits near the forest on Bend’s west side or out toward Sisters, get a quote early. Wildfire risk can move that number a lot.</p><h3>Putting 10% down</h3><p>Most first-time buyers don’t have 20%. At 10% down the loan grows to $585,810, and you pay mortgage insurance until you reach 20% equity. At a typical 0.5% a year, that’s about $244 a month.</p><ul><li>Principal and interest: $4,024</li><li>Property tax: $309</li><li>Insurance: $95</li><li>Mortgage insurance: $244</li><li><strong>Total: about $4,670 a month</strong></li></ul><p>So keeping $65,090 in the bank costs you about $690 a month, at least until the mortgage insurance comes off.</p><h3>Why the tax is so low</h3><p>The median tax bill in the county is $3,736 a year. Against a $650,900 home, that’s 0.57%. Oregon as a whole is 0.84%, and the U.S. is 1.05%. At the national rate, the same house would cost about $260 more a month.</p><figure><img alt="A 1920s craftsman bungalow with a gabled porch in Bend, Oregon" src="https://cdn-images-1.medium.com/max/1024/1*GtfowYy0LyViKfHz6-BM8g.jpeg" /><figcaption>The Hamilton House, one of Bend’s older homes. Photo: Ian Poellet, <a href="https://commons.wikimedia.org/wiki/File:Hamilton_House_-_Bend_Oregon.jpg">Wikimedia Commons</a>, <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a></figcaption></figure><p>The reason is Measure 50, which Oregon voters passed in 1997. Your tax is based on assessed value, not market value, and assessed value can rise only 3% a year. Bend prices have grown much faster than that for a long time, so a lot of homes are assessed at a fraction of what they’d sell for.</p><p>Here’s what catches people moving from California: a sale doesn’t reset the assessment. In California your price becomes the new tax base. In Oregon, you generally take over the seller’s assessed value.</p><p>That’s mostly good news, but not always. A newly built home gets its first assessment when it’s finished, so a new build in northeast Bend can carry a bigger bill than an older house at the same price. Additions and major remodels can push it up too.</p><p>So don’t guess the tax from the price. Look at last year’s bill. It’s usually on the listing, and the county assessor’s site has it by address.</p><h3>If you’re looking at $750,000</h3><figure><img alt="Aerial view of the Deschutes River running through Bend, Oregon, near the Old Mill District" src="https://cdn-images-1.medium.com/max/1024/1*6Ldi8jY9LdeZfpIRvySXPg.jpeg" /><figcaption>The Deschutes River near the Old Mill District. Photo: Everwest, <a href="https://commons.wikimedia.org/wiki/File:2026_09_18_Deschutes_River_Bend,_Oregon.jpg">Wikimedia Commons</a>, <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a></figcaption></figure><p>A lot of Bend listings are above the county median. At $750,000:</p><ul><li>20% down ($150,000): about <strong>$4,580 a month</strong></li><li>10% down ($75,000): about <strong>$5,370 a month</strong>, mortgage insurance included</li></ul><p>(Tax here is figured at the county’s 0.57% to keep the comparison simple. The real number is whatever the tax statement says.)</p><p>Each quarter point on the rate adds roughly $90 a month to the $520,720 loan, so shopping three or four lenders is worth an afternoon.</p><h3>What it takes in income</h3><p>The county’s median household income is $92,758, or about $7,730 a month before tax. Lenders like your housing cost to stay around 28% of that, which is about $2,165.</p><p>The 20%-down payment on the median home is nearly double. It helps explain why so many buyers here bring equity from a home they sold somewhere else.</p><h3>Run it with your own numbers</h3><p>Your rate, down payment, tax bill and insurance quote will each move the total by hundreds. I put together a <a href="https://totalmonthly.com/mortgage-calculator/oregon/deschutes-county/?utm_source=medium">Deschutes County mortgage calculator</a> that starts with these county figures. Put in the tax from the listing and a real insurance quote, and you’ll see the actual monthly cost.</p><p><em>Sources: U.S. Census Bureau, American Community Survey 2020–2024 (home value, tax paid, income). Mortgage rate: national weekly average for a 30-year fixed loan, October 22, 2026. Insurance: state estimate from NAIC average premiums.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=435c807eee74" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Fix Broken JSON From an LLM]]></title>
            <link>https://medium.com/@moe.bashir2/how-to-fix-broken-json-from-an-llm-bb9abbaeb1bd?source=rss-f96bed5887f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb9abbaeb1bd</guid>
            <category><![CDATA[json]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Muhammad Bashir]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 13:18:18 GMT</pubDate>
            <atom:updated>2026-11-18T13:18:18.662Z</atom:updated>
            <content:encoded><![CDATA[<h4>Repair the syntax in Python or JavaScript, but check why it broke first.</h4><figure><img alt="Python code on a dark screen that checks an HTTP response status code before parsing it" src="https://cdn-images-1.medium.com/max/1024/0*ZRf33UK15_uTeXZQ" /><figcaption>Photo by <a href="https://unsplash.com/@artturijalli?utm_source=medium&amp;utm_medium=referral">Artturi Jalli</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>You ask a model for JSON, and most of the time you get JSON. Then one response looks like this:</p><pre>Sure! Here&#39;s the JSON you asked for:<br><br>```json<br>{<br>  &quot;name&quot;: &quot;Ada Lovelace&quot;,<br>  &quot;born&quot;: 1815,<br>  &quot;tags&quot;: [&quot;math&quot;, &quot;computing&quot;],<br>}<br>```<br><br>Let me know if you need anything else.</pre><p>Python’s json.loads fails with Expecting value: line 1 column 1 (char 0). Node&#39;s JSON.parse says Unexpected token &#39;S&#39;, &quot;Sure! Here&quot;... is not valid JSON. Apart from one trailing comma, the JSON is fine. The model just wrapped it in a polite sentence.</p><h3>How model output breaks</h3><p>These are the ones you’ll run into most:</p><ul><li><strong>Text around the JSON.</strong> A sentence before it, a code fence, “Hope this helps!” after it. Python: Expecting value: line 1 column 1 (char 0).</li><li><strong>It ran out of tokens.</strong> The output stops mid-string: {&quot;id&quot;: 3, &quot;name&quot;: &quot;Monitor ar. Node: Unterminated string in JSON at position 110.</li><li><strong>Python instead of JSON.</strong> {&#39;status&#39;: &#39;ok&#39;, &#39;retry&#39;: False, &#39;error&#39;: None}. Python: Expecting property name enclosed in double quotes.</li><li><strong>Unescaped quotes.</strong> &quot;She said &quot;ship it&quot; and logged off&quot;. Node: Expected &#39;,&#39; or &#39;}&#39; after property value in JSON.</li><li><strong>Real line breaks inside a string</strong>, usually when the JSON carries code or long text. Node: Bad control character in string literal in JSON.</li><li>Trailing commas and comments show up too.</li></ul><h3>First, check why it stopped</h3><p>Before repairing anything, look at the stop reason on the response:</p><ul><li>OpenAI: finish_reason == &quot;length&quot; (Chat Completions) or incomplete_details.reason == &quot;max_output_tokens&quot; (Responses API)</li><li>Anthropic: stop_reason == &quot;max_tokens&quot;</li><li>Gemini: finishReason == &quot;MAX_TOKENS&quot;</li></ul><p>If the model hit the token limit, the JSON is incomplete, and repair hides that. Here’s a product list that got cut off at “Monitor ar”, after Python’s json_repair closed the brackets:</p><pre>{&quot;products&quot;: [{&quot;id&quot;: 1, &quot;name&quot;: &quot;Desk lamp&quot;}, {&quot;id&quot;: 2, &quot;name&quot;: &quot;Office chair&quot;}, {&quot;id&quot;: 3, &quot;name&quot;: &quot;Monitor ar&quot;}]}</pre><p>Valid JSON, a product called “Monitor ar”, and no error anywhere. The JavaScript version below does something different but no better: it drops product 3 without a word.</p><p>So when the output was cut off, don’t repair it. Raise the limit, or ask for fewer items per call. If you keep seeing <a href="https://www.format-json.net/errors/unterminated-string-in-json/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=fix-broken-json-from-llm">Unterminated string in JSON</a> in an LLM app, check this first.</p><h3>Then parse, and repair only if that fails</h3><p>Valid output doesn’t need a repair step, so parse normally first.</p><p>Python, with json_repair (pip install json-repair):</p><pre>import json<br>import json_repair<br><br>def parse_llm_json(text):<br>    try:<br>        return json.loads(text)<br>    except json.JSONDecodeError:<br>        data = json_repair.loads(text)<br>        if data == &quot;&quot;:<br>            raise ValueError(&quot;no JSON in the model output&quot;)<br>        return data</pre><p>json_repair handles the fences and the chatter on its own. When there&#39;s nothing to repair, like a refusal written in plain English, it returns an empty string instead of raising. That&#39;s what the check is for.</p><p>JavaScript, with jsonrepair (npm install jsonrepair):</p><pre>import { jsonrepair } from &#39;jsonrepair&#39;;<br><br>function extractJson(text) {<br>  const fenced = text.match(/```(?:json)?\s*([\s\S]*?)```/);<br>  if (fenced) return fenced[1];<br>  const start = text.search(/[{[]/);<br>  const end = Math.max(text.lastIndexOf(&#39;}&#39;), text.lastIndexOf(&#39;]&#39;));<br>  return start !== -1 &amp;&amp; end &gt; start ? text.slice(start, end + 1) : text;<br>}<br><br>function parseLlmJson(text) {<br>  try {<br>    return JSON.parse(text);<br>  } catch {<br>    return JSON.parse(jsonrepair(extractJson(text)));<br>  }<br>}</pre><p>Don’t skip extractJson. jsonrepair keeps the text around the JSON instead of dropping it. Give it {&quot;a&quot;: 1} followed by &quot;Hope this helps!&quot; and you get [{&quot;a&quot;: 1}, &quot;Hope this helps!&quot;]. Give it &quot;I cannot help with that.&quot; and you get a valid JSON string. Both parse fine. Both are wrong.</p><h3>Valid isn’t the same as correct</h3><p>Repaired JSON can still be missing a field, have a number where you expected a string, or come wrapped in an extra object. Check it against the shape you expect. With Pydantic:</p><pre>from pydantic import BaseModel<br><br>class Product(BaseModel):<br>    id: int<br>    name: str<br><br>class Catalog(BaseModel):<br>    products: list[Product]<br><br>catalog = Catalog.model_validate(parse_llm_json(text))</pre><p>Zod does the same job in TypeScript.</p><p>If validation fails, retry once or twice and put the validation error in the prompt so the model knows what to fix. After that, fail loudly. A default value filled in quietly is much harder to track down later than an exception.</p><p>Pydantic happily accepts “Monitor ar”, though. A string is a string. That’s why the stop reason comes first.</p><h3>Stop most of it at the source</h3><p>OpenAI, Anthropic and Gemini can all hold the output to a JSON schema (usually called structured outputs). If your model supports it, turn it on. Most of the syntax problems above go away.</p><p>Two things still get through: a response cut off by the token limit, and a refusal. Keep the stop reason check either way.</p><h3>When it’s just one response</h3><p>If a single response breaks while you’re building something, you don’t need code for it. Paste it into the <a href="https://www.format-json.net/json-repair/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=fix-broken-json-from-llm">JSON Repair tool on format-json.net</a> (my site). It pulls the JSON out of the fence, drops the chatter, fixes the syntax and tells you what it removed. It runs in your browser, so the response isn’t sent anywhere, which matters when it’s full of customer data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb9abbaeb1bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Calculate Leave Salary in UAE (With a Worked Example)]]></title>
            <link>https://medium.com/@moe.bashir2/how-to-calculate-leave-salary-in-uae-with-a-worked-example-67d9045430ed?source=rss-f96bed5887f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/67d9045430ed</guid>
            <category><![CDATA[dubai]]></category>
            <category><![CDATA[labor-law]]></category>
            <category><![CDATA[uae]]></category>
            <category><![CDATA[personal-finance]]></category>
            <category><![CDATA[human-resources]]></category>
            <dc:creator><![CDATA[Muhammad Bashir]]></dc:creator>
            <pubDate>Sat, 07 Nov 2026 18:28:05 GMT</pubDate>
            <atom:updated>2026-11-07T18:28:05.704Z</atom:updated>
            <content:encoded><![CDATA[<h4>Full wage for leave you take, basic salary for days paid out when you leave. The sums, step by step.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ypZb0Z8INJYwc0E0pcNwZQ.jpeg" /><figcaption>Dubai International Airport, Terminal 3. Photo by EditQ, Wikimedia Commons (CC0).</figcaption></figure><p>To calculate leave salary in the UAE, divide the monthly pay by 30 and multiply by the number of leave days. Which monthly pay you use depends on when it’s paid: your full wage for leave you take, and your basic salary for unused days paid out when your job ends.</p><p>It’s easy to mix the two up, so here is each case worked through for one employee.</p><p>The rules come from the UAE labour law, Federal Decree-Law No. 33 of 2021 (Article 29), and its Executive Regulations (Cabinet Resolution No. 1 of 2022, Article 19). They cover private-sector staff in every emirate. DIFC and ADGM have their own employment laws.</p><h3>The example</h3><p>Sara started work in Dubai on 1 December 2023. Her contract:</p><ul><li>Basic salary: AED 7,500 a month</li><li>Allowances: AED 3,000 a month</li><li>Total wage: AED 10,500 a month</li></ul><h3>How many leave days you earn</h3><ul><li>Six months or less: none yet</li><li>More than six months, under a year: 2 days for each month</li><li>After that: 30 days for each year</li></ul><p>That’s Article 29, clause 1, and these are minimums. Your contract can give more. Three years of service gives Sara 90 days.</p><p>The rest of the rules, like carry-forward and part-time staff, are in this <a href="https://gulfpaycalc.com/uae/blog/uae-annual-leave-and-leave-salary/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=leave-salary-calc">UAE annual leave guide</a>.</p><h3>Leave salary calculation in UAE: leave you take</h3><p>Annual leave comes “with full pay” (Article 29). The law defines wage as basic salary plus the cash allowances and benefits in kind in your contract (Article 1). So for leave you actually take, use the total.</p><p>Sara takes 15 days in July 2025:</p><ul><li>Daily wage: 10,500 ÷ 30 = AED 350</li><li>Leave salary: 15 × 350 = AED 5,250</li></ul><p>Dividing by 30 is the usual practice. The law doesn’t fix the number, so check your contract.</p><p>Article 29 also doesn’t say leave salary must be paid before your leave starts. If your company pays it in advance, that’s company policy.</p><h3>Leave encashment in UAE: cash instead of days off</h3><p>While you’re still employed, you can agree with your employer to take cash instead of some of your leave. It’s paid at the wage you earn when the leave falls due (Executive Regulations, Article 19, clause 1). That’s the full wage again.</p><p>Sara cashes in 10 days at the end of 2025:</p><ul><li>10 × 350 = AED 3,500</li></ul><p>This needs your employer’s agreement. It isn’t something either side can force.</p><h3>Leave salary after resignation</h3><p>When your job ends, unused leave is paid on your basic salary only (Article 29, clause 9, and Executive Regulations, Article 19, clause 2). Resigning doesn’t cancel it: the law pays for unused days whenever a worker leaves before taking them.</p><p>Sara resigns. Her last working day is 30 November 2026, exactly three years after she started. Over those years she took 54 days off and cashed in 10.</p><ol><li>Leave earned: 3 × 30 = 90 days</li><li>Leave used: 54 + 10 = 64 days</li><li>Unused: 90 − 64 = 26 days</li><li>Daily basic wage: 7,500 ÷ 30 = AED 250</li><li>Leave salary: 26 × 250 = <strong>AED 6,500</strong></li></ol><p>On her total wage the same days would come to 26 × 350 = AED 9,100. The law only requires the basic, so AED 6,500 is the minimum. If her contract promises more, the contract applies.</p><p>Her employer has to pay it, with the rest of her final settlement, within 14 days of the contract ending (Article 53).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iUBNy06i_PlfNhn8Gvj7pA.jpeg" /><figcaption>Dubai skyline at night. Photo by Robert Bock on Unsplash, via Wikimedia Commons (CC0).</figcaption></figure><h3>If you leave partway through a year</h3><p>You still get leave for the part of the last year you worked, in proportion (Article 29, clauses 1 and 9). If Sara had stayed six more months, to 31 May 2027, she’d have earned about 15 more days: half of 30.</p><h3>Check your own numbers</h3><p>Put your start date, last day, basic salary and days taken into this <a href="https://gulfpaycalc.com/uae/leave-salary-calculator/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=leave-salary-calc">leave salary calculator</a>. There’s a second box for pay while you’re on leave.</p><p><em>This is general information, not legal advice. Checked against the official text of the law and its regulations on 8 November 2026.</em></p><p>I run GulfPayCalc, a free UAE and Saudi pay calculator site.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67d9045430ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What a Median-Priced Home in Bend, Oregon, Actually Costs Each Month]]></title>
            <link>https://medium.com/@moe.bashir2/what-a-median-home-in-bend-actually-costs-each-month-8e382372564c?source=rss-f96bed5887f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e382372564c</guid>
            <dc:creator><![CDATA[Muhammad Bashir]]></dc:creator>
            <pubDate>Wed, 04 Nov 2026 12:10:44 GMT</pubDate>
            <atom:updated>2026-11-04T13:36:50.308Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JCTrRom5JDh8sTCcWQa4ag.jpeg" /><figcaption>Bend from Pilot Butte. Photo: Roc0ast3r, <a href="https://commons.wikimedia.org/wiki/File:View_of_Bend,_Oregon_from_Pilot_Butte_-_1.jpg">Wikimedia Commons</a>, CC0</figcaption></figure><p>The median home value in Deschutes County is $650,900, according to the Census Bureau’s latest five-year survey. That covers the whole county, from Bend to Redmond, Sisters and La Pine, and it’s what owners think their homes are worth. So it runs behind what’s selling in Bend today. It’s still a fair place to start.</p><p>Here’s what that house costs a month at 7.32%, the national average for a 30-year fixed loan in late October.</p><h3>Putting 20% down</h3><p>That’s $130,180 in cash, and a loan of $520,720.</p><ul><li>Principal and interest: $3,577</li><li>Property tax: $309</li><li>Homeowners insurance: about $95</li><li><strong>Total: about $3,980 a month</strong></li></ul><p>The insurance line is an estimate from state averages, and Oregon’s are low. If the house sits near the forest on Bend’s west side or out toward Sisters, get a quote early. Wildfire risk can move that number a lot.</p><h3>Putting 10% down</h3><p>Most first-time buyers don’t have 20%. At 10% down the loan grows to $585,810, and you pay mortgage insurance until you reach 20% equity. At a typical 0.5% a year, that’s about $244 a month.</p><ul><li>Principal and interest: $4,024</li><li>Property tax: $309</li><li>Insurance: $95</li><li>Mortgage insurance: $244</li><li><strong>Total: about $4,670 a month</strong></li></ul><p>So keeping $65,090 in the bank costs you about $690 a month, at least until the mortgage insurance comes off.</p><h3>Why the tax is so low</h3><p>The median tax bill in the county is $3,736 a year. Against a $650,900 home, that’s 0.57%. Oregon as a whole is 0.84%, and the U.S. is 1.05%. At the national rate, the same house would cost about $260 more a month.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GtfowYy0LyViKfHz6-BM8g.jpeg" /><figcaption>The Hamilton House, one of Bend’s older homes. Photo: Ian Poellet, <a href="https://commons.wikimedia.org/wiki/File:Hamilton_House_-_Bend_Oregon.jpg">Wikimedia Commons</a>, <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a></figcaption></figure><p>The reason is Measure 50, which Oregon voters passed in 1997. Your tax is based on assessed value, not market value, and assessed value can rise only 3% a year. Bend prices have grown much faster than that for a long time, so a lot of homes are assessed at a fraction of what they’d sell for.</p><p>Here’s what catches people moving from California: a sale doesn’t reset the assessment. In California your price becomes the new tax base. In Oregon, you generally take over the seller’s assessed value.</p><p>That’s mostly good news, but not always. A newly built home gets its first assessment when it’s finished, so a new build in northeast Bend can carry a bigger bill than an older house at the same price. Additions and major remodels can push it up too.</p><p>So don’t guess the tax from the price. Look at last year’s bill. It’s usually on the listing, and the county assessor’s site has it by address.</p><h3>If you’re looking at $750,000</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Ldi8jY9LdeZfpIRvySXPg.jpeg" /><figcaption>The Deschutes River near the Old Mill District. Photo: Everwest, <a href="https://commons.wikimedia.org/wiki/File:2026_09_18_Deschutes_River_Bend,_Oregon.jpg">Wikimedia Commons</a>, <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a></figcaption></figure><p>A lot of Bend listings are above the county median. At $750,000:</p><ul><li>20% down ($150,000): about <strong>$4,580 a month</strong></li><li>10% down ($75,000): about <strong>$5,370 a month</strong>, mortgage insurance included</li></ul><p>(Tax here is figured at the county’s 0.57% to keep the comparison simple. The real number is whatever the tax statement says.)</p><p>Each quarter point on the rate adds roughly $90 a month to the $520,720 loan, so shopping three or four lenders is worth an afternoon.</p><h3>What it takes in income</h3><p>The county’s median household income is $92,758, or about $7,730 a month before tax. Lenders like your housing cost to stay around 28% of that, which is about $2,165.</p><p>The 20%-down payment on the median home is nearly double. It helps explain why so many buyers here bring equity from a home they sold somewhere else.</p><h3>Run it with your own numbers</h3><p>Your rate, down payment, tax bill and insurance quote will each move the total by hundreds. I put together a <a href="https://totalmonthly.com/mortgage-calculator/oregon/deschutes-county/?utm_source=medium">Deschutes County mortgage calculator</a> that starts with these county figures. Put in the tax from the listing and a real insurance quote, and you’ll see the actual monthly cost.</p><p><em>Sources: U.S. Census Bureau, American Community Survey 2020–2024 (home value, tax paid, income). Mortgage rate: national weekly average for a 30-year fixed loan, October 22, 2026. Insurance: state estimate from NAIC average premiums.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e382372564c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>