FerkiHN
FerkiHN on Hacker News
Posted by
FerkiHN on Saturday September 27, 2025 @10:23AM
from the ask-hn dept.
I've been wondering if it's always so clear what and when came first, I think not. I think that before there were definitely some programming languages that were higher level than Fortran, it's just that Fortran gained a lot of popularity. If you know, please share those high-level programming languages that existed before Fortran, but almost no one knows about them.
Wow, you did it yourself?! This is just wow, as a C/C++ developer I know how to create an OS, but at most I could come up with an idea, but writing all this myself, I have no words.
So it's very strange, and sometimes it reminds Gemini that he also doesn't know his version.
Dude, this is a really cool thing. I dreamed of creating this myself once. Now that you've done it, I can be happy because I always wanted to share the code and not hear the intrusive words "Don't self-promote."
I liked it, but I think they should add the ability to download music to .waw/.mp3 and add a local version to github (your wish).
I did it for nostalgia, I wanted to do it the way they used to do it, for example, such README files are in SDL and Linux.
Posted by
FerkiHN on Thursday July 24, 2025 @07:13AM
from the show-hn dept.
Hello HN community!I'm excited to introduce Unied – a compact and efficient terminal text editor, developed in C using the Ncurses library. My goal was to create a tool that combines familiar simplicity with powerful features rarely found in CLI editors.What makes Unied special?* Intelligent Syntax Highlighting: Unied automatically detects if you're working with code (C, Python, JS, etc.) or...
Totally fair — this pattern can be confusing at first glance.
The main motivation is ease of integration: no need to manage extra .c files, no build system tweaks, just drop in one file and go.
It’s especially useful for embedded systems, scripts, and small projects where build friction matters.
That said, I agree that for larger teams or long-term projects, the classic .h + .c split can be clearer — that’s why the implementation can easily be separated if needed.
Appreciate the feedback!
Great question!
It works the same way as stb-style libs: you only #define GIF_IMPLEMENTATION in one .c file (one translation unit). In all other files, you just #include "gif.h" without the define.
The header uses #ifdef GIF_IMPLEMENTATION to include implementation code only once.
So no linker errors — everything compiles cleanly as long as that rule is followed.
I’ll make this clearer in the README too, thanks!
Exactly! That flexibility was one of my goals. Making integration smooth for both small embedded projects and larger codebases with unity builds — glad to hear it resonates.
Thanks! Yes, stb-style header-only libs were definitely an inspiration. I know some devs find the approach confusing, especially with linker errors if *_IMPLEMENTATION isn't handled correctly.
I tried to keep it simple and clearly documented, but feedback like this helps improve it.
Yes, I used ChatGPT to help refine the README and occasionally get suggestions for cleaner or more efficient code patterns.
But the core logic, turbo decoding modes, and embedded optimization — that’s all written, tested, and understood by me.
I see AI as a tool, not an author — it helps speed things up, but I still do the thinking.
Please share your thoughts.
Posted by
FerkiHN on Wednesday July 23, 2025 @07:36AM
from the show-hn dept.
I built a lightweight GIF decoder in pure C, ideal for embedded or performance-critical environments. It’s header-only, zero dynamic memory allocations, and fully platform-independent. Supports both static and animated GIFs, with turbo and safe decoding modes. Works great on microcontrollers, IoT devices, and anything with a framebuffer. Would love feedback or ideas where this could be...
I don’t see AI as a threat to programmers now or in the future — it’s just a tool. Think of programming like cutting down trees: we used to swing axes, and now we’ve got chainsaws. But even the best chainsaw won’t cut a tree on its own — it still needs the woodcutter.
AI is trained on what humans have already done. It can remix and automate, sure, but it doesn’t innovate or create like humans do — at least not yet. Reaching that level of creativity is a whole different game, and if AI ever does get there, we’ll have way bigger questions to worry about than job automation.
Bottom line: AI won’t replace us — it’ll reshape how we work. The role of the programmer will evolve, just like it has with every major shift in tools and tech.
Add the ability to reply to user comments.
Hello, now the design is great, you did a great job, now you can either rest or start promoting your site again. Or if you still have the strength, you can add theme customization, for example: light, dark, system, custom (the ability to customize the color of the site for yourself).
And I don't know what it's all about, but your site sometimes loads for me, sometimes it doesn't, it seems like it decides for itself when to load and when not to.
Weekdays (Monday - Friday) are best.
Posting times:
8:00 AM - 11:00 AM (EST)
Thanks for the answer, I'm glad you like it. :)
Your observation is appropriate, I didn't notice the error in my project's output, apparently I accidentally put "Photo", wrote "Phono".
I know you don't need the project, but if you want, you can star my repository to support me.
Posted by
FerkiHN on Sunday July 20, 2025 @07:18AM
from the self-post dept.
While working in terminal environments (especially on servers or minimal systems), I often found myself wishing for a way to view images without launching a graphical interface.I built this because I often work on ARM devices or inside TTY without any GUI — and I wanted a tool that just shows an image, no magic. Maybe someone else needs it too.That’s how PIT was born — a lightweight PNG/JPEG...
Fair point! XID targets niche scenarios where its properties shine:
1. Resource-constrained environments (IoT/embedded) where UUIDs are too heavy
2. Offline systems needing collision resistance without coordination
3. Debuggability - timestamp extraction avoids DB lookups for audit trails
4. Zero-dependency projects (OS kernels, bootloaders, firmware)
It’s not for every use case, but fills gaps where UUIDv4/Snowflake can’t go. Curious what specific problems you’re solving where it feels less useful?
Posted by
FerkiHN on Sunday July 20, 2025 @06:55AM
from the show-hn dept.
https://gist.github.com/Ferki-git-creator/17450d52d143f746f00fb1c903c06bb2
XID generates 20-character globally unique IDs (48-bit timestamp + 64-bit entropy + 8-bit counter + 5-bit checksum) in a single C file with zero dependencies. Features built-in timestamp extraction, collision resistance, and portable design for any platform - ideal for databases, IoT, and distributed systems.char id = xid_generate(); // => "01H5Z7K4W9A3B6C8D0F2G"Gists:...
Hello, now the design is great, you did a great job, now you can either rest or start promoting your site again.
Or if you still have the strength, you can add theme customization, for example: light, dark, system, custom (the ability to customize the color of the site for yourself).
Hello, now the design is great, you did a great job, now you can either rest or start promoting your site again.
Or if you still have the strength, you can add theme customization, for example: light, dark, system, custom (the ability to customize the color of the site for yourself).
As for advice, of course I don't know for sure if it's better this way, but it seems to me that you have a lot of files that are ~2kb each, have you thought about merging some of them for easier readability of the project?
Great project, I love all these things,I also gave your repository a star, I hope you will have 1000 of them someday, you really add to the capabilities of the terminal, I'm also interested in this, if you want, check out my project too:
https://github.com/Ferki-git-creator/phono-in-terminal-image...
I don't want to seem greedy, but if you want, you can also star the repository, so that all our terminal projects can see the world!
Posted by
FerkiHN on Saturday July 19, 2025 @05:00AM
from the ask-hn dept.
The Hacker News community loves its rules, which are not even mentioned by the organizers of this site, so I would like to know what rules, in your opinion, a user's comment or post should follow, for or example, what can and cannot be done, what type of post is best and what is not interesting, etc.