All Questions
861 questions
1
vote
1
answer
101
views
A Java program for compressing/decompressing files via Huffman algorithms (version 1.1.1)
Intro
(See the version 1.0.0.)
(See the GitHub repository.)
This time I have got rid of some generic classes and adapted the entire code base to deal with byte ...
5
votes
1
answer
464
views
A Java program for compressing/decompressing files via Huffman algorithms (version 1.0.0)
Intro
(See the version A Java program for compressing/decompressing files via Huffman algorithms (version 1.1.1).)
(The full repository is here. It contains also some unit tests that do not fit in ...
0
votes
0
answers
53
views
Augment vi editing mode in haskeline by implementing the ; and , commands
haskeline is a reimplementation in haskell of the GNU Readline library (the one that by default allows you to delete the word you just typed on your shell's command line by pressing Ctrl+w, for ...
2
votes
1
answer
140
views
ds (directory switcher): a *nix program for tagging directories with (short) tags and switching between them via tags
Repo
The complete program: GitHub repository
How it works
After you have cloned the above repository, change directory inside it and type make in order to compile ...
9
votes
5
answers
3k
views
Console-based Casino Game in C++
I made a casino game that runs in the console for my grade 10 final project, and I received a 93% as my grade. I'm looking for feedback in areas such as syntax, user experience and efficiency. I would ...
7
votes
1
answer
779
views
JSON powered C++ CLI Engine
I decided to create cli(s) in C++. For instance a music player which will play music from my library via commands player play muse or ...
9
votes
3
answers
1k
views
A simple C++ function converting the environment variables in main() to an unordered_map
I had this program:
...
9
votes
3
answers
2k
views
Command Line Hangman game
I've completed a Hangman game in Python and was wondering about the formatting of this code. There were several functions that I switched around while making this, and there were several times where I ...
5
votes
2
answers
152
views
Command-line Tool That Reads a Text File and Calculates Basic Statistics
TLDR: First time dev in Go moving from Java and I need feedback on my simple CLI Tool.
I wanted to get competent in Go as a very junior developer, so this is my first basic project in go. I set a goal ...
4
votes
1
answer
176
views
Replace node type in Drupal
In Drupal 11 or greater, this code is used to change the node type of a node. How would you improve the code if at all?
...
11
votes
6
answers
1k
views
fsize: A Command-Line Tool for Checking File Sizes
I have created a cross-platform CLI tool to quickly retrieve file size and present it to the user in different units of data. The whole program is written in C and for Windows Win32 API is used to ...
4
votes
2
answers
915
views
Cross platform raw input handling in C/C++ for Linux and Windows
For some of my terminal videogames I need to accept input in raw mode, which can be done in Windows by using the nonstandard function getch coming from the header <...
4
votes
1
answer
118
views
File list and monitor
I recently was given a take home assignment for a job interview. The task was specified like so:
...
3
votes
0
answers
82
views
Advice on decomplecting and decoupling my tic tac toe implementation
I am hoping to find out what you think about my implementation of tic-tac-toe.
It is complete and working as expected with many tests, but the logic in the main module where I have the play-game main ...
8
votes
3
answers
595
views
Simple console calculator app. Looking for structure/best practices tips
I'm very much new to coding. The template for a .NET Console app opens up blank. I added lines like
using System.ComponentModel.Design;
...