« first day (1898 days earlier)      last day (2123 days later) » 

12:00 AM
RELOAD! There are 5439 unanswered questions (89.9490% answered)
 
1
Q: Worried about error handling, multi-threading and separation of concerns

J. BendI've implemented the following functinality that allow users to upload Excel files that contain information about new or existing Products, each row in the Excel file represents a single product. After parsing the file and performing some validations, the set of products is finally inserted/updat...

 
12:58 AM
-1
Q: Back button will not go back to original state of my site

joshau On the site im working on I want users to be scroll and click on icons to "open" them up.For example if a user clicks the about us icon it would have a paragraph of info in which they can scroll up and down the text along with a back button. the back button would take the user back to the icon wh...

 
 
1 hour later…
2:17 AM
I guess this is more appropriate for code review if it works — Jaromanda X 45 secs ago
 
2:44 AM
0
Q: Telnet for Idiots

motokuI wrote a Telnet For Idiots; because it's pretty simple. No options, just straight i/o. It seems programs get so bloated easily. #include <arpa/inet.h> #include <fcntl.h> #include <netdb.h> #include <signal.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <unistd.h> #...

 
 
2 hours later…
4:31 AM
0
Q: My first QThread on python + Qt

SaelythThis is the first time that I try to use threads on any programming language. I am learning PySide2 so I tried there. Note: I removed from __init__ all the window information related to buttons, lines and UI as I consider this snippet is big enough already. Please let me know if this is the...

 
 
1 hour later…
5:58 AM
Your code works - exactly what sort of improvement are you looking for? (might more more suited to codereview than here) — CertainPerformance 23 secs ago
@JBrew: That’s not an exact question; the only thing we can do to answer that question is to give you a complete documentation for the module – which is too broad for this site. If you run are experiencing a specific error or other problem, please edit your question to specify it and give an Minimal, Complete, and Verifiable example if possible. Alternatively, if your solution is working as intended, you could ask for improvements on Code Review, but please read their guidelines before asking there. — Wrzlprmft 47 secs ago
 
6:35 AM
0
Q: Demonstration of ChessBoard Traveling (CoderByte)

austingaeProblem Have the function ChessboardTraveling(str) read str which will be a string consisting of the location of a space on a standard 8x8 chess board with no pieces on the board along with another space on the chess board. The structure of str will be the following: \$(x,y)(a,b)\...

 
7:24 AM
-2
Q: Positive elements at even and negative at odd positions

neha jainAn array is given and the program is to convert that array such that positive elements occur at even numbered places in the array and negative elements occur at odd numbered places in the array. We have to do it in place and the relative order of the elements must be maintained. There can be uneq...

 
8:10 AM
@skiwi Why don't you go for a WPF/XAML thingy?
 
8:45 AM
@Mast I'd rather make a generic framework then coding different applications by hand
So then I was thinking about web as I could use more skills that I may need in the future
 
General question about how to write e.g. an app is off-topic here at SO. CodeReview might be a better place. — LGSon 34 secs ago
 
It's hard for me to commit to my job application though as contract renewal is in a few months and I don't know yet what will happen
On the other hand I can probably design it and get the data in in a few days and always export it
 
General question about how to write e.g. an app is off-topic here at SO. Code Review or [softwareenginering.se] might be a better place. — LGSon 14 secs ago
Questions asking for improvement of already working code are better placed at SE Code Review. — πάντα ῥεῖ 41 secs ago
 
9:15 AM
0
Q: Best way to name class which queries api and updates database records

JohnSnowDoesNotKnowNothingI have a class which run at specific time in the day. It queries some order status from other api and update local order status. What's the best way to name this class? Currently I name it OrderStatusSynchronizer.

 
9:29 AM
@πάνταῥεῖ: You are probably right. I always had the - porbably wrong - impression that SE Code Review was more targeted towards bigger portions of code, not just short snippets of functionality. — MikeMB 28 secs ago
 
10:13 AM
Monking
 
Monking @Vogel612
 
 
1 hour later…
11:35 AM
Perhaps you should post this at codereview.stackexchange.com and get tips like not passing strings by value, that if (lValueName == TEXT("")) can be written as if (lValueName.empty()), and that having a temp list and doing lSubKeyList.push_front(lTemp.back()); could likely be done with a single list and a std::reverse call. — Bo Persson 53 secs ago
 
12:46 PM
-1
Q: Color code of Conditional formatted cell

Erik KallenbergI have conditionally formatted cells. They look for certain text strings, and based on that text string the cell gets a color. How do i look up the color code of these cells? 1. What is the color code of cell 280? 2. What is the color code of cell 281? I tried a VBA DisplayedColor, but it giv...

0
Q: Select and delete objects from S3 container

asylumineGitLab saves files with the pattern '1530410429_2018_07_01_11.0.1_gitlab_backup.tar' (epoch, date, version, fixed string) to an S3 container. I wanted to create a Python module to manage those backups, particularly to delete old backups, but preserving a specified number of files for each versio...

 
1:09 PM
Monking²
 
1:54 PM
0
Q: I wrote a Tic Tac Toe game with an AI that tries to win. Any ways to make it more difficult?

ShnplnI am new to programming, I have only just started learning Python about a week or so ago and came up with this. I would like to get any feedback I can on my code. Ways to improve it, ways to write clearer code. https://pastebin.com/fZDZaFhh Run my code, and see how it does. I want to improve.

 
This question seems to fit better at Code ReviewBergi 58 secs ago
 
2:13 PM
codereview.stackexchange.com/questions/112264/… this can help converting your data string to hash — hodiecode 34 secs ago
 
2:26 PM
first fix indent so it's readable and then post that to codereview site that seems more adequate (make sure you read the "how to ask" there first) — Jean-François Fabre 21 secs ago
I’ve flagged this, asking it to be migrated to Code Review. — Tom Zych 19 secs ago
 
3:26 PM
0
Q: Drawing a grid-based particle system

paleto-fuera-de-madridFor some time now, I've been working on a game which is superficially similar in appearance to this one. A world is filled with particles that move and change state frequently (per frame, often). Drawing is achieved by finding the locations of particles within the camera's viewport, calculating l...

0
Q: C application for capturing keyboard shortcuts

ridI'm writing an application for capturing keyboard shortcuts on Linux, but I don't have a lot of experience with C or the Linux API, so I'm wondering about problems with the code or maybe parts that could be done better. This is the code so far. I'm planning on adding other shortcuts in the futur...

 
3:45 PM
0
Q: JavaScript table of objects in MVC

Alin UngureanThere is given a html table of orders. Each it is an OrderHeader object that has a drill-down list of OrderDetails. I want to implement this in the MVC pattern. I was thinking that every order detail in the list should be a OrderDetail_controller. Below it's some approach. The order detail: c...

 
4:05 PM
-3
Q: Find the safest route possible using graph

PritamI am not able to determine how to approach the safestRoute Function. here is the Question In order to find the safest route, you need to design a java program to read the pair of connected city names with the report values as a standard input in the following format, Mumbai,Pune,10 Pune,Indore...

 
4:21 PM
0
Q: Our first game project.

user174980we want to introduce our project to you. Could you give advice and criticize our program. https://yadi.sk/d/w03qNf-j3ZCJVt

 
4:33 PM
@CaptainObvious CBL, no context.
@CaptainObvious Broken.
 
5:22 PM
0
Q: Remove if else statement from code

Hasan HasanovFor some time I am trying to make a mocking library for C# that mocks objects with just 1 line of code. I am using abstract factory pattern to know what is the object's type so that I can work with concrete factories. I ended up with the following code on my Abstract factory class which I am not...

 
 
3 hours later…
8:02 PM
0
Q: Summed absolute difference of two array

Vishal_007Question The Summed Absolute Difference (SAD) of two arrays. Given arrays (1-indexed) P and Q of lengths p and q. Given a collection of n arrays A1, ..., An, report SAD(Ai, Aj) for several queries (i, j). The first line of input contains a single positive integer n. Each of the next n lines s...

 
8:21 PM
-3
Q: Rock Paper Scissors in Python2

Nandanfrom random import randint probable_inputs = ["r", "p", "s"] def game(user): comp_input = probable_inputs[randint(0, 2)] print comp_input if user == comp_input: print "You guessed the same as the computer!" elif user == "r" and comp_input == "p": print "You lost!...

 
8:56 PM
-1
Q: GitHub client for android

MarkonioniniI created this open source GitHub client for android (written in Java), with pagination, caching, connectivity monitoring, and option to add bookmarks. I would appreciate your comments. https://github.com/giantturtle/GitHubClient

 

« first day (1898 days earlier)      last day (2123 days later) »