<?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: Kornel Rzeczycki</title>
    <description>The latest articles on DEV Community by Kornel Rzeczycki (@kornel_rzeczycki_523d157b).</description>
    <link>https://dev.to/kornel_rzeczycki_523d157b</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3849142%2Fc873bad2-e9f7-43bf-b033-d35ac6b49442.png</url>
      <title>DEV Community: Kornel Rzeczycki</title>
      <link>https://dev.to/kornel_rzeczycki_523d157b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kornel_rzeczycki_523d157b"/>
    <language>en</language>
    <item>
      <title>Own AI chatbot in terminal</title>
      <dc:creator>Kornel Rzeczycki</dc:creator>
      <pubDate>Sun, 21 Jun 2026 19:40:08 +0000</pubDate>
      <link>https://dev.to/kornel_rzeczycki_523d157b/own-ai-chatbot-in-terminal-1ebh</link>
      <guid>https://dev.to/kornel_rzeczycki_523d157b/own-ai-chatbot-in-terminal-1ebh</guid>
      <description>&lt;p&gt;Lately I was looking for an opportunity to expand my knowledge in algorithms. Particularly for sharpening designing skills for optimisation purposes. &lt;br&gt;
Hence I found it useful to incorporate my PC powers to give me some boost in this matter. &lt;br&gt;
I did a bit of research and it turns out that there is plenty of options having Apple M2 Silicon on board with 16GB of RAM.&lt;br&gt;
My choice was Qwen2.5-7B. Why You could ask? Well first and foremost it has excellent reasoning particularly in Mathematics and logical exercises which I find useful in tasks I am about to throw at it. &lt;br&gt;
Secondly it is reliably small which makes it maintainable in long term. Also it does not eat up too much RAM memory to avoid swap overworking. &lt;br&gt;
So once You have this covered You can download the model. I was fully aware it needs quantisation by some well renowned party.&lt;/p&gt;

&lt;p&gt;So I went under this address:&lt;br&gt;
&lt;a href="https://huggingface.co/bartowski/Qwen2.5-Math-7B-Instruct-GGUF/tree/main" rel="noopener noreferrer"&gt;https://huggingface.co/bartowski/Qwen2.5-Math-7B-Instruct-GGUF/tree/main&lt;/a&gt;&lt;br&gt;
And downloaded the model below: Qwen2.5-Math-7B-Instruct-Q4_K_M.gguf&lt;/p&gt;

&lt;p&gt;I chose Qwen2.5-Math-7B-Instruct because of its strong performance in mathematical reasoning and logical problem-solving, which aligns well with algorithmic practice tasks. Its relatively small size also makes it suitable for local execution on Apple Silicon machines with 16GB of unified memory, without excessive reliance on disk swapping.&lt;/p&gt;

&lt;p&gt;To run it efficiently, I used a quantised GGUF version. Quantisation reduces the precision of model weights (for example, to 4-bit integers), significantly lowering memory usage while maintaining acceptable output quality. In this case, the Q4_K_M variant reduces the model size to approximately 4–5 GB.&lt;/p&gt;

&lt;p&gt;The goal is to ensure the model fits entirely in unified memory, avoiding swap usage, which would severely degrade inference speed and responsiveness.&lt;/p&gt;

&lt;p&gt;So why is it that important? Ideally the size of model should fit in the free RAM memory not being used. Because Apple Silicon uses a unified memory architecture, it is important that the model fits in available memory to avoid swapping to disk. What this brings us to? Well you want the model to generate text in reasonable time to conversation to go fluently. Secondly you want to avoid situation where the model overflows the fast RAM memory and leak into SWAP memory (that is the part of You physical hard drive which serves as additional RAM) that is painfully slow and increase wearing out of your SSD.&lt;/p&gt;

&lt;p&gt;Having all this set up we need to think about how would we use our brand new model on PC. You need an engine to run it on the pc. My choice was llama.cpp because I usually like to tinker with things and it gives endless possibilities in that terms.&lt;/p&gt;

&lt;p&gt;What you will need here at the beginning is a cmake. It is a tool to build programs in C/C++ language.&lt;br&gt;
You can easily install it by running: brew install cmake&lt;/p&gt;

&lt;p&gt;Then I strongly advise to compile the source code from source. Without Metal enabled, the model runs entirely on CPU, which significantly reduces performance.&lt;/p&gt;

&lt;p&gt;So now you need a separate folder and in there You should execute commands below:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
git clone https://github.com/ggml-org/llama.cpp.git&lt;br&gt;
cd llama.cpp&lt;br&gt;
cmake -B build -DGGML_METAL=ON&lt;br&gt;
cmake --build build --config Release&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now engine is set up and you can give LLM a go. &lt;br&gt;
To do this assuming that you stored a model under models directory the command should look something like this:&lt;/p&gt;

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

&lt;p&gt;And this brings us to another point. You can now talk to the chatbot and have the whole university library university in one place! This makes local experimentation much more accessible.&lt;/p&gt;

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

</description>
    </item>
    <item>
      <title>Where did all my disk space space go?</title>
      <dc:creator>Kornel Rzeczycki</dc:creator>
      <pubDate>Sat, 20 Jun 2026 18:37:42 +0000</pubDate>
      <link>https://dev.to/kornel_rzeczycki_523d157b/where-did-all-my-free-space-went-596k</link>
      <guid>https://dev.to/kornel_rzeczycki_523d157b/where-did-all-my-free-space-went-596k</guid>
      <description>&lt;p&gt;In today's post I wanted to give some basic introduction of the free program that I discovered. &lt;br&gt;
GrandPerspective gave me the ability to analyze disk usage and identify files and folders that were taking up more storage space than I realized. This was especially useful because I am preparing my Mac for an offline LLM deployment.&lt;br&gt;
Its strong feature is the visuals. You can visualise Hard Disk usage just like that in the form of visually appealing blocks just as you were viewing computer memory from Grand Perspective!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnn7nsf1in0cl995mb5iv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnn7nsf1in0cl995mb5iv.png" alt=" " width="800" height="520"&gt;&lt;/a&gt;&lt;br&gt;
It will definitely have its place in my tool belt!&lt;br&gt;
Secondly it is 100% Mac compatible software including Apple Silicon Macs.&lt;br&gt;
Most importantly it has a very useful version which is totally free! &lt;br&gt;
However, you can purchase a paid version from Apple App Store whenever you want.&lt;br&gt;
Check out the link below.&lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://grandperspectiv.sourceforge.net" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;grandperspectiv.sourceforge.net&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>First App built with Google AI studio</title>
      <dc:creator>Kornel Rzeczycki</dc:creator>
      <pubDate>Sun, 29 Mar 2026 12:13:59 +0000</pubDate>
      <link>https://dev.to/kornel_rzeczycki_523d157b/first-app-built-with-google-ai-studio-5gj7</link>
      <guid>https://dev.to/kornel_rzeczycki_523d157b/first-app-built-with-google-ai-studio-5gj7</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is my submission for &lt;a href="https://dev.to/deved/build-apps-with-google-ai-studio"&gt;DEV Education Track: Build Apps with Google AI Studio&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I built an app to generating full box cover of retro game at a snap of the finger. It includes the front being an image generated with Imagen from Google and game text description on the back of the cover. The master prompt I used:&lt;br&gt;
"Please create an app to generate new unique Retro Game cover picture using Imagen for the visuals, and Gemini to create the text descriptions for the game."&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkpm3sc7axjibhbnrh8oo.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkpm3sc7axjibhbnrh8oo.jpeg" alt=" " width="800" height="365"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.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%2Felw7jemj7fzdzbuwpg6x.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Felw7jemj7fzdzbuwpg6x.jpeg" alt="GUI of app" width="800" height="554"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0qysabeauarw6fvf9wxp.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0qysabeauarw6fvf9wxp.jpeg" alt=" " width="800" height="1185"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.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%2Ftgbkzjsx5ick3xbvllu3.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ftgbkzjsx5ick3xbvllu3.jpeg" alt=" " width="776" height="1164"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://ai.studio/apps/c1aa2a41-6d3c-46c7-9bc4-a6fb1357fc1f?fullscreenApplet=true" rel="noopener noreferrer"&gt;https://ai.studio/apps/c1aa2a41-6d3c-46c7-9bc4-a6fb1357fc1f?fullscreenApplet=true&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My Experience
&lt;/h2&gt;

&lt;p&gt;I was surprised how easy it was to generate an app in just a few minutes from successful prompt. Also I was curious about how new Google AI studio can handle such tasks which to me does it surprisingly well. I've got a bit of react along the way to read through generated code.&lt;/p&gt;

</description>
      <category>deved</category>
      <category>learngoogleaistudio</category>
      <category>ai</category>
      <category>gemini</category>
    </item>
  </channel>
</rss>
