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

8 posts
75%
+4 −0
Q&A How do I trim a sorted list in Python?

You can use the functions in the bisect module with a list slicing operator. For example bisect_left finds the index of the insertion point in a sorted list, and if the values are equal, it will fi...

posted 6mo ago by congusbongus‭

Answer
71%
+3 −0
Q&A How do I trim a sorted list in Python?

How do I trim a sorted list in Python, so that I only keep the elements greater than a certain value? For example, if I have this list: l = [1, 3, 5, 6, 7, 8] How can I efficiently get a list of...

3 answers  ·  posted 6mo ago by congusbongus‭  ·  last activity 6mo ago by mellen‭

Question python array search
71%
+3 −0
Q&A Run Spark code without Spark?

As of version 2.2, installing pyspark will also install spark, so you can run pip install pyspark or equivalent and use it in your normal python environment. The pyspark getting started docs also ...

posted 5mo ago by congusbongus‭

Answer
66%
+2 −0
Q&A What's the difference between include_directories and target_include_directories?

include_directories works on all targets in the current CMakeLists.txt file, whereas target_include_directories only adds them for the specified target. include_directories is fine to use for simp...

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

Answer
50%
+1 −1
Q&A How do I concatenate two animated gifs together?

You can use imagemagick. Suppose you have the files a.gif and b.gif and want to play a and then b. Then use the command: convert a.gif b.gif out.gif And your results will be written to out.gif....

posted 7mo ago by congusbongus‭

Answer
50%
+0 −0
Q&A How to get conditional running cumulative sum based on current row and previous rows?

Use a collect_list collecting the values from all preceding rows up to the current row into a struct Then filter on that struct based on its value and the current row's threshold Use aggregate ...

posted 5mo ago by congusbongus‭

Answer
40%
+0 −1
Q&A How to get conditional running cumulative sum based on current row and previous rows?

How do I perform a running cumulative sum that is based on a condition involving the current row and previous rows? Given the following table: acc | value | threshold 3 | 1 | 1 1 | 2 ...

1 answer  ·  posted 5mo ago by congusbongus‭  ·  last activity 5mo ago by congusbongus‭

33%
+0 −2
Q&A How do I concatenate two animated gifs together? [closed]

How do I concatenate two animated gifs together? The gifs are identical in dimensions and I would like to stitch them together so they play one after the other.

1 answer  ·  posted 7mo ago by congusbongus‭  ·  closed 7mo ago by Alexei‭

Question gif