12:16 AM

1 hour later…
1:35 AM
0

I wrote a script that gives the user a quick arithmetic quiz and results using a tkinter window. I am very new to programming and this is also my first time using Tkinter as well. import random, tkinter as tk from tkinter import Button, Frame, Label, Entry, Tk as initializeRoot class TkWindows...

2 hours later…
3:18 AM
If the code works, this is a question for codereview.stackexchange.com Please also read its relevant help center pages like 'What topics can I ask about here?' and 'How do I ask a good question?' — Michael Butscher 55 secs ago

4:14 AM
1

I recently encountered the Four Divisors problem on LeetCode and managed to achieve a 100% beat rate with my solution. I'd like to share it with you all and gather feedback on its effectiveness and potential optimizations. Here's the Python code I used: class Solution: def sumFourDivisors(se...

6 hours later…
10:11 AM
possible answer invalidation by Toby Speight on question by Alexa yuki: codereview.stackexchange.com/posts/164897/revisions
possible answer invalidation by Toby Speight on question by Alexa yuki: codereview.stackexchange.com/posts/164897/revisions
possible answer invalidation by Toby Speight on question by Alexa yuki: codereview.stackexchange.com/posts/164897/revisions
possible answer invalidation by Toby Speight on question by Alexa yuki: codereview.stackexchange.com/posts/164897/revisions

10:55 AM
Monking

3 hours later…
2:04 PM
0

In my program I want to either read from a file or stdin depending on the arguments, I did this function to collect input: use { io::{Read, stdin, Error as IoError} }; fn collect_inputs(args: &Args) -> Result<Vec<Box<dyn Read>>, IoError> { Ok(match args.files { // args.files is a Option<Vec<...

2:56 PM
@Duga Code markdown was being used for something that's not code.

3:14 PM
consider posting it on codereview. — Thingamabobs 25 secs ago

3:35 PM
0

I just carefully studied the observer pattern. And I wrote a demo snippet to better undertand it. I am not so sure that if it's the right way to define IObservable& m_observable; in the pure abstract class. Here is the demo code written in C++. #include<list> #include<algorithm> #include<iostream>...

4:06 PM
If you're asking how to improve working code, then perhaps this is perhaps better posted on the Stack Exchange Code Review site, but before doing this, you will also want to read the Code-Review help site, especially its How to Ask link. — Hovercraft Full Of Eels 25 secs ago

4:43 PM
1

I'm seeking a code review for the ~2000 lines of code. Makefile and tests are available at https://github.com/torrentg/logdb. I would appreciate feedback on the following aspects: Overall code structure and organization. Error handling and robustness. Efficiency and performance optimizations. Co...

5:36 PM
possible answer invalidation by toolic on question by Gerard Torrent: codereview.stackexchange.com/posts/291660/revisions

3 hours later…
8:25 PM
@Duga Code Fence

8:52 PM
0

I'm studying java and exploring android Studio. I'm trying to save new string and add it to the list and then< i want this list to show me my saved strings after restarting the app. Unfortunately, it isn't working. Could someone explain me my faults and upgrade the code&??? package com.example.ca...

2 hours later…
10:42 PM
This forum is ran by the community, it is not a code review service, nor a customer support service for frameworks or langauges. And nobody is going to give you their email. StackOverflow does everything transparent and open to the public so that everyone can read the solutions and benefit from the knowledge transfer (even those not having SO accounts). Remember to post the code as text, not as imagesTheNomad 5 secs ago

1 hour later…
11:46 PM
@Ahmed: Your question is probably better served on codereview.stackexchange.comBill Lynch 10 secs ago