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
I am an econometrics researcher, currently living in Seattle, WA. I enjoy all kinds of geeky things!
Posts
See all »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 8mo ago by matthewsnyder · last activity 8mo ago by hkotsubo
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 11mo ago by matthewsnyder · edited 11mo ago by matthewsnyder
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 8mo ago by matthewsnyder · last activity 7mo ago by tripleee
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 9mo 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 11mo ago by matthewsnyder
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 9mo ago by matthewsnyder · last activity 9mo ago by hkotsubo
Is software system design on topic for the software development site? For what I mean by system design, consider the "system design interview" commonly held these days when recruiting software eng...
1 answer · posted 1mo ago by matthewsnyder · last activity 1mo ago by Lundin
I think the main reason to do this is when the interfaces fail to account for some subtlety of the contract between caller and implementation. For example, let's pretend for a moment that your use...
posted 11mo ago by matthewsnyder · edited 11mo 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 10mo ago by matthewsnyder · last activity 10mo ago by tripleee
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 9mo ago by matthewsnyder · last activity 9mo ago by Lundin
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 8mo ago by matthewsnyder · last activity 8mo ago by H_H
The assumption of 1k attempts/s is wishful thinking, as is the idea that a hacker will go on mail.google.com and try to guess your login (they would get a captcha after like 5 failed attempts). Pa...
posted 4mo ago by matthewsnyder · edited 1d 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 11mo ago by matthewsnyder · last activity 11mo ago by Lundin
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 10mo 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 9mo ago by matthewsnyder · last activity 9mo ago by mr Tsjolder
Reputation | 1719 | |
Number of top-level posts | 43 | |
Number of answers | 48 | |
Sum of received votes (up minus down) | 197 | |
Number of edits made | 80 |
Earned Abilities
Statistics
Posts | ||
---|---|---|
Count | 91 | |
Questions | 43 | |
Answers | 48 | |
Articles | 0 |
Votes cast | ||
---|---|---|
Count | 77 |
Flags raised | ||
---|---|---|
Count | 4 |