« first day (2925 days earlier)      last day (1077 days later) » 

12:02 AM
RELOAD! There are 7549 unanswered questions (89.4596% answered)
@TannerDolby The problem is the OP might see the text "There is a Code Review on StackExchange" and think it is a place to review all code, including broken code. It happens all too often unfortunately. If I had a filtered view of those off-topic posts (including posts where an OP was referred to from SO) I would link it here... — Sᴀᴍ Onᴇᴌᴀ just now
 
 
3 hours later…
3:33 AM
0
Q: Is it possible to get my code looked at? Any suggestions or tips are welcome

SpectreofSoundIs it possible for a review of my code? I made a Portfolio Project and my Contact Me button doesn't work properly. I'm not sure if the code is written correctly. For lines 62-65, 144-278 <a href="#my-portfolio" class="button">My Portfolio</a> <br> <a href="#contact-me"...

 
 
1 hour later…
5:42 AM
0
Q: A simple attention based text prediction model from scratch using pytorch

EkaI have created a simple self attention based text prediction model using pytorch. The attention formula used for creating attention layer is, I want to validate whether the whole code is implemented correctly, particularly my custom implementation of Attention layer. The whole code import torch...

 
5:53 AM
Monking
 
A) don't paste a link to external code. B) this is not a code review site. You can look at code review stack exchange — JHBonarius 43 secs ago
 
6:08 AM
That is not a proper question for this site, if you want to have your code reviewed there is a special site for that, codereview.stackexchange.comJoakim Danielson 47 secs ago
 
6:22 AM
possible answer invalidation by C-- on question by C--: codereview.stackexchange.com/posts/260206/revisions
 
7:16 AM
maybe you could ask on similar portal CodeReviewfuras 1 min ago
 
7:45 AM
Monking
 
0
Q: How can i perform a transformer autoencoder with adding the decoder part in the vision transformer

JorcylinkThe encoder part of the Vision Transformer import tensorflow as tf class Transformer(tf.keras.Model): def __init__(self, dim, depth, heads, mlp_dim): super().__init__() layers = [] for _ in range(depth): layers.extend([ Residual(PreNorm(dim...

 
You could probably explain the actual problem in greater detail. The posted code is not the best way to do it, but I see nothing obvious functionally wrong. If you are looking for code review, see codereview.stackexchange.comJonasH 12 secs ago
 
@CaptainObvious @Mast since you know ML, do you know if the question is CNIONWAI?
@Duga Handled by Mast
 
8:02 AM
@Peilonrayz I would never review it for lack of context, but I'm not sure it's bad enough for closure.
It's a very, very minimal post.
 
Ok, but is the code broken?
 
Left a comment.
It's possibly a feature request, but there's so little text in the question that I don't know. It's not my area of expertise.
I know you need a lot more code before that is going to do anything remotely useful, but it seems to be a theme that many people strip-out the loading/executing parts of their ML.
 
I was thinking so. No problem I know you're far better at ML than I am, and I was getting fishy vibes. So wanted to check
 
No problem.
For comparison, this is also an autoencoder in Keras.
 
0
Q: Use Request with Fileupload in Controller

Spedo De La RossaI wrote a fileupload function for my application. Basically the application is a web based folder structure, which has files included. I don't know, but I am not happy with it. Is it too long? Can I do some parts easier? Is the logging ok? So many questions... The FileModel is inerhiting from Par...

 
8:22 AM
possible answer invalidation by simonalexander2005 on question by simonalexander2005: codereview.stackexchange.com/posts/260339/revisions
 
 
2 hours later…
10:03 AM
BTW, if you're interested in BF, you might want to check out this code-review Q&A: Brainfreeze: A Brainfuck compiler in C. BF is about as easy to compile (or JIT) as it is to interpret, especially for a machine like x86 with memory-destination increment. — Peter Cordes 51 secs ago
 
@Duga Fine
 
10:47 AM
possible answer invalidation by Luk on question by Luk: codereview.stackexchange.com/posts/260422/revisions
 
0
Q: Python 3 IRCbot (library)

Puneet GopinathJust want you guys to review my python 3 IRC bot code, it is actually a fork of https://github.com/Orderchaos/LinuxAcademy-IRC-Bot You can see the source code at github I also have questions: I really can't find out how to change the ident for the bot, can I change the ident? Can I change the id...

 
@Duga Looks like it, got my hands a bit full at the moment. Anyone take a look at that?
 
possible answer invalidation by Luk on question by Luk: codereview.stackexchange.com/posts/260422/revisions
 
11:57 AM
15
Q: How does the network card determine the cable length?

U. WindlI have an older Gigabyte Technology GA-MA770T-UD3P motherboard with an on-board network card described like this: Model: "Gigabyte Onboard Ethernet" Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd." Device: pci 0x8168 "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller" SubVendor: pci 0...

 
@Duga rolled back
 
0
Q: Thin C++ wrapper for sqlite3 C library

arcomberI originally wrote a rough C++ wrapper of the sqlite3 c library which did not use prepared statements. This code is my attempt at using prepared statements. I have attempted to make the wrapper as generic as possible so can be used in a wide range of applications. How easy to use do you think t...

0
Q: Docstring generator in Google type

Daro1234451Hello everyone! In this task I had to create docstring generator. I'm just wondering how you see this problem, I have to "take data" from the dictionary {'Args': None, 'Returns': None, 'Raises': None, 'Attributes': None, 'Summary': None, 'Description': None} and then generate docstring in the co...

 
12:20 PM
Thanks Remy. I don't remember how I started using the code but it DOES work, for me... As part of a code review I checked the Microsoft documentation and was surprised to find it shouldn't be working. — user15857407 44 secs ago
 
12:33 PM
Greetings, Programs.
 
Greeting, User
 
1:29 PM
Consider posting this on Code Review instead (be sure to check their help/on-toppic page first, though) — Pac0 30 secs ago
Hello Pac0 thanks for your comment. About map I need a little bit more practice to work with. I like to post on CodeReview later with a little bit more code. — Hank Gordon 39 secs ago
 
2:18 PM
0
Q: Handling the first value for a variable, with Redux and the Backend service. Angular, Redux

Gonzalo A.I'm feeling this code is messy and also repeats between all components that needs to handle backend data. Any comment is appreciated. //the stored version localVersion = undefined; //injecting the redux service and the backend service(in case there is no version defined in reduxService) construc...

0
Q: What do you think about this read only table design, regarding performance?

paladinWhat do you think about this read only table design, regarding performance? package jsql Main.java package jsql; public class Main { public static void main(String[] args) { Record head = new Record("given name", "family name", "street", "postal code", "city"); Record jimmy =...

 
2:44 PM
0
Q: How can I optimise a foreach calling an API? The code calls an API and returns the first string reponse

solryuI have the following code that makes a call to an external API, processes the response and returns a string. The problem is it is taking a very long time to process. I can't do anything to the API, but I was just wondering if there is a better way of doing the rest of the code. foreach(var item i...

0
Q: Game Renderer Abstraction - is this too high-level?

Ethan McTagueI'm working on a game engine as a fun project over the summer. I've decided that to allow myself to explore rendering APIs I'm unfamiliar with, and force myself to write reusable code, I'd separate my renderer from the main project as a library - or multiple libraries - and attempt to support mul...

 
How confident are you in the responses that will be coming in? The 200-299 range is considered "successful responses", so if you don't have control over the response status, you could do if(response.status < 300) or something like that. Also, as this is code that is working that you just want additional eyes on, you may consider posting to codereview.stackexchange.com . Good luck, and happy coding! — Alexander Nied 14 secs ago
 
Monking - Happy Friday!
 
3:22 PM
Friday! YAY!
2
 
3:35 PM
0
Q: splitString function effitienty c++

And9686I've made a splitString() function which recieves a character and a string and returns a vector<string> containing all the string splitted by a character in the input string: vector<string> splitString(string input, char separator) { size_t pos; vector<string> text; while (!input.em...

 
@CaptainObvious Quite possibly belongs on software engineering or gamedev.
I didn't VTC yet.
 
3:55 PM
Monking
 
 
2 hours later…
5:44 PM
0
Q: What is the most best way to write a bubble sort in java?

Roshan LamichhaneSo I have recently written a bubble sort in java and was wondering if the code is correct and if there was any way to make it even more efficient. Here is my code: void bubbleSort(int array[], int num){ if(num == 1) return; for(int i = 0; i < num - 1; i++){ ...

 
6:36 PM
1
Q: Cleaning Repetitive Code in Java

Grewal_CreatorIm writing this simple program for school and using NumberFormat on all the variables seems very repetitive(Note that we were asked to use the NumberFormat method). Is there any way to clean this code so it doesn't look so cluttered? import java.util.Scanner; import java.text.NumberFormat; publi...

0
Q: Algorithm for finding a fractional palindrome not working as expected

William GolovlevGuidelines: I am not allowed to use any external library classes except for "cin" and "cout". I must follow the odd syntactic conventions, such as naming and programmer classes. Finally, it must be able to run on older IDEs for whatever reason, similar to first rule of not using any new/advanced ...

 
7:01 PM
0
Q: bash / awk workflow operating on multi-column files

Hot JAMSI am working on the improvement of the bash-awk workflow designed for the analysis of data in multiple-colums format. The script uses AWK code (which extract numbers from selected columns of the input.csv as well as does some basic stat calculations) integrated into bash script (which operates wi...

 
7:19 PM
I’m voting to close this question because it belongs in codereview.stackexchange.commatt 38 secs ago
Please visit help center, take tour to see what and How to Ask. This question possibly belongs at codereview — mplungjan 41 secs ago
 
8:18 PM
@matt the second function doesn't work which would make the post off-topic for CR. Please use a reason like Needs more focus, primarily opinion-based, etc to close a question instead. Please see Does being on-topic at another Stack Exchange site automatically make a question off-topic for Stack Overflow?Sᴀᴍ Onᴇᴌᴀ 39 secs ago
 
8:44 PM
0
Q: Linear Regression in Haskell

Robert LongAfter quite some time away from Haskell I am trying to brush up. To do so I am writing some basic linear regression functionality. The code produces the output expected. In essence I am trying to duplicate the functionality of R's lm() function using matrix algebra in Haskell. I appreciate that t...

 
8:54 PM
thank you for seeing what my eyes did not. I also appreciate the code review! — JoeNahmias 56 secs ago
 
9:10 PM
0
Q: TypeORM EventSubscriber unit testing

ostojanI've been playing with TypeORM and I wanted to create proper tests for my EventSubscriber. I also wanted those test to be independent from database connection. I believe I managed to achieve my goal. Here is my code: UserSubscriber.ts: @EventSubscriber() export class UserSubscriber implements Ent...

 
9:53 PM
 
0
Q: Safe runtime numeric casts

DmitryThe rationale behind this code is to implement a runtime-safe number conversions in situations when precision loss is possible, but is not expected. Example: passing a size_t value from a 64bit code to a library (filesystem, database, etc.) which uses 32bit type for size, assuming you will never ...

 
10:21 PM
Wording it like homework without showing what you've tried will probably lead to closure. You didn't even state that you were after for different approaches (which is opinion based) and didn't even bother showing your solution! You can also have a look at Code Review SE. — Reti43 31 secs ago
 
11:09 PM
not really a question for stack overflow, more suited to code review. Have you tried profiling your code? docs.python.org/3/library/profile.htmlel_oso 21 secs ago
Check Code Review on-topic. In general, Stack Overflow deals with error repair; Code Review deals with improvements. — Prune 57 secs ago
 

« first day (2925 days earlier)      last day (1077 days later) »