<?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 Ndongo Tonux Samb on Medium]]></title>
        <description><![CDATA[Stories by Ndongo Tonux Samb on Medium]]></description>
        <link>https://medium.com/@ndongotonuxsamb?source=rss-d72e092e41a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*haR963MzP1GWOz8S-Timbw.jpeg</url>
            <title>Stories by Ndongo Tonux Samb on Medium</title>
            <link>https://medium.com/@ndongotonuxsamb?source=rss-d72e092e41a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 11:52:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ndongotonuxsamb/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[How to add an Oracle JDBC driver to your maven repository]]></title>
            <link>https://medium.com/@ndongotonuxsamb/how-to-add-an-oracle-jdbc-driver-to-your-maven-repository-5db8cd26c364?source=rss-d72e092e41a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/5db8cd26c364</guid>
            <category><![CDATA[oracle-java]]></category>
            <category><![CDATA[maven]]></category>
            <dc:creator><![CDATA[Ndongo Tonux Samb]]></dc:creator>
            <pubDate>Tue, 18 Feb 2020 10:30:50 GMT</pubDate>
            <atom:updated>2020-02-18T10:30:50.819Z</atom:updated>
            <content:encoded><![CDATA[<p>We are going to see how to add an Oracle JDBC driver in your local Maven repository and how to reference it in your pom.xml.</p><h4><strong>1. Download the Oracle JDBC driver</strong></h4><p>You have to go to the <a href="https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html"><strong>Oracle</strong></a> site to get the Oracle JDBC driver. Choose the right version of the jar. Example <strong><em>ojdbc6.jar</em></strong> or <strong><em>ojdbc7.jar</em></strong></p><h4>2.Settling in Maven</h4><p>To install the Oracle jdbc drivers you have to go to the terminal and put the following command:</p><pre>mvn install:install-file -Dfile={Path/to/your/ojdbc6.jar}<br>      -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar</pre><h4>3.Setting the pom.xml</h4><p>In your pom add now the dependency :</p><pre>&lt;dependencies&gt;</pre><pre>        ...<br>        &lt;!-- ojdbc6.jar example --&gt;<br>        <strong>&lt;dependency&gt;<br>            &lt;groupId&gt;com.oracle&lt;/groupId&gt;<br>            &lt;artifactId&gt;ojdbc6&lt;/artifactId&gt;<br>            &lt;version&gt;11.2.0&lt;/version&gt;<br>        &lt;/dependency&gt;</strong><br><br>        ...<br><br>&lt;/dependencies&gt;</pre><p><em>NB : Note that for the jar ojdbc7.jar the version in the pom becomes: </em><strong>&lt;version&gt;12.1.0&lt;/version&gt;</strong></p><blockquote>Takk Jokk</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5db8cd26c364" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Spring Batch]]></title>
            <link>https://medium.com/@ndongotonuxsamb/introduction-to-spring-batch-41b5e11fd5f5?source=rss-d72e092e41a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/41b5e11fd5f5</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[spring-batch]]></category>
            <category><![CDATA[spring]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Ndongo Tonux Samb]]></dc:creator>
            <pubDate>Sat, 08 Jun 2019 13:42:36 GMT</pubDate>
            <atom:updated>2019-06-08T14:44:18.118Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*od77B__OWK_cHDT92u_xew.png" /></figure><p>Now we tend to go more towards automated systems that are composed of several elements designed to perform a set of scheduled tasks. They simplify, secure and make repetitive and operational tasks easier. These processes are complex and with large volumes of information without human interaction(read a file, process data, export data to a database, etc.).</p><p>Imagine our application receive every hour , from a file, a set of users informations from a file to process, generate a password for every user in the file and insert it in a database.</p><p>In my mind I thought to make a shell script or develop a program from scratch to do the process (recover, loop, read, process, transform, insert, …). But within this mode of treatment the risk is enormous. This may take longer, error handling is to be expected, manage rollbacks , not reliable because of the possibility of having an OutOfMemoryError, … I was not ready to reinvent the wheel( Don’t Repeat Yourself they said). Thus, i started looking for solutions in Internet and suddenly i come across a framework that allows to repeat a treatment on a set of large volumes of data without human intervention. It was Spring Batch and for me it was also the opportunity to test Spring and its ecosystem. Let’s go!</p><h3>Spring batch ???</h3><p>Spring Batch is a lightweight, comprehensive batch framework designed to enable the development of robust batch applications vital for the daily operations of enterprise systems. Spring Batch is not a scheduling framework. It provides reusable functions that are essential in processing large volumes of records, including logging/tracing, transaction management, job processing statistics, job restart, skip, and resource management.</p><h3>Key Concepts</h3><p>See the<a href="https://docs.spring.io/spring-batch/trunk/reference/html/domain.html"> Batch Domain</a> for more details.</p><ul><li><strong><em>Job</em></strong> : A batch job composed of a sequence of one or more Steps.</li><li><strong><em>JobInstance</em></strong> :an instance of a Job configured with parameters (requested, for a specific date for example). A collection of JobExecutions.</li><li><strong><em>Step</em></strong> : An independent, discrete unit of work in a Job. A simple Step might load data from a file into the database, but may be more complex.</li><li><strong><em>JobExecution</em></strong><em> : </em>An single attempt of a Job run (may be in progress, succeeded, or failed)</li><li><strong><em>StepExecution</em></strong> : A single attempt of a Step, associated with a JobExecution (may be in progress, succeeded or failed)</li><li><strong><em>JobRepository</em></strong> : Persistent storage for maintaining the Batch Domain model and associated state</li><li><strong><em>JobExecutionListener</em></strong> : Extension point for customizing JobExecution events.</li><li><strong><em>StepExecutionLister</em></strong><em> : </em>Extension point for customizing StepExecution events.</li><li><strong><em>Remote Chunking, Partitioning</em></strong>* : Patterns for scalable distributed batch processing, see the<a href="https://docs.spring.io/spring-batch/4.0.x/reference/html/index.html"> docs</a> for details.</li></ul><p>Among others we can see as advantages</p><ul><li>Less coding</li><li>More unit tests &amp; integrations</li><li>He takes care of the increase in load</li><li>And many others ( see<a href="https://docs.spring.io/spring-batch/4.0.x/reference/html/index.html"> HERE</a>)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*Leyc77WVG-h7E4LVhsxUOg.gif" /></figure><h3>Use case Spring batch</h3><p>A batch program usually performs some number of recurring actions:</p><ul><li>Read a large number of records in a file or database,</li><li>Sometimes do specific processing on the data (modification, call web service, etc …),</li><li>Write / Insert processed data into a database or file.</li></ul><blockquote>Another example of use: The payment of salary in a company</blockquote><blockquote>1 — At the end of the month, the company must send a salary to the respective accounts of its employees.</blockquote><blockquote>2 — Do the processing of pay slips.</blockquote><blockquote>3 — Sending emails to staff for mass communication.</blockquote><blockquote>4 — Generate automated reports on a daily, weekly or monthly basis.</blockquote><blockquote>5 — Run the stream automatically without human intervention.</blockquote><h3>Technical Objectives</h3><p>As a developer also we see a considerable contribution in our work with the use of spring batch.</p><ul><li>Batch developers use the Spring programming model: concentrate on business logic and let the framework take care of infrastructure.</li><li>Clear separation of concerns between the infrastructure, the batch execution environment, and the batch application.</li><li>Easy to configure, customize, and extend services, by leveraging the spring framework in all layers.</li><li>All existing core services should be easy to replace or extend, without any impact to the infrastructure layer.</li><li>Provide a simple deployment model, with the architecture JARs completely separate from the application</li></ul><h3>Spring Batch architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*VKvTs0JTJIwGcJ43lWZzew.png" /></figure><p>This layered architecture highlights three major high-level components: Application, Core, and Infrastructure.</p><h4>Application</h4><p>The application contains all batch jobs and custom code written by developers using Spring Batch.</p><h4>Code</h4><p>The Batch Core contains the core runtime classes necessary to launch and control a batch job. It includes implementations for JobLauncher, Job, and Step.</p><h4>Infrastructure</h4><p>This infrastructure contains common readers and writers and services (such as the <strong>RetryTemplate</strong>), which are used both by application developers(readers and writers, such as <strong>ItemReader</strong> and <strong>ItemWriter</strong>) and the core framework itself (retry, which is its own library).</p><h3>Sample example</h3><p>Here is a quick overview of how we plan to process our received files from .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8uUeJw3Zq8ScU7qzh5bbdA.png" /></figure><p>1- At first, data is read from a file using the <strong>ItemReader</strong> that is part of Spring Batch.</p><p>2- The data is then passed to the processor (<strong>ItemProcessor</strong>) for processing the data according to the needs of the enterprise. We have to format the date to adapt it to the database.</p><p>3- The processed data that is now modified is transmitted in the database for writing (<strong>ItemWritter</strong>).</p><p><strong>NB</strong> : the data source can be a database, file, queue, and so on.</p><h3>Error management in spring batch</h3><p>Spring batch also allows us to handle errors on processing</p><ul><li>Skip non-blocking errors (<strong>skip</strong>). Sometimes we do not need to stop stuff if we encounter some errors.</li><li>Start a job again (<strong>retry</strong>). The database may be unavailable at a temporary moment. Sometimes we need to retry the process.</li><li>Restart a batch (<strong>restart</strong>). After an error we are able to restart it.</li></ul><h3>Demo</h3><p>For example i set up a small application that allows us to recover data from a file, do certain treatments before inserting it into a database. Using Spring Batch Flat file reader to read CSV file and Jdbc Batch Item Writer to write MySQL Database. After the treatment we can do other actions depending on the result of the job. If job success we can send a notification mail. If not we can retry to lunch the job or do something else.</p><p>INPUT</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*9jAFiXjYb7yyUOSxsZ50Ww.png" /></figure><p>OUTPUT</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*V2hk5xpGOd2U0gY1" /></figure><p>See the repo for more details :<a href="https://github.com/tonux/file-processor"> https://github.com/tonux/file-processor</a></p><p><strong><em>Baay Fall Takk Djok.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41b5e11fd5f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Crud avec Spring Boot et MongoDB]]></title>
            <link>https://medium.com/@ndongotonuxsamb/crud-avec-spring-boot-et-mongodb-6a13f24f6680?source=rss-d72e092e41a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a13f24f6680</guid>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[spring]]></category>
            <dc:creator><![CDATA[Ndongo Tonux Samb]]></dc:creator>
            <pubDate>Mon, 15 Apr 2019 13:03:37 GMT</pubDate>
            <atom:updated>2019-04-15T13:03:37.554Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Ziar naleen sama gars yi (Juste pour dire Bonjour)</em></p><p>Aujourd’hui nous allons apprendre à créer une application Spring Boot avec MongoDB et à effectuer les opérations de base avec Spring JPA et Spring MVC.</p><h3>Spring Boot ???</h3><p>Spring Boot est un framework qui facilite le développement d’applications fondées sur Spring en offrant des outils permettant d’obtenir une application packagée, totalement autonome.</p><h3>MongoDB ???</h3><p><a href="http://www.mongodb.org/">MongoDB</a> est un système de gestion de base de données ou <a href="http://fr.wikipedia.org/wiki/Syst%C3%A8me_de_gestion_de_base_de_donn%C3%A9es">SGBD</a>, comme <a href="http://fr.wikipedia.org/wiki/Mysql"><strong>Mysql</strong></a> ou <a href="http://fr.wikipedia.org/wiki/Postgresql"><strong>PostgreSql</strong></a>, mais dont le mécanisme est complètement différent. Fini le temps ou il fallait créer un schéma de tables relationnelles et créer des requêtes Sql complexes. Grâce à MongoDB vous allez pouvoir stocker vos données un peu comme vous le feriez dans un fichier <a href="http://fr.wikipedia.org/wiki/JSON">JSON</a>. C’est à dire, une sorte de dictionnaire géant composé de clés et de valeurs. Ces données peuvent ensuite être exploitées par du <a href="http://fr.wikipedia.org/wiki/Javascript">javascript</a>, directement intégré dans MongoDB, mais peuvent également être exploitées par d’autre langage comme <a href="http://fr.wikipedia.org/wiki/Python_%28langage%29">python</a> et bien sur Java :) . <br>En tant que base de données de type <strong><em>NoSQL</em></strong>, MongoDB stocke les données sous la forme d’un document. Ainsi, il offre plus de flexibilité.</p><h3>Athiaa bokk… on code!!!</h3><p>On aime pas trop parler. On va suivre ensemble ce tutoriel pour faire un crud. Je vais essayer d’expliquer en détail chaque partie.</p><h4>1- pré requis :</h4><p>Nous avons noté quelques besoins pour réaliser le projet.</p><ul><li>java, JDK 8</li><li>maven</li><li>MongoDB</li><li>( J’ai utilisé intelliJ comme IDE)</li><li>Postman</li></ul><h4>2- Créer le projet</h4><p>On va utiliser <a href="https://start.spring.io/"><strong><em>https://start.spring.io/</em></strong></a> pour générer notre projet. On a ajouté comme dépendances web et mongoDb.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R0gxMGBihjWUB6oarIBOVA.png" /><figcaption>génération du projet</figcaption></figure><h4>3- Structure du projet</h4><p>Sous intelliJ voici notre structure du projet. Cela peut changer suivant l’IDE. (Eclipse 🤮)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*1ARHKmhuOPlI9lVT0F8PGQ.png" /><figcaption>structure du projet</figcaption></figure><h4>4- Nos Dependences Maven</h4><p>Voici après génération le contenu de notre fichier <strong><em>pom.xml.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*WQ-YpQuv8OCmsDSEfAUQ7w.png" /></figure><h4>5- Notre fichier Application Properties</h4><p>Pour les config de la base de donnée, on a utilisé le fichier <strong><em>application.properties</em></strong> qui se trouve dans resources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*2-k-8uifKUPeBY6LJl4k0w.png" /><figcaption>application.properties</figcaption></figure><h4>6- Classes Java</h4><ul><li>Main class : <strong><em>CrudSpringBootMongoDbApplication.java </em></strong><em>: </em>Rappelez-vous toujours que le point d’entrée de l’application Spring Boot est la classe contenant l’annotation <strong><em>@SpringBootApplication</em></strong> et la méthode main en statique.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*m0CAReghhf1ke0zKuC2lsg.png" /><figcaption>CrudSpringBootMongoDbApplication.java</figcaption></figure><ul><li>Model class : <strong><em>User.java</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*JDBLYceiRkl1sYlFZxDueQ.png" /><figcaption>User.java</figcaption></figure><ul><li>Data-Access-Object interface : <strong><em>UserDao.java </em></strong>interface qui étend <strong>MongoRepository</strong> pour gérer automatiquement nos requêtes crud.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*CLP0NElN25fiysqkMRUmig.png" /><figcaption>userDao.java</figcaption></figure><ul><li>Service class : <strong><em>UserServiceImpl.java</em></strong> : classe de service où nous appellerons les méthodes de l’interface Dao pour gérer les opérations SQL. Elle implémente notre interface <strong><em>UserService.java</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*9wTcA7L9nN1xTUL8u0Zwxg.png" /><figcaption>UserService.java</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*gkyrsZKvsSc_bgm3-RY0Ow.png" /><figcaption>UserServiceImpl.java</figcaption></figure><ul><li>Controller class : UserController.java : permet de faire le traitement des demandes. La classe est annotée avec <strong>@RestController</strong> où chaque méthode retourne un objet de domaine sous la forme d’une réponse <strong>json</strong> au lieu d’une vue.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*I_CVqsaCgldJ3DA9IeaEcg.png" /></figure><h3>Démostration ( thiaw sa khirr)</h3><p>run : <strong><em>mvn spring-boot:run</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C1jAx8z0spqR3u2t32gdEA.png" /></figure><p>ou bien aller dans target et faire . <strong><em>java -jar crudSpringBootMongoDb-0.0.1-SNAPSHOT.jar</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nBeDLjNDTTlKz3h_hChoSA.png" /></figure><p>// Créer new user.<br><a href="http://localhost:8102/api/mongo/users/create"><em>http://localhost:8088/api/mongo/users/create</em></a><br> <br>// Get all users.<br><a href="http://localhost:8102/api/mongo/users/getall"><em>http://localhost:8088/api/mongo/users</em></a><br> <br>// Find user by id.<br><a href="http://localhost:8102/api/mongo/users/getbyid/1"><em>http://localhost:8088/api/mongo/users/1</em></a><br> <br>// Update user by id.<br><a href="http://localhost:8102/api/mongo/users/update/5"><em>http://localhost:8088/api/mongo/users/5</em></a><br> <br>// Delete user by id.<br><a href="http://localhost:8102/api/mongo/users/delete/1"><em>http://localhost:8088/api/mongo/users/1</em></a><br> <br>// Delete all uers.<br><a href="http://localhost:8102/api/mongo/users/deleteall"><em>http://localhost:8088/api/mongo/users/deleteall</em></a></p><h3>Repository du projet</h3><h4><a href="https://github.com/tonux/crud-springboot-mongoDB">https://github.com/tonux/crud-springboot-mongoDB</a></h4><p><a href="http://localhost:8102/api/mongo/emp/delete/1">http://localhost:8102/api/mongo/emp/delete/1</a></p><p>// Delete all employees.</p><p><a href="http://localhost:8102/api/mongo/emp/deleteall">http://localhost:8102/api/mongo/emp/deleteall</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a13f24f6680" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Débuter avec Spring MVC]]></title>
            <link>https://medium.com/@ndongotonuxsamb/fonctionnement-de-spring-mvc-1519bcf5cd37?source=rss-d72e092e41a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/1519bcf5cd37</guid>
            <category><![CDATA[thymeleaf]]></category>
            <category><![CDATA[spring-mvc]]></category>
            <category><![CDATA[maven]]></category>
            <category><![CDATA[spring]]></category>
            <dc:creator><![CDATA[Ndongo Tonux Samb]]></dc:creator>
            <pubDate>Sun, 31 Mar 2019 16:15:25 GMT</pubDate>
            <atom:updated>2019-03-31T16:19:13.637Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Spring MVC</strong> est un framework qui permet d’implémenter des applications selon le design pattern <strong>MVC</strong>.</p><ul><li>Le modèle encapsule les données de l’application. En général, elles se composent de POJO.</li><li>La vue est responsable du rendu des données du modèle et génère en général une sortie HTML que le navigateur du client peut interpréter.</li><li>Le contrôleur est responsable du traitement des demandes des utilisateurs et de la création d’un modèle approprié, qu’il transmet ensuite à la vue pour le rendu.</li></ul><p>Le principe de Spring MVC est décrit par le schéma ci-dessous :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VtWjtDyJxCbpQxtAWB5xRQ.png" /><figcaption>Spring MVC architecture</figcaption></figure><h3>Le DispatcherServlet</h3><p>L’architecture de Spring MVC est conçue autour d’un DispatcherServlet qui gère toutes les demandes et réponses HTTP.</p><p>1- Après avoir reçu la requête HTTP, le dispatcherServlet consulte le <strong>HandlerMapping</strong> pour appeler le bon controlleur.</p><p>2- Le controller prend la requête et appelle la méthode appropriée en fonction de la méthode GET, POST,… utilisée. La méthode définira les données du modèle en fonction de la logique métier définie et renverra le nom de la vue au DispatcherServlet.</p><p>3- Le DispatcherServlet s’appuis sur le <strong>ViewResolver</strong> pour extraire la vue définie pour la requête.</p><p>4- Une fois la vue finalisée, le DispatcherServlet transmet les données du modèle à la vue qui est finalement rendue sur le navigateur.</p><h3>Exemple avec thymeleaf</h3><p>Voici un exemple d’application spring mvc avec thymeleaf.</p><p>==&gt; <a href="https://github.com/tonux/helloSpringMvc">exemple application spring MVC avec T<strong>hymeleaf</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1519bcf5cd37" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comment changer de version Node.js grace à NPM]]></title>
            <link>https://medium.com/@ndongotonuxsamb/comment-changer-de-version-node-js-grace-%C3%A0-npm-7d7ef7ca6750?source=rss-d72e092e41a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d7ef7ca6750</guid>
            <category><![CDATA[version]]></category>
            <category><![CDATA[npm]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Ndongo Tonux Samb]]></dc:creator>
            <pubDate>Sun, 20 Jan 2019 15:51:11 GMT</pubDate>
            <atom:updated>2019-01-20T19:13:27.418Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello comment va!</p><p>J’avais mis à jour ma version de <a href="https://nodejs.org/en/"><strong>node.js</strong></a> (v11.x) et ça m’a créé des problèmes de dépendances sur certaines de mes applications. De ce fait j’avais qu’une seule idée c’était de downgrade ma version.</p><pre><strong>1  - Mise à niveau vers la dernière version stable : </strong></pre><pre>sudo npm cache clean -f<br>sudo npm install -g n<br>sudo n stable</pre><pre><strong>2  - Mise à niveau vers une version LTS:</strong></pre><pre>sudo npm cache clean -f<br>sudo npm install -g n<br>sudo n 10.15.0</pre><p><strong>LTS</strong> : <a href="https://github.com/nodejs/LTS/">long-term support (LTS) version</a></p><pre>Merci de vérifier votre version de node.js<br>node -v</pre><p>Tonux, Takk-Jok</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d7ef7ca6750" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Être développeur c’est comme être cuisinier]]></title>
            <link>https://medium.com/@ndongotonuxsamb/%C3%AAtre-d%C3%A9veloppeur-c-est-comme-%C3%AAtre-cuisinier-298cb0799d84?source=rss-d72e092e41a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/298cb0799d84</guid>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[francai]]></category>
            <category><![CDATA[cuisine]]></category>
            <dc:creator><![CDATA[Ndongo Tonux Samb]]></dc:creator>
            <pubDate>Tue, 15 Dec 2015 19:53:27 GMT</pubDate>
            <atom:updated>2022-01-08T00:06:09.445Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*-dtcd0_y41CzRDqgxkdZmg.jpeg" /></figure><p>Depuis longtemps j’essaye d’expliquer à la famille mon travail de tout les jours. Mais je peine souvent à leur faire comprendre à quoi consiste réellement être un développeur.</p><p>Un petit rappel, je suis sénégalais, ingénieur développeur web/mobile. Je suis issus d’une famille de 7 enfants et je suis le 4ème de la famille. Et professionnellement, depuis 2014 je travail dans une entreprise leader du telecom en Afrique de L’Ouest. Chaque jour j’apprend de nouvelles choses et je m’améliore de jour en jour.</p><p>Au début de mes études en informatique, une fois à la maison les week-ends, j’avais toujours mes écouteurs et les yeux fixer sur l’écran de mon laptop. Ma mère disait souvent que j’ai changé et que je suis devenu casanier à cause de mon laptop. Elle me disait “ arrête de jouer sur ton ordi et viens parler avec les gens”. Elle savait pas que 90% de ma formation était basée sur l’utilisation de mon laptop où je faisais mes exercices, lire mes cours, faire des recherches, etc. Meme si parfois je passais du temps sur facebook, twitter et d’autres réseaux sociaux. Ce qui dérangeait le plus à ma mère c’était le fait que je restais tout le temps dans le salon(qui était le QG de la famille) sans parlais ni participais à la discussion. Je commençais à être distant et je passais tout mon temps à la maison devant mon ordinateur.</p><p>Au bout d’un certains moment j’avais su que c’était pas bon ce que je faisais et j’avais commencé à organiser mon emploi du temps pour passer du temps avec la famille. Au bout d’un certain temps j’avais remarqué que j’étais devenu très efficace quand je faisais la programmation et que je faisais des trucs utiles et agréables. Je partageais, même s’ils comprenaient pas, mes tâches à effectuer. J’essayais d’expliquer comment les choses se passaient, comment je faisais si bien mon travail de développeur.</p><p>Maintenant pour expliquer à ma mère ce que je fais comme boulot c’est simple, j’ai pris référence sur la cuisine, une chose qu’elle adore. Quand elle veut préparer du bon “Thiébou Dieune” (Riz au poisson en wolof), il y’a des étapes à suivre de la conception jusqu’à ce que j’entends : “A Table!”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*_zLzcpHtQh7KawlcKOqNbg.jpeg" /></figure><ul><li>La phase d’analyse correspond à la phase ou elle se dit qu’est ce qu’elle va préparer comme plat du jour, qu’est ce qu’elle va utiliser et les ingrédients à mettre.</li><li>La phase de conception correspond au moment où elle définit les étapes à suivre, comment faire le mélange des légumes, les poissons, les “saf-safal” et le riz.</li><li>Le développement de l’application me fait penser au moment où elle commence réellement à faire la cuisine: éplucher tous les légumes couper le chou en quartiers, hacher ensemble 1 oignon, le persil,etc. Faire un trou dans chaque morceau de poisson et le remplir par le mélange de persil (le “roff”). Dans une cocotte, faites chauffez l’huile, faites revenir dedans les morceaux de poissons, etc. Laver le riz et le faire cuire à la vapeur avant de le mettre dans la cocotte avec le restant de sauce, puis mélanger et cuire (surveiller et mélanger)…</li></ul><p>Avec ce petit rappel elle a su que mon boulot n’était pas si simple comme le pense certains et trouve que je suis passionné par ce que je fait.</p><blockquote>Maintenant on me fatigué plus quand je suis dans ma bulle, ils ont même commencé à retenir des termes de développeur. Si je veux pas qu’on me dérange je dis que j’ai un bug et la ils sauront que c’est du serieux.</blockquote><blockquote>Je suis un développeur passionné et j’aime ce que je fais. Par cet expérience j’ai appris comment préparer du thiebou dieune grâce aux explications de ma mère.</blockquote><h3>@tonux</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=298cb0799d84" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>