Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

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.

Posts by matthewsnyder‭

91 posts
50%
+1 −1
Q&A How to migrate after SQLalchemy schema changes?

When I set up my object mappings with SQLalchemy, everything works well enough. It even creates the tables for me if they don't exist. However, if I decide to add/remove columns (aka fields) from ...

0 answers  ·  posted 11mo ago by matthewsnyder‭  ·  edited 11mo ago by Alexei‭

50%
+0 −0
Q&A Queries to count points lying on arbitrary line

Since you didn't mention memory, I'll assume O(N^2) is acceptable. Setup pseudocode: for every p1, p2: ln = line(p1, p2) points_on_line[ln.m, ln.c] += [p1, p2] If there are at least ...

posted 11mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A What is the point of pipx?

Dependency conflicts are the problem pipx aims to solve, in the context of installing CLI programs. When you install a Python package, by default pip will also install their dependent packages so ...

posted 9mo ago by matthewsnyder‭  ·  edited 9mo ago by matthewsnyder‭

Answer
50%
+1 −1
Q&A Is there a text version of pickle?

Is there a Python serialization format that has capabilities similar to Pickle, but is text based? The problem I always have with pickle is that it's binary, so I can't manually view or edit the d...

0 answers  ·  posted 8mo ago by matthewsnyder‭

50%
+1 −1
Q&A Understanding mutable default arguments in Python

Everything you put on the line with def is global (global to the file, not as in the global keyword), so the (initially empty) list you create with param=[] persists and gets reused between calls t...

posted 6mo ago by matthewsnyder‭  ·  edited 6mo ago by matthewsnyder‭

Answer
50%
+1 −1
Q&A What is the difference between hashing and encryption?

Hashing is lossy compression. You can't recover the input of a hash from the result. This would obviously not work as an encryption. How would you decrypt it, if half the message is destroyed :) ...

posted 3mo ago by matthewsnyder‭  ·  edited 3mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How to hide files from the VS Code sidebar without pattern matching?

You could just move the files to a new folder and open that :) Alright alright here's a serious answer: I noticed that VSC automatically dereferences symlinks. So if you create a temporary new fol...

posted 3mo ago by matthewsnyder‭

Answer
42%
+1 −2
Q&A Listen for key events in a CLI app

I have a Python program like this: done = False while u and not done: i = u.pop() print(f"Processing {i}") do_big_task(i) finish_up() Since this takes a long time, the user m...

1 answer  ·  posted 9mo ago by matthewsnyder‭  ·  last activity 8mo ago by mr Tsjolder‭

41%
+3 −5
Meta Questions easily answered by studying a beginner-level book

Beginner questions are not a "huge problem" for StackOverflow. They are the main reason SO got big at all. During what I would call its "peak", the joke going around was that the best documentation...

posted 11mo ago by matthewsnyder‭

Answer
40%
+0 −1
Meta How should I organize material about text encoding in Python into questions?

Much of this is already covered in various sources like https://docs.python.org/3/howto/unicode.html. Although there are issues with relying on links, I figure official documentation is probably fa...

posted 9mo ago by matthewsnyder‭

Answer
40%
+0 −1
Q&A Determine which script is slowing the page down in Firefox [closed]

A page is very slow and laggy in Firefox. I am certain it's one of the many Javascripts slowing it down. Out of curiosity, I'd like to figure out which script is creating the heaviest load. Note t...

0 answers  ·  posted 8mo ago by matthewsnyder‭  ·  closed 7mo ago by Alexei‭

36%
+2 −5
Q&A What is the point of triggering CI/CD with an empty git commit?

The reason this practice exists is because CIs suck. The frameworks/services themselves suck, and the way people write the configs also suck, and the two combine to create a mega-suck. A CI is sup...

posted 6mo ago by matthewsnyder‭  ·  edited 6mo ago by matthewsnyder‭

Answer
36%
+2 −5
Q&A What makes people able but unwilling to contribute to FOSS projects? [closed]

Suppose someone has the requisite knowledge and skillset to contribute to a FOSS project, they have the free time to do so and they are aware of the project. Yet, they decide not to contribute. Thi...

0 answers  ·  posted 2mo ago by matthewsnyder‭  ·  closed 2mo ago by Alexei‭

Question open-source
33%
+2 −6
Q&A How do I use an existing AI model to classify pornographic images? [closed]

In the last few months, AI has advanced considerably, notably in the area of generating images. We now have powerful models like DALL-E, Stable Diffusion, etc. These are quite competent at generati...

0 answers  ·  posted 10mo ago by matthewsnyder‭  ·  closed 10mo ago by Alexei‭

33%
+1 −4
Meta Suggested special feature: Clinic/case study

We have special features/sections on Codidact, so maybe this is a nice use for them. What if we had a section named something like "clinic" or "case study" or "debugging"? (name suggestions welcom...

0 answers  ·  posted 7mo ago by matthewsnyder‭  ·  edited 7mo ago by matthewsnyder‭

30%
+2 −7
Meta Don't close questions for lack of detail/confusion

tl;dr: When a question is unclear, don't close right away, especially if it's possible to discern what they are trying to ask. Instead, use comments and edit suggestions to work with the asker and ...

2 answers  ·  posted 2mo ago by matthewsnyder‭  ·  last activity 2mo ago by Karl Knechtel‭