Back from holidays, CLI and some news

Giuliano1993 - Sep 2 - - Dev Community

Good morning everyone and welcome back, finally, to MonDEV.

We are all more or less back from vacation, perhaps the wisest ones decided to go now that everyone is returning, but the fact is that September has begun and with it, all the new things it brings.

I took some time away from the screen, and some I spent at work, so not everything I wanted to be ready for this return is actually ready, but we are a work in progress and sooner or later there will be news on my site to make the contents I produce more usable and organic, or at least that's my hope! As always, when this happens, you will undoubtedly be the first to know ;)

Meanwhile, you will have to settle for the new logo for MonDEV and the new section that I will add to the newsletter every week, containing two or three articles I read during the week and found particularly interesting and that I want to share with you!

They will probably be insights or practical things, so not necessarily ideal for your Monday morning coffee, but good to accompany you throughout the day or whenever you prefer to read your Dev content.

But now let's move on to the first tool of this new "season" of MonDEV!
Given my never-hidden love for CLI development, I wanted to open this new season with a themed tool!

So, without further ado, I present to you Clack, a library built to develop CLI tools that are pleasant to look at and easy to use. Clack provides both an unstyled version, made up of very primitive types and methods that you will need to extend from your code, or ready-made components to develop your command-line application with its own style! To have the entire package available, just run the command

npm i @clack/core @clack/prompts
Enter fullscreen mode Exit fullscreen mode

After that, you will be ready to start!
You can find an example of various usable components at this link. It's not the most extensive documentation I've ever seen, but it serves the purpose! If instead you want to venture into creating your components, using only the @clack/core library, you can take inspiration from how these components were developed at this link.

I won't drag on any longer, I leave the rest to your inventiveness, having already gone on for quite a while today!

Articles of the week

While waiting to come up with a satisfying name for this section, here are a couple of articles on AI (which often appears in our newsletter):

  1. AI models collapse when trained on recursively generated data: an article on Nature explaining how the massive production of content through AI leads to the collapse of models when this generated material becomes the same material new models train on Link
  2. How to Create Dockerfiles with GenAI: in this Docker blog article, it talks about effectively using generative AI tools to correctly write a functioning Dockerfile! If writing a good file of this type drives you crazy like it does to me, it might be worth reading. Link

Hoping I've given you some interesting ideas, I leave you to this first week of September with the warmest of welcomes back!
Happy Coding 0_1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player