« first day (3013 days earlier)      last day (120 days later) » 

12:01 AM
Questions about code that is working but you are seeking to improve can be asked at codereview.stackexchange.comPaulw11 52 secs ago
REFRESH! There are 7729 unanswered questions (89.3648 answered)
 
 
2 hours later…
2:32 AM
0
Q: Stack Implementation in JavaScript

Jordan BaronI am learning data structures and below is my implementation of a stack in JavaScript. I didn't want to use built in functions for an array because in JavaScript that would be too easy, so I made my own. class Stack { constructor(data=null) { this.items = [data] this.length = 0 } ...

 
 
2 hours later…
4:11 AM
Monking
 
5:00 AM
Monking
 
5:24 AM
0
Q: Creating bins from 3D points (large dataset) with python for faster processing

nikita0509I am trying to make a 3D plot of a galaxy catalog and have a large amount of x,y,z coordinates and data value (w4) stored in seperate hdf5 files, all of a total size of 5.5 GB (500 MB x 11 files). I am running the code with python2 using cluster on a university server. Since the data content is h...

 
 
2 hours later…
7:03 AM
0
Q: F# simple monoalphabetic cipher code implementation

TimeTravelPenguinI am a new F# programmer, and a student in a security class. As part of my notes, I wrote a small implementation of a monoalphabetic cipher as follows: open System let random = Random() let defaultCharMap() = ['a' .. 'z'] @ ['A' .. 'Z'] @ ['0' .. '9'] let randomCharMap() = let map = defa...

 
7:51 AM
possible answer invalidation by drakonof on question by drakonof: codereview.stackexchange.com/posts/264211/revisions
possible answer invalidation by drakonof on question by drakonof: codereview.stackexchange.com/posts/264211/revisions
 
8:12 AM
"Please suggest if there is a better way to achieve it." codereview.stackexchange.com might be more appropriate. — Jarod42 52 secs ago
 
0
Q: too many if statements when handling forms and scattered classes?

H NASSERELi have a website that has multiple forms, after the user submits one of those forms, it goes to a handler page that has all the handling stuff for all forms,either it enters the form data to the database, or sends it to a class that gets elements from the database and displays it dynamically, and...

 
8:45 AM
@Duga Rolled back
 
 
2 hours later…
10:46 AM
0
Q: Cardinal to ordinal numbers in F# code reuse

JansthcirlUI've been experimenting with the F# Bolero environment to learn F# a bit and I was trying to get the hang of pattern matching by generating ordinal numbers (1st, 2nd, 3rd, ...) from cardinal numbers (1, 2, 3, ...). Here's the code I came up with: let ordinal n = if n > 20 then match n...

 
this question has a better place in : codereview.stackexchange.com if in case it gets downvoted by the community here — Samridh Tuladhar 41 secs ago
If you have working code that you think could be improved, see Code Review, but note that the code must be in the question not just an off-site link. — jonrsharpe 5 secs ago
 
11:35 AM
-1
Q: Potential threat? Twitter media downloader extension on chrome and MS EDGE

HelpmeandthanksI used TWITTER MEDIA DOWNLOADER on chrome and MS edge for quite a while. Its a extension that enables to download all media on a specific twitter account. Enables download with button in the targeted account web page. { "update_url": "https://clients2.google.com/service/update2/crx", "manifest_v...

 
11:47 AM
I'd like to say guarante using UI Thread in onAddField() is important rather then call onAddField() in UI Thread. Because onAddField have responsibility to add view and update text by itself. onAddField should be able invoked everywherer. If this is real my work as code reviewer, I will comment like this. — user3811067 25 secs ago
 
12:24 PM
0
Q: Sudoku Solver: "guess and test" method via looping into recursion

PazuSo I'm trying to code a sudoku solver. We will look at the following example as it does require some "guess and test" method (I know there is much contested opinion over this): sudoku_rows = ['100920000', '524010000', '000000070', '050008102', '000000000', '402700090', '060000000', '000030945', '...

 
12:49 PM
0
Q: Manifest.json twitter media downloader

HelpmeandthanksHow can i match the conditiom when i want to review the code of some other program ?(as a person who does not know coding... but want advice from experts here for..threats..) my last question was forced close, however i did get the full code of the manifest.json of twitter media downloader for no...

 
1:27 PM
Oh my, I just got another yearling badge. How the time flies.
 
1:53 PM
This seems like a heavy lift for std::transform. Anyway, if you have working code and you're wondering how it could be improved, that's a question for code review. But please do take a look at the how to ask, because in particular you will need to post the code instead of an extremely brief high-level summary of the code. — Nathan Pierson 27 secs ago
 
0
Q: Word wrap with file input & ouput

Kushagr JaiswalAs this is a very basic word wrap program, it has at least the following 3 limitations :- The file should have a terminating newline. The column number at which the lines are to be wrapped must be greater than or equal to the length of the longest word. Tabs (\t) should not have been used in the...

 
2:53 PM
1
Q: C# screen recording

Jirka PicekI'm developing a screen recording as an application log. The recording should capture a full HD screen at 25fps and on request it should save last 60 seconds of record. It is for embedded app, but the app is built for 32 bit and during development the recording app threw OutOfMemory exception dur...

0
Q: Efficiency of finding one database record using two ID's

RDAxRoadkillI'm using C#, .NET Core and the entity framework and am currently working on optimizing various functions for better performance. One of the main functions is getting a calculation based on two indexes; a product and machine. The records in this database table is currently at 500 rows but can go ...

 
3:17 PM
@pacmaninbw Congratulations.
 
3:28 PM
Monking
 
possible answer invalidation by Kushagr Jaiswal on question by Kushagr Jaiswal: codereview.stackexchange.com/posts/265661/revisions
possible answer invalidation by Kushagr Jaiswal on question by Kushagr Jaiswal: codereview.stackexchange.com/posts/265661/revisions
 
3:54 PM
Monknkg
 
Monking
 
4:12 PM
@Duga Not great, but technically no AI. I'll keep an eye out.
 
4:29 PM
This code is not ready for it yet, but the Code Review sister site is the better place to go for "Is it good? Can it be better?" reviews of working code. Strong emphasis on working code. Bugs are dealt with here. — user4581301 28 secs ago
 
4:56 PM
0
Q: Implementation of Multidimensional numerical integration in C++ and R

CafféSospesoI'm trying to perform a 4-dimensional numerical integration in R using a function I wrote in C++ code which is then sourced in R using the Rcpp package. Below there is my code: // [[Rcpp::depends(RcppEigen)]] // [[Rcpp::depends(RcppNumerical)]] #define EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS #i...

 
5:20 PM
I’m voting to close this question because questions about code reviews should be posted on Code Review. Make sure you check their help centre and A guide to Code Review for Stack Overflow usersVLAZ 48 secs ago
 
 
2 hours later…
7:47 PM
If this is working code you should probably post it in code review instead. here's whyGunther just now
This seems more like a Code Review question rather than a concrete programming problem. — Alejandro 59 secs ago
 
8:27 PM
@patrickjp93 being respectful is not asaking questions that take up others time. A lot of us spend time here to help people with complicated problems, as a last resort. If you are just looking for a code review, it would be respectful of you to actually google and see that these questions are suited for codereview.stackexchange.com voted to close — Toerktumlare 24 secs ago
 
8:38 PM
0
Q: Simple Inverted Index made in python

Pi HackSo I made an inverted index following a tutorial online and was wondering if I can improve it by implementing one or more algorithms or reduce code or maybe make the processing files faster. I am using .txt files as data which there is not a lot of files but if the there is then this inverted ind...

0
Q: Simple Blackjack Game C++

MaxI have just pushed my second version of my black-jack game - please let me know how to improve it I am relatively new to programming. Here is the GitHub: https://github.com/sharoika/CasinoGames main.cpp cout << "--------------------------------------------------------------------------------" << ...

 
9:14 PM
For improvements of working code ("what can I improve on?"), post to CodeReview.StackExchange. — Prune 24 secs ago
 
 
1 hour later…
10:17 PM
0
Q: Makefile to compile an OS which also uses functions/macros

rajdakinSo I've started writing an OS to know how they work, and I came up with the following makefile to compile it. The reason I used a makefile is because I wanted to see everything it was doing and have full control over it, to be as explicit as possible. Hence, please don't tell me about CMake (I do...

 
By the way, this was detected as spam... Any idea why? (I saw here that the length is the problem, but I don't really know why. Also, removing the makefile fixed the issue... Maybe someone should report this to meta? (Me maybe?)) — rajdakin 22 mins ago
🤔
maybe it was just the repeated keywords
 
 
2 hours later…
11:56 PM
0
Q: Why my java threading code fail?

BarcelonaI am new to threading and I am a junior developer, this is poorly written Java code, intended to implement a thread-safe collection to store Member objects and failing at doing so. import javax.annotation.concurrent.ThreadSafe; import java.io.Closeable; import java.io.File; import java.io.FileWr...

 

« first day (3013 days earlier)      last day (120 days later) »