<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://sneachchea.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://sneachchea.github.io/" rel="alternate" type="text/html" /><updated>2026-01-11T11:23:09+00:00</updated><id>https://sneachchea.github.io/feed.xml</id><title type="html">Shaheen Acheche website</title><subtitle>My personal website.</subtitle><author><name>Shaheen Acheche</name><email>shaheen.acheche@gmail.com</email></author><entry><title type="html">2026 New Year’s resolutions</title><link href="https://sneachchea.github.io/happy-new-year/" rel="alternate" type="text/html" title="2026 New Year’s resolutions" /><published>2026-01-10T00:00:00+00:00</published><updated>2026-01-10T00:00:00+00:00</updated><id>https://sneachchea.github.io/happy-new-year</id><content type="html" xml:base="https://sneachchea.github.io/happy-new-year/"><![CDATA[<h1 id="new-year-new-me">New year, new me</h1>

<p>First of all, I wish you an excellent year 2026. May it be filled with good cheer and, above all, good health. 
I don’t usually make New Year’s resolutions, but I think I’m getting old because this year I’m making an exception.</p>

<p>Basically, here are my two resolutions. The first one is simple. I want to populate this website a bit more. Not that writing brings me joy, but I see it as killing two birds with one stone. I won’t write just for the sake of it, so I’ll embark on some personal projects that I’ll tell you about later.</p>

<p>The second one is quite simple: I want to reduce my dependence on GAFAM. I already started in 2025, but 2026 will be the year of confirmation.</p>

<h2 id="but-first-why">But first, why?</h2>

<p>It all started when I realized the fragility of our emails. In a digitalized world, our mailboxes contain our lives: finances, health, entertainment, social networks, and so on. We receive everything by email, and generally, we use a <em>free</em> email service (Gmail or Outlook). The fact that these services are free means they are monetized in other ways, which usually means targeted advertising. We tend to accuse our smartphones of “spying” on us by listening to conversations, but we forget that our entire digital lives are based on advertising because we refuse to pay for things that should be paid for.</p>

<p>Worse still, our governments are also starting to attack our privacy on the internet. In France, proof of age is now required to visit adult websites. The arguments are always the same: protecting the most vulnerable (in this case, minors). My opinion is very mixed. This argument doesn’t hold water for me because it’s always for security reasons that we introduce repressive laws into common law. Indeed, we cannot oppose the protection of minors, and once the law comes into force, it will be extended to broader cases. As long as democratic governments lead our states, I think the application of the law will be contained. But in times like ours, where the rise of authoritarianism is inevitable, we are giving future governments the legislative tools to control our digital lives. I mean, what could go <a href="https://www.bbc.com/news/articles/cj3l0e4vr0ko">wrong</a>, right ?</p>

<p>The second problem is that if the law passes without issue, the technical solution to ensure the majority of visitors to adult films has been left to the discretion of private companies. Imagine what will happen when these companies fall victim to a data breach or a cyberattack. In addition to leaking identity proofs, digital ransoms will become much more effective. But, hey, they will keep your <a href="https://www.lepoint.fr/societe/agego-le-systeme-de-verification-de-l-age-pour-les-sites-pornos-pointe-du-doigt-06-09-2025-2597922_23.php">data safe</a>, right ?</p>

<blockquote>
  <p><em>I am not saying that we shouldn’t fight against the scourge of minors accessing pornography. On the contrary, I believe that the way our governments are combating this in an <a href="https://www.politico.eu/article/sites-pornographiques-six-mois-plus-tard-les-mineurs-reussissent-a-contourner-le-controle-de-lage/">insufficiante</a> and counterproductive way. In my humble opinion, just as with drug consumption, protecting minors from pornographic content requires complementing coercive methods with more prevention.</em></p>
</blockquote>

<p>Finally, ChatControl, a Danish initiative in the European Parliament to protect minors from pedocriminality, wanted to end end-to-end encryption and have our messages and images read by artificial intelligence. If content is flagged as suspicious, humans will verify it. Without being a computer genius, one can imagine that the number of false positives (i.e., content classified as problematic but isn’t) will be very high, rendering the proposal ineffective. The only consequence will be the end of secure messaging and a new way to weaken our defenses against tomorrow’s authoritarian regimes. I let you check this <a href="https://fightchatcontrol.eu/">website</a> that explain better than me the possible consequences of ChatControl.</p>

<blockquote>
  <p><em>We need to fight against the pedocriminality very <strong>hard</strong>, but we should also keep our fundamental rights protected.</em></p>
</blockquote>

<p>Before receiving targeted ads about my romantic misadventures or potential chronic illnesses, I decided to take the lead. Here’s how I’m de-Googling my digital life:</p>

<ol>
  <li>Emails: This is what pushed me to migrate and leave GAFAM. I wanted a service that respects privacy and is European. On my shortlist, I kept Tutanota 🇩🇪 and Proton Mail 🇨🇭. After much reflection, I chose Proton and subscribed to one of their paid plans. I’m gradually migrating important services (my bank, Doctolib, PayPal, etc.) to it.</li>
  <li>Messaging: I’m trying to migrate to Signal, which seems to be the perfect alternative to WhatsApp. The main problem with messaging is that migration doesn’t depend solely on me but also on the people I talk to. Let’s say that whenever possible, I reply on Signal to those who message me on WhatsApp or Messenger. It’s never pleasant, but strangely, it works because those same people now contact me directly on Signal.</li>
  <li>Cloud storage: Like emails, drives contain a significant portion of important files (e.g., identity documents, medical files, etc.). I opted for Proton Drive, which is included with my Proton subscription.</li>
  <li>VPN: I didn’t know I needed a VPN, but the more time passes, the more I think it’s important to have one. If only to use Wi-Fi networks other than your own or unsecured ones.</li>
  <li>No Chromium-based internet browser: This isn’t too hard because I’ve always preferred Firefox. Monopolies are dangerous, whether economic or in internet browsers. We’ve already seen what can happen with ManifestV3. Once again, Google is a private, profit-driven company. They don’t maintain Chromium out of kindness but because there’s an interest in controlling their clients’ internet browsers. Ad blockers directly oppose their interests, and I foresee a world where ads will no longer be blocked on all Chromium-based browsers (Chrome, Vivaldi, Brave, Opera, etc.).</li>
</ol>

<p>In 2026, I plan to leave Windows on my desktop computer. I’ve always kept a Linux/Windows dual boot, using Windows mainly for gaming. Since gaming has become “easy” on Linux, thanks to Proton (nothing to do with emails) and especially Steam, I no longer see the need to keep Windows. Especially since Microsoft is increasingly including ads within its OS.</p>

<h2 id="what-i-dont-plan-to-do-right-away">What I don’t plan to do right away</h2>

<p>Often, when my relatives notice my “radicalism,” there are two reactions:</p>

<ol>
  <li>Why are you doing this? I don’t know. I think it’s closely related to the fact that I experienced the Jasmine Revolution in Tunisia. During this revolution, the internet played a very important role in sharing information and ideas in a country where <em>traditional</em> freedom of expression was stifled (newspapers, television, youth centers). It was precisely because the internet was free, and social networks had little or no ties to governments, that the revolution took place.</li>
  <li>But you still have an iPhone? Yes, I don’t completely leave GAFAM. I keep an Apple computer and use an iPhone as a smartphone. I don’t think I’m radical enough to completely leave GAFAM, but there are simple things that can mitigate these companies’ grip on the internet and our lives.</li>
</ol>

<p>And you? What are your New Year’s resolutions ?</p>]]></content><author><name>Shaheen Acheche</name><email>shaheen.acheche@gmail.com</email></author><summary type="html"><![CDATA[New year, new me]]></summary></entry><entry><title type="html">Why I Love ♦️ Chkobba: A Data-Driven Strategy for the First Card decision</title><link href="https://sneachchea.github.io/game,/statistics/Chkoba/" rel="alternate" type="text/html" title="Why I Love ♦️ Chkobba: A Data-Driven Strategy for the First Card decision" /><published>2025-12-28T00:00:00+00:00</published><updated>2025-12-28T00:00:00+00:00</updated><id>https://sneachchea.github.io/game,/statistics/Chkoba</id><content type="html" xml:base="https://sneachchea.github.io/game,/statistics/Chkoba/"><![CDATA[<p><em>the incredible depth of the Chkoba (a traditional tunisian card game)</em></p>

<p>I’m a huge fan of <a href="https://fr.wikipedia.org/wiki/Chkobba"><strong>chkobba</strong></a>. It’s by far my favorite card game, and I love playing it with my grandmother, who herself learned it from my great-grandfather—tracing the game back to the 19th century in our family.</p>

<p>At the start of each round, after the cut, the first player draws a card and decides whether to keep it or discard it. Generally, if the card is weak (Ace, 2, or 4, for example), players tend to discard it. If you keep the card, you draw 2 more cards to complete your hand. The second player then deals themselves 3 cards and places 4 cards face-up on the table.</p>

<p><strong>My question:</strong> From which card is it profitable to keep the first drawn card?</p>

<p>As with any good question, we first need to clearly define the problem. I define “profitable” as the card that allows me to capture the most cards (and thus earn the most points). I’m not considering the special cases of 7s and diamonds, which are tied to three other ways of scoring points (<em>dinari</em>, <em>barmila</em>, and <em>sab3a el haya</em>). So, “profitable” here simply means: which card allows me to earn the most points on average.</p>

<p>I wrote a short Python script to investigate this. For those interested, you can find the code on <a href="https://github.com/SneachChea/chkoba">GitHub</a>. With this script, I simulated 2 million first rounds and collected the statistics. This is essentially a Monte Carlo simulation, for those familiar with the method.</p>

<p><strong>Disclaimer:</strong> When I play a card, I can either capture a card of the same value or capture a combination of cards. In the case of a combination, I always choose to capture the maximum number of cards possible.</p>

<h2 id="my-findings-math-ahead">My Findings (Math Ahead!)</h2>

<ol>
  <li>
    <p>The expected number of cards captured, based on the first card drawn (and kept), follows a non-linear law (a second-degree polynomial fit works very well, with R² = 0.999). However, this is just a fit; the underlying distribution is more complex. In other words, the average number of cards you can capture with the first card drawn is not proportional to its value. This makes sense when you consider the number of possible combinations for each card. A 2, for example, can only capture another 2 or two Aces. A King, on the other hand, offers many more combinations. In fact, every turn in chkobba is a variant of the <strong>subset sum problem</strong>, which is NP-complete and becomes increasingly complex as the card value increases. In chkobba, the highest card, the King (<em>el rey</em>), is only worth 10, so it remains manageable for both computers and human brains. <strong>From the Queen onward (inclusive), keeping the card allows you to capture an average of at least one card (1.06 cards for the Queen, 1.36 for the 10).</strong></p>
  </li>
  <li>
    <p>If we look at the probability distributions of the number of cards captured based on the value of the first card drawn, three broad categories emerge:</p>
    <ul>
      <li><strong>Weak cards (Ace, 2, 3):</strong> These don’t allow you to capture many cards (certainly fewer than the table cards). The probability of capturing at least one card ranges from ~30% to 38%.</li>
      <li><strong>Mid-range cards (4, 5, 6, 7):</strong> These show a gradually increasing efficiency. The 7 captures an average of 0.93 cards, with a ~63% chance of capturing at least one card. Given the central role of the 7 in other chkobba rules, I’d argue it’s worth keeping from the 7 onward—even though, technically, stronger cards exist.</li>
      <li><strong>Strong cards (Queen, Jack, King):</strong> These have the highest capturing power, averaging more than one card captured. The Queen captures at least one card 64% of the time, while the King does so 75% of the time!</li>
    </ul>
  </li>
</ol>

<h2 id="conclusion">Conclusion</h2>

<p>If we ignore other scoring methods (<em>dinari</em>, <em>barmila</em>, <em>sab3a el haya</em>), it’s best to keep your card starting from the Queen. However, since these rules do exist and the 7 plays a central role, I personally keep cards starting from the 7. The 6 can also be interesting, but I don’t keep it—you’ve got to take risks in life!</p>

<p>It’s also funny to note that most chkobba players already play optimally. Simulating 2 million first rounds to reach a well-known conclusion isn’t exactly groundbreaking. Still, I’m glad we now have quantitative insights into the advantages of each card.</p>

<p><strong>What about you? What’s your chkobba strategy? Do you keep the 6?</strong></p>]]></content><author><name>Shaheen Acheche</name><email>shaheen.acheche@gmail.com</email></author><category term="game," /><category term="statistics" /><summary type="html"><![CDATA[the incredible depth of the Chkoba (a traditional tunisian card game)]]></summary></entry><entry><title type="html">Soutenance de thèse [FRENCH]</title><link href="https://sneachchea.github.io/studies/soutenance-de-these/" rel="alternate" type="text/html" title="Soutenance de thèse [FRENCH]" /><published>2019-01-03T14:20:54+00:00</published><updated>2019-01-03T14:20:54+00:00</updated><id>https://sneachchea.github.io/studies/soutenance-de-these</id><content type="html" xml:base="https://sneachchea.github.io/studies/soutenance-de-these/"><![CDATA[<p><em>Since my thesis and my thesis defense are in french, this post is also in french. In advance, sorry…</em></p>

<p>Ma soutenance de thèse a eu lieu le 19 décembre 2018. Le fonctionnement des soutenances à l’université de Sherbrooke est différent de celui en France. Il y a deux soutenances distinctes le jour <strong>J</strong>:</p>
<ul>
  <li>une privée en compagnie du jury de thèse où l’étudiant présente en vingt minutes les résultats sayants du doctorat suivie d’une séance de questions-réponses de plusieurs heures.</li>
  <li>une publique, ouverte à tous et qui doit être la plus accéssible possible.</li>
</ul>

<p>Le titre de ma thèse est: <strong>Effets des corrélations électroniques et du champ magnétique dans les semi-métaux de Weyl.</strong></p>

<p>Les semi-métaux de Weyl étant des objets aux propriétés topologiques interessantes, l’intérêt premier de mon travail réside dans une meilleure compréhension de cette phase dans des matériaux fortement corrélés (comme par exemple <a href="https://www.nature.com/articles/nmat4987">Mn3Sn</a>). Pour y aboutir, j’ai fait le choix d’étudier le modèle d’Hubbard sur un modèle de semi-métal de Weyl sur réseau. Pour résoudre ce problème, le choix de la <a href="https://journals.aps.org/rmp/abstract/10.1103/RevModPhys.68.13">théorie du champ moyen dynamique</a> est apparu pertinent et cela sur deux points important:</p>
<ul>
  <li>Cette méthode fonctionne exactement dans la limite des dimensions spatiales infinies et donc, <em>a fortiori</em> pour les matériaux de dimension trois.</li>
  <li>J’ai apporté la preuve de son application pour la prise en compte l’effet orbital induit par un champ magnétique externe. Cette preuve ouvre la voie à l’étude de <a href="https://en.wikipedia.org/wiki/Chiral_anomaly">l’anomalie chirale</a> dans les semi-métaux de Weyl corrélés.</li>
</ul>

<p>Pour mener à bien ma recherche, je me suis appuyé sur les programmes de Reza Nourafkan mais j’ai aussi l’occasion de developper mes propres programmes avec, notamment, un programme de théorie du champ moyen dynamique basé sur la théorie de la perturbation itérée comme solutionneur d’impureté et divers programmes de calcul de propriétés de transport.</p>

<p>La vidéo ci-dessous est la soutenance publique. Je me suis inspiré du cours de <a href="https://www.college-de-france.fr/site/jean-dalibard/course-2017-2018.htm">Jean Dalibard au college de France</a> pour l’introduction à la topologie. Le manuscript de ma thèse est disponible sur le site de l’université de Sherbrooke <a href="https://usherbrooke.scholaris.ca/items/a493795a-525a-453f-9c04-a1116e0ef572">ici</a>.</p>

<iframe width="560" height="315" src="https://www.youtube.com/embed/Dbc1Ik99FK4" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>]]></content><author><name>Shaheen Acheche</name><email>shaheen.acheche@gmail.com</email></author><category term="studies" /><summary type="html"><![CDATA[Since my thesis and my thesis defense are in french, this post is also in french. In advance, sorry…]]></summary></entry></feed>