« first day (4151 days earlier)      last day (24 days later) » 

12:19 AM
REFRESH! There are 5941 unanswered questions (92.3679 answered)
 
2 hours later…
1:59 AM
Any way that works for you is correct, as far as Stack Overflow is concerned. This site is not for asking opinions about which programming style is better. If you want feedback on your code, post to Code Review instead. — Doug Stevenson 47 secs ago
2:22 AM
0
Q: C++ std::function-like queue

Nikolai SiukosevI aim to create a call queue to schedule work for another thread. I'm using a virtual base class for type erasure and placement new for reducing the number of allocations, but, as far as I know, reinterpret_cast<Base*>(raw_ptr) is UB. Is there any other way to implement it? class FuncWrapperInter...

 
9 hours later…
11:20 AM
0
Q: Subscriber Publisher Pattern using C# TPL DataFlow blocks

HammasI'm trying to implement a Subscriber/Publisher or Producer/Consumers kind of a pattern using C# TPL DataFlow blocks. The idea is to let user subscribe to a Symbol for data and if he subscribes again the same symbol, instead of creating a new subscription return same subscription we already have. ...

11:42 AM
0
Q: Multi-producer, multi-consumer blocking queue

Toby SpeightIntroduction This is a queue that allows many producers to simultaneously write their items and many consumers to simultaneously read theirs. It's useful when construction and/or consumption could be a slow operation. Strictly speaking, I shouldn't call it a "queue" since it doesn't necessarily...

 
3 hours later…
2:28 PM
Monking
 
8 hours later…
10:09 PM
0
Q: Very, very simple CSV parsing method in Java

tgrothePlease take a look at my method for parsing a CSV string. I am looking for a simple approach without using an external library. Is throwing a RuntimeException (inside the stream) a common way? import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class MyCsvParser { ...

10:31 PM
1
Q: Python script to renumber slide ids inside a pptx presentation

Alain PannetierIntro I have never had the patience or the free time to really read a python book from cover to cover. I just starting coding, looking up things and pasting stuff. That was ok because I was the sole consumer of my ugly hacks. But, a few days ago, I ran into an issue and hacked my way out throu...


« first day (4151 days earlier)      last day (24 days later) »