« first day (3139 days earlier)      last day (861 days later) » 

12:00 AM
REFRESH! There are 7959 unanswered questions (89.2424 answered)
 
 
1 hour later…
1:15 AM
@CaptainObvious foot, meet gun
 
1:50 AM
@Vogel612 With a 12 gauge shotgun instead of a pistol
 
 
2 hours later…
3:25 AM
This seems like a question that is more suited for CodeReview. I usually use Scripting.Dictionary to remove duplicate so that's what I would try if I will to attempt this. — Raymond Wu 20 secs ago
 
3:50 AM
0
Q: Develop a more efficient ordered-union function in VBA

SoftTimurI would like to make a user-defined function union in VBA, such that: it could take variable parameters each parameter is a one-column range like A1, A2:A10; we don't need to consider passing constant values to parameters we could consider, within one input range, there are no duplicates; but it...

 
 
1 hour later…
4:58 AM
 
5:48 AM
Monking
 
Monking
 
6:19 AM
If you are just trying to get feedback on working code, maybe a site like Code Review would be more appropriate. If you have code that works, it's not really a programming question any more. If you want other possible solutions, make sure you write your question talking about the more general problem, then post your solution as an answer below. If other have better solutions, can can post alternative answers. — MrFlick 41 secs ago
 
6:46 AM
0
Q: I got this error "Certificate failure for imap.gmail.com: self signed certificate: /OU=No SNI provided; please fix your client./CN=invalid2.invalid"

poojaI am trying to get email from gmail server. But getting this error: Certificate failure for imap.gmail.com: self signed certificate: /OU=No SNI provided; please fix your client./CN=invalid2.invalid Here is my code: if (! function_exists('imap_open')) { echo "IMAP is not configured."...

 
7:45 AM
This kind of question could be better asked on codereview.stackexchange.com. Note that your question doesn't seem to reflect the title, so maybe you have a technical question, please clarify what mean "single type structure" and "elementary type structure". — Sandra Rossi 43 secs ago
 
8:26 AM
0
Q: Cached shortened urls

ProtractorNewbieIm currently writing my own cached shortened urls where I at the start of application read the database that has all the stored url:uuid from the database into a global dict value. When a person enters a url. It checks if its already in the dict. If the url exists in the dict, then we re-use the ...

 
If I was running a code review on this my question would still be "why?" — Andy 16 secs ago
 
8:51 AM
0
Q: str_join() function, not present in standard C library

AmitThis function str_join() is an updated version of my earlier function strcat_new() [Found here: https://codereview.stackexchange.com/questions/270524/strcat-new-function-not-present-in-standard-c-library]. The older version strcat_new() had a bug, the bug is fixed in this version of str_join(). S...

 
9:16 AM
0
Q: .NET Repository Pattern

JO3-W3B-D3VI'm currently in the process of defining some framework, one of the first things that I thought I could start with was defining some repository pattern/layer. I generally wanted some input on it, because I still feel that there's room to make the code more concise than what it currently is, to be...

0
Q: Rabbit Searching Problem in Rust

FarisThis is my Rust implementation of the rabbit searching algorithm I found yesterday in this video. The problem statement is as follows. There are 100 holes in a line. A rabbit is in one of the holes. You need to catch the rabbit. However, you can only look at one hole at a time. If the rabbit is ...

 
 
2 hours later…
10:56 AM
0
Q: Handling client disconnection in TCP/IP program

user14773854I have a simple client-server program implemented in C where a client can send an integer to a server and the server replies with their sums. However, there is a troubling Segmentation fault (core dumped) shown whenever the client disconnects suddenly. The Client: #include <stdio.h> #include <str...

 
11:24 AM
Consider asking this on codereview instead? — evolutionxbox 59 secs ago
 
12:11 PM
0
Q: Dispose pattern without unmanaged objects

mu88I've used the wellknown Dispose Pattern in .NET several times as described in the official docs. Now I have the following, rather simplified code: public class FirstForeignDependency : IDisposable { // all the things from another library that I want to use in my code } public class SecondFor...

 
 
2 hours later…
2:01 PM
If you want help improving working code, you should post this on CodeReview.SE. If you do decide to do so, please delete the question here. — NathanOliver 44 secs ago
 
 
1 hour later…
3:31 PM
0
Q: Creating a simple one-dimension Sobol sequence generator

user0123456789A Sobol sequence, a series of low-discrepancy quasi-random numbers in range [0,1], can be generated by first initializing a vector of direction numbers: Dim V(31) As ULong For i = 1 To 31 V(i-1) = 2 ^ (32 - i) Next and then by fetching each number by continually looping through the enumeration...

0
Q: Shortening this cookie value fetching code

Mike EarleyI'm attempting to look at a portion of a cookie's value, and if it contains 'en_us', do one thing, and if it contains 'es_us', do another thing instead. I've written up code that pulls the cookie, returns the cookie value, and then looks to see if the cookie value includes 'en_us'. But I feel lik...

 
3:56 PM
0
Q: suggest an optimized way to write this code for the following pyramid of numbers

Manya GargI have this problem where I've to print a number pyramid by taking input from the user. //Program to print pyramid using numbers // 1 // 2 3 2 // 3 4 5 4 3 // 4 5 6 7 6 5 4 //5 6 7 8 9 8 7 6 5 I've written the following code and then output is correct too ,however, I was wonderin...

 
4:15 PM
Sounds like you're just looking for a code review. Maybe codereview.stackexchange.com would be more appropriate? — Random Davis 55 secs ago
 
4:46 PM
0
Q: Counting Radix Sort: A C++ version

Martin YorkFollow up to original question: Just realized I have never implemented Radix Sort (spurred about watching a YouTube video about it). So I thought I would give it a go. This is Radix Sort, using a counting implementation. For numbers that are N bytes in length we use an N pass counting approach. S...

 
Monking
 
5:15 PM
possible answer invalidation by Toby Speight on question by Manya Garg: codereview.stackexchange.com/posts/270768/revisions
 
@Duga Code fence only
 
possible answer invalidation by Toby Speight on question by Manya Garg: codereview.stackexchange.com/posts/270768/revisions
 
6:16 PM
"A better way" usually means you should be posting on Code Review. — markspace 14 secs ago
 
7:00 PM
Your opening bit to the question makes it sound like you should ask this on code reviewNifim 10 secs ago
 
7:20 PM
possible answer invalidation by Martin York on question by Martin York: codereview.stackexchange.com/posts/270746/revisions
 
@Duga meh - its fixing typos in comments but the answer doesn't appear to mention those
likely in response to greybeard's comment
(sure I can illuminate this step with some thoug with St. Lucy less than a week ahead …) — greybeard 2 hours ago
 
7:47 PM
0
Q: Spawning go routines for each db request and rate limiting to prevent spamming

SuperSecretAndHiddenFromWorkWhat I want to do: I want to prevent each request to a database from spamming it, and create a new go routine from each request, so that they run concurrently Here's the channel declaration: databaseQueryChannel := make(chan ExecuteQuery) queryThrottler := rate.NewLimiter(15, 50) var waitGroup sy...

 
David Gibson on December 07, 2021
How do you attract technical talent? What do developers care about when they evaluate new opportunities? We surveyed over 500 developers and the findings might surprise you.
 
8:03 PM
 
9:02 PM
0
Q: Utilizing <template> or DocumentFragment in an appropriate manner

NamedArrayI wrote this code, it actually works, and I'm going to use this strategy in an active project that's due in January. I don't know web components yet -- the best I can personally utilize is <template> and DocumentFragment. But, I don't think I need the latter. My goal was to use modules with HTML...

 
 
2 hours later…
10:40 PM
Questions about improving otherwise working code may be better suited for Code Review, but be sure to follow their content guidelines and How to Ask to ensure an on-topic question. — jmoerdyk 56 secs ago
 
11:32 PM
0
Q: High-performance ClientWebSocket wrapper

nopI'm working on a web socket client wrapper around ClientWebSocket and this is kinda my first public library project, which is why I'm asking this question here. I was inspired by this web socket client wrapper, because it uses Rx .NET instead of regular .NET events and I also wanted to give Syste...

 

« first day (3139 days earlier)      last day (861 days later) »