<?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 Andres reyes on Medium]]></title>
        <description><![CDATA[Stories by Andres reyes on Medium]]></description>
        <link>https://medium.com/@andresreyesv?source=rss-71373e8535d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*imvPKi18vnnJsFEnIwp_sQ.jpeg</url>
            <title>Stories by Andres reyes on Medium</title>
            <link>https://medium.com/@andresreyesv?source=rss-71373e8535d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 23:07:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@andresreyesv/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[Bitcoin Ordinals]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@andresreyesv/bitcoin-ordinals-eaac574f63eb?source=rss-71373e8535d------2"><img src="https://cdn-images-1.medium.com/max/2600/1*NueZpKs24_pJioNeqihk-g.jpeg" width="7376"></a></p><p class="medium-feed-snippet">In February 2023, the user @OrdMineBlocks posted on Twitter an extremely lightweight version of Minecraft recorded on the Bitcoin&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@andresreyesv/bitcoin-ordinals-eaac574f63eb?source=rss-71373e8535d------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@andresreyesv/bitcoin-ordinals-eaac574f63eb?source=rss-71373e8535d------2</link>
            <guid isPermaLink="false">https://medium.com/p/eaac574f63eb</guid>
            <category><![CDATA[ordinals-protocol]]></category>
            <category><![CDATA[ordinals-nft]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Andres reyes]]></dc:creator>
            <pubDate>Sun, 25 Aug 2024 14:05:45 GMT</pubDate>
            <atom:updated>2024-08-25T14:05:45.400Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Stablecoins: Decoding 9 Years of Market Evolution and Their $7.4T Impact]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@andresreyesv/stablecoins-decoding-9-years-of-market-evolution-and-their-7-4t-impact-37da23d38ff8?source=rss-71373e8535d------2"><img src="https://cdn-images-1.medium.com/max/2262/1*IpikU036MIBnU2O6LnpE0Q.png" width="2262"></a></p><p class="medium-feed-snippet">For nearly a decade, stablecoins have been revolutionizing the digital currency landscape. Starting with pioneers like BitShares, they&#x2019;ve&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@andresreyesv/stablecoins-decoding-9-years-of-market-evolution-and-their-7-4t-impact-37da23d38ff8?source=rss-71373e8535d------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@andresreyesv/stablecoins-decoding-9-years-of-market-evolution-and-their-7-4t-impact-37da23d38ff8?source=rss-71373e8535d------2</link>
            <guid isPermaLink="false">https://medium.com/p/37da23d38ff8</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[usdc]]></category>
            <category><![CDATA[stablecoin-cryptocurrency]]></category>
            <category><![CDATA[stable-coin]]></category>
            <dc:creator><![CDATA[Andres reyes]]></dc:creator>
            <pubDate>Thu, 23 Nov 2023 23:49:04 GMT</pubDate>
            <atom:updated>2023-11-23T23:49:04.898Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The path to create proyect for predict the bitcoin price]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@andresreyesv/the-path-to-create-proyect-for-predict-the-bitcoin-price-88054c9d7ec?source=rss-71373e8535d------2"><img src="https://cdn-images-1.medium.com/max/946/1*wBu1g1LnRIvWGisso-pJ-g.png" width="946"></a></p><p class="medium-feed-snippet">This will be a short story to show the path I took to develop this product, this project is still under construction and I hope to show a&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@andresreyesv/the-path-to-create-proyect-for-predict-the-bitcoin-price-88054c9d7ec?source=rss-71373e8535d------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@andresreyesv/the-path-to-create-proyect-for-predict-the-bitcoin-price-88054c9d7ec?source=rss-71373e8535d------2</link>
            <guid isPermaLink="false">https://medium.com/p/88054c9d7ec</guid>
            <dc:creator><![CDATA[Andres reyes]]></dc:creator>
            <pubDate>Mon, 02 May 2022 00:56:52 GMT</pubDate>
            <atom:updated>2022-05-02T01:19:28.462Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Performing automated data augmentation]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@andresreyesv/performing-automated-data-augmentation-379e002a15c5?source=rss-71373e8535d------2"><img src="https://cdn-images-1.medium.com/max/630/1*X69krJ7-vNHOgx66hi3OaA.png" width="630"></a></p><p class="medium-feed-snippet">In the world of artificial intelligence, the amount of data is one of the most important pillars when developing a model.</p><p class="medium-feed-link"><a href="https://medium.com/@andresreyesv/performing-automated-data-augmentation-379e002a15c5?source=rss-71373e8535d------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@andresreyesv/performing-automated-data-augmentation-379e002a15c5?source=rss-71373e8535d------2</link>
            <guid isPermaLink="false">https://medium.com/p/379e002a15c5</guid>
            <dc:creator><![CDATA[Andres reyes]]></dc:creator>
            <pubDate>Thu, 24 Mar 2022 07:53:41 GMT</pubDate>
            <atom:updated>2022-03-24T07:53:41.722Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[What happens when you type google.com under hood?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@andresreyesv/what-happens-when-you-type-google-com-under-hood-e72ecab6edc3?source=rss-71373e8535d------2"><img src="https://cdn-images-1.medium.com/max/1294/1*3LEKOkm_Icz3ESFceGWIug.png" width="1294"></a></p><p class="medium-feed-snippet">Have you ever wondered how data is transmitted over the Internet or been asked what goes on underneath your browser?</p><p class="medium-feed-link"><a href="https://medium.com/@andresreyesv/what-happens-when-you-type-google-com-under-hood-e72ecab6edc3?source=rss-71373e8535d------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@andresreyesv/what-happens-when-you-type-google-com-under-hood-e72ecab6edc3?source=rss-71373e8535d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e72ecab6edc3</guid>
            <category><![CDATA[curiosity]]></category>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[url]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Andres reyes]]></dc:creator>
            <pubDate>Sat, 29 Aug 2020 14:10:00 GMT</pubDate>
            <atom:updated>2020-08-29T14:12:36.890Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How a SQL Database Engine Works]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://blog.devgenius.io/how-a-sql-database-engine-works-c319200889d7?source=rss-71373e8535d------2"><img src="https://cdn-images-1.medium.com/max/644/1*T31xkbVeAxjNYjG6v6bW-Q.png" width="644"></a></p><p class="medium-feed-snippet">The main objective of SQL is to interact with the relational database in which they are stored in tabular form.</p><p class="medium-feed-link"><a href="https://blog.devgenius.io/how-a-sql-database-engine-works-c319200889d7?source=rss-71373e8535d------2">Continue reading on Dev Genius »</a></p></div>]]></description>
            <link>https://blog.devgenius.io/how-a-sql-database-engine-works-c319200889d7?source=rss-71373e8535d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c319200889d7</guid>
            <category><![CDATA[query]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[databse]]></category>
            <category><![CDATA[engine]]></category>
            <category><![CDATA[rdbms]]></category>
            <dc:creator><![CDATA[Andres reyes]]></dc:creator>
            <pubDate>Thu, 16 Jul 2020 04:40:02 GMT</pubDate>
            <atom:updated>2020-07-16T07:33:09.660Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building a dynamic library from 0 in c]]></title>
            <link>https://medium.com/@andresreyesv/building-a-dynamic-library-from-0-in-c-6eb8507bc4ff?source=rss-71373e8535d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6eb8507bc4ff</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[c-programming]]></category>
            <category><![CDATA[c-language]]></category>
            <dc:creator><![CDATA[Andres reyes]]></dc:creator>
            <pubDate>Tue, 05 May 2020 02:44:54 GMT</pubDate>
            <atom:updated>2020-07-15T02:07:24.004Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vIDxxxGyYLZZLQx0m_HFhQ.jpeg" /></figure><p>To begin with, I would like to clarify that it is advisable to have some concepts that I will touch on in this article since I will not touch them with depth and the purpose of this article is to give a general view. These topics are as follows:</p><ul><li>Statistical literature</li><li>gcc and flags</li><li>C.</li></ul><p>If you want to know more, I will leave some links and articles at the end of the blog that is related to the previous topics.</p><p>One clarification is that the tutorial is based on Linux OS, If you are trying to do it in another different OS, I recommend you read this guide <a href="https://www.oreilly.com/library/view/c-cookbook/0596007612/ch01s05.html"><strong>[HERE]</strong></a><strong> 😬</strong>where table 1–11 gives a standard.</p><p>To begin with, I will talk about bookstores which are a very important issue.</p><h4>That it’s the bookstores?</h4><p><a href="https://www.thegeekstuff.com/2012/06/linux-shared-libraries/">“A library is a file containing compiled code from various object files stuffed into a single file. It may contain a group of functions that are used in a particular context.</a>” and its possible termination of files are .lib .a</p><p>In general terms, the bookstores are very useful when it comes to having a very long code, for example, we are making a video game and we see that we always use the same function of moving the character, So what we want is to call it from a place and use it without having to do it every time we call it.</p><p>That is why there are libraries to make our code clean and not have everything in one file. Then when creating the bookstore there will be two differences in the type of bookstore. These two ways are:</p><h4>A static library<strong><em> ( .a )</em></strong></h4><p>It works as a copy in our code at the time of compiling it and becomes part of the application, in the end, it will not depend on the bookstore because you already have a copy of this</p><h4>A dynamic library ( .so )</h4><p>It works that every time our code needs something from the library, it will go to this one. If we delete the library, our program will give an error that it does not find it. That is, object files are not combined with compile-time programs.</p><p>Now the process of creating a bookstore first needs to understand how bookstores work.</p><p>To start when a file is compiled it goes through certain phases as seen below. We will focus on linker and object files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*tHxpoNY_HJ-hC6-bnho45w.png" /><figcaption>take : <a href="http://www.btechsmartclass.com/c_programming/C-Creating-and-Running-C-Program.html">http://www.btechsmartclass.com/c_programming/C-Creating-and-Running-C-Program.html</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u7rz5zaiEiIwodZUFGjU3w.png" /><figcaption><a href="https://www.youtube.com/watch?v=eW5he5uFBNM">https://www.youtube.com/watch?v=eW5he5uFBNM</a></figcaption></figure><p>Object files have three types but the main function of these files is that it contains machine code, later we will see how they are obtained. Then there’s the linker.</p><h4>What is the link to the compilation?</h4><p>This is the final step of the compiler before it is passed to an executable. It is called linking because it brings together all the object files that are created before and links them.</p><p>So when it comes to linking it into our code, the entire function will not be copied as does the statics library, If you don’t copy the memory address from where it is then when you run on this piece go to the memory address where it worked and call it.</p><h4>That’s the big difference between the static and dynamic bookstores</h4><h3>advantages and disadvantages</h3><ul><li>In statistical libraries, it is not necessary to re-compile the code because it already has a link to the program</li><li>a disadvantage of statics libraries is that if we have several large functions within a function that is called several times the file will become very dense and very large.</li><li>If in the library we change it and modify it in the executables of the statistical libraries nothing will happen but in the dynamics if because the executables have the memory address of the libraries and where it worked and this would affect them</li><li>It is more portable and executable made with statistical libraries because it does not need bookstores.</li></ul><h3>How to Create and Use Shared Libraries?</h3><p>Before giving the example of how are the libraries I will take some commands that you need to know to use them later</p><p>&gt; nm [ name ]</p><p>Information about an object file.</p><ul><li>ldconfig</li></ul><p>Creates the necessary links and caches for the most recent shared libraries.</p><p>First of all, we need our main that has a function we will call to print “Hello World” plus the size of the letter. This is the main file:</p><pre>#include “dinamic.h”</pre><pre>#include &lt;stdio.h&gt;</pre><pre>int main(void)</pre><pre>{<br>    int total = 0;</pre><pre>    total = calc_size(&quot;Hello World&quot;);</pre><pre>    printf(“Hello World, size = %d\n”, total);</pre><pre>    return (0);</pre><pre>}</pre><p>In our file, we have a function that is called of the library dinamic.h. This library has our prototype and other functions, this example is simple and I use it to facilitate the understanding, but our main file can have 10 functions, that within these 10 functions call 40 functions, that is why it is important to use the library.</p><p>Our “calc_size” function is inside the function file. c, so the next step is to compile it and then use it.</p><pre>gcc -Wall -pedantic -Werror -Wextra -fPIC -c function.c</pre><p>Let’s explain step by step what all these flags do and what the result is.</p><h4><strong>gcc</strong></h4><p>Its abbreviation is GNU Compiler Collection.</p><h4>-Wall -pedantic -Werror -Wextra</h4><p>They are the flags to prevent errors and show that we may be failing.</p><h4>-fPIC</h4><p>Position independent means that our generated machine code does not depend on the location and will not depend on your specific location to operate.</p><h4>- c</h4><p>As we looked at the beginning that when compiling the final step was the linker, it was going to make us a link to the other files. So what the -c flag does is to skip this step and not do it. So that when compiling it with the library we have problems with other files. The last one is the file we are going to compile, we can also use *.c if we had several files.</p><p>The result of this is a finished file. Or, the result will be this:</p><h4>function.o</h4><p>Since we have our files compiled, we will need to do the library, for this we will use the following command:</p><pre>gcc -shared -o name_the_library.so function.o #name_the_library it depends on what you use, so I’ll use medium.so</pre><h4>-shared</h4><p>Tells the compiler to produce a shared object which can then be linked with other objects to form an executable.</p><pre>nm -D medium.so</pre><p>This command is to verify if our functions are inside the file.</p><pre>gcc -Wall -pedantic -Werror -Wextra -L. main.c -medium -o len</pre><h4>-L. (-Lsearchdir)</h4><p>To find the medium file within your current directory, the point specifies that you will search within the file.</p><p>Then we will have an executable called len, this executable still can’t use it. If we try to execute it, it will give us an error. And because we need to specify in the path that when compiling look for our library in a certain file, this command is:</p><pre>export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH</pre><p>To be more specific is the predefined environmental variable in Linux/Unix which sets the path which the linker should look into while linking dynamic libraries/shared libraries.</p><p>Then, in the end, we can run our len file and see our results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lYSU2JQPUXMHJD9pzP7B1A.png" /></figure><p>I would be very grateful for any recommendations or feedback</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6eb8507bc4ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Compilation in C]]></title>
            <link>https://medium.com/@andresreyesv/compilation-in-c-f80a7f0f4943?source=rss-71373e8535d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f80a7f0f4943</guid>
            <category><![CDATA[lenguaje]]></category>
            <category><![CDATA[c]]></category>
            <category><![CDATA[compilation]]></category>
            <category><![CDATA[engineering-programs]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Andres reyes]]></dc:creator>
            <pubDate>Thu, 06 Feb 2020 01:56:47 GMT</pubDate>
            <atom:updated>2020-02-06T15:07:02.028Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Hardware" src="https://cdn-images-1.medium.com/max/960/1*pyegpBcwiQxE46QFVw77Gw.jpeg" /><figcaption>HARDWARE</figcaption></figure><h4>History of programming language c</h4><p>It all begins with the need to create a low-level language that can communicate with a system efficiently. This solution is provided by Bell Laboratories in the mid-1970s. Its main purpose of this language is to recode the UNIX operating system. It was very difficult the process of abstracting from the hardware layer and achieving greater code portability, consequently, it is commonly used for its efficiency in creating system software.</p><p>Before we continue I want to clarify that a programming language. <a href="https://rockcontent.com/es/blog/que-es-un-lenguaje-de-programacion/">It is a formal language that, through a series of instructions, allows a programmer to write a set of commands, consecutive actions, data, and algorithms in order to create programs that control the physical and logical behavior of a machine.</a></p><p>Already clear these concepts, we continue with topics on how C can be used and why it is so important to understand the compilation process that makes C</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*UFXwjOZtsk8Esqfr2q4uMQ.jpeg" /></figure><p>First of all, one very important fact to note is that there are more than 500,000 lines of code written in C and that were created by NASA to develop a robot that can travel into space. This robot is currently conducting important research at NASA.</p><blockquote>A compiler is a computer program that translates the language to be understood, in other words , it is a bridge so that communication between a low-level language and machine language is possible.</blockquote><p>The importance of a compiler is that the computer will only receive instructions without her understanding and all this will be useless. That is to say that at the end of the day the compiler does the program.</p><p>Put another way a compiler is a vehicle and the driver is the instructions. The vehicle will not be able to move without knowing where it is going and the driver will not be able to travel without a vehicle. Then the driver has to give certain instructions so the vehicle knows where to go.</p><h3>How does it work?</h3><p>In order for the programming language to give instructions to the machine, it has to go through several phases. The following picture will show in general what a compiler does, it should still be noted that if our code has syntax failures or another error it will show. What the compiler does will be shown in detail later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*qLsEcnaQ2Z9zDPVBD-fYtA.png" /><figcaption>take from : <a href="https://247tecno.com/compilador-que-es-como-funciona-fases/">https://247tecno.com/compilador-que-es-como-funciona-fases/</a></figcaption></figure><p>Now that we’re in deep. The compilation phase as shown in the previous image will be divided into analysis and synthesis, besides which each is divided into small processes.</p><blockquote>The ANALYSIS part divides the source program into components that are; lexical, syntactic and weekly analyzer.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AdJ8CUwl8XJ9IvMa2dLcww.png" /><figcaption>take from: <a href="https://www.youtube.com/watch?v=VDslRumKvRA">https://www.youtube.com/watch?v=VDslRumKvRA</a></figcaption></figure><h3>Lexical analysis</h3><p>It is based on reading the source code and separating it into batches so that it can be read by syntactic analysis.</p><h3>Syntactic analysis</h3><p>This phase takes several blocks of code to meet the requirements defined by the compiler</p><h3>Semantic analysis</h3><p>In this phase, it is sought that the code is correctly written in order to be interpreted.</p><h3>The phase of the synthesis</h3><p>Already at this stage, it is equivalent to show what the code generates so that each of the intermediate instructions is translated into a sequence of machine instructions that performs the same task. A decisive aspect is the assignment of variables to records.</p><p>Now that we have seen the procedure of how the code is translated we will pass how this compilation can be implemented in the C language.</p><h3>- — — -For this, we will use the GCC compiler— — —</h3><p>GCC is a compiler already integrated into the GNU operating system that is capable of a source program and generate a binary executable.</p><p>GCC will perform the above. With a simple example, I will explain how the compiler’s result is.</p><p>This is the code I have inside my holaMundo file. c (It is very important that the ending of the file ends in .c for the compiler to understand that it is a file to compile)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*SzhM1Vsd56jjdN-06q5r1g.png" /></figure><p>After this, we’ll compile it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qGIaZ7xK2YQohEpIUlL9lA.png" /></figure><p>We see that when compiling it we use GCC <strong>NAMEOFTHEFILE</strong> and then we see that in our folder an executable file is generated.</p><p>The file at the end runs to show us our hello world.</p><p>At the end of this article, I hope to have clarified what a compiler does, in the end, I will leave a video of the difference between compiler and interpreter.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fe4ax90XmUBc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3De4ax90XmUBc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fe4ax90XmUBc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d23b78f1515fccdd522c46ba23c6cc8/href">https://medium.com/media/4d23b78f1515fccdd522c46ba23c6cc8/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f80a7f0f4943" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>