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

12:15 AM
REFRESH! There are 6164 unanswered questions (92.0628 answered)
 
 
8 hours later…
8:05 AM
0
Q: An enhanced ExecuteReader method in VB.NET

user10191234The idea was creating and preparing a SqlCommand, and call ExecuteReader with the appropriate command behavior. If we created and opened the connection, we want the connection to be closed when the DataReader is closed. If the caller provided the connection, we want to leave it to them to manage....

 
 
2 hours later…
9:56 AM
0
Q: Java - Converting a skip list to the ASCII art

coderoddeIntro This post won't present the actual mechanics of the skip list. Instead, all I got here is the facility for converting skip lists to funky ASCII art. For example, the unit test prints: +-+ +-+ | |------------------------>| | ...

 
10:40 AM
0
Q: Implementing the Huffman's data compression algorithm in AEC and compiling it to WebAssembly

FlatAssemblerA few years ago, I implemented the Huffman's data compression algorithm in JavaScript. Now I've implemented it in my programming language, AEC. You can see it live (at least in very modern browsers) here. Here is the code: Function noMoreFreeMemory() Which Returns Nothing Is External; Function se...

 
 
5 hours later…
3:36 PM
Monking
 
3:49 PM
Monking
 
0
Q: moving window class segfaults when I try to find min/max element

TaylorI'm looking for feedback on this moving window class I wrote. Its purpose is to be able to ingest new data, limit the maximum number of points in it, and provide some convenience methods to a calculate statistical quantities. I started receiving segfaults when calling min() and max() on it. I thi...

 
@CaptainObvious Closed
CNI
 
 
2 hours later…
5:35 PM
If your code runs without error and produces the correct result then you'll get better feedback on performance, style, technique if you repost your question over at the Code Review StackExchange. — Woodford 7 secs ago
 
 
1 hour later…
6:51 PM
0
Q: Sorting Code confusion

David I was trying to make a bubble sort code in C, but I was unable to wrap my mind around it and ended up with this amalgamation of code that actually does sort. But, it is definitely not bubble sort, and I wonder if this code is an efficient sorting code: #include <stdio.h> void bubbleSort(int num...

 
 
1 hour later…
7:58 PM
 
8:18 PM
I reverted your last edit. Please do not fundamentally change the question after it was answered. Ask a new question instead. That said, StackOverflow wouldn't be the right question to ask this kind of thing anyways, that would be much better suited for Code Review. They have a different focus on what is ontopic, so make sure you read their How to Ask page first. — Leviathan 48 secs ago
 
 
1 hour later…
9:28 PM
0
Q: Generate unique temporary file names in C++20

niloI was looking for a solution for that problem in the C++ standard library, but did not find a satisfactory solution. We have std::filesystem::temp_directory_path but no corresponding file_path. We have std::FILE* tmpfile() i.e. not quite modern C++... And we have std::tmpnam which is officially d...

 

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