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 wjandrea‭

7 posts
77%
+5 −0
Q&A How should I structure a growing Python project?

Official The official Python documentation has material that may be helpful: Tutorials: Modules, including § Packages Virtual Environments and Packages The Python Packaging User Guide,...

posted 8mo ago by wjandrea‭  ·  edited 8mo ago by wjandrea‭

Answer
75%
+4 −0
Q&A How do I type something different at each cursor when using multi-cursor editing in VS Code?

For example, say I have this CSS: .ocean {} .land {} .sky {} I want to give each of them a background-color, so I use multi-cursors and type: .ocean { background-color: } .land { background...

2 answers  ·  posted 1mo ago by wjandrea‭  ·  last activity 1mo ago by user253751‭

Question vs-code multi-cursor
75%
+4 −0
Code Reviews A class to access dicts using attribute syntax

Ignoring whether it's a good idea, there are a few mistakes in the implementation: The magic method __getattr__ is called "when the default attribute access fails". To control all attribute acce...

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

Answer
71%
+3 −0
Q&A How do I type something different at each cursor when using multi-cursor editing in VS Code?

Use the extension Insert Sequences. You just run the command Insert Sequences (extension.insertseq), then type what you want in square brackets, separated by commas: [blue, green, lightblue] This...

posted 1mo ago by wjandrea‭

Answer
60%
+1 −0
Q&A how do I get markdown to render # as a shell prompt and not a comment?

Markdown itself doesn't do syntax highlighting, so you'll need to check which highlighter is used by the Markdown renderer you're using. E.g. Stack Exchange uses highlight.js.[1] That said, hopefu...

posted 15d ago by wjandrea‭

Answer
50%
+0 −0
Q&A How to apply a unit constraint in SymPy

To expand on r's answer, the "bit of extra interpretation" might look like this: r = sp.solve([eq1, eq2]) # Solution set a_solutions = {d[a] for d in r} # Assert one solution assert len(a_so...

posted 2mo ago by wjandrea‭  ·  edited 2mo ago by wjandrea‭

Answer
50%
+0 −0
Q&A How to apply a unit constraint in SymPy

Are the coefficients of eq1 always 1? If so, you can simply subtract one equation from the other. >>> sp.solve(eq1-eq2, a) [4] P.S. I don't have much experience with SymPy, so LMK if ...

posted 2mo ago by wjandrea‭  ·  edited 2mo ago by wjandrea‭

Answer