<?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’m thrilled to make two major announcements: I have completed my Master’s in Financial Engineering from Stevens Institute of Technology, and I am starting a new role at Monark…</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…</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>“Jefferies Fund Has $715 Million in First Brands Group, LLC’ Trade Debt”… but what does that exactly mean? This Bloomberg headline is causing market turmoil about Jefferies, but…</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’t relieve a labor supply shock: with lessons from energy and housing crises. After today’s stunning job revision of −911,000 jobs for March 2025, the stock…</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. I think Wasif Latif’s point about the price being right for oil is really significant for the implications of the energy…</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’T impressive… in the context of data analysis, by themselves. With the explosion in discourse about AI, traditional neural networks have also gained cultural…</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…</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’s subsecond crate is a game changer for application and game development in Rust! Its innovative hotpatching method enables hot reloading for select libraries. By far the…</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’s has downgraded the US’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? All…</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’d like to reflect on what Rust means to me, and why I have followed it for so long. I first heard about Rust in 2021,…</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 Generally speaking, the Basel 2 , Basel 3, and current Basel 3.5, all these rules and regulations require that banks…</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 syllabus records “Risk Weighted Assets: Counterparty RWAs. Calculation and modeling,” taught by Juan. The personal course export contains the scheduled topic but no worked…</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. The Gaussian latent-variable framework and conditional-independence construction are…</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…</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 syllabus records “Introduction to X-VAs: CVA/FVA,” taught by Yee Han. The personal course export has the topic and date, but no worked XVA lecture notes. The former CVA/FVA…</summary><category term="FX"/><category term="Counterparty Risk"/><category term="XVA"/><category term="CVA"/><category term="FVA"/></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? The role of central banks in the economy is a…</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>Lecture notes on minimum, independent, and maximum dependence in a one-factor credit model.</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. But before we do that, we should talk about Euler Milstein or Euler Maruyama.…</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 “miracle on the Mekong”: Vietnam 🇻🇳 When President Trump revealed the list of tariffs on “Liberation Day”, one country stood…</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. When the housing bubble burst and the Great…</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’s policy of reducing the national debt through an export-driven economy has parallels to 1980s Romania—and it doesn’t end well. President Nicolae Ceaușescu was elected to…</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: 打得一拳开 免得百拳来 “throw out one punch now to avoid a hundred punches in the future” What does it mean?…</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. The final exam is going to be posted then, take-home exam. It’ll be posted like an assignment. Will be posted in evening around 6:30, you’ll…</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 😴 The anticipation of and uncertainty around Trump’s tariffs have caused the stock market to plunge rapidly…</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. The two theorems are the basis of the entire Monte Carlo simulation. The Law of Large Numbers (LLN)</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… 😱 After President Trump’s tariff announcement on “Liberation Day” last Wednesday, markets have roiled. The…</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! The use of LLM AI code assistants (or “copilots”) like Github Copilot and Claude has exploded recently. Many non-programmers have…</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 Rust’s borrow checker is the heart of its promise of memory…</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. We have two legs. The premium leg is the buyer, who…</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. investments by the West after dictator Ceaușescu failed to invade Czech republic he stopped imports and increased…</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 syllabus records “Introduction to Credit: Credit Default Swaps; relationship to Bonds; Credit as a traded asset class,” taught by Yee Han. The personal course export contains…</summary><category term="FX"/><category term="Credit Risk"/><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? 🤔 AI images have flooded social media seemingly overnight, with the specific trend of “Ghiblization” (transforming…</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>Λ , the hazard rate, is convenient to work with. If we integrate over it, we can get the survival probability 𝑉 ( 𝑡 ) at time 𝑡 . We can also get the probability of default 𝑄 ( 𝑡…</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 syllabus records “Risk Management: GARCH — Statistics.” The personal course export contains the schedule and the workbook implementation notes for the Black–Scholes/FX…</summary><category term="FX"/><category term="Risk Engineering"/><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 ) is a model constructed in terms of the forward rates underlying caplet prices. HJM was defined as a process for the…</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 How do you solve a Heston model using Fourier transforms? The very first stochastic volatility model introduced is the Hull-White model.</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. The code for this in a package in R.…</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 Artificial Neural Network multilayer perceptron… the whole point of this is that you can exercise this at any…</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 syllabus records “Black-Scholes shortcomings: smile effects.” The source export contains the volatility-surface helper below and explicitly labels it “Vol Surface Functions —…</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. What is the difference between interest rate risk and stock price risk? One of the most important…</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. And it’s not really intelligent, it just takes things from the Internet. There are two different general finite difference schemes, which…</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 syllabus labels this class “Black-Scholes shortcomings: discrete hedging; volatility uncertainty.” The source workbook expresses the risk measures as functions. It does not…</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… The definition of a CMS is an interest rate swap where the…</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 Next week we will continue this and do a little bit more complicated stuff. Homework is due right before spring break.</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 syllabus calls this class “Introduction to Black-Scholes. BS usage for a practitioner. First and Second order risks. Xgamma. Intuitive awareness.” The source notes are the…</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…</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…</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. This covers material from first two lectures. This lecture and previous…</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. Basically these are instruments whose payoff is…</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. You all understand the stochastic process. Fundamentally, it starts from a point 𝑆 0 , and…</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 syllabus records this class as “Stochastic Processes — Intro to FX: FX parity; Spot and Forward trading; FX conventions.” The source document does not contain a prose…</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. That’s…</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. I should have…</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. If a company wants money, it has options. It can issue stock, get a bank loan, or issue a bond. What…</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…</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 A stochastic processes is merely a collection of indexed random variables. The indexing of these variables confers a…</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! Although there aren’t any new language features, this release kickstarts three big infrastructure improvements…</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>This is the last lecture we have for this class. Next week will be a review session. Exam will be online . December 21, We’re going to be pricing exotic options. We are focusing…</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 straddle strategy is owning a call and put option with the same characteristics. If I end up long a call option and short a put, it ends up being a forward contract. I can…</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. In order to implement a default version of a struct in Rust, one…</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>Notes added to lab 4 and discussion which delves into the analytic part establishing the connection between the two. Futures are less flexible because they are standardized, and…</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’m grateful for a brand-new version of Rust, now with more const ! const evaluation is one of the most…</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>in-class final will be decided by Thanksgiving All of the stuff we learned about stochastic calculus has been organized around the Ito process, which is continuous. We’re going…</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>Let’s say I’m trading futures. What is the log return of this? The futures contract at time 1 is worth 𝑆 0 𝑒 𝑟 , then at time 2 is 𝑆 0 𝑒 2 𝑟 , etc. If you look at log returns,…</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>Came late because my brother couldn’t get up 🙁 where 𝛽 is the drift and 𝛾 is the diffusion. Diffeqs always need a boundary condition, given by</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 Girsanov states that The norm of a process is the Euclidean Norm: ∥ Θ ( 𝑡 ) ∥ = ∑ 𝑗 = 1 𝑑 Θ 𝑗 2 ( 𝑡 ) And so the square of the norm is just that.</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>We’re going to continue derivatives, uninteresting because I’m taking 620. Then we will start linear risk, more interesting. A financial engineer is someone who doesn’t know…</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>Keep in mind that you can’t separate 𝜖 out from 𝑌 because they are not necessarily independent. We can use the fact that 𝜖 is complementary to divide up what 𝑋 means. But notice…</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>On problem 2, either you optimize for risk-free or risky assets. The question becomes unconstrained optimization. Either we have the same thing as Exam 1, released on 13 or 19?…</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>Let’s go into the world of sports gambling. Hypothetically, we’re going to have two teams competing, Team A and Team B. Objectively, Team A is the better team. Let’s say in the…</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>Beginning chapter 7, vectors of random variables. We are concerned with a random vector The cdf of this vector is We can also say that if we have a random vector (X, Y) then</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 Treynor ratio is intended to capture systematic risk, but doesn’t tell you anything about portfolio returns. Sharpe ratio doesn’t tell you anything about systematic risk. R^2…</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>Recognize that this is some function that looks like 𝑓 ( 𝑎 , 𝑏 ) , like where 𝑎 is a deterministic component and 𝑏 is a stochastic component. Then solve your partials</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>Definition 5.4.6 says that the pdf is then X is a Student t-distribution with degrees of freedom 𝑡 𝑛 . Proposition 5.48 will tell us all the moments, which are not easy to prove.</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 Economic Value of Mean Squared Error: Evidence from Portfolio Selection What’s the intuition? Everyone talks about optimization, rational agents doing the best they can. A…</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>We’re going to be talking about multivariable stochastic calculus. All of this material is fair game for the midterm. Next week is the midterm review session. Bring questions!…</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>Definition 5.36 says that X is a Chi squared distribution whose pdf is described by This is actually linked to the gamma distribution There is also a remark which says that the…</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>We will either lend or borrow from a bank at interest rate r. In that scenario, the amount of wealth that i have at maturity time T. My wealth would be the value of my shares and…</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>We can actually do this from a portfolio perspective, it’s the same idea. We have some weight What’s the variance? 𝕍 [ 𝑍 ] = 𝑤 1 𝜎 1 2 + 𝑤 2 2 𝜎 2 2 + 2 𝑤 1 𝑤 2 𝜎 12 It’s the…</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>Recall for a discrete random variable. The moment formula is The moment for a continuous rv is the integral All the possibilities are the real line here.</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>We started with the foundation, risk-reward trade offs, portfolios. Then we moved to quantitative analysis on individual assets. Mostly we have focused on a single game, a single…</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>This is seemingly one of the simplest integrals you could do. If we’re going to do this integral, how we’re going to do that is to create a process Δ 𝑛 ( 𝑢 ) → 𝑊 ( 𝑢 ) that…</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>We left off last week talking about first passage time. We said that the cdf was Last thing before Stochastic Calculus we should talk about maximum to date . This will be…</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>The most important properties of Brownian motion are that it is a martingale (the expected value of the process is 0) and it accumulates quadratic variation at a rate of one per…</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>Under market efficiency, financial prices should exhibit a random walk. Eugene Fama is the big guy behind market efficiency. He was interviewed by the Financial Times ( Open…</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>We will be covering discrete random variables this week. A discrete random variable is one whose image 𝑋 ( Ω ) is a finite/countable subset of ℝ . First thing we introduce is the…</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>(continuing from last time) A stochastic process is a collection of random variables indexed by time. If you start out at time 0 and each time you pick heads you go one step,…</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>50 bps cut! Markets exploded today. Information gets priced in a nonlinear way Today’s topic will be a little independent of what we’ve done, so it will be more into the…</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>We can consider a mapping between all of the sets in the 𝜎 -algebra of one measurable space ( Ω , ℱ︀ ) to another sample space Ω 1 , where the mapping is measurable each set has…</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>Let’s define an infinite probability space Ω ∞ . This sample space is uncountably infinite, which means that the probability of any particular outcome is zero. Therefore, in…</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>Let’s say we want to invest in long-term U.S. government bonds. The monthly average return of this is 0.47%, half of the equity market, and 2.3% standard deviation, less than…</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>We have already considered the measurable space ( Ω , ℱ︀ ) of the sample space and 𝜎 -algebra. We can now define the probability measure ℙ as a measure defined on events in the 𝜎…</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>Financial risk management involves identifying, assessing, measuring, and managing financial risks. Some risks are measurable, others are not. Risk cannot always be avoided, but…</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 purpose of probability is to obtain answers about real-life phenomena which do not have a predetermined outcome. We need a mathematical model to describe this so that we can…</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? In the general…</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. IEEE-754 floating point numbers are…</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. Math is infinite.…</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…</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. Arithmetic works in a very simple and clear way in Python, basically like a calculator. 2 #…</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…</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. Many people believe that Albert Einstein won the…</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. In contrast to the…</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? The basic idea behind a control statement is that…</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…</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,…</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. We have spoken…</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 . Functional programming is based on the idea that all…</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. Clock frequency in CPUs has massively increased over the past…</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. As you may recall, the routing…</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’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.…</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? It’s likely that you have an internet speed in the tens of Mbps. This unit is megabits…</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’s engagement with laws of physics surrounding light in their…</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…</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. What happens if a device doesn’t have a permanent IP address? You take…</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…</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? An ISP has a block of addresses that are partitioned to its customers. If an ISP network has an address like 200.8.4/24…</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’ve always wanted to have a personal website where I can…</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 -&gt; int -&gt; int is a function that takes two int s and returns an…</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…</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…</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? System of handshakes ensures reliable transmission of data. What happens if a packet…</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. Like with charges in a magnetic field, magnets do…</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’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’s a broad topic. Operational semantics , which are how programs execute , are narrow…</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’t,…</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 . Let’s say we want to design the simplest transport…</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 . We will endeavor to answer all of those questions today. Magnets work similarly to electric charges where like poles…</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 . The Simple Mail Transfer Protocol is how…</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. Values are a subset of expressions, as previously stated. All expressions can evaluate to values, but…</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 . The point of the File Transfer Protocol , was,…</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? Let’s think of a super…</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. We have seen the keyword let used to define expressions and store values.…</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…</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. Messages are different based on what kind of information you are sending. For example, HTTP (HyperText…</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…</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. We should understand a few…</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 analogous structure is a vector in C++ or Rust. Lists are homogeneous and of arbitrary length . The most basic list is…</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’s another force that is relevant to electricity: electric potential . Gravity is similar to the electrostatic force, apart from the…</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 let rec fact n = (* the function is named fact and its…</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? Fundamentally, the negative charge comes from the electron , a subatomic particle. The positive charge comes from protons , also in the…</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. A process is an execution stream in the context of a process state.…</summary><category term="Operating Systems Design"/></entry>
</feed>
