This question could be suitable for Code Review, as long as (a) your code works as intended, (b) your code is real code, rather than example code, and (c) your code is included in the body of the question. If you wish for a peer review to improve all aspects of your code, please post it on Code Review. — Mike McCaughan42 secs ago
GitHub Repository.
This library generates code to sent REST API requests by wrapping HttpClient and lets you operate at a higher level of abstraction. It only assumes one thing: request and response bodies are JSON.
Usage
Create a public interface and decorate it with SiteAttribute:
[Site("ht...
it seems that something loads into memory - yup. 7000 combobox items. ...and if you have 7000 items in your combobox, you seriously need to consider other options. A search box, perhaps. — Mat's Mug1 min ago
For a while I have a Stack Exchange chat bot that does many things, one of the things is to post messages like this
\[[**retailcoder/Rubberduck**](https://github.com/retailcoder/Rubberduck)\] 19 commits. 745 additions. 451 deletions.
Which is shown in chat as:
[retailcoder/Rubberduck] 19 co...
@Mat'sMug you know, I happen to know someone who could help that guy. I know someone who regularly has 7000 things open. and by things i mean tabs. and by someone I mean skiwi.
So I'm making a 2d shoot'em up game as a way of learning canvas, and larger-scale programming than what I'm accustomed to. I'm a purely front-end web dev, I can't say I'm very experienced in this.
Anyway the way I spawn my enemies is like this : at xyz gameTime, a spawner object is pushed into t...
you should really post this at codereview.stackechange.com, but just some quick thoughts: use logical variable names, use functions for the heavy lifting, and use less 'while' loops that will always evaluate to true and then breaking out of them — n1c9just now
OK, I understand, thank you. I just posted it on Code Review. — John M.11 secs ago
I'm voting to close this question as off-topic and it may be better suited for Code Review SE! — Am_I_Helpful1 min ago
I was told that this question was more suitable for Code Review rather than where it was originally posted, Stack Overflow.
I'm working through a "create a calculator" newbie type tutorial in ionic framework and angularjs. The calculator works fine if the user follows the rules. If they click a ...
This is the third post in our series of regular (roughly weekly) updates on the Documentation Beta. See also the previous post in the series. Yes, it’s been three weeks since the last update, but at Stack Overflow all numbers less than 6 are basically 0.
The big news is that we've got a lot num...
Unrelated to code:
I have only been programming for three weeks and this is my first project.
About code:
1- Uses preset grid.
2- It was all done on a single page , this I realise was a mistake and I have fixed that since.
3- I used an int array for the grid , I did first think maybe a Bool...
I need to calculate some dates like yesterday, this week/month, last three/ten days etc.
To make it a little bit easier and don't think about the Date weirdness all the time I created this heleper:
var HumanDate = function() {
var date = new Date();
this.day = function(numOfDays) {
i...
I'm trying to design an application that binds a phrase or word to some item, for example image, and saves phrase-item pair in the database. Then it receives a text, and if it contains binded substring, corresponding item should be returned.
It should return only one item (first match), and phra...
I wanted to use the Try helper from @DmitryNogin's General Retry Strategy #2 but each attempt to implement it revealed another thing that is missing.
In my review I mentioned that it would be useful to be able to log the exceptions but later I came to the conclusion that perhaps it would be bett...
I'm working through a "create a calculator" newbie type tutorial in ionic framework and angularjs. The calculator works fine if the user follows the rules. If they click a number then click an operator then click another number then click the equals sign everything works fine. If they click two e...
@Malachi an MSDN article about the const keyword is nothing but an article showing how to use the const keyword. if you're looking for naming conventions, refer to the MSDN article about naming conventions.
sounds like it should be a more specific question asking something like how do I validate user input? or how do I avoid crashing when user plays smartypants?
Do you really format your code like that? Every statement on one line? That's totally unreadable, and I would neither trust, nor want to code review, code written like that. Please clean up your question, and make sure it adheres to the guidelines set up How to Ask. — yshavit45 secs ago
I've made a simple one page site to practise Bootstrap. Could you please look at HTML & CSS and check for possible improvements? Thanks in advance.
Here's a page.
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href...
I wrote a little Compose function, which takes a variable number of arguments of type function and then calls each of those in order, passing in the value of the previously called function.
My function works just like I want it to, however since the function provides a way to program functionall...
this is my first attempt at PHP PDO, I needed to get data from two tables in my MySQL database, I'm pleased to say the code below works, I was just wondering if anyone could confirm please if what I've done I've done in the correct way, any feedback is most appreciated, thank you very much
<?php...
I just skipped this first post in the review queue. It looks like a good enough answer, if it's true. A second look from someone with recent HTML experience couldn't hurt.
I want to convert a code in c # equivalent java, I tested several alternatives using javax.crypto.Cipher, but did not reach the expected results.
Please, any suggestions
C # code to convert is as follows:
using (Aes cip = Aes.Create())
{
cip.Mode = CipherMode.CBC;
cip.Padding = PaddingM...
I have this little convenience method that takes an String array and returns an String where the values are separated by a provided separator (comma, pipe, etc).
For instance, if given an array with values "abc", "def" and "ghi", and a for separator we passed " | ", the end result would be "abc...
Would it be possible to create a web application where users can buy or sell tickers that I create for my exchange? Just like when you buy a stock on the stock market. An order is created based on the ticker you want to buy or sell. I want to create my own options exchange with my own tickers. I ...
I am trying to get to grips with native JavaScript and wean myself off jQuery so as an exercise I wrote the following to check or uncheck checkboxes depending on which link is clicked, my question is could this have been written more concisely and does it follow what you would consider to be best...
You're on Stack Overflow and you've found a question that seems to be about improving code. You are trying to be helpful, and you put a comment in the question:
You should try asking on CodeReview.SE instead. —YourName 2 minutes ago
… and suddenly, out of nowhere CodeReview.SE users swoop i...