Skip to main content

Questions tagged [modules]

A logical subdivision of a larger, more complex system.

Filter by
Sorted by
Tagged with
8 votes
3 answers
285 views

This is a modernization of a very old utility I’ve had in my personal code toolbox for a while. There are two variable template constants: indi::type_name<T>:...
indi's user avatar
  • 16.5k
1 vote
1 answer
216 views

I am still just starting out with python and just finished learning about classes, with no further understanding on many python modules. With this in mind, this is one of the biggest/hardest things I ...
Beginner's user avatar
  • 199
3 votes
1 answer
167 views

The following code was written to create custom directory listings for the Abyss Web Server. It attempts to provide an improved example of the included documentation for doing so in Python. However, ...
Noctis Skytower's user avatar
6 votes
3 answers
178 views

I've been working on a tic-tac-toe backend for an interactive commercial-use display and was wondering if I could get some feedback on it. ...
Seth's user avatar
  • 161
6 votes
1 answer
114 views

I do research and compare different numeric models to each other. Therefore, I want to easily switch out the numeric models in my simulations and evaluation code. Some models work in cartesian ...
Andreas Schuldei's user avatar
3 votes
1 answer
129 views

The following script upgrades an existing, all core (no add ons) MediaWiki install. I run it with set -x for debugging (I avoid ...
timesharer's user avatar
2 votes
0 answers
244 views

We follow atomic design principle. More here I have a react app where we put small components like button, label etc and call it atoms. In that I have made loading and Error component responsible for ...
iRohitBhatia's user avatar
2 votes
1 answer
106 views

I have built a To Do App in Javascript, using Webpack and some modules. The app lets you store projects (School, Sport, Grocery, etc.)... And inside these projects, you can store todo items... You can ...
Žiga Grošelj's user avatar
3 votes
1 answer
73 views

Improved version of the original question I've created a simple npm module and CLI program to get the latest GitHub and Bitbucket release from their APIs using Node.js. Please tell me if there's ...
user avatar
3 votes
2 answers
88 views

I am building a browser based Pre-Flop HUD that for now just tracks VPIP, PFR and number of hands played for an opponent (https://pokercopilot.com/poker-statistics/vpip-pfr). I am currently using ...
Salvatore Allegra's user avatar
1 vote
1 answer
53 views

Please download the file and save in home directory and extract it: https://www.dropbox.com/s/swtw8bk35zr1i6d/analyse.7z?dl=0 I can get some warrants info. ...
showkey's user avatar
  • 111
3 votes
3 answers
307 views

I have recently been brushing up on my statistics and calculus and wanted to implement Linear Regression, the code will be for a calculus/statistics library I am working on (I know there are libraries ...
Doğukan Özdemir's user avatar
6 votes
1 answer
97 views

I have this little project i am about to release. https://github.com/holli-holzer/perl6-Win-VT I would be happy about a code review and suggestions for a better name. Discussion in IRC yielded ...
Holli's user avatar
  • 221
3 votes
0 answers
70 views

I'm trying to learn writing python programs in a modular way as much as possible. One of the issues I've had difficulty to solve is parsing command line arguments (with ...
Doron Behar's user avatar
1 vote
1 answer
116 views

I'm learning rust with mostly a background in managed languages. I have a little C background. As a learning project I am re-implementing a linear-transformations library I've been working on in ...
Kelson Ball's user avatar
3 votes
1 answer
210 views

I want to organize some JavaScript code using module pattern. The scenario is as follows: Having the following html table created dynamically ...
user615274's user avatar
2 votes
2 answers
244 views

I am processing an unformatted CSV, New-AmbSYS-to-2018-Jan.csv, from NHS England Ambulance Quality Indicators, by reading its contents into an array, and carrying out a number of steps that lead to a ...
QHarr's user avatar
  • 385
1 vote
3 answers
163 views

I've written a simple program using modular programming in C (using a lot of functions), that gets a line of input from the user, and then prints if a given input forms a magic square or not. The ...
BeginningMath's user avatar
6 votes
3 answers
4k views

The problem is stated as follows: Given a string, return the sum of the numbers appearing in the string, ignoring all other characters. A number is a series of 1 or more digit chars in a row. (Note: ...
dirtysocks45's user avatar
9 votes
2 answers
2k views

In Python, we use __all__ to explicitly denote the public API of a module or package. That looks like this: ...
Aaron Hall's user avatar
  • 1,568
3 votes
1 answer
69 views

I'm working on a macro which copies some pictures to a new sheet, then resizes the pictures. The user can input a number 1, 2, ..., 5 and, depending on the number, the macro returns a different set of ...
user78655's user avatar
  • 131
3 votes
1 answer
1k views

All of the code is self-explanatory and pretty much complete. What the code does: Calculates using onscreen numerics and operators Validates any erroneous operations, such as 4 ** 8 or *9 Good ...
Sagar Munjal's user avatar
2 votes
1 answer
80 views

I am on the process of changing jobs, so I would like to get an idea of what I do wrong in order to improve. For this, I have created a small node module. It's very simple; it calculates linear ...
yBrodsky's user avatar
  • 123
4 votes
1 answer
277 views

I've worked on pycrack.py to improve it (hopefully). New features: Renamed to kronos (kronos.py). Attack modes: Bruteforce; Wordlist attack. Portability: Kronos can run on Windows, MacOS and Linux, ...
Daniel's user avatar
  • 4,642
6 votes
2 answers
216 views

I'm trying to create a custom "mongodb perl wrapper". I created the following perl module, which local on my machine runs. My questions to the community are: Would you create the module different? Do ...
Patrick85's user avatar
  • 511