<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Sharif Haason — Writing</title>
  <link href="https://sharifhsn.dev/blog/" rel="alternate"/>
  <link href="https://sharifhsn.dev/feed.xml" rel="self"/>
  <id>https://sharifhsn.dev/blog/</id>
  <author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author>
  <updated>2026-04-01T14:42:17.714Z</updated>
  <entry><title>A New Chapter: Graduation and a New Role at Monark</title><link href="https://sharifhsn.dev/blog/linkedin-2026-04-01-a-new-chapter-graduation-and-a-new-role-at-monark/"/><id>https://sharifhsn.dev/blog/linkedin-2026-04-01-a-new-chapter-graduation-and-a-new-role-at-monark/</id><published>2026-04-01T14:42:17.714Z</published><updated>2026-04-01T14:42:17.714Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>I&apos;m thrilled to make two major announcements: I have completed my Master&apos;s in Financial Engineering from Stevens Institute of Technology, and I am starting a new role at Monark Mar…</summary><category term="Career"/><category term="Personal"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7445118347752402944/" rel="via"/></entry>
  <entry><title>The December Fed Meeting: What to Watch</title><link href="https://sharifhsn.dev/blog/linkedin-2025-12-10-the-december-fed-meeting-what-to-watch/"/><id>https://sharifhsn.dev/blog/linkedin-2025-12-10-the-december-fed-meeting-what-to-watch/</id><published>2025-12-10T11:00:16.071Z</published><updated>2025-12-10T11:00:16.071Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The December Fed meeting is today! Despite the worrying lack of data, the market is confident that rates will be cut by 25 bps, with the FedWatch tool giving a 87.6% chance for a c…</summary><category term="Central Banking"/><category term="Monetary Policy"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7404475031784730625/" rel="via"/></entry>
  <entry><title>Why 50-Year Mortgages Fall Short</title><link href="https://sharifhsn.dev/blog/linkedin-2025-11-15-why-50-year-mortgages-fall-short/"/><id>https://sharifhsn.dev/blog/linkedin-2025-11-15-why-50-year-mortgages-fall-short/</id><published>2025-11-15T14:30:01.051Z</published><updated>2025-11-15T14:30:01.051Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Federal Housing Finance Agency director Bill Pulte recently floated a big potential change to the mortgage market: 50 year mortgages. Unfortunately, these aren’t realistic.</summary><category term="Housing"/><category term="Public Policy"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7395468120376627200/" rel="via"/></entry>
  <entry><title>Jefferies and First Brands: What the Trade Debt Means</title><link href="https://sharifhsn.dev/blog/linkedin-2025-10-09-jefferies-and-first-brands-what-the-trade-debt-means/"/><id>https://sharifhsn.dev/blog/linkedin-2025-10-09-jefferies-and-first-brands-what-the-trade-debt-means/</id><published>2025-10-09T14:28:33.464Z</published><updated>2025-10-09T14:28:33.464Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>&quot;Jefferies Fund Has $715 Million in First Brands Group, LLC’ Trade Debt&quot;... but what does that exactly mean?</summary><category term="Credit"/><category term="Financial Markets"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7382059401983197184/" rel="via"/></entry>
  <entry><title>Why Rate Cuts Won&apos;t Fix a Labor Supply Shock</title><link href="https://sharifhsn.dev/blog/linkedin-2025-09-09-why-rate-cuts-won-t-fix-a-labor-supply-shock/"/><id>https://sharifhsn.dev/blog/linkedin-2025-09-09-why-rate-cuts-won-t-fix-a-labor-supply-shock/</id><published>2025-09-09T19:37:25.419Z</published><updated>2025-09-09T19:37:25.419Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Interest rate cuts won&apos;t relieve a labor supply shock: with lessons from energy and housing crises.</summary><category term="Monetary Policy"/><category term="Labor Markets"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7371265494668156929/" rel="via"/></entry>
  <entry><title>Oil Prices and the Energy Provisions in the One Big Beautiful Bill</title><link href="https://sharifhsn.dev/blog/linkedin-2025-07-03-energy-provisions-one-big-beautiful-bill/"/><id>https://sharifhsn.dev/blog/linkedin-2025-07-03-energy-provisions-one-big-beautiful-bill/</id><published>2025-07-03T18:00:26.040Z</published><updated>2025-07-03T18:00:26.040Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Great video about oil prices from experts in commodities.</summary><category term="Energy Policy"/><category term="Fiscal Policy"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7346598711562579969/" rel="via"/></entry>
  <entry><title>Neural Networks Aren&apos;t Impressive on Their Own</title><link href="https://sharifhsn.dev/blog/linkedin-2025-06-07-neural-networks-aren-t-impressive-on-their-own/"/><id>https://sharifhsn.dev/blog/linkedin-2025-06-07-neural-networks-aren-t-impressive-on-their-own/</id><published>2025-06-07T19:26:59.305Z</published><updated>2025-06-07T19:26:59.305Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Neural networks AREN&apos;T impressive...</summary><category term="AI"/><category term="Machine Learning"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7337198409189150720/" rel="via"/></entry>
  <entry><title>The Case for Structured Errors in Rust</title><link href="https://sharifhsn.dev/blog/linkedin-2025-05-28-the-case-for-structured-errors-in-rust/"/><id>https://sharifhsn.dev/blog/linkedin-2025-05-28-the-case-for-structured-errors-in-rust/</id><published>2025-05-28T18:20:44.156Z</published><updated>2025-05-28T18:20:44.156Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>I found this article on structured errors insightful. Although it is focused on Rust, the explanations of the direct benefits of encoding information about the failure surface of c…</summary><category term="Rust"/><category term="Software Engineering"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7333557857549783040/" rel="via"/></entry>
  <entry><title>Rust&apos;s `subsecond` Crate Brings Hot Reloading</title><link href="https://sharifhsn.dev/blog/linkedin-2025-05-28-rust-s-subsecond-crate-brings-hot-reloading/"/><id>https://sharifhsn.dev/blog/linkedin-2025-05-28-rust-s-subsecond-crate-brings-hot-reloading/</id><published>2025-05-28T18:00:05.331Z</published><updated>2025-05-28T18:00:05.331Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Rust&apos;s subsecond crate is a game changer for application and game development in Rust! Its innovative hotpatching method enables hot reloading for select libraries.</summary><category term="Rust"/><category term="Developer Tools"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7333552661541117952/" rel="via"/></entry>
  <entry><title>What a U.S. Credit Rating Downgrade Means</title><link href="https://sharifhsn.dev/blog/linkedin-2025-05-17-what-a-u-s-credit-rating-downgrade-means/"/><id>https://sharifhsn.dev/blog/linkedin-2025-05-17-what-a-u-s-credit-rating-downgrade-means/</id><published>2025-05-17T15:52:46.770Z</published><updated>2025-05-17T15:52:46.770Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Moody&apos;s has downgraded the US&apos;s credit rating from the best (Aaa) to second-best (Aa1), sending the markets into a buzz. But what does it mean to downgrade a credit rating?</summary><category term="Fiscal Policy"/><category term="Credit Ratings"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7329534356572508160/" rel="via"/></entry>
  <entry><title>Rust at 10: Why I&apos;ve Followed the Language</title><link href="https://sharifhsn.dev/blog/linkedin-2025-05-16-rust-at-10-why-i-ve-followed-the-language/"/><id>https://sharifhsn.dev/blog/linkedin-2025-05-16-rust-at-10-why-i-ve-followed-the-language/</id><published>2025-05-16T17:38:11.094Z</published><updated>2025-05-16T17:38:11.094Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Rust turns 10! In honor of this momentous anniversary, I&apos;d like to reflect on what Rust means to me, and why I have followed it for so long.</summary><category term="Rust"/><category term="Programming Languages"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7329198494844411905/" rel="via"/></entry>
  <entry><title>Copulas and Portfolio Risk</title><link href="https://sharifhsn.dev/blog/computational-methods-week-14/"/><id>https://sharifhsn.dev/blog/computational-methods-week-14/</id><published>2025-04-29T00:00:00Z</published><updated>2025-04-29T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Ending early today because the Pacers are playing tonight</summary><category term="Computational Methods"/><category term="Copulas"/><category term="Value at Risk"/><category term="Expected Shortfall"/></entry>
  <entry><title>Counterparty Risk-Weighted Assets</title><link href="https://sharifhsn.dev/blog/counterparty-risk-weighted-assets/"/><id>https://sharifhsn.dev/blog/counterparty-risk-weighted-assets/</id><published>2025-04-28T00:00:00Z</published><updated>2025-04-28T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The risk-weighted-assets notes translate counterparty exposure into a capital calculation. The exposure-at-default measure is combined with a risk weight or a model-based capital r…</summary><category term="FX"/><category term="Counterparty Risk"/><category term="Risk-Weighted Assets"/></entry>
  <entry><title>Multi-Name Credit Risk</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-13/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-13/</id><published>2025-04-24T00:00:00Z</published><updated>2025-04-24T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>This is going to be a basic introduction, this is a complex topic to cover comprehensively.</summary><category term="Credit"/><category term="Copulas"/><category term="Dependence Modelling"/><category term="Multi-Name Credit Risk"/></entry>
  <entry><title>Neural Networks and Credit Ratings</title><link href="https://sharifhsn.dev/blog/computational-methods-week-13/"/><id>https://sharifhsn.dev/blog/computational-methods-week-13/</id><published>2025-04-22T00:00:00Z</published><updated>2025-04-22T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>This is an idea that was created in the 50s, exploded in the 90s, where it was called neural networks. A lot of development on the brain happened, so ANN was a term to distinguish …</summary><category term="Computational Methods"/><category term="Neural Networks"/><category term="Backpropagation"/><category term="Credit Ratings"/><category term="Volatility Estimation"/></entry>
  <entry><title>XVA and Counterparty Risk</title><link href="https://sharifhsn.dev/blog/xva-and-counterparty-risk/"/><id>https://sharifhsn.dev/blog/xva-and-counterparty-risk/</id><published>2025-04-21T00:00:00Z</published><updated>2025-04-21T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The XVA section adds counterparty and funding effects to an otherwise clean derivative value. CVA is the expected loss from counterparty default on positive exposure; FVA captures …</summary><category term="FX"/><category term="XVA"/><category term="Counterparty Risk"/></entry>
  <entry><title>Why Federal Reserve Independence Matters</title><link href="https://sharifhsn.dev/blog/linkedin-2025-04-18-why-federal-reserve-independence-matters/"/><id>https://sharifhsn.dev/blog/linkedin-2025-04-18-why-federal-reserve-independence-matters/</id><published>2025-04-18T16:23:13.160Z</published><updated>2025-04-18T16:23:13.160Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Trump is threatening the independence of the Federal Reserve. But why does this even matter? And what does the Fed even do?</summary><category term="Central Banking"/><category term="Monetary Policy"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7319032768905064449/" rel="via"/></entry>
  <entry><title>Dependence and Copulas</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-12/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-12/</id><published>2025-04-17T00:00:00Z</published><updated>2025-04-17T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Relevant variables for these credits</summary><category term="Credit"/><category term="Dependence"/><category term="Copulas"/></entry>
  <entry><title>Euler–Milstein and Monte Carlo Extensions</title><link href="https://sharifhsn.dev/blog/computational-methods-week-12/"/><id>https://sharifhsn.dev/blog/computational-methods-week-12/</id><published>2025-04-15T00:00:00Z</published><updated>2025-04-15T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We will expand on the variance reduction techniques, we will repeat a couple things from last week.</summary><category term="Computational Methods"/><category term="Euler–Milstein"/><category term="Monte Carlo"/><category term="Control Variates"/><category term="Correlated Processes"/></entry>
  <entry><title>Vietnam and the Tariff Shock</title><link href="https://sharifhsn.dev/blog/linkedin-2025-04-14-vietnam-and-the-tariff-shock/"/><id>https://sharifhsn.dev/blog/linkedin-2025-04-14-vietnam-and-the-tariff-shock/</id><published>2025-04-14T15:40:44.045Z</published><updated>2025-04-14T15:40:44.045Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The biggest loser of the tariffs, the tragedy of the &quot;miracle on the Mekong&quot;: Vietnam 🇻🇳</summary><category term="Tariffs &amp; Trade"/><category term="Trade Policy"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7317572525679398915/" rel="via"/></entry>
  <entry><title>The Big Short and the Boring Cause of the 2008 Crisis</title><link href="https://sharifhsn.dev/blog/linkedin-2025-04-12-the-big-short-and-the-boring-cause-of-the-2008-crisis/"/><id>https://sharifhsn.dev/blog/linkedin-2025-04-12-the-big-short-and-the-boring-cause-of-the-2008-crisis/</id><published>2025-04-12T18:25:14.194Z</published><updated>2025-04-12T18:25:14.194Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>I rewatched The Big Short last night, and realized that they sensationalized a pretty boring reason that the 2008 crisis happened.</summary><category term="Financial Markets"/><category term="Housing"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7316889148353630210/" rel="via"/></entry>
  <entry><title>Romania&apos;s Export-Driven Debt Strategy as a Warning</title><link href="https://sharifhsn.dev/blog/linkedin-2025-04-11-romania-s-export-driven-debt-strategy-as-a-warning/"/><id>https://sharifhsn.dev/blog/linkedin-2025-04-11-romania-s-export-driven-debt-strategy-as-a-warning/</id><published>2025-04-11T15:38:23.906Z</published><updated>2025-04-11T15:38:23.906Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Trump&apos;s policy of reducing the national debt through an export-driven economy has parallels to 1980s Romania—and it doesn&apos;t end well.</summary><category term="Sovereign Debt"/><category term="Fiscal Policy"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7316484774297038848/" rel="via"/></entry>
  <entry><title>China&apos;s Tariff Strategy and the One-Punch Proverb</title><link href="https://sharifhsn.dev/blog/linkedin-2025-04-10-china-s-tariff-strategy-and-the-one-punch-proverb/"/><id>https://sharifhsn.dev/blog/linkedin-2025-04-10-china-s-tariff-strategy-and-the-one-punch-proverb/</id><published>2025-04-10T13:30:12.308Z</published><updated>2025-04-10T13:30:12.308Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>An old Chinese proverb contains the key to understanding their tariff strategy: 打得一拳开 免得百拳来</summary><category term="Tariffs &amp; Trade"/><category term="Trade Policy"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7316090125531111425/" rel="via"/></entry>
  <entry><title>Structured Credit and CDOs</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-11/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-11/</id><published>2025-04-10T00:00:00Z</published><updated>2025-04-10T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Last day of class is Thursday, May 8\.</summary><category term="Credit"/><category term="CDOs"/><category term="Structured Credit"/><category term="Tranches"/><category term="Synthetic CDOs"/></entry>
  <entry><title>Why Crashing the Economy Won&apos;t Work</title><link href="https://sharifhsn.dev/blog/linkedin-2025-04-09-why-crashing-the-economy-won-t-work/"/><id>https://sharifhsn.dev/blog/linkedin-2025-04-09-why-crashing-the-economy-won-t-work/</id><published>2025-04-09T01:35:45.991Z</published><updated>2025-04-09T01:35:45.991Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The secret plan behind crashing the economy—and why it can’t work 😴</summary><category term="Macroeconomics"/><category term="Monetary Policy"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7315547943300681728/" rel="via"/></entry>
  <entry><title>Monte Carlo and Variance Reduction</title><link href="https://sharifhsn.dev/blog/computational-methods-week-11/"/><id>https://sharifhsn.dev/blog/computational-methods-week-11/</id><published>2025-04-08T00:00:00Z</published><updated>2025-04-08T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We will cover this stuff in two different lectures. Today is Monte Carlo 1.</summary><category term="Computational Methods"/><category term="Monte Carlo"/><category term="Variance Reduction"/><category term="Control Variates"/><category term="Asian Options"/></entry>
  <entry><title>Misinformation in Volatile Markets</title><link href="https://sharifhsn.dev/blog/linkedin-2025-04-07-misinformation-in-volatile-markets/"/><id>https://sharifhsn.dev/blog/linkedin-2025-04-07-misinformation-in-volatile-markets/</id><published>2025-04-07T19:31:32.998Z</published><updated>2025-04-07T19:31:32.998Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Misinformation becomes especially dangerous in volatile markets... 😱</summary><category term="Financial Markets"/><category term="Misinformation"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7315093897339101184/" rel="via"/></entry>
  <entry><title>Documentation Is the Key to Vibe Coding</title><link href="https://sharifhsn.dev/blog/linkedin-2025-04-05-documentation-is-the-key-to-vibe-coding/"/><id>https://sharifhsn.dev/blog/linkedin-2025-04-05-documentation-is-the-key-to-vibe-coding/</id><published>2025-04-05T19:46:48.390Z</published><updated>2025-04-05T19:46:48.390Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Documentation is the key to vibe coding success!</summary><category term="AI"/><category term="Software Engineering"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7314372961040289792/" rel="via"/></entry>
  <entry><title>Rust 1.86: `get_disjoint_mut`</title><link href="https://sharifhsn.dev/blog/linkedin-2025-04-03-rust-1-86-get-disjoint-mut/"/><id>https://sharifhsn.dev/blog/linkedin-2025-04-03-rust-1-86-get-disjoint-mut/</id><published>2025-04-03T18:41:40.946Z</published><updated>2025-04-03T18:41:40.946Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Rust 1.86.0 has been released, with a very nice ergonomic feature to get around the borrow checker: get_disjoint_mut</summary><category term="Rust"/><category term="Programming Languages"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7313631796301099010/" rel="via"/></entry>
  <entry><title>Credit Default Swap Valuation</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-10/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-10/</id><published>2025-04-03T00:00:00Z</published><updated>2025-04-03T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We discussed the mechanics of CDS a bit, and then started on the valuation. So let’s discuss the valuation in more details.</summary><category term="Credit"/><category term="Credit Default Swaps"/><category term="CDS Valuation"/><category term="Premium Leg"/><category term="Protection Leg"/></entry>
  <entry><title>Calibration and SDE Parameter Estimation</title><link href="https://sharifhsn.dev/blog/computational-methods-week-10/"/><id>https://sharifhsn.dev/blog/computational-methods-week-10/</id><published>2025-04-01T00:00:00Z</published><updated>2025-04-01T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Parameter estimation for stochastic differential equations.</summary><category term="Computational Methods"/><category term="Calibration"/><category term="Maximum Likelihood"/><category term="Stochastic Differential Equations"/><category term="Parameter Estimation"/></entry>
  <entry><title>CDS and Credit Markets</title><link href="https://sharifhsn.dev/blog/cds-and-credit-markets/"/><id>https://sharifhsn.dev/blog/cds-and-credit-markets/</id><published>2025-03-31T00:00:00Z</published><updated>2025-03-31T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The FE-635 syllabus turns to credit as a traded asset through credit default swaps. A CDS exchanges a premium leg for protection against a defined credit event. The buyer pays the …</summary><category term="FX"/><category term="CDS"/><category term="Credit Markets"/></entry>
  <entry><title>The Cost of AI-Generated Images</title><link href="https://sharifhsn.dev/blog/linkedin-2025-03-28-the-cost-of-ai-generated-images/"/><id>https://sharifhsn.dev/blog/linkedin-2025-03-28-the-cost-of-ai-generated-images/</id><published>2025-03-28T13:00:08.066Z</published><updated>2025-03-28T13:00:08.066Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>New AI images stun the world 🤯 but are they worth the cost? 🤔</summary><category term="AI"/><category term="Creative Work"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7311371515738898434/" rel="via"/></entry>
  <entry><title>Hazard Rates and Credit Default Swaps</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-09/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-09/</id><published>2025-03-27T00:00:00Z</published><updated>2025-03-27T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Lambda hazard rate is convenient to work with.</summary><category term="Credit"/><category term="Hazard Rates"/><category term="Recovery Rates"/><category term="Credit Default Swaps"/></entry>
  <entry><title>Midterm Cheat Sheet</title><link href="https://sharifhsn.dev/blog/computational-methods-midterm-cheat-sheet/"/><id>https://sharifhsn.dev/blog/computational-methods-midterm-cheat-sheet/</id><published>2025-03-25T00:00:00Z</published><updated>2025-03-25T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Handwritten midterm reference for quadrature and Black-Scholes notation; several formulas are unclear in the source render.</summary><category term="Computational Methods"/><category term="Midterm"/><category term="Quadrature"/><category term="Numerical Integration"/><category term="Midpoint Rule"/><category term="Simpson&apos;s Rule"/><category term="Black-Scholes"/><category term="Partial Differential Equations"/><category term="Free Boundary"/></entry>
  <entry><title>GARCH Risk Statistics</title><link href="https://sharifhsn.dev/blog/garch-risk-statistics/"/><id>https://sharifhsn.dev/blog/garch-risk-statistics/</id><published>2025-03-24T00:00:00Z</published><updated>2025-03-24T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The risk-statistics portion of FE-635 introduces GARCH as a way to model time-varying volatility. Returns may have little serial correlation while their squared returns cluster: ca…</summary><category term="FX"/><category term="GARCH"/><category term="Volatility Estimation"/></entry>
  <entry><title>LIBOR Market Model and Hazard Rates</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-08/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-08/</id><published>2025-03-20T00:00:00Z</published><updated>2025-03-20T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The LIBOR Market Model (or Brace-Gatarek-Musiela Model)</summary><category term="Fixed Income"/><category term="LIBOR Market Model"/><category term="Interest Rate Models"/><category term="Hazard Rates"/></entry>
  <entry><title>Stochastic Volatility, Jumps, and Fourier Transforms</title><link href="https://sharifhsn.dev/blog/computational-methods-week-09/"/><id>https://sharifhsn.dev/blog/computational-methods-week-09/</id><published>2025-03-18T00:00:00Z</published><updated>2025-03-18T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Theoretical transformations, very technical</summary><category term="Computational Methods"/><category term="Stochastic Volatility"/><category term="Jump Processes"/><category term="Poisson Process"/><category term="Fourier Transform"/></entry>
  <entry><title>Short-Rate Calibration and HJM</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-07/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-07/</id><published>2025-03-13T00:00:00Z</published><updated>2025-03-13T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We’ll look specifically at Vasicek and CIR. Then we will make some remarks on the Hull-White two factor model, then some more complex model.</summary><category term="Fixed Income"/><category term="Calibration"/><category term="Vasicek"/><category term="Cox-Ingersoll-Ross"/><category term="Hull-White"/><category term="HJM"/></entry>
  <entry><title>American Options and Cubic Splines</title><link href="https://sharifhsn.dev/blog/computational-methods-week-07/"/><id>https://sharifhsn.dev/blog/computational-methods-week-07/</id><published>2025-03-11T00:00:00Z</published><updated>2025-03-11T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Cubic Splines, you solve something that is like a tridiagonal system</summary><category term="Computational Methods"/><category term="American Options"/><category term="Linear Complementarity"/><category term="Successive Over-Relaxation"/><category term="Cubic Splines"/></entry>
  <entry><title>FX Volatility Smiles and Uncertainty</title><link href="https://sharifhsn.dev/blog/fx-volatility-smiles-and-uncertainty/"/><id>https://sharifhsn.dev/blog/fx-volatility-smiles-and-uncertainty/</id><published>2025-03-10T00:00:00Z</published><updated>2025-03-10T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The next FE-635 notes explain why a single Black–Scholes volatility is not enough for an FX market. Discrete hedging creates P&amp;L even when the model&apos;s inputs are correct, and volat…</summary><category term="FX"/><category term="Volatility"/><category term="Smiles"/></entry>
  <entry><title>Hull–White Interest Rate Trees</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-06/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-06/</id><published>2025-03-06T00:00:00Z</published><updated>2025-03-06T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>This will be focused on numerical methods, next week we will have more examples.</summary><category term="Fixed Income"/><category term="Hull-White Model"/><category term="Trinomial Trees"/><category term="Interest Rate Models"/></entry>
  <entry><title>Crank–Nicolson and the Heston Model</title><link href="https://sharifhsn.dev/blog/computational-methods-week-06/"/><id>https://sharifhsn.dev/blog/computational-methods-week-06/</id><published>2025-03-04T00:00:00Z</published><updated>2025-03-04T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Don’t use AI, you won’t learn anything.</summary><category term="Computational Methods"/><category term="Crank-Nicolson"/><category term="Linear Systems"/><category term="Heston Model"/><category term="Finite Differences"/></entry>
  <entry><title>Finite-Difference Sketches</title><link href="https://sharifhsn.dev/blog/computational-methods-finite-difference-sketches/"/><id>https://sharifhsn.dev/blog/computational-methods-finite-difference-sketches/</id><published>2025-03-04T00:00:00Z</published><updated>2025-03-04T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A handwritten finite-difference sketch with A/B/C labels; surrounding equation notation is unclear in the source render.</summary><category term="Computational Methods"/><category term="Finite Differences"/><category term="Grid Sketch"/><category term="Numerical Methods"/></entry>
  <entry><title>FX Discrete Hedging and Greeks</title><link href="https://sharifhsn.dev/blog/fx-discrete-hedging-and-greeks/"/><id>https://sharifhsn.dev/blog/fx-discrete-hedging-and-greeks/</id><published>2025-03-03T00:00:00Z</published><updated>2025-03-03T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The FE-635 notes move from an ideal continuous hedge to the discrete hedges used in practice. A delta hedge removes the first-order response to an FX move at one instant; between r…</summary><category term="FX"/><category term="Greeks"/><category term="Discrete Hedging"/></entry>
  <entry><title>Constant Maturity Swaps and Short-Rate Models</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-05/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-05/</id><published>2025-02-27T00:00:00Z</published><updated>2025-02-27T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Timing and quanto adjustments, we also looked at nonstandard swaps, LIBOR for LES? Another kind of nonstandard swap is…</summary><category term="Fixed Income"/><category term="Constant Maturity Swaps"/><category term="Short Rate Models"/><category term="Vasicek"/><category term="Cox-Ingersoll-Ross"/><category term="Hull-White"/></entry>
  <entry><title>Differential Equations and PDE Methods</title><link href="https://sharifhsn.dev/blog/computational-methods-week-05/"/><id>https://sharifhsn.dev/blog/computational-methods-week-05/</id><published>2025-02-25T00:00:00Z</published><updated>2025-02-25T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Finite difference methods to approximate PDEs this week</summary><category term="Computational Methods"/><category term="Differential Equations"/><category term="PDEs"/><category term="Finite Differences"/><category term="Black-Scholes"/></entry>
  <entry><title>Black–Scholes Pricing for FX</title><link href="https://sharifhsn.dev/blog/fx-black-scholes-pricing/"/><id>https://sharifhsn.dev/blog/fx-black-scholes-pricing/</id><published>2025-02-24T00:00:00Z</published><updated>2025-02-24T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The FE-635 workbook implements Black–Scholes-style pricing for calls, puts, forwards, and deposits. Its inputs separate the domestic discount rate from the foreign rate, because an…</summary><category term="FX"/><category term="Black–Scholes"/><category term="Option Pricing"/></entry>
  <entry><title>Interest Rate Adjustments and Currency Swaps</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-04/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-04/</id><published>2025-02-20T00:00:00Z</published><updated>2025-02-20T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We may have to make some adjustments when we value interest rate derivatives. These are convexity, timing, and quant adjustments. We will see when it is appropriate to make these a…</summary><category term="Fixed Income"/><category term="Interest Rate Derivatives"/><category term="Convexity Adjustment"/><category term="Timing Adjustment"/><category term="Change of Numeraire"/><category term="Currency Swaps"/></entry>
  <entry><title>PBMs Under Fire: What CVS&apos;s Response Leaves Out</title><link href="https://sharifhsn.dev/blog/linkedin-2025-02-18-pbms-under-fire-what-cvs-s-response-leaves-out/"/><id>https://sharifhsn.dev/blog/linkedin-2025-02-18-pbms-under-fire-what-cvs-s-response-leaves-out/</id><published>2025-02-18T16:47:24.726Z</published><updated>2025-02-18T16:47:24.726Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Trump has taken aim at pharmacy benefit managers, and the response from the industry seems to be… duck and cover. Prem Shah, executive VP at CVS, responded to skepticism on #Bloomb…</summary><category term="Healthcare"/><category term="Public Policy"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7297657973143666688/" rel="via"/></entry>
  <entry><title>Trinomial Trees, Dividends, and Greeks</title><link href="https://sharifhsn.dev/blog/computational-methods-week-04/"/><id>https://sharifhsn.dev/blog/computational-methods-week-04/</id><published>2025-02-18T00:00:00Z</published><updated>2025-02-18T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>I posted an assignment, this assignment is due this week on Sunday. Let’s just talk about the homework.</summary><category term="Computational Methods"/><category term="Trinomial Trees"/><category term="Dividends"/><category term="Greeks"/><category term="Finite Differences"/></entry>
  <entry><title>Bond Options, Caps, Floors, and Swaptions</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-03/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-03/</id><published>2025-02-13T00:00:00Z</published><updated>2025-02-13T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We’re going to look at bond options, caps and floors, and everything about swaptions. Depending on time, we may go forward.</summary><category term="Fixed Income"/><category term="Interest Rate Derivatives"/><category term="Bond Options"/><category term="Black Model"/><category term="Caps and Floors"/><category term="Swaptions"/></entry>
  <entry><title>Tree Approximation and American Options</title><link href="https://sharifhsn.dev/blog/computational-methods-week-03/"/><id>https://sharifhsn.dev/blog/computational-methods-week-03/</id><published>2025-02-11T00:00:00Z</published><updated>2025-02-11T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We’re not going to use the arbitrage method, we are going to use the forest methods.</summary><category term="Computational Methods"/><category term="Binomial Trees"/><category term="Option Pricing"/><category term="American Options"/><category term="Barrier Options"/></entry>
  <entry><title>FX Parity and Forward Trading</title><link href="https://sharifhsn.dev/blog/fx-parity-and-forward-trading/"/><id>https://sharifhsn.dev/blog/fx-parity-and-forward-trading/</id><published>2025-02-10T00:00:00Z</published><updated>2025-02-10T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The FE-635 notes begin with the distinction between spot and forward FX. The forward rate is the exchange rate implied by borrowing in one currency, lending in the other, and carry…</summary><category term="FX"/><category term="FX Parity"/><category term="Forward Contracts"/></entry>
  <entry><title>Yield Curves and Bootstrapping</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-02/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-02/</id><published>2025-02-06T00:00:00Z</published><updated>2025-02-06T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We started to look at interest rates. In the first part we’re going to discuss various interpolation methods, functions that are useful for modeling the yield curve.</summary><category term="Fixed Income"/><category term="Yield Curves"/><category term="Interpolation"/><category term="Bootstrapping"/><category term="Nelson-Siegel"/><category term="Smith-Wilson"/></entry>
  <entry><title>Black–Scholes, Calibration, and Implied Volatility</title><link href="https://sharifhsn.dev/blog/computational-methods-week-02/"/><id>https://sharifhsn.dev/blog/computational-methods-week-02/</id><published>2025-02-04T00:00:00Z</published><updated>2025-02-04T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Hanlon 2 is occupied by the system administrator, Zheng Xing. He will move his class so that we can occupy there. They will need to remote desktop into the lab.</summary><category term="Computational Methods"/><category term="Black-Scholes"/><category term="Calibration"/><category term="Implied Volatility"/><category term="Stochastic Volatility"/></entry>
  <entry><title>Bond Pricing, Duration, and DV01</title><link href="https://sharifhsn.dev/blog/advanced-derivatives-week-01/"/><id>https://sharifhsn.dev/blog/advanced-derivatives-week-01/</id><published>2025-01-30T00:00:00Z</published><updated>2025-01-30T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Take-home exam format, 24/48 hours, lots of writing code, during finals week.</summary><category term="Fixed Income"/><category term="Bonds"/><category term="Yield Curves"/><category term="Bond Pricing"/><category term="DV01"/><category term="Duration"/><category term="Convexity"/></entry>
  <entry><title>The Cost of Transit Delays</title><link href="https://sharifhsn.dev/blog/linkedin-2025-01-28-the-cost-of-transit-delays/"/><id>https://sharifhsn.dev/blog/linkedin-2025-01-28-the-cost-of-transit-delays/</id><published>2025-01-28T14:46:42.541Z</published><updated>2025-01-28T14:46:42.541Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>As a frequent user of public transit, I know how impactful delays are both on my productivity and my mental health. Being stuck in Secaucus Junction because of some nonsense happen…</summary><category term="Transportation"/><category term="Public Policy"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7290017452040544257/" rel="via"/></entry>
  <entry><title>Stochastic Processes and Computational Pricing</title><link href="https://sharifhsn.dev/blog/computational-methods-week-01/"/><id>https://sharifhsn.dev/blog/computational-methods-week-01/</id><published>2025-01-28T00:00:00Z</published><updated>2025-01-28T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>I’m out on vacation this week, so I watched the recording</summary><category term="Computational Methods"/><category term="Stochastic Processes"/><category term="Numerical Methods"/><category term="Option Pricing"/></entry>
  <entry><title>Rust 1.84: Three Infrastructure Changes</title><link href="https://sharifhsn.dev/blog/linkedin-2025-01-10-rust-1-84-three-infrastructure-changes/"/><id>https://sharifhsn.dev/blog/linkedin-2025-01-10-rust-1-84-three-infrastructure-changes/</id><published>2025-01-10T13:25:09.372Z</published><updated>2025-01-10T13:25:09.372Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A new version of the Rust language has been released: Rust 1.84.0!</summary><category term="Rust"/><category term="Developer Tools"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7283473947021459456/" rel="via"/></entry>
  <entry><title>Exotic Options</title><link href="https://sharifhsn.dev/blog/exotic-options/"/><id>https://sharifhsn.dev/blog/exotic-options/</id><published>2024-12-12T00:00:00Z</published><updated>2024-12-12T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The final FE-610 notes apply the earlier stopping-time and maximum results to path-dependent payoffs. A barrier option depends on whether the underlying crosses a level before expi…</summary><category term="Stochastic Calculus"/><category term="Exotic Options"/><category term="Barrier Options"/></entry>
  <entry><title>Options and Volatility</title><link href="https://sharifhsn.dev/blog/options-and-volatility/"/><id>https://sharifhsn.dev/blog/options-and-volatility/</id><published>2024-12-12T00:00:00Z</published><updated>2024-12-12T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The final FE-535 notes turn to nonlinear risk through options. An option&apos;s payoff is convex, so a small change in the underlying can have a different effect depending on where the …</summary><category term="Risk Management"/><category term="Options"/><category term="Volatility"/></entry>
  <entry><title>Default Fields in Rust Structs</title><link href="https://sharifhsn.dev/blog/linkedin-2024-12-08-default-fields-in-rust-structs/"/><id>https://sharifhsn.dev/blog/linkedin-2024-12-08-default-fields-in-rust-structs/</id><published>2024-12-08T16:50:39.228Z</published><updated>2024-12-08T16:50:39.228Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A recent RFC (request for comment) for the Rust language has divided the community: default fields in structs.</summary><category term="Rust"/><category term="Programming Languages"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7271566862621020161/" rel="via"/></entry>
  <entry><title>Hedging Bonds</title><link href="https://sharifhsn.dev/blog/bond-hedging/"/><id>https://sharifhsn.dev/blog/bond-hedging/</id><published>2024-12-05T00:00:00Z</published><updated>2024-12-05T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The bond-hedging lab combines duration, futures, and forward positions. A portfolio can be made locally insensitive to a yield move by matching its dollar duration with an offsetti…</summary><category term="Risk Management"/><category term="Bonds"/><category term="Hedging"/></entry>
  <entry><title>Rust 1.83 Brings More `const`</title><link href="https://sharifhsn.dev/blog/linkedin-2024-11-28-rust-1-83-brings-more-const/"/><id>https://sharifhsn.dev/blog/linkedin-2024-11-28-rust-1-83-brings-more-const/</id><published>2024-11-28T16:16:30.611Z</published><updated>2024-11-28T16:16:30.611Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A happy Thanksgiving to all! Today, in addition to my loved ones, I&apos;m grateful for a brand-new version of Rust, now with more const! const evaluation is one of the most important s…</summary><category term="Rust"/><category term="Programming Languages"/><link href="https://www.linkedin.com/feed/update/urn:li:activity:7267934391442583554/" rel="via"/></entry>
  <entry><title>Poisson Processes</title><link href="https://sharifhsn.dev/blog/poisson-processes/"/><id>https://sharifhsn.dev/blog/poisson-processes/</id><published>2024-11-28T00:00:00Z</published><updated>2024-11-28T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The FE-610 notes introduce Poisson processes as counting processes with independent increments and a constant arrival intensity. For a rate \(\lambda\), the number of arrivals by t…</summary><category term="Stochastic Calculus"/><category term="Poisson Processes"/><category term="Jump Diffusion"/></entry>
  <entry><title>Linear Hedging</title><link href="https://sharifhsn.dev/blog/linear-hedging/"/><id>https://sharifhsn.dev/blog/linear-hedging/</id><published>2024-11-21T00:00:00Z</published><updated>2024-11-21T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The linear-risk notes approximate a portfolio&apos;s change by its sensitivities to risk factors. A hedge chooses positions whose factor exposures offset the portfolio&apos;s exposures, ofte…</summary><category term="Risk Management"/><category term="Hedging"/><category term="Linear Risk"/></entry>
  <entry><title>Stochastic Differential Equations</title><link href="https://sharifhsn.dev/blog/stochastic-differential-equations/"/><id>https://sharifhsn.dev/blog/stochastic-differential-equations/</id><published>2024-11-21T00:00:00Z</published><updated>2024-11-21T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The SDE section writes a state process as a drift plus a diffusion term,</summary><category term="Stochastic Calculus"/><category term="SDEs"/><category term="Diffusions"/></entry>
  <entry><title>Multidimensional Market Models</title><link href="https://sharifhsn.dev/blog/multidimensional-market-models/"/><id>https://sharifhsn.dev/blog/multidimensional-market-models/</id><published>2024-11-14T00:00:00Z</published><updated>2024-11-14T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The multidimensional market model in the FE-610 notes has several stocks driven by several Brownian factors. Prices, drifts, volatilities, and correlations become vectors and matri…</summary><category term="Stochastic Calculus"/><category term="Market Models"/><category term="Girsanov"/></entry>
  <entry><title>Risk-Neutral Valuation and Interest Rate Parity</title><link href="https://sharifhsn.dev/blog/risk-neutral-valuation-and-parity/"/><id>https://sharifhsn.dev/blog/risk-neutral-valuation-and-parity/</id><published>2024-11-14T00:00:00Z</published><updated>2024-11-14T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The risk-neutral valuation notes use a pricing measure under which discounted tradable prices are martingales. The expected payoff is discounted at the funding rate rather than for…</summary><category term="Risk Management"/><category term="Risk-Neutral Valuation"/><category term="Interest Rate Parity"/></entry>
  <entry><title>Joint and Conditional Distributions</title><link href="https://sharifhsn.dev/blog/joint-and-conditional-distributions/"/><id>https://sharifhsn.dev/blog/joint-and-conditional-distributions/</id><published>2024-11-11T00:00:00Z</published><updated>2024-11-11T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The final FE-540 notes work with a joint law rather than treating each variable in isolation. A conditional density is obtained by normalizing the joint density with the relevant m…</summary><category term="Probability Theory"/><category term="Conditional Distributions"/><category term="Covariance"/></entry>
  <entry><title>Forward Contracts</title><link href="https://sharifhsn.dev/blog/forward-contracts/"/><id>https://sharifhsn.dev/blog/forward-contracts/</id><published>2024-11-07T00:00:00Z</published><updated>2024-11-07T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The forward-contract notes build value from replication. A forward fixes the delivery price today, while the underlying can be financed or invested until maturity. The forward pric…</summary><category term="Risk Management"/><category term="Forward Contracts"/><category term="Futures"/></entry>
  <entry><title>Risk-Neutral Measures</title><link href="https://sharifhsn.dev/blog/risk-neutral-measures/"/><id>https://sharifhsn.dev/blog/risk-neutral-measures/</id><published>2024-11-07T00:00:00Z</published><updated>2024-11-07T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The risk-neutral section motivates a change of measure rather than assuming investors literally expect the risk-free rate. Discounted tradable prices should be martingales under a …</summary><category term="Stochastic Calculus"/><category term="Risk-Neutral Pricing"/><category term="Girsanov"/></entry>
  <entry><title>A Rainbow on Election Day</title><link href="https://sharifhsn.dev/blog/linkedin-2024-11-06-a-rainbow-on-election-day/"/><id>https://sharifhsn.dev/blog/linkedin-2024-11-06-a-rainbow-on-election-day/</id><published>2024-11-06T19:56:37.382Z</published><updated>2024-11-06T19:56:37.382Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A brief pause from election-day politics to notice an unexpected rainbow.</summary><category term="Campus Life"/><category term="Personal"/><link href="https://www.linkedin.com/posts/sharif-haason_i-was-walking-on-campus-this-morning-preoccupied-activity-7260017251611815936-2p_J" rel="via"/></entry>
  <entry><title>Random Vectors and Independence</title><link href="https://sharifhsn.dev/blog/random-vectors-and-independence/"/><id>https://sharifhsn.dev/blog/random-vectors-and-independence/</id><published>2024-11-04T00:00:00Z</published><updated>2024-11-04T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The later FE-540 notes package several random variables into a random vector, such as \(X=(X_1,X_2)\). The joint distribution records probability over rectangles and more general s…</summary><category term="Probability Theory"/><category term="Random Vectors"/><category term="Independence"/></entry>
  <entry><title>Derivatives and Clearinghouses</title><link href="https://sharifhsn.dev/blog/derivatives-and-clearinghouses/"/><id>https://sharifhsn.dev/blog/derivatives-and-clearinghouses/</id><published>2024-10-31T00:00:00Z</published><updated>2024-10-31T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The derivatives notes frame a contract as a way to move or reshape risk. Futures and standardized options trade through a clearinghouse, while bilateral contracts expose each party…</summary><category term="Risk Management"/><category term="Derivatives"/><category term="Clearinghouses"/></entry>
  <entry><title>Stochastic Calculus Review</title><link href="https://sharifhsn.dev/blog/stochastic-calculus-review/"/><id>https://sharifhsn.dev/blog/stochastic-calculus-review/</id><published>2024-10-31T00:00:00Z</published><updated>2024-10-31T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The FE-610 review consolidates the first half of the course: probability spaces and filtrations, martingales, Brownian motion, quadratic variation, the Itô integral, Itô&apos;s formula,…</summary><category term="Stochastic Calculus"/><category term="Review"/><category term="Pricing"/></entry>
  <entry><title>Student&apos;s t and Heavy-Tailed Distributions</title><link href="https://sharifhsn.dev/blog/student-t-and-heavy-tailed-distributions/"/><id>https://sharifhsn.dev/blog/student-t-and-heavy-tailed-distributions/</id><published>2024-10-28T00:00:00Z</published><updated>2024-10-28T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>After the gamma and beta families, the FE-540 notes turn to Student&apos;s \(t\) distribution and other shapes used when observations are more extreme than a Gaussian model suggests. St…</summary><category term="Probability Theory"/><category term="Student t"/><category term="Heavy Tails"/></entry>
  <entry><title>Remembering the Boarding-School History</title><link href="https://sharifhsn.dev/blog/linkedin-2024-10-27-remembering-the-boarding-school-history/"/><id>https://sharifhsn.dev/blog/linkedin-2024-10-27-remembering-the-boarding-school-history/</id><published>2024-10-27T15:20:30.081Z</published><updated>2024-10-27T15:20:30.081Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A reflection on President Biden&apos;s apology for federal Indian boarding schools.</summary><category term="Education"/><category term="Native American History"/><link href="https://www.linkedin.com/posts/sharif-haason_president-biden-apologizes-for-treatment-activity-7256323884658888704-1-gA" rel="via"/></entry>
  <entry><title>Interest Rate Risk and Duration</title><link href="https://sharifhsn.dev/blog/interest-rate-risk-and-duration/"/><id>https://sharifhsn.dev/blog/interest-rate-risk-and-duration/</id><published>2024-10-24T00:00:00Z</published><updated>2024-10-24T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The interest-rate-risk notes approximate how a bond portfolio changes when yields move. Duration is the first-order sensitivity of price to yield; convexity captures the curvature …</summary><category term="Risk Management"/><category term="Interest Rate Risk"/><category term="Duration"/></entry>
  <entry><title>Multidimensional Itô Calculus</title><link href="https://sharifhsn.dev/blog/multidimensional-ito-calculus/"/><id>https://sharifhsn.dev/blog/multidimensional-ito-calculus/</id><published>2024-10-24T00:00:00Z</published><updated>2024-10-24T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>When several state variables move together, the FE-610 notes replace the scalar Itô formula with its multidimensional version. The Hessian term contains both variances and cross-va…</summary><category term="Stochastic Calculus"/><category term="Multidimensional Models"/><category term="Correlation"/></entry>
  <entry><title>Gamma, Beta, and Chi-Squared Distributions</title><link href="https://sharifhsn.dev/blog/gamma-beta-and-chi-squared-distributions/"/><id>https://sharifhsn.dev/blog/gamma-beta-and-chi-squared-distributions/</id><published>2024-10-21T00:00:00Z</published><updated>2024-10-21T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The FE-540 distribution notes connect several continuous families through the gamma function. The chi-squared family is a gamma distribution with parameters \(n/2\) and \(1/2\), wh…</summary><category term="Probability Theory"/><category term="Gamma Distribution"/><category term="Beta Distribution"/></entry>
  <entry><title>Black–Scholes</title><link href="https://sharifhsn.dev/blog/black-scholes/"/><id>https://sharifhsn.dev/blog/black-scholes/</id><published>2024-10-17T00:00:00Z</published><updated>2024-10-17T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The Black–Scholes notes start with a stock following geometric Brownian motion,</summary><category term="Stochastic Calculus"/><category term="Black–Scholes"/><category term="Option Pricing"/></entry>
  <entry><title>Probability and Regression Review</title><link href="https://sharifhsn.dev/blog/probability-and-regression-review/"/><id>https://sharifhsn.dev/blog/probability-and-regression-review/</id><published>2024-10-17T00:00:00Z</published><updated>2024-10-17T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The first-exam review returns to probability, conditional expectation, and regression. A risk estimate is a conditional statement: it depends on the information set, the horizon, a…</summary><category term="Risk Management"/><category term="Probability"/><category term="Regression"/></entry>
  <entry><title>Continuous Random Variables and Transformations</title><link href="https://sharifhsn.dev/blog/continuous-random-variables-and-transformations/"/><id>https://sharifhsn.dev/blog/continuous-random-variables-and-transformations/</id><published>2024-10-14T00:00:00Z</published><updated>2024-10-14T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The continuous part of the FE-540 notes replaces sums with integrals. If \(X\) has density \(f_X\), then</summary><category term="Probability Theory"/><category term="Continuous Distributions"/><category term="Change of Variables"/></entry>
  <entry><title>Bonds and the Time Value of Money</title><link href="https://sharifhsn.dev/blog/bonds-and-time-value-of-money/"/><id>https://sharifhsn.dev/blog/bonds-and-time-value-of-money/</id><published>2024-10-10T00:00:00Z</published><updated>2024-10-10T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The bond material in the FE-535 notes treats a fixed-coupon bond as a stream of future cash flows. Discounting those cash flows gives its present value, and the yield is the consta…</summary><category term="Risk Management"/><category term="Bonds"/><category term="Time Value of Money"/></entry>
  <entry><title>Itô Calculus</title><link href="https://sharifhsn.dev/blog/ito-calculus/"/><id>https://sharifhsn.dev/blog/ito-calculus/</id><published>2024-10-10T00:00:00Z</published><updated>2024-10-10T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Itô&apos;s formula is the stochastic analogue of the multivariable chain rule. If</summary><category term="Stochastic Calculus"/><category term="Ito Lemma"/><category term="Geometric Brownian Motion"/></entry>
  <entry><title>Minneapolis Housing and Zoning</title><link href="https://sharifhsn.dev/blog/linkedin-2024-10-08-minneapolis-housing-and-zoning/"/><id>https://sharifhsn.dev/blog/linkedin-2024-10-08-minneapolis-housing-and-zoning/</id><published>2024-10-08T21:50:44.977Z</published><updated>2024-10-08T21:50:44.977Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>What Minneapolis changed in its zoning rules, and what happened to housing and rents.</summary><category term="Housing"/><category term="Urban Policy"/><link href="https://www.linkedin.com/posts/sharif-haason_minneapolis-land-use-reforms-offer-a-blueprint-activity-7249536724404432898-dpDs" rel="via"/></entry>
  <entry><title>Stochastic Integrals</title><link href="https://sharifhsn.dev/blog/stochastic-integrals/"/><id>https://sharifhsn.dev/blog/stochastic-integrals/</id><published>2024-10-03T00:00:00Z</published><updated>2024-10-03T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The FE-610 notes define an integral such as \(\int_0^T\Delta_t\,dW_t\) by starting with simple adapted processes. On each partition interval, the position \(\Delta_t\) is chosen fr…</summary><category term="Stochastic Calculus"/><category term="Stochastic Integrals"/><category term="Ito Integral"/></entry>
  <entry><title>A CUPS Vulnerability Explained</title><link href="https://sharifhsn.dev/blog/linkedin-2024-09-27-cups-linux-vulnerability/"/><id>https://sharifhsn.dev/blog/linkedin-2024-09-27-cups-linux-vulnerability/</id><published>2024-09-27T11:29:52.298Z</published><updated>2024-09-27T11:29:52.298Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>An overview of the 2024 CUPS printer-discovery vulnerability and its risk.</summary><category term="Cybersecurity"/><category term="Linux"/><link href="https://www.linkedin.com/posts/sharif-haason_attacking-unix-systems-via-cups-part-i-activity-7245394208822300672-9IQ7" rel="via"/></entry>
  <entry><title>Brownian Motion</title><link href="https://sharifhsn.dev/blog/brownian-motion/"/><id>https://sharifhsn.dev/blog/brownian-motion/</id><published>2024-09-26T00:00:00Z</published><updated>2024-09-26T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Brownian motion is the continuous limit of a scaled symmetric random walk. Its increments are independent and normally distributed, with \(W_t-W_s\sim N(0,t-s)\). It is a martingal…</summary><category term="Stochastic Calculus"/><category term="Brownian Motion"/><category term="Quadratic Variation"/></entry>
  <entry><title>Brownian Motion and Geometric Growth</title><link href="https://sharifhsn.dev/blog/brownian-motion-risk-models/"/><id>https://sharifhsn.dev/blog/brownian-motion-risk-models/</id><published>2024-09-26T00:00:00Z</published><updated>2024-09-26T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The stochastic-process notes move from a random walk to Brownian motion and then to geometric Brownian motion. Brownian increments are normally distributed with variance proportion…</summary><category term="Risk Management"/><category term="Brownian Motion"/><category term="Geometric Brownian Motion"/></entry>
  <entry><title>How rustc_codegen_clr Connects Rust to .NET</title><link href="https://sharifhsn.dev/blog/linkedin-2024-09-23-rust-mir-to-dotnet/"/><id>https://sharifhsn.dev/blog/linkedin-2024-09-23-rust-mir-to-dotnet/</id><published>2024-09-23T11:47:41.887Z</published><updated>2024-09-23T11:47:41.887Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A short guide to Rust&apos;s compiler pipeline and a backend that targets .NET.</summary><category term="Rust"/><category term="Compilers"/><link href="https://www.linkedin.com/posts/sharif-haason_rust-panics-under-the-hood-and-implementing-activity-7243949143541391360-ia_9" rel="via"/></entry>
  <entry><title>Discrete Distributions and Moments</title><link href="https://sharifhsn.dev/blog/discrete-distributions-and-moments/"/><id>https://sharifhsn.dev/blog/discrete-distributions-and-moments/</id><published>2024-09-23T00:00:00Z</published><updated>2024-09-23T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>For a discrete random variable, the probability mass function gives the mass at each possible value:</summary><category term="Probability Theory"/><category term="Discrete Distributions"/><category term="Moments"/></entry>
  <entry><title>Martingales and Random Walks</title><link href="https://sharifhsn.dev/blog/martingales-and-random-walks/"/><id>https://sharifhsn.dev/blog/martingales-and-random-walks/</id><published>2024-09-19T00:00:00Z</published><updated>2024-09-19T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The FE-610 notes describe a martingale as an adapted process whose conditional expected future value equals its current value:</summary><category term="Stochastic Calculus"/><category term="Martingales"/><category term="Random Walks"/></entry>
  <entry><title>Monte Carlo Risk Simulation</title><link href="https://sharifhsn.dev/blog/monte-carlo-risk-simulation/"/><id>https://sharifhsn.dev/blog/monte-carlo-risk-simulation/</id><published>2024-09-19T00:00:00Z</published><updated>2024-09-19T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The FE-535 lab notes use Monte Carlo methods to turn a model for returns into a distribution of portfolio outcomes. Simulate the relevant risk factors, revalue the portfolio on eac…</summary><category term="Risk Management"/><category term="Monte Carlo"/><category term="Simulation"/></entry>
  <entry><title>Random Variables and CDFs</title><link href="https://sharifhsn.dev/blog/random-variables-and-cdfs/"/><id>https://sharifhsn.dev/blog/random-variables-and-cdfs/</id><published>2024-09-16T00:00:00Z</published><updated>2024-09-16T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The FE-540 notes define a random variable as a measurable function from the original sample space to the real line. Measurability means that inverse images of Borel sets are events…</summary><category term="Probability Theory"/><category term="Random Variables"/><category term="CDFs"/></entry>
  <entry><title>What Washing Machines Can Teach Us About Tariffs</title><link href="https://sharifhsn.dev/blog/linkedin-2024-09-12-washing-machine-tariffs/"/><id>https://sharifhsn.dev/blog/linkedin-2024-09-12-washing-machine-tariffs/</id><published>2024-09-12T11:54:43.644Z</published><updated>2024-09-12T11:54:43.644Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A look at the 2018 washing-machine tariffs, consumer costs, and U.S. manufacturing.</summary><category term="Tariffs &amp; Trade"/><category term="Trade Policy"/><link href="https://www.linkedin.com/posts/sharif-haason_what-washing-machines-can-teach-us-about-activity-7239964645996863489-Bq7D" rel="via"/></entry>
  <entry><title>Probability Spaces and Filtrations</title><link href="https://sharifhsn.dev/blog/probability-spaces-and-filtrations/"/><id>https://sharifhsn.dev/blog/probability-spaces-and-filtrations/</id><published>2024-09-12T00:00:00Z</published><updated>2024-09-12T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>FE-610 begins with the probability-space machinery needed for continuous-time finance. The notes revisit sigma-algebras and probability measures, then add a filtration \((\mathcal …</summary><category term="Stochastic Calculus"/><category term="Filtrations"/><category term="Measure Theory"/></entry>
  <entry><title>Risk-Adjusted Performance</title><link href="https://sharifhsn.dev/blog/risk-adjusted-performance/"/><id>https://sharifhsn.dev/blog/risk-adjusted-performance/</id><published>2024-09-12T00:00:00Z</published><updated>2024-09-12T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The performance notes compare return with the risk taken to earn it. The Sharpe ratio uses excess return divided by volatility, while beta measures sensitivity to a common market f…</summary><category term="Risk Management"/><category term="CAPM"/><category term="Risk-Adjusted Performance"/></entry>
  <entry><title>NVIDIA, Cisco, and Market Euphoria</title><link href="https://sharifhsn.dev/blog/linkedin-2024-09-10-nvidia-and-the-cisco-bubble/"/><id>https://sharifhsn.dev/blog/linkedin-2024-09-10-nvidia-and-the-cisco-bubble/</id><published>2024-09-10T13:30:09.913Z</published><updated>2024-09-10T13:30:09.913Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Bill Smead compares current enthusiasm for AI with the dot-com era&apos;s Cisco boom.</summary><category term="AI"/><category term="Financial Markets"/><link href="https://www.linkedin.com/posts/sharif-haason_just-listened-to-bill-smead-on-bloomberg-activity-7239263887978627072-OgsH" rel="via"/></entry>
  <entry><title>Probability Measures and Bayes&apos; Rule</title><link href="https://sharifhsn.dev/blog/probability-measures-and-bayes-rule/"/><id>https://sharifhsn.dev/blog/probability-measures-and-bayes-rule/</id><published>2024-09-09T00:00:00Z</published><updated>2024-09-09T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A probability measure \(\mathbb P\) assigns a number in \([0,1]\) to every event in \(\mathcal F\). The notes begin with \(\mathbb P(\Omega)=1\) and countable additivity for disjoi…</summary><category term="Probability Theory"/><category term="Conditional Probability"/><category term="Bayes Rule"/></entry>
  <entry><title>Bessent on Tariffs and the Deficit</title><link href="https://sharifhsn.dev/blog/linkedin-2024-09-05-bessent-tariffs-and-deficits/"/><id>https://sharifhsn.dev/blog/linkedin-2024-09-05-bessent-tariffs-and-deficits/</id><published>2024-09-05T11:41:31.361Z</published><updated>2024-09-05T11:41:31.361Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A response to Scott Bessent&apos;s arguments about tariffs, inflation, and fiscal policy.</summary><category term="Tariffs &amp; Trade"/><category term="Fiscal Policy"/><link href="https://www.linkedin.com/posts/sharif-haason_bloombergradio-activity-7237424607861878784-wDAo" rel="via"/></entry>
  <entry><title>Risk Measurement and Portfolio Construction</title><link href="https://sharifhsn.dev/blog/risk-measurement-and-portfolio-construction/"/><id>https://sharifhsn.dev/blog/risk-measurement-and-portfolio-construction/</id><published>2024-09-05T00:00:00Z</published><updated>2024-09-05T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>FE-535 opens by separating the risk-management process from a single risk number: identify exposures, measure them, evaluate the result, and decide how the portfolio should be cons…</summary><category term="Risk Management"/><category term="Portfolio Construction"/><category term="Market Risk"/></entry>
  <entry><title>Probability Spaces</title><link href="https://sharifhsn.dev/blog/probability-spaces/"/><id>https://sharifhsn.dev/blog/probability-spaces/</id><published>2024-09-02T00:00:00Z</published><updated>2024-09-02T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The first step in the FE-540 notes is to give random experiments a mathematical home. A probability space is a triple \((\Omega,\mathcal F,\mathbb P)\): \(\Omega\) is the sample sp…</summary><category term="Probability Theory"/><category term="Measure Theory"/><category term="Sigma Algebras"/></entry>
  <entry><title>What the Price Gouging Prevention Act Says</title><link href="https://sharifhsn.dev/blog/linkedin-2024-08-27-price-gouging-prevention-act/"/><id>https://sharifhsn.dev/blog/linkedin-2024-08-27-price-gouging-prevention-act/</id><published>2024-08-27T18:32:34.267Z</published><updated>2024-08-27T18:32:34.267Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A summary of the 2024 bill&apos;s price-gouging language, defenses, and penalties.</summary><category term="Consumer Protection"/><category term="Public Policy"/><link href="https://www.linkedin.com/posts/sharif-haason_monopoly-round-up-price-gouging-vs-price-activity-7234266560796786688-BlTq" rel="via"/></entry>
  <entry><title>Floating Point Architecture</title><link href="https://sharifhsn.dev/blog/floating-point-architecture/"/><id>https://sharifhsn.dev/blog/floating-point-architecture/</id><published>2022-05-31T00:00:00Z</published><updated>2022-05-31T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Floating point numbers are complicated enough in the abstract. How do systems programmers and hardware designers cope with the complexity of floating point?</summary><category term="floating-point"/><category term="Computer Architecture"/></entry>
  <entry><title>IEEE-754</title><link href="https://sharifhsn.dev/blog/ieee-754/"/><id>https://sharifhsn.dev/blog/ieee-754/</id><published>2022-05-31T00:00:00Z</published><updated>2022-05-31T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>IEEE-754 is the standard for floating point computation around the world. Thus, any real-world discussion of floating point must include it.</summary><category term="floating-point"/><category term="Computer Architecture"/></entry>
  <entry><title>Floating Point</title><link href="https://sharifhsn.dev/blog/floating-point/"/><id>https://sharifhsn.dev/blog/floating-point/</id><published>2022-05-28T00:00:00Z</published><updated>2022-05-28T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Floating point representation is a complex topic full of nuance. To understand it, we must focus on the abstract method used to represent non-integer numbers.</summary><category term="floating point"/><category term="Computer Architecture"/></entry>
  <entry><title>Network Security</title><link href="https://sharifhsn.dev/blog/network-security/"/><id>https://sharifhsn.dev/blog/network-security/</id><published>2022-04-22T00:00:00Z</published><updated>2022-04-22T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The internet has taken over the world, but with it have come malicious actors. People want to spy on you, scam you, steal from you, or harm you through the internet. Through networ…</summary><category term="Internet Technology"/></entry>
  <entry><title>A Crash Course in Python</title><link href="https://sharifhsn.dev/blog/python-crash-course/"/><id>https://sharifhsn.dev/blog/python-crash-course/</id><published>2022-04-14T00:00:00Z</published><updated>2022-04-14T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Python is a powerful jack-of-all-trades language that is much less limited than OCaml.</summary><category term="Principles of Programming Languages"/></entry>
  <entry><title>Disks</title><link href="https://sharifhsn.dev/blog/disks/"/><id>https://sharifhsn.dev/blog/disks/</id><published>2022-04-14T00:00:00Z</published><updated>2022-04-14T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Persistent storage is essential to every system that we can think of, and we can hardly think of a computer without it. However, managing disks is not as simple as it might appear …</summary><category term="Operating Systems Design"/></entry>
  <entry><title>Particles</title><link href="https://sharifhsn.dev/blog/particles/"/><id>https://sharifhsn.dev/blog/particles/</id><published>2022-04-12T00:00:00Z</published><updated>2022-04-12T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Tiny particles are affected in different ways than we are by waves. There are several different effects that must be discussed.</summary><category term="Physics"/></entry>
  <entry><title>Multimedia Networking</title><link href="https://sharifhsn.dev/blog/multimedia/"/><id>https://sharifhsn.dev/blog/multimedia/</id><published>2022-04-07T00:00:00Z</published><updated>2022-04-07T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Streaming multimedia is a relatively new concept in internet technology, but now has become central to the daily media consumption of people around the world.</summary><category term="Internet Technology"/></entry>
  <entry><title>Control in Prolog</title><link href="https://sharifhsn.dev/blog/prolog-control/"/><id>https://sharifhsn.dev/blog/prolog-control/</id><published>2022-04-05T00:00:00Z</published><updated>2022-04-05T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Conditional statements are very powerful and are in used in almost every language. How does Prolog implement the same idea?</summary><category term="Internet Technology"/><category term="Principles of Programming Languages"/></entry>
  <entry><title>Special Relativity</title><link href="https://sharifhsn.dev/blog/special-relativity/"/><id>https://sharifhsn.dev/blog/special-relativity/</id><published>2022-04-05T00:00:00Z</published><updated>2022-04-05T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Albert Einstein revolutionized the world of physics when he discovered the special theory of relativity. It is only possible due to his contributions that valuable technologies lik…</summary><category term="Physics"/></entry>
  <entry><title>Waves</title><link href="https://sharifhsn.dev/blog/waves/"/><id>https://sharifhsn.dev/blog/waves/</id><published>2022-03-29T00:00:00Z</published><updated>2022-03-29T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Light is curious because it is both a particle and a wave, which makes it behave strangely in certain contexts. When projected through a slit, some strange fringes will appear, whi…</summary><category term="Physics"/></entry>
  <entry><title>The Link Layer</title><link href="https://sharifhsn.dev/blog/link-layer/"/><id>https://sharifhsn.dev/blog/link-layer/</id><published>2022-03-28T00:00:00Z</published><updated>2022-03-28T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Through all the layers of the internet, the most essential is the link layer: converting bits to and from signals, detecting errors, flow control, and addressing.</summary><category term="Internet Technology"/></entry>
  <entry><title>Prolog</title><link href="https://sharifhsn.dev/blog/prolog/"/><id>https://sharifhsn.dev/blog/prolog/</id><published>2022-03-24T00:00:00Z</published><updated>2022-03-24T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Prolog is a special programming language that is not like many others. It exemplifies the paradigm of logic programming.</summary><category term="Principles of Programming Languages"/></entry>
  <entry><title>Threads</title><link href="https://sharifhsn.dev/blog/threads/"/><id>https://sharifhsn.dev/blog/threads/</id><published>2022-03-23T00:00:00Z</published><updated>2022-03-23T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Concurrency is a powerful tool to increase performance in applications. This is usually accomplished using threads.</summary><category term="Operating Systems Design"/></entry>
  <entry><title>Routing Algorithms</title><link href="https://sharifhsn.dev/blog/routing-algorithms/"/><id>https://sharifhsn.dev/blog/routing-algorithms/</id><published>2022-03-21T00:00:00Z</published><updated>2022-03-21T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>When a host needs to find the best destination/prefix to another host, what routing algorithm does it use? We can use either intra or inter domain.</summary><category term="Internet Technology"/></entry>
  <entry><title>Swapping</title><link href="https://sharifhsn.dev/blog/swapping/"/><id>https://sharifhsn.dev/blog/swapping/</id><published>2022-03-21T00:00:00Z</published><updated>2022-03-21T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Sometimes we don&apos;t have a lot of memory to access. In those cases, we need a place to put our data. The natural solution is to put data in the disk, which has very high storage. Th…</summary><category term="Operating Systems Design"/></entry>
  <entry><title>Routers</title><link href="https://sharifhsn.dev/blog/routers/"/><id>https://sharifhsn.dev/blog/routers/</id><published>2022-03-10T00:00:00Z</published><updated>2022-03-10T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Everyone nowadays gets the Internet through the router in their home. But what is a router?</summary><category term="Internet Technology"/></entry>
  <entry><title>Mirrors</title><link href="https://sharifhsn.dev/blog/mirrors/"/><id>https://sharifhsn.dev/blog/mirrors/</id><published>2022-03-08T00:00:00Z</published><updated>2022-03-08T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Mirrors can interact with light in interesting ways. In fact, reflection and refraction are probably most people&apos;s engagement with laws of physics surrounding light in their daily …</summary><category term="Physics"/></entry>
  <entry><title>Lambda Calculus</title><link href="https://sharifhsn.dev/blog/lambda-calculus/"/><id>https://sharifhsn.dev/blog/lambda-calculus/</id><published>2022-03-03T00:00:00Z</published><updated>2022-03-03T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>When we discuss the principles of programming languages, lambda calculus is the bedrock of our discussion. It is the most abstract, formal way to describe functions and application…</summary><category term="Principles of Programming Languages"/></entry>
  <entry><title>More Internet Protocols</title><link href="https://sharifhsn.dev/blog/other-protocols/"/><id>https://sharifhsn.dev/blog/other-protocols/</id><published>2022-03-03T00:00:00Z</published><updated>2022-03-03T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Besides the primary Internet protocols, there are some others to learn about, like DHCP, NAT, IPv6, etc.</summary><category term="Internet Technology"/></entry>
  <entry><title>Electromagnetic Waves</title><link href="https://sharifhsn.dev/blog/electromagnetic-waves/"/><id>https://sharifhsn.dev/blog/electromagnetic-waves/</id><published>2022-03-01T00:00:00Z</published><updated>2022-03-01T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We have discussed electric fields and magnetic fields, and the way that they change and interact. The full interaction of these fields will create electromagnetic waves, the study …</summary><category term="Physics"/></entry>
  <entry><title>ISP Addressing</title><link href="https://sharifhsn.dev/blog/isp-addressing/"/><id>https://sharifhsn.dev/blog/isp-addressing/</id><published>2022-02-28T00:00:00Z</published><updated>2022-02-28T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>How does an ISP assign IP addresses to its customers?</summary><category term="Internet Technology"/></entry>
  <entry><title>Making a Website with Zola, Github Pages, and Github Actions</title><link href="https://sharifhsn.dev/blog/making-a-website/"/><id>https://sharifhsn.dev/blog/making-a-website/</id><published>2022-02-26T00:00:00Z</published><updated>2022-02-26T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Making a website in the modern era is not easy to do for free. I did it using Zola, Github Pages, and Github Actions. I&apos;ve always wanted to have a personal website where I can uplo…</summary><category term="zola"/><category term="github actions"/><category term="website"/><category term="Meta"/></entry>
  <entry><title>Currying Arguments in a Function</title><link href="https://sharifhsn.dev/blog/curry/"/><id>https://sharifhsn.dev/blog/curry/</id><published>2022-02-21T00:00:00Z</published><updated>2022-02-21T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Currying is the concept of having multiple arguments in a function. OCaml defaults to currying its functions. int - int - int is a function that takes two ints and returns an int.</summary><category term="Principles of Programming Languages"/></entry>
  <entry><title>HTTP Explained</title><link href="https://sharifhsn.dev/blog/http/"/><id>https://sharifhsn.dev/blog/http/</id><published>2022-02-20T00:00:00Z</published><updated>2022-02-20T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>HTTP is probably the most visible Internet protocol to end users. It appears (as well as its cousin, HTTPS) at the beginning of every URL we use to access the internet. But how doe…</summary><category term="Internet Technology"/></entry>
  <entry><title>Paging</title><link href="https://sharifhsn.dev/blog/paging/"/><id>https://sharifhsn.dev/blog/paging/</id><published>2022-02-20T00:00:00Z</published><updated>2022-02-20T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The main problem that segments have introduced to managing memory space is that their variable size wastes memory through fragmentation. Fixed-size pieces that are easier to handle…</summary><category term="Operating Systems Design"/></entry>
  <entry><title>TCP Explained</title><link href="https://sharifhsn.dev/blog/tcp/"/><id>https://sharifhsn.dev/blog/tcp/</id><published>2022-02-20T00:00:00Z</published><updated>2022-02-20T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>TCP is the well-known protocol for reliable transfer of data. But how does it actually work?</summary><category term="Internet Technology"/></entry>
  <entry><title>Electromagnetic Induction</title><link href="https://sharifhsn.dev/blog/induction/"/><id>https://sharifhsn.dev/blog/induction/</id><published>2022-02-18T00:00:00Z</published><updated>2022-02-18T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The final piece to the puzzle of electromagnetism here is electromagnetic induction, where we use magnets to create current.</summary><category term="Physics"/></entry>
  <entry><title>Data Types in OCaml</title><link href="https://sharifhsn.dev/blog/data-types/"/><id>https://sharifhsn.dev/blog/data-types/</id><published>2022-02-17T00:00:00Z</published><updated>2022-02-17T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>When we make our programs more and more complex, we need more complex data types as well. We have only used OCaml&apos;s built-in data types, how can we construct our own data types?</summary><category term="Principles of Programming Languages"/></entry>
  <entry><title>Operational Semantics</title><link href="https://sharifhsn.dev/blog/operational-semantics/"/><id>https://sharifhsn.dev/blog/operational-semantics/</id><published>2022-02-17T00:00:00Z</published><updated>2022-02-17T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>What are the formal semantics of how a programming language works, mathematically? That&apos;s a broad topic. Operational semantics, which are how programs execute, are narrow enough fo…</summary><category term="Principles of Programming Languages"/></entry>
  <entry><title>Tail Recursion in OCaml</title><link href="https://sharifhsn.dev/blog/tail-recursion/"/><id>https://sharifhsn.dev/blog/tail-recursion/</id><published>2022-02-15T00:00:00Z</published><updated>2022-02-15T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Recursion in many languages can cause significant overhead. It might seem that the excess amount of recursion in OCaml would decrease its performance. But it actually doesn&apos;t, and …</summary><category term="Principles of Programming Languages"/></entry>
  <entry><title>UDP Explained</title><link href="https://sharifhsn.dev/blog/udp/"/><id>https://sharifhsn.dev/blog/udp/</id><published>2022-02-14T00:00:00Z</published><updated>2022-02-14T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The simplest transport protocol that is used communicate between sockets is known as UDP, the User Datagram Protocol.</summary><category term="Internet Technology"/></entry>
  <entry><title>Magnets</title><link href="https://sharifhsn.dev/blog/magnets/"/><id>https://sharifhsn.dev/blog/magnets/</id><published>2022-02-11T00:00:00Z</published><updated>2022-02-11T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The question of how magnets work has [long puzzled many](https://www.youtube.com/shorts/8bhYMnHb5JY). We will endeavor to answer all of those questions today.</summary><category term="Physics"/></entry>
  <entry><title>SMTP Explained</title><link href="https://sharifhsn.dev/blog/smtp/"/><id>https://sharifhsn.dev/blog/smtp/</id><published>2022-02-10T00:00:00Z</published><updated>2022-02-10T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Email is the most popular way in the world to send large messages. This is a complicated process which requires its own protocol: SMTP.</summary><category term="Internet Technology"/></entry>
  <entry><title>Higher Order Functions in OCaml</title><link href="https://sharifhsn.dev/blog/higher-order-functions/"/><id>https://sharifhsn.dev/blog/higher-order-functions/</id><published>2022-02-08T00:00:00Z</published><updated>2022-02-08T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We can do a lot of cool things with functions besides calling them in OCaml.</summary><category term="Principles of Programming Languages"/></entry>
  <entry><title>FTP Explained</title><link href="https://sharifhsn.dev/blog/ftp/"/><id>https://sharifhsn.dev/blog/ftp/</id><published>2022-02-07T00:00:00Z</published><updated>2022-02-07T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Before we had Google Drive, users needed a way to access files from other people quickly and easily. The method for that was FTP.</summary><category term="Internet Technology"/></entry>
  <entry><title>Memory Virtualization</title><link href="https://sharifhsn.dev/blog/memory-virtualization/"/><id>https://sharifhsn.dev/blog/memory-virtualization/</id><published>2022-02-07T00:00:00Z</published><updated>2022-02-07T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Accessing physical memory can cause big issues if we do it directly. How can we virtualize the memory like the CPU so we can use it efficiently and safely?</summary><category term="Operating Systems Design"/></entry>
  <entry><title>Lets, Tuples, and Records in OCaml</title><link href="https://sharifhsn.dev/blog/lets-tuples-records/"/><id>https://sharifhsn.dev/blog/lets-tuples-records/</id><published>2022-02-03T00:00:00Z</published><updated>2022-02-03T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Lists are the most basic data structure in OCaml, but there are others that we need to be aware of.</summary><category term="Principles of Programming Languages"/></entry>
  <entry><title>Circuits</title><link href="https://sharifhsn.dev/blog/circuits/"/><id>https://sharifhsn.dev/blog/circuits/</id><published>2022-02-01T00:00:00Z</published><updated>2022-02-01T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Circuits are the method by which all electricity travels throughout the world and power every single device in existence. It is therefore crucial to understand them while understan…</summary><category term="Physics"/></entry>
  <entry><title>DNS Explained</title><link href="https://sharifhsn.dev/blog/dns/"/><id>https://sharifhsn.dev/blog/dns/</id><published>2022-01-31T00:00:00Z</published><updated>2022-01-31T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We need protocols to define the way that messages are interpreted.</summary><category term="Internet Technology"/></entry>
  <entry><title>Packet Switching vs Message Switching</title><link href="https://sharifhsn.dev/blog/packet-switching/"/><id>https://sharifhsn.dev/blog/packet-switching/</id><published>2022-01-31T00:00:00Z</published><updated>2022-01-31T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>How do we get the best performance in sending information over the internet? What is packet switching and how can it help? Performance is bottlenecked by propagation delay and tran…</summary><category term="Internet Technology"/></entry>
  <entry><title>Scheduling</title><link href="https://sharifhsn.dev/blog/schedulers/"/><id>https://sharifhsn.dev/blog/schedulers/</id><published>2022-01-31T00:00:00Z</published><updated>2022-01-31T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>The way that the operating system decides which processes to run and when is a complicated process known as scheduling. This is how it works.</summary><category term="Operating Systems Design"/></entry>
  <entry><title>Lists in OCaml</title><link href="https://sharifhsn.dev/blog/lists/"/><id>https://sharifhsn.dev/blog/lists/</id><published>2022-01-27T00:00:00Z</published><updated>2022-01-27T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Lists are the most basic data structure in OCaml. The most analoguous structure is a vector in C++ or Rust. Lists are homogenous and of arbitrary length.</summary><category term="Principles of Programming Languages"/></entry>
  <entry><title>Electric Potential</title><link href="https://sharifhsn.dev/blog/electric-potential/"/><id>https://sharifhsn.dev/blog/electric-potential/</id><published>2022-01-25T00:00:00Z</published><updated>2022-01-25T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>Besides electrical charge and field, there&apos;s another force that is relevant to electricity: electric potential.</summary><category term="Physics"/></entry>
  <entry><title>Functions in OCaml</title><link href="https://sharifhsn.dev/blog/functions/"/><id>https://sharifhsn.dev/blog/functions/</id><published>2022-01-25T00:00:00Z</published><updated>2022-01-25T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>A function takes arguments, performs operations using them, and returns a value. In OCaml, we can write functions like so</summary><category term="Principles of Programming Languages"/></entry>
  <entry><title>Electrostatics</title><link href="https://sharifhsn.dev/blog/electrostatics/"/><id>https://sharifhsn.dev/blog/electrostatics/</id><published>2022-01-18T00:00:00Z</published><updated>2022-01-18T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>What is electricity, and how does it work?</summary><category term="Physics"/></entry>
  <entry><title>CPU Virtualization</title><link href="https://sharifhsn.dev/blog/cpu-virtualization/"/><id>https://sharifhsn.dev/blog/cpu-virtualization/</id><published>2022-01-04T00:00:00Z</published><updated>2022-01-04T00:00:00Z</updated><author><name>Sharif Haason</name><uri>https://sharifhsn.dev</uri></author><summary>We need a way to map on to the physical CPU through our operating system. We do this through virtualization.</summary><category term="Operating Systems Design"/></entry>
</feed>
