Newest Questions

0 votes
1 answer
14 views

Project Overview I have developed a project named FTPChat, which is a lightweight messaging protocol that uses a shared file hosted on an FTP server as its transport layer. The project is intended for ...
Ahmed Omar's user avatar
2 votes
3 answers
55 views

Code: https://github.com/Loki-Astari/Puzzle/tree/master/wc Challenge: https://codingchallenges.fyi/challenges/challenge-wc/ wc.cpp ...
Loki Astari's user avatar
  • 98.5k
1 vote
2 answers
29 views

Code: https://github.com/Loki-Astari/Puzzle/tree/master/HUF Challenge: https://codingchallenges.fyi/challenges/challenge-huffman huf.cpp ...
Loki Astari's user avatar
  • 98.5k
0 votes
0 answers
11 views

Code: https://github.com/Loki-Astari/Puzzle/tree/master/JSON-2 Challenge: https://codingchallenges.fyi/challenges/challenge-json-parser json.l ...
Loki Astari's user avatar
  • 98.5k
1 vote
1 answer
27 views

Code: https://github.com/Loki-Astari/Puzzle/tree/master/JSON-1 From Challenge: https://codingchallenges.fyi/challenges/challenge-json-parser json1.cpp ...
Loki Astari's user avatar
  • 98.5k
2 votes
1 answer
65 views

Intro Suppose we throw a die \$N\$ times. Before writing this program, I was puzzled by a question: How should I approach each trial. I got two options: Choose a single die number, count how many ...
coderodde's user avatar
  • 33.1k
3 votes
1 answer
105 views

Please review my_fgets_test() for completeness to exercise the functionality of fgets()-like code. Also suggestions for ...
chux's user avatar
  • 37k
3 votes
4 answers
317 views

I have written a small function that will be imported in each working file of my project and will make logging uniform for the project, allowing for centralized editing of logging settings. What can I ...
5 votes
1 answer
216 views

Intro This time, I present the ObjectBucketSort, a stable sorting algorithm for objects. Code ...
coderodde's user avatar
  • 33.1k
3 votes
1 answer
65 views

I want to provide an instance of JCache's CacheManager that either points to a distributed cache managed by Redisson (used in production), or a Caffeine instance (used for testing). I want this code ...
PunDefeated's user avatar
6 votes
1 answer
203 views

I've created a reusable SwiftUI ratings-view. Means: Giving 0 to 5 stars as a rating. Here's the source-code: ...
michael.zech's user avatar
  • 5,196
4 votes
3 answers
564 views

Intro This time, I was in the mood for generalizing counting sort to arbitrary (Comparable) objects. Code ...
coderodde's user avatar
  • 33.1k
8 votes
2 answers
851 views

Intro This post is the continuation of Batcher's sort in C++20. This time, I have incorporated the advices of Martin R, Toby Speight, Chris. Code batcherssort.h: <...
coderodde's user avatar
  • 33.1k
1 vote
0 answers
35 views

I want to implement the following pattern in Rust. It is a loop on some entities that don't know how to display themselves, but each one points to a display_linker, ...
damix911's user avatar
  • 189
7 votes
3 answers
990 views

Intro This is the very first time I actually expose myself to C++20 (concepts in this case). I decided to rewrite the Batcher's sort. (This post has a continuation: Batcher's sort in C++20 - Take II.) ...
coderodde's user avatar
  • 33.1k

15 30 50 per page
1
2 3 4 5
5197