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 113 »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 1y ago by matthewsnyder · last activity 1y ago by tripleee
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 1y ago by matthewsnyder · last activity 1y 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 2y ago by matthewsnyder · edited 2y ago by matthewsnyder
I did git fetch to quickly get latest commits. I did this instead of git pull so I could deal with merge conflicts offline. But my repository is still stuck on the old commit, and now git pull fail...
2 answers · posted 9mo ago by matthewsnyder · last activity 3mo ago by hkotsubo
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 2y 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 2y 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 1y ago by matthewsnyder · last activity 1y 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 1y ago by matthewsnyder · last activity 1y ago by Lundin
I don't actually know the answer to this, but I'll post a provisional one while we wait for someone wiser than me to chime in. I think this is a small subset of the real answer. Don't forget the...
posted 1y 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 2y ago by matthewsnyder · last activity 2y ago by tripleee
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 1y ago by matthewsnyder · last activity 1y 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 1y ago by matthewsnyder · edited 1y ago by matthewsnyder
A lot of people who maintain FOSS projects would like to get more contributions. What can the maintainer do to ensure that potential contributors are converted into actual contributors? There are...
2 answers · posted 1y ago by matthewsnyder · last activity 12mo ago by Michael
Files with .py extension are scripts. You run them with python myscript.py. Python is an imperative language, so executing a file will run each line one by one, starting from the top, and exit whe...
posted 1y ago by matthewsnyder · edited 11mo ago by Michael
Recently, Python updated from 3.11 to 3.12 and now all my libraries are gone. Actually they're in the old 3.11 site-packages, but now that python points to 3.12 those are not active. Every time I r...
3 answers · posted 11mo ago by matthewsnyder · last activity 11mo ago by Karl Knechtel
Reputation | 2277 | |
Number of top-level posts | 52 | |
Number of answers | 61 | |
Sum of received votes (up minus down) | 267 | |
Number of edits made | 93 |
Earned Abilities
Statistics
Posts | ||
---|---|---|
Count | 113 | |
Questions | 52 | |
Answers | 61 | |
Articles | 0 |
Votes cast | ||
---|---|---|
Count | 101 |
Flags raised | ||
---|---|---|
Count | 8 |