« first day (3941 days earlier)      last day (371 days later) » 

00:13
REFRESH! There are 6534 unanswered questions (91.5707 answered)
 
3 hours later…
03:14
Why does it crash? Out of Memory, or what? I was thinking the question might be appropriate for Code Review But, Code Review wants questions about code that doesn't crash. Would they make an exception for out of memory?? — Old Dog Programmer 1 min ago
03:32
Question needs details, whether for here or code review. Can you give some examples with reasonably small boards? How is board declared? Is it board [][] char or what? What does isValidPrefix (String s) supposed to do? Check the lexicon? — Old Dog Programmer 19 secs ago
04:20
0
Q: Why does for loop only return once?

Clyde KertzerHere is my code apol_twin(n) = { v = vecsort(apol_makeall(n, 1), [1, 2, 3, 4]); list = List(); for(i = 1, #v, if(v[i][2] == v[i][3] || v[i][3] == v[i][4], listput(list, v[i]); return(v[i]); ); ); } For the output, it only returns the f...

05:07
05:51
0
Q: Trie implementation using std::shared_ptr

csmathhcI've implemented a basic Trie that is supposed to work only with lowercase English letters. class TrieNode { public: array<shared_ptr<TrieNode>, 26> children; bool isWord; TrieNode(bool _isWord = false) : isWord{_isWord} { } }; class Trie { public: Trie() : root{make_shared<...

06:14
0
Q: Bare bones base 64 encoding/decoding

Daniel WalkerI wrote a bare-bones, no fluff, base 64 library in C. My goal was to make it as small as possible. I'm wondering if there are any further size optimizations I can make (without sacrificing too much readability). #include <arpa/inet.h> #include <stdint.h> #include <stdio.h> #include <string.h> #...

06:36
1
Q: Remove all text files with non-US-ASCII text encoding from current folder on Linux

FAQ/* let's compile using: gcc main.c -Wall -Wextra --pedantic --std=c2x -D_GNU_SOURCE -Ofast -march=corei7 -mtune=corei7 */ /* Linux headers begin */ #include <dirent.h> #include <sys/stat.h> #include <unistd.h> /* Linux headers end */ #include <stdlib.h> #include <errno.h> #include <stdio.h> #in...

07:22
0
Q: Brainfuck to C transpiler

FFmpegEnthusiastI have been working on making a transpiler from Brainfuck to C in C(11), here is the code: #include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { size_t indentlevel = 1; size_t repetition = 1; FILE *fin, *fout; int c; if (argc != 3) { if (argc > 0 &&...

 
6 hours later…
12:54
possible answer invalidation by toolic on question by Sayam Shrestha: codereview.stackexchange.com/posts/289532/revisions
possible answer invalidation by toolic on question by Sayam Shrestha: codereview.stackexchange.com/posts/289532/revisions
@Duga Looks okay - just moving commentary outside the code.
possible answer invalidation by toolic on question by Sayam Shrestha: codereview.stackexchange.com/posts/289532/revisions
possible answer invalidation by toolic on question by Sayam Shrestha: codereview.stackexchange.com/posts/289532/revisions
 
1 hour later…
14:44
I’m voting to close this question because It seems to me this question is more suited to be asked in the Code Review Forum. Code Review is a question and answer site for peer programmer code reviews. Please read the relevant guidance related to how to properly ask questions on this site before posting your question. — itprorh66 46 secs ago
 
2 hours later…
16:26
-3
Q: principle of strong induction

RolandLet the Proposition P(n) be f(n) = (n-1)*10 +10 Then Base Case P(1) is f(1) = (1-1)*10 +10 = 10 The Inductive Hypothesis step P(k) is f(k) = (k-1)*10 + 10 = k*10 Using strong induction, if in the Inductive Hypothesis step the proposition P(k) is assumed to be true, then P(k-1) , P(k-2) , P(k-3) ...

17:11
0
Q: insert then update generated id back to the table on bulk insert using XML in SQL server

Relax I have 2 tables StockDetails, StockMail First insert Stock name and Expiration Date into StockDetails Table(inserting bulk data using XML) Then Generate Reminder date(7 Days before expiration date) and insert Stockid(auto generated id) into StockMail Table Then Update Generated id(auto generated...

18:01
This question is off topic for StackOverflow and better suited for CodeReview. — Tenfour04 45 secs ago
Is it appropriate to post a README for review? Anyone can do check it out, even if they don't know Java. It's short, even shorter than my AuthenticationWebFilter
@SergeyZolotarev If that's the only file to be reviewed in that question, probably not. After all, the readme is not code.
18:19
0
Q: Event source with event driven architecture

user280224Implementation to source events with configurable quantifier and frequency of events and a visual indicator for the generated event and for the frequency. One tap on visual indicator changes the order the events are generated in (incremental, decremental and alternative), double tap changes the f...

 
3 hours later…
20:57
@Mast is it an admission that markup languages are not real languages?
21:20
@SergeyZolotarev Depends on what you define "markup" as. But if you just mean markdown or ReST then no.

« first day (3941 days earlier)      last day (371 days later) »