<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Salman Badawy on Medium]]></title>
        <description><![CDATA[Stories by Salman Badawy on Medium]]></description>
        <link>https://medium.com/@salmanbadawy2014?source=rss-da16cdea753d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bAOo9v1y1-zqICam.</url>
            <title>Stories by Salman Badawy on Medium</title>
            <link>https://medium.com/@salmanbadawy2014?source=rss-da16cdea753d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 20:39:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@salmanbadawy2014/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Detalles Ignorados Que Cambiaron Mi Vida Parte (1/x)]]></title>
            <link>https://medium.com/@salmanbadawy2014/detalles-ignorados-que-cambiaron-mi-vida-parte-1-x-ed10c725f49e?source=rss-da16cdea753d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed10c725f49e</guid>
            <category><![CDATA[autodescubrimiento]]></category>
            <category><![CDATA[vegan]]></category>
            <category><![CDATA[dieta]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[salud]]></category>
            <dc:creator><![CDATA[Salman Badawy]]></dc:creator>
            <pubDate>Tue, 16 Apr 2024 15:10:57 GMT</pubDate>
            <atom:updated>2024-04-22T20:28:13.508Z</atom:updated>
            <content:encoded><![CDATA[<h3>Detalles que al Dejar de Ignorarlos, Cambiaron mi Vida. Parte (1/x)</h3><p>Un viaje de auto-descubrimiento</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*VCLGQNRQPj_yK_aE" /><figcaption>Imagen de una persona en un camino de auto-descubrimiento — generada por DALL-E</figcaption></figure><p>Al igual que tú, he encontrado muchas ideas, algunas de las cuales asigno mayor importancia y otras no.</p><p>Recientemente, me he dado cuenta de que muchas cosas a las que no asignaba alta importancia resultaron ser transformadoras en mi vida.</p><p>Este post es parte de una serie cuya longitud no estoy seguro (de ahí la ‘x’ en el título). ¡Te animo a que te unas a mí en este viaje de auto-descubrimiento!</p><p><strong><em>Descargo de responsabilidad:</em></strong> <em>Honestamente no me gusta tener que decir esto, pero no soy médico y nada de lo que comparto aquí es un consejo médico. Solo estoy compartiendo mi experiencia con diferentes aspectos de la vida. Cualquier cosa que intentes o no de este artículo es bajo tu propio riesgo.</em></p><h3><strong>Dieta:</strong></h3><p>Esto no es un cliché. Realmente no solía ser consciente del efecto de lo que comía en mi estado de ánimo, niveles de energía, productividad en el trabajo, motivación y calidad de vida en general.</p><p>Solía despertar con energía, y justo después de desayunar, mis niveles de energía disminuían y me sentía somnoliento. Eso era solo mi día a día, y no lo cuestionaba mucho. Intentaba encontrar una manera de evitarlo ayunando un par de horas por la mañana si necesitaba terminar algo urgente. No obstante, debí haberle dado mayor importancia hasta encontrar la causa raíz.</p><p>Hasta hace poco, cuando mi trabajo comenzó a exigir mayores niveles de energía y concentración, empecé a cuestionar un poco las cosas. Me pregunté si era normal que mi energía se agotara cada vez que comiera algo. Definitivamente, algo estaba haciendo mal…</p><p>Empecé a monitorear y a cuestionar lo siguiente:</p><ul><li>¿Qué alimentos afectan negativamente/positivamente mis niveles de energía y estado de ánimo?</li><li>¿Qué desayuné y cómo me siento ahora? ¿Estoy somnoliento, concentrado, estable?</li><li>¿El café me irrita? ¿Qué tipo de café?</li><li>¿Soy alérgico a algo? ¿Cómo reacciona mi cuerpo cuando como algo a lo que soy alérgico o intolerante?</li><li>etc…</li></ul><p>Una vez que comencé a prestar atención, no fue difícil identificar alimentos y bebidas que me afectaban negativamente. También me basé en mis experiencias anteriores en retrospectiva, lo que facilitó el proceso de descubrimiento. Por ejemplo, recuerdo que cuando bebía café en el pasado, ese mismo día o al día siguiente, me sentía irritable y más propenso a enojarme.</p><p>Así que terminé identificando algunos elementos que me causaban problemas, y después de discutirlos con familiares y amigos, me di cuenta que ellos compartían algunos de estos elementos también. Podría ser diferente para ti, pero quería compartir mis hallazgos contigo para que tengas una referencia durante tu descubrimiento. Aquí están los elementos:</p><h4><strong>1. Productos lácteos:</strong></h4><ul><li>Noté que tengo problemas de concetración y somnolencia después de consumir lácteos. Además me siento inflamado y cansado al caminar y subir escaleras, lo cual es atípico en mí.</li></ul><p><strong>Alternativas:</strong></p><ol><li><strong>Productos sin lactosa:</strong> Chobani y Fage ofrecen yogur y bebidas de yogur sin lactosa, lisos y con sabor, que también son libres de grasa y azúcar. ¿Puedes creerlo? Además, Lactaid ofrece leche sin lactosa, libre de grasa, y que además sabe mejor que la leche regular.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*HUSAaWCti0mDnOW_.jpeg" /><figcaption>Imagen de la bebida de yogur sin lactosa de Chobani (¡Es absolutamente deliciosa!) — Fuente: Super 1 Foods</figcaption></figure><p>2. <strong>Leches Alternativas: </strong>Avena, almendra, leche de soja</p><p>3. <strong>Opciones veganas:</strong> Los productos de Mikomo son increíbles. Solo probé el queso crema, pero el sabor y la calidad es inigualable. La comida está hecha a base de nuez de la India; puedes saborearla un poco, pero el sabor es fascinante. No estoy patrocinado por Mikomo; esta es mi sincera experiencia de primera mano.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*sPVRkDOSo_MHUSOE" /><figcaption>Imagen del queso crema de leche de nuez de la India de Mikomo -Fuente: Goodeggs.com</figcaption></figure><h4><strong>2. Gluten:</strong></h4><ul><li>Me di cuenta de que comer pasta, por ejemplo, me hace sentir inflamado y me quita energía por la tarde si la tengo para el almuerzo. También el pan blanco tiene el mismo efecto. Ambos son deliciosos, pero ¿quién sabía que podrían tener este efecto?</li></ul><h4><strong>3.</strong> <strong>Alimentos con alto nivel glucémico: (La mayoria de la gente probablemente sufre de esos)</strong></h4><ul><li>Este concepto era nuevo para mí hasta hace poco. ¿Qué son estos alimentos de alto nivel glucémico? Son alimentos que elevan rápidamente el nivel de glucosa en la sangre en un corto período después de su consumo, lo que lleva a una caída repentina en el nivel de glucosa en la sangre poco después, provocando letargo y niebla mental.</li></ul><h4><strong>4. Proteína a base de plantas:</strong></h4><ul><li>No estoy seguro de qué ingrediente específicamente, pero me siento increíblemente inflamado cuando lo consumo y me siento muy pesado e incómodo.</li></ul><h4><strong>5. Café y té verde:</strong></h4><ul><li>Depende del café, pero en términos generales, el café americano me irrita y me pone ansioso. Necesité experimentar con esto durante un tiempo, pero encontré un tipo de café que me da la energía que necesito sin causar nerviosismo o irritabilidad: el Café Instantáneo de Kroger</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/239/0*0uY1LolCtpEGN7wL.png" /><figcaption>Imagen del frasco de café instantáneo original de Kroger — Fuente: Tienda en línea de Kroger</figcaption></figure><p>Todo eso afectó negativamente mi trabajo, y esa es la primera razón por la cual solía tener una caída de energía justo después del desayuno.</p><h4><strong>Efecto negativo adicional; procrastinación y motivación:</strong></h4><p>Leí un artículo en Welltory sobre cómo recuperarse bien en 4 áreas: físicamente (que incluye dieta y ejercicio), mentalmente, emocionalmente y motivacionalmente. El punto del artículo que llamó mi atención es que la motivación es más fácil de encontrar si los otros aspectos están en buen estado. Entonces, si estás luchando con la falta de motivación/procrastinación, te exhorto a que cuides las tres primeras áreas y veas cómo tu cuerpo comienza a actuar en consecuencia.</p><p>No quiero sonar poco realista al sugerirte eliminar estos alimentos por completo. Es un proceso gradual cuyo<strong> primer paso </strong>para lograr dicho equilibrio de disfrutar dichos alimentos mientras se sigue teniendo el nivel de energía y motivación deseado <strong>es ser conscientes de sus efectos en nuestros cuerpos</strong>. Si este post te hizo consciente de algo de lo que antes eras ajeno, entonces este post ha cumplido su propósito. 😊</p><p>Si este artículo te ayudó de alguna manera, por favor considera aplaudir, comentar y seguirme en Medium para ayudar a “motivarme” 😉😊 a seguir escribiendo más contenido como este.</p><p>¡Mantente sintonizado, ya que habrá más por venir!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed10c725f49e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[x things that I used to ignore but ended up being a big deal]]></title>
            <link>https://medium.com/@salmanbadawy2014/x-things-that-i-used-to-ignore-but-ended-up-being-a-big-deal-f6e068af2bf6?source=rss-da16cdea753d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6e068af2bf6</guid>
            <category><![CDATA[health]]></category>
            <category><![CDATA[vegan]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[diet]]></category>
            <category><![CDATA[motivation]]></category>
            <dc:creator><![CDATA[Salman Badawy]]></dc:creator>
            <pubDate>Mon, 15 Apr 2024 12:41:57 GMT</pubDate>
            <atom:updated>2024-04-22T20:27:47.806Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ignored Details That Changed My Life Part (1/x)</h3><p>A journey of self-discovery</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xDbdCmFmv1Jt8l6u" /><figcaption>Image of a person on a path of self-discovery — generated by DALL-E</figcaption></figure><p>Like you, I have come across many ideas, some of which I assign higher importance to and others I don’t.</p><p>Well, recently, I’ve been realizing that many of the things that I did not assign high importance to turned out to be life-changing.</p><p>This post is part of a series that I’m not really sure of its length (hence the ‘x’ in the title). I encourage you to join me on this journey of self-discovery!</p><p><strong><em>Disclaimer: </em></strong><em>I honestly don’t like that I need to say this, but I am not a doctor, and anything I share here is not medical advice or anything of that sort. I’m just sharing with you my experience with different aspects of life. Anything you try or not from this article is at your own risk. (I really don’t like having to say that, but it is what it is)</em></p><h4>Diet:</h4><p>This is not a cliche. I really used to not be aware of the effect of what I ate on my mood, energy levels, productivity at work, motivation, and overall quality of life.</p><p>I just used to wake up with energy, and then right after I had breakfast, my energy levels would dip, and I would feel sleepy. That was just my norm, and I did not question it much. I tried to find a way around it by fasting for a couple of hours in the morning if I needed to finish something urgent. Otherwise, I should have given it a high importance to dig deeper.</p><p>Until recently, when my work started to demand higher levels of energy and concentration, I started to question things a bit. I said that I don’t think it’s normal to have my energy sapped every time I eat something. I must be doing something wrong, and I was…</p><p>I started monitoring myself (I didn’t keep a journal or anything; I was just aware). I started monitoring and asking these questions:</p><ul><li>Which foods affect my energy levels and mood negatively/positively?</li><li>What did I have for breakfast, and how do I feel right now? Am I sleepy, focused, stable?</li><li>Does coffee make me irritable? Which type of coffee?</li><li>Am I allergic to anything? How does my body react when I eat things that I am allergic or intolerant of?</li><li>etc…</li></ul><p>Once I started paying attention, it was not hard to identify foods and drinks that negatively affected me. I also drew on my previous experiences in retrospect, which made the discovery process easier. For example, I remember how when I drank coffee in the past, the same day or the next day, I would be irritable and more prone to get upset.</p><p>So, I ended up identifying some items that caused me some issues, and after discussing them with family and friends, I realized that they share some of these items, too. It could be different for you, but I wanted to share my findings with you so that you have a reference during your discovery. Here are the items:</p><h4>1. Dairy products (Not lactose-free):</h4><ul><li>I noticed I get brain fog and feel sleepy after eating dairy. I also become bloated, and I feel tired walking and going up the stairs, which is unlike me without consuming dairy.</li></ul><h4>Alternatives:</h4><ol><li><strong>Lactose-free products:</strong> Chobani and Fage offer lactose-free plain and flavored yogurt and yogurt drinks that are also fat-free and sugar-free. Can you believe it?! Also, Lactaid offers fat-free, 2%, and whole lactose-free milk, which tastes better than regular milk.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*EpsCpEjEysBEaaZa.jpeg" /><figcaption>Image of Chobani Lactose-Free Yogurt Drink bottle (It’s absolutely delicious!) — Source: Super 1 Foods</figcaption></figure><p>2. Alternatives Milks: Oat, almond, soy milk</p><p>3. Vegan options: Mikomo’s products are amazing. I only tried the cream cheese, but the flavor and quality only speak for the rest of the products. The food is made from cashews; you can taste it just a bit, but the flavor is fascinating. I’m not sponsored by Mikomo’s; this is my honest first-hand experience feedback.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*fiKvuQmNDSfCBIrR" /><figcaption>Image of Mikomo’s Cashew Milk Cream Cheese with a knife that has a scoop of the cheese on it — Source: Goodeggs.com</figcaption></figure><h4>2. Gluten:</h4><ul><li>I realized that eating pasta, for example, makes me feel bloated and zaps my energy in the afternoon if I have it for lunch. Also, white bread has the same effect. Both are delicious, but who knew they could have this effect?</li></ul><h4>3. High Glycemic level foods:</h4><ul><li>This concept was new to me until recently. What are these high-glycemic-level foods? They are foods that quickly raise the blood glucose level within a short period after consumption, which leads to a sudden drop in blood glucose level shortly after, leading to sluggishness and brain fog.</li></ul><h4>5. Plant-based protein powder:</h4><ul><li>I am not sure which ingredient specifically, but I get crazy bloated when I have it and feel very heavy and uncomfortable.</li></ul><h4>6. Coffee and Green Tea:</h4><ul><li>It depends on the coffee, but in general terms, American Coffee makes me irritable and anxious. I needed to experiment with this for a while, but I found coffee that gives me the boost I need without the jitters. Kroger Instant Coffee</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/239/1*FnOde9HKO0qVHsfrw8O1Vg.png" /><figcaption>Image of Kroger Original Roast Instant Coffee glass jar — Source: Kroger Online Store</figcaption></figure><p>All that negatively impacted my work, and that’s the 1st reason why I used to have an energy dip right after breakfast.</p><h4>Bonus negative effect: Procrastination and motivation:</h4><p>I read an article on Welltory about how to recover well in 4 areas: physically (which includes diet and exercise), mentally, emotionally, and motivationally. The article’s point that caught my attention is that motivation is easier to come around if the other aspects are in a good state. So, if you’re struggling with a lack of motivation/procrastination, I urge you to take care of the first three areas and watch how your body starts asking you for more instead of you dragging your body around to anything worth doing.</p><p>I don’t want to sound unrealistic by urging you to eliminate these foods entirely. I haven’t. <strong><em>But the first step</em></strong> in striking that balance of enjoying these foods while continuing to have the level of energy and motivation we desire <strong><em>is to be aware of their effects on our bodies. </em></strong>If this post made you aware of something you were previously oblivious to, then this post has achieved its purpose. 😊</p><p>If this article helped you in any way, please consider clapping, commenting, and following me on Medium to help support me and “motivate” 😉😊 me to write more content like this. Thanks for reading!</p><p>Stay tuned for more to come!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6e068af2bf6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I finished DataCamp ‘Working with OpenAI API” course.]]></title>
            <link>https://medium.com/@salmanbadawy2014/i-finished-datacamp-working-with-openai-api-course-7e04e8152a7c?source=rss-da16cdea753d------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e04e8152a7c</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Salman Badawy]]></dc:creator>
            <pubDate>Thu, 15 Feb 2024 01:21:03 GMT</pubDate>
            <atom:updated>2024-04-15T11:53:21.672Z</atom:updated>
            <content:encoded><![CDATA[<h3>I finished DataCamp ‘Working with OpenAI API” course. Here is the 4-minute summary of what I learned</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EHnmf54LyPKW5AGlrUN2fA.jpeg" /></figure><h3><strong>Module 1:</strong></h3><h4>The OpenAI API has multiple endpoints, each with its functionalities and applications</h4><ul><li><strong>Completions:</strong> Single-task — simplest and most commonly used endpoint</li><li><strong>Chat:</strong> Multi-task — for two-way conversations</li><li><strong>Moderation:</strong> Used to validate the response of the LLM to ensure it abides by certain rules, and we can set different sensitivity levels per violation</li></ul><h4>The API usage structure and cost</h4><p><strong>How we set up the Organization to access an API plays a crucial role in:</strong></p><ul><li>Not exceeding the rate limits</li><li>Fault-tolerance</li><li>Easier management of usage as each function would have its own organization</li></ul><p><strong><em>Note:</em></strong><em> It’s normal to use list subsetting when accessing the API response. (I thought that wasn’t the best practice, but it looks like it’s the normal thing to do)</em></p><h3><strong>Module 2:</strong></h3><ul><li>Temperature controls the randomness of the response. It varies from 0 to 2. 0 is the most deterministic (i.e., least random), and 2 is the most random (i.e., least deterministic).</li></ul><p><strong>The Completions endpoint can do much more than answer questions:</strong></p><ul><li>We can intelligently find and replace content in a text (a paragraph about cars can be made to be about planes following the same structure. Something that could not be quickly done before AI)</li><li>We can summarize the text: which is the most commonly used application of LLMs</li><li>We can also use it for content generation, such as generating a slogan for a new restaurant.</li><li>We can ask it to classify text into categories</li><li>We can ask it to tell us the sentiment of some text that we provide</li></ul><p><strong><em>In-Context Learning:</em> We can give examples to the LLM so that it can respond how we like. This is called In-Context Learning since we provide the examples in the prompt (context) itself. These are the types:</strong></p><ul><li>If we do not specify examples for the LLM, this is called <strong>zero-shot</strong> learning, as we rely on what the LLM already knows. This is okay if the task is not specific to a use case</li><li>If we provide one example, it’s called <strong>One-shot</strong> learning</li><li>If we provide more than one example, it’s called <strong>Few-shot</strong> learning</li></ul><p>· The Chat Completions endpoint can be used to create a chatbot. The structure is similar to the Completions endpoint API call, but instead of using the parameter <strong>“prompt,”</strong> we use the parameter <strong>“messages” (a list of dictionaries for System and User)</strong></p><p><strong>A Chat consists of three roles:</strong></p><p>An example will better show what each role does</p><ul><li><strong>System:</strong> “You are a friendly and helpful tutor.”</li><li><strong>User: </strong>“Can you explain what the .shape attribute does in pandas?”</li><li><strong>Assistant:</strong> “The .shape attribute in pandas shows the number of rows and columns in a pandas DataFrame (rows, columns)”</li></ul><h3><strong>Module 3:</strong></h3><h4><strong>The Moderation endpoint</strong></h4><ul><li>This can be used to moderate messages to and from the OpenAI API, as well as in various moderation applications, either manually or through a keyword parsing system.</li><li>The manual approach is expensive, requires 24/7 support, and may not be consistent depending on who is reviewing the content</li><li>The keyword parsing system (a system that flags messages that contain violent words, for example) does not understand the context and may wrongfully flag messages. For example, “My favorite book is How to Kill a Mockingbird.” Because of the word “Kill,” this keyword parsing system would flag this message. However, OpenAI’s API understands the context of the message and does not flag it as inappropriate.</li><li>The Moderation endpoint provides scores for each category of violation, such as harm, sexual, and hate speech</li></ul><h4><strong>Audio Transcription and Translation</strong></h4><ul><li>We can use the Whisper model to transcribe audio in almost any format as long as the size of the file is up to 25 MB</li><li>We can also use the Whisper model to translate audio from various languages into English. Other languages are not supported at the moment. German &gt; English, not English &gt; German</li></ul><h4><strong>Model chaining</strong></h4><p>Simply put, instead of specifying the input to every endpoint manually, we can use the output of one model as the input to the following one. For example, we can use the transcribed audio as input for a Completions model to summarize the transcription.</p><p>I hope this summary helped you understand some of the capabilities of OpenAI API :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e04e8152a7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>