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

9 posts
77%
+5 −0
Q&A Why does my regex "match" at the beginning of the string, but not at the end?

My impression is that the regexps behave a little bit odd: >>> import re >>> r=re.compile("test") >>> r.match("test") <re.Match object; span=(0, 4), match='test'&g...

2 answers  ·  posted 1y ago by peterh‭  ·  last activity 5mo ago by Karl Knechtel‭

Question regex python-3
75%
+4 −0
Q&A What is the general process for merging two git branches, reviewing edits on each branch?

This thing has a technical side and an organizational side. The technical side The technical side is very simple: there we have branches and a merge. There is no "review;" that is not strictly Gi...

posted 1y ago by peterh‭  ·  edited 1y ago by Michael‭

Answer
75%
+4 −0
Q&A What binds together the loss function, the optimizer and the model in PyTorch?

To have a successful "training session", these should cooperate. I.e. model generates an output from the input data, the loss function says, how bad or good is it, and then the optimizer tunes...

1 answer  ·  posted 1y ago by peterh‭  ·  last activity 1y ago by mr Tsjolder‭

Question python-3
71%
+3 −0
Meta What’s the point of Q&A sites anymore?

There are always problems that LLMs can't answer, or they give trash answers. Then you check the traditional sources, do your investigation, collect references - and summarize them in a Q&A her...

posted 5mo ago by peterh‭  ·  edited 5mo ago by hkotsubo‭

Answer
66%
+2 −0
Q&A How to preserve pip install temporary directory for error analyse?

Honestly I have a solution, but honestly I could not give a medal for their work to the pip devs. Pip has a --no-clean flag. On the docs, it preserves the temporary directories for further ana...

posted 1y ago by peterh‭

Answer
60%
+1 −0
Q&A How to preserve pip install temporary directory for error analyse?

Here I am trying to install a pip package. While installation, pip tries to compile something. With meson. Meson calls cmake. Cmake fails on a missing dependency. Then, meson fails on the fail...

1 answer  ·  posted 1y ago by peterh‭  ·  last activity 1y ago by peterh‭

Question python-3 pip
50%
+0 −0
Q&A I need a full grid refresh, but setRowData is not a function

Currently, we have Ag Grid 35 and setRowData() was deprecated around at 31. This deprecation is cloudy in the documentation, can not be find easily by googling and LLMs do not seem knowing too much...

posted 5mo ago by peterh‭

Answer
50%
+0 −0
Q&A What is the reverse of an ndarray.tolist()?

I have a nested python list structure, generated by a happily executed tolist() method on a more than 2 dimensional ndarray. How can I get back my numpy ndarray from the list?

1 answer  ·  posted 1y ago by peterh‭  ·  last activity 1y ago by mr Tsjolder‭

Question numpy python-3
40%
+0 −1
Q&A I need a full grid refresh, but setRowData is not a function [closed]

My sources say, after major data changes, particularly if the self-generated row Id (my own getRowId) change, I need to rebuild the grid (gridOptions.rowData), and then use gridOptions.api.setRowDa...

1 answer  ·  posted 5mo ago by peterh‭  ·  closed 5mo ago by Karl Knechtel‭

Question ag-grid