« first day (2449 days earlier)      last day (1561 days later) » 

12:00 AM
RELOAD! There are 6366 unanswered questions (90.0731% answered)
 
12:20 AM
I'm voting to close this question as off-topic because "suggestions to improve and optimize" sounds like something more appropriate for Code Review than for Stack Overflow. — JaMiT 11 secs ago
 
 
1 hour later…
1:42 AM
This seems like a more appropriate question for Code Review. You should write a non-optimal version that clearly demonstrates the result you want, then they may be able to help you optimize it for the microcontroller. — Barmar 49 secs ago
 
 
1 hour later…
2:44 AM
0
Q: align with spaces

kezezeThere are two cases. Case 1: Message message = Request.GetResponse(type); message["ProccessID"] = Request.Message["ProccessID"]; message["MainProccessID"] = Request.Message["MainProccessID"]; message["RefDocumentID"] = Request.Message["DocumentID"]; message["OfficeName"] = Request.Message["Offic...

 
 
2 hours later…
5:02 AM
Monking
 
5:50 AM
0
Q: Is this well designed procedural code?

connor-myersnormally I code in Java but have recently been trying to teach myself C for a university course I will be taking next semester. (I'm about to enter my third year). I wouldn't consider myself the best programmer, or even a good one. Now, I was just wondering if anyone would be able to take a qui...

0
Q: Checking API MetaData For a Key to change

Roy LionActually not to sure if this is the right place to be asking this but. Essentially What's happening is in my Xamarin forms application I'm Using the Woo-commerce Api The Api returns weird Results on the MetaData for "Groups of Quantity" Sometime's it's null sometimes "" sometimes 0, The Stepper ...

0
Q: Finite State Machine / Scene Manager in C

whoshotdkI'm new to C programming but this is my attempt at a Scene/State machine. I haven't had a code review before so I'm guessing this is gonna hurt :D ยง Preliminary SceneFSM manages Scenes, one Scene "active" at a time. A Scene is just a C file with method definitions; Each scene may (or may not) ...

 
6:29 AM
Monking
 
Monking
@CaptainObvious Looks like an interesting enough question.
 
6:51 AM
0
Q: Sorting multiple vectors based on a reference vector

user3053970I am trying to sort vectors based on a reference vector. First I am getting the indexes for the reference vector and then using that I am doing inplace sorting for the rest of the vectors. #include <vector> #include <cassert> #include <iostream> #include <algorithm> using iter = std::vector<int>...

 
7:11 AM
-1
Q: Why flask blueprint not getting changes and routes aren't working?

Rohit DalalI was working on a basic news flask application since one month. I was started get some 'ImportError', then I got help from stackoverflow to use 'flask blueprint' for better management of my application. I restructure my flask application but now some routes('user/login') aren't working. I fixed...

 
7:53 AM
@CaptainObvious Borked
 
8:19 AM
If you want a code review: codereview.stackexchange.com is a better place for that. — Boendal 34 secs ago
This question is opinion-based, I would post it in codereview.stackexchange.comjeprubio 54 secs ago
 
9:01 AM
this seems to belong to codereview.stackexchange.comDrako 1 min ago
 
9:25 AM
Well, theoretically Area51 isn't dead yet.
13
A: Is anybody out there?

Tim PostYes! The community team is keeping an eye on things. Robert has a degree of finesse and warmth that positively can't be replicated or imitated and we know that's going to be missed, but we're going to do our best to support you here. Please be patient with us! We can certainly use any construc...

 
9:36 AM
0
Q: Proper Python project setup

Mate de VitaI was asked to migrate this question from SO here. I know there are already several questions regarding folder structures, relative imports, modules/scripts, and __init__.py files, but even after reading up on those topics, proper project setup is still the thing that confuses me the most about ...

 
Someone bountied my question o_O
18
Q: BF welcomes Fibonnaci

Simon ForsbergSlightly inspired by a previous question/april fools joke I decided to take on Fibonnaci sequence in the lovely language Brainfuck. In order to do this I have also worked on Brainduck, which is a Brainfuck tool/analyzer/IDE. In Brainduck I added the functionality to run Groovy code if the line b...

 
@SimonForsberg And not too shabby either.
 
@Mast Yeah, a 200 bounty is quite a bit.
 
@SimonForsberg Especially for a <2k user.
 
10:37 AM
0
Q: guessing game in python not working

gladitorI have written a python script to guess anything which the question has asked....but there is a problem that I can't figure it out....everything is working well by giving a single character. But if I gave any word which has all the correct character which the given question need...it doesn't work...

 
@CaptainObvious Borked
 
11:00 AM
i have the feeling this is a xy problem. The actual problem being how you read the data from the csv. The best I could find is this which is about code that reads numbers from a csv — formerlyknownas_463035818 43 secs ago
Welcome to Stack Overflow. This question is probably better suited for Code Review - please have a look at the What topics can I ask about here? and What types of questions should I avoid asking? guides for more info. — Don't Panic 23 secs ago
 
@Mast I think many lower reputation users are less greedy with their reputation
I admit, I have been super greedy.
 
If the code works and you want to optimise this belongs on the Code Review site. — SJR 15 secs ago
 
11:23 AM
You can include fully runnable minimal examples or code snippets in the text of your question (stackoverflow.com/editing-help). Although not a code review site. "Not allowed to use hash tables", if you have special requirements be sure to include in questions, although Id say definitely worth learning extra things like hash tables yourself if not included in a specific course. — Fire Lancer 36 secs ago
 
11:59 AM
0
Q: Slow performing subquery

AbsintheThis query executes very slowly and I wonder if it can be improved? We have an Access database split to front end / back end with around 50 users. BE is in a network folder and FE is on users' hard drives. Data entered into the FE is stored in FE tables until the user has finished inputting a...

 
12:32 PM
Questions asking for opinions are generally not fit for Stackoverflow, this is the reason the question is closed. You could consider other stackexchange site like: softwarerecs.stackexchange.com, codereview.stackexchange.com and others see: stackexchange.com/sites Its better to reframe your question or simple asking how to solve a specific problem. — Oluwatobi Samuel Omisakin 34 secs ago
 
1:00 PM
@SimonForsberg Sometimes as an OP your rep can increase with a bounty. Once I get to 20000 I don't think I'm going to care about rep much at all.
I care less about it now that I've hit 10000
 
@pacmaninbw What can I say? I'm a hoarder.
I have given up in many races though, so eventually I'll probably drop down to 10th place in the top reputation or something.
In other news, I really like this answer:
14
A: Remember when Stack Exchange and the Community worked side-by-side to "make the Internet a better place"? Can we go back to this please?

Tinkeringbell Q: Can we go back to this please? Time travel sadly doesn't exist. We can't really 'go back'. Things have happened, and as long as that's in the collective memory of a lot of people, they won't be forgotten. We can only work from here, but we can make a measure of working side by side with S...

I would give it a super-upvote if I could.
 
@SimonForsberg If you saw my house you would know I was a hoarder.
 
Noted.
 
Is there a problem that you have discovered with your code? Or are you just asking for a code review? — ryyker 16 secs ago
 
@SimonForsberg Agreed, very good answer.
I've been viewing many of the posters that complain as spoiled children. SE has a big monetary investment in the sites, they do own the sites.
Violating Monica's rights were wrong, but if they had handled it in a better manner there might not be a problem.
@SimonForsberg Added +1 to your super upvote.
 
1:13 PM
@pacmaninbw Pretty sure most of it just comes down to "if they handled it better this wouldn't be a problem".
 
@Peilonrayz Yes, and if I were the CEO, I would have fired someone else rather than the 2 that were let go. Names I can't put here though.
 
@pacmaninbw I'm inclined to agree with that.
 
1:32 PM
@pacmaninbw Same here. After 20k, what do you need it for?
There's some perks at 25k I think, but doubt they're worth it.
If I'd really cared about it so far I'd have posted more, so, there's that already.
 
@Mast I looked at it once, pretty meh.
 
10k is nice.
@pacmaninbw Yup.
Although a lot more has been going wrong lately.
But hey, as long as there's no alternative, we'll keep sailing this wreck till the end of the world.
CR is still working pretty decently regardless of the crap going on, so, yea, not ideal, not fair, lot of things, but it is still available.
 
1
Q: Prettier Pug Plugin - performance, documentation, splitting, regex improvements

ShinigamiI'm the creator of the plugin Prettier Pug Plugin Everything works fine and I have a lot of tests because I used TDD I currently have a large index.ts (permalink) In this file mainly an array of tokens is iterated in the parse function and each token is specifically treated in a huge switch cas...

 
2:01 PM
0
Q: c# IndexOf string search

JeffersonI have this code working but its using IndexOf I am not sure if that is the best or only option for search for a string value. What I have is a list that will need to remove a world from the child name if it is the same as the name. namespace DupName { public class Program { stat...

0
Q: An RPN Calculator in Java

ViceroyFaustBrief I have asked this forum to review the previous versions of my code here. My calculator takes the input either separated by spaces or newline. If a command is not recognized, the program prints out an error, and all input is trimmed of leading and trailing spaces to prevent buggy input. Ho...

 
2:15 PM
Since your code is working fine but the only issue is performance, you could post your question on Code Review Stack Exchange instead. — Georgy 46 secs ago
 
2:42 PM
0
Q: Java multiple completablefuture

FortranI wrote the following snipet code within Cumulocity platform. runForTenant must be in a separate thread. What is your an opinion about my code. is there any need for optimization? Thanks LinkedList<CompletableFuture<Void>> asyncThreads = new LinkedList<CompletableFuture<Void>>(); ...

0
Q: Iterating over a tuple

n314159I tried to write a small header-only library that provides a type similar to iterators for std::tuple as well as some stl-like algorithms. I would be grateful for your comments and suggestions. Code on github: https://github.com/Nicholas42/Cpp-Bits-and-Pieces/tree/master/tup_iter // tup_iter.hp...

 
3:02 PM
0
Q: HTTP Client - Best practices

JsonDorkI've made a HTTP client and would like some tips to improve my code, it's supposed to be built for xamarin forms but should work with any implementation. My goal of this project was to learn more about HTTP client and also create a project that I can just copy the class into any new project wher...

 
3:23 PM
0
Q: Adding or deleting elements from a linked list

Alice DunI'm relatively new to programming as I've just started university. My assignment is to develop a program (by using a function and a linked list with pointers with integer elements) which does the following: the function visits every element from the beginning. if the current element plus one is <...

 
4:22 PM
Monking
 
4:44 PM
0
Q: C++ Bunny beginner exercise

Name Is HKI recently started learning C++ myself online and I have attempted to do the bunny beginner exercise here. I did not do the "run in real time" and "save each turn to a file" modification yet, but I did do everything else, including the grid. Basically I am looking for any feedback, if at all. So...

 
5:13 PM
I'm voting to close this question as off-topic because questions about improving working code should be asked on Code Review instead. Also, this question needs to be far more specific. — EJoshuaS - Reinstate Monica 7 secs ago
 
6:06 PM
I'm voting to close this question as off-topic because this question belongs on Code Review, another site in the Stack Exchange network. — AndrewL64 43 secs ago
 
0
Q: Improving quick sort algorithm (Python)

MistI'm learning algorithm and this is my implementation of quick sort, please guide how can i improve it further and what are other more optimal ways to implement quick sort? def quick_sort(arr): length = len(arr) if length <= 1: return arr else: pivot = arr.pop() ...

 
So is it ok to give code reviews on SO? stackoverflow.com/questions/59787830/…
 
6:25 PM
For what it's worth, I don't think this question belongs on Code Review, because Code Review is for general, open-ended feedback on code - your question is specifically focused on whether a particular refactoring is an efficiency improvement and can be justified by probability theory. — kaya3 25 secs ago
 
0
Q: Translating messages on the front-end

Ian GuimarãesI have to translate some default messages in a page that is rendered by the back-end, but I must do it in the front-end. Can't afford to spend the time doing internationalization. Is this a good quick fix? I really know this is not the best idea at all. var language = navigator.language; const...

 
 
2 hours later…
8:19 PM
After edit: if your code works in all the ways you care about, SO is not the place to ask about it. Aesthetics are off topic. Try codereview.stackexchange.comMad Physicist 30 secs ago
 
9:13 PM
That probably still wouldn't pass code review with me, but at least I would not consider it an abuse of cleanup. — John Bollinger 52 secs ago
 
9:51 PM
0
Q: Looking for help following the lines of code for a Connect 4 game

Hatem ChalakHere is the Connect 4 code that I am talking about. It is a working code! However, I cannot follow and understand the lines of code under the "tap" function and how they work. The code is below: from turtle import * from freegames import line turns = {'red': 'yellow', 'yellow': 'red'} state = {...

 
10:33 PM
-1
Q: Numpy vectorize double for loop

OrangePi3How can I vectorize this function? It takes an array of array of tuples as input and computes the distance between elements using Levenstein's method. I found some simpler examples but they weren't of much use for me since I couldn't apply the same logic for my problem. Any help with making this ...

 
10:53 PM
0
Q: Credit Card Form using RXjs

Valary oI am trying to improve my skills and I'd like to work on avoiding bad practices and mistakes. Can anyone skim over my code and point out what should have been implemented more efficiently or in a more compact way? I am a newbie to RXJS and I would appreciate if you give some hint on organizin...

 
11:34 PM
0
Q: Fetch API wrapper

Brett DeWoodyI have created a wrapper for Fetch to send requests to my API. The module exports api, and requests can be made with: api.get({ url: '/users' }) or api.post({ url: '/users', data: {id: 1, name: myName} }) After receiving the HTTP response from fetch I do some additional tasks, like update ...

 

« first day (2449 days earlier)      last day (1561 days later) »