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

Type On... Excerpt Status Date
Comment Post #288920 If the lacking type rigidity is your main grip you might be interested in [strict tables](https://www.sqlite.org/stricttables.html) supported since sqlite 3.37.0 which enforce their column's type on any insert.
(more)
10 months ago
Comment Post #288987 If your explanation for the case with 2 arguments were right there wouldn't be a problem because `l` *is* a list of integers so a "function that takes a list of Num and returns a list of Num" could be applied to it. But haskell actually reads it as `(map (subtract 1)) . (take n l)` and tries to match...
(more)
10 months ago
Edit Post #288510 Initial revision 11 months ago
Answer A: Automatically install all packages needed
The best approach is probably to just check the script beforehand, something like the following ```bash grep import script.py ``` should list all imports and you can then evaluate and install them. If you really want to automate things you can write a short shell script to loop & install modul...
(more)
11 months ago
Edit Post #288282 Initial revision 11 months ago
Answer A: How can we grow this community?
I realize this might not be feasible, because course all of that hinges on the possibility to get some acceptable data on a users behavior on other sites, but for me the biggest hurdle is that to contribute here I have to start over building trust and gaining abilities. That took some serious time ov...
(more)
11 months ago
Comment Post #287586 You can't split a module period. You could however define two modules ```rust #[cfg(test)] mod tests_a { use super::*; #[test] fn test_function_1() {} } #[cfg(test)] mod tests_b { use super::*; #[test] fn test_function_2() {} } ```
(more)
11 months ago
Edit Post #288279 Initial revision 11 months ago
Answer A: What is the purpose of grouping the tests in a `tests` module and is it possible to split them?
The reason to put tests in a separate module is so they are grouped. Another advantage is that you can put helper functions that are only needed for tests, but are not themselves tests in the module as well: ```rust #[cfg(test)] mod tests { fn setup() -> Vec { vec![1, 2, 3] }...
(more)
11 months ago