<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: allnulled</title>
    <description>The latest articles on DEV Community by allnulled (@allnulled).</description>
    <link>https://dev.to/allnulled</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F363174%2F26a008c7-e7d0-4590-9b86-5477fb742eb6.jpg</url>
      <title>DEV Community: allnulled</title>
      <link>https://dev.to/allnulled</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/allnulled"/>
    <language>en</language>
    <item>
      <title>Big data, mathematics, and social predictions, nowadays</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Wed, 29 Apr 2020 14:43:12 +0000</pubDate>
      <link>https://dev.to/allnulled/big-data-mathematics-and-social-predictions-nowadays-4l7k</link>
      <guid>https://dev.to/allnulled/big-data-mathematics-and-social-predictions-nowadays-4l7k</guid>
      <description>&lt;p&gt;Hi, all.&lt;/p&gt;

&lt;p&gt;Yes, maths are powerful. And we all are victims of it: 2 ears, 1 mouth, 2 eyes, 1 head, 1 gravity law,...&lt;/p&gt;

&lt;p&gt;We cannot run from mathematics, because we are, &lt;strong&gt;we are mathematics&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Mathematics is an extension of logic, and so it is taught in the factories of the farm: (paid) universities &lt;em&gt;(because University should be Free, but humans are only rats)&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Even our thoughts, emotions and decisions are a mathematical product&lt;/strong&gt;. This, in philosophy, is called &lt;em&gt;determinism&lt;/em&gt;. But in Science, it is an old law of the universe, probably the oldest one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Big data gives information about us, our habits, our decisions, our preferences, our actions, and how they evolve&lt;/strong&gt;. In the world of Big Data, you, your very center of the whole universe, are just a mere variable.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;delete&lt;/span&gt; &lt;span class="nx"&gt;variable&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;We cannot run. And that information is closed to those who can afford it (, am I right, Mr. Zuckerberg?).&lt;/p&gt;

&lt;p&gt;The current state of the world, and the current flow of information it has built along time, has stablished this scenario.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We are just a &lt;em&gt;live&lt;/em&gt; function to disassemble&lt;/strong&gt;. Strictly, this is how mathematical thinking see us. And it is, as usual, right. We are nothing but an encrypted function. That is why your brain is protected with a good bone structure: because of natural encryption.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Human times&lt;/strong&gt;. Humanity is very busy trying to justify mutual slavism. Yes, there are good intentions. But human Economy (this is, the mathematization of natural and artificial resources) does not give a chance. We saw it in the last crysis, we can see it with the current crysis too. It prizes effectiveness, and damn, mathematics are too effective!&lt;/p&gt;

&lt;p&gt;What if the effectiveness to anticipate masses behaviour is something real? What if it has been for centuries already? What if, with Big Data, the formula has been refinated, sophisticated, consolidated?&lt;/p&gt;

&lt;p&gt;And what if the people that can afford the data to fill the formula, also are who know the formula?&lt;/p&gt;

&lt;p&gt;Well, I will tell you what.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Nothing&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Because humans living in farms is real, but scabies with pleasure does not itch. &lt;/p&gt;

</description>
      <category>psychology</category>
      <category>bigdata</category>
      <category>mathematics</category>
      <category>dictatorship</category>
    </item>
    <item>
      <title>Bookmator: markdown + filesystem recursion</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Wed, 29 Apr 2020 10:14:29 +0000</pubDate>
      <link>https://dev.to/allnulled/bookmator-markdown-filesystem-recursion-58e4</link>
      <guid>https://dev.to/allnulled/bookmator-markdown-filesystem-recursion-58e4</guid>
      <description>&lt;p&gt;Hi, sis and bros.&lt;/p&gt;

&lt;p&gt;Yesterday, I released a tool to generate a &lt;strong&gt;markdown&lt;/strong&gt; file from &lt;strong&gt;filesystem tree&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This tool can be useful to maintain &lt;strong&gt;big markdown&lt;/strong&gt; files, because it lets us split our contents in different files and folders.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;--global&lt;/span&gt; bookmator
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h2&gt;
  
  
  Usage
&lt;/h2&gt;

&lt;p&gt;Suposing this file tree:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/README.md
/README/0.introduction.md
/README/1.contents.md
/README/2.end.md
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;We could generate our README file like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;bookmator compile README.md
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;The tool, everytime it matches a &lt;code&gt;md&lt;/code&gt; file, will look always for a folder named the same way but without the extension (&lt;code&gt;.md&lt;/code&gt;). When it is found, the contents of the file are replaced by the contents in the markdown files of the folder. These inner files can follow the same pattern too.&lt;/p&gt;

&lt;p&gt;That is all, this is a very simple tool.&lt;/p&gt;

&lt;p&gt;Happy documentation!&lt;/p&gt;

</description>
      <category>markdown</category>
      <category>filesystem</category>
      <category>documentation</category>
      <category>showdev</category>
    </item>
    <item>
      <title>New tools give pleasure (and think dirty)</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Tue, 28 Apr 2020 07:21:56 +0000</pubDate>
      <link>https://dev.to/allnulled/new-tools-give-pleasure-and-think-dirty-1abh</link>
      <guid>https://dev.to/allnulled/new-tools-give-pleasure-and-think-dirty-1abh</guid>
      <description>&lt;p&gt;Hi, folkies.&lt;/p&gt;

&lt;p&gt;Me have been thinking... about all the colors of the logos and the images of the brands of the languages and frameworks, libraries, and other software we use.&lt;/p&gt;

&lt;p&gt;How beautiful they are!!!&lt;/p&gt;

&lt;p&gt;But hey, listen, the panorama for the developer is still very poor... and I explain why. However, you have to be aware the marketing of the things is not the things.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Environments for everything.&lt;/strong&gt; One group of coders for the app, another for the web (one for the front, another for the back), another for the "devops", another for the IoT, another for the data analysis, another for... Yes, this is the reality.&lt;/p&gt;

&lt;p&gt;Developers are people that learnt to speak logical language with a machine. But each environment requires deep knowledge and understanding of the state of the art of each area. The result is that, despite having the skill that is common, logic and language, the path to become a web developer, mobile app developer, of machine and robots developer, are different. This brings me down a little, because this could (and should) be more standarized. That is why I bet for JavaScript (and, more drastically, for NaturalScript, an adaptation of JavaScript to natural language I personally made, but companies are into their own tools: Golang,.NET, etc. look, I do not want to fight, this is not a battle for me, Bill Gates, I am poor and I will not get out of poverty in this world of rats, despite I brought to these rats a fucking language to use logic no matter what background or skills you have, by vision and sound too, I won already, I do not need a rich person to confirm it with compassion, loser).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. About diversity and competition&lt;/strong&gt;. Having different tools to choose from should not imply a bizarre competition in which they use nasty strategies to block the "competence", while the rich people do agreements on how to keep them working as pigs in the farm, while they all (the rich) can take profit of all these workers they can afford, and have the good life over them. It has to be very easy to agree to block the poor people! It is easy when the law protects you, and your power, and your hegemony, and you big emporium of slavism.&lt;/p&gt;

&lt;p&gt;But hey!!! You are the adapted ones. I only do software to reach the &lt;em&gt;"heaven"&lt;/em&gt;, and get free of such a nasty society.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Tools to confuse&lt;/strong&gt;. Have you ever listened that thing of: &lt;em&gt;do not reinvent the wheel&lt;/em&gt;? Well, the second part of this should be: &lt;em&gt;reinvent it if the wheel is not circular, and the road becomes uncomfortable&lt;/em&gt;. It can be risky, but it will make you better thinker, coder, solver.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Hacked communities and brains&lt;/strong&gt;. Yes, folkies. Each of us is hacked. Family, friends, neighborhood, education, tradition, country, culture, experience, media, knowledge background... we all are tied to many variables that condition our thinking, and thus our behaviour. To connect between people, you will need a bit of luck, or... well, you know, &lt;em&gt;money&lt;/em&gt;. My advise: do not trust anyone, do not rely on anyone (if you can (and you cannot)). This advise tries to prevent you from being brain-hacked. But it is too late for you, we all know.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. You are worthier than your boss&lt;/strong&gt;. Logic is everywhere. Usually, a developer is a person whose ability to put senseful order to the things brings real tools that help others. Maybe, the massification of the profession made a devaluation of what we do. But it is important to understand that our toolkit is based on (and focused on) logic, and logic lives everywhere (even in sex and love, there is a logic, this can seem scary, but the fucking universe seems decided to remain as a logic place). Your boss may know how to manage a company. But you can do practical logic. In reality, creating and maintaining a company should be a logical process. This means that you are in the good way: the logical one.&lt;/p&gt;

&lt;p&gt;Please, consider the importance of neuroscience and neuromarketing.&lt;/p&gt;

&lt;p&gt;All that frameworks, and tools, and languages, etc. are part of marketing strategies. We seggregate things from the brain when we see these shits around.&lt;/p&gt;

</description>
      <category>psychology</category>
      <category>software</category>
      <category>brands</category>
      <category>neuromarketing</category>
    </item>
    <item>
      <title>You cannot see the last uploaded packages of NPM because Microsoft deleted this feature. Most probably to steal software...</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Mon, 27 Apr 2020 14:13:00 +0000</pubDate>
      <link>https://dev.to/allnulled/you-cannot-see-the-last-uploaded-packages-of-npm-because-microsoft-deleted-this-feature-most-probably-to-steal-software-364g</link>
      <guid>https://dev.to/allnulled/you-cannot-see-the-last-uploaded-packages-of-npm-because-microsoft-deleted-this-feature-most-probably-to-steal-software-364g</guid>
      <description>&lt;p&gt;Yes, folks. The farm is real.&lt;/p&gt;

&lt;p&gt;Notice how you will not be able to see the very last packages uploaded to NPM, unless you knew already that they existed, and their names.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Strategy to block progress&lt;/strong&gt;, as usual. The idea of creating Lynda, and not a Free Online University directly, follows the same thinking lines of the &lt;em&gt;old times&lt;/em&gt;, the same as buying companies like &lt;strong&gt;Github&lt;/strong&gt; and &lt;strong&gt;Npm&lt;/strong&gt;. It is simple: people is, mainly, or stupid, or unable to fight them. They are the winners, and they want us, as Steve Jobs said, &lt;strong&gt;hungry and foolish&lt;/strong&gt;. If, beside this, you create software for them, for free, what else can they demmand? Well, wait for it, they always want... no, &lt;strong&gt;they always need more&lt;/strong&gt;. Otherwise, they would not be where they are today.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Strategy to steal software&lt;/strong&gt;, as usual. Remember how was got the first piece of software built by Microsoft? By money. There is a battle, and rats want to fight. But... blocking others is excessive. But this is the tradition: I am rich, I buy your virtues, and put them to work for me (and against competence).&lt;/p&gt;

&lt;p&gt;And nothing will happen.&lt;/p&gt;

&lt;p&gt;You are used to be abused and stay ok. This is the world... Is not it?&lt;/p&gt;

&lt;p&gt;Let us see the video again.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://m.youtube.com/watch?v=xRwgdZxYL-E"&gt;https://m.youtube.com/watch?v=xRwgdZxYL-E&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fun, anyone?&lt;/p&gt;

</description>
      <category>npm</category>
      <category>software</category>
      <category>microsoft</category>
    </item>
    <item>
      <title>Paid education: the seed for classism</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Mon, 27 Apr 2020 03:24:02 +0000</pubDate>
      <link>https://dev.to/allnulled/paid-education-the-seed-for-classism-52en</link>
      <guid>https://dev.to/allnulled/paid-education-the-seed-for-classism-52en</guid>
      <description>&lt;p&gt;I try, I swear it. But when I come across &lt;strong&gt;Coursera&lt;/strong&gt;, &lt;strong&gt;Lynda&lt;/strong&gt;, and other platforms of eLearning... oh, it pisses me off.&lt;/p&gt;

&lt;p&gt;The best part comes when you talk to them about the Free Online University, and they say: &lt;em&gt;"there is a lot of information on the internet, you do not need to pay if you want!"&lt;/em&gt;. Well, let me tell you, please, one thing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;if you have time to put order to the chaos you ignored till yesterday, and...&lt;/li&gt;
&lt;li&gt;if you do not mind to study something that will not provide you with any official (by the State and the Law) homologation or accreditation...&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;...then yes, pick a course on Coursera and fill better with yourself.&lt;/p&gt;

&lt;p&gt;But, honestly, I can see, with these little things, why universe is smaller than I used to think.&lt;/p&gt;

&lt;p&gt;Is it so difficult to understand the relevance of sharing what we know, as a collective, to be trustable?&lt;/p&gt;

&lt;p&gt;Ok, we conform with this situation, where each person uses the law that that bastards (sorry, politicians, but you have not yet solved free education, you are just bastards opportunists) created to take &lt;strong&gt;profit&lt;/strong&gt; from and &lt;strong&gt;advantage&lt;/strong&gt; of the rest of the society.&lt;/p&gt;

&lt;p&gt;I feel sad to check that &lt;strong&gt;unefficiency&lt;/strong&gt; and inoperance are key for capitalism to keep itself healthy with mediocre leaders, in the economical, educational, political.&lt;/p&gt;

&lt;p&gt;People that need to exploit others ignorance to fit in society as they think they deserve.&lt;/p&gt;

&lt;p&gt;Remember that, when I share an apple, I lose one apple. When I share a knowledge, I do not lose the knowledge.&lt;/p&gt;

&lt;p&gt;Of course, elitism, classism, imposed ignorance or different ways of social supremacy, like the economy tries to, are too fashion to be overcome.&lt;/p&gt;

&lt;p&gt;We are only at 2020. Covid-19 is not enough to see that we are already rich, that it is our poor mentality of life what makes extreme poverty and extreme wealth, dirty the natural identity of human beings.&lt;/p&gt;

</description>
      <category>covid</category>
      <category>education</category>
      <category>coursera</category>
      <category>university</category>
    </item>
    <item>
      <title>Companies and universities have a problem with the word "free"</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Sun, 26 Apr 2020 07:46:28 +0000</pubDate>
      <link>https://dev.to/allnulled/companies-and-universities-problem-with-the-word-free-3f7n</link>
      <guid>https://dev.to/allnulled/companies-and-universities-problem-with-the-word-free-3f7n</guid>
      <description>&lt;p&gt;A Free Online University with official knowledge seems impossible in a world dominated by fear and ignorance (see: COVID-19 history hit).&lt;/p&gt;

&lt;p&gt;However, today lots of potential students have to stand an elitistic, imposed model of society based on money and laws that defend big bank accounts without a maximum limit number.&lt;/p&gt;

&lt;p&gt;"Free" becomes a forbidden word in this context, where even the most clever and generous people have to adapt to the market and its demmand: no money for investigation, unless it carries economical benefit for the capitalist.&lt;/p&gt;

&lt;p&gt;Of course, China has to have a better education system. We do not know too much about China, but I am sure they do not have to pay thousands for one year of university career.&lt;/p&gt;

&lt;p&gt;Of course: they do not compite, they collaborate.&lt;/p&gt;

&lt;p&gt;They say that China is a fascist state. But I do not see the difference between what China does, and what media does with the time they have to educate and show people the world.&lt;/p&gt;

</description>
      <category>free</category>
      <category>online</category>
      <category>university</category>
    </item>
    <item>
      <title>Create your programming language, online and for free!</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Sun, 26 Apr 2020 06:50:45 +0000</pubDate>
      <link>https://dev.to/allnulled/create-your-programming-language-online-and-for-free-41fk</link>
      <guid>https://dev.to/allnulled/create-your-programming-language-online-and-for-free-41fk</guid>
      <description>&lt;p&gt;Hi, folks.&lt;/p&gt;

&lt;p&gt;Have you ever wanted to create your programming language?&lt;/p&gt;

&lt;p&gt;LET'S DO IT IN 3 MINUTES.&lt;/p&gt;

&lt;h1&gt;
  
  
  1. Open the languages creator app
&lt;/h1&gt;

&lt;p&gt;Go here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://allnulled.github.io/language-generator-online/"&gt;https://allnulled.github.io/language-generator-online/&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  2. Know PEGjs syntax
&lt;/h1&gt;

&lt;p&gt;We are using PEGjs under the hood, a parser generator tool for JavaScript. Here the docs:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pegjs.org/documentation"&gt;https://pegjs.org/documentation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will need to understand its syntax to create complex languages. But it is worthy.&lt;/p&gt;

&lt;h1&gt;
  
  
  3. Create project, syntax and example
&lt;/h1&gt;

&lt;p&gt;The application will bring you, step by step, to create your language.&lt;/p&gt;

&lt;p&gt;It is a good tool to use offline and from mobile phones.&lt;/p&gt;

&lt;p&gt;This means that you can create programming languages while you are walking on the streets.&lt;/p&gt;

&lt;p&gt;Is not that awesome???&lt;/p&gt;

&lt;p&gt;Happy language creation!!!&lt;/p&gt;

</description>
      <category>language</category>
      <category>create</category>
    </item>
    <item>
      <title>Document APIs with Javadoc: from comments to README, in a nut!</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Sun, 26 Apr 2020 06:20:42 +0000</pubDate>
      <link>https://dev.to/allnulled/document-apis-with-javadoc-from-comments-to-readme-in-a-nut-597i</link>
      <guid>https://dev.to/allnulled/document-apis-with-javadoc-from-comments-to-readme-in-a-nut-597i</guid>
      <description>&lt;p&gt;Documenting code is usually needed for others to understand what we do.&lt;/p&gt;

&lt;p&gt;I created, time ago, &lt;a href="https://www.npmjs.com/package/javadoc"&gt;&lt;code&gt;javadoc&lt;/code&gt;&lt;/a&gt;, an &lt;code&gt;npm&lt;/code&gt; module to fastly generate &lt;code&gt;json/markdown&lt;/code&gt; from any source code file, from a comfortable command line interface.&lt;/p&gt;

&lt;p&gt;Personally, I document all my projects with it, and you can do it as well.&lt;/p&gt;

&lt;p&gt;This is how I exploit this tool.&lt;/p&gt;

&lt;h1&gt;
  
  
  1. Install
&lt;/h1&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;npm i &lt;span class="nt"&gt;-g&lt;/span&gt; javadoc
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h1&gt;
  
  
  2. Comment your code
&lt;/h1&gt;

&lt;p&gt;This can be done with any programming language.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="cm"&gt;/**
 * 
 * #### `myFunction(variable:Type):TypeReturned`
 * 
 * @name myFunction
 * @parameter
 * @parameter - `variable:Type` Description
 * @return `TypeReturned`
 * @description Description
 * 
 */&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;This comment will become fresh Markdown code that we can insert in the &lt;code&gt;README.md&lt;/code&gt; file of our project, directly.&lt;/p&gt;

&lt;h1&gt;
  
  
  3. Generate documentation
&lt;/h1&gt;

&lt;p&gt;To generate a markdown file with all our comments, we run in the console:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;javadoc
  &lt;span class="nt"&gt;--include&lt;/span&gt; filesOne/&lt;span class="k"&gt;**&lt;/span&gt;/&lt;span class="k"&gt;*&lt;/span&gt;.js
  &lt;span class="nt"&gt;--format&lt;/span&gt; markdown
  &lt;span class="nt"&gt;--output&lt;/span&gt; README.md
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Gotcha!!!&lt;/p&gt;

&lt;p&gt;Your project was documented successfully.&lt;/p&gt;

&lt;p&gt;Happy documenting!!!&lt;/p&gt;

</description>
      <category>readme</category>
      <category>api</category>
      <category>markdown</category>
    </item>
    <item>
      <title>Skemator: the easiest diagram scripting tool you will find</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Mon, 13 Apr 2020 12:02:00 +0000</pubDate>
      <link>https://dev.to/allnulled/skemator-the-easiest-diagram-scripting-tool-you-will-find-hpg</link>
      <guid>https://dev.to/allnulled/skemator-the-easiest-diagram-scripting-tool-you-will-find-hpg</guid>
      <description>&lt;p&gt;This post is to talk about a tool that I have just updated to 1.0.6 version: &lt;a href="https://github.com/allnulled/skemator"&gt;Skemator&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;First, install it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;npm i &lt;span class="nt"&gt;-g&lt;/span&gt; skemator
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;You do not need to install it globally, but it is more handy.&lt;/p&gt;

&lt;p&gt;Then, write a script:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sample.skm&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Hello]
 [pets]
 [humans]
  [from]
   [here]
   [there]
 [plants]
 [mountains]
[here] --they are also--&amp;gt; [humans]
[there] --they are also--&amp;gt; [humans]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Then, compile the script to a &lt;code&gt;png&lt;/code&gt; image:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;skemator compile sample.skm &lt;span class="nt"&gt;--png&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;And tada! You got your diagram. Here it is:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ybzHIGBP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/xo5epamnv4vqsxxjg07a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ybzHIGBP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/xo5epamnv4vqsxxjg07a.png" alt="Generated diagram"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You are welcome, because it is What The Fuck Public License, so do what the fuck you want with it.&lt;/p&gt;

&lt;p&gt;Happy coding.&lt;/p&gt;

&lt;p&gt;I live with less than 100€. I do not ask for a job, I just want to smoke weed and live coding for everyone.&lt;/p&gt;

&lt;p&gt;But nobody cares, they are competing to be dishonest and greedy.&lt;/p&gt;

</description>
      <category>skemator</category>
      <category>mermaid</category>
      <category>diagram</category>
    </item>
    <item>
      <title>Live web scrapping with JS</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Sat, 11 Apr 2020 09:02:11 +0000</pubDate>
      <link>https://dev.to/allnulled/live-web-scrapping-with-js-3nl6</link>
      <guid>https://dev.to/allnulled/live-web-scrapping-with-js-3nl6</guid>
      <description>&lt;p&gt;Despite the popular clam (irony) after my previous post of &lt;strong&gt;live debugging with nodelive&lt;/strong&gt;, I will keep sharing the software I wrote.&lt;/p&gt;

&lt;p&gt;First, install &lt;code&gt;web2os&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;npm i &lt;span class="nt"&gt;-g&lt;/span&gt; web2os
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;And then, write your first scrap, to... (muaaahahahaha!!) Google search:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;web2os&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
 &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
 &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://www.google.com&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
 &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;onWeb&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;done&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
   &lt;span class="nx"&gt;done&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
 &lt;span class="p"&gt;})&lt;/span&gt;
 &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;onOs&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;done&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
   &lt;span class="nx"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;fs&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;writeFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
     &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Google title.txt&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;utf8&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;done&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
   &lt;span class="p"&gt;);&lt;/span&gt;
 &lt;span class="p"&gt;})&lt;/span&gt;
 &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;run&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
   &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;DONE!&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
 &lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Then we have to run it. We need &lt;code&gt;electron&lt;/code&gt; for that. If you have it installed, proceed (otherwise, install it and proceed):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;electron scrap.js
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;A Chrome browser will open and (muahahahahaha) start to obey your code.&lt;/p&gt;

&lt;p&gt;Happy coding.&lt;/p&gt;

</description>
      <category>web2os</category>
    </item>
    <item>
      <title>Node.js code injection with nodelive</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Fri, 10 Apr 2020 10:58:35 +0000</pubDate>
      <link>https://dev.to/allnulled/node-js-code-injection-with-nodelive-517p</link>
      <guid>https://dev.to/allnulled/node-js-code-injection-with-nodelive-517p</guid>
      <description>&lt;p&gt;This is a small tutorial on how to debug your any Node.js program from your preferred editor.&lt;/p&gt;

&lt;p&gt;You will be able to open a Node.js 'shell' to stop your program at some point of the code.&lt;/p&gt;

&lt;p&gt;First, install &lt;code&gt;nodelive&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;npm i &lt;span class="nt"&gt;-s&lt;/span&gt; nodelive
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Second, import the package:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;nodelive&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;nodelive&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Finally, open the editor:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;nodelive&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;editor&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;custom&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;vars&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;And boom!!! You are inside.&lt;/p&gt;

&lt;p&gt;To output things by console, you con log them or return them.&lt;/p&gt;

&lt;p&gt;You can use &lt;code&gt;await&lt;/code&gt; directly, no need to wrap the code in the editor, which is very handy.&lt;/p&gt;

&lt;p&gt;To get out and continue your program, just save the file automatically opened, empty.&lt;/p&gt;

&lt;p&gt;And three more notes.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;await&lt;/code&gt; keyword will make the debugging blockant.&lt;/li&gt;
&lt;li&gt;It will try to open &lt;a href="https://www.sublimetext.com/"&gt;Sublime Text&lt;/a&gt; by default. To configure this, set the variable:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;nodelive&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;PREFERRED_EDITOR&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;brackets&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;The docs of the project are here:
&lt;a href="https://github.com/allnulled/nodelive"&gt;https://github.com/allnulled/nodelive&lt;/a&gt;. You will find other utilities inside, like asking for strings or option selectors, things like that.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>debug</category>
      <category>live</category>
      <category>node</category>
    </item>
    <item>
      <title>More shared projects at Github than Euros in my bank account</title>
      <dc:creator>allnulled</dc:creator>
      <pubDate>Thu, 09 Apr 2020 08:12:55 +0000</pubDate>
      <link>https://dev.to/allnulled/more-shared-projects-at-github-than-euros-in-my-bank-account-4j0n</link>
      <guid>https://dev.to/allnulled/more-shared-projects-at-github-than-euros-in-my-bank-account-4j0n</guid>
      <description>&lt;p&gt;I have more projects under free software license in Github, than Euros in my bank account.&lt;/p&gt;

&lt;p&gt;I usually smoke marijuana, but I cannot afford it with less than 100 euros.&lt;/p&gt;

&lt;p&gt;They say Covid is a nightmare. And human rats are not?&lt;/p&gt;

&lt;p&gt;Look at them. They act like zombies, they are insensitive to information.&lt;/p&gt;

&lt;p&gt;8 people concentrate the same wealth than half humanity, this is 4.000.000.000. No reaction. Big up, Bill, big up...&lt;/p&gt;

&lt;p&gt;Average salary in the neighbour country is less than half of here. No reaction.&lt;/p&gt;

&lt;p&gt;TV news only talk about these specific countries, we are not being informed about the world, only about the world some people (you do not know) want to tell you. No reaction.&lt;/p&gt;

&lt;p&gt;There is more, of course.&lt;/p&gt;

&lt;p&gt;But... guess what. Exactly, NO REACTION.&lt;/p&gt;

&lt;p&gt;OK. I better keep "hungry, foolish", as Stebe Jobs would say.&lt;/p&gt;

&lt;p&gt;Thanks rats, this is your game, not the mine.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
