« first day (788 days earlier)      last day (3274 days later) » 

5:00 PM
@Donald.McLean no more stars.... :'(
@Malachi RSA
@Duga The whitespace is strong with this one.
@Jamal How can I make this code more compact Well, all that whitespace certainly doesn't help.
I'm voting to close this question as off-topic because this is asking for a code review of working code, it belongs on codereview.stackexchange.com. — Jarrod Roberson 59 secs ago
Leave the title behind, though.
5:11 PM
Q: Circular Queue program

tcheggeHow can I make this code more compact by replacing the lines marked inelegant with a more lengthier understandable code? /************************************************************* *CircularQueue.java *Dean & Dean * *This class implements a queue with a circular array. ******************...

Question has been cross posted --> codereview.stackexchange.com/q/95474/18427Malachi 58 secs ago
Hi @bluefeet!
@CaptainObvious Ick, where's your indentation?
Hi, mods.
@Jamal hi
it's my winter weight.
5:17 PM
@Shog9 it's summer shouldn't you be shedding that by now
@QPaysTaxes I can't relate - weather.com/weather/tenday/l/85016:4:US
I have a question related to code review
@CodeX what's up?
When i post my code for review can i post it with external links?
I read somewhere it was ok
5:20 PM
Yes, as additional context. But the code under review must be embedded in the post
Wtf is that..
That's a no-ifs-no-buts rule
In celcius.
5:22 PM
So as long as the code to be reviewed is in the post you can link to maybe the full project at git hub?
Thanks, i didnt know that was allowed
@QPaysTaxes I always emitted my links lol
@Duga Reminds me that when writing Latin/Greek translations on tests/exams we almost had to leave one blank line in between, for all the comments
@Mast 41 degrees here, yippie! (Not)
Q: Global Modal User Alerts in ASP.NET from masterpage

DDullaI'm working to implement global alerts by which they reside on the master page, and can be called from both content pages as well as user controls. I'm having an issue with the latter. The goal is to be able to call an alert from any page and have the masterpage UI display the alert regardless of...

About to start work on finishing up the router replacement from yesterday. No impact expected. Of course that’s what I said yesterday ...
5:29 PM
@QPaysTaxes STV is up this month, looking forward to the first entries.
A: How much idle chatter do we tolerate in The 2nd Monitor?

RubberDuckHow much idle chatter do we tolerate in the 2nd Monitor? Nearly all of it. Unless there is site business or a programming discussion occurring. Then there is absolutely no idle chatter is tolerated. None. Anything not relevant to the conversation needs to go unsaid, or be said elsewhere. Is t...

I'm going to get a haircut & hot shave....
@RubberDuck You got hair?
@QPaysTaxes yes
They only see what's flagged when they review/handle them
Q: Bash script to replace substrings in a file with other substrings needs simplification

Duncan G. BrittonI am an editor of the Funtoo Linux wiki and was looking to create a shell script that would help to ease the updating of pages on the wiki that use old tags by replacing certain deprecated tags with their newer counterparts. For example, I am interested in replacing every occurrence of <tt> with ...

Q: Project Euler #2 in Go

hacatuI just learned Go (yesterday in fact) and today I made this solution to Project Euler #2. The problem is to sum the even Fibonacci numbers. My program uses the matrix representation of the linear relation between consecutive Fibonacci numbers to calculate the coefficients for an equation. This...

5:55 PM
CommitStrip - Blog relating the daily life of web agencies developers
An ounce of cure is worth a pound of prevention
@RubberDuck ducky got hairy code? Hehe...
heh, i love the internet. You leave for 5-6months, and when you return its just as you left it, same Ol' faces
true, true, but there is still a code monkey and a mug in prominent place at the front door :P
@apieceoffruit and me without any stars
oh hey Malachi, i didnt see you there
I am lurking
6:06 PM
damn vr revolution is taking all of my gosh darn time.
always a ping away though
@Seub The use of a layout and setGeometry is exclusive: you can do either one, but never both at the same time. Your code is broken and you must fix it first. "I should create my own layout class inheriting QLayout, but that sounds like a lot of work." The very reason that you've posted this question is that you're making life very hard for yourself already. What you've done so far is a bad hack and I'd never pass it in a code review. It will not work properly, it's not meant to, and you're breaking all sorts of invariants by doing things that way. — Kuba Ober 8 secs ago
only got routed back here cus someone had a unity question
...on reviewing their code
@Mat'sMug I was told that Mods will look at the entire comment string and not to flag each one, especially on a chatty thread
@apieceoffruit Is it something you are actively working on?
6:08 PM
@QPaysTaxes see my last message to the Mug
in The Nth Monitor, 2 mins ago, by skiwi
A: How much idle chatter do we tolerate in The 2nd Monitor?

skiwiI'd say that the following could be an non-exhaustive list about what's on-topic and off-topic for the CR chat, which also includes the idle chatter we should tolerate and which we should not tolerate. The good things Being in the room as a new user to ask a question about CodeReview, or to di...

@skiwi, yup. have an oculus DK1, DK2, a tonne of peripherals. etc. We recently had a winner in the Gear VR game jam and i am heading to england for a Vive game jam in a week
Q: Is this question off-topic because of being a possible homework assignment?

JS1For this question: Circular Queue program one of the answers noted that the code in the question appears to be copy/pasted from this homework assignment: http://pastebin.com/QnvHtTr0 Should the question therefore be closed as off-topic?

@apieceoffruit That sounds awesome
I've always been interested in VR, but haven't had the chance to professionally develop with it yet
it is pretty cool. brings about a tonne of interesting new technical challenged. I spend a lot of my time will all that stuff, in fact i even do a VR podcast each week. its exausting
I'm still trying out if and how I can get into game development
6:15 PM
@skiwi start writing games!
@StackExchange Closed as not his code, possibly?
@bazola But whateve rI think about, it gets too big :P
We can't tell, the other is posted as a guest.
@skiwi write the idea on a piece of paper, code a prototype, iterate!
this was our entry:


and yeah, just do it! i hung out on the unity3d subreddit, the oculus subreddit. chatted to some people, made some contacts and thats that
6:16 PM
@RubberDuck Got the name validation done.
you meet people, get a team going and before you know it you are having a beer with staff from oculus and valve
Will write tests and PR after lunch.
My biggest problem I've identified is that it is hard to keep motivation if you are doing a somewhat bigger project all by yourself
Hi, another question related to code review
If someone posts code does it matter where the code came from or what it is being used for?
Q: Reapplying sidebar to S1 Livejournal layout

AngelfirenzeIs there anything that could be added to my sidebar HTML that would allow it to be visible in an already implemented S1 Livejournal layout, i.e. the 'leave this alone if you don't know what you're doing' section? <IMG SRC="http://img.photobucket.com/albums/v204/Angelfirenze/Not%20My%20Banners/75...

6:19 PM
I usually manage to complete all the difficult parts and then I lose motivation to do the simple parts
Hi, another question related to code review
If someone posts code does it matter where the code came from or what it is being used for?
Ok, so how do we determine that?
Do we question it?
Is code included directly in my question? (See Make sure you include your code in your question below.)
Am I an owner or maintainer of the code?
Is it actual code from a project rather than pseudo-code or example code?
Do I want the code to be good code? (i.e. not code-golfing, obfuscation, or similar)
To the best of my knowledge, does the code work as intended?
Do I want feedback about any or all facets of the code?
Those are questions the user should ask before they post
My question was.. If someone posts code does it matter where the code came from or what it is being used for?
This Connection is Untrusted

You have asked Firefox to connect securely to meta.codereview.stackexchange.com, but we can't confirm that your connection is secure.
55 mins ago, by Stack Exchange
About to start work on finishing up the router replacement from yesterday. No impact expected. Of course that’s what I said yesterday ...
Guys... ?
6:25 PM
@CodeX It has to be code written or maintained by the OP.
Yes i know but do we question that?
As someone answering a question on code review
We just review the code right?
Answers shouldn't have meta info like that. If someone suspects a question is off-topic, then they shouldn't answer it.
@CodeX Only if the user says something. Often there's no way to tell, or enforce that rule.
So what if someone thinks the code is part of someones homework? do we not help them?
This guy got slaughtered unfairly i might add
Q: Circular Queue program

tcheggeHow can I make this code more compact by replacing the lines marked inelegant with a more lengthier understandable code? /************************************************************* *CircularQueue.java *Dean & Dean * *This class implements a queue with a circular array. ******************...

He posted some code and asked a simple question
it looks like it is copied from someone else's homework and not his.
6:29 PM
Downvoted continuously
THat is not your concern
You are not his teacher
This stuff is what makes this site bad for new users
THats specualtion
"it looks like it is copied from someone else's homework and not his."
@Malachi VTCd
All code looks like that lol
the site was posted where he got it from and it was originally posted 4 years ago
CodeX I downvoted him
I doubt it is his code
6:30 PM
You are not his personal carer
@JS1 As did I
This is a code review site, review the code or don't do anything
please compare @CodeX --> pastebin.com/QnvHtTr0
No far from a troll
Well I asked in meta about it so you can weigh in there
6:31 PM
@CodeX Ban that troll, I'm out of here.
I want to clear it up in the appropriate room
straying off-topic here guys
Its fully on topic
@QPaysTaxes stop
6:33 PM
Im saying we should take the code on face value
If you feel the code is not on topic don't post anything on it
@CodeX it is an exact copy of the code from that pastebin
And what does that prove?
I am waiting for an answer before I VTC
is this your code? did you write it? — Malachi 19 mins ago
Why ask him?
These are all relevant to code review
Im not new
I'm discussing the appropriate way to review someone's code, I don't think questioning them because you think it isn't their code is appropriate
It can turn new users away
@Mat'sMug I've always got hairy code somewhere.
6:36 PM
Q: java - Stack and queue confusion

heathbmWhat is the difference between these two ways of dealing with stacks and queues? What are the both called? First way: import java.util.Arrays; public class StackMethods { private int top; int size; int[] stack ; public StackMethods(int arraySize){ size=arraySize; ...

Q: Is my code semantic and separated well?

ChrisBelow is my jQuery scriptfile, all the functionality works (except for the click events on IE). I bring this before you guys to ensure I am effectively separating concerns and writing efficient scripts. Without further ado.. ( function( $ ) { $( document ).ready(function() { setTimeout(t...

Its code to be reviewed.. On a code review website
@Jamal @rolfl @200_success Could you weigh in on the debate here?
Questioning whether it is his own personal code on a hunch is not a rule
@Hosch250 Calling in mods to help you, you should leave this room..
@Hosch250 It's already on Meta so it can stay there.
6:38 PM
@CodeX if you take a look at our meta site, we have questions pertaining to questions like these. please peruse Meta a little bit. you as well @QPaysTaxes. take a break from chat
@Jamal That's what @QPaysTaxes is saying.
And @Malachi.
Is that what i said? can you quote me..
@CodeX It's probably better if you take some things for granted, there is no point in discussing every single thing
@skiwi I asked a simple question, it couldn't be answered so the insults came thick and fast.. same ol really
@CodeX There haven't been any insults
6:42 PM
It was a general observation about Code Review i wanted to clean up
The "kick-the-trolls" wasnt aimed at me then?
"You're saying that we shouldn't care about it" - QPaysTaxes I didn't say that
@QPaysTaxes as a normal user you have the luxury to ignore users that misbehave
I'm giving the excessive flagger a break for a bit.
Add to this happily mixing signed and unsigned and different types (ssize_t, size_t, etc). This is getting more like a code review. — Olaf 1 min ago
make use ofthat..
Come to the room @QPaysTaxes have your say
6:44 PM
it even comes in two variants
A: Is this question off-topic because of being a copy/paste of another homework assignment?

Hosch250Homework questions are not off topic in and of themselves. However, when reviewing homework assignments, there are certain guidelines to be followed - mainly, not giving the solution directly. Given the clarification, questions with code not written or maintained by the asker are off topic, and...

This discussion room for code review is pointless then..
one for temporary post hiding and one for general muting across rooms
OK, that's my answer to the meta question.
I come here to discuss your telling me to go to meta
LOL make up your mind
I was asking for clarification
6:46 PM
As for everyone else: please keep it down. Discuss the question on Meta where it belongs. While extended discussion is okay here, all the bickering isn't needed.
"bickering".. pfft heated discussion you mean
We aren't here to define the English language.
@QPaysTaxes stop feeding the troll
This room has no hope if it starts to get regular new users
If you wish to discuss the English language, I believe ELU.se and ELL.se have chat rooms for that.
6:48 PM
interesting that I can actually see which of my messages are being flagged
click -> ignore
@Vogel612 I think all 10k+ users can.
click on the name and select "ignore" from the popup
I don't ignore people because I'm more mature :)
6:49 PM
I guess this wasn't clear enough: Only flag a chat message as spam/offensive if it's spam or offensive and should be removed. This isn't the designated "get the troll" flag. If you believe someone should be dealt with, use a custom message and explain your reasoning. Or if there's already a mod around, ping one.
All of them.
I had @rolfl talk to me just yesterday.
Yes. If there are multiple comments and they should all be removed, you may flag the question itself.
@Hosch250 I was told that for the chatty flags, to only flag one and not all of them.
@Malachi what?
I'd say depends. if the whole thread can be nuked a single "other" on the parent post also helps
6:51 PM
Hi, everyone.
@rolfl I think it's more what @Jamal just said
hmm... we've got one excess mod here...
@Malachi if there are multiple comments that should be removed (too chatty, obsolete, whatever), then flag each comment. If that ends up being all the comments, then just flag the post.
@rolfl gotcha.
If you flag one comment, though, then please go through all the comments and make sure that all the necessary comments are flagged.
6:53 PM
@rolfl I won't have to worry about it much longer though :)
Thanks for all your help guys, if i deem the post off topic i won't post on it and i should not question the user who posts, is it yours? is it homework? etc
otherwise a mod has to go through and make sure that the right things are sorted, deleted, etc.
You can save the mod a chunk of time by doing the hard work for them
@CodeX No, we have these rules for legal and moral purposes, and we need everyone to uphold them.
@Hosch250 Did i say anything about rules?
@CodeX Right here, you said you just wouldn't interact with the off topic posts.
6:54 PM
I am going to take a break and actually do some work now....
I was encouraging you to help keep the site clean and healthy.
@Hosch250 Is that a rule?
@QPaysTaxes This past week, 362 flags have been raised, that's about 50 per day, mostly comment flags, at about 2 minutes per flag, that's 2 hours of mod time per day.
It is not a rule, but it helps keep the site healthy for everyone.
@Hosch250 Now your not making any sense
6:56 PM
@rolfl I've been raising 30+ per day.
I don't want to discourage people from raising flags.
@CodeX Here, I'll try to explain a little better.
I want people to clean things up, but, it helps the mods if you clean things sensibly.
It is off topic for people to post code that isn't their own.
It is our job as site members to enforce these rules.
@Hosch250 spare me the bullshit
@Hosch250 I know all that
6:57 PM
You don't have to, but it helps the site if you do.
@Hosch250 It is not our "job"
@Hosch250 I didnt say anything about rules
@Hosch250 Your being pedantic
@CodeX Here you did.
Show me..
3 mins ago, by CodeX
@Hosch250 Is that a rule?
@Hosch250 I said if it seemed off topic i wouldn't post on it
Thats my prerogative
6:59 PM
That is fine. However, you could flag it for moderator attention - you get badges for accurate flags and it does help keep the site clean.
Thats not why im here
Why are you here?
OK, that is fine.
Q: Suspended from chat without warning

skiwiAs I've been trying out something I have suggested in my own post at http://meta.codereview.stackexchange.com/a/5611/32231 I found myself suspended from the chat already. Yes, I did flag messages of a specific user a few times, I believe they were legit though, however is it normal to suspend wi...

@rolfl To try and answer questions, to help people, to learn
7:03 PM
@CodeX Then do that.... and figure out what works in the community, and what doesn't.
sigh. I guess we're still not done eh? I'll be in the VBA room if anybody's looking for me.
For the record, what happens in chat has nothing to do with changing the community, though. That happens on meta.
@rolfl Oh, don't worry, I'm working out exactly what is working and what isn't ;)
@QPaysTaxes I noticed that you click no action needed on a first post review, would you please take a look at rolf's answer HERE about the first post queue. thank you!
I assume you should have skipped it....
I could be wrong though.
I need a break from chat. Maybe even Stackexchange. I'm gonna leave for a couple of hours/days. If you need me in chat for any reason, ping me. I'll try to respond. Bye.
7:36 PM
Q: Parallel chunk uploading through Http requests

dmachopI am writing this class for parallel chunk level uploads to my local server. This reads the files under a given directory, uploads with n threads in parallel. Initially, sends a request and obtains a request id for unique identification. Then, proceeds to upload the chunks in parallel. One thread...

Q: Lookup map for converting Strings into Android `R.raw` integers

GiantTreeI'm currently working on an Android app and I need to translate keys of type String to Integers which are determined at compile time of R.raw. Right now I have found two ways of creating such a Map that holds all (needed) values of R.raw: private static final Map<String, Integer> map = Immutab...

7:48 PM
Hi and bye.
If the moderators here are causing drama and then refuse to improve this place and clean up their mess, for example by , then I see no reason to be here right now
Maybe we'll talk in better times
soo.. you'll be in TCG?
8:07 PM
It's the nature of the bicubic formula that it can overflow or underflow. You need to use clamping to keep the values within valid limits. See e.g. codereview.stackexchange.com/questions/6502/…Mark Ransom 16 secs ago
Finished upgrading our edge routers. That went SO much better today.
I almost made a bad joke then..
Does anyone here use Android Studio?
I don't.
Ok thanks
I've read you can use JDK8 but wondered if anyone else had any experience
8:29 PM
Q: Properly Structured Angular Application

Dave KayeI've been writing a somewhat complicated service that involves a lot of API function calls in Angular. After a somewhat tortured first attempt I have tried to take more of an MVC approach rewritten the Angular in the following ways. 1) All data, once it's retrieved from the API, is stored in a...

Questions regarding complexity should go in Computer Science, and requests for feedback should go in Code Review. As a quick answer for both, this is linear in complexity, and I would recommend rewriting it to be a function that returns a String rather than printing. — MattPutnam 58 secs ago
If this code is functional, it belongs to Code Review, not to SO. — Turing85 1 min ago
@user2286810 What do you mean "A better method than iterating to get the futures"? Do you have a specific section you are wanting to optimize? Also working code-review without a specific question is generally off-topic on stackoverflow. Checkout: codereview.stackexchange.comRootix 12 secs ago
8:49 PM
Q: Maintainability, readability, testability, security and architecture of MVC 4 web application

Erwin RooijakkersI am programming for about two years and I build a website using existing libraries and components and by asking questions on stackoverflow.com when I got stuck. I hope the project can be reviewed by others than myself. I am not sure if adding a whole project is something that can be done here, ...

@EthanBierlein Greetings.
@Donald.McLean Greetings
@rolfl Congrats on finally getting StackSTV accepted as the community challenge!
It was tied, @Mast broke the tie.
9:32 PM
Q: Translate this code in functional javascript (aggregate 2 array in a map)

nkintI've just read about reactive programming and I am enthusiast about it. So I decided to revise my skill on functional programming. I don't know if this is the right place (maybe stackoverflow is better). I have two array, one of tags and one of tasks that contains tags. I'd like to aggregate the...

Q: Reapplying sidebar to S1 Livejournal layout

AngelfirenzeIs there anything that could be added to my sidebar HTML that would allow it to be visible in an already implemented S1 Livejournal layout, i.e. the 'leave this alone if you don't know what you're doing' section? <IMG SRC="http://img.photobucket.com/albums/v204/Angelfirenze/Not%20My%20Banners/75...

A: How much idle chatter do we tolerate in The 2nd Monitor?

rolflThis seems to be about the right place to post a response to what happened in the chat room today, and in the past 6 weeks or so. Since various names have come up, and people have posted here too, I won't make it all anonymous, but will use concrete examples instead. I also want to stress that ...

9:56 PM
@Jamal I think that one should be completely deleted.
@QPaysTaxes It racked up quite some stars...
@QPaysTaxes Don't make it personal
^^what quill says
9 hours ago, by Quill
@Vogel612 I like them as people and they're becoming good answerers, so it's not like I want to sling mud and I don't think @rolfl does either.
I was trying to defuse, that's all
Hrmph keep going and we'll have some more drama
9:59 PM
that we all want to avoid, or at least almost all of us I'm sure

« first day (788 days earlier)      last day (3274 days later) »