HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Forgret

no profile record

Submissions

[untitled]

1 points·by Forgret·6 месяцев назад·0 comments

[untitled]

1 points·by Forgret·10 месяцев назад·0 comments

[untitled]

1 points·by Forgret·10 месяцев назад·0 comments

[untitled]

1 points·by Forgret·10 месяцев назад·0 comments

Show HN: I got tired of Base64, so I made a numeric-only alternative

4 points·by Forgret·10 месяцев назад·7 comments

[untitled]

2 points·by Forgret·10 месяцев назад·0 comments

Show HN: MassifLib++ – Bringing Fortran-style arrays and NumPy operations to C

3 points·by Forgret·10 месяцев назад·0 comments

HN this is completely random

1 points·by Forgret·10 месяцев назад·1 comments

Show HN: I built a minimal Forth-like stack interpreter library in C

47 points·by Forgret·10 месяцев назад·14 comments

Show HN: FSP2 Tested on excerpt "Romeo and Juliet" impressive compresion results

2 points·by Forgret·10 месяцев назад·4 comments

Ask HN: What's the best productivity hack for remote developers in 2025?

3 points·by Forgret·10 месяцев назад·1 comments

Show HN: Stb_JSON header only JSON parser for C/C++

2 points·by Forgret·10 месяцев назад·0 comments

Ask HN: How do you write code with or without AI?

2 points·by Forgret·10 месяцев назад·2 comments

Ask HN: Which C libraries do you think should get a modern alternative?

2 points·by Forgret·10 месяцев назад·2 comments

Show HN: Std_net.h – Single-file cross-platform TCP networking (C/C++)

1 points·by Forgret·10 месяцев назад·5 comments

Show HN: Link Global, cross-shell aliases with history, auto-compile for C files

1 points·by Forgret·10 месяцев назад·0 comments

Show HN: I'm tired of long color entries like "\x1B[48;5;10M"so I created my own

3 points·by Forgret·10 месяцев назад·0 comments

[untitled]

1 points·by Forgret·10 месяцев назад·0 comments

Ask HN: Let's find out who is from which country?

2 points·by Forgret·10 месяцев назад·3 comments

[untitled]

1 points·by Forgret·10 месяцев назад·0 comments

comments

Forgret
·10 месяцев назад·discuss
I'm looking for interesting computer science articles that aren't in Show HN and Ask HN
Forgret
·10 месяцев назад·discuss
Base64 is great and widely used. I just wanted to experiment with a numeric-only representation. NUMBASE encodes everything into a single large number, which can make certain compression schemes like Huffman more efficient and opens up new ways to store or transmit data.
Forgret
·10 месяцев назад·discuss
It depends on the data. Base64 adds ~33% overhead, while NUMBASE can be encoded into one large number at once and compressed with Huffman or other algorithms. For some data types this results in fewer extra characters.
Forgret
·10 месяцев назад·discuss
URL I added it to the description.

Or here it is: https://github.com/Ferki-git-creator/numbase
Forgret
·10 месяцев назад·discuss
Ops, I forgot to add the link.

https://github.com/Ferki-git-creator/numbase
Forgret
·10 месяцев назад·discuss
Thanks for the inspiration! I realize it’s probably crazy to think my algorithm could ever become universally needed, but I’m not giving up. Even if it doesn’t turn into something as large-scale as I once dreamed, I believe it can still lead to something useful — and the journey itself is worth it.
Forgret
·10 месяцев назад·discuss
Thanks, you’re absolutely right — performance needs to be tested on large inputs with proper speed and memory profiling. I’ll run FSP on bigger datasets and compare it directly with zstd, brotli, gzip, etc. If needed, I’ll improve the algorithm to reduce overhead and make it scale better. This was just an early proof-of-concept, but I agree the next step is serious benchmarking.
Forgret
·10 месяцев назад·discuss
Good afternoon, I redesigned the compression algorithm, now it is much better.
Forgret
·10 месяцев назад·discuss
Hello, I did what you asked for, here is the test: https://github.com/Ferki-git-creator/fsp/blob/main/test_fsp_...

Here is the output: https://github.com/Ferki-git-creator/fsp/blob/main/output_te...
Forgret
·10 месяцев назад·discuss
Don't worry, I'm already starting work on improving it, your comment motivated me, so maybe in 1 day I'll make what you wanted possible.
Forgret
·10 месяцев назад·discuss
Hi! Thanks for the feedback. To be honest, the current version of std_net won’t run directly on ESP32 or bare-metal — it relies on standard BSD sockets and a full OS environment.

That said, it can serve as a basis:

On ESP32, you could adapt it to use LWIP sockets via ESP-IDF or Arduino, implement non-blocking I/O with FreeRTOS tasks, and reduce buffer sizes.

On bare-metal, it would require a lightweight TCP/IP stack (like lwIP or uIP) and rewriting functions to be fully event-driven and minimal on dynamic memory.

Also, please keep in mind this was the first version — mainly to see if the library idea resonates. I didn’t plan to make it fully optimized or MCU-ready yet. Future versions will definitely include improvements for embedded environments.
Forgret
·10 месяцев назад·discuss
I wish you success in further development, don't stop!
Forgret
·10 месяцев назад·discuss
I'm afraid that Rust will replace C/C++ in everything.
Forgret
·10 месяцев назад·discuss
Not yet, but there is a test on GitHub.
Forgret
·10 месяцев назад·discuss
I am from Ukraine.
Forgret
·10 месяцев назад·discuss
I see that there are a lot of posts about frontend, AI, and other programming languages, especially Rust, so I wanted to know if there are still active C programmers here and what they might be doing right now?
Forgret
·10 месяцев назад·discuss
Please give feedback.Or if you want please star the repository. :)
Forgret
·10 месяцев назад·discuss
I can't use my old account so I created a new one and I'll follow the rules better now.
Forgret
·10 месяцев назад·discuss
GitHub: https://github.com/Ferki-git-creator/fsp
Forgret
·10 месяцев назад·discuss
Well, the 0.02% number was just proof that my concept works.