« first day (2260 days earlier)      last day (1750 days later) » 

12:00 AM
RELOAD! There are 6248 unanswered questions (89.7186% answered)
 
12:25 AM
0
Q: Google Foobar challenge "queue-to-do" Python partial test case errors

MinkiI started foobar challenge a few days ago, and I'm now in the 3rd stage first question, and I've got the "Queue-to-do" challenge. The problem is that I get some partial errors in the verifying process. There are 10 test cases with 2 open cases and 8 hidden ones, and I was having problem with thre...

 
1:04 AM
0
Q: Counting Valleys - HackerRank Challenge - Filter Out Elements from Array That Equal Previous Element

HappyHands31For this challenge on HackerRank: I reached a solution, but I'm sure it can be optimized: function countingValleys(n, s) { let heightTracker = []; let height = 0; for (let i = 0; i < s.length; i++) { if (s[i] === "D") { height--; heightTracker.push(he...

 
1:44 AM
0
Q: Optimizing primes generating program in C++

Mr. WilsonI am writing a program to generate primes in range 1 upto 10^9 but it seems to be timing out. I have tried optimizing my code using bitsets and pragmas. Please are there any other ways i can optimize my code. Code below #include<bitset> #include<vector> #include<iostream> #include<algorithm>...

 
2:24 AM
0
Q: C# hash table linked list bug

justsomenoob2020Having an odd problem with an array of linked lists.. Whenever I instantiate my array with any value over 1000 i get a system.NullReferenceException error when compiling and I have no idea how this is happening as this problem does not happen with values <= 1000 the program takes a text file par...

 
2:47 AM
Move this to CodeReview network — sidgate 46 secs ago
 
3:04 AM
0
Q: setting and running basic python code

Code Treemy developer did this scrapper https://github.com/pythexcel/cryptoapp_backend_frontend/tree/master/backend/app which runs at an interval and he is not available now and I am stuck setting it up in server, I am trying to run sudo python app/__init__.py but it throws me ModuleNotFoundErro...

 
3:24 AM
1
Q: Basic network layer for a JSON API client

codebunnyJust looking for some feedback/ways to improve this basic networking layer written in Swift. I'm still learning, please elaborate with as much detail as possible. enum HTTPMethod: String { case get = "GET" } class HTTPLayer { let baseURL = URL(string: "https://example.com")! fu...

1
Q: VGA sync generator for 640x480@60Hz

robbie0630I wrote my first module in Verilog. The purpose is to maintain two counters and emit signals corresponding to VGA's HSync and VSync, as well as HBlank and VBlank pulses to be used by a video controller for the blanking intervals. The only input is a clock signal of 25.175 MHz. All timing informat...

 
I'm not seeing any problem here. If you want opinions on how to improve, move this question to Code Review. If there is a problem, please clarify. — Vince Emigh 51 secs ago
 
3:44 AM
0
Q: Skip day when there is no store opening in C#

venalyn sudariaI am trying to create a program that will skip the days when there is no store opening on that day. Ex: Day 1 -> Friday DAy 2 -> Saturday Day 3 -> Sunday (no store opening) Day 4 -> Monday Currently my program will skip and add 1 day when there is no store opening. so it will be like this: Day...

 
4:25 AM
Yes , I want to know if I can improve my above code in any possible way.. I know how access modifiers works but just want to know if I can write more better way.. I will try to move to code review else any comments on this thread will be useful for future stackflow users — user8373379 9 secs ago
 
4:37 AM
Monking
 
0
Q: How to set up a file pointer that pointing to the file inside of a file in C#

xX_Patric_XxWhat I mean is there is a collection.txt file and inside of this file there are some other files. Now I have already open the collection.txt file and I want to set a pointer which can point to each of these files, so that I could visit each of them. How to set this pointer, what is this pointer i...

 
If you want to know what advice others have for your working code, give Code Review a try and ask a Good Question. My first peeve: (doc) comment your code. — greybeard 34 secs ago
 
5:30 AM
Monking
 
6:06 AM
2
Q: Ruby price calculator for groceries

PraneethaI am good at logic and most of the time I write working code. But I want to learn writing code which follows best practices and is very efficient. I tried to implement some of them in my code but it still looks very unclean. Could anyone please explain how I can make this code better and make it ...

 
6:46 AM
0
Q: How can these Database (Eloquent) Statements be more performant?

lxg26First of all, I think this question needs a lot of time to think about it and want you to deal with it if you really have fun doing this. So here is my Question: I created a booking system for vehicles with Laravel, and there is a welcome page in it with a form that lets the user input location...

 
7:06 AM
0
Q: Qt / C++/ Warehouse Club Management System

userresuI am building a primitive Store Management System based on Qt and would appreciate some feedback. Classes: ManagementSystem - the logic unit of the system User - might be either Admin or Manager (they access the system) Member - the people who are the members of the Warehouse Club. Might be ei...

 
7:23 AM
Your question would better go there : codereview.stackexchange.com than here — adesurirey 50 secs ago
 
7:40 AM
"better solution" better in what sense? Also if the code works the question is better suited to codereview.stackexchange.comYury Tarabanko 33 secs ago
I'm voting to close this question as off-topic because the question belongs to codereview.stackexchange.comYury Tarabanko 16 secs ago
 
0
Q: how to right java program for shapes

Sumahow to d this in java Create a class named Shape with an abstract method named print.From this class,inherit three classes - Square, Triangle and Circle.Square will have 4 points with coordinates (10,20) (30,40) (50,60) (70,80)Triangle will have 3 points with coordinates (10,20) (30,40) (50,60)Ci...

 
8:01 AM
Methods of acquiring information: the following document link can be modified to show other languages
https://mall.industry.siemens.com/mall/nl/nl/Catalog/DatasheetDownload?downloadUrl=tedservices%2FDatasheetService%2FDatasheetService%3Fcontrol%3D%253C%253Fxml%2Bversion%253D%25221.0%2522%2Bencoding%253D%2522
UTF-8%2522%253F%253E%253Cpdf_generator_control%253E%253Cmode%253EPDF%253C%252Fmode%253E%253Cpdmsystem%253EPMD%253C%252Fpdmsystem%253E%253Ctemplate_selection%2Bmlfb%253D%25226GK1901-1BB10-2AB0%2522%2Bsystem%253D%2522PRODIS%2522%252F%253E%253Clanguage%253Ede%253C%252Flanguage%253E%253Ccaller%253EMall%253C%252Fcaller%253E%253C%252Fpdf_generator_control%253E
That's one URL.
Somewhere in there, there's %253Clanguage%253Ede%253C%252.
Change de to en or nl and you magically get the correct document for English or Dutch, instead of German.
 
I was wondering if it was that part to be modified, or the nl/nl/ thing
 
0
Q: Reviewing queues using a Python tool: case 1

Billal BegueradjI developed a tool in Python which has lot of functionalities, among them ways to access review queues. I have a series of questions that I may ask separately. Here is the first one: Suppose a post is deleted by reviewers as, for instance, a low quality post. Hours later, my Python tool can le...

 
Makes you wonder what the heck the rest of the URL is doing.
@MathiasEttinger The nl/nl/ automagically translates with if you modify the other part.
@MathiasEttinger No, that part is irrelevant it seems.
@Mast Scratch that.
Not sure what it does with the nl/nl/ at all, since the site shown at that link (the generator) is English anyway.
 
@Mast Absolutely legit
Anyway, that's a bit of an ugly query string… Unquoting it yield
tedservices/DatasheetService/DatasheetService?control=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3Cpdf_generator_control%3E%3Cmode%3EPDF%3C%2Fmode%3E%3Cpdmsystem%3EPMD%3C%2Fpdmsystem%3E%3Ctemplate_selection+mlfb%3D%226GK1901-1BB10-2AB0%22+system%3D%22PRODIS%22%2F%3E%3Clanguage%3Ede%3C%2Flanguage%3E%3Ccaller%3EMall%3C%2Fcaller%3E%3C%2Fpdf_generator_control%3E
which, unquoted again yield
tedservices/DatasheetService/DatasheetService?control=<?xml+version="1.0"+encoding="UTF-8"?><pdf_generator_control><mode>PDF</mode><pdmsystem>PMD</pdmsystem><template_selection+mlfb="6GK1901-1BB10-2AB0"+system="PRODIS"/><language>de</language><caller>Mall</caller></pdf_generator_control>
damn…
Why build a regular query string, let's send a full XML document instead
 
8:31 AM
Again, I cannot verify the correctness of the hash for you, as it depends on the behavior of an external program only you have access to. There is a separate stackexchange site for code reviews if you are looking to improve your program. — Botje 41 secs ago
 
8:46 AM
0
Q: Chomp Game in Python 3

RobinI have deliberately avoided any OOP for this project. I'm fairly happy with my implementation of the classic strategy game "Chomp". The computer just uses a random valid choice, so no AI. I would appreciate feedback on points of style and correctness. Is the code basically OK? Does it seem to ha...

0
Q: Beautifulsoup and lxml (xpath) too slow with respect to regex when parsing HTML

Ruggero TurraI agree that using regex to parse HTML is not a good way, in particular I am worried about their fragility with respect to change in the HTML. The problem is that any alternatives are really too slow. I am parsing this web page which is quite big (3MB). Somewhere in the html there is: <form cl...

 
9:03 AM
@MathiasEttinger Yea, it looks like they send a complete XML config towards the server.
I suspect that has security implications.
 
0
Q: SHA256 directory hash

Newbie123I'm pretty new and I posted on SO earlier because I wanted to make sure my code was right and all that and I got redirected here. So I have this code that I put together (using https://docs.microsoft.com/en-us/windows/win32/seccrypto/example-c-program--creating-an-md-5-hash-from-file-content and...

0
Q: Simple human silhouette extraction

dogacI am working on a project that recognizes people from their gaits. I'm in the first steps of the project. First job is to extract people silhouette. input image: code: import cv2 import numpy as np import matplotlib.pyplot as plt img = cv2.imread('inputImage.jpg') _, img = cv2.threshold(img,...

 
9:23 AM
0
Q: Reviewing language design, with working interpreter and test case?

user11536834I'd like to get some feedback on a small tuple-rewriting language I've been playing with. It has a working interpreter, and a working test case. A little more background information: This idea began as an experimental "toy language," but as I worked on it, I realized it could be useful as a "rea...

 
9:35 AM
possible answer invalidation by Linu on question by Linu: codereview.stackexchange.com/posts/223948/revisions
 
@Mast Try sending that
In computer security, a billion laughs attack is a type of denial-of-service (DoS) attack which is aimed at parsers of XML documents.It is also referred to as an XML bomb or as an exponential entity expansion attack. == Details == The example attack consists of defining 10 entities, each defined as consisting of 10 of the previous entity, with the document consisting of a single instance of the largest entity, which expands to one billion copies of the first entity. In the most frequently cited example, the first entity is the string "lol", hence the name "billion laughs". The amount of computer...
@CaptainObvious To what degree is it working code?
 
@MathiasEttinger Good catch, I don't consider it working code.
 
This question would also rather fit on CodeReview. — nada 37 secs ago
 
The question asks for a silhouette. It has much more than that, to the point it's not a silhouette. Hence it doesn't provide the requested output.
@MathiasEttinger My XML is insufficient to format such to an URL the site would take I think.
 
9:57 AM
@Mast from urllib.parse import quote_plus ;)
can't paste the full url with billion laugh, message is too long
 
10:20 AM
possible answer invalidation by Linu on question by Linu: codereview.stackexchange.com/posts/223948/revisions
 
10:35 AM
possible answer invalidation by Linu on question by Linu: codereview.stackexchange.com/posts/223948/revisions
 
11:06 AM
1
Q: Custom hook to handles async calls with loading and error state?

cbdev420I have built this hook to handle async calls. It should manage state for the loading and error status. It should also not accept other calls while loading === true. It should also works with synchronous functions without issues. Note that I used useCallback because I don't want doAction to c...

0
Q: Primes number generator

L. F.I wrote a simple prime number generator in C++17. The function generate_primes(max) generates all prime numbers up to max. I aimed for maximum portability. Here's the code: #include <cstdint> #include <iostream> #include <set> #include <range/v3/view/iota.hpp> namespace view = ranges::view; ...

 
11:26 AM
0
Q: Simple Console Maze Game Improvement and Feedback

AliTeoI am fairly new to c++ and programmed a maze game as an exercise. However looking at it I can see it can be improved a lot. These are my requests if you don't mind: I do not want to use the library 'conio.h' Respectively, I want to use another method instead of system("CLS") This code is old, I...

0
Q: Producer-consumer problem with priority

LiukaMy teacher gave us this problem and I want to know if my solution is correct and if it can be imporved. Hope you can help me! This is the problem: you have a producer (or a set of producers, but I don't think it's relevant) and two sets of consumers: normal and priority. The ones with priority m...

 
possible answer invalidation by Arjun Ashok on question by Arjun Ashok: codereview.stackexchange.com/posts/223864/revisions
I think you should ask you question here: codereview.stackexchange.comNewskooler 22 secs ago
 
11:54 AM
Posting this here for posterity:
This user has been robo-reviewing on-and-off since at least April '18, but I never had the proof. Now we have admission of guilt, although ignorance is claimed. I'm not sure how to respond to this.
At least admission of gaming the badges system.
 
for the record @Mast every suspension (not ban) comes with a message.
bans usually also come with a message, but that message usually is something along the lines of "go away and never come back, you're not welcome here"
 
@Vogel612 Right, it was probably a suspension instead of a ban.
@Vogel612 For troll/spam accounts that's just about the message I'd expect.
 
0
Q: Calculate mean and standard error of a generator in python

Erel Segal-HaleviThe goal of the following code is to calculate the mean and the standard error of vectors of randomly-generated numbers. I am looking for feedback both on the correctness of the calculation, and on its efficiency. import numpy as np def mean_and_stderr(num_of_iterations:int, generator) -> (fl...

 
spam accounts usually just get destroyed
 
Even better.
 
12:06 PM
they're not going to be responsive to criticism if their first posts are blatant spam for <insert product here>
 
Yea, those are probably bots anyway.
@Feeds I'm assuming one of the mods is going to respond to this one way or another?
 
12:26 PM
0
Q: How do I wrap up all my dataframe filter in a def function

MikkoI have written codes that will filter a streaming data once they are imported and unzipped. The codes work, but look quite messy and unprofessional. Someone will inherit them in the future. I want to be able to make them clean by wrapping everything up in one or different def functions. I have no...

0
Q: Simple Number to Words using a Single Loop String Triplets in VBA

Mohsen AlyafeiAs an update (coversion) to my article “Simple Number to Words using a Single Loop String Triplets in JavaScript” in JavaScript, I have converted the code to work as a VBA function using the same method of "Single Loop String Triplets". The explanation of how it works is detailed in the above re...

 
12:46 PM
0
Q: Bishop game - python

EML A bishop can capture any other bishop if it lies along the same diagonal line, so long as no other bishop is in its path. Given a list of coordinates of the bishops locations, and a board size, determine how many bishops are unsafe. This code has a time complexity of O(N*K) where N is t...

 
1:06 PM
0
Q: Simple Kivy App for Bootstrap Algorithm

Arief AnbiyaI have a very simlpe app built using Kivy, for performing bootstrap algorithm (statistics). We must input some samples in the form x1,x2,...,xn (these will be received as a string "x1,...,xn" but then will be transformed into a list of the samples. From these samples, we will perform the bootstra...

 
 
1 hour later…
2:26 PM
0
Q: Reverse the word order in string, without reversing the words

JarrydI was tasked with using C++ to turn this: "Hello Jarryd, do you like socks?" into: "socks? like you do Jarryd, Hello"; Here's what I came up with, knocked up in Visual Studio using the TestExplorer to run it. Criticism is much appreciated! int SentenceFlip::FlipSentenceInPlace(char in_Senten...

0
Q: Password maker in c#

Thomas AyoubI need to generate semi-complex throw-able password (just one use) on my application. I want it to be: at least 8 char long; contains at least 1 digit, 1 [a-z] char, 1 [A-Z] char; I generate a few passwords a day, I don't mind about speed. I'm more looking for suggestions about code being mai...

 
@Mast The silhouette question is on hold.
@CaptainObvious Pseudo code.
 
@pacmaninbw Thank you. Apparently I forgot to VTC...
 
2:43 PM
@Mast Is senility setting in? :)
 
@pacmaninbw You wouldn't believe how often I'm looking for my keys.
5
Or my wallet, sunglasses, etc.
 
0
Q: How to make React code that uses refs varaibles with the useRef hook more readable?

cbdev420I recently decided to use refs (with the useRef hook) whenever I got some variable that doesn't define view and doesn't need to trigger a re-render when changed. But my code is now full of .current everywhere. See this piece of code: if (mode_Ref.current === 'SEARCH') { category_Ref.current ...

 
@Mast Yes I would, since I don't need my glasses for reading or computer work I make sure to leave them in one specific place when I take the off, otherwise I can search for half an hour when I do need them. My wallet and my keys are always in the pockets of the pants I am wearing for the same reason.
 
Greetings, Programs.
 
When I moved I had to find a new place to keep my glasses and I'm still getting used to it a month later.
 
2:52 PM
@pacmaninbw Yea, I moved last weekend so I totally get what you're getting at.
@Donald.McLean Greetings, Stargazer.
 
3:07 PM
Ahoy, campers!
It's FRIDAY!!!!!
 
Monking
 
@Mast magic upvote for yer first comment
 
@SᴀᴍOnᴇᴌᴀ Aren't you on this site 7 days a week?
 
Kaz
@skiwi Skiwi!
How many tabs are you up to these days?
 
@Kaz Are you going to open that can of worms again?
LOL
 
3:21 PM
@pacmaninbw I check in on some reviews on the weekends sometimes... otherwise just M-F while waiting for tasks to run at work
 
Kaz
@pacmaninbw I haven't opened it in a couple of years, I'm curious ^^
 
@Kaz Hey @Kaz that's been a while!
Over the last years I've read that they made Firefox more robust against many tabs
5
 
@Kaz He's back!
 
Kaz
@skiwi Little bit :)
 
3:32 PM
@Kaz You'll never guess what a friend asked me to play again two weeks ago
I think it's been two weeks since the incident
 
Kaz
Work keep giving me more responsibilities. I barely even get to code these days, let alone anything else.
@Mast Hey!
 
@skiwi Still at it?
 
@Mast Yes
 
@Kaz As long as you aren't getting fed up with it.
 
Kaz
@Mast They still don't pay me anywhere near enough, but otherwise I absolutely bloody love it.
 
3:36 PM
@Kaz Trust me, that's worth a lot.
 
Kaz
We just finished our first acquisition. That was an intense 7 months of my life. And they just put me in charge of the project that the company is going to be executing for the next year.
 
@Mast @Kaz So very true.
 
Kaz
So yeah, not going anywhere.
 
@Kaz Sounds exciting!
 
Kaz
@skiwi Crazy, more like. But that's the way I like it :)
How about you guys, how've the last couple of years been treating you?
 
3:40 PM
Has it been.. years?
Close to having worked 2.5 years now :o
 
@Kaz Could have been more work, had to sell my place because I was out of money.
 
 
Kaz
@skiwi I've probably dropped in occasionally, but my last answer was Feb '17
And my last question was Oct '17
So probably a while ^^
 
hmmm wow that's long
 
Kaz
@skiwi I'd forgotten that game was still around :)
 
3:43 PM
Holy carp, my last question is from Augustus 2018 and my last answer from July 2016
4
Time flies fast when you're having fun you have a job
4
 
0
Q: Loading in two CSV files and storing them in two separate arrays

JimmyNeedlesAs the title says, I'm loading (or at least trying to) two CSV files and store them in two separate arrays. What I have so far worked, but it isn't the most elegant, no efficient solution. The end goal is to read in two CSV files and run comparisons on them both - that's why the separating them...

 
@skiwi lol
 
Kaz
@skiwi Yep. I've been at my company 5 years now, it all just feels like a blur.
 
@Kaz Did your username change have anything to do with reducing the amount of time you spend on CR?
 
Kaz
@pacmaninbw I don't think so. From memory, it was more or less on a whim.
@pacmaninbw I think it was mostly that I used to do actual programming on occasion, so I could vaguely justify hanging out in here during work hours, and then I got more senior and my responsibilities shifted (and my workload got a lot heavier) and I couldn't really anymore.
 
4:03 PM
@Kaz I've worked for myself for the past 10 years, prior to that I spent 15 years purely coding and then found myself programming less and less and documenting a whole lot more. Now I want to get back into coding because it was what I enjoyed the most.
 
I feel like I'm more bug-fixing than coding these days
 
4:16 PM
Your code works but the performance is just not good enough for their benchmark. Open-ending questions about improving performance are not appropriate for Stack Overflow. Try Code ReviewMichael 58 secs ago
 
0
Q: Creating custom objects with custom properties using generics

DelfinoI have two base classes: City and Building: public class City { public string Name { get; set; } public double Area { get; set; } } public class Building { public string Name { get; set; } public double Area { get; set; } public int Stories { get; set; } } With two classes...

-1
Q: Optimizing a for loop in R

Martand ShardulI have written the following code bit which incorporates nested for loop. Will appreciate help in optimizing the code for faster execution. myDF<-data.frame(schoolName=character(0),className=character(0),myDate=character(0),myTime=character(0),absentCount=double(0)) for ( i in 1: nrow(tData)) { ...

 
0
Q: Can I avoid htmlspecialchars with header?

ColeIn my website, when a user makes a post, the PHP header function kicks them back out to their home page. If I wanted to use the following line of code... $username = users['username']; header('Location: home.php?user='.$username.''); would this be open to some kind of user attack? When I use...

 
4:56 PM
@CaptainObvious A substantial edit was made by Kittoes0124. Is it still off-topic? I find this an edge case.
Interesting to see my flag got declined on the initial answer.
 
@dfhwze The moderator may have been aware that it was being edited. I checked Kittoes0124 other answers and was surprised by it being only a code dump.
 
@pacmaninbw Well he made a good edit, so I retracted my down-vote.
 
0
Q: almostIncreasingSequence CodeSignal

Miguel BarraI have this issue. 35/38 sample tests passed. Execution time limit exceeded on test 36: Program exceeded the execution time limit. Make sure that it completes execution in a few seconds for any possible input. public class MyClass { /** * @param args the command line arguments */...

 
5:16 PM
@Mast This hurts
 
@dfhwze it got declined after the edit was applied :)
 
@Vogel612 Ah well, a concurrency issue then :p
 
yeap :)
 
5:32 PM
@Kaz I think it had something to do with PPCG, they made anagrams of their names.
 
5:45 PM
-1
Q: Sample application for a test

Renan SouzaI've been asked to develop a sample application for a test, it's been a few weeks and I was approved on that, but would like to get some input on that, if possible! Door Lock Door Lock is a demo application to simulate openning doors via web. The demo can be accessed here: Door Lock The app...

 
This has been implemented very often already. An example is codereview.stackexchange.com/questions/24361/… (in Java) but there are also codereview.stackexchange.com/questions/221678/… (C++) and codereview.stackexchange.com/search?q=prime+python Python implementations — Thomas Weller 56 secs ago
 
6:44 PM
@pacmaninbw Breaking your own code in an edit, I don't understand this.
 
If the code is working, but you want someone to check it for you anyway, post it on codereview.stackexchange.comAndreas 25 secs ago
 
0
Q: Implementation of enumerate

Maxwell's DaemonI'm trying to implement the enumerate built-in using iterators. So far it works but for unordered objects, such as sets or dictionaries, I'm not sure if this implementation is considered valid, although it works. class myEnumerate: def __init__(self, iterable): self.iterable = list(i...

 
This is more of a question for Code ReviewGet Off My Lawn 48 secs ago
 
7:01 PM
Stack Exchange has a sister site for optimization questions: codereview.stackexchange.com as it stands now your question is innapropriate for Stack Overflow (since it IS working) and will likely be closed. Give this question a shot on Code Review! — Hoog 5 secs ago
 
7:25 PM
0
Q: Is there a better way to join these three tables in mysql?

enharmonicI'm interested in a way to join three (or more) tables in a way that is more efficient (both in terms of conciseness of code and in terms of generating the results) than what I have currently. Underlying tables: table n +------+----+------+ | name | id | code | +------+----+------+ | foo | 1...

0
Q: Bin Numbers from stdin

user836514I often like to get a feel for a text file containing a lot of numbers quickly by making a histogram. One can do this in plotting software like Gnuplot, but sometimes having something in the terminal is nice (or can even make plotting later easier). To this end, I wrote a program that reads numb...

 
 
2 hours later…
9:25 PM
0
Q: Program to manage animal data and store them in text files [Java]

Ammir BarakatI made this program as a baby step to creating an animal shelter management system that will be used in a real life animal shelter. The goal is to move from text files to an online database, and from console interface to a GUI. Two things I'm yet to learn. I set out with the goal of creating a C...

 
Kaz
9:40 PM
@Mast You may be right :)
 
10:05 PM
0
Q: Counting co-occurence of a file encoded in UTF-8

AeneanI need to write a script that can counts co-occurence of a file encoded in UTF-8. The length of the co-ocurence is between 2 to n tokens. The frequence of the co-occurence can be from 1 to n. import sys,res texte=open(sys.argv[1],'r',encoding="utf-8") sortie=open("res.txt",'w',enco...

 
@dfhwze That's why I no longer provide code dumps as answers.
 
10:25 PM
0
Q: Find articulation points/ cut vertices in graph

justanothertechdudecould I get some feedback on my completed code that finds and displays the articulation vertices in an undirected graph. I included a test case within the code, it should (and does) print c as the only articulation vertex. Also I would like to clarify my understanding on some things, 1- This ...

 
11:02 PM
If the code works and you just want improvement suggestions, it should be on Code Review instead. Note though, they'll require you to provide a main to show how it runs. — Carcigenicate 40 secs ago
 
11:45 PM
0
Q: React Component call (history.replace() , history,push()) - Racecondition?

GutelaunetypI have an application where it is possible to add products. Those products will be shown in a summary page, which looks like this: What is the problem ? The products on the summary page should be checked by default. That's what should be achieved, but it does not work in every case. Basicall...

 

« first day (2260 days earlier)      last day (1750 days later) »