Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
matthewsnyder
A quiet enigma. We don't know anything about matthewsnyder yet.
Posts
How do I clone the repository with only part of the history? For example, let's say I want to download only the last 5 commits out of thousands.
2 answers · posted 1mo ago by matthewsnyder · last activity 1mo ago by hkotsubo
Background Many Python programs now recommend installing with pipx, and there is a sense that you shouldn't install with pip anymore, you should use tools like pipx. Main Question However, what ...
3 answers · posted 1mo ago by matthewsnyder · last activity 14d ago by tripleee
Between-lines relations are not easy to look for with grep, which is a line filter. You could use a regex that spans lines, but I find this annoying because of all the flags you have to set. Grep ...
posted 4mo ago by matthewsnyder · edited 4mo ago by matthewsnyder
Hi and welcome to the site. :) I think the idea of a canonical like the one you linked is great. A lot of newbies have too little understanding of their topic to identify common patterns. So they ...
posted 2mo ago by matthewsnyder
These questions are very helpful to the person asking, and great for driving activity. I think it is good to allow these questions to be asked and to answer them. At the same time, they are not go...
posted 4mo ago by matthewsnyder
When I run pip install foo, pip looks for foo in PyPi. I want it to look for it first in a private repo, let's say pypi.bar.com. Only if foo cannot be found in pypi.bar.com, should pip then look f...
1 answer · posted 3mo ago by matthewsnyder · last activity 3mo ago by tripleee
Why does git merge take the source branch rather than the destination branch as a parameter? The most common merge case by far for me is "Okay, this branch looks good, let's merge it into branch X...
4 answers · posted 2mo ago by matthewsnyder · last activity 2mo ago by hkotsubo
Mathematically, the purpose of a function is to return an output. However, in a programming context functions often have side effects. It is even common to call functions for the side effects alone...
2 answers · posted 2mo ago by matthewsnyder · last activity 2mo ago by Lundin
When I run code . in a directory, Visual Studio Code opens two windows. The first is empty, the second shows directory I was in as expected. I checked ~/.config/VSCode/Workspaces and there is only...
2 answers · posted 4mo ago by matthewsnyder · last activity 4mo ago by matthewsnyder
How are software recommendations handled on https://software.codidact.com/ ? https://outdoors.codidact.com/ has a "gear recommendations" section, so it seems like Codidact is open to the idea. I s...
1 answer · posted 4mo ago by matthewsnyder · last activity 4mo ago by Lundin
When running various Python scripts, I often need to do this annoying dance: $ python script.py ... ModuleNotFoundError: No module named 'foo' $ pip install foo $ python script.py ... Module...
3 answers · posted 4mo ago by matthewsnyder · last activity 29d ago by Anonymous
Recently, AI models like ChatGPT have shown themselves capable of generating content and even source code. Just like with human helpers, clear and precise communication is key (especially when aski...
1 answer · posted 3mo ago by matthewsnyder · last activity 3mo ago by manassehkatz
It sounds like you have a Java formatter configured (by default?) and VSC is applying it to your code automatically (on save?). How code is formatted If your only gripe is these specific stylisti...
posted 3mo ago by matthewsnyder
In Python, multiprocessing is easy to do if you follow a "list projection" paradigm. Say you want to take a list of inputs X and apply some function f to every x_i, such that y_i = f(x_i) and the y...
1 answer · posted 2mo ago by matthewsnyder · last activity 2mo ago by mr Tsjolder
I want my CLI Python program to schedule a task, and then exit. After some times has passed (say 10 minutes) the task should execute. The task can be a Python method or a shell command, whatever i...
3 answers · posted 1mo ago by matthewsnyder · last activity 30d ago by [Object object]

Reputation | 1099 | |
Number of top-level posts | 23 | |
Number of answers | 32 | |
Sum of received votes (up minus down) | 129 | |
Number of edits made | 51 |
Earned Abilities
Statistics
Posts | ||
---|---|---|
Count | 55 | |
Questions | 23 | |
Answers | 32 | |
Articles | 0 |
Votes cast | ||
---|---|---|
Count | 49 |
Flags raised | ||
---|---|---|
Count | 0 |