« first day (1936 days earlier)      last day (2073 days later) » 

12:00 AM
RELOAD! There are 5515 unanswered questions (89.9459% answered)
If you want a code review, you want codereview.stackexchange.com. — user2357112 42 secs ago
 
12:36 AM
0
Q: Iteratively determine the diameter of binary tree (without recursion)

RickCan the performance of the iterative approach be improved? I find that this approach lags behind many recursive options. no recursive answers, please. function diameterOfBinaryTree(root) { let stack = [ [1, root] ]; let d = new WeakMap() let diameter = 0; while (stack.length)...

 
Thanks for the answer--very helpful. However, this isn't a good fit for CodeReview, which is for working code only. — ggorlen just now
 
1:36 AM
0
Q: Getting an element from RCU-protected list in kernel

H. JangI wrote a function, read_fox_rcu() for getting an element from RCU-protected list in a linux device driver. read_fox_rcu() reads the first element, converts it to string , stores it to tmp and stores the first pointer to ppfox. I wonder that I used locks (rcu_read_lock(), synchronize_rcu(), etc)...

 
My advice would be to write it anyway you can, to get the logic correct, without worrying too much about efficiency. Then take it to codereview.stackexchange.com. The people there are really good at suggesting optimisations for this kind of thing. — Dawood ibn Kareem 56 secs ago
 
1:51 AM
0
Q: Nodejs Interview - API calls and exchange rate

carrotsI did an initial technical phone screening with this company which went ok, they then sent me a programming exercise to complete and send back to them. The goal of the exercise: -take input as a command line arguments (2017-06-03 USD 100 CAD) -use the input to make a call to an API (https://...

 
2:11 AM
I'm voting to close this question as off-topic because it belongs on CodeReview. — Scott Hunter 57 secs ago
 
2:26 AM
Technically %20 is an HTML-encoded whitespace (ASCII 32 in hexadecimal => 20); you'll want to be able to handle anything that can come up in a URL though - a friend wrote this helper code that can do exactly that. — Mathieu Guindon 47 secs ago
 
2:37 AM
0
Q: Find maximum area of island. Need to be more pythonic

wispymistyI recently solved the problem below from leetcode. https://leetcode.com/problems/max-area-of-island/description/ This is how I normally write python code. I am thinking this might not be really pythonic. If I am to become a proper python programmer, I need to improve. Please help review the cod...

 
3:22 AM
0
Q: Is there a more efficient way of doing function 'which' in R?

J.Z.The data file is here. Here are my codes: > ftable=read.table(file.choose()) > start.time=Sys.time() > 1-length(which(ftable==1))/sum(ftable) [1] 0.12 > end.time=Sys.time() > end.time-start.time Time difference of 0.004880905 secs I understand that 0.00488 secs are not a lot. But I have to re...

 
4:11 AM
 
Monking
 
4:52 AM
Since your code runs error-free, this question is off topic on SO. You may want to post it at CodeReview. — DYZ 54 secs ago
 
5:23 AM
0
Q: Use Infix expression to construct a binary expression tree

Jianmin ChenProblem statement Construct a binary expression using infix expression. The infix expression uses extra parenthesis to enforce the priority of operators. For example, infix expression ((1+2)+3) can be expressed in a binary expression tree in the following:       +     /  \    +  ...

 
5:38 AM
0
Q: BattleShip - Ships & Players

Mathieu GuindonI'm making a full-blown OOP Battleship game in VBA (previous post: Battleship Grid), and I want this code to be as good as it gets - and better, if I can. I've refactored a few things, introduced a ShipType enum, removed all globals, and finished implementing my second AI.. time for another post...

 
Monking
 
6:38 AM
0
Q: Design of guard clauses

Matthias BurgerI read about guard clauses like public void Bla(string[] argument) { if (argument == null) throw new ArgumentNullException(nameof(argument)); // more code... } So in another post in stackoverflow, someone posted something like this (I guess it was Jon Skeet, but I changed it ...

 
6:49 AM
It's probably best not to try and create the entire tree at once. Even before a stack overflow, it will contain far more files that the user could ever trawl through. Instead look to create it lazily, as done in the File Browser GUI. That code will fill only the top level directories, waiting for user selection of a directory before populating the files within it. General tip: For better help sooner, post a Minimal, Complete, and Verifiable example or Short, Self Contained, Correct Example. — Andrew Thompson 56 secs ago
 
7:04 AM
Monking
 
7:23 AM
0
Q: Evaluating Dice Poker Results

RaystafarianIn Dice Poker (or Yacht), a player rolls 5 standard dice (sides 1 - 6) and the resulting roll is given a score based on combinations: Two matching dice only - pair Three matching dice only - three Four matching dice only - four Five matching dice - yacht two pairs, full house, small straight, l...

0
Q: Python - Improving genetic algorithm fitness function for Scheduling

Khái DuyFor Job shop scheduling, I built fittness function as below: def makespan_timeCalculation(lot_size, RHS, setup_time, processing_time, sequence, mc_op): machine_assigne_time =[[0 for i in range(mc_op[k])] for k in range(len(mc_op))] max_c = [0 for i in range(len(lot_size))] # Equal n...

 
7:38 AM
0
Q: TicTacToe solver in JavaScript

totalnoobI come more from a frontend background and have been reading up on more backend approaches and algorithms while solving a tictactoe grid to see if there are any wins normally, I'd probably use something like this for (let i = 0; i < rows; i++) { if (arr[i][0] === arr[i][1] && arr[i][0] ===...

 
7:53 AM
0
Q: Shopping cart to pdf generator

John DoiSo I'm working on my website which is done though 3dcart, in their infinite wisdom for some reason I cannot work on anything to do with the backend (no database interactions or anything), so this is all front end stuff. And it's all cobbled together over a few days of trying to make things work c...

 
8:16 AM
Monking!
 
Monking
I'm so out of writing reviews :/
I missed a glaring bug for almost an hour
 
Huh :/
At least now you've found it :)
I'm trying my luck on Docker rn
 
my condolences
 
I shall admit I have hard times understanding how it works
Haha, thanks
I never thought I'd say that one day but I almost miss virtual machines
 
you'd probably work with some Hypervisor then
 
8:24 AM
Erh, I'm not sure? In fact I built a deep-learning solution on a Linux machine and I'd like to let a handy container to my coworkers so they can run the solution on their machine, but they have Windows 7 and I'm not sure their Linux VMs would be powerful enough to run my program
 
hmm. Windows 7 is EOL since quite a while :/
If you could target windows 10, that has WSL, so you might get some of the direct benefits.
Docker isn't really playing nice on Windows a lot.
 
@Vogel612 Really? Didn't know about that haha. Unfortunately it's not up to me to decide the company's OSes. Otherwise we'd all be on Arch probably ^^
@Vogel612 Really? Uh no :(
 
@avazula I think you're good to go if you can get a coworker to help you get it working on their windows machine and documenting the steps
 
@Vogel612 Yeah, I found out Docker EE is free on Windows! But you have to have a Linux Docker EE to be able to use any of the EE features... -.-
 
0
Q: Kademlia Bucketting

Lev KnoblockKademlia is a DHT which uses a specific type of routing table, dependent on the Hamming distance between the "addresses" of two peers on the network. I'm attempting to implement a modified version of it in Java. To find which "bucket" in the routing table a peer should go into, I xor the peer's a...

 
8:45 AM
@Vogel612 Erh. Not sure they'd like to take time for that. They're not working on the same problematic and I have no idea when they would open my app haha. Thanks for the advice though :) I appreciate
 
9:24 AM
-1
Q: Can we print a 5 sided star in java without using awt package

Anurag Pandey I have done it through 17 for loops and it is very lengthy. I can't use awt. (It is not allowed for the project.)

0
Q: Deserlize, Copy and Merge Orders from XML to C#

MathematicsHere's the code, Self explanatory but here's the follow, Load XML file Desearlize to list in c# Map xml object to c# list Merge orders but increment order's product count public Order[] Load(string path) { var element = XElement.Load(path); var orders = new List<XElement>(); ...

 
9:54 AM
0
Q: Speeding up a linked list by using fingers in Java

coderoddeIntroduction So the idea here is to keep a small number of "fingers" that point to linked list nodes. Now, when, say, the client programmer asks for a node in the list, a closest finger is chosen and is shifted to the target node. Analogously, when adding an element, a closest finger is moved to...

0
Q: Can't get it to work (HTML)

T. ShechnerI started learning HTML, CSS and JS about two hours ago, and I created a small "site". My problem is that I'm trying to pop an alert when the user entered the correct number.. Here's the code, Please help me, thx in advance. HTML: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"

 
@CaptainObvious code doesn't work -> off-topic, right?
 
correct
 
@Vogel612 is it because my rep is low on this site that I can only advise to close via the "flag" link or is it a CR feature?
 
the first one
 
Ok :)
 
9:59 AM
you need 3k rep to vote on closing
 
Ah, I'm sad, I may have been able to review JS stuff
 
there's a lot of open JS questions that still need a review
 
Wooh :D
Ich bin froh
 
in fact, JS traditionally has the most unanswered questions on the site.
 
I'll start watching the tag then
 
10:09 AM
0
Q: REST API design: is it good to have multiple separate ids/keys on the same entity?

VitaliiIn my service I have an entity like this { id: 1 legacySystemId: 255 ... } I have already an endpoint that returns this entity by id GET /endpoint/1 Do you consider as a good idea to suppose that legacySystemId can be another key? To retrieve this entity by legacy id we can put so...

 
10:23 AM
I would suggest writing your current code and submitting to codereview.stackexchange.comReuben Mallaby 56 secs ago
 
10:39 AM
0
Q: Suggest more optimized solution for sum of all fizzbuzz numbers in a given range

vijay pratapThe number fizzbuzz is composed of two numbers that is fizz and buzz. fizz represents the numbers that are divisible by 3 and buzz are the numbers that are divisible by 5. combining both fizzbuzz, are the numbers that is divisible by both 3 and 5 both. So how can we get all the fizzbuzz numbers...

 
10:54 AM
0
Q: Shortening jQuery 3 way selects (+class toggle)

J Doeon a change of first select, second select options are being dynamically changed. How can I shorten it (jQuery or vanilla JS)? It is 3 way street - therefore class toggle is not an option? $(function () { $("#selectBox").on("change", function () { if ($("#selectBox").val() === "w...

 
11:16 AM
Well SO is not a free coding site. We solve problems with code that exist. However if you do post the code in your question and it works, your question is off topic since there is no problem with it. If that is the case you can post it on code review. — Andreas 41 secs ago
 
11:39 AM
0
Q: How magical should a function in python be?

Jelle van der ZwaagI am trying to parse an online xml file, that changes over time. I read this file into memory with the requests library. But I also downloaded the xml, so I could test my code, without constantly having to download the file. For the python package ElemtentTree, parsing through a local xml file ...

 
12:39 PM
0
Q: MVC in notepad.

SteamyVinoI am beginner in programming and recently i wrote Notepad program with all basic features any notepad should have like finding, undoing, copying, etc. The problem is I do not feel oop completely yet and I wrote whole program in single class with few inner classes for actions, frame for finding ...

0
Q: Separate the creation logic of a DTO from actual data

Jerome ReinländerIn the last months I have written an application that, among other things, parses financial documents. During that time I had no supervision, team, software engineering process, requirements... and I am also still inexperienced. In short, the application has grown quite organically and I am not h...

 
@avazula On most sites, reviewing is what you do in the queues. Reviewing flags. However, since this is Code Review, we do different types of reviews :-)
 
@Mast That's not what I meant here, I'd have reviewed the question we were talking about but it got (legitimely) closed as off topic :)
(like code reviewed)
Shoot I need to get used to the language haha
 
:-)
You can always write another answer on that question.
 
Well I can't since it got closed. I've set my favorite tags though :)
 
@avazula Plenty of JS questions to go around.
Like Vogel said, it's the tag with the most zombies.
 
12:47 PM
@Mast No wonder
That's a weird language ._.
 
And every 6 months another 'new, major framework
 
@Mast Yeah, Angular nomenclature is weird for that
 
1:01 PM
I added the class as an answer, if no others show up I will accept it as answer. Is this already useful enough to be posted to CodeReview? — L8n 24 secs ago
You might get some inspiration from my search code I posted on codereview.stackexchange.com/questions/201796/… which also uses tags and tag_types to filter results. the relevant code starts at: if($tag_types_with_tags) {Tschallacka 55 secs ago
If your code is working and you want some feedback on how to improve it, you should try posting your question on Code Review, which aim is "Improve code that you wrote or maintain, through peer review.". — Antoine 12 secs ago
 
1:30 PM
possible answer invalidation by Jerome Reinländer on question by Jerome Reinländer: codereview.stackexchange.com/posts/202213/revisions
 
1:48 PM
Improved code indenting, but I agree: this question should go to codereview.stackexchange.comGhostCat 39 secs ago
 
0
Q: Code for testing user inputs in python3

anthony valva#loop to get input that is not blank, strips input of whitespace def ckin(a): while a=='': a=input().strip() return a #creates list with includes user admin user_names = ['admin'] #Ask for 5 names to store as usernames print('Please enter 5 user names: ') #if usernam...

 
2:10 PM
0
Q: Untangling a data class where annotations from different frameworks mix

Kolargol00The framework mix problem I'm using two frameworks -- PingIdentity's SCIM 2 SDK, which uses Jackson, and Spring LDAP -- to deserialise a SCIM resource (i.e. JSON) to a Java object then write it to an LDAP directory, and the other way around. The trouble is, both frameworks want to annotate the f...

0
Q: ZigZag tree travesal

GiladThe question is taken for a coding interview I had, it is also in geeks for geeks, https://www.geeksforgeeks.org/zigzag-tree-traversal/ you are given a binary tree and you need to print it in a ZigZag/Snake order for level one from left to right and the next level from right to left and so on. ...

 
2:25 PM
0
Q: Python 3: Is there a better way to convert an input string to a list of sub lists with numbers?

GinaI am learning Python 3. One thing I am doing to get some repetition is going through checkio. It is a website with coding exercises. One of the exercises gives an input string as follows: str_to_nbrs("(2,2),(6,2),(2,6)") str_to_nbrs("(3,7),(6,10),(9,7)") I need the output of this code to produ...

 
As you said yourself, it's dangerous. Never do something like this unless you prefer to be hacked. You can read this: codereview.stackexchange.com/questions/155891/…Casper 45 secs ago
 
2:43 PM
Question copied to codereview.stackexchange.com/questions/202220/… because it fits better under CodeReview. — Kolargol00 12 secs ago
 
Monking!
 
Monkin'
 
possible answer invalidation by NewSites on question by NewSites: codereview.stackexchange.com/posts/201432/revisions
 
Perhaps it is old news to many, but I just noticed this yesterday
52
Q: Come Take a Look at our New Contributor Indicator!

Tim Post This feature is now live across the network. We've been doing quite a bit of research into ways that we could help new users have better experiences that ultimately lead them to becoming increasingly valuable, long-term contributors to our sites. While this is still ongoing, it's starting to...

 
welp. gotta rebase a whole page of commits to possibly open a PR to integrate ~30kLoC diff
lucky me most of those are deletions, soo ...
@SamOnela well it was announced basically a week ago. not quite, but....
 
2:52 PM
@SamOnela Yeah, it made quite a noise.
 
3:05 PM
@Duga rolled back
 
@Graipher well-worded comment
 
@SamOnela Thanks :)
 
This would probably be a better fit over on codereview.stackexchange.com — aynber 6 secs ago
 
3:23 PM
@Vogel612 Yep. It's on extended support for a few more years, then IE 8 officially is dead!
Also, .new-contributor-indicator { display: none; }
3
 
3:46 PM
posted on August 22, 2018 by CommitStrip

 
Greetings, Programs.
 
0
Q: Segregate js code in separate file in mvc

AliceIn our MVC application we have lot of javascript validations embedded in cshtml files. We would like to separate them into an external file. Questions. 1. Is it the best practice for doing so? 2. How can we separate the logic into an external file and keep only the display elemtns inside cshtml?

 
@CommitStrip That won't catch memory leaks, you fools...
 
4:03 PM
@CommitStrip makes me re-consider buying a fanless system 😏
 
Monking
 
Nibjubg
 
0
Q: Finding specific small byte arrays in large binary files

user2950509I'm trying to quickly and efficiently find every recurring position of small byte arrays (4 bytes) in large binary files (several GBs). My current method is as follows: Stream stream = File.OpenRead(filepath); List<long> searchResults = new List<long>(); //The results as offsets within the file...

 
4:21 PM
hey, anyone familiar with Neural Networks and Python? --> codereview.stackexchange.com/questions/166921/… thoughts please?
it seems to me that the errors they are talking about are learning errors and not errors in the code
 
@Malachi Quite possible, but it's not entirely clear.
 
the last statement makes me think it could be not working as expected, but is kind of grey
 
Honestly, a lot of ML questions on CR are not exactly working as intended.
 
@Mast, keep in mind this question is over a year old
 
@Malachi Author was last seen July 12th, so it's not a hopeless cause yet.
 
4:25 PM
@Mast they venture into a different area that is new and hard to traverse with our "works as inteded" close option
 
Although I can imagine closing it to force a response.
 
0
Q: Processing object writes to external datastore in parallel using ForkJoinPool and list streams

MarkI have the following code. I wanted to see if you thought this was a good way to go about processing an array of objects in parallel using a ForkJoinPool and array streams. This is just a sample, in my real code, the array is a list of objects, each of which has a write method that will write the...

0
Q: XOR Backpropagation in Neural Network

Sari DewiIf i want to make a neural network for XOR operation. There is 2 input(X1 and X2) with 1 output (T). such as: 1 input layer 1 hidden layer include 4 neuron, activation function is sigmoid (z= 1/1+e-z_in). 3.I output layer with 1 neuron, activation function using y= y_in how to make python cod...

0
Q: Katz Centrality and Eigeenvector on python questions and help needed

mehmetI have a datamining project already done uploaded here: (with the descriptiomn and documentation). I just need some explanations, comments and minor fixes to deliver as it was really difficult for me. Everything is fully analyzed in the ATTACHED doc. The python script crashes, why is this happ...

 
@Malachi Meh, they usually simply lack specification. Proper specification would turn them into a black-white case.
 
> Last seen Aug 14 at 19:37
SO ↑
 
@CaptainObvious Timing...
 
4:27 PM
@CaptainObvious that isn't the same one is it?
 
Same problem.
But a much lousier question.
 
4:39 PM
You may want to submit your code to Code Review as you're clearly not fluent with Perl yet and you may learn a lot from the feedback there. — Borodin 21 secs ago
 
@Mast let me know if anyone asks about this, or if the user comments/edits, pretty please?
 
@Malachi If I know, you'll know.
 
thanks
 
4:56 PM
0
Q: XOR BACKPROPAGATION IN NEURAL NETWORK in Sri Kusuma Dewi Book

Sari DewiIf i want to make a neural network for XOR operation. There is 2 input(X1 and X2) with 1 output (T). such as: 1.1 input layer 2.There are 1 hidden layer include 4 neuron, activation function is sigmoid (z= 1/1+e-z_in). 3.1 output layer with 1 neuron, activation function using y= y_in how to m...

 
@CaptainObvious DUPLICATE!!!
P.s. stop yelling, please
 
Closed.
 
@MJD was too kind. This is bad advice, and this code would never survive my code review. -1 — jwm 50 secs ago
 
^^ nice
Is the crashing a feature? — Mast 2 mins ago
like in Windows RG edition
 
5:01 PM
OP says code works fine, it just crashes. What else would the conclusion be?
 
Welcome Kenny. Can you elaborate a bit? Unclear if you're looking for a general code review, your code is throwing an error, etc. Take a look at this wiki article for giving minimal, complete, and verifiable examples: stackoverflow.com/help/mcvechris 21 secs ago
 
sorry I didn't see that before it was removed :/
 
5:27 PM
0
Q: How may I optimise this scalar function? I am calling this in a select query and it is taking more than 8 minutes to retrieve the data.

AndyHow may I optimise this scalar function? I am calling this in a select query and it is taking more than 8 minutes to retrieve the data. USE [ControleAcesso] GO /****** Object: UserDefinedFunction [dbo].[OwnersItemAplicacao] Script Date: 22-08-2018 22:22:12 ******/ SET A...

 
5:38 PM
aight ... Pull Request over +4.9k -24.1k open
500 words description, second most used two-word phrase: "also breaks"...
 
My description would be "updates"
 
0
Q: C++ thread-safe averaging

lunej.leAlthough having very little C++ experience, I was tasked to implement several statistics objects that are safe to be asynchronous accessed by different threads, that collect data in relatively small memory caches and do the math when asked. Many of those I need to write are based on averaging, so...

 
the thing is: I don't even have a remote chance to get a grip on everything that breaks
totally unrelatedly: Redislabs slapped a Non-Commerciality clause onto parts of Redis
 
@Vogel612 Wot, why? Redis is quite often used commercially.
 
because cloud service providers and hosting packages
 
5:57 PM
0
Q: Does that lines of code are unwanted or not?

AnthonyI would approach with a dedicated class for keeping Name-Position mapping: public class NamePosition { String name; String position; public NamePosition(String name, String position) { this.name = name; this.position = position; } public String getName() { ...

 
@Vogel612 So, $?
 
I would call they want their share of the cake for hosting fees. It doesn't say explicitly, but it's always $, innit?
 
@CaptainObvious sigh
@Vogel612 There's 2 rules about doing business.
1) In the end, it's always about money.
2) When it doesn't seem to be about money, see rule 1.
 
sounds akin to the rules of fight club - which I was reminded of last week when viewing the MDN docs for <hr> :)
 
> cargo-cult code-gluing efforts
 
6:01 PM
@Mast well, somebody is self-deprecating today...
at least that means I get to feel good about breaking everything after working on that thing for two months straight
 
@Vogel612 I'd bet that's it: people offering "Redis hosting" for $$$.
 
6:29 PM
@202_accepted Well, people have been doing that with just about anything remotely web-based.
Pay us to install MySql/Postgres/MariaDB/Python/Java/Ruby whatever on our own shared hosts.
@CaptainObvious One more VTC.
 
Questions asking about best practices are off-topic as they are primarily opinion based. You may have better luck going to Code ReviewGrumpyCrouton 16 secs ago
 
@Mast "Yeah but if you want to use our version..."
 
7:12 PM
0
Q: Breaking down a React form into sub-components

Javier García ManzanoI was recently building a form to add contacts to an play app I'm making and I finally got it to work. The problem is I'm not too happy with it. It's my first time building an application with React, so I don't really have any experience on my toolbelt, but I can see the responsabilities aren't...

 
PHP 4 on GoDaddy anyone?
 
@Vogel612 Embarrassed to say I still have one hanging around...
 
7:27 PM
0
Q: Is it an anti-pattern to use strings as arguments to control function results?

ZachI'm trying to decide what the best practice is when writing functions that can perform multiple actions. My current solution is to have a string argument that tells the function what to do (eg, updateTasks('complete selected', data);). I realize that I could split this function into multiple fu...

 
7:44 PM
I clicked "Cherry Pick" and it asks me what branch, so I try to type "refs/for/master" but it doesn't like that (says "Code Review - Error, Branch refs/for/master does not exist"). If I just type "master", it accepts that and says I now have "Uploaded patch set 3", but in the top right it still says "Change 58358 - Draft", and it doesn't start a test build. Any more ideas? — phonetagger 53 secs ago
But be sure, you have no Design problem. 15 different Aggregates with the same Services sounds like a Design Problem for me. Maybe you should go more into Detail on CodeReview.SE. — Christian Gollhardt 13 secs ago
 
0
Q: How to check if array element of an array is null or not null in C?

vijay pratapI declared an array of size 20 elements. Then take an input n from the user and inserting n ( in my case n=5 ) array elements. Then I Tried to count the number of elements present in an array, But I am getting a wrong output( in my case 7 ). #include<stdio.h> #define m 20 void main() { i...

 
8:12 PM
0
Q: Running shell script as root via external binary

user177906I'm not an experienced Linux user and I wanted an easy way to run shell scripts as root from a PHP script, I came up with this: #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <string.h> #include <strings.h> int main(int argc, cha...

0
Q: With ES6, is there a better approach to spread nested/children objects?

Brantley EnglishUsing VisJS in a React app, I've been updating the options prop with props from the parent component. This works, but is there a way to refactor the ES6 spreads here? <Graph nodes={nodes} edges={edges} options={{ ...this.state.options, physics: {...this.state.options.physics, e...

 
8:42 PM
1
Q: A custom session with transaction support using Dapper

Luís Gabriel de AndradeI wanted to write a custom session to act as proxy for a Dapper connection that could support transactions without having to expose any other DB related entities. At first, I thought of opening a connection upon creation of the session and keeping it open for the whole life of the instance. As I...

 
9:24 PM
If you would like a second pair if eyes, post your code here instead. — R. Richards 23 secs ago
 
9:58 PM
-1
Q: Issues understanding code

user856707I have written a code in C. I am not understanding how the compiler is processing my statement please help.

 
@CaptainObvious screenshot of code not understood ;/
 
10:15 PM
@BrettRossier Glad I was able to help. But a word of warning: If you generate Code, where the generation strategy is different, depending on a variable, it could be a sign, you have an design problem. If possible review it carefully and probably post a question on CodeReview.SE — Christian Gollhardt 31 secs ago
 
10:27 PM
Probably you might have better luck at SoftareEngeneering.SE or CodeReview.SE. No one loves monsters. But it's hard to beat them :( @KonstantinKonstantinov — Christian Gollhardt 11 secs ago
 
10:40 PM
possible answer invalidation by user177906 on question by user177906: codereview.stackexchange.com/posts/202249/revisions
 
10:55 PM
possible answer invalidation by user177906 on question by user177906: codereview.stackexchange.com/posts/202249/revisions
This is pretty far removed from what I was trying to you show on the related codereview tbh. It's like a mix of the old technique you were using and table based decoding. — harold 5 secs ago
 
@Duga rolled back
 
11:31 PM
0
Q: JavaScript concepts applying to JSX posts

Sam OnelaMany posts are tagged with jsx as well as javascript and sometimes ecmascript-6, but then those latter tags are often removed by others. While I understand that jsx is not the same as javascript and ecmascript-6, isn't it the case that many of the same concepts of the latter two apply to the for...

 
11:43 PM
0
Q: Executor tasks for parallelizing a method

Sagar public boolean delete(List<Integer> listDir) { if(listDir.size()<4){ return parallelDelete1(listDir); } final List<Integer> listDir1 = listDir.subList(0, listDir.size() / 4); final List<Integer> listDir2 = listDir.subList(listDir.size() / 4, listDir.size() / 2); final List<Integer> li...

 
Anyone here use Atom (the editor) Regularly?
 
0
Q: Unity injection with too many constructor parameters

Konstantin KonstantinovI have the following Unity related question. The code stub below sets up the basic scenario and the question is at the bottom. This is a repost from https://stackoverflow.com/questions/51940180/unity-injection-with-too-many-constructor-parameters where it was suggested to put the question here. ...

 

« first day (1936 days earlier)      last day (2073 days later) »