Welcome to my GitHub profile! I'm working on a new project. Follow on Twitter for updates.
I build systems and dev tools for Machine Learning.
Bank of challenges & solutions from r/dailyprogrammer for people learning to program
Home Page: http://reddit.com/r/dailyprogrammer
License: MIT License
Should use logging
module in order to better track errors.
When running ./transform.py
over all the directories, the directories that have already been modified get renamed again and add an extra character i.e. Challenge 0075 Easy - - Function Transformation/
or Challenge 0075 Easy - Function Transformation -/
Since we'll be having multiple solutions, possibly multiple per-language, I think it'd be nice / beneficial to have a table of contents like log of all of the solutions in the challenge directory, with a short description of the solution. This would encourage people to solve the solution different ways, and could prove a quick overview of the submitted solutions.
This listing could also include the solution author's name, as a quick view of everyone that contributed to that challenge.
For example, a solution that utilizes a quick sort could be submitted, and someone or even the same person could also upload a solution that utilizes a randomized quicksort.
I think it'd also make browsing the repo more user-friendly, as you could relatively easily get a feel for what kind of solutions have already been submitted without having to open every solution file.
Thoughts?
When trying to clone the project (using: git clone https://github.com/FreddieV4/DailyProgrammerChallenges.git), I'm running in to errors that I think are due using a reserved character in a directory name. When I try and clone I get:
fatal: cannot create directory at 'Easy Challenges/Challenge #0257 [Easy] In what year were most presidents alive?': Invalid argument
I've googled around, and found that windows has a bunch of reserved characters that cannot be used in directory names such as:
(greater than)
The question mark in "Challenge #0257 [Easy] In what year were most presidents alive?" needs to be removed, and I'd gladly do it myself but I can't clone the project to fix it.
Why hard challenge 268 is in the base directory and in the Hard Challenges directory?
No longer using the VPS
Create a section for people to contribute and add solutions to different challenges. Include How to Contribute with guidelines/formatting criteria.
Hello! Just got here from r/ruby and decided to poke around the repository. I've noticed that some challenges e.g.
Are open-ended and the contribution guidelines doesn't cover challenges of this nature; the calculator application can be anything from calculating acceleration to weight of an object, for instance.
We should have a naming convention for these types of challenges too!
Script was last ran May 7th, and the most recent challenge is 313 it seems.
The challenge_text.md
file of some challenges contain trash
in it due to some encoding errors while pulling the selftext from the respective r/dailyprogrammer post.
Challenges Containing Trash:
- Easy Challenges/Challenge # 241 [easy] Unicode Chess/challenge_text.md
- Easy Challenges/Challenge #114 [Easy] Word ladder steps/challenge_text.md
Every M/W/F, the repository is updated with that day's E/I/H challenge; this assumes that, on all three days, there is a new challenge. Some week's there are not three challenges, just one or two. If this occurs, the script will end up pulling a second copy of the already existing challenge(s) and won't move them into the correct directory, and keep them in the parent directory.
The scripts should be updated such that if the challenge already exists, the repeat challenge will be removed; this would either be invoked by an error or by cross-checking pulled challenge names with existing ones (though the latter would be much more expensive)
The contributing guidelines don't specify what should be done for challenges that are tightly coupled with input files. Example of one is [Intermediate] no.19 which links to text file needed for the program. Should these type of files just be included in the folder for the challenge?
This week's easy challenge has a :
in the name of the folder, which causes some problems as we can't have :
in a folder name.
The sequence \/:?*"<>
should be ignored in folders name.
Some files have encoding issues due to reserved characters in Windows/Linux. These files need to be renamed, and exclude these reserved characters.
Challenge #112 [Difficult]What a Brainf # Asterisks
Challenge #131 [Easy] Who tests the tests # Question Mark
Challenge #162 [Easy] Novel Compression, pt. 1 # Colon
Without the VPS, we don't need the shell scripts anymore; could also move them to an etc/
folder
From CONTRIBUTING.md
Please use the following name format when creating a challenge directory:
Challenge #xxxx [Easy/Intermediate/Hard] Challenge Name
Example:
Challenge #0251 [Hard] ASCII Nonogram Challenge #0254 [Intermediate] Finding Legal Reversi Moves Challenge #0253 [Easy] Unconditional Loan Income
The challenges in Easy Challenges
have this formatting, but the challenges in Intermediate Challenges
&& Hard Challenges
do not currently follow this format.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.