<?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: Dima Sukharev</title>
    <description>The latest articles on DEV Community by Dima Sukharev (@disukharev).</description>
    <link>https://dev.to/disukharev</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%2F1023071%2F4f075943-edb5-40ee-b519-2bf37dd62d27.png</url>
      <title>DEV Community: Dima Sukharev</title>
      <link>https://dev.to/disukharev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/disukharev"/>
    <language>en</language>
    <item>
      <title>OpenCommit: feature-rich CLI to generate meaningful git commit messages now supports local models via Ollama 🤯🔫</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Wed, 28 Feb 2024 14:01:39 +0000</pubDate>
      <link>https://dev.to/disukharev/opencommit-feature-rich-cli-to-generate-meaningful-git-commit-messages-now-supports-local-models-via-ollama-5435</link>
      <guid>https://dev.to/disukharev/opencommit-feature-rich-cli-to-generate-meaningful-git-commit-messages-now-supports-local-models-via-ollama-5435</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgf9b8a2qdfipahoz1cm9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgf9b8a2qdfipahoz1cm9.png" alt="OpenCommit logo"&gt;&lt;/a&gt;&lt;br&gt;
Hi&lt;/p&gt;

&lt;p&gt;OpenCommit is a CLI to generate commit messages, you can try it right now by running &lt;code&gt;npx opencommit&lt;/code&gt; in any repo you have changed code in. I suggest you use &lt;code&gt;bunx opencommit&lt;/code&gt; (install &lt;a href="https://bun.sh" rel="noopener noreferrer"&gt;Bun&lt;/a&gt;) or install OpenCommit globally &lt;code&gt;npm i -g opencommit&lt;/code&gt; and then run &lt;code&gt;oco&lt;/code&gt; which is a shorthand.&lt;/p&gt;

&lt;p&gt;Anyway see the README: &lt;a href="https://github.com/di-sukharev/opencommit" rel="noopener noreferrer"&gt;https://github.com/di-sukharev/opencommit&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;OpenCommit got 5k stars since the launch. More than 1 hundred PRs have been merged and now we support local Ollama!&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi3uh1zkso0qtpzt6xh6y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi3uh1zkso0qtpzt6xh6y.png" alt="Ollama logo"&gt;&lt;/a&gt;&lt;br&gt;
Originally OpenCommit worked with OpenAI apis, but if you dont want to share your code base with 3rd party you can now use an LLM running locally, including Mixtral8x7B, llama and other open-source models.&lt;/p&gt;

&lt;p&gt;All the latest OpenAI models are also supported if you want to trade your money for the best performance.&lt;/p&gt;

&lt;p&gt;Anyway, OpenCommit is the most feature-rich CLI to generate git commit messages out there, i mean in the open-source.&lt;/p&gt;

&lt;p&gt;We support tens of different languages, you can integrate opencommit into a git hook, there is a GitHub Action that can improve all the commits in a repository, you can do Conventional Commits and GitMoji, integrate with commitlint, and lots of other things!&lt;/p&gt;

&lt;p&gt;We also got first place in DIY Deployments Track in the latest &lt;a href="https://dev.to/devteam/github-dev-2023-hackathon-winners-announced-236o"&gt;GitHub+Dev 2023 hackathon&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Set it up yourself: &lt;a href="https://github.com/di-sukharev/opencommit" rel="noopener noreferrer"&gt;https://github.com/di-sukharev/opencommit&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7xnshh9addey717ikgwc.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7xnshh9addey717ikgwc.gif" alt="mind-blowing"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;follow me on twitter, khm-khm, on X! &lt;a href="https://twitter.com/_sukharev_" rel="noopener noreferrer"&gt;https://twitter.com/_sukharev_&lt;/a&gt; for more open-source hits&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>opensource</category>
      <category>git</category>
      <category>ai</category>
    </item>
    <item>
      <title>OpenCommit: GitHub Action to improve commits with meaningful messages on every `git push` 🤯🔫</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Sun, 21 May 2023 12:02:07 +0000</pubDate>
      <link>https://dev.to/disukharev/opencommit-github-action-to-improve-commits-with-meaningful-messages-on-every-git-push-1i3a</link>
      <guid>https://dev.to/disukharev/opencommit-github-action-to-improve-commits-with-meaningful-messages-on-every-git-push-1i3a</guid>
      <description>&lt;p&gt;Hi Hackers,&lt;/p&gt;

&lt;p&gt;About 10 days ago, I came across the #GitHubHack23 &lt;a href="https://dev.to/devteam/announcing-the-github-dev-2023-hackathon-4ocn"&gt;post&lt;/a&gt; and then I thought: "Hmm... ain't I got something to contribute?" — squinting my eyes like this 😑 &lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Meet OpenCommit as a GitHub Action 🪅&lt;/p&gt;

&lt;p&gt;With OpenCommit action set in a repository, every commit pushed is automatically improved with a meaningful message about what was changed and the rationale behind those changes.&lt;/p&gt;

&lt;p&gt;You can find the Action in the GitHub marketplace &lt;a href="https://github.com/marketplace/actions/opencommit-improve-commits-with-ai"&gt;here&lt;/a&gt; and follow the instructions to set it up in your repository.&lt;/p&gt;

&lt;p&gt;Thanks to &lt;a class="mentioned-user" href="https://dev.to/mishmanners"&gt;@mishmanners&lt;/a&gt; for &lt;a href="https://dev.to/mishmanners/comment/26a1f"&gt;clarifying that building great things on top of existing great things is a great thing&lt;/a&gt; 💚&lt;/p&gt;

&lt;h3&gt;
  
  
  Category Submission:
&lt;/h3&gt;

&lt;p&gt;I'm submitting the Action for the 'Maintainer Must-Haves' category as it helps maintainers follow a rational behind the changes contributed by reading clean and meaningful commit messages.&lt;/p&gt;

&lt;p&gt;And I'm also submitting the Action for the 'DIY Deployments' category as a custom CI script that improves open-source collaboration experience.&lt;/p&gt;

&lt;h3&gt;
  
  
  App Link
&lt;/h3&gt;

&lt;p&gt;You can access the Action page &lt;a href="https://github.com/marketplace/actions/opencommit-improve-commits-with-ai"&gt;here&lt;/a&gt;, and the repository &lt;a href="https://github.com/di-sukharev/opencommit"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Screenshots
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--TEZo45XD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5ah0laqqng0ntdp4mdtj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--TEZo45XD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5ah0laqqng0ntdp4mdtj.png" alt="OpenCommit comparison png" width="800" height="406"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;div&gt;
  &lt;iframe src="https://loom.com/embed/3cb2353850d84e908d56cb930b9b8fc1"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;


&lt;h3&gt;
  
  
  Description
&lt;/h3&gt;

&lt;p&gt;With &lt;a href="https://github.com/marketplace/actions/opencommit-improve-commits-with-ai"&gt;the Action&lt;/a&gt; set in a repository, all commits are automatically improved with meaningful, clear, and easy-to-follow messages on every push to any branch.&lt;/p&gt;

&lt;p&gt;You may exclude branches like &lt;code&gt;main&lt;/code&gt; and &lt;code&gt;dev&lt;/code&gt; from the Action via a custom setting.&lt;/p&gt;

&lt;p&gt;Here's &lt;a href="https://github.com/marketplace/actions/opencommit-improve-commits-with-ai#setup-opencommit-as-a-github-action-"&gt;how to set up&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Link to Source Code
&lt;/h3&gt;

&lt;p&gt;Find the source code for the Action &lt;a href="https://github.com/di-sukharev/opencommit/blob/master/src/github-action.ts"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Permissive License
&lt;/h3&gt;

&lt;p&gt;OpenCommit is distributed under the MIT License — you can find the license &lt;a href="https://github.com/di-sukharev/opencommit/blob/master/LICENSE"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Background
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--855l6Qlj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zd1gm30cj7lxgei0apvr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--855l6Qlj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zd1gm30cj7lxgei0apvr.png" alt="i'am something of a maintainer myself meme" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I was inspired to create OpenCommit from my experiences as a maintainer. When there are tens of PRs waiting to be merged — it's a true joy to open a PR and follow a trail of meaningful commit messages that tell you what changed and why.&lt;/p&gt;

&lt;p&gt;And now if some of the contributions lack clear and concise commit messages — you set OpenCommit GitHub Action on top of your repo to solve the problem and auto-improve commit messages on every push to any branch you want.&lt;/p&gt;

&lt;h3&gt;
  
  
  How I Built It
&lt;/h3&gt;

&lt;p&gt;Wow, it's a long story :)&lt;/p&gt;

&lt;p&gt;The journey of creating this GitHub Action started with a known problem in the current GitHub ecosystem: the quality and consistency of commit messages depends on a collaborator. I decided to develop a solution leveraging GitHub Actions and OpenCommit to make commit messages being auto-generated for all the collaborators.&lt;/p&gt;

&lt;p&gt;I guess, with more and more powerful LLMs coming — we are the last generation of engineers who are manually typing the commit messages (and maybe typing at all lol)&lt;/p&gt;

&lt;h4&gt;
  
  
  The Stack
&lt;/h4&gt;

&lt;p&gt;The Action is built using TypeScript and Node.js, popular choices for GitHub Actions due to their excellent support for asynchronous operations, a crucial requirement considering the multiple I/O operations involved. In the initial setup, I used the &lt;a href="https://github.com/actions/toolkit"&gt;actions/toolkit&lt;/a&gt; package which provides useful utilities to streamline the creation of GitHub Actions. I picked &lt;code&gt;@actions/core&lt;/code&gt; for basic functionalities such as inputs, outputs, and error handling, &lt;code&gt;@actions/github&lt;/code&gt; to interact with GitHub's REST API, and &lt;code&gt;@actions/exec&lt;/code&gt; to execute shell commands.&lt;/p&gt;

&lt;h4&gt;
  
  
  The Algorithm
&lt;/h4&gt;

&lt;p&gt;The core function of the action is improving commit messages. I achieved this by combining GitHub's APIs with the openAI's GPT (3.5 model — cheap and powerful). I utilized Octokit, GitHub’s official client library for Node.js, to fetch commit messages from the PR context. These commit messages are then passed as prompts to the openAI API, which then generates an enhanced version of each commit message. &lt;/p&gt;

&lt;h4&gt;
  
  
  Workflow and Usage
&lt;/h4&gt;

&lt;p&gt;The action is designed to run on &lt;code&gt;push&lt;/code&gt; events, specifically when a new commit is pushed to a PR. This triggers the action, which then fetches the commit messages, improves them as per &lt;a href="https://www.conventionalcommits.org/en/v1.0.0/"&gt;Conventional Commits concept&lt;/a&gt;, and finally replaces the original ones.&lt;/p&gt;

&lt;p&gt;You may also turn on &lt;a href="https://gitmoji.dev/"&gt;GitMoji convention&lt;/a&gt; if you prefer your messages baked with emojis 🤠&lt;/p&gt;

&lt;h4&gt;
  
  
  Testing and Refactoring
&lt;/h4&gt;

&lt;p&gt;The initial prototype had some shortcomings; for instance, it did not handle errors and exceptions well, making it less robust. Therefore, a significant amount of time was spent on refactoring the codebase. The action was thoroughly tested across a variety of scenarios to ensure its reliability and robustness.&lt;/p&gt;

&lt;h4&gt;
  
  
  Challenges and Learnings
&lt;/h4&gt;

&lt;p&gt;Throughout the journey, there were numerous challenges. However, they presented learning opportunities. One significant challenge was ensuring the correct handling of Git commands in different environments. I learned a great deal about GitHub Actions internal workings, and how to manage and manipulate commit histories. Another challenge was working with the GPT API and optimize the calls to make the tool run cheap.&lt;/p&gt;

&lt;h4&gt;
  
  
  Future Improvements
&lt;/h4&gt;

&lt;p&gt;Building on an already powerful package that offers an array of features was a pivotal part of this GitHub Action. The base package supports more than ten languages, incorporates GitMoji, and offers robust algorithms to manage any-size commit diffs. This, combined with smart prompts for GPT to generate the best commit message results, provides a solid foundation for future enhancements. &lt;/p&gt;

&lt;p&gt;Looking ahead, I plan to introduce more customization options, allowing users to specify the level of verbosity and the style of their commit messages with prefixes and postfixes. &lt;/p&gt;

&lt;p&gt;Additionally, I aim to enhance language support further, catering to global non-English speaking users, thus broadening the action's reach. &lt;/p&gt;

&lt;p&gt;I'm also adding &lt;a href="https://github.com/features/codespaces"&gt;GitHub Codespaces&lt;/a&gt; configs to the repo to make open-source collaboration experience easier — you would just click "Run in a Codespace" on the README and instantly create a PR from your browser 🧙&lt;/p&gt;

&lt;p&gt;In conclusion, the development of this GitHub Action has been a highly rewarding process, full of valuable learnings about GitHub's ecosystem, CI/CD practices, Git operations, and the power of AI in automating mundane tasks.&lt;/p&gt;

&lt;h3&gt;
  
  
  Additional Resources/Info
&lt;/h3&gt;

&lt;p&gt;Here are some helpful resources that guided me in this project:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://dev.to/devteam/announcing-the-github-dev-2023-hackathon-4ocn"&gt;#GitHubHack23+dev.to post&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.github.com/en/actions"&gt;GitHub Actions documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/actions/toolkit"&gt;JavaScript Actions Toolkit Library&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A big thank you to &lt;a class="mentioned-user" href="https://dev.to/mishmanners"&gt;@mishmanners&lt;/a&gt;, &lt;a href="https://dev.to/github"&gt;@github&lt;/a&gt;, and &lt;a href="https://dev.to"&gt;dev.to&lt;/a&gt; for such a fun 10 days 😅&lt;/p&gt;

&lt;p&gt;Feel free to give &lt;a href="https://github.com/marketplace/actions/opencommit-improve-commits-with-ai"&gt;OpenCommit&lt;/a&gt; a try in your projects, and any feedback is welcomed!&lt;/p&gt;

&lt;p&gt;I need to get some sleep now&lt;/p&gt;

&lt;h1&gt;
  
  
  GitHubHack23 🪩
&lt;/h1&gt;

</description>
      <category>githubhack23</category>
      <category>opensource</category>
      <category>githubactions</category>
      <category>git</category>
    </item>
    <item>
      <title>OpenCommit: killing lame commits with generative AI 🤯🔫 (open-source)</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Mon, 01 May 2023 09:25:38 +0000</pubDate>
      <link>https://dev.to/disukharev/opencommit-killing-lame-commits-with-generative-ai-open-source-2gcd</link>
      <guid>https://dev.to/disukharev/opencommit-killing-lame-commits-with-generative-ai-open-source-2gcd</guid>
      <description>&lt;p&gt;&lt;em&gt;first — let's grow &lt;a href="https://twitter.com/_sukharev_"&gt;my twitter&lt;/a&gt;, so i can tell about my inventions quicker and make the world even better place (or not, idk)&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0lQBHN3T--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fdik9aq5iwk3e4bqsqbk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0lQBHN3T--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fdik9aq5iwk3e4bqsqbk.png" alt="opencommit — comparison" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A month ago I opensourced &lt;a href="https://github.com/di-sukharev/opencommit"&gt;OpenCommit&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Now you can switch to GPT-4 and see how it answers WHY and WHAT change was done 🤯🔫&lt;/p&gt;

&lt;h2&gt;
  
  
  How to install OpenCommit
&lt;/h2&gt;

&lt;p&gt;Simply install it globally with npm, to use in any repo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i &lt;span class="nt"&gt;-g&lt;/span&gt; opencommit
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After installing type &lt;code&gt;oc&lt;/code&gt; and hit "Enter" in a terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;oc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you want to edit a commit and make OpenCommit to be used by your IDE do:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;oc hook &lt;span class="nb"&gt;set&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it — have fun ;)&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>git</category>
      <category>productivity</category>
      <category>ai</category>
    </item>
    <item>
      <title>GPT-4 plays DND with difficulty checks!</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Fri, 28 Apr 2023 07:54:08 +0000</pubDate>
      <link>https://dev.to/disukharev/gpt-4-plays-dnd-with-4-of-us-its-insane-youtube-45db</link>
      <guid>https://dev.to/disukharev/gpt-4-plays-dnd-with-4-of-us-its-insane-youtube-45db</guid>
      <description>&lt;p&gt;its gonna blow your head off&lt;/p&gt;

&lt;p&gt;here is the GPT-4 acting as a Dungeon Master with a party of me and 3 of my friends&lt;/p&gt;

&lt;p&gt;i will code this thing a web Game, so you are not bothered with drawing on Team Bonding calls ;)&lt;/p&gt;

&lt;p&gt;repost the &lt;a href="https://twitter.com/io_Y_oi/status/1650770815707672576"&gt;twit&lt;/a&gt; to tell more people about it and follow me to be the first to know when The Game is public&lt;/p&gt;




&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/P6WZf7Hq2Ts"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  Transcript
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Welcome to Retrotopia, a realm where retro-futuristic aesthetics and innovative technologies collide. Your party of four heroes—Max Voltage, Cassie Chroma, Rex Rocket, and Maxine Flash—find themselves in the heart of Neon City, a bustling metropolis filled with holographic billboards, solar-powered skyscrapers, and vibrant nightlife. As you stand in the city center, a holographic news broadcast catches your attention. The broadcast reveals that a mysterious villain known as the Pixel Phantom has been causing chaos throughout Retrotopia, corrupting the digital infrastructure and turning once-peaceful AI creatures hostile.&lt;/p&gt;

&lt;p&gt;Your quest is to track down the Pixel Phantom and put an end to their reign of terror. To begin your journey, you have three options:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Investigate the recent AI attacks at a nearby arcade (DC: 10)&lt;/li&gt;
&lt;li&gt;Visit the local inventor's workshop to gather information on the Pixel Phantom (DC: 8)&lt;/li&gt;
&lt;li&gt;Search for clues in the city's digital underground network (DC: 12)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What will your party do?&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Max — what is my inventory?&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Max Voltage, your inventory consists of the following items:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Arc Disruptor — A wrist-mounted energy weapon that emits powerful electrical discharges. DC: 12 to check aim accurately.&lt;/li&gt;
&lt;li&gt;Conductive Suit — A suit made of advanced plastic fibers that enhances electric-based abilities. DC: 10 to check amplify electric effects.&lt;/li&gt;
&lt;li&gt;Static Boots — Boots that generate electric charges for enhanced movement and jumps. DC: 11 to check avoid electric overload.&lt;/li&gt;
&lt;li&gt;Plasma Grenades — Spherical plastic grenades filled with volatile plasma energy. DC: 9 to check throw precisely.&lt;/li&gt;
&lt;li&gt;Energy Capacitor — A portable power cell used to charge various electric devices. DC: 8 to check connect/disconnect safely.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Maxine — we go to the arcade to ask locals about Pixel Phantom&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Maxine leads the party to the nearby arcade, where the vibrant lights and sounds of retro games fill the air. As you enter, you notice that the once-peaceful AI creatures have become hostile, attacking the arcade machines and patrons. The party decides to ask the locals about the Pixel Phantom while fending off the aggressive AI creatures.&lt;/p&gt;

&lt;p&gt;Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage uses his Arc Disruptor to protect the party from the hostile AI creatures (DC: 12)&lt;/li&gt;
&lt;li&gt;Cassie Chroma hacks into the arcade's security system to help contain the AI creatures (DC: 10)&lt;/li&gt;
&lt;li&gt;Rex Rocket uses his Rocket Blasters to quickly navigate the arcade and gather information from the locals (DC: 12)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Choose an action or suggest your own.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  rex — what do i have in inventory?&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Rex Rocket, your inventory consists of the following items:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Rocket Blasters — A set of powerful jet thrusters for high-speed aerial maneuvers. DC: 12 to check perform complex aerial stunts.&lt;/li&gt;
&lt;li&gt;Aerodynamic Armor — Lightweight plastic armor designed for optimal flight performance. DC: 10 to check adjust flight stability.&lt;/li&gt;
&lt;li&gt;Pulse Pistol — A compact energy weapon that fires concentrated energy pulses. DC: 11 to check shoot moving targets.&lt;/li&gt;
&lt;li&gt;Retrotopia Map — A holographic map of the entire Retrotopia landscape. DC: 9 to check locate hidden areas.&lt;/li&gt;
&lt;li&gt;Emergency Parachute — A compact plastic parachute for emergency landings. DC: 8 to check deploy in time.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Cassie — i ask locals about the phantom&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Cassie Chroma approaches the locals, who are trying to avoid the hostile AI creatures. She asks them about the Pixel Phantom while keeping an eye on her teammates as they fend off the AI creatures.&lt;/p&gt;

&lt;p&gt;Roll a d20 to see if Cassie can gather useful information from the locals (DC: 10).&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  16&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Cassie successfully gathers information from the locals, who reveal that the Pixel Phantom has been spotted near an abandoned virtual reality (VR) arcade on the outskirts of Neon City. They also mention that the Phantom seems to be using the VR arcade as a base to corrupt the digital infrastructure and control the AI creatures.&lt;/p&gt;

&lt;p&gt;With this new information, your party has three options:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Head straight to the abandoned VR arcade to confront the Pixel Phantom (DC: 12)&lt;/li&gt;
&lt;li&gt;Visit the local inventor's workshop to gather more information and possibly upgrade your gear (DC: 8)&lt;/li&gt;
&lt;li&gt;Explore the city's digital underground network to find a way to weaken the Pixel Phantom's control over the AI creatures (DC: 10)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What will your party do?&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Rex — we go to the arcade&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Rex Rocket leads the party to the abandoned VR arcade on the outskirts of Neon City. As you approach the building, you notice that the once-vibrant neon lights have been replaced by a sinister, pixelated glow. The entrance to the arcade is guarded by a group of corrupted AI creatures.&lt;/p&gt;

&lt;p&gt;Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage uses his Arc Disruptor to disable the AI creatures guarding the entrance (DC: 12)&lt;/li&gt;
&lt;li&gt;Cassie Chroma uses her Holo-Deck to create a distraction, allowing the party to sneak inside (DC: 12)&lt;/li&gt;
&lt;li&gt;Maxine Flash uses her Vaporwave Wand to create a protective barrier around the party as they enter the arcade (DC: 11)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Choose an action or suggest your own.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Cassie — i create funny grumpy cat to distract the guards&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Cassie Chroma uses her Holo-Deck to create a holographic grumpy cat, hoping to distract the corrupted AI creatures guarding the entrance to the abandoned VR arcade.&lt;/p&gt;

&lt;p&gt;Roll a d20 to see if the grumpy cat hologram successfully distracts the AI creatures (DC: 12).&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  9&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Cassie's grumpy cat hologram fails to fully distract the corrupted AI creatures. They notice the hologram but quickly realize it's not a threat. They turn their attention back to your party, now aware of your presence, and prepare to attack.&lt;/p&gt;

&lt;p&gt;Your party loses 3 HP each as the AI creatures launch their first attack.&lt;/p&gt;

&lt;p&gt;Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage uses his Arc Disruptor to disable the AI creatures guarding the entrance (DC: 12)&lt;/li&gt;
&lt;li&gt;Rex Rocket uses his Rocket Blasters to perform evasive maneuvers and counterattack (DC: 12)&lt;/li&gt;
&lt;li&gt;Maxine Flash uses her Vaporwave Wand to create a protective barrier around the party as they enter the arcade (DC: 11)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Choose an action or suggest your own.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  we attack the guards&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Your party decides to engage the corrupted AI creatures in combat.&lt;/p&gt;

&lt;p&gt;Roll a d20 for each hero to determine if their attacks are successful:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage uses his Arc Disruptor (DC: 12)&lt;/li&gt;
&lt;li&gt;Rex Rocket uses his Pulse Pistol (DC: 11)&lt;/li&gt;
&lt;li&gt;Maxine Flash uses her Vaporwave Wand (DC: 11)&lt;/li&gt;
&lt;li&gt;Cassie Chroma uses her Vibro-Dagger (DC: 11)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Roll for each hero and provide the results.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  7,14&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Please provide the rolls for all four heroes. You have provided only two rolls (7 and 14). Roll two more d20s for the remaining heroes.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  18,4&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Here are the results of your party's attacks:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage (Roll: 7) - His Arc Disruptor misses the target, failing to disable any AI creatures.&lt;/li&gt;
&lt;li&gt;Rex Rocket (Roll: 14) - His Pulse Pistol successfully hits an AI creature, dealing damage.&lt;/li&gt;
&lt;li&gt;Maxine Flash (Roll: 18) - Her Vaporwave Wand effectively strikes an AI creature, dealing damage.&lt;/li&gt;
&lt;li&gt;Cassie Chroma (Roll: 4) - Her Vibro-Dagger misses the target, failing to damage any AI creatures.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Roll a d6 for Rex Rocket and Maxine Flash to determine the damage dealt to the AI creatures.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  5,4&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Rex Rocket deals 5 damage with his Pulse Pistol, and Maxine Flash deals 4 damage with her Vaporwave Wand. Two of the AI creatures are significantly damaged, but the others remain unharmed.&lt;/p&gt;

&lt;p&gt;The AI creatures retaliate, launching another attack on your party. Roll a d20 for each hero to determine if they can dodge the incoming attacks (DC: 10 for each hero).&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  12,14,8,20&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Here are the results of your party's dodge attempts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage (Roll: 12) - Successfully dodges the incoming attack.&lt;/li&gt;
&lt;li&gt;Rex Rocket (Roll: 14) - Successfully dodges the incoming attack.&lt;/li&gt;
&lt;li&gt;Maxine Flash (Roll: 8) - Fails to dodge the attack and loses 3 HP.&lt;/li&gt;
&lt;li&gt;Cassie Chroma (Roll: 20) - Expertly dodges the attack, avoiding any damage.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Your party has another opportunity to attack the AI creatures guarding the entrance:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage uses his Arc Disruptor (DC: 12)&lt;/li&gt;
&lt;li&gt;Rex Rocket uses his Pulse Pistol (DC: 11)&lt;/li&gt;
&lt;li&gt;Maxine Flash uses her Vaporwave Wand (DC: 11)&lt;/li&gt;
&lt;li&gt;Cassie Chroma uses her Vibro-Dagger (DC: 11)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Roll a d20 for each hero's attack.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Maxine — what else items do i have?&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Maxine Flash, your inventory consists of the following items:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Vaporwave Wand — A wand that emits powerful waves of retro energy. DC: 11 to check control wave intensity.&lt;/li&gt;
&lt;li&gt;Synthweave Robes — Robes infused with retro-futuristic technology that enhance magical abilities. DC: 9 to check activate enhancements.&lt;/li&gt;
&lt;li&gt;Arcade Amulet — An amulet that can transform the surroundings into a retro game-like environment. DC: 12 to check control transformations.&lt;/li&gt;
&lt;li&gt;Cassette Grimoire — A spellbook on a series of cassettes containing ancient magic. DC: 10 to check decipher spells.&lt;/li&gt;
&lt;li&gt;Pixel Potion — A potion that temporarily grants the user pixelated invisibility. DC: 8 to check predict duration.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Maxine — i convert surroundings to retro game&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Maxine Flash uses her Arcade Amulet to transform the surroundings into a retro game-like environment, hoping to gain an advantage over the AI creatures.&lt;/p&gt;

&lt;p&gt;Roll a d20 to see if Maxine can successfully control the transformation (DC: 12).&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  13&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Maxine Flash successfully transforms the surroundings into a retro game-like environment. The AI creatures become momentarily disoriented, giving your party an advantage in combat.&lt;/p&gt;

&lt;p&gt;Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage uses his Arc Disruptor to disable the AI creatures (DC: 10, reduced due to the environment)&lt;/li&gt;
&lt;li&gt;Rex Rocket uses his Pulse Pistol to attack the AI creatures (DC: 9, reduced due to the environment)&lt;/li&gt;
&lt;li&gt;Cassie Chroma uses her Vibro-Dagger to strike the AI creatures (DC: 9, reduced due to the environment)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Roll a d20 for each hero's attack.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  13,5,7&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Here are the results of your party's attacks in the retro game-like environment:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage (Roll: 13) - Successfully uses his Arc Disruptor to disable an AI creature.&lt;/li&gt;
&lt;li&gt;Rex Rocket (Roll: 5) - Fails to hit the AI creatures with his Pulse Pistol.&lt;/li&gt;
&lt;li&gt;Cassie Chroma (Roll: 7) - Fails to strike the AI creatures with her Vibro-Dagger.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Roll a d6 for Max Voltage to determine the damage dealt to the AI creature.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  5&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Max Voltage deals 5 damage with his Arc Disruptor, disabling one of the AI creatures. Two AI creatures remain, still disoriented by the retro game-like environment.&lt;/p&gt;

&lt;p&gt;Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage uses his Arc Disruptor to disable another AI creature (DC: 10, reduced due to the environment)&lt;/li&gt;
&lt;li&gt;Rex Rocket uses his Pulse Pistol to attack the AI creatures (DC: 9, reduced due to the environment)&lt;/li&gt;
&lt;li&gt;Cassie Chroma uses her Vibro-Dagger to strike the AI creatures (DC: 9, reduced due to the environment)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Roll a d20 for each hero's attack.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  what are all our and enemy healt?&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Here is the current health status of your party and the remaining AI creatures:&lt;/p&gt;

&lt;p&gt;Party:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage: 17/20 HP&lt;/li&gt;
&lt;li&gt;Rex Rocket: 17/20 HP&lt;/li&gt;
&lt;li&gt;Maxine Flash: 14/20 HP&lt;/li&gt;
&lt;li&gt;Cassie Chroma: 17/20 HP&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;AI Creatures:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;AI Creature 1: Disabled (0 HP)&lt;/li&gt;
&lt;li&gt;AI Creature 2: 5/10 HP (damaged)&lt;/li&gt;
&lt;li&gt;AI Creature 3: 10/10 HP (undamaged)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;There are two AI creatures remaining, one damaged and one undamaged.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  12,16,3&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Here are the results of your party's attacks in the retro game-like environment:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage (Roll: 12) - Successfully uses his Arc Disruptor to disable another AI creature.&lt;/li&gt;
&lt;li&gt;Rex Rocket (Roll: 16) - Successfully hits the remaining AI creature with his Pulse Pistol.&lt;/li&gt;
&lt;li&gt;Cassie Chroma (Roll: 3) - Fails to strike the AI creature with her Vibro-Dagger.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Roll a d6 for Max Voltage and Rex Rocket to determine the damage dealt to the AI creatures.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  1,5&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Max Voltage deals 1 damage with his Arc Disruptor, disabling the damaged AI creature. Rex Rocket deals 5 damage with his Pulse Pistol, defeating the last remaining AI creature.&lt;/p&gt;

&lt;p&gt;With the entrance now clear, your party can proceed into the abandoned VR arcade to confront the Pixel Phantom.&lt;/p&gt;

&lt;p&gt;As you cautiously enter the arcade, you notice a large, pixelated portal at the center of the room, pulsating with an eerie glow. It appears to be the source of the corruption affecting the AI creatures.&lt;/p&gt;

&lt;p&gt;Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage uses his Energy Capacitor to disrupt the portal's power source (DC: 12)&lt;/li&gt;
&lt;li&gt;Cassie Chroma attempts to hack into the portal's control system (DC: 14)&lt;/li&gt;
&lt;li&gt;Maxine Flash uses her Cassette Grimoire to decipher a spell that could close the portal (DC: 10)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Choose an action or suggest your own.&lt;/p&gt;

&lt;p&gt;■  What do you do?&lt;br&gt;
│&lt;br&gt;
➜&lt;/p&gt;




&lt;p&gt;what do you do? ;)&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Learn ML in 52 seconds 🏎️</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Wed, 26 Apr 2023 07:51:40 +0000</pubDate>
      <link>https://dev.to/disukharev/how-to-learn-ml-in-52-seconds-562f</link>
      <guid>https://dev.to/disukharev/how-to-learn-ml-in-52-seconds-562f</guid>
      <description>&lt;p&gt;&lt;em&gt;first lets grow &lt;a href="https://twitter.com/_sukharev_" rel="noopener noreferrer"&gt;my twitter&lt;/a&gt;, i will probably change all of the world obsolete education systems, not sure yet, the more people follow me — the easier it is to change the systems&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;one more speedrun in &lt;a href="https://dev.to/disukharev/how-to-learn-react-in-43-seconds-320e"&gt;the series&lt;/a&gt;, let's goooo&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmu380a5tnnf4gsixpbsx.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmu380a5tnnf4gsixpbsx.jpg" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;i just used reinforcement learning (RL) meme on you:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;you open the post (do a right thing)&lt;/li&gt;
&lt;li&gt;you get the meme (a reward)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;what a bait it was.. omg..&lt;/p&gt;




&lt;p&gt;so, why is it hard for meme-Kelvin to learn what RL is?&lt;br&gt;
Because he wants to &lt;strong&gt;learn the implementation&lt;/strong&gt; of RL &lt;strong&gt;instead of understanding the Concept&lt;/strong&gt;, THATS WHY meme-KELVIN!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;when you learn a new thing, tool or tech or anything — you do NOT start with it's implementations, you start with ideas, concepts and problems the tool solves!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;so Kelvin, here you go:&lt;/p&gt;

&lt;p&gt;to understand Reinforcement Learning (RL) — think about playing a video game where you earn points for making the right moves.&lt;/p&gt;

&lt;p&gt;reinforcement learning is like that - a program learns by making decisions and getting rewards or penalties based on its actions&lt;/p&gt;

&lt;p&gt;that was just an example of applying START-WITH-IDEAS principle to Reinforcement Learning&lt;/p&gt;

&lt;p&gt;but i promised to tell how to learn the whole ML in 52 seconds...&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkgu1rsh2yyszc63st4hn.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkgu1rsh2yyszc63st4hn.gif" alt="F&amp;amp;F3 drag race"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  THE SPEEDRUN!
&lt;/h2&gt;

&lt;p&gt;to learn ML in 52 seconds you &lt;strong&gt;learn the ML Concepts, not implementations&lt;/strong&gt;, then you google (or GPT) implementations in PyTorch or whatever library name you like, anyway it is going to change in the next year and it's fine, ideas will stay the same for much longer — &lt;strong&gt;go for ideas!&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Machine Learning Ideas
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Supervised Learning
&lt;/h3&gt;

&lt;p&gt;In supervised learning, a program is taught using examples with answers (called labeled data). This helps the program learn the connection between the examples and answers, so it can guess the answers for new examples it hasn't seen before.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Algorithms and problems to solve:&lt;/strong&gt; predicting house prices (linear regression), deciding if a customer will buy a product (decision trees)&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Unsupervised Learning
&lt;/h3&gt;

&lt;p&gt;Here, the program looks at examples without answers (unlabeled data) and tries to find patterns or groups within them. This can help with tasks like grouping similar items together or reducing the amount of information needed to describe the data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Algorithms and problems to solve:&lt;/strong&gt; grouping people with similar music tastes (k-means clustering), compressing images without losing too much information (principal component analysis)&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Reinforcement Learning
&lt;/h3&gt;

&lt;p&gt;In reinforcement learning, the program learns to make decisions by trying things out and getting feedback in the form of rewards or penalties. The goal is to make better decisions over time and solve problems more effectively.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Algorithms and problems to solve:&lt;/strong&gt; teaching a robot to walk (Q-learning), training a program to play chess (policy gradient methods)&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Feature Engineering
&lt;/h3&gt;

&lt;p&gt;This is the process of choosing important information (features) from raw data to help the program learn better. Sometimes, this includes creating new features using expert knowledge and creativity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; using the length and width of a leaf to help identify a plant species&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Model Evaluation
&lt;/h3&gt;

&lt;p&gt;Checking how well a machine learning model is doing is important to see if it's working well. Measurements like accuracy, precision, recall, F1-score, and mean squared error are often used to check a model's performance.&lt;/p&gt;




&lt;p&gt;⏲️ 24 seconds left, you go good!&lt;/p&gt;

&lt;p&gt;lets also cover Deep Learning!&lt;/p&gt;




&lt;h2&gt;
  
  
  Deep Learning Ideas
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Neural Networks (NN)
&lt;/h3&gt;

&lt;p&gt;This is really abstract. You may imagine an NN as brain-neurons ordered in columns and pinging each other from left to right with different force (via connections) — the force with which a neuron (in each layer) is pinged defines the next ping and the so the end result itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Algorithms and problems to solve:&lt;/strong&gt; recognizing objects in images (feedforward neural networks), translating languages (radial basis function networks)&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Backpropagation
&lt;/h3&gt;

&lt;p&gt;When you make a mistake, you learn from it and try not to repeat it. Backpropagation is a way for a program to do the same thing.&lt;/p&gt;

&lt;p&gt;It helps the program understand where it went wrong and get better at finding the right answers.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Convolutional Neural Networks (CNNs)
&lt;/h3&gt;

&lt;p&gt;CNNs are special neural networks that can understand grid-like data, like pictures.&lt;/p&gt;

&lt;p&gt;They have layers that help them learn patterns and recognize parts of the picture, such as lines and shapes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Algorithms and problems to solve:&lt;/strong&gt; detecting faces in photos (LeNet-5), identifying different types of animals in images (AlexNet, VGG)&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Recurrent Neural Networks (RNNs)
&lt;/h3&gt;

&lt;p&gt;RNNs are designed to work with data that comes in a sequence, like a series of numbers or words.&lt;/p&gt;

&lt;p&gt;They can remember previous inputs and use that information to make better decisions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Algorithms and problems to solve:&lt;/strong&gt; predicting stock prices (Long Short-Term Memory, LSTM), generating text based on a given style (Gated Recurrent Units, GRU)&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Transfer Learning
&lt;/h3&gt;

&lt;p&gt;This is when a program model that has already learned a lot is fine-tuned to work on a new task with limited data.&lt;/p&gt;

&lt;p&gt;It helps the program learn faster and perform better because it already knows useful things from its previous learning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; using a model trained on many dog breeds (like ResNet) to recognize specific types of cats&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Regularization Techniques
&lt;/h3&gt;

&lt;p&gt;These techniques help the program avoid learning too much from the data, which can cause problems like overfitting&lt;/p&gt;

&lt;h1&gt;
  
  
  STOP 🏁
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;finished in:&lt;/strong&gt; 0 min, 52 sec&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fioqlfwjs9hqulv9o5ii9.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fioqlfwjs9hqulv9o5ii9.gif" alt="dominic toretto drives fast as usual"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;this is basically it, now go and train your agents Kelvin googling implementations for algorithms and problems you want to solve!&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;to start using a tool, you start with a problem the tool solves and learn what Concept(s) are used to solve the problem&lt;/p&gt;

&lt;p&gt;dont keep implementation in your head like "how to do something with a tool", it's complicated and everything won't fit in your head anyway&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;learn ideas, google implementations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;after 5~10 times of googling an implementation you will memorize it, then the technology becomes obsolete and you forget it, its ok, it happens all the time&lt;/p&gt;

&lt;p&gt;ideas are hard to forget, they fit in your memory for a long time&lt;/p&gt;

&lt;p&gt;bye and see you in the next drag race&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj2jfrvay65kkmqbidmem.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj2jfrvay65kkmqbidmem.gif" alt="gosling-drive-walking.gif"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;wait actually&lt;/p&gt;

&lt;p&gt;think about &lt;a href="https://twitter.com/_sukharev_" rel="noopener noreferrer"&gt;following the twit bird&lt;/a&gt; if you want to see education systems to be practice-first and beneficial &amp;lt;3&lt;/p&gt;

&lt;p&gt;anyway you may follow twitter if you just liked the text and &lt;strong&gt;want more&lt;/strong&gt; or you are addictive to fun on social networks&lt;/p&gt;

&lt;p&gt;or dont follow anybody and dont listen to anyone! make your own way!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;i actually want you to follow my twits, it was just a sale&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Check my &lt;a href="https://dev.to/disukharev/how-to-learn-react-in-43-seconds-320e"&gt;"Learn REACT in 43 seconds"&lt;/a&gt;&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>learning</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>GPT-4 plays DND with 4 of us, it's insane 🤯 (YouTube)</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Tue, 25 Apr 2023 07:52:57 +0000</pubDate>
      <link>https://dev.to/disukharev/ai-dnd-4068</link>
      <guid>https://dev.to/disukharev/ai-dnd-4068</guid>
      <description>&lt;p&gt;its gonna blow your head off&lt;/p&gt;

&lt;p&gt;here is the GPT-4 acting as a Dungeon Master with a party of me and 3 of my friends&lt;/p&gt;

&lt;p&gt;i will code this thing a web Game, so you are not bothered with drawing on Team Bonding calls ;)&lt;/p&gt;

&lt;p&gt;repost the &lt;a href="https://twitter.com/io_Y_oi/status/1650770815707672576"&gt;twit&lt;/a&gt; to tell more people about it and follow me to be the first to know when The Game is public&lt;/p&gt;




&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/P6WZf7Hq2Ts"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  Transcript
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Welcome to Retrotopia, a realm where the past and future collide in a vibrant, neon-lit landscape. Your party of four heroes—Max Voltage, Cassie Chroma, Rex Rocket, and Maxine Flash—find themselves in the bustling city of Neonopolis, a hub of innovation and creativity. As you walk through the city streets, you notice a holographic billboard displaying a message: "Help Wanted: Mysterious power outages have been plaguing Neonopolis. Mayor Synthia seeks skilled adventurers to investigate and resolve the issue. Reward: 5000 Tokens and a rare artifact."&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Head to Mayor Synthia's office to accept the quest (DC: 0)&lt;/li&gt;
&lt;li&gt;Gather information from the locals about the power outages (DC: 8)&lt;/li&gt;
&lt;li&gt;Visit a nearby arcade to relax and gather your thoughts (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Rex — what is my inventory?&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; &lt;strong&gt;GPT-4:&lt;/strong&gt; Rex Rocket, as a Jetpack Daredevil, your inventory includes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Rocket Blasters — A set of powerful jet thrusters for high-speed aerial maneuvers. DC: 12 to check perform complex aerial stunts.&lt;/li&gt;
&lt;li&gt;Aerodynamic Armor — Lightweight plastic armor designed for optimal flight performance. DC: 10 to check adjust flight stability.&lt;/li&gt;
&lt;li&gt;Pulse Pistol — A compact energy weapon that fires concentrated energy pulses. DC: 11 to check shoot moving targets.&lt;/li&gt;
&lt;li&gt;Retrotopia Map — A holographic map of the entire Retrotopia landscape. DC: 9 to check locate hidden areas.&lt;/li&gt;
&lt;li&gt;Emergency Parachute — A compact plastic parachute for emergency landings. DC: 8 to check deploy in time.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Max — we head to Syntia's office&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; The party makes their way to Mayor Synthia's office, located in the heart of Neonopolis. As you enter the sleek, modern building, you're greeted by a friendly receptionist who directs you to the mayor's office. Mayor Synthia, a charismatic woman with a passion for technology, welcomes you and explains the situation: "The power outages have been happening at random, and we can't seem to find the cause. We suspect it might be sabotage, but we need your help to investigate and put an end to it."&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Ask Mayor Synthia for any leads or information about the power outages (DC: 0)&lt;/li&gt;
&lt;li&gt;Offer to patrol the city and look for any suspicious activity (DC: 10)&lt;/li&gt;
&lt;li&gt;Suggest splitting up to cover more ground and investigate different areas (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Cassie — we offer to patrol the city&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Cassie Chroma speaks up and offers to patrol the city in search of any suspicious activity related to the power outages. Mayor Synthia appreciates your initiative and agrees to the plan. The party prepares to patrol Neonopolis, keeping an eye out for anything unusual.&lt;/p&gt;

&lt;p&gt;Cassie, please roll a d20 to check for success in finding suspicious activity (DC: 10).&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  14&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; With a roll of 14, Cassie successfully spots some suspicious activity while patrolling the city. The party notices a group of shady individuals lurking near a power substation, fiddling with some equipment. They seem to be tampering with the city's power grid.&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Confront the shady individuals and question their intentions (DC: 0)&lt;/li&gt;
&lt;li&gt;Observe from a distance and gather more information (DC: 8)&lt;/li&gt;
&lt;li&gt;Report the suspicious activity to Mayor Synthia immediately (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Rex — i fly to them and attack&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Rex Rocket activates his Rocket Blasters and flies towards the shady individuals, preparing to attack. As you approach, they notice your presence and get ready to defend themselves.&lt;/p&gt;

&lt;p&gt;Please roll a d20 to check for a successful hit with your Pulse Pistol (DC: 11). If successful, roll a d6 to determine the damage dealt.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  7&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; With a roll of 7, Rex Rocket's attack misses the shady individuals. They quickly react to your assault and prepare to counterattack. One of them pulls out an energy weapon and aims it at Rex.&lt;/p&gt;

&lt;p&gt;Rex, please roll a d20 to check if you can dodge the incoming attack (DC: 11). If unsuccessful, roll a d6 to determine the damage taken.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  4&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; With a roll of 4, Rex Rocket fails to dodge the incoming attack. The energy weapon hits Rex, dealing damage. Please roll a d6 to determine the damage taken.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  4&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Rex Rocket takes 4 points of damage from the energy weapon, reducing his Health Points (HP) to 16/20. The situation has escalated into a full-blown combat scenario, with the shady individuals now aware of your presence and ready to fight.&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Max Voltage uses his Arc Disruptor to attack the shady individuals (DC: 12)&lt;/li&gt;
&lt;li&gt;Cassie Chroma deploys her Graffiti Drone for reconnaissance and support (DC: 9)&lt;/li&gt;
&lt;li&gt;Maxine Flash casts a spell from her Cassette Grimoire to aid the party (DC: 10)&lt;/li&gt;
&lt;li&gt;Attempt to escape the combat and regroup (DC: 12)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Cassie — what is my inventory?&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Cassie Chroma, as a Holo-Hacker, your inventory includes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Holo-Deck — A device capable of creating realistic holograms and illusions. DC: 12 to check deceive targets.&lt;/li&gt;
&lt;li&gt;Cyber Shades — High-tech sunglasses that provide enhanced vision and hacking capabilities. DC: 10 to check bypass security systems.&lt;/li&gt;
&lt;li&gt;Vibro-Dagger — A retractable blade with a vibrating edge for increased cutting power. DC: 11 to check perform precise cuts.&lt;/li&gt;
&lt;li&gt;Graffiti Drone — A small remote-controlled drone used for tagging and reconnaissance. DC: 9 to check pilot accurately.&lt;/li&gt;
&lt;li&gt;Digital Key — A universal plastic key for accessing restricted areas. DC: 8 to check adapt to various lock types.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Max — I run into the fight to help Rex&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Max Voltage rushes into the fight to assist Rex Rocket, preparing to use his Arc Disruptor against the shady individuals. Please roll a d20 to check for a successful hit with the Arc Disruptor (DC: 12). If successful, roll a d6 to determine the damage dealt.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  20&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; With a critical roll of 20, Max Voltage expertly aims his Arc Disruptor and unleashes a powerful electrical discharge at the shady individuals. Roll a d6 and double the result to determine the damage dealt due to the critical hit.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  5&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Max Voltage deals 10 points of damage (5 doubled) to the shady individuals with his Arc Disruptor. The powerful electrical discharge overwhelms them, causing them to collapse to the ground, incapacitated. With the immediate threat neutralized, the party can now decide their next course of action.&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Interrogate the incapacitated shady individuals (DC: 0)&lt;/li&gt;
&lt;li&gt;Search the area for any clues or evidence related to the power outages (DC: 8)&lt;/li&gt;
&lt;li&gt;Report back to Mayor Synthia with your findings (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Maxine — i loot them&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Maxine Flash searches the incapacitated shady individuals for any valuable items or information. Please roll a d20 to check for success in finding useful loot (DC: 8).&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  16&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; With a roll of 16, Maxine Flash successfully finds some valuable loot on the shady individuals. Among their possessions, you discover a small electronic device that appears to be a remote control for the power grid, as well as a note with instructions to sabotage the city's power supply. It seems these individuals were indeed responsible for the power outages in Neonopolis.&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Examine the remote control and attempt to reverse the sabotage (DC: 10)&lt;/li&gt;
&lt;li&gt;Take the note and remote control to Mayor Synthia as evidence (DC: 0)&lt;/li&gt;
&lt;li&gt;Continue investigating the area for any additional clues (DC: 8)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Maxine — i try to reverse the sabotage with the remote control&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Maxine Flash attempts to use the remote control to reverse the sabotage on the city's power grid. Please roll a d20 to check for success in reversing the sabotage (DC: 10).&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  1&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; With a critical failure roll of 1, Maxine Flash accidentally triggers a short circuit in the remote control while trying to reverse the sabotage. The device sparks and becomes inoperable, making it impossible to use it to fix the power grid. The party will need to find another way to resolve the power outage issue.&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Take the broken remote control and note to Mayor Synthia as evidence (DC: 0)&lt;/li&gt;
&lt;li&gt;Search the area for any alternative ways to fix the power grid (DC: 10)&lt;/li&gt;
&lt;li&gt;Regroup and discuss a new plan of action (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Cassie — as a holo-hacker i try to fix the remote control&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Cassie Chroma, with her expertise as a Holo-Hacker, attempts to repair the broken remote control. Please roll a d20 to check for success in fixing the device (DC: 12).&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  15&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; With a roll of 15, Cassie Chroma successfully repairs the remote control. The device is now functional again, and the party can use it to try and reverse the sabotage on the city's power grid.&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Attempt to reverse the sabotage using the repaired remote control (DC: 10)&lt;/li&gt;
&lt;li&gt;Take the remote control and note to Mayor Synthia as evidence (DC: 0)&lt;/li&gt;
&lt;li&gt;Continue investigating the area for any additional clues (DC: 8)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Max — i try to reverse the sabotage again&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Maxine Flash, with the repaired remote control in hand, attempts once more to reverse the sabotage on the city's power grid. Please roll a d20 to check for success in reversing the sabotage (DC: 10).&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  17&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; With a roll of 17, Maxine Flash successfully uses the repaired remote control to reverse the sabotage on the city's power grid. The power outages affecting Neonopolis come to an end, and the city's energy supply returns to normal. The party has resolved the issue and can now report back to Mayor Synthia with their findings.&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Return to Mayor Synthia's office and present the evidence (DC: 0)&lt;/li&gt;
&lt;li&gt;Continue investigating the area for any additional clues (DC: 8)&lt;/li&gt;
&lt;li&gt;Celebrate your success at a nearby arcade (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Rex — we go back to Mayor&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; The party returns to Mayor Synthia's office, eager to share their findings and success in resolving the power outage issue. Upon presenting the evidence and explaining how they stopped the shady individuals, Mayor Synthia expresses her gratitude and admiration for your teamwork and skills.&lt;/p&gt;

&lt;p&gt;As promised, she rewards the party with 5000 Tokens and a rare artifact—a Solar Amplifier, a device that can boost the power of energy-based weapons and abilities. The party has successfully completed the quest and gained valuable experience.&lt;/p&gt;

&lt;p&gt;Congratulations on completing the quest!│&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Rex — we go to city market&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; The party heads to the bustling city market of Neonopolis, where merchants and inventors showcase their latest gadgets, gizmos, and retro-futuristic wares. The lively atmosphere is filled with the sounds of haggling, laughter, and the hum of innovative technology. With your newly acquired Tokens, you can explore the market and purchase items to enhance your abilities or simply enjoy the sights and sounds of Retrotopia.&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Browse the market for new weapons or equipment (DC: 0)&lt;/li&gt;
&lt;li&gt;Look for a merchant selling rare or unique items (DC: 8)&lt;/li&gt;
&lt;li&gt;Engage with the locals and learn more about the city (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Maxine — how much does Solar Amplifier cost and what does it do?&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; The Solar Amplifier was given to your party as a reward for completing the quest, so it is already in your possession and does not have a cost. The Solar Amplifier is a rare artifact that can boost the power of energy-based weapons and abilities. When used, it enhances the effectiveness of your attacks or abilities, making them more potent and increasing their chances of success. The exact mechanics and DC adjustments can be determined by the GM during gameplay when the Solar Amplifier is activated.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Maxine — i want to sell it&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Maxine Flash decides to sell the Solar Amplifier at the city market. To find a buyer willing to pay a fair price for the rare artifact, please roll a d20 to check for success in negotiating a good deal (DC: 10).&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  17&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; With a roll of 17, Maxine Flash successfully finds a buyer who recognizes the value of the Solar Amplifier. After some negotiation, the buyer agrees to pay 3000 Tokens for the rare artifact. The party's Token balance increases, providing more resources for future purchases and adventures.&lt;/p&gt;

&lt;p&gt;Current Token balance: 8000 Tokens&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Browse the market for new weapons or equipment (DC: 0)&lt;/li&gt;
&lt;li&gt;Look for a merchant selling rare or unique items (DC: 8)&lt;/li&gt;
&lt;li&gt;Engage with the locals and learn more about the city (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Max — we brouse the market for cool stuff&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; The party browses the Neonopolis city market, exploring the various stalls and merchants offering a wide array of retro-futuristic items, gadgets, and equipment. As you wander through the market, you come across three interesting items that catch your attention:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Photon Shield: A lightweight, energy-based shield that can absorb incoming attacks. DC: 10 to check activate/deactivate effectively.&lt;/li&gt;
&lt;li&gt;Sonic Boombox: A portable sound system that can emit powerful sonic waves, disorienting enemies. DC: 12 to check control wave intensity.&lt;/li&gt;
&lt;li&gt;Holo-Companion: A small, customizable holographic pet that can assist in various tasks and provide emotional support. DC: 8 to check program and command accurately.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can choose to purchase any of these items or continue browsing the market.&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Purchase the Photon Shield (Cost: 2500 Tokens)&lt;/li&gt;
&lt;li&gt;Purchase the Sonic Boombox (Cost: 3000 Tokens)&lt;/li&gt;
&lt;li&gt;Purchase the Holo-Companion (Cost: 1500 Tokens)&lt;/li&gt;
&lt;li&gt;Continue browsing the market for other items (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Rex — i try to steal the Boombox&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Rex Rocket, feeling daring, attempts to steal the Sonic Boombox from the merchant's stall. Please roll a d20 to check for success in stealing the item without getting caught (DC: 14). Keep in mind that failure may result in consequences.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  1&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; With a critical failure roll of 1, Rex Rocket's attempt to steal the Sonic Boombox goes horribly wrong. Not only does the merchant catch you in the act, but your actions also draw the attention of nearby security guards. The guards apprehend you and the rest of the party, and you are escorted to a holding area to await further consequences.&lt;/p&gt;

&lt;p&gt;Suggested Actions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Attempt to talk your way out of the situation (DC: 15)&lt;/li&gt;
&lt;li&gt;Try to escape the holding area (DC: 12)&lt;/li&gt;
&lt;li&gt;Wait for the authorities to decide your fate (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Max — what is my inventory?&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Max Voltage, as an Electro-Mancer, your inventory includes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Arc Disruptor — A wrist-mounted energy weapon that emits powerful electrical discharges. DC: 12 to check aim accurately.&lt;/li&gt;
&lt;li&gt;Conductive Suit — A suit made of advanced plastic fibers that enhances electric-based abilities. DC: 10 to check amplify electric effects.&lt;/li&gt;
&lt;li&gt;Static Boots — Boots that generate electric charges for enhanced movement and jumps. DC: 11 to check avoid electric overload.&lt;/li&gt;
&lt;li&gt;Plasma Grenades — Spherical plastic grenades filled with volatile plasma energy. DC: 9 to check throw precisely.&lt;/li&gt;
&lt;li&gt;Energy Capacitor — A portable power cell used to charge various electric devices. DC: 8 to check connect/disconnect safely.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  Max — i use my boots to run away from my stupid party&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; Max Voltage, feeling frustrated with the current situation, decides to use his Static Boots to make a quick escape from the holding area, leaving the rest of the party behind. Please roll a d20 to check for success in avoiding electric overload and escaping (DC: 11). Keep in mind that your actions may have consequences for both you and the remaining party members.&lt;/p&gt;

&lt;p&gt;◇  What do you do?&lt;br&gt;
│  13&lt;br&gt;
│&lt;br&gt;
◇  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4:&lt;/strong&gt; With a roll of 13, Max Voltage successfully uses his Static Boots to generate a powerful electric charge, propelling him out of the holding area and away from the rest of the party. As you make your escape, the security guards are caught off guard and unable to react in time.&lt;/p&gt;

&lt;p&gt;Meanwhile, the remaining party members are left to face the consequences of the attempted theft. The situation has become more complicated, and the party is now split.&lt;/p&gt;

&lt;p&gt;Suggested Actions for Max Voltage:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Lay low and wait for the situation to calm down (DC: 0)&lt;/li&gt;
&lt;li&gt;Attempt to find a way to help the remaining party members from a distance (DC: 10)&lt;/li&gt;
&lt;li&gt;Continue exploring Neonopolis on your own (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Suggested Actions for the remaining party members:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Attempt to talk your way out of the situation (DC: 15)&lt;/li&gt;
&lt;li&gt;Try to escape the holding area (DC: 12)&lt;/li&gt;
&lt;li&gt;Wait for the authorities to decide your fate (DC: 0)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;few moments later Max died with 0/20 HP trying to save his party..&lt;/p&gt;




&lt;p&gt;i know its insane, im now crafting online mode where you can play with your friends&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;your loot is gonna be saved as well as Tokens and XP, there gonna be more worlds&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;repost the &lt;a href="https://twitter.com/io_Y_oi/status/1650770815707672576"&gt;twit&lt;/a&gt; to tell more people about it and follow me to be the first to know when The Game is public&lt;/p&gt;

&lt;p&gt;the one who comes up with the best game features — gets first month FREE ❤️&lt;/p&gt;

</description>
      <category>startup</category>
      <category>news</category>
      <category>ai</category>
    </item>
    <item>
      <title>OpenCommit: CLI to generate impressive commits in 1 second with GPT 🤯🔫 (v 2.0)</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Mon, 24 Apr 2023 08:04:55 +0000</pubDate>
      <link>https://dev.to/disukharev/opencommit-20-cli-to-generate-impressive-commits-in-1-second-with-gpt-14g3</link>
      <guid>https://dev.to/disukharev/opencommit-20-cli-to-generate-impressive-commits-in-1-second-with-gpt-14g3</guid>
      <description>&lt;p&gt;&lt;em&gt;first — let's grow &lt;a href="https://twitter.com/_sukharev_" rel="noopener noreferrer"&gt;my twitter&lt;/a&gt;, so i can tell about my inventions quicker and make the world even better place (or not, idk)&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffdik9aq5iwk3e4bqsqbk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffdik9aq5iwk3e4bqsqbk.png" alt="opencommit — comparison"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A month ago I opensourced &lt;a href="https://github.com/di-sukharev/opencommit" rel="noopener noreferrer"&gt;OpenCommit&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/disukharev/opencommit-gpt-cli-to-auto-generate-impressive-commits-in-1-second-46dh"&gt;Previous post&lt;/a&gt; got 60k views and 280 likes. Now OpenCommit is 2.6k stars.&lt;/p&gt;

&lt;p&gt;I've merged 39 PRs and here is what's new:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;if you change model to GPT-4 — it answers WHY changes were done 🤯&lt;/li&gt;
&lt;li&gt;locale support of &lt;a href="https://github.com/di-sukharev/opencommit/tree/master/src/i18n" rel="noopener noreferrer"&gt;10 languages&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;select files you want to stage and commit.&lt;/li&gt;
&lt;li&gt;choose a remote you want to push to.&lt;/li&gt;
&lt;li&gt;OpenCommit now uses tiktoken to accurately count openAI tokens.&lt;/li&gt;
&lt;li&gt;better large diffs splitting (you can commit changes of any size)&lt;/li&gt;
&lt;li&gt;add any &lt;code&gt;git commit&lt;/code&gt; arguments to &lt;code&gt;oc &amp;lt;...args&amp;gt;&lt;/code&gt; it will be passed to &lt;code&gt;git commit &amp;lt;...args&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;hook now works on all platforms, run &lt;code&gt;oc hook set&lt;/code&gt; to integrate OpenCommit into IDE Source Control.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Well this is it so far, thanks to all the contributors &amp;lt;3 Feel free to PR!&lt;/p&gt;

&lt;h2&gt;
  
  
  How to install OpenCommit
&lt;/h2&gt;

&lt;p&gt;Simply install it globally with npm, to use in any repo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i &lt;span class="nt"&gt;-g&lt;/span&gt; opencommit
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After installing type &lt;code&gt;oc&lt;/code&gt; and hit "Enter" in a terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;oc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you want to edit a commit and make OpenCommit to be used by your IDE do:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;oc hook &lt;span class="nb"&gt;set&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it — have fun ;)&lt;/p&gt;

</description>
      <category>git</category>
      <category>productivity</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
    <item>
      <title>AI is replacing Coders, not Engineers. Learn CS now!</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Mon, 24 Apr 2023 07:50:28 +0000</pubDate>
      <link>https://dev.to/disukharev/ai-is-replacing-coders-not-engineers-learn-cs-now-j8f</link>
      <guid>https://dev.to/disukharev/ai-is-replacing-coders-not-engineers-learn-cs-now-j8f</guid>
      <description>&lt;p&gt;&lt;em&gt;first lets grow &lt;a href="https://twitter.com/_sukharev_" rel="noopener noreferrer"&gt;my twitter&lt;/a&gt;, i will probably change all of the world obsolete education systems, not sure yet, the more people follow me — the easier it is to change the systems&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;hi&lt;/p&gt;

&lt;p&gt;how do you know if you are a coder or an engineer?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;not all coders are engineers, but all engineers are coders&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;if you came in tech from a bootcamp and/or youtube tutorials, landed a job 1~2 years ago and you are to become a Senior when you learn 1~2 more tools — im sorry, i was there, you are going to hit the iceberg now&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8bb5vwiwlbewgr6yl2sg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8bb5vwiwlbewgr6yl2sg.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  But I can already build an app, why bother?
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;AI is going to build such apps in 2~3 years..&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;putting together DB with a Cache and setting up microservices handled by a queue — is not engineering, its coding per the best practices&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Coders copy stackoverflow by error message, Engineers know what they want to copy from stackoverflow&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;coding is repetitive task of typing characters as per the best practices set by Engineers&lt;/p&gt;

&lt;p&gt;Coders repeat, so do GPTs. GPT does not innovate, it generates what has already been said on the internet&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Engineers come up with previously unavailable solutions to problems&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Engineers innovate, so they are valuable. Coders copy, so they can be replaced.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;you want to continue blind copy-pasting until the error is fixed? GPT-6 is coming for you.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fax5z2u0kzow51hzwy0sm.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fax5z2u0kzow51hzwy0sm.gif" alt="t-1000-running"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ok, what do i suggest?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;start learning Computer Science fundamentals&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;it improves engineering thinking and problem solving skills. that's how you make difference and value&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;learn CS — level up engineering and critical thinking&lt;/li&gt;
&lt;li&gt;land Google as a SWE&lt;/li&gt;
&lt;li&gt;make difference&lt;/li&gt;
&lt;li&gt;deliver value&lt;/li&gt;
&lt;li&gt;get more $&lt;/li&gt;
&lt;li&gt;go up and play lead roles&lt;/li&gt;
&lt;li&gt;CTO something your skills are relevant to&lt;/li&gt;
&lt;li&gt;then 2 steps to CEO any stuff you have fun solving&lt;/li&gt;
&lt;li&gt;or stay FAANG if stock options are good enough&lt;/li&gt;
&lt;li&gt;or be replaced and go make music or sad comedy&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;the sooner you see the wall — the better. so here am i pointing in front of you — learn Computer Science to solve problems and &lt;strong&gt;level up engineering and critical thinking&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AI and LLMs like GPT are coming for the repetitive tasks that coders do. the best way to stay in the game is to &lt;strong&gt;become the innovator rather than the implementer&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1st person immersive experience storytelling
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;practicing in my capturing attention skills, does it work?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;the story goes like this:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;coder named Yoo Yoself learns how to make an app in a fantastic bootcamp experience, lands a job and gets respects from parents and friends, good start.&lt;/p&gt;

&lt;p&gt;some engineer called Samuel L. Altman comes up with a way of zipping files (some inside-out compression algorithm) so coders can do ~10% improvement on their app TTFR (time-to-first-response). &lt;/p&gt;

&lt;p&gt;Samuel then asks GPT-6 to create a website from a pen drawing and so Altman “alts all man" with GPTs. haha sorry i stole this one from Fireship, maaan how did you come up with that..&lt;/p&gt;

&lt;p&gt;Yoo Yoself is going home finally noticing ceiling hit, but there is still a great story left to tell friends — “hey dudes, ive learned programming in 6 months and got the money!”, however they already heard it..&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Coder repeats — they are great fit for the AI automation. Engineers innovate — they are making difference.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  WHY i tell you this
&lt;/h2&gt;

&lt;p&gt;i want people to have more opportunities, the more knowledge we have the more opportunities we see, so im sharing my experience with you&lt;/p&gt;

&lt;p&gt;now &lt;strong&gt;go and learn Computer Science fundamentals&lt;/strong&gt;, it does:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;organize experience you got from practice by building transparent mental models and filling missing picture pieces&lt;/li&gt;
&lt;li&gt;clean your head from memorizing implementations by moving up to ideas level&lt;/li&gt;
&lt;li&gt;develop critical and engineering thinking upon solid understanding of how software interacts with hardware and why your awesome code works&lt;/li&gt;
&lt;li&gt;you dont get replaced&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;this is so you move out of a sandbox and dont go sansara circles in the tech and life probably..&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CS is not learning one more framework or programming languages, it's learning ALL of them at once by understanding computer science ideas all tools are build upon&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Selling part
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;im crafting “Build a Computer Simulator” — 100% practice-first, fun learning experience that you get addiction to — even Israeli doctors cant help&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;it is fundamental fundamentals of applied computer science.&lt;/p&gt;

&lt;p&gt;there is literally no better way of learning CS then assembling ALU, RAM and CPU from logic gates.&lt;/p&gt;

&lt;p&gt;you will get a web simulator to assemble a general-purpose machine. then you are to program the machine with language you write compiler for within your self-coded operating system (its gonna be online lego Harry Potter vs Jordan Peterson 3000-deluxe stuff)&lt;/p&gt;

&lt;p&gt;it will take you about 50~70 hours to finish (not 4 years of CS major though)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;subscribe to &lt;a href="https://twitter.com/io_Y_oi" rel="noopener noreferrer"&gt;my twitter&lt;/a&gt; to be the first to know when the Build a Computer Simulator is public!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;while im creating the Simulator — go to &lt;a href="//edx.org"&gt;edx.org&lt;/a&gt; and check out MIT and Berkley applied computer science materials&lt;/p&gt;

&lt;p&gt;bye&lt;/p&gt;




&lt;h2&gt;
  
  
  Who the F am I?
&lt;/h2&gt;

&lt;p&gt;im a life-long learner who is obsessed with educating himself and helping other people learn things, so they dont walk circles and align their movements ;)&lt;/p&gt;

&lt;p&gt;i got in tech in 2017: engineered programs for Alibaba and now playing startups in &lt;a href="https://www.youtube.com/watch?v=FeDnW5wYjwA" rel="noopener noreferrer"&gt;Deel&lt;/a&gt; — YC alumni, fastest growing startup in history&lt;/p&gt;

&lt;p&gt;i created and open-sourced OpenCommit and came up with an accurate way of writing code with GPT-4 via AI-TDD which is going to take the world of AI repetitive coding when i have time telling people about it&lt;/p&gt;

&lt;p&gt;check my &lt;a href="https://dev.to/disukharev/how-to-learn-ml-in-52-seconds-562f"&gt;"Learn ML in 52 seconds"&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Learn REACT in 43 seconds</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Mon, 24 Apr 2023 07:49:59 +0000</pubDate>
      <link>https://dev.to/disukharev/how-to-learn-react-in-43-seconds-320e</link>
      <guid>https://dev.to/disukharev/how-to-learn-react-in-43-seconds-320e</guid>
      <description>&lt;p&gt;&lt;em&gt;first lets grow &lt;a href="https://twitter.com/_sukharev_" rel="noopener noreferrer"&gt;my twitter&lt;/a&gt;, i will probably change all of the world obsolete education systems, not sure yet, the more people follow me — the easier it is to change the systems&lt;/em&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  SPEEDRUN STARTS NOW
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkgu1rsh2yyszc63st4hn.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkgu1rsh2yyszc63st4hn.gif" alt="F&amp;amp;F3 drag race"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;you dont start with React features, you start with ideas!&lt;/strong&gt;&lt;br&gt;
you may say Concepts instead of Ideas, same thing&lt;/p&gt;

&lt;p&gt;its actually applicable to any tool, not only React&lt;/p&gt;

&lt;p&gt;you still need practice to master a tool, but &lt;strong&gt;dont think of the tool in a first place, start with it's Concepts and Problems it solve&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;yep, this is how to learn stuff in the most productive way&lt;/p&gt;

&lt;p&gt;bye&lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;br&gt;
 &lt;/p&gt;

&lt;p&gt;ok, it is not.. timer is going! only 31 seconds left&lt;/p&gt;

&lt;h2&gt;
  
  
  Example of learning “what React Context is”
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Context is considered complex for newbies, so lets look into it&lt;/em&gt;&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Context shares same data (State) between multiple UI Components, that’s it&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;i will explain what State and Compenents are later, wait, its speedrun or what?! IM EXPLAINING NOW!&lt;/p&gt;

&lt;p&gt;🏎️ &lt;strong&gt;UI (user-interface) Component&lt;/strong&gt;&lt;br&gt;
Component is an interface element, like &lt;code&gt;Button&lt;/code&gt;.&lt;br&gt;
You code one &lt;code&gt;Button&lt;/code&gt; component and reuse it in your app,&lt;br&gt;
instead of copying same  &lt;code&gt;HTML+CSS+JS&lt;/code&gt; code to all places where you need the button&lt;/p&gt;

&lt;p&gt;🏎️ &lt;strong&gt;State is data that component uses to render itself&lt;/strong&gt;&lt;br&gt;
Component &lt;code&gt;Button&lt;/code&gt; may hold &lt;code&gt;disabled=true/false&lt;/code&gt; and &lt;code&gt;loading=true/false&lt;/code&gt; states.&lt;/p&gt;

&lt;p&gt;Component renders different UI for itself depending on the state. State can be shared between multiple Components (with Redux or Context)&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;do not memorize implementations&lt;/strong&gt; — it change too often and thus should be googled&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;h2&gt;
  
  
  There are 4~5 main ideas in React
&lt;/h2&gt;

&lt;p&gt;i’m sharing just the main ideas with small examples&lt;/p&gt;

&lt;p&gt;its not a tutorial, IT’S THE SPEEDRUN! 22 seconds left AAAAA&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;h2&gt;
  
  
  THE IDEAS
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. COMPONENTS
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;you build app layout with reusable components&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;i just explained it above, you create different components like &lt;code&gt;Button&lt;/code&gt;, &lt;code&gt;List&lt;/code&gt;, &lt;code&gt;Paragraph&lt;/code&gt;, &lt;code&gt;Alert&lt;/code&gt;, &lt;code&gt;Etc&lt;/code&gt;.. Then you assemble your UI with the Components like building blocks.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. STATE
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;State is "some data" that a component view depends on&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;was also explained above, &lt;code&gt;Button&lt;/code&gt; component may change it's local state to &lt;code&gt;loading&lt;/code&gt; when it's clicked and so it will be re-rendered to its loading view&lt;/p&gt;

&lt;h3&gt;
  
  
  3. PROPS
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;you can render a component differently by passing custom properties into it&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;when a component is used in different places you may change its view and/or behaviour by passing custom properties into it.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. REACTIVITY
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;components &lt;em&gt;react&lt;/em&gt; to State and Props changes&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Component automatically re-renders when data in a local or shared State or incoming Props changes&lt;/p&gt;

&lt;p&gt;im not explaining implementations, just google or ask GPT about it, we are here for the Concepts that are easier to memorize&lt;/p&gt;

&lt;h3&gt;
  
  
  5. JSX
&lt;/h3&gt;

&lt;p&gt;You can think of JSX like kinda-HTML for React. It just helps you create and use Components in a more development friendly way.&lt;/p&gt;

&lt;h1&gt;
  
  
  AAAND STOP 🏁
&lt;/h1&gt;

&lt;p&gt;this is really it, the whole React, nothing complicated, but it took engineers some time to come up with such Concepts, so you have better development experience&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;your time is:&lt;/strong&gt; 0 min, 43 sec&lt;/p&gt;

&lt;p&gt;reinforcement learning meme below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fioqlfwjs9hqulv9o5ii9.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fioqlfwjs9hqulv9o5ii9.gif" alt="dominic toretto drives fast as usual"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Understand underlying ideas and google implementations
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;to start using a tool, you start with a problem it solves and learn what is the tool Concept(s) to solve the problem&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;dont keep implementation in your head like "how to do something with a tool", it's complicated and everything won't fit in your head anyway, &lt;strong&gt;google implementations, remember ideas&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;after 5 times of googling an implementation you will remember it, then the technology will become obsolete and you will forget it, its ok, it happens all the time&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ideas are hard to forget, they fit in your memory for a long time&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Other React ideas you may also ask GPT and google about
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Unidirectional Data Flow&lt;/li&gt;
&lt;li&gt;Virtual DOM&lt;/li&gt;
&lt;li&gt;Hooks&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;but first start using React keeping its Concepts in your head ;)&lt;/p&gt;

&lt;p&gt;dont google “how to use hooks” or “what is JSX”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;google and GPT the WHY — “why JSX was created” or “what problem react hooks solve”&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;bye&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj2jfrvay65kkmqbidmem.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj2jfrvay65kkmqbidmem.gif" alt="gosling-drive-walking.gif"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;hey wait wait&lt;/p&gt;

&lt;p&gt;think about &lt;a href="https://twitter.com/io_Y_oi" rel="noopener noreferrer"&gt;following the twit bird&lt;/a&gt; if you want to see education systems to be practice-first and beneficial &amp;lt;3&lt;/p&gt;

&lt;p&gt;anyway you may follow twitter if you just liked the text or you are addictive to fun on social networks&lt;/p&gt;

&lt;p&gt;or dont follow anybody and dont listen to anyone! make your own way!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;i actually want you to follow my twits, it was just a sale&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Who the F am I?
&lt;/h2&gt;

&lt;p&gt;im a life-long learner who is obsessed with educating himself and helping other people learn things, so they dont walk circles and align their movements ;)&lt;/p&gt;

&lt;p&gt;i got in tech in 2017: engineered programs for Alibaba and now playing startups in &lt;a href="https://www.youtube.com/watch?v=FeDnW5wYjwA" rel="noopener noreferrer"&gt;Deel&lt;/a&gt; — YC alumni, fastest growing startup in history&lt;/p&gt;

&lt;p&gt;i created and open-sourced OpenCommit and came up with an accurate way of writing code with GPT-4 via AI-TDD which is going to take the world of AI repetitive coding when i have time telling people about it&lt;/p&gt;

&lt;p&gt;check my &lt;a href="https://dev.to/disukharev/ai-is-replacing-coders-not-engineers-learn-cs-now-j8f"&gt;Why to Learn Computer Science now&lt;/a&gt; if you are a Coder&lt;/p&gt;

</description>
      <category>frontend</category>
      <category>programming</category>
      <category>learning</category>
      <category>productivity</category>
    </item>
    <item>
      <title>AI-TDD: you write the test, GPT writes the code to pass it ✅</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Mon, 27 Mar 2023 07:31:17 +0000</pubDate>
      <link>https://dev.to/disukharev/aitdd-ai-cli-for-tdd-you-write-the-test-ai-makes-it-green-32bn</link>
      <guid>https://dev.to/disukharev/aitdd-ai-cli-for-tdd-you-write-the-test-ai-makes-it-green-32bn</guid>
      <description>&lt;p&gt;&lt;em&gt;first — let's grow &lt;a href="https://twitter.com/_sukharev_"&gt;my twitter&lt;/a&gt;, so i can tell about my inventions quicker and make the world even better place (or not, idk)&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;a href="https://github.com/di-sukharev/AI-TDD"&gt;AI-TDD&lt;/a&gt; — GPT4 CLI for TDD. You write the test, GPT writes the code to pass it ✅.&lt;/p&gt;

&lt;p&gt;Yes, I know. It's a simple yet brilliant idea and open-source of the millennium. So feel free to fork and feature.&lt;/p&gt;

&lt;p&gt;— Why?&lt;br&gt;
— TDD is the only right way of..&lt;br&gt;
— Wowow, man.. wait.. really.. don't..&lt;br&gt;
— (Hits vape): Ok, ok... GPTs are not so good when prompted to generate code from a free text input, BUT when you prompt it with a test — GPT4 is killing it with impressive accuracy.&lt;br&gt;
— Hmm.. And the more clearly you formulate a test, the cleaner and wiser you write the code?&lt;br&gt;
— Yep, and so does GPT 🤖&lt;/p&gt;

&lt;p&gt;This is probably it.&lt;/p&gt;

&lt;p&gt;I won't tell you the whole 10 commandments of "why and how testing software is a blessing", just one thing — tests are like your friends, they tell you what you want to hear, but you can only trust them, and they save your a$$ anyway. You better have friends.&lt;/p&gt;

&lt;p&gt;With AI-TDD, you adjust the tests, and the code is written for you. You leave the low level of "how to code this feature" and move above to the level of "what the feature should do". You clean your head from "implementations" and start operating "ideas" as the pro maximum deluxe engineer.&lt;/p&gt;

&lt;p&gt;As &lt;a href="https://github.com/di-sukharev/AI-TDD/blob/master/README.md"&gt;AITDD&lt;/a&gt; is open-sourced, I'm happy to merge your PRs, so feel free to fork and feature!&lt;/p&gt;




&lt;p&gt;There is one more good tool — &lt;a href="https://github.com/di-sukharev/opencommit#readme"&gt;OpenCommit&lt;/a&gt; — a GPT CLI to auto-generate conventional commits in 1 second.&lt;/p&gt;




&lt;p&gt;I'll probably change the world with other extraordinary inventions and enlightenment, not sure yet, but anyway, follow the Twitter account &lt;a href="https://twitter.com/_sukharev_"&gt;https://twitter.com/_sukharev_&lt;/a&gt; (or don't).&lt;/p&gt;

</description>
      <category>ai</category>
      <category>testing</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>OpenCommit: GPT generates impressive commits in 1 second 🤯🔫 (open-source)</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Mon, 27 Mar 2023 07:27:09 +0000</pubDate>
      <link>https://dev.to/disukharev/opencommit-gpt-cli-to-auto-generate-impressive-commits-in-1-second-46dh</link>
      <guid>https://dev.to/disukharev/opencommit-gpt-cli-to-auto-generate-impressive-commits-in-1-second-46dh</guid>
      <description>&lt;p&gt;&lt;em&gt;first — let's grow &lt;a href="https://twitter.com/_sukharev_" rel="noopener noreferrer"&gt;my twitter&lt;/a&gt;, so i can tell about my inventions quicker and make the world even better place (or not, idk)&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;I've been struggling making commit messages since 2017.&lt;/p&gt;

&lt;p&gt;When you think of a commit message — you switch context from writing code. When you switch context — you waste time. Wasting time is lame.&lt;/p&gt;

&lt;p&gt;I usually made 1 line commits like "amends", "fixed bug", "refactoring", "refactoring 2", "final refactoring" and then tried to come up with a good general message when merging a branch to production.&lt;/p&gt;

&lt;p&gt;It has changed with THE FIRST AI REVOLUTION :)) I mean all this GPTs..&lt;/p&gt;

&lt;p&gt;Two weeks ago I open-sourced &lt;a href="https://github.com/di-sukharev/opencommit" rel="noopener noreferrer"&gt;OpenCommit&lt;/a&gt;. It can answer WHY the change was done if you change model to GPT-4 in settings! Insane.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffdik9aq5iwk3e4bqsqbk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffdik9aq5iwk3e4bqsqbk.png" alt="opencommit — comparison"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The lib uses &lt;a href="https://www.conventionalcommits.org/en/v1.0.0/" rel="noopener noreferrer"&gt;conventional commits&lt;/a&gt; convention which makes commits meaningful. You can also turn on &lt;a href="https://gitmoji.dev/" rel="noopener noreferrer"&gt;GitMoji&lt;/a&gt; setting if you like. And select different languages and many other features (I got 12 PRs so far)&lt;/p&gt;

&lt;p&gt;Simply install it with npm:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

npm i &lt;span class="nt"&gt;-g&lt;/span&gt; opencommit


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;After installing type &lt;code&gt;oc&lt;/code&gt; and hit "Enter" in a terminal:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

oc


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;If you want OpenCommit to be used by your IDE do:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

oc hook &lt;span class="nb"&gt;set&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;That's it.&lt;/p&gt;

&lt;p&gt;For more features &lt;a href="https://github.com/di-sukharev/opencommit#setup" rel="noopener noreferrer"&gt;read the docs&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm58jycy84s4jak2gfcl2.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm58jycy84s4jak2gfcl2.gif" alt="opencommit.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;you may follow my &lt;a href="https://twitter.com/_sukharev_" rel="noopener noreferrer"&gt;twitter&lt;/a&gt; or not&lt;/p&gt;




&lt;p&gt;btw, i have one more great tool for making GPT write extremely accurate code for you &lt;a href="https://dev.to/disukharev/aitdd-ai-cli-for-tdd-you-write-the-test-ai-makes-it-green-32bn"&gt;https://dev.to/disukharev/aitdd-ai-cli-for-tdd-you-write-the-test-ai-makes-it-green-32bn&lt;/a&gt;&lt;/p&gt;

</description>
      <category>git</category>
      <category>ai</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
    <item>
      <title>TOP 4 open-source AI to code like a PRO 🧠 🤖</title>
      <dc:creator>Dima Sukharev</dc:creator>
      <pubDate>Thu, 23 Mar 2023 06:35:40 +0000</pubDate>
      <link>https://dev.to/disukharev/top-3-open-source-ai-tools-for-programmers-4oed</link>
      <guid>https://dev.to/disukharev/top-3-open-source-ai-tools-for-programmers-4oed</guid>
      <description>&lt;p&gt;&lt;em&gt;first — let's grow &lt;a href="https://twitter.com/_sukharev_" rel="noopener noreferrer"&gt;my twitter&lt;/a&gt;, so i can tell about my inventions quicker and make the world even better place (or not, idk)&lt;/em&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  &lt;a href="https://github.com/di-sukharev/opencommit" rel="noopener noreferrer"&gt;OpenCommit&lt;/a&gt; — ChatGPT CLI to auto-generate impressive commits in 1 second 🤯🔫
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffdik9aq5iwk3e4bqsqbk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffdik9aq5iwk3e4bqsqbk.png" alt="opencommit — before and after"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Simply install it with npm:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i &lt;span class="nt"&gt;-g&lt;/span&gt; opencommit
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After installing type &lt;code&gt;oc&lt;/code&gt; and hit "Enter" in a terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;oc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check the OpenCommit &lt;a href="https://github.com/di-sukharev/opencommit" rel="noopener noreferrer"&gt;README on GitHub&lt;/a&gt;. It's awesome!&lt;/p&gt;




&lt;h3&gt;
  
  
  &lt;a href="https://github.com/di-sukharev/AI-TDD" rel="noopener noreferrer"&gt;AI-TDD&lt;/a&gt; — CLI for TDD — you write the test, GPT4 writes the code to pass it ✅
&lt;/h3&gt;

&lt;p&gt;I won't tell you the whole 10 commandments of "why and how testing software is a blessing", just one thing — tests are like your friends, they tell you what you want to hear, but you can only trust them, and they save your a$$ anyway. You better have friends.&lt;/p&gt;

&lt;p&gt;With AI-TDD, you adjust the tests, and the code is written for you. You leave the low level of "how to code this feature" and move above to the level of "what the feature should do". You clean your head from "implementations" and start operating "ideas" as the pro maximum deluxe engineer.&lt;/p&gt;

&lt;p&gt;Check &lt;a href="https://github.com/di-sukharev/AI-TDD/blob/master/README.md#example" rel="noopener noreferrer"&gt;the example&lt;/a&gt;, magic 🧙&lt;/p&gt;




&lt;h3&gt;
  
  
  &lt;a href="https://marketplace.visualstudio.com/items?itemName=genieai.chatgpt-vscode" rel="noopener noreferrer"&gt;GenieAI&lt;/a&gt; — VSCode ChatGPT Integration
&lt;/h3&gt;

&lt;p&gt;Why to switch between IDE and browser tab to ask GPT stuff?&lt;/p&gt;

&lt;p&gt;GenieAI has programming presets and is highly configurable. &lt;/p&gt;

&lt;p&gt;Helps you stay focused in IDE, without switching context to browser. Try it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq8vupp9guisnib6eo0oe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq8vupp9guisnib6eo0oe.png" alt="GenieAI example use case"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  &lt;a href="https://github.com/TheR1D/shell_gpt" rel="noopener noreferrer"&gt;ShellGPT&lt;/a&gt; — ChatGPT in terminal
&lt;/h3&gt;

&lt;p&gt;Text from their github: "A command-line productivity tool powered by ChatGPT, will help you accomplish your tasks faster and more efficiently."&lt;/p&gt;

&lt;p&gt;I've installed it globally, nice tool if you use terminal often ;)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpfiacf5g7zcdtdrj4ys3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpfiacf5g7zcdtdrj4ys3.png" alt="ShellGPT example use case"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You are welcome and follow my bird &lt;a href="https://twitter.com/_sukharev_" rel="noopener noreferrer"&gt;twitter&lt;/a&gt; 🌞&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>opensource</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
