<?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 Laasya Chevendra on Medium]]></title>
        <description><![CDATA[Stories by Laasya Chevendra on Medium]]></description>
        <link>https://medium.com/@laasyachevendra?source=rss-366c8cf32fb2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*c0TRcBHQTUORUF95piN3Ug.jpeg</url>
            <title>Stories by Laasya Chevendra on Medium</title>
            <link>https://medium.com/@laasyachevendra?source=rss-366c8cf32fb2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 22:25:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@laasyachevendra/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[CNNs In Detecting Nutrient Deficiencies (in crops)]]></title>
            <link>https://medium.com/@laasyachevendra/cnns-in-detecting-nutrient-deficiencies-in-crops-47071aae70b5?source=rss-366c8cf32fb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/47071aae70b5</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agriculture]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[farming]]></category>
            <dc:creator><![CDATA[Laasya Chevendra]]></dc:creator>
            <pubDate>Mon, 23 Oct 2023 03:46:02 GMT</pubDate>
            <atom:updated>2023-10-23T03:46:02.075Z</atom:updated>
            <content:encoded><![CDATA[<h4>This one’s not for my fellow anemics</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9RuoeGP3uZrrgc5f0IMlKw.jpeg" /><figcaption>Image via <a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Fwww.openaccessgovernment.org%2Ftransforming-food-systems-global-field-id-agriculture%2F156539%2F&amp;psig=AOvVaw0GSLkpZQV171GcG6tGr0Oo&amp;ust=1698025949466000&amp;source=images&amp;cd=vfe&amp;opi=89978449&amp;ved=0CBAQjRxqFwoTCND0_t3FiIIDFQAAAAAdAAAAABAE">Open Access Government</a></figcaption></figure><p>Millions of acres (or hectares for my non-Americans) are filled with seemingly endless repositories of crops made to feed an entire planet. And while overpopulation and the subsequent shortage of viable land is a whole other (very real) can of beans, what if I tell you that anywhere between <strong>10–40% of this crop is entirely unusable</strong>? What if the least threatening sounding problem ever, was one that actually effects <strong>2 billion people</strong>?</p><p>Nutrient deficiency in crops results in losses equivalent to about <strong>40 billion USD annually.</strong> It poses a threat to global food security because:</p><p>a. Less food</p><p>and</p><p>b. It contributes to concentrated, often local nutrient deficiencies in humans</p><p>It’s a pretty big deal, yet it almost sounds ludicrous, given that there are only 16 nutrients any plant needs in order to survive and thrive. Is it truly <em>that </em>difficult to make amends to this problem?</p><h4>What really is nutrient deficiency?</h4><p>As mentioned, a plant is deficient when it lacks any one of its 16 nutrients, which can be split into 3 groups:</p><ol><li><strong>The “essentials”:</strong> Carbon, hydrogen and oxygen</li><li><strong>Macronutrients (required in large amounts):</strong> Nitrogen, phosphorus, potassium, sulphur, calcium and magnesium.</li><li><strong>Micronutrients (required in smaller amounts):</strong> Copper, manganese, zinc, iron, boron and molybdenum.</li></ol><p>Once a plant is nutrient deficient, its result can mean devastating effects. Alongside reduced growth, which is caused by inability for efficient cell development, abnormal flowering and fruiting can also occur, which ultimately causes a huge chunk of yield to be considered “unusable”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qhe2wzp2Tc3DIKceKBmvug.jpeg" /><figcaption>Blossom-end rot</figcaption></figure><p>For example, Calcium (Ca) shortages can result in a blossom-end rot, often seen in tomatoes, peppers, and watermelons. Because Calcium is integral in maintaining the structural integrity of a plant cell’s wall, its absence causes a variety of stresses, including leakages of the cell’s content, decreased water regulation within the cell, and a host more until it ultimately collapses.</p><p>Unlike diseases, pests, or others, nutrient deficiencies don’t root from one spunky crop that decided to infest its siblings. Instead, they generally occur in the common denominator between hundreds of acres of land (aka the soil).</p><h4>Causes</h4><p>Between the 16 possible deficiencies, 8 have a most common cause cited as insufficient pH balances within soil, that being either too acidic (low) or too alkaline (high), which can limit the plant’s ability to uptake a given nutrient. Uptake of nutrients is also often effected by the “organic matter”, that being either the over or underrepresentation of nutrients in soil (ex: excessive calcium in soil, and therefore in the plant, can inhibit the absorption of other necessary nutrients).</p><p>Additionally, the arising problem of soil erosion has been a huge contributor to deficiencies. Due to most large “bouts” of agriculture being in developing areas, ones highly prone to reaping the worst of natural disasters, excessive wind and flooding have entirely removed necessary nutrients from the soil.</p><p>The list of causes goes on and on— but the surprising fact is that mediating these deficiencies isn’t too difficult once <em>detected.</em></p><p>Once a farmer can pinpoint what type of deficiency is occurring, myriads of enriched fertilizers, soil amendments, and micronutrient solutions can be added to existing irrigation systems, fixing the problem with relative ease beyond the cost incurred.</p><p>Problem is, though, that these deficiencies <em>aren’t</em> detected until much too late. While there are dozens of government organizations and blogs that dish out all the possible identifiers of nutrient deficiencies (more on those later), indicators are often caught when the severity of the issue is no longer trivial, which is where the main problem lies.</p><h4>Identifying Deficiencies</h4><p>Because we’re narrowed down to only 16 possible deficiencies, the process of identifying them is actually relatively simple. During the vegetative growth stage of a plant’s development, a time in which it is putting on most of its leaves, stems, and roots, indicators are often visible to the plain eye.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*qFpYf-RMCVdcplE-81zxEg.jpeg" /><figcaption>Iron chlorosis</figcaption></figure><p>Mobile nutrient deficiencies, ones who’s symptoms generally appear in older leaves at the lower part of the plants, make up 4 of our 16 possibilities. Often in these we see <strong>chlorosis</strong>, the yellowing or lack of pigmentation in leaves, often associated with Nitrogen (N), Iron (Fe), and Manganese (Mn) deficiency. Chlorosis indicates a lack of said nutrient, which inhibits the plant’s ability to perform chlorophyll synthesis, the process that yields it’s marquee color. Other deficiencies, such as Zinc (Zn) and Magnesium (Mg) can also be characterized by discoloration, but more nestled between the veins of the leaf, a phenomenon known as <strong>inter-veinal chlorosis</strong>.</p><p>Immobile deficiencies, on the other hand, make themselves apparent in younger leaves/upper portions of the plant. Serious necrosis, or essentially browning/death of portions of the plant, is more commonly observed in immobile nutrients. Known as a “witch’s broom”, Boron (B) deficiencies can cause complete discoloration and breaking of leaf buds, which causes the rest of the shoot to stay dormant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*UvKTTrrUyy8jXreEDvEhuQ.jpeg" /><figcaption>Boron deficiency</figcaption></figure><p>Going beyond the simple color wheel, which already gives its fair share of insights, the form factor of leaves between the growth and reproductive stage can also be very telling.</p><p>In plants with Calcium (Ca) deficiency, younger leaves are often seen having severely stunted growth compared to their older counterparts, suggesting mobile nutrient deficiency. Potassium (K) deficiencies, combined with inter-veinal chlorosis, can also be identified by the curvature or “cupping motion” they create in the emergence of newer leaves.</p><p>The emphasis here is on the very visual nature of these diagnoses. While many solutions have began to take advantage of this fact, using a variety of technologies to make these visual “clicks” for us, so far the field has been met with little success.</p><h4>The Current Solution</h4><p>A major player in image driven AI solutions, <a href="https://eos.com/products/crop-monitoring/">EOS Data Analytics</a> have begun using AI-driven satellite imagery data to understand the “pain points” of crop fields, or use diversified indices to simply understand where plants may be experienced stress and to what degree. While their technology can serve as a generally preventative tool for farmers, since it accounts for all types of factors of stress (moisture, weather, elevation, etc.), it isn’t able to pinpoint deficiencies at any specificity, minimizing the possibility for efficient remediation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a2OgeRjts6djJq3e3Em6NQ.jpeg" /><figcaption>EOS Analytics index map of a cumin field, simply highlighting areas of general stress</figcaption></figure><p>Others have taken a completely different route to tackle this issue. “Plant analysis” as dubbed by Purdue University has increased in popularity for its ability to provide a comprehensive understanding of the deficiencies occurring in a plant, even identifying “hidden hungers”, imbalances not expressed visually. By analyzing the tissue of a given crop, it’s able to make a fairly accurate quantitative determination of the elements in plant tissue, which unlike to EOS’s methods, gives extremely specified results.</p><p>Its specificity is also where its limitations lie, however. Because the process actually involves the extraction and analysis of plant tissue, kind of a slower version of quick “sap testing” of plants done on site, it can only be used in special cases, severely limiting its adoptability.</p><p>Additionally, interpretability of this data, or really any data from soil/tissue analysis, can be tough. Nutrient levels in plants differ depending on the plant part sampled, stage of maturity, hybrid, and climatic conditions. Therefore, all of the following factors have to be carefully considered in tandem with the actually measured data, which can become a tedious and expensive process in comparison to a more visual route.</p><p>TLDR: visual identifiers are clearly the route to take when it comes to diagnosis of nutrient deficiencies, but it seems like few existing solutions are yet to hit the mark.</p><h4>Creating a CNN To Identify Nutrient Deficiencies</h4><p>So long as we can get viable data, the use of Convolutional Neural Networks to identify and classify different plant deficiencies at rapid speed can be a game changer.</p><p>Why <strong>convolutional</strong> neural networks, though?</p><p>If you’re already familiar with the traditional ANN or deep ANNs, you know that they are good at recognizing patterns, and in the case of our example, detecting objects in images. However, as soon as we start to deal with large amounts of high resolution images, possibly satellite images of very specific sections of millions of acres of land, the number of inputs and subsequent parameters (weights and biases) we have to deal with increases by a <em>huge </em>margin. For example, if you input a simple high resolution, 1000x1000 pixel image, you end up with roughly <strong>3 million parameters</strong>. The process becomes far too computationally expensive, and in the context of our problem, far too slow.</p><p>Additionally, traditional NN’s work in a very “linear” fashion, in that they’re almost only able to recognize new inputs that exactly match the ones they were trained on. In other words, they aren’t good at identifying correlations, shifts, and other changes in images.</p><p>This is where CNN’s come in.</p><p>To rectify our former problems, CNN’s perform <strong>convolution</strong> (very aptly named) with a <strong>filter or kernel.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*D6iRfzDkz-sEzyjYoVZ73w.gif" /><figcaption>Kernel convolving over pixels</figcaption></figure><p>Seen as the small, square shaped matrix, a kernel convolves through an image split up into matrices of the same size, and takes the dot product of the two, and adds it to a <strong>feature map</strong>. This operates through a process known as a receptive field, its purpose being to identify specific correlations between sets of pixels or features, such as edges, in order to make the more complex recognitions noted above. As these receptive fields traverse the input, they progressively uncover complex patterns, providing a foundation for the network to make more sophisticated recognitions in later layers.</p><p><em>Note: the intensity of each pixel in a kernel is dependent on what feature it is made to identify, which is determined by the model through backpropogation</em></p><p>Now that it was extracted the key features/patterns from our image, we need to deal with our second problem: scale. While it may seem like feature maps “condense” our original input, the way in which they convolve leaves us with an input the exact same size, which means we have to utilize <strong>pooling</strong>.</p><p>Similar to a kernel, a pooling layer is another filter that convolves through our input, but this time it does so with the purpose of extrapolating the most important parts of a region.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*fXxDBsJ96FKEtMOa9vNgjA.gif" /></figure><p>By sliding a fixed-size window (usually 2x2 or 3x3) over the input feature map, we can do so in two ways:</p><ol><li><strong>Max pooling</strong>: Taking the maximum value in each region</li><li><strong>Average pooling</strong>:<strong> </strong>Taking the average value in each region</li></ol><p>Because pooling filters don’t overlap regions in the same way a kernel does, by running through both of these steps we end up with a condensed, feature-oriented input to put through a neural network. We’re ready for our leaves.</p><h4>Real World Deployment</h4><p>With hundreds of datasets available to the public (a really good example being <a href="https://hort.ifas.ufl.edu/database/nutdef/index_element_scientific.shtml">U Florida’s</a> if interested), simple development and training of a model with the ability to detect and identify specific types of nutrient deficiencies seem viable. But, what next? Where could this model even have the potential to be deployed and make an impact?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yfnV2H1rSfSSUuGMEaO2Bw.jpeg" /><figcaption>Farm in Punjab, India</figcaption></figure><p>Punjab, India, is one of many examples worldwide who’s agriculture has been at the mercy of nutrient deficiency for quite some time, and one that also has the immediate capacity to benefit from a model as such.</p><p>For context, the state of Punjab takes up roughly 1.53% of the nation’s area while contributing to over 38% of the nation’s total annual wheat production — or <strong>41 million tonnes</strong>.</p><p>However, this is a conservative figure when we understand the decline they’ve been facing in their production as a result of their decreasing soil fertility and organic matter content. Over the last 5 years, Punjab’s wheat production has <strong>decreased by roughly 14.9 million metric tonnes</strong> despite being an area that has existing agricultural infrastructure (funded by the government), as well as more local programs and initiatives to support farmers. Nutrient deficiency has begun to take its toll, but a scenario as such makes perfect way for our model.</p><p>Because several government sponsored farms in Punjab already have plant monitoring systems in place, ones that are able to do the live photographing of plants for us, all we’d need to do is integrate. If the model is able to run smoothly on its own, it should be able to reach similar feats when applied to existing imagery. If successful, it could provide farmers with an exact “how to” on mediating deficiencies without the addition of any extra hardware or expensive technology.</p><p>There is a potential to save, by millions of tonnes.</p><h4>The Future of Agriculture?</h4><p>Not quite.</p><p>While the model may be applicable in specific cases, it still has its limitations in reaching all facets of this issue. Mentioned briefly earlier, this isn’t an entirely comprehensive solution, just in terms of diagnostics alone. While they aren’t nearly as common, “hidden hungers”, or deficiencies not identifiable to the naked eye, would go completely unaccounted for using this model. If we have a more diversified area of land we’re looking at, one comprised of multiple varieties/species of crops, this doesn’t pose much of a problem. If we see a consistent deficiency in one area, we can make the fair assumption its occurring in neighboring areas. However, if we’re looking at 5,000 acres of lemon trees (fruit, specifically citrus plants have the chance of being non-visual), we’re kinda screwed (for now).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*rbZeoLW5qv5LhkJVQ3elYA.png" /><figcaption>Is this lemon nutrient deficient?? (no, but it could be!)</figcaption></figure><p>As also touched on earlier, implementing this system into areas most prone to slow detection in the first place requires some sort of existing infrastructure, or a multi-pronged solution that comes alongside devices like drones or satellites to collect consistent image data — kind of a long-shot for a “one and done” solution.</p><p>That said, the introduction of this solution offers the potential for development in a field that isn’t getting the attention it deserves. As time, money, and resources return less then they ever have for farmers across the globe, an issue of such magnitude needs to be tacked, now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47071aae70b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Future of Congenital Heart Disease]]></title>
            <link>https://medium.com/@laasyachevendra/the-future-of-congenital-heart-disease-80fa99afa25d?source=rss-366c8cf32fb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/80fa99afa25d</guid>
            <category><![CDATA[heart-disease]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[health]]></category>
            <dc:creator><![CDATA[Laasya Chevendra]]></dc:creator>
            <pubDate>Sun, 06 Aug 2023 17:46:09 GMT</pubDate>
            <atom:updated>2023-08-06T17:50:27.707Z</atom:updated>
            <content:encoded><![CDATA[<h4>Emerging technology in the treatment of CHDs</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*JbicQepuNliEV5jY.jpg" /></figure><p>If you haven’t read our first article, go do that first. However, if re-navigating doesn’t sound ideal — let me recap you.</p><p><strong>Congenital heart diseases</strong>, cardiac disorders that form prior to or at birth, effect over 40,000 infants annually across the United States. They can range from craters that disrupt imperative parts of our circulation to narrowed blood vessels, but regardless, they have the potential to bear devastating effects on those diagnosed.</p><p>Unfortunately, though, the <em>congenital </em>nature of congenital heart diseases (CHDs) can make them particularly difficult to treat. Ideally, we work towards taking preventative measures, but when this simply isn’t an option, experts are forced to become much more innovative with their methods.</p><h4>More context — the problem with conventional Treatment</h4><p>While we discussed it briefly, it’s important to understand why investing in more innovative forms of treatment are necessary, even with the dozens of breakthroughs already happening within cardiac health fields.</p><p>CHDs most often form during pregnancy for mothers, even though they can cover any range of cardiac disorders — two facts that highlight one of our most notable problems.</p><p>Because they can cover such a wide range of defects within the cardiovascular system, identifying CHDs in developing fetuses, ones that usually don’t show any symptoms, becomes tough. Even after birth, when symptoms do begin to present themselves, advanced diagnostic tools like echocardiography, cardiac MRI, and catheterization are required to identify where this specific set of symptoms come from.</p><p>The most urgent of these issues, though, is the time crunch that ensues as soon as a CHD baby is born. In order for the aforementioned difficult diagnosis to be considered “on time”, it has to be decided upon just <strong>3 days </strong>within the birthday of a child in order to absolve possibly fatal complications that often accompany more severe cases.</p><p>Advancements to address these concerns, both in terms of diagnosis and treatment, happen to be on this rise, though.</p><h4>Diagnosis: Fetal Echocardiography with 4D Imaging</h4><p>Recent advances in fetal echocardiography are pioneering early diagnosis, in CHDs. To start, <strong>2D</strong> Fetal Echocardiography is actually a relatively standard process in any high risk pregnancies, as any sort of high risk conception is at greater risk of developing a CHD. It works by simply taking a regular ultrasound of a fetus to gauge its cardiac structure, and can be use as a very preliminary gauge of any malformations.</p><p>However, its 4D counterpart are where things get notably more efficient (and cool).</p><p>When a regular ultrasound is taken, we essentially only get a “snapshot” of the fetus’ heart, which only recognizes little beyond its location and orientation. In order to see what is essentially a model of the heart and how it works, we use what is called <strong>sweeping volume acquisition. </strong>An ultrasound transducer is used to perform a “sweeping” motion across the fetal heart, acquiring multiple 2D images at different angles in rapid succession, capturing these images in a data set. These images, instead of capturing a static moment in time (better for 3D imaging), also capture <strong>temporal</strong> changes, or changes in the fetal heart over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JdTMFfA-pgwgRnIcmNsSGA.jpeg" /><figcaption>Still image from 4D fetal rendering, each acronym representing integral parts in the heart (i.e. LV = left ventricle)</figcaption></figure><p>The introduction of this new dimension allows for the final rendered product to include 4D imaging, or essentially a video of the heart’s function, allowing professionals to closely monitor the movement and function of every facet of the fetus’ heart. Providing an interactive analysis of each vessel arrangement, chamber, and their interaction, 4D Echocardiography now puts <em>early</em> heart analyses in the palm of our hands.</p><h4>Treatment: Stem Cell Therapy</h4><p>While stem cells have become a buzz word in the med-tech community for years now, their potential is still relatively untouched, but has seemingly so much to give.</p><p>If you’re not familiar, stem cells are like shapeshifters, and have the ability to to differentiate into various cell types. They can be derived from different sources, most often embryonic stem cells, and literally have the potential to <strong>replace</strong> damaged or malfunctioning cardiac cells. Embryonic stem cells, specifically, are able to do so by developing into 3 <strong>primary germ layers</strong> that eventually translate into (parts of) organs:</p><ul><li>Endoderm (develops into organs like lungs and gut)</li><li>Mesoderm (develops into tissues like muscles and bone)</li><li>Ectoderm (develops into the nervous system and skin)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Z4rjXX3pO5r0Ku8Y.png" /></figure><p>When subject to the right conditions, they have to potential to develop into heart muscle cells (<strong>cardiomyocytes</strong>), and from there can be used as literal patchwork in a variety of CHDs. Once harvested, the stem cells are isolated and cultured in the laboratory to increase their numbers and promote their growth. Afterwards, they are “directed” to grow into cardiac cell types through a variety of growth factors, and are eventually delivered into the affected area to promote repair and regeneration.</p><p>Stem cells have been the subject of dozens of successful clinical trials and experiments for some time now, but it’s worth noting that they are yet to be used in CHD treatment specifically. That said, they have emerged as a strong potential form of treatment after seeing success in other cardiovascular disease, so I’d recommend keeping on the lookout if this sounds interesting!</p><h4>A Developing Future</h4><p>Diagnosing and treating CHDs are integral to ultimately bringing down that figure of 40,000. With hundreds of institutions around the globe developing, testing, and approving the potential “next big thing”, staying informed of everything on the rise can be imperative to treating the next CHD patient. Check out more of our content at Healing Heartbeats to make sure you don’t miss out on those next big steps :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80fa99afa25d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond the Beat: Exploring Congenital Heart Diseases]]></title>
            <link>https://medium.com/@laasyachevendra/beyond-the-beat-exploring-congenital-heart-diseases-2e96b30f900?source=rss-366c8cf32fb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e96b30f900</guid>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[health]]></category>
            <category><![CDATA[heart-disease]]></category>
            <category><![CDATA[awareness]]></category>
            <category><![CDATA[congenital-heart-defects]]></category>
            <dc:creator><![CDATA[Laasya Chevendra]]></dc:creator>
            <pubDate>Sun, 06 Aug 2023 17:45:34 GMT</pubDate>
            <atom:updated>2023-08-06T17:55:15.809Z</atom:updated>
            <content:encoded><![CDATA[<h4>A problem that plagues thousands</h4><p>The acronym “CHD” likely doesn’t ring a bell for you (pat yourself on the back if it does). While somewhat unassuming, congenital heart diseases, or CHDs, strike a chord with the over 40,000 new families affected by them annually.</p><p>That’s about 110 infants, <em>at the lowest</em>, every day.</p><p>Despite the incredible advances being made towards CHDs, staying aware and informed of these often devastating diseases is imperative.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UHBkFxtfQzlUX4SbTU4mzA.jpeg" /></figure><h4>Defining CHDs Is Pretty Vague</h4><p>If you didn’t pick it up earlier, CHDs are exclusive to infants, the term “congenital” simply referring to being present from birth. That does mean, however, that the term is very general, simply referring to malformalities/malfunctions in the heart at birth. In order to get a more technical understanding of them, let’s take a deep dive into the most prevalent kinds:</p><h4><strong>Ventricular Septal Defect</strong></h4><p><strong>VSD</strong>, for short, refers<strong> the formation of a hole in the heart’s ventricular septum, or the the wall that separates the two bottom chambers of the heart</strong>. Since these chambers are made to regulate the flow of oxygen rich (“good” blood) and oxygen poor (“bad blood”), this hole causes the two to mix, and the heart to work overtime, or increase the <strong>cardiac workload</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/0*DxPmFvVmjBWcvngb.jpg" /></figure><p>Despite being the most commonly occurring CHD, VSDs can vary greatly in size and therefore severity, so treatment options are not often very linear. For some patients, although admittedly not many, the hole closes as the infant grows into their childhood, and doesn’t require further intervention. More often than not, though, a surgical procedure is underwent to manually “patch” the hole. Luckily this process has become significantly easier over the last few years, with many opting for catheter based, non-invasive, approaches that simply involve a device placing the “patch” for you.</p><h4><strong>Coarctation of the Aorta</strong></h4><p><em>No cool acronym for this one —</em>the coarctation of the aorta is <strong>a condition where the aorta, the main carrier of oxygen rich blood to the body, becomes narrowed</strong>. This severely constricts blood flow to the lower part of the body, specifically, and is another large contributor to increased cardiac workload by means of increasing blood pressure, and could cause a multitude of other subsidiary conditions.</p><p>Less common than a VSD, coarctation of the aorta is also notably harder to treat, and doesn’t really have a “one and done” approach.</p><p>With the goal being to expand the aorta, an angioplasty is performed, which literally translates to “blood vessel reshaping”, or the insertion of an object into the blood vessel to create expansion. Multiple mediums have become available to conduct this procedure, including balloons (yes, real [notably medical grade] balloons), stents, and expandable mesh tubes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*5T2wfsR5PfTF0vOq.jpg" /><figcaption>Two size variations of the stents that are placed post-angioplasty</figcaption></figure><p>However, since all these alternatives involve the insertion of a foreign object into the body, routine check ups are often accompany patients even after they receive treatment. That said, stents specifically have incredible success rates, and are made as long term solutions that generally don’t require much maintenance.</p><h4>What This Means</h4><p>It may be fruitless to continue listing every CHD in the books, but the point to take from this is that they can look very different, <strong>but</strong>, there’s still some signs and action items to make prospective parents aware of.</p><p>If not diagnosed prior to birth, via ultrasound, there are a few symptoms to look out for, including rapid heartbeat/breathing, swelling around the legs, tummy, or eyes, extreme fatigue, and more. <em>Please note that these symptoms are not exclusive to CHDs</em>, but are one’s that warrant medical attention regardless for further investigation. However, if congenital heart diseases are part of your familial history, these symptoms might be a tell tale sign of their inheritance.</p><p>In general, though, preventative measures such as avoiding alcohol, smoking, and other substances of that nature lower your need to be weary in the first place.</p><h4>Living With a Congenital Heart Disease Now, and Looking Ahead</h4><p>Hopefully I’ve made it clear that CHDs are neither sunshine nor rainbows, however, that does imply whatsoever that those affected and their families can’t go on to live fruitful lives.</p><p>Patients with cases that are considered “non-critical”, meaning that long term treatment options are available, go on to live well above 18 years of age — a remarkable feat when we glimpse into the rather bleak life expectancy of congenital diseases. While this life may include minor interventions to dozens of periodic surgeries (once again very dependent on the severity of one’s CHD), research has shown that in tandem with the appropriate medical management, emotional support, and access to necessary resources, a CHD prognosis can still mean a fulfilling life for many.</p><p><em>But, what if that could be even better?</em></p><p>Institutions all around the world have been fighting to improve this measure of happiness even more, and they certainly have not been disappointing. By use of advanced hybrid procedures, 3D modelling of the heart, and emerging gene therapy, the space for CHD treatment has been rapidly evolving.</p><p>If I caught the attention of my tech nerds, we will be going much more in depth about the breakthroughs in CHD prevention and treatment via emerging tech in our next article. So… see you then!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e96b30f900" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using CGM Data to aid the ED Recovery Process (feat. Raspberry Pi 4)]]></title>
            <link>https://medium.com/@laasyachevendra/using-cgm-data-to-aid-the-ed-recovery-process-feat-raspberry-pi-4-549905827ba7?source=rss-366c8cf32fb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/549905827ba7</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[eating-disorders]]></category>
            <category><![CDATA[recovery]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Laasya Chevendra]]></dc:creator>
            <pubDate>Thu, 09 Feb 2023 03:42:12 GMT</pubDate>
            <atom:updated>2023-02-22T05:54:06.548Z</atom:updated>
            <content:encoded><![CDATA[<h4>No, I’m not done</h4><p><em>p.s. I created a video recapping the big points of this article, check it out below!</em></p><p>Eating disorders kinda really suck. Bold statement, I know. The (often) years accompanied by utter mental and physical anguish aren’t great when you think of the fact that up to 1 in 12 experience something along the likes of an eating disorder.</p><p>What sucks even more? Recovery rates (they suck!). Despite looking at solutions from rigorous in-patient programs to the metaverse, <strong>only 21% </strong>of those diagnosed will ever make a full recovery, with up to half of those treated relapsing into old behaviors just <strong>6 months after beginning treatment.</strong></p><p>With the annual death toll standing at about <strong>10,200 ,</strong> the search for an effective, affordable, and adaptive form of treatment still prevails. Here’s my very preliminary attempt at addressing this problem.</p><h4>Continuous Glucose Monitors (CGMs)</h4><p>For those who haven’t read the title — go do that.</p><p>For those who have, CGMs refer to <strong>continuous glucose monitors</strong>, devices originally developed for diabetics to monitor their dangerously quick fluctuations in blood sugar (used synonymously with glucose).</p><p>Earlier forms of the device provided users a reading essentially whenever they wanted. The only condition? You had to give yourself a little prick. In that sense, CGM’s were not entirely continuous, as they required constant attention from those who needed their data more than periodically (those who who wanted to understand their glucose levels had to check them manually through said prick).</p><p>Luckily, we’ve moved past that point by use of <strong>microneedles</strong>. Instead of resembling your pink Nokia flip phone circa 2007, CGM’s have evolved into seamless, coin sized patches clad with almost microscopic hydrogel needles. These needles <em>constantly</em> extract <strong>interstitial fluid</strong>, a product of your capillaries, to gauge glucose levels. The big difference between blood and interstitial fluid is that IF lays MUCH closer to the surface of your skin than blood. Therefore, the process of glucose data extraction is nearly silent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a7ZXzKup0Y7f2bSIVnaA9Q.jpeg" /><figcaption>The Freestyle Libre 3 — one of the most advanced faces in CGMs</figcaption></figure><p>This is <strong>revolutionary</strong>. In a seamless, automatic process, devices as such are able to record glucose levels in the body <strong>every 15 minutes. </strong>As far as CGM’s go, all the boxes have been checked:</p><ul><li>Non invasive — the process of extracting interstitial fluid is extremely simply due to its proximity to the epidermis, the surface level of our skin in which the CGM lies</li><li>Continuous — in newer versions like the Freestyle Libre pictures above, data is automatically available to your disposal via a mobile app, and it updates every 15 minutes</li><li>Affordable — only requiring replacement every 14 days, the monthly cost of devices as such range between $10–75 monthly</li></ul><h4>The Relevance of Glucose</h4><p>Ok, so a lotta conversation around CGMs, not as much around glucose itself.</p><p>The reason for monitoring glucose is because it can be very telling of your eating habits <strong>in real time</strong>, which can be heavily utilized in the context of biotracking eating disorders.</p><p>This real time precision relies on the following process (TL;DR moment):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KmlnRdG0zeMPJRtkhfHbSQ.png" /><figcaption>Visual of the glucose absorption process</figcaption></figure><blockquote>You eat (very much the best part)</blockquote><blockquote>Enzymes (alpha amylase enzymes, in case you’d be curious) break down the starch into simple sugars (like GLUCOSE)</blockquote><blockquote>Starch arrives in channel of the intestines, lumen, and is transported to an intermediary cell (referred to as the enterocyte) between the bloodstream and the lumen through a sodium glucose linked transporter (SGLT)</blockquote><blockquote>Glucose is absorbed into the bloodstream through GLUT2 transporters on the other end of the enterocyte</blockquote><blockquote>Blood sugar goes up!</blockquote><p>This process essentially means that glucose levels start to rise to their respective levels <strong>just 10–15 minutes after a meal</strong> and fall at a proportional rate, meaning that we can learn who is eating when and how much in real time, a gold mine when we talk about mediating EDs.</p><p>That said, it isn’t as simple as saying <em>x </em>blood glucose level means <em>y </em>and <em>z </em>about people in recovery. Heritage, family history, previous history of illness, duration of an eating disorder and more are variables that cause variance in one’s “normal” glucose level.</p><p>As a result, we look towards <strong>trends </strong>in glucose levels instead. In patients with Bulimia, for example, distinct “rise-and-fall” patterns have been identified in their glucose levels due to their repeating patterns of starvation, binge, and purge. Therefore, measuring patterns in glucose relative to some sort of base value can be applied to identifying the nature and progression of a variety of ED’s.</p><h4>Putting Things Together</h4><p>Knowing that patterns in glucose levels are essentially a treasure trove — I wanted to connect this back to my root idea, using this information to provide a simple, affordable, and accessible means of monitoring ED recovery.</p><p>To do this, we need an intermediary of sorts, one that can serve as the processor and interpreter of this data to actual patients, and my weapon of choice was a <strong>Raspberry Pi 4</strong> (more on that below). Using the Pi, we can create a linear system between the CGM (the collector of data), the Raspberry Pi (the processor of data), and the smartphone (the destination).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tVODGlTFMC8hpkiXsSoyaQ.png" /><figcaption>High level diagram explaining the anatomy of this process</figcaption></figure><p>Users would keep track of their recovery through this system to make deeper associations between certain habits and their ultimate results. Note, however, that a system as such would be used <strong>in tandem with traditional cognitive behavioral therapy, the current leader in eating disorder recovery initiatives</strong>. The hope is that using this system would allow for severely less reliance on such services, which is where the affordability and effectiveness come into play.</p><h4>The Raspberry Pi</h4><p>If your dad didn’t play Netflix on a Raspberry Pi for you at the ripe age of 12, you’re probably a little confused.</p><p><em>The Raspberry Pi is simply a computer — something that can be programmed to carry out sequences of arithmetic or logical operations.</em></p><p>The traditional idea of a computer is associated with its interface, or where all the work programmed into a computer is outputted. As a result, it may help to think of it as “everything but the interface”, it holds essentially a less powerful version of all the components that make a computer, which allow for its use in small-scale projects. To better understand how it carries out some of its basic functionalities, here’s a little anatomy lesson on the Raspberry Pi 4:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LNE6bOCpVlflQVyOG915AA.png" /><figcaption>Key parts of a Raspberry Pi 4</figcaption></figure><ul><li><strong>CPU: </strong>Carries out instructions from the computer, forming input/output operations, basic arithmetic, logic, and other instructions dictated by a program.</li><li><strong>RAM: </strong>Stores short-term data so the processors can use it to its disposal. Long-term data, stored on a hard drive, is sustained even when the computer is off, and is not to be confused with the former.</li><li><strong>Input/output ports: </strong>USB ports used to connect external devices such as a keyboard, mouse, and monitor. Once these three are in place, the Raspberry Pi greatly resembles the traditional idea of a computer.</li><li><strong>Input/output pins: </strong>Allow for connectivity by use of electronic circuits (often these are LEDs, drive motors, etc.)</li><li><strong>Ethernet port: </strong>Provides connectivity to an Ethernet network (not necessary if WiFi is being used)</li><li><strong>Micro SD Card: </strong>Contains<strong> </strong>the operating system, a “boot” or bare minimum program needed to get the computer going. The Raspberry Pi 4 uses the Raspbian OS.</li></ul><h4>Getting Started</h4><p>The goal was to program my Raspberry Pi with the according instructions based on my input of the CGM data. To do this, we needed to bring this computer to life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-P5pKrLUcJywQS2hmtWaAg.png" /><figcaption><a href="https://www.raspberrypi.com/software/">https://www.raspberrypi.com/software/</a> , allows for the download of the Raspbian OS onto the Micro SD Card based on your desired monitor</figcaption></figure><p>First, we need to load the <strong>Raspbian OS </strong>onto the Raspberry Pi using the Micro SD Card. Mentioned above, the OS serves as the skeleton program for the computer to run it’s most basic functionalities (every computer has it, think Mac OS or Microsoft Windows). Simply inserting the SD card into your computer’s chip reader and navigating to the <a href="https://www.raspberrypi.com/software/">Raspberry Pi OS download</a> should get the job done.</p><p>Now, we make it more computer like. To access all the functionalities of the Raspberry Pi, we need to establish connection to a monitor, keyboard, and mouse using the inbuilt HDMI and USB ports (can also be done via Bluetooth). After the fact, you’re faced with a pretty familiar looking set up, where you can begin programming.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kx9HEH8FHKd5RS297sZ-SA.png" /><figcaption>Raspberry Pi 4 interface</figcaption></figure><p>My IDE, or “application” of choice, was Thonny. While there aren’t many IDEs to begin with, Thonny served me well due to its beginner compatibility. It provides a vanilla, blank slate for you to work on as you begin programming in which most features are pretty intuitive for a freshly baked Python programmer like myself.</p><h4>The Code</h4><p>The goal behind this program is to extract data from an existing glucose monitor, and based on a weekly average glucose levels, send according SMS notifications to the user.</p><ol><li><strong>Converting the data into a list</strong>: In order to sufficiently handle the data throughout the program, referring to elements of the data as indices on a list is super useful.</li></ol><pre># opens file, reads data, converts data into list<br>my_file = open(&quot;earlyCgmData.txt&quot;, &quot;r&quot;)<br>data = my_file.read()<br>data = data.split()<br>my_file.close()<br><br># takes only the last 7 values of the list<br>rawDataList = data[len(data) - 7: len(data)]</pre><p>“earlyCgmData.txt” refers to the file containing the glucose data, and it is brought into the program using the open() function. The variable data represent the data once it has been interpreted using the .read() function. Its value is then reassigned once it has been split into each individual element (number) of the dataset using the .split() function.</p><p>Instead of putting every single figure into the list, since it updates every day based on the average glucose level of that day, variable rawDataListonly contains the last 7 elements of file, as the len() function refers to the length of the original dataset.</p><pre># empty list-- will store filtered/integer version of the data<br>dataList = []<br><br># converts list data from strings to integers<br>for i in range(len(rawDataList)):<br>  rawDataList[i] = int(rawDataList[i])<br>  dataList.append(rawDataList[i])</pre><p>Since this data is imported from elsewhere, the computer interprets all the values as strings. As a result, we loop through each element of the list, turning them into integers, and storing them in the new variable dataList.</p><p>2. <strong>Importing Twilio: </strong>The user interactive part of this program relies on SMS messages being sent from the Pi to the one’s phone. To do this, we use the handy dandy Twilio, a service that allows for easy access to program any sorts of communication APIs.</p><pre># import Twilio library to send SMS&#39;s<br>import os<br>from twilio.rest import Client<br>account_sid = &quot;xxxxxxxxxxxxxxxxxxxxxxxxxxx&quot; #unique to user, found on Twilio account<br>auth_token = &quot;xxxxxxxxxxxxxxxxxxxxxxxxxxx&quot; #unique to user, found on Twilio account<br>client = Client(account_sid, auth_token)</pre><p>This part of the program was written verbatim from Twilio, as they instantly provide a “copy-paste” segment of code you can use after inputting your info. Here, we’re importing the Twilio OS and “client”, a class by Twilio that allows for user interaction with it’s API.</p><p>In order to get a similar segment of code, one that includes your use case and information, simply create an account on <a href="https://www.twilio.com/try-twilio">https://www.twilio.com/try-twilio</a> . Doing so will also provide a Twilio created phone number from which the SMS’s will come from.</p><p>3. <strong>Computing the weekly average: </strong>Now, we compute the average of a given week’s data using two inbuilt functions, sum() and len() . The values of the two are divided and assigned the value “finalAverage”. This entire process is encapsulated under the function “weeklyAverage”.</p><pre># computes the average of each week<br>def weeklyAverage():<br>  finalAverage = sum(dataList)/len(dataList)<br>  return finalAverage</pre><p>4. <strong>Creating the SMS messages: </strong>Similar to the import from earlier, this segment of code is also credited to Twilio, which creates this code segment based on the inputted information. Below, one of three outcome messages is displayed, therefore being assigned the variable messageOne. These messages and their relevance will be dictated in the next segment.</p><pre># creation of message 1, one of 3 outcome messages<br>messageOne = client.messages.create(<br>  body=&quot;Progress has been slipping, let&#39;s climb back up that mountain!&quot;,<br>  from_=&quot;xxxxxxxxx&quot;, #phone number, created by Twilio after account creation<br>  to=&quot;xxxxxxxxx&quot;) #phone number, desired destination of the notification<br>    print(messageOne.sid)</pre><p>5. <strong>The conditional: </strong>The following conditional statement dictates what message will be sent to the user based on their glucose levels, and is put into a loop. While the loop isn’t technically needed (since it’s only looping once, more on that later), it will serve well in case we choose to evaluate multiple weeks at the same time.</p><pre># amount of loop iterations == number of weeks (1)<br>loopLength = len(dataList) % 7<br><br>for i in range(int(loopLength)):<br>  myAverage = weeklyAverage()<br><br># if glucose levels are just below what&#39;s considered hypoglycemic<br>  if myAverage &lt; 75:<br>    print(&quot;Progress has been slipping, let&#39;s climb back up that mountain!&quot;)<br>     <br>    messageOne = client.messages.create(<br>   body=&quot;Progress has been slipping, let&#39;s climb back up that mountain!&quot;,<br>   from_=&quot;xxxxxxxxx&quot;,<br>   to=&quot;xxxxxxxxx&quot;)<br>    print(messageOne.sid)<br><br># if glucose levels have been fairly enough sustained above the bare minimum<br>  elif myAverage &lt; 85:<br>    print(&quot;Making great progress, keep going!&quot;)<br>     <br>    messageTwo = client.messages.create(<br>   body=&quot;Making great progress, keep going!&quot;,<br>   from_=&quot;xxxxxxxxx&quot;,<br>   to=&quot;xxxxxxxxx&quot;)<br>    print(messageTwo.sid)<br><br># if glucose levels exceed the two denoted above<br>  else:<br>    print(&quot;Road to perfection&quot;)<br>     <br>    messageThree = client.messages.create(<br>   body=&quot;Road to success!&quot;,<br>   from_=&quot;xxxxxxxxx&quot;,<br>   to=&quot;xxxxxxxxx&quot;)<br>    print(messageThree.sid)</pre><p>The variable “loopLength” denotes the amount of times the “for loop” will actually loop, and is set to the number of weeks present in the data (we tailored our list to only take the last 7 values of a list, so this value will never be anything but 1).</p><p>After calling the weeklyAverage() function, which will give us the most recent average, one of three message notifications will be sent. If glucose levels are dangerously hovering around those with hypoglycemia, something common in anorexics, the user is notified that their progress has been slipping. If glucose hovers around a more reasonable figure, within a 15 mg/dL range of those with hypoglycemia, the users efforts are recognized and encouraged. Finally, if the user exceeds both these conditions, the user has reached near healthy levels of glucose, indicating that recovery is going quite well for them</p><p>Running this program should (hopefully) result in an influx of SMS encouragement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*3iBRS5p5v50-lYUg6GKOeA.jpeg" /><figcaption>Programming the program shenanigans</figcaption></figure><h4>Up Next</h4><p>At a high-level, this program works. As a beginner programmer, the idea was to establish a really well constructed skeleton, with which I can improve on.</p><p>However, there are a couple major<strong> </strong>additions which you’ll be seeing soon:</p><ol><li><strong>Pattern recognition</strong>: Like mentioned earlier, the basis of this idea is surrounded upon <strong>trends in glucose levels</strong>, as they are the true tellers of this tale according to dozens of eating disorder therapists, researchers, and more. As a result, a MAJORLY necessary upgrade would include the integration of some sort of pattern recognizing algorithm that works off of a given base value measured prior to consistent use.</li><li><strong>Increased connectivity: </strong>A big pitfall when working on this was establishing neat connectivity between the CGM and the Raspberry Pi. Despite the two holding bluetooth connectivity, it appeared that the two devices “weren’t compatible”, resulting in the data being collected by an intermediary device prior to being sent to the Raspberry Pi. When touching on the seamless nature of such project, establishing clean connectivity between the devices is key.</li></ol><p>Beyond those, I ultimately want to make something that’s compatible with users around the world, which would involve further ideating a “real-world” framework. Since that goes a little beyond the scope of this article, expect to see more on that later. Until then, I hope this got the hamster wheels in your head a’turning :)</p><p><em>I hope this article provided you with some valuable insights! If you would like to digest the given info in a more visual format, </em><a href="https://www.youtube.com/watch?v=iBA-y2bXPlM"><em>check out my video</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=549905827ba7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microneedles Revolutionizing Eating Disorder Recovery]]></title>
            <link>https://medium.com/@laasyachevendra/microneedles-revolutionizing-eating-disorder-recovery-5837c224d0a9?source=rss-366c8cf32fb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/5837c224d0a9</guid>
            <category><![CDATA[eating-disorders]]></category>
            <category><![CDATA[personalized-medicine]]></category>
            <category><![CDATA[medicine]]></category>
            <category><![CDATA[mental-health-awareness]]></category>
            <dc:creator><![CDATA[Laasya Chevendra]]></dc:creator>
            <pubDate>Tue, 03 Jan 2023 03:41:29 GMT</pubDate>
            <atom:updated>2023-01-03T03:41:29.956Z</atom:updated>
            <content:encoded><![CDATA[<h4>A problem that plagues millions</h4><p>Not to scare you, but:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1XBOMJLCXkQtkJ0XGczasA.jpeg" /></figure><ul><li><strong>Over 70 million</strong> people worldwide struggle with an eating disorder and/or disordered eating</li><li>Anorexia is the <strong>3rd</strong> most common illness in adolescents</li><li><strong>20%</strong> of people suffering with anorexia will prematurely die from complications of their disorder</li><li>Over half of women surveyed in a study say they <strong>would rather be run over by a truck</strong> than be considered “fat”</li></ul><p>Yet? <strong>Only 21% of diagnosed patients are able to make a full recovery</strong>. Especially since the start of the pandemic, eating disorders have been on the rise, but have gone widely unaddressed beyond traditional methods of treatment. To understand the extent of this problem at large, we have to look at a few things, the first of which being:</p><h4>What is an Eating Disorder?</h4><p>The title is pretty suggestive. Eating disorders (EDs) are characterized by <em>any persistent disturbances in eating and associated distressing thoughts and emotions</em>. They present themselves in a variety of ways, a reason many go unnoticed, but some of the most common ones include:</p><ul><li><strong>Anorexia nervosa:</strong> Characterized by constant monitoring of weight, avoidance of certain foods, severely restricted calorie intake. Characterized into 2 subtypes: the restrictive type, which involves weight loss solely through dieting, fasting, or excessive exercise, and the purge type, which involves eating large amounts of food (binging), followed by purging (engaging in activities like vomiting, taking laxatives or diuretics, or exercising excessively).</li><li><strong>Bulimia nervosa: </strong>Characterized by binging on foods one would typically avoid, followed by purging (vomiting, fasting, laxatives, diuretics, enemas, and excessive exercise) to compensate for the often excessive calorie intake. Differentiates itself from purging type of anorexia nervosa and binge eating disorder because individuals affected often maintain a relatively typical weight.</li><li><strong>Binge eating disorder: </strong>Characterized by eating large amounts of food, rapidly and often in secret, until uncomfortably full. Often associated with feelings of guilt, distress, and lack of control. The most common eating disorder worldwide.</li></ul><h4>Barriers in Treatment</h4><p>Despite genetic and biological contributions, many of the risk factors and ultimate causes of eating disorders are attributed to environmental factors (diet culture, the media, trauma, comments about body image). They often take extreme mental tolls on those eventually diagnosed, hence eating disorders’ associations with body dysmorphia, depression, and anxiety.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*qhV3SyEF4jMEhUiN1dHzOQ.jpeg" /></figure><p>This fact makes diagnosing and treating EDs an <em>extremely </em>sensitive process. Persistent interaction with personnel, most often a variety of psychotherapists, dietitians, and the amount of vulnerability required is not desirable for most struggling, part of the reason why up to <strong>80% fail to become so little as diagnosed</strong>.</p><p>Additionally, cost is a prevalent concern when addressing treatment for many. While the price of both in and outpatient treatment is often contingent, and very lenient from person to person, the average cost of residential in-person treatment (for just one month) can cost up to $30,000 USD, <strong>more than the ANNUAL poverty threshold for a family of five.</strong></p><p>Even when we deviate from more traditional treatment, very few methods of self-help or experimental treatments have received enough credibility to make their mark on the staggering numbers mentioned earlier. <strong>We are yet to find a feasible, effective, and long-term “cure-all” for eating disorders.</strong></p><h4>EDs at a Molecular Level</h4><p>When in doubt? Blood.</p><p>When understanding how to treat EDs, it’s important to look at how they can be identified beyond their physical manifestations or general symptoms. Trends within certain analytes (chemical substances present) in one’s blood serve as a good measure of this.</p><p>For example, let’s take a look at glucose. Between meals, glucose is metabolized and eventually synthesized by your liver, where it gets absorbed into your bloodstream (explained further below). As a result, it is an extremely good indicator of nutritional health in terms of the <strong>consistency</strong> and <strong>volume</strong> of your meals, two things that generally characterize types of EDs.</p><p>Consequently, in patients with anorexia, practices of food restriction and excessive exercise lead to extreme and depletions of glycogen (stored, essentially grouped together glucose), something very <strong>distinct</strong> when blood tested.</p><p>BOOM! This means other EDs characterized by similar habits can be almost directly monitored by observance of glucose levels on a continuous basis, similar to how glucose is monitored in diabetics.</p><p>The association between patterns in analyte levels and certain eating behaviors can also be applied to other disorders once we know essentially what patterns to look for when.</p><h4>Glucose — more in depth</h4><p>To understand the glucose pattern mentioned above, let’s talk through the actual relationship between eating your grandma’s casserole and the subsequent levels of glucose and insulin in your blood.</p><p>As you chow down on grandma’s masterpiece, the enzyme alpha amylase, present in both your saliva and your small intestines, breaks down the starch present into more simple sugars (like glucose). Now, this broken down starch lies in the lumen, or channel, of the intestines along with sodium ions. Here, it faces enterocytes (the “inner cells” of the small intestines), which are the barriers that holds it from absorbing into the bloodstream.</p><p>How does it tackle such a fortress, you ask?</p><p>On the surface of each enterocyte lays a sodium glucose linked transporter (SGLT), and it functions as a transporter of glucose from the lumen into the enterocyte so long as each glucose molecule “travels” in with two sodium ions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KmlnRdG0zeMPJRtkhfHbSQ.png" /><figcaption>Graphic illustrating glucose transport into the blood vessel</figcaption></figure><p>Once glucose is within the cell, it is automatically absorbed into the bloodstream through the GLUT2 glucose transporters found on the basal surface of the enterocyte.</p><p><strong>AKA every time you eat, blood glucose levels increase.</strong></p><p>As a result, in purging disorders (bulimia, binge eating disorder, purge type anorexia nervosa), the first binging phase causes a fairly standard elevation in glucose and insulin. The subsequent purging phase that follows (expectedly) bodes dramatic drops in both insulin and glucose, causing a <strong>distinct rise-and-fall pattern</strong> to form.</p><h4>Calcium in Eating Disorders</h4><p>Another strong identifier of disordered eating (kudos to the blood once more!) is calcium, usually in the form of <strong>hypocalcemia</strong> (a lack of calcium, calcium deficiency).</p><p>Like most essential nutrients and minerals, calcium is obtained (mainly) orally, through consumption of calcium rich and/or calcium fortified foods (this is a reminder to drink your daily cup of milk).</p><p>Similar to how glucose is absorbed, once calcium reaches the lumen of the small intestine, it is faced with the same intestinal enterocytes which it must bypass to be absorbed into the bloodstream. It enters the enterocyte this time through a calcium transporter, and from there binds to a protein called Calbindin-D, which transports it to the other end of the enterocyte. Here, it meets with the bloodstream via an ATP dependent calcium pump.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*kKiNZQbOUgyejpmTTe5fRg.png" /><figcaption>Graphic illustrating calcium absorption into the blood vessel</figcaption></figure><p>Additionally, this process is also fairly reliant on <strong>vitamin D</strong>. “Active” vitamin D, calcitriol, binds to the protein Vitamin D Receptor (VDR) in the enterocyte, and from there enters the nucleus and activates a genetic program. This genetic program is key in calcium absorption, as it increases the expression of calcium transporters aka HUGELY promoting this process.</p><p>People with restrictive type disorders inherently lose much of their nutrient intake, as the volume of things consumed at all are low. When both calcium and vitamin D are vital to the maintenance of calcium in the blood, restrictive type diagnosees are <strong>often severely hypocalcemic</strong>, for consistent and long reigning amounts of time.</p><h4>Ok, and?</h4><p>Ok, so we know that <em>eating behaviors can be identified, in real time, by means of monitoring analytes like glucose and calcium</em>. Why is this important?</p><p>Many disorders, most notably diabetes, are reliant on similar methods of continuously observing analytes in the blood. The problem is that there’s a huge disparity in <strong>Durable Medical Equipment (DME)</strong> that&#39;s accessible for the millions struggling in silence <em>(accessible = affordable, effective, and non-invasive).</em></p><p>That is unless we use <strong>biosensing microneedles</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8IBhNoulkXmliIXPOE8d0g.jpeg" /><figcaption>Porous microneedle patch</figcaption></figure><p>Companies like PKvitality have released seamless, painless, and affordable glucose monitors in the form of microneedles placed seamlessly beneath desired hardware. Instead of pricking yourself to test analytes that might indicate poor eating habits, an essentially invisible device does it all for you. How?</p><h4>Biosensing Microneedles — what?</h4><p>Instead of actually testing your blood, they test <strong>interstitial fluid (ISF)</strong>. Think of it like boot-leg blood. This fluid that surrounds your cells is actually a product of you capillaries, therefore holding all the same information we need, but lays MUCH closer to the surface of the skin, meaning these needles only puncture about 1mm into the skin. No more bracing yourself for a deadly prick, the process is both painless and non-invasive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*78R7xvav3oV82r9rUMxFqA.png" /><figcaption>The interstitial fluid (highlighted) lays closer to the surface of the skin than blood vessels.</figcaption></figure><p>There are many interstitial regions throughout the body, AKA areas in which interstitial fluid can be extracted, but biotracking wearables have historically taken interest the dermal and subcutaneous tissue compartments, as this layer of skin that lay right before the dermis. Therefore, this process is referred to as <strong>dermal interstitial fluid testing</strong>.</p><p>Dermal ISF testing can be done by a variety of microneedles, but significant promise within this use case (creating a DME for continuous analyte testing) has been shown in <strong>hydrogel needles</strong>. Fabricated (essentially etched) using an aqueous blend of polymaleic acid and polyethylene glycol, studies have highlighted their ability in accurately gauging levels of glucose and caffeine, and further testing will commence for other analytes, metabolites, and biomarkers.</p><p>To extract dermal ISF, the microneedles are first able to create transient <strong>micropores in the skin</strong>, accounted for by their consistent porous structure. This (notably painless) process greatly increase the permeability of the skin in that area within just a few hours, and allows for larger yields of the ISF (important for yielding accurate results).</p><p>After this process, the needles are angled into the skin in order to avoid puncturing the capillaries but still extract the necessary amount of fluid. From there, it’s pumped into a <strong>sensor chamber</strong> via a microchannel, all of which within the hardware of the needle. This process occurs without the use of much heat or suction due to the porous nature of the individual needles as well, which allow for increased surface area for the fluid to enter through.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/0*h5yHQNHG9bEShwcR" /><figcaption>Hardware of the needle</figcaption></figure><p>Once in the sensor chamber, two things are determined.</p><p>First, the amount of interstitial fluid collected by the needles is measured by gauging the amount of sodium present, as this amount is always constant (139 milliequivalents per liter).</p><p>Second, the amount of the desired analyte present is measured by use of a “complementary” enzyme. Within the chamber, a corresponding enzyme to the arriving substrate (the interstitial fluid) is placed, and the two will react to determine the amount of the analyte present. In measuring glucose levels, for example, the GOx enzyme is placed in the sensor chamber, and reacts to determine the amount of glucose in the ISF.</p><p>The proportion of these two is used to determine blood analyte levels in real time.</p><h4>A solution for millions</h4><p>Microneedles can be generalized into two categories, ones used to extract ISF for immediate subsequent analysis, or ones used to interface the ISF with on device technologies.</p><p>By use of the technology above, <strong>the latter provides one of the first looks into DMEs for people on their journey to ED recovery</strong>, something that (again) only 21% of the diagnosed get the luxury of. If we can keep those recovering up to date on the <em>real time</em> progress they are making with every meal and every bite in the comfort of their home, recovery can become miles closer for millions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5837c224d0a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why “Proof of Work” Doesn’t Work]]></title>
            <link>https://medium.com/@laasyachevendra/why-proof-of-work-doesnt-work-ed8c6aae8f18?source=rss-366c8cf32fb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed8c6aae8f18</guid>
            <dc:creator><![CDATA[Laasya Chevendra]]></dc:creator>
            <pubDate>Sun, 13 Nov 2022 04:53:09 GMT</pubDate>
            <atom:updated>2022-11-13T04:53:09.837Z</atom:updated>
            <content:encoded><![CDATA[<h4>A blockchain crash course and rant</h4><p>Controversial take here– I don’t like things the way they are.</p><p>Ok, maybe not the most controversial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LCD3MJoUtHxIHNQgGa2-6w.jpeg" /></figure><p>Cryptocurrencies have been a topic of great discussion over the last decade. But investor or not, much is unknown about how these cryptocurrencies actually work, and subsequently, how they can be improved. To circumvent this, I welcome you to my end all be all about blockchain, cryptocurrency, and what I <strong>hate </strong>about them (circa <em>10 Things I Hate About You</em>).</p><p>Note: For the sake of continuity, most things discussed are put into the context of Bitcoin.</p><h4>Cryptocurrency???</h4><p>Before I begin complaining, it’s important to establish a basis of what I’m discussing, which brings us to the (maybe) age old question, what is a cryptocurrency?</p><p>No, cryptocurrency is not fancy money for robots. Instead, it is a <strong>digitized, decentralized form of currency.</strong> This means it isn’t managed by any third party, but exists independently on a computer network. No bank or third party involved.</p><p>How?</p><p>Cryptocurrencies do this securely by existing on the <strong>blockchain</strong> — a ledger, or list of transactions. Every transaction on the network is recorded in blocks, and once verified, is added to the larger blockchain.</p><p>This may sound kind of sketchy, given the fact that it occurs on a completely digital network, like mentioned earlier. Understanding how the blockchain actually works generally provides better insight into these concerns, however.</p><h4>“The Big B” — Blockchain</h4><p>The marquee indicator of cryptocurrency is the fact that it exists on the blockchain. As mentioned, the blockchain serves as a public list of any and all transactions occurring on the network. The term “public” just means that everyone owns a copy of this ledger, and updates this personal ledger accordingly when new transactions occur. This means that if I send Molly 20 Bitcoins (and this transaction is verified, more on that later), Bob will make note of this and add it to his ledger.</p><p>This system is commonly referred to as a <strong>peer-to-peer network</strong>. A peer-to-peer network just refers to the idea that anyone contributing to the network has a copy of the blockchain, and only adds to it when transactions have been verified by everyone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*lrpnXrrrX7qcUDOEcE6VsQ.png" /></figure><p>Ok, but, why a list of this fashion in the first place?</p><p>The ledger that is blockchain adopts several “rules” that verifies its accuracy every time it is updated, and makes sure that once something is verified, <em>it can’t be changed. </em>This makes it extremely secure, by avoiding the potential of falsifying transactions or double spending.</p><h4>Encryption via Cryptographic Keys</h4><p>One of these “rules” is that <em>I </em>have to verify my involvement in a transaction, to ensure Molly hasn’t just taken 20 Bitcoins from me instead. To do this, I use Bitcoin’s encrypted keys, provided to me when I create an account on the network (these are stored alongside your money in the wallet).</p><p>When I give Molly my twenty Bitcoins, I sign off on the transaction using my <strong>private key</strong>, a unique set of 256 numbers that changes entirely per transaction.</p><p>It is so unique, in fact, that it would take someone <strong>2²⁵⁶</strong> tries to guess this number. That number is astronomically large, it is gargantuan. So large, in fact, that this dedicated video to it still doesn’t help me wrap my head around it. But yeah, safe to say this 256 bit system is pretty secure.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FS9JGmA5_unY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DS9JGmA5_unY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FS9JGmA5_unY%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ca72a7ef8e51fb7033c5ab16feb81dea/href">https://medium.com/media/ca72a7ef8e51fb7033c5ab16feb81dea/href</a></iframe><p>After I sign my transaction with this surrealistic number, others on the network use my <strong>corresponding public key</strong> to ensure the use of my private key, AKA ensuring my involvement in the transaction.</p><h4>Recording Transactions</h4><p>Ok, so now we know Molly isn’t committing theft, rather that I gave her 20 Bitcoins. Now, we need to tackle how we can add this transaction to the public blockchain, which requires other, external means of verification.</p><p>In a <strong>proof-of-work system</strong> (something I’ll touch and trash on later), verification is done through bitcoin mining. Miners verify transactions on the blockchain in exchange for handsome rewards of Bitcoin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*OFAQ2VW7jQP0mTU0qDu_uQ.jpeg" /><figcaption>Spoiler: Mining is not as cool as how it’s depicted above</figcaption></figure><p>The action of “mining” is actually a lot nerdier than the traditional pickaxe mannerisms. Mining involves solving or essentially guessing the answer to a complex mathematical problem, called a <strong>cryptographic puzzle</strong>. Whenever a miner on the network solves this puzzle– which occurs roughly once every 10 minutes– miners receive bitcoin, and get to add the next block of transactions to the blockchain. The reason these blocks hold legitimacy is because the miners had to <strong>work</strong> to solve the complex math for each block, demonstrating a <strong>proof-of-work</strong>.</p><p>These new blocks securely connect to existing ones by use of the <strong>hash</strong>, with each block containing both its own hash and the hash of the previous block. A hash is kind of like the fingerprint of a block, in that it serves as a unique and distinguishing feature that identifies the type of transaction, when it occurred, and who was involved within it (all of which is stored in a block). Everytime data within a block changes (even slightly), the hash changes with it, generated each time using SHA256.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*-YwfTD44Zgdr5MYXAdxC5w.png" /><figcaption>Each block contains the hash of the block before</figcaption></figure><p>This principle is extremely important, because it allows previously verified blocks to stay cemented as they are. If someone tries to add a fraudulent transaction to an existing block, the hash of the block will change, and will not correspond with the hash of its successor.</p><h4>Proof-of-work</h4><p>To summarize, proof-of-work is just verifying transactions on the blockchain by use of a cryptographic puzzle. This verification known as a <strong>consensus mechanism</strong>, or a method in which everyone can agree on the validity of a transaction. In this case, the consensus is based on the fact that computational work went into adding transactions to the blockchain.</p><p>The extent of this computational work can be deceiving, though. See, this isn’t the traditional 2 + 2 = 4 situation. These puzzles are made to be asymmetrical, meaning that they are easy to verify as correct, but difficult to solve.</p><p>For example, you could easily confirm that 420 times 2 is 840. However, if I asked you to tell me what two numbers make a product of 840, much more deduction would be involved, given the fact that we have to filter through the several right answers. If this were even more complex, this process would eventually become raw guessing work.</p><p>This is exactly the case with proof-of-work. The nature of these asymmetric problems is so convoluted that the only way to solve them is by guessing, with faster guessing allowing a greater chance of being the first to solve them. Not a big deal, right?</p><p>Wrong. Very wrong.</p><p>It takes, on average, <strong>2⁴⁰</strong> guesses to solve this maniac, or 1,099,511,627,776 (over a TRILLION) guesses. The fact that one of these problems is solved every 10 minutes gives insight into the insane amount of money, resources, and computational power spent on this endeavor.</p><p>And it doesn’t end there.</p><p>The difficulty of this problem, or the amount of nodes and computational power required to solve it, increases in proportion to the amount of miners getting in on the action, in order to maintain the one block per 10 minutes rule. <strong>It only gets worse.</strong></p><p>This is done in order to maintain the valuation of Bitcoin, with the idea that if bitcoin were easy to mine, its value would depreciate (same goes vice versa, which is why these problems will also become easier if less nodes and computation are involved).</p><h4>Why Proof-of-work Sucks</h4><p>To start on a bit of a high note, I’ll give proof-of-work some credit. The preposterous amount of computational power required to execute it is a testament to its security. Because it is such a strenuous process to add just one block to the blockchain, adding a continuous series of blocks to support a fraudulent transaction in a previously existing block would be extremely difficult, nearly<em> </em>impossible.</p><p>However, this system definitely has its fair share of negative implications.</p><ul><li><strong>Decentralized → Centralized</strong></li></ul><p>First, the decentralized nature of the blockchain becomes increasingly centralized as more nodes are added to the network in a proof-of-work system. Recall that earlier, it was mentioned that more nodes on the network = harder hashing problems = <em>more computational power required</em>. This needed increase in computational power is the real killer.</p><p>To have a reasonable chance of success with Bitcoin mining, miners will often use an <strong>ASIC chip</strong>, or an Application Specific Integrated Circuit (the sole application, in this case, being mining). These miner specific ASICs, in essence, compute the same function or set of functions over and over again to optimize the probability of mining one Bitcoin.</p><p>With the ~1 million Bitcoin ASIC miners out there, you have roughly 1 in a million chance of mining just one Bitcoin.</p><p>To combat this, miners do what’s known as pooling. Similar to the idea of pooling investments, miners will pool their computational power to increase their chance of earnings. Larger pools are often <strong>huge</strong> mining centers, with big names including F2Pool and Foundry USA.</p><figure><img alt="Pooling distribution graph" src="https://cdn-images-1.medium.com/max/1024/1*9Uv6eXN6WMtGC2xI4GLdXA.jpeg" /><figcaption>Distribution of hashing power</figcaption></figure><p>The problem here is that more miners grouped together means less individual entities of the network mining, AKA a more centralized network. To use an example above, Foundry USA currently holds 17% of all hashing power on the blockchain network. Increased hashing power directly correlates with increased control and power over a network <strong>(increased possibility of centralization)</strong>.</p><p>Much of the hype and appeal surrounding cryptocurrencies like Bitcoin relies on their decentralized nature. Does straying from that sound like a good idea?</p><ul><li><strong>Avid Energy Consumer</strong></li></ul><p>Ok, so we know that a huge amount of computational power is needed to reap the benefits of proof-of-work, but what if I put that amount of power in different terms.</p><p>Bitcoin mining rigs, huge centers containing the hundreds ASICs used to mine bitcoin, consume <strong>120 terawatt hours</strong> annually.</p><p><em>“Laasya, I have no idea what that means”</em></p><p>My bad, let my rephrase. That’s more than the annual energy consumption of Sweden. The carbon footprint of just one bitcoin is equivalent to roughly 1 <em>million</em> visa transactions. One bitcoin transaction consumes the same amount of energy as a US household over 1 month.</p><p>Keep in mind, these estimates are pretty <em>conservative</em>, as the energy consumption of these rigs is following an upward trend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6IHNKp4uQUT5c2b06OUD8w.jpeg" /><figcaption>Bitcoin mining rig in Russia</figcaption></figure><p>The amount of energy consumed by Bitcoin mining alone consumes astronomical amounts of energy. Yet, some in favor of mining rigs make the argument that these mining farms utilize mainly renewable sources of energy, with estimates stating that roughly 40–75% of Bitcoin mining is renewable. While this can be seen as an impressive feat in the sense that few operations can be renewable to such an extent, this contributes to another problem– <strong>mining is taking away from more efficient uses of renewable energy.</strong></p><p>Many estimate that crypto mining (namely that of Bitcoin and Ethereum) uses up to <strong>70% </strong>of the world’s renewable energy. This is definitely a rich figure when you consider that crypto mining still contributes to 0.1% of greenhouse gas emissions via its use of fossil fuels.</p><p>If we were to connect sources of renewable energy to large urban centers, for example, we would see that this is one of many applications of renewable energy that would be a lot more efficient in terms of environmental betterment, with the potential of reducing greenhouse gas emissions by up to 70% (without consuming nearly as much energy).</p><h4>Onwards and Upwards: Proof-of-stake</h4><p>Thankfully, I am one of many who recognize these flaws of proof-of-work. A system of remediation that many have posed is a new consensus mechanism, <strong>proof-of-steak.</strong></p><p>The root problem of proof-of-work is how competitive it is. The desire to solve a cryptographic puzzle first is extremely wasteful.</p><p>To combat competition, proof-of-steak relies on a lottery system. The system will randomly choose a <strong>validator</strong> to validate the transactions within a block, and allows them to collect the fees from this transaction as a reward.</p><p><em>“But Laasya, how do we know we can trust these validators if no work goes into their process?”</em></p><p>Validators are reliable because of the <strong>stake </strong>they hold in the network. See, the lottery system isn’t entirely random. People who have a higher stake in the network have a higher likelihood of getting chosen to be a validator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y-cPawyK0Kfhd6RNoyF8qA.png" /></figure><p>The significance of this? If a validator approves a fraudulent transaction of any sort, they lose part of their stake. For the most part, validators have more to lose than gain if they were to act fraudulently. As a result, they hold the incentive to be truthful.</p><p>In theory, this process alleviates both the issues with proof-of-stake. Since there’s no need to team up in a huge competition, validators can work independently once more, meaning the system will stay decentralized. In addition, people no longer own 6,000 square foot palaces of ASICs, meaning energy consumption will see a huge decline.</p><p>This utopia-like consensus mechanism has recently been adopted by the big name of Ethereum. On the 15th of September, 2022, Ethereum 2.0 moved its cryptocurrency to a proof-of-stake mechanism.</p><p>While many other networks see the potential in adopting proof-of-stake, it seems to be a wait-and-see process right now, as PoS is pretty widely unused by other (notable larger) networks.</p><h4>Takeaways</h4><p>Fun concluding fact: the blockchain was created just 10 years ago. There is <em>so </em>much yet to explore. From one consensus mechanism to another, the true potential of blockchain ranges far beyond cryptocurrencies.</p><p>When you think of an immutable ledger that can hold any information in a securely confidential manner, its applications can seem pretty across the board. As you ponder there, keep in mind the following principals:</p><ul><li>The blockchain is a decentralized, public, and immutable ledger</li><li>Transactions are verified through consensus mechanisms, with the two big players being PoW (<em>ew</em>) and PoS</li><li>Other security mechanisms include digital signatures and block hashes</li></ul><p>Understanding these ideas at their core can be used to create life-changing, billion dollar ideas (in which case I would like to hold <em>at least </em>a 25% stake please and thank you).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed8c6aae8f18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New AI Algorithm Can Write Your Essay Better Than You]]></title>
            <link>https://medium.com/@laasyachevendra/new-ai-algorithm-can-write-your-essay-better-than-you-8a5bf9695fc0?source=rss-366c8cf32fb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a5bf9695fc0</guid>
            <dc:creator><![CDATA[Laasya Chevendra]]></dc:creator>
            <pubDate>Fri, 10 Jun 2022 03:00:21 GMT</pubDate>
            <atom:updated>2022-06-10T03:00:21.221Z</atom:updated>
            <content:encoded><![CDATA[<h3>OpenAI’s New Algorithm Can Write Your Essay Better Than You — and Much More</h3><h4>Learning about GPT-3</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*odAGp3GHE_S8p8f2" /></figure><p>Shoot! Your eyes dart to the clock, “10:39 PM”. It completely slipped your mind. “I <em>have </em>to get this essay done” you think to yourself. Another hour passes, and midnight only comes closer as you stare at your blank document. Until this very moment, you’ve been the student of dreams, the goody-two-shoes of the group. However, as you approach the last ten minutes before your deadline, the desperation becomes unbearable. Swiftly switching tabs, you search: “Essay writer”. Clicking the first resource you could find, you enter the following into the site: “Please write a short, roughly 500 word essay about Shakespeare. Keep the language simple and concise”, (you tried to be as specific as you could, really put your personal *flare* into your computer written masterpiece). A few seconds later, you’re met with a simple, concise essay about Shakespeare. No errors, not too wordy or pretentious, she’s beautiful. You don’t have time to sit and awe, though, and slap your name on the title before submitting. But wait, what just happened?</p><h3>The start of an AI revolution: GPT-3</h3><p>Little did you know, that essay was generated on the spot. It wasn’t made by any other human, and is unique to what you asked. This site used a new, highly advanced AI algorithm to write it, known as <strong>Generative Pre-Trained Transformer 3</strong> (this isn’t straight out of <em>Transformers</em>,<em> </em>I promise), or <strong>GPT-3</strong>. Put into simple terms, GPT-3 is an AI language model that uses its existing knowledge (more on that later) to predict what word, or in this case sequence of words, is most likely to come after another.</p><p>It’s similar to the autocomplete feature on our smartphones, in that they both use probability to determine what phrases or words will follow another. However, there’s one key difference between these two technologies. Notice that if you repeatedly use the autocomplete feature on iMessage (Android users are welcome to leave), it begins to build completely incoherent sentences, ones that sound nothing like you. GPT-3 has the ability to emulate human language almost perfectly using a single prompt or key word, just like with your essay. Achieving this was no walk in the park, though.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3UIqqKBS4kppuAo4" /><figcaption>A sentence written using the iMessage autocomplete feature.</figcaption></figure><h3>How it does this (TW: Many terms and definitions)</h3><p>In order for GPT-3 to truly emulate human language, we need to trace language back to its origins, the brain. Since computers don’t possess brains like ours, ones built upon billions of neurons, GPT-3 mimics one through a <strong>neural network</strong>. Neural networks impersonate the web of neurons in our brain through mathematics, in GPT-3’s case, through probability. To build this web, GPT-3 undergoes a process called <strong>machine learning</strong> of which there are two forms: supervised and unsupervised learning.</p><p><strong>Supervised learning</strong>, courtesy of the name, is much more tedious than the latter. It’s a process where humans manually label thousands of data sets and meticulously describe each respective output for an input, which the computer then learns from. For example, IMAGNET spent years and hundreds of employees labelling each and every characteristic of an image in order for a computer to do the same, known as computer vision. Fei Fei Li, a researcher who worked with the company, highlighted a great example of this. In order for their algorithm to recognize a single element of an image, for example a cat, people worldwide worked to label millions of cats as cats, factoring in every colour, lighting, or position a cat could be in. So while supervised learning provides much liberty and control to ones making these advances, it’s expensive, and extremely time taking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*q89RWKXWOYloiKBg7Wlf5Q.png" /></figure><p>Many consider GPT-3 to be so advanced because it uses <strong>unsupervised learning</strong> (I’ll stop trashing on supervised learning now). Instead of using specifically curated and labelled resources to learn from, GPT-3 learns on its own, using essentially every text in existence. Every 1D fanfiction, every conspiracy theory, every misleading Quora post is used for the sole purpose of learning to sound like a human. Beyond this level of efficiency, unsupervised learning has other advantages. One of these is that it bares a great resemblance to how humans learn. Rather than being spoon fed information, humans learn through guided inferences based on our experiences. Massive amounts of unlabelled data give computers the liberty to do the same, letting them represent human behaviours more accurately. Creepy, I know.</p><h3>Justifying the hype</h3><p>Ever since its release in May of 2020, discussions about GPT-3 have exploded, garnering much attention. And while this may seem unjustified to some, there may be a reason many swear by its legitimacy.</p><p>Many of GPT-3’s fairly recent predecessors, like GPT-2 and Grover were built around the same purpose as GPT-3. For the most part, they could write coherent, well written pieces. Where they differ is that they didn’t really know what they were talking about. Since their learning is also based on human works, everything they write makes grammatical sense. However, the algorithms don’t really digest information they write, and therefore are unable to answer questions, or write factual information pertaining to a topic or question (and oftentimes attempts to answer questions are inaccurate).</p><p>On the other hand, GPT-3 can do this with ease through its unsupervised learning process, picking up on word sequences enough to retain facts. I was able to experience this firsthand through playing the game <em>AI Dungeon</em>, one that uses GPT-3 to let users experience limitless fun. By simply picking a theme and the name of my character, I could write a whole story that the computer would participate in. Playing a mystery game? Re-route the story completely by solving it and moving to France, there are no boundaries. Because GPT-3 can recognize and understand each word you input, it’s able to play along, and uses this ability to further the story.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*CYlgok24JN35u51PdPTDvQ.png" /><figcaption>Example playthrough of <em>AI Dungeon. </em><strong>NOTE: The lines with the character next to them represent user inputs.</strong></figcaption></figure><h3>It’s weaknesses</h3><blockquote>“The GPT-3 hype is way too much. It’s impressive (thanks for the nice compliments!) but it still has serious weaknesses and sometimes makes very silly mistakes. AI is going to change the world, but GPT-3 is just a very early glimpse. We have a lot still to figure out.” <em>— Sam Altman, CEO of OpenAI</em></blockquote><p>Rewind, maybe GPT-3’s hype does deserve a little criticism. When discussing its strengths, many analysts are quick to point out its flaws.</p><p>Early in its release, many believed GPT-3 could put programmers or publishers out of a job. However, major flaws in GPT-3 prevent it from doing so. First, it doesn’t possess one of the most integral qualities needed to replace people in the programming field, memory. Because its outputs are limited to 2048 linguistic tokens (characters), and because it’s unable to retain previous outputs, they are essentially beyond it. This is relieving news to our massively growing field of programmers, as retention of context for a program (its objective) is necessary. Unfortunately, this isn’t so thrilling when you factor how life changing automated coding could be. For example, many have seen potential in its ability to monitor and regulate greenhouse gas emissions to a massive extent, something that if made systematic, could be one of few things that impacts rising temperatures.</p><p>Another highly noted flaw with GPT-3 is the bias it would present if prompted to write about certain topics, usually relating to social or political matters. Unlike (some) humans, it lacks the ability to make sound judgements beyond what it’s taught. Due to its teachings being derived from online media, writings by GPT-3 have shown bias against marginalised groups, or bias towards certain political groups. The establishment of this idea highlights a broader flaw of GPT-3– it’s unreliable. Due to the extremely wide variety of data it consumes to perform our desired tasks, it’s nearly impossible to ensure 100% accuracy, impartiality, or reliability from anything using its algorithm.</p><h3>Current uses of GPT-3</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*DrzbJoFms6qp4_yD.png" /></figure><p>Despite these troubles, GPT-3 has been used a considerable amount upon its release beyond saving your english grade. Most notably, over 300 apps use it for customer service purposes.</p><p>Application Viable gives GPT-3 data from surveys or reviews of an establishment, and identifies common themes in them to provide feedback on behalf of customers. This is made easy for businesses because it works in a question answer format. If asked “What do customers find upsetting about our shopping process?”, it may answer something along the lines of “Customers take issue in the loading time it takes when moving from one page to another whilst shopping. Additionally, they want a way to edit display settings, and see more options at a time.”.</p><p>Algolia, another app, essentially does the opposite. Working as a customer service bot, customers can ask questions regarding a website, product, or virtually anything else. Then, they receive a similar answer to the response shown above with more than <strong>91% accuracy</strong>, attributed to GPT-3’s ability to grasp more complex concepts than other algorithms.</p><h3>Ok, and?</h3><p>What does the development of GPT-3 mean on a more widespread level? While it clearly hasn’t been perfected yet, it’s important to see beyond this to understand the possible weight it can pull on global crises.</p><h4>But better: InstructGPT</h4><p>Just shy of two years after the release of GPT-3, open AI developed what is described as the new and improved version: Instruct GPT. InstructGPT and GPT-3 differ in the way they learn, in that InstructGPT uses feedback from users early on to alter future outputs. This means it’s able to produce less offensive language, less misinformation, and less overall mistakes without sacrificing the accuracy of its work.</p><p>This rapid evolution, along with GPT-3’s progression relative to its successors, shows how much more is in store for it in the near future. So if it does reach this level of near perfection in the next few years, what does this <em>really</em> mean?</p><h4>Helping solve a global emergency: The freshwater crisis</h4><p>The Freshwater Crisis, as the name suggests, concerns a lack of a key necessity for millions around the globe. The World Wildlife Fund predicts that <strong>by 2025, roughly two-thirds of the population will lack freshwater. TWO.THIRDS</strong>. Therefore, if GPT-3’s brethren permit, this is an issue that requires immediate action.</p><p>One of the most promising ventures to resolve this has been a device that uses sensors to detect changes in water quality, which are a driving cause of water-borne illnesses. This poses a problem, however, when you factor how difficult it is to make this a useable technology. The constant need to adapt it to different settings simply wouldn’t make it practical. However, if GPT-3 continues the track it’s moving in, many see automated programming to be a possible reality. In turn, perfecting this water scanning technology could be done with ease, and could cut costs greatly. While it wouldn’t solve the issue in an instant (though I wish it would) it has the potential to be one of the only technologies making a real, tangible difference.</p><h4>It doesn’t stop there</h4><p>Though, as noted before, these life changing technologies (via GPT-3) aren’t going to come about immediately. If we don’t pursue a means of mitigating the freshwater crisis in the meantime– we’re essentially screwed. Relying on the progression of GPT-3, one that quite frankly isn’t certain, won’t bring us closer to a solution <strong>right now</strong>. Thousands of organisations, including <a href="https://www.cleanwaterfund.org/">The Clean Water Fund</a> and <a href="https://globalwaterchallenge.org/">The Global Water Challenge</a> are receiving funding and efforts towards relief of this issue. Sometimes, taking the time to educate yourself on how <strong>you</strong> can make a change can do worlds more than any emerging technologies of our time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a5bf9695fc0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>