« first day (3005 days earlier)      last day (995 days later) » 

12:03 AM
REFRESH! There are 7722 unanswered questions (89.3617 answered)
 
12:49 AM
0
Q: 4x4 double precision matrix multiply using AVX intrinsics (inc. benchmarks)

jkoskelaBenchmark An optimised 4x4 double precision matrix multiply using intel AVX intrinsics. Two different variations. Gist For quick benchmark (with a compatible system) copy paste the command below. Runs tests on clang and gcc on optimisation levels 0 -> 3. Runs a naive matrix multiplication NORMAL ...

 
1:01 AM
possible answer invalidation by user on question by sudoi: codereview.stackexchange.com/posts/264380/revisions
 
1:14 AM
0
Q: implementing SOLID principles and oop

Solar Confinementim reading clean code, and practicing SOLID principles, can someone help me to improve this code, suggestions are welcome: <?php require_once ('database.class.php'); class EncryptPassword{ public function encrypt(string $password){ $encrypted_password = sha1($password); ...

 
 
2 hours later…
2:56 AM
possible answer invalidation by Eliaz Bobadilla on question by Eliaz Bobadilla: codereview.stackexchange.com/posts/264384/revisions
possible answer invalidation by Eliaz Bobadilla on question by Eliaz Bobadilla: codereview.stackexchange.com/posts/264384/revisions
 
 
2 hours later…
5:04 AM
That would be the Code Review Stack Exchange. SO is for bugs, not general enhancements. — AKX 58 secs ago
 
 
1 hour later…
6:21 AM
possible answer invalidation by Shreeyash Shrestha on question by Shreeyash Shrestha: codereview.stackexchange.com/posts/264369/revisions
possible answer invalidation by Shreeyash Shrestha on question by Shreeyash Shrestha: codereview.stackexchange.com/posts/264369/revisions
 
0
Q: Java OOP Calculator (no GUI)

Martin Franki have created an object orientated Calculator without GUI. i have provided only the most important parts of the code. I want to add another review question for those parts (especially: MathResult and Operands) Interface Calculator public interface Calculator { MathResult<?> calculate(String ...

 
6:56 AM
0
Q: Unable to get required output in Backdoor and Listener with Remote Code Execution functionality

Kush GuptaI am trying to code a Backdoor and for it, a Listener that can be used to remotely execute commands on a Compromised Machine. But I am unable to get the code right in Python 3. There are 2 codes in the entire setup, the first one is the Listener code on the Listener's machine while the second one...

 
7:42 AM
Please consider posting a question about working code on Code Review. — Weather Vane 38 secs ago
Hi .. As you mentioned "it will never work on more then 99 fils. It will count only first 2 number of fils." .... Please refer this... It is more flexible function for any currency. Also please add your suggestions in answer(s) there... — Naresh 36 secs ago
 
 
2 hours later…
9:47 AM
1
Q: An implementation of the PIMPL idiom

Slaven GlumacI would like to ask you to verify the following implementation of the PIMPL idiom. In this dummy implementation the stream is read into a string. X.h #ifndef X_H #define X_H #include <memory> #include <istream> namespace mynamespace { class X { class XImplementation; std...

 
10:11 AM
1
Q: Fizzbuzz in C lang

BlincerThis is the first time I have recoded in C for several years and I would like to know how clean my code is. #include <stdio.h> #include <string.h> #define EXIT_SUCCESS 0 void fizzbuzz(int n) { char result[9] = ""; // strlen("fizzbuzz") + 1 == 9 if (n % 3 == 0) strcat(result, "fizz"); ...

 
10:21 AM
possible answer invalidation by jkoskela on question by jkoskela: codereview.stackexchange.com/posts/264397/revisions
 
10:36 AM
0
Q: Python case insensitive dictionary

Xeнεi ΞэnвϵςThis is a Python case insensitive dictionary that is ordered and has integer indexes for the keys and values. I just wrote it today. It is ordered because I am using Python 3.9.6 and plain dict is already ordered by default. It prevents case insensitive duplicate keys from entering the dictionary...

 
11:08 AM
Monking
 
Monking
 
11:25 AM
Hi, this is off-topic for Stackoverflow, it's more suited to CodeReviewJeremy Thille 13 secs ago
@JeremyThille The question is a very bad fit for Code Review. There is no code in the question, and the user hasn't asked for a review of a project. — Peilonrayz 35 secs ago
 
11:41 AM
It is better to use codereview.stackexchange.com as this stack exchange is specifically for optimizing and improving code. Stack overflow is more used to fix programming related issues not optimization. — James Barnett 17 secs ago
 
12:08 PM
I got an interesting e-mail, although as I'm not that much of a regular these days I thought I would post it here and see if anyone of you might be more interested.
Hi Simon,

I'm Cian, a Math student from Ireland currently partaking in Patch.

An idea we thought about pursuing is a platform for code reviews. Naturally, I happened upon CR.SE!

Originally, this left us feeling like what we were building was a simple duplication, and therefore not that useful. However, after reading Code Review is getting boring and Can
 reviewing be made more efficient we're not so sure.

So I guess I have two main questions for you as a moderator and active member of the CR.SE community.
(Links have been omitted, but this is the Patch they are talking about)
If anyone is interested, I can forward the mail to you.
 
@SimonForsberg Interesting, I'm guessing Patch is like Google Summer of Code. So Cian needs to write a little project. I'll have a more in-depth look later.
 
12:26 PM
possible answer invalidation by Slaven Glumac on question by Slaven Glumac: codereview.stackexchange.com/posts/264407/revisions
 
@Duga I think is AI. However rev1 is potentially off-topic... :/ We can rollback to rev1, close the question, rollback to rev2 and then reopen the question leaving us where we are now. Bit messy
 
possible answer invalidation by Slaven Glumac on question by Slaven Glumac: codereview.stackexchange.com/posts/264407/revisions
 
 
1 hour later…
1:51 PM
possible answer invalidation by 1201ProgramAlarm on question by Slaven Glumac: codereview.stackexchange.com/posts/264407/revisions
 
-2
Q: What's wrong with the code?

Anthony FinkGood day! The task is the following: GetSameParity implement a function that takes as input an array of numbers and returns a new, consisting of elements that have the same parity as that of the first element of the input array. const getSameParity = (array) => { const newArr = [] if (array.lengt...

 
possible answer invalidation by 1201ProgramAlarm on question by Slaven Glumac: codereview.stackexchange.com/posts/264407/revisions
 
2:22 PM
0
Q: Filtering string by given keywords

ProtractorNewbieIm currently working on a filtering keywords. I have two lists which I called positive and negative. Scenarios: if POSITIVE matches and NOT NEGATIVEmatches = True if POSITIVE matches and NEGATIVEmatches = False if NOT POSITIVE(Then no need to check NEGATIVE) = False. I have done something like ...

 
why do you assume this needs to be improved? also: for code review, there is a different site — Stultuske 34 secs ago
 
Piper Lawson on July 26, 2021
Here’s a detailed look into how we designed Collectives, starting from the initial ideation to all the decisions and considerations that led to what it is today.
 
2:45 PM
Monking
 
@Duga Rolled back to original version to correct AI by OP and another editor.
 
3:23 PM
@pacmaninbw The code is broken now right?
 
3:37 PM
@Peilonrayz Possible.
 
3:51 PM
@pacmaninbw It still looks like example code, and I've VTCed on that basis.
 
Monking
 
 
1 hour later…
5:09 PM
There may be a better way than what you are doing. If you show what you have so far, odds are good we can make suggestions, but that's not really the point of Stack Overflow. If you have code that word but you believe it could work better, you should ask at Code Review. I strongly recommend reading through their help pages on asking questions first so you can formulate a question that will be well-received. If your code doesn't work, that's what we do here. Show it and we'll help fix it. — user4581301 22 secs ago
 
6:09 PM
0
Q: Failing some test Case

Sameer Mohdtwo students are sitting beside him each having one string. Lets say student1 has string s and student2 has string t.Both strings are made up of just two signs − and + and they are wondering whether string t can be obtained from string s by using an operation zero or more times. tt = int(input())...

 
6:35 PM
0
Q: Simple interface for collecting issues after a list of validations

Ivan Petrushenkoclass RadarChecker: def __init__(self, radar: Radar) -> None: self._radar = radar self._issues = set() @property def issues(self) -> Set[str]: return self._issues @property def _checkers(self) -> Iterable[Callable]: return ( self._...

 
6:48 PM
Decided to setup some 'professional' audio equipment. And for some reason the key selling point "USB" gives me hissing and crackling sounds... D;
 
7:01 PM
@Peilonrayz You sure there's no animal in side?
 
@skiwi No, not sure. If there is, do you think a treated make the animal play ball?
 
@Peilonrayz I prefer top line or almost top line consumer audio. I do need to figure out how to add a Raspberry Pi for streaming.
 
I've been considering hooking up a Raspberry to my TV for audio and multimedia streaming for, oh, years now.
The newer ones seem to have in-built support for booting from USB so you're not relying on iffy SD hardware.
Bad experiences with SD and micro SD cards are one of the reasons I'm not using my Raspberries enough, I'm working on fixing the other reasons. Apparently I haven't fixed enough of them yet...
 
7:23 PM
@pacmaninbw Just looked up the difference. I probably got consumer audio. What kinda streaming are you looking at?
Oh, after reading Mast's message I'm assuming like Plex/Chromcast. Never done anything like that on Linux ):
 
7:50 PM
0
Q: Minesweeper in haskell

saxoI have recently been learning Haskell, and wrote a minesweeper project as an exercise. Here is link to the project. Basically the code is separated into two parts, the pure part (no monads) and impure part (deals with random and IO). Since I'm pretty new, I'm a little iffy about the whole setup. ...

 
 
1 hour later…
8:55 PM
@Peilonrayz That's a good question
 
@Peilonrayz Want me to forward you the mail?
I'm sure Cian will be happy with whatever answer he gets.
 
@SimonForsberg You can do. My email is peilonrayz at gmail dot com
 
@Peilonrayz sent
 
Nice, received fine too :)
 
@JérômeRichard - my old code for Visual Studio | Windows can be seen in this question. — rcgldr 9 secs ago
 
9:06 PM
0
Q: Custom C++ wxWidget Ranged Slider

ChipsAhoyI wanted to make a bounded slider since the ranged slider wxwidgets includes isnt very useful for my use cases. I got a good head start from a person who made a library in Python and ended up creating my own version in C++. I would appreciate any feedback on how I can improve my code or any error...

 
9:57 PM
0
Q: First non-repeating Character

ZingersI recently tried to solve the first non-repeating character problem. Please tell me if my solution is valid. I'm aiming for O(n) with a single loop. My thinking is, it would be easy to tell you what the last non repeated character is, just: loop each char if map[char] doesn't exist outpu...

0
Q: R: Calculate a weighted average of several grid points

WojI have a data frame that looks like this: Teff logg M_div_H U B V R I J H K L Lprime M 1: 2000 4.00 -0.1 -13.443 -11.390 -7.895 -4.464 -1.831 1.666 3.511 2.701 4.345 4.765 5.680 2: 2000 4.50 -0.1 -13.402 -11.416 -7.896 -4.454 -1.794 1....

 
 
1 hour later…
11:12 PM
@Peilonrayz @Mast and I are considering the same thing. I'm thinking about getting rid of cable and just streaming movies using NetFlix or HBOMAX. $10 a month versus $115 a month.
Problem is my download speed is only about 30M.
 
@pacmaninbw I think Netflix allows you to download content for a period of time. So you can download and then 'stream' the content. May want a bit of a chunky SD card however :) Or get the rpi4 which has an m2 slot
 
I have 2 RPI4s. I'm actually planing on downloading to an external HD with 8TB and connecting that using USB.
 
Ah, I see you're way ahead of me :)
 
Does your audio equipment connect to the net?
 
No, I got a mixer and a mic. How come?
 
11:31 PM
possible answer invalidation by sudoi on question by sudoi: codereview.stackexchange.com/posts/264380/revisions
 
The back of my Sony AZ3100ES looks like an 8 port switch. Link is too long to post.
Found a shorter link
 
possible answer invalidation by sudoi on question by sudoi: codereview.stackexchange.com/posts/264380/revisions
 
@Duga Rolled back and edited.
Definite AI
 
11:53 PM
@pacmaninbw Thank you. 100% AI here
 

« first day (3005 days earlier)      last day (995 days later) »