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.

Activity for peterh‭

Type On... Excerpt Status Date
Edit Post #296013 Post edited:
5 months ago
Edit Post #296013 Initial revision 5 months ago
Answer A: 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 here. In my opinion, creating self-answered questions this way serves not only the knowledge of the huma...
(more)
5 months ago
Comment Post #295958 @#64656 Ag Grid is written in Typescript, which is compiled to Javascript. Thus, its core can be programmed in Javascript and Typescript. Beside that, it has bindings to Angular, Vue, ReactJs, too. In my specific case, I have used Javascript, however the problem itself is language-agnostic. More ...
(more)
5 months ago
Edit Post #295959 Initial revision 5 months ago
Answer 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 about them. We had an incompatible API change below the radar. The method currently to use,...
(more)
5 months ago
Edit Post #295958 Initial revision 5 months ago
Question I need a full grid refresh, but `setRowData` is not a function
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.setRowData()`. However, trying to do that, the only what I get if a "setRowdata is not a function" m...
(more)
5 months ago
Edit Post #294115 Post edited:
over 1 year ago
Edit Post #294115 Initial revision over 1 year ago
Question 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?
(more)
over 1 year ago
Edit Post #294096 Initial revision over 1 year ago
Answer 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 Git terminology. "Review" is the terminology of the professional systems, restricting pushes to va...
(more)
over 1 year ago
Comment Post #294092 @#64277 Ok I have found the solution. torch tensors are much more as the usual numpy/pandas things. Torch tensors have some... "shadow". A hidden data structure keeping track their gradient. Gradient is another tensor showing, how the given tensor alters the loss function. While you calculate the...
(more)
over 1 year ago
Comment Post #294092 Possible, but there is very little and cryptic source about the details. Digging in torch docs, sometimes they are talking about some data propagation. I think, also `torch.nn.Module` is actually some object hierarchy. But there is nothing concrete.
(more)
over 1 year ago
Edit Post #294092 Initial revision over 1 year ago
Question 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 the model, trying to create better output. Thus, these 3 essential entities must work togeth...
(more)
over 1 year ago
Edit Post #294090 Initial revision over 1 year ago
Answer 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. 1. Pip has a `--no-clean` flag. On the docs, it preserves the temporary directories for further analyse. In the reality, it preserves only some of them, and the others will be still deleted. But t...
(more)
over 1 year ago
Comment Post #294089 I have found `pip --no-clean`, but it still does not work. Most importantly, pip has created about 5 directories in `/tmp`, and the one referred in the error report is not among them. Although `pip --no-clean` might be an useful answer in many cases. In my specific case, now I try to hook the rmd...
(more)
over 1 year ago
Edit Post #294089 Initial revision over 1 year ago
Question 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 failed cmake. Then, pip fails on the failed meson. Then, pip deletes the temporary direc...
(more)
over 1 year ago
Comment Post #294071 Thank you very much - exactly, `r.search()` is what I should have used.
(more)
over 1 year ago
Edit Post #294070 Initial revision over 1 year ago
Question 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") >>> r.match("1test") >>> r.match("test2") >>> r.match("1test2") >>> ``` I also tried using python-pcre and got the same results. The regex is just an ord...
(more)
over 1 year ago