GitShow/sharkdp/painless
sharkdp

painless

Painless parameter handling for easy exploration

by sharkdp
cppexplorationinteractiveparameterunix
Star on GitHubFork

C++

65 stars3 forks3 contributorsQuiet · 5y agoSince 2020MIT

Meet the team

See all 3 on GitHub →
sharkdp
sharkdp46 contributions
hmenke
hmenke2 contributions

Languages

View on GitHub →
C++94.1%
CMake5.9%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 5y ago
See all on GitHub →
sharkdp
Web-based editor (work in progress)OpenPR

Preview: !image To do: Write type information to parameter files. This way, we can adapt the input elements to the parameter type (checkbox for booleans, slider for floating point types, for integers, etc) Auto-refresh capabilities?

sharkdp · 6y ago
sharkdp
Think about creating a TUI/GUI application to edit parametersOpenIssue
sharkdp · 6y ago

Recent fixes

View closed PRs →
sharkdp
Implement parameter sharingMergedPR

This makes sure that we do not overwrite the parameter file in cases where the same process has already created a parameter of the same name. This allows us to share parameters across scopes / threads. closes #2

sharkdp · 6y ago
sharkdp
Handle name clashesClosedIssue

We probably need to make sure that parameter names are unique. In a single scope, this is enforced by the compiler. However, nothing is currently preventing the user to create multiple parameters with the same name in different scopes. We would probably need a central "parameter library" class (singleton?) that keeps track of all registered parameters.

sharkdp · 6y ago
hmenke
POSIX mandates to check TMPDIR + minor improvementsMergedPR

While you can always assume to be available, POSIX mandates that you check the environment variable as a preference for temporary files and directories [1]. For the minor improvements: might fail and has to be handled somehow. I chose to throw an exception, but an implementation where you fall back to [2] is also conceivable. A lot of the specialization for function templates are not needed. They can just be replaced by regular overloads. An was missing, possibly leading to linkage problems. [1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_03 [2] https://linux.die.net/man/3/tmpfile

hmenke · 6y ago
Structured data for AI agents

Repository: sharkdp/painless. Description: Painless parameter handling for easy exploration Stars: 65, Forks: 3. Primary language: C++. Languages: C++ (94.1%), CMake (5.9%). License: MIT. Topics: cpp, exploration, interactive, parameter, unix. Open PRs: 1, open issues: 1. Last activity: 5y ago. Community health: 42%. Top contributors: sharkdp, hmenke.

·@ofershap

Replace github.com with gitshow.dev