« first day (745 days earlier)      last day (3263 days later) » 

12:00 AM
RELOAD!
There are 1379 unanswered questions
 
reload so this can get some more votes:
15
A: Setting multiple integers for "If" statement test value

nhgrifIf we just want to check whether or not button1value is even, we can do that using the modulo (%) operator: if button1value % 2 == 0 { // button1value is even groundspeed = 5.0 } If we're checking for some other sort of set, we can use a switch statement: switch button1value { cas...

 
done
 
wow 14 upvotes in 30 minutes lol — Leonardo Savio Dabus 1 hour ago
 
12:15 AM
 
May 7 at 14:35, by rolfl
traitor.....
 
1
Q: Simple Password Utility

James_ParsonsI am somewhat new to ruby (but not to programming) and I want to develop a small web-app with Sinatra. I started creating a small password utility script that hashes and secures entered password. I am not sure it is finished. I would like to know if there are any ruby tricks to make my code bette...

 
You're right. If Stack Overflow knew I were conspiring with the enemy, they'd hang me for treason.
4
 
Ok Thanks for the suggestion, I'll put this question on code review — gmoney12 1 min ago
 
I thought I was going to finish my current project before moving on to my new job. That's not going to happen. My boss said he knew that wasn't going to happen (I never even suggested it). Once he said it, so much stress relieved...
But this week has been and will continue to be busy.
We had two new employees today, plus the coworker who was training last week's new employee wasn't here today.
And tomorrow, the other guy who started learning iOS several weeks ago will be in sitting next to me...
To ask questions.
 
12:29 AM
Sounds busy alright
 
Hmm.
That word doesn't mean what you think it means.
 
Liquid Helium?
 
0 degrees Kelvin?
 
12:42 AM
 
Aug 19 '14 at 14:38, by rolfl
coooool ;-)
Star them. Star them all!
 
STARFEST
 
lol
2
 
Here, upvote this into oblivion.
0
A: Should there be evidence for a provided reason when a question is put on hold?

nhgrifNo, there should not be. A question can only be put on hold by three means: Five users with 3,000 reputation or more (500 on beta sites) have cast a close vote. A user with a gold badge in one of the question's tags has marked the quesiton as a duplicate. A site moderator has put the question ...

I'm going to start removing the 1 key from the keyboards of Swift programmers so they might stop abusing the ! operator... — nhgrif 6 secs ago
 
Done.
 
12:59 AM
Related but unrelated...
Should we remove "someone else's" from "explanation of someone else's code"?
We all agree that asking for an explanation of any code or its output, regardless of who wrote the code, is a fundamentally off-topic question for Code Review, correct?
5
 
YES
 
YES * 2^31-1
 
Nevermind...
3
A: Rewording close reason "Explanation of code"

rolflNo, that specific close reason is supposed to be directed at just the first sentence, with the rest of the close reason being an explanation or examples of common 'failure modes'. The first sentence is: 'Questions must involve real code that you own or maintain'. Explaining your own code is sti...

 
0
Q: Help with shortening this Haskell combinations snipped

darqueI was happy with my shell script that needed to generate alphanumeric combinations of length N (in this case, 3) for i in {a..z}{a..z}{a..z}; do ... Now I became less happy when I needed alphanumeric combinations (specially if I choose a larger value for N) for i in {0..9}{a..z}{a..z} \ ...

0
Q: DTMC implemented as a name/word/whatever generator in Ruby

QPaysTaxesI just wrote a basic DTMC algorithm focused on generating names, though it could be used to generate lots of other things. It's designed to be run from the command line, so input is taken from a file, with a couple of options specified on the command line. I'm specifically looking for three thi...

 
We are allowed 5 close reasons in this menu, right? If questions from people seeking explanations of their own code becomes a common problem, we could make it a 4th close reason? — nhgrif Aug 24 '14 at 12:16
 
1:06 AM
So, Haskell is agreeably sorcery. The ... at the end of this script... is it an actual Haskell operator, or filler for code that should be there?
for i in $(ghc -e "
  let c n l = if n == 0 then [[]] else \
    [y:s | y:q <- Data.List.tails l, s <- c (n-1) q] in
      sequence_. map putStrLn . c 3 $ ['a'..'z'] ++ ['0'..'9']"); do ...
@CaptainObvious ^^
 
> Remember, that the three standard off-topic close reasons are simply short-cuts to cover the most common cases. These off-topic reasons are not supposed to embody all the reasons questions can be off topic.
Custom close reason would have avoided all the headache.
 
Perhaps.
Actually... no.
I agree that a custom close reason would have been better.
But there's not actually anything in the help center that explicitly states that asking for an explanation of code if off-topic.
And this guy referenced that in the comments.
 
Ok, so be a normal person, post it on meta, and we change it.
 
Right.
 
Oh, migration from PPCG. Why am I suddenly not surprised.
2
 
1:10 AM
I honestly wouldn't have thought we really needed to be explicit about that one.
 
We should have used a custom close reason, and that's my bad for picking wrong first, and the rest of y'alls bad for being lemmings.
 
By time I got there, there were already 4... Wouldn't have shown it anyway.
But yeah. You're right there.
 
He should have taken it straight to the meta.
If you use a custom reason, it leaves a comment...
 
0
A: Should there be evidence for a provided reason when a question is put on hold?

Mat's MugAmong the dozen-or-so comments under your post there, I've counted 5 links to meta.codereview.stackexchange.com where you should have posted this meta-question. Asking on MSE isn't really helping the community understand that you want to cooperate here. Your question has been put on hold by user...

 
Oh. Yeah. I forgot about that part.
 
1:13 AM
@Mat'sMug if you're counting, I've cast 186 close votes.
Also, 23 reopen votes.
And... technically, he's right. The close reason we used doesn't apply at all, according to our own meta, @Mat'sMug meta.codereview.stackexchange.com/questions/2371/…
 
He's also purposely ignoring the "questions seeking explanation" part of that close reason... Notice he never once quoted that part of the close reason.
 
@nhgrif the accepted answer doesn't have my vote there
 
double upvotes on our answers
9
A: Should there be evidence for a provided reason when a question is put on hold?

nhgrifNo, there should not be. A question can only be put on hold by three means: Five users with 3,000 reputation or more (500 on beta sites) have cast a close vote. A user with a gold badge in one of the question's tags has marked the quesiton as a duplicate. A site moderator has put the question ...

Migrated.
 
this should have been the checkmark:
6
A: Rewording close reason "Explanation of code"

Simon André ForsbergThis one fits the best to me: Questions must involve real code that you own or maintain. Questions seeking an explanation of code are off-topic. Pseudocode, hypothetical code, or stub code should be replaced by a concrete example. It doesn't matter who's code it is. If it's your code then y...

 
6
A: Rewording close reason "Explanation of code"

Simon André ForsbergThis one fits the best to me: Questions must involve real code that you own or maintain. Questions seeking an explanation of code are off-topic. Pseudocode, hypothetical code, or stub code should be replaced by a concrete example. It doesn't matter who's code it is. If it's your code then y...

 
1:17 AM
6
A: Rewording close reason "Explanation of code"

Simon André ForsbergThis one fits the best to me: Questions must involve real code that you own or maintain. Questions seeking an explanation of code are off-topic. Pseudocode, hypothetical code, or stub code should be replaced by a concrete example. It doesn't matter who's code it is. If it's your code then y...

 
> "Young man pay heed, you listen well to what I say, now there comes a time for a man to walk away"
- Greg Graffin, Bad Religion
 
.... Never mind...
 
@Phrancis ruined it...
 
0
Q: Covering Array Sorter

RyanA covering array is a N x k array in which each element is a from a set of v symbols, and for every t columns, every possible set of v^t choices of the symbols appears at least once. The covering array number (CAN) is the smallest N for which a covering array exists, given k, v, and t. A list of ...

 
> the idea here is that CR questions are not for explaining what the code does. It's the OP's job to explain the reviewers what the code is doing, not the other way around.
^^ is this statement wrong then?
 
1:18 AM
No.
 
@rolfl you here?
 
Yeah, catching up/
Topday I have been ..... breaking things.
 
I don't think anyone is saying that asking for explanations is on-topic. @rolfl was simply saying that that's not what this close reason is for.
 
@nhgrif Bah, Humbug!
 
We were trying to have a meta-answer-fest.
 
1:19 AM
@rolfl Breaking things is where the fun is!
 
Give me .... 5 minutes and I will have an answer for that post.
BTW, it's now migrated to our meta site.
2
Q: Should there be evidence for a provided reason when a question is put on hold?

DaanIt is easy to say about code that it is written by someone else. It is fine if it is based on concrete facts by providing a link to that code of which they think that it is written by someone else. It is not fine if it is based on an idea. Here is an example: What is the fastest way to make sure...

 
@rolfl did I hear a penny drop?
;-)
 
I did not personally ask anyone to move it.
(checking status of other mods....).
 
I flagged it about an hour ago
 
I flagged it as well.
 
1:21 AM
@nhgrif good monkey
 
2
Q: Should there be evidence for a provided reason when a question is put on hold?

DaanIt is easy to say about code that it is written by someone else. It is fine if it is based on concrete facts by providing a link to that code of which they think that it is written by someone else. It is not fine if it is based on an idea. Here is an example: What is the fastest way to make sure...

 
well hello there @StackExchange!
 
Oh, there's that question we've all been talking about for 2 hours.
 
Lol
2
 
@StackExchange welcome to Meta.CR!
 
1:30 AM
 
I'm the only person who VTD Lance's answer. Perhaps I stand alone (and that's fine), but I doubt I'm the only person who feels it doesn't address the question very well at all
 
0
A: Should there be evidence for a provided reason when a question is put on hold?

rolflLook, here's the way this question breaks down, along with some of my opinions, and some feedback on the flags that were raised. Closed, or no First up, let's talk about the merits of the actual question. Let me paraphrase the question as follows: I have this code it works it runs slow the fi...

There we go.... go and find faults in that.
 
PS: this was moved to Code Review by someone else, but the question isn't "is this style fine" but "how could something like this be written in a more concise way" — darque 6 mins ago
Is this sounding like it's asking for golfing help? (considering it migrated from PPCG)
 
In a sense. That question was "run past" the CR mods before migrating.
It's off-topic on PPCG for sure.... and, it may be an opportunity to make good code regardless.
 
@nhgrif That was on my 19th birthday. :-)
 
1:41 AM
Alright, I'll just let the black magic Haskell people tend to it
 
^^ that. I'm not casting any kind of vote on that one.
 
FWIW, the reason they want it 'concise' is to fit in a script which requires a 1-line implementation... this is not a gaming question, it's a practical one.
also, it's open to alternative suggestions too.
 
Gotcha
 
The nice things about migrations is that I get to upvote answers twice ;-)
 
I think the desire to make it "more concise", while apparently legit, doesn't make it "good code"... it's confusing enough as it is, IMO
 
1:48 AM
my question comes down to whether or not there are better ways to to do this without excessive if/else if statements Then that is what you should ask about, specifically. Otherwise, see stackexchange's codereview. — Sotirios Delimanolis 42 secs ago
 
(removed)
 
that .... ^^^
 
^^^ (test)
So that is how you do it :D
 
^^^ uh-huh
 
uh-huh
 
Thank you.
 
:)
 
@EthanBierlein Awesome link!
 
Thank you. I bet it was glorious.
It was probably better than the trash I'm watching on TV right now.
 
2:28 AM
Don't watch trash on TV, it's bad for your brain
 
I don't watch it. It's background noise. I remember mentioning this last week.. hmm.
 
Oh yeah, you did
 
Oh well, if I'm watching trash, at least I'm not eating trash. I have a small plate of celery by me. It's delicious.
 
Celery is totally underrated
3
At least if it's fresh and crisp. Stale celery is no joke. Might dislocate a jaw.
 
It seems like everyone always says "It gets stuck in my teeth".
And then I say, "But it's fresh and delicious! Rom nom om."
 
2:31 AM
Just ask them if they eat corn on the cob
 
0
Q: Where to put if block braces?

Faraz MasroorWhen I first started learning programming, I wrote my if blocks like this: if(i > 0) { System.out.println("Positive!"); } However, on Eclipse, it always does this: if(i > 0) { System.out.println("Positive!"); } Is there any reason why the second one is preferred to the first?

 
I bet half of them do and they don't even care.
Carrots are good too.
 
Corn [on the cob] gets stuck in teeth at a far greater rather than celery does, IMHO
 
@CaptainObvious oh dear God
 
Wonderful... "Sarcastically laughs.".
 
2:35 AM
2 more
@EthanBierlein Yeah. I mostly don't care for those little teeny-tiny tomatoes they have in produce trays sometimes, kind of elongated, light red kind.
Too acidic
But around here it often feels like "Would you like some vegetables with your Ranch topping?"
> I like my sugar with coffee and cream
- Beastie Boys
 
I love the large giant tomatoes. Especially the skins. It has that nice "vegtably" taste.
Not the food in this KFC commercial though... yecch.
 
2:50 AM
Hello.
BTW @EthanBierlein...
Why did you reject the edit for this question:
4
Q: Sum two linked lists

quantum Write code to sum two numbers represented by a linked list. The digits in this linked list are in reverse order. eg. (9->2->3) + (4->8->2) = (3->1->6) Any comments on my solution (especially on the testing part)? public class ListNode { private int val; ListNode next; ListN...

 
From looking at the edit it seemed like the edit modified the original post.
 
No, the only thing the edit does is split the classes into separate code blocks for improved formatting.
 
They are usually called grape tomatoes, and they're quite acidic IMO
 
From the code, the keyword public in all the classes means they must be in different files.
 
@MannyMeng Ah, sorry about that. Didn't realize that.
 
2:54 AM
It's ok. It's really a thing.
 
These are the tomatoes I like. They have really meaty skin. Nom
 
Ooooohh those look good
 
They are. They have really nice, well, tomato-ey insides, and, like I said, the skins are one of the best parts. They're really thick and just have this nice taste.
 
Tomatoes here [in the USA] [in supermarkets] are normally quite thin-skinned, pale red/orange, and quite acidic
 
I personally think that should change.
 
2:58 AM
^^ typical
 
There are, on (rare) occasion, the one brand of those tomatoes that are okay-ish.
Most often though, they just are, boring.
 
If you sold here tomatoes that weren't red-ish you'd never sell one, methinks
 
They don't even have the colorful variety like the ones in the other picture.
 
That green and yellow and purple stuff would probably rot on shelves
 
People would probably look at them and say, "Eww, that's a tomato?" Looks more like the brains of a dead person.
 
3:01 AM
Yes. Most definitely yes.
 
I feel that I'm too strict with my approval and rejection of edits.
 
How so?
 
Well, here's my review history.
Any ideas?
 
That actually brings up my review history.. lol
Or does it...?
 
Really? I mean the link says it goes to my review history... After all, I do have ?userId=53251 at the end of the URL...
 
3:13 AM
 
That is very strang... (Bug?)
Maybe I'll take this up on Meta if I see it elsewhere.
 
Could be
 
Interesting, it happens on programmer.se as well, and SO, and here.
You know what, I'm going to go take it up on meta.
 
Ok sure. May be something to do with cookies/cache?
 
Hmm. Do you get the same thing on other sites?
 
3:19 AM
It could also have to do with permissions on SE
 
@EthanBierlein you have to go through the user profiles
 
Ah, okay.
 
Okay, now back to my original question. Do you think I'm to strict with my reviews?
 
got an example?
 
3:22 AM
This one and this one. There are few others.
 
@EthanBierlein the first one should have been a comment, I would have rejected as well
 
Oh god, I just realized the ice tea I'm drinking has 25mg of caffeine in one serving. And I have drunk 2/3rds of the bottle.
 
Former is legit reject IMO. 2nd seems like an error copy/paste
I don't think either is excessive, personally
 
2nd is an automatic rejection in my books. OP's code is sacred. including its indentation
 
^agreed
 
3:27 AM
indenting code is easy-edit-points on SO, not on CR.
 
I don't think I'll get to sleep at all tonight.
At all.
Eye twitches.
Oh well, it's not like sleep is important anyways. ;)
 
Sleep is for the week weak.
 
Hello @200_success
 
I sometimes use Benadryl if I can't sleep, seems to work good for shelf medicine
 
I remember the one time I took benadryl. I passed out in about 2 minutes.
 
3:37 AM
^There you go, insta-sleep :)
 
And I didn't wake up for 14 hours.
 
With one Benadryl? I can take two and still drive safely :o
(not recommended, I think I have high tolerance)
 
I react more to stuff like benadryl.
I guess I just have less tolerance.
 
@nhgrif If it looks like changing the closure reason would increase the likelihood of redeeming the question, then I would. Otherwise, I probably wouldn't bother reopening it just to close it again.
Hi Ethan.
 
Well, beer also works sometimes :)
 
3:39 AM
Heh, lul. Not old enough for that yet.
Anybody?
Well, anyway, night!
 
3:59 AM
Good Night
 
4:26 AM
0
Q: A binary tree , its copy constructor and assignment operator

sankI implemented a binary tree in the following code. Its node's copy constructor and assignment operator should copy itself and all its descendents. Similarity a node's destructor should delete itself and all nodes descended from it.The print function just prints each node in a new line. How can I ...

0
Q: Python data cleansing/storage script architecture

MeeplI'm a self taught Python programmer and I never really learned the fundamentals of programming, so I want to see how to improve upon this script and make it adhere to best practices. The script has three functions that retrieve data from an API, cleanse the data and store it in a sqlite db. Thi...

 
 
1 hour later…
5:45 AM
monking @all
 
monking @chillworld
 
5:57 AM
I don't want to push the changes unless the code is reviewed . To get my code reviewed I have to do something like p4 shelve in git — Newbie 51 secs ago
 
6:43 AM
This looks like a question for codereview.stackexchange.comNick Volynkin 46 secs ago
This would fit more in code review. Anyway: I don't know that API but taking into account your data source, I would say it is hard to shorten the code. — ikaros45 44 secs ago
@NickVolynkin this would be closed as off-topic on Code Review. — mjolka 28 secs ago
 
Ok, bad advice ) — Nick Volynkin 1 min ago
progress!
 
indeed, good catch
 
7:01 AM
You should take a working example and build upon it. People are reluctant of doing code reviews here. — Alex.F 7 secs ago
 
7:12 AM
0
Q: Java / LibGDX I made pong, how can I make my code better?

ke2ukeGithub is a link to all my code and the working JAR file. I have been learning LibGDX and attempted to make a working Pong game, I am new to this and would like some pointers on where I could improve my code, if there is anything I have done incorrectly or can do easier, better. This is my firs...

 
7:32 AM
0
Q: My Implementation of a String-Based Loot Table

KrythicI wanted to create a loot table mechanic for any future game projects, and came up with what I am about to show you guys. I was wondering if someone could give it a glance and see if there could be any errors, or if it could be improved in any way. Here is the class: using System; using System.C...

0
Q: NIO Selector Thread, handling channels as expected, but how do I ensure channels are correctly closed after use?

bot_botSo I have the following code in my ServerRunnable class: public class FirmwareServerRunnable implements Runnable { private static Logger log = Logger.getLogger(FirmwareServerRunnable.class .getName()); private LinkedTransferQueue<CommunicationState> communicationQueue; ...

 
@CaptainObvious cv and one auto-comment please
code broken
 
7:51 AM
Monking all
 
8:05 AM
monking @Mast
 
If it works and you're searching for a better solution, you should have posted it on codereview.stackexchange.comhalloei 37 secs ago
 
8:29 AM
"The most practical way" seems to solicit opinions. If you have working code, submit it to Code Review. If you have non-working code, show it. If you have no code and no idea, try something. — Jongware 36 secs ago
 
8:40 AM
Just a personal opinion but if I saw that code in a code review, it would die — Mr Spoon 11 secs ago
 
Monking
 
@skiwi Monking
 
If you want persons to look at your code that is working, normally codereview.stackexchange.com is a better place. This is a Question and Answer site. If you want to publish a piece of code, you can create a question that can be resolved by your piece of code, and then answer yourself with your piece of code... — xanatos 40 secs ago
 
9:01 AM
0
Q: Vulnerability of Encryption class usiing AES + HMAC

Clara OnagerI've written an encryption-decryption class that is to be used in my companies commercial web application that will handle sensitive information. The encrypted data will be passed over the internet via HTTPS but even so it needs to be internally secure. I've tried to follow best practices but I'...

 
9:15 AM
1
Q: C# lambda projection - repetitive code for one of the projected "fields"

D.SinghI have a simple projection in my code. Taking away the majority of the fields which are not of interest, it looks like the following: var result = employments.Select(x => new EmpListItem { EndDate = x.EmpRelationship.OrderByDescending(y => y.EndTime).FirstOrDefault().Cancelle...

 
@Caridorc No: codereview is specifically for code that _works. — GreenAsJade 11 secs ago
 
9:33 AM
@xanatos Thanks, didnt notice codereview.stackexchange.com — Roma Borodov 39 secs ago
 
9:55 AM
Can OAuth 2.0 be used as your own API-token system?
I'm quite confused by OAuth
 
Yes
I would go deeper into it but I have +- 4 hours to start reading up on a subject and write a paper about it in LaTeX
Which I will do now
arrividerci
 
@skiwi IIRC SE actually does that...
but... not sure..
 
I've found some library for the Django framework
I have no clue if it's easy to implement all by yourself though
 
0
Q: Encouraging people to explain downvotes => review solution

chillworldWhile this topic is already asked and resolved in this question, it's time to review the solution. In mine opinion, and sorry to say, it doesn't work. In mine opinion, there is a possible solution. The first down voter is obligated to leave a comment why he down voted it. Comment can be flagged...

I'll bet marked as duplicated in a few seconds
 
10:10 AM
In general this is the kind of question one would ask at codereview(codereview.stackexchange.com). :) — laurisvr 54 secs ago
 
hehe and there are the downvotes ;)
 
@chillworld that was a somewhat ....
 
hehe I like to poke ;)
but you can't say it's wrong. This whole question is just perfect to show that downvotes aren't correct
 
10:25 AM
@chillworld that's your assumption
and that assumption isn't justified in your question
and that's why you (IMO rightfully) are downvoted
 
@rolfl I was going to post a comment to your answer, but in the interest of not riling up anything more, I'll just say what I was going to comment:
 
aside from the fact that you're beating a dead horse
 
> rolfl, for what it's worth (regarding ineffective communicating in the comments), the user was directed to the meta here several times.
 
@nhgrif - I added that to my answer to make everyone stop and think about their various comments.
It was a generic statement to indicate that most of the comments were either misunderstood, or not useful, or both
 
Well, some of us would be okay with specific critiques here... but I tried emphasizing heavily on encouraging the user to take it to the meta. One of his comments indicates English wasn't his first language.
 
10:28 AM
Sure, the OP was directed there (to CR meta) several times), but pointing that out would be... unhelpful.
 
Or, if he had the rep, I might've invited him to chat.
 
I suspect, given the way things happened, that the OP felt "ganged up" on. Going to meta.se was possibly a way to get access to a more "friendly" crowd.
 
Would it, rolfl? He respects your answer because you're a mod. At the point he disagrees with it being hold and there are that many comments, isn't discussing it on the meta the right course of action?
I pointed him toward meta several times before anyone else even joined the comment thread.
 
I don't dispute that, but, saying "take this to meta" may be interpreted as "Let's take this outside".
 
I understand. That's why I think in the meta it is made especially clear to him what the meta is for and how it works.
 
10:31 AM
One thing at a time, though.
 
I can't explain that in comments. I tried explaining that in my meta answer. My meta answer received no comment though.
 
I had a strong focus in my meta anaswer on why the question was off-topic.
That was the one thing I focused on.
the rest can happen in parts.
You throw too many ideas/concepts in one post, and you risk having all of them ignored
Also, note that this question was not just about the OP.
There are/were a number of people defending the question, or supporting a close-reason change.
(including possibly yourself).
 
@Vogel612 that's the problem, nobody dare's to touch a dead horse
while refactoring to newer standards is seen as good practice
 
@chillworld you're missing the point of the figure...
 
@rolfl Right, but that's just more evidence of the OP missing the entire point.
 
10:36 AM
Not sure about that. The OP fixated on one aspect that they felt emotionally "wronged" by. The rest of the individuals in the community fixated on different points that interested/inspired them.
everyone is/was missing the point
everyone was missing everyone else's point
 
.. the OP is fixated on the fact that he thinks the chosen close reason doesn't apply to his question
 
@nhgrif which is merely restating what rolfl just said..
 
mostly, yes... ^^^
 
And that is one of the reasons why in the past, I've recommended (on MSO) that the close reason be changeable...
 
Ok, i moved it to codereview. Regarding your hint : This is what i need, i guess, but how could it be achieved? — AquilaRapax 17 secs ago
 
10:38 AM
But while it's not, the he focuses on the idea that he needs a pile of evidence to prove his question should be closed for that reason IS missing the point.
 
0
Q: Share data and mutexes across threads

AquilaRapaxI need a class that holds a huge amount of data, which should be useable across multiple threads. To avoid copying the data every time, i used a std::shared_ptr. To make it thread-safe i need a mutex to secure the data. But if i'm right, this mutex must be shared too. Since boost::recursive_mutex...

 
Once a question is on hold, the honus is on anyone capable to turn it into an on-topic question, not simply resolve the issues related to the specifically chosen close reason.
Often times, the only one capable is the OP.
(and that part is especially true on Code Review)
 
Well, your desire to turn the disucssion in to one of advocating for close-reasn changes is also missing the point.
(the OP's point).
 
That's not my desire, that's an aside.
I don't address that in my meta answer at all.
 
quick interjection: what do you guys think of synonymizing and ?
 
10:41 AM
OK, then I'm missing the point, but whatever your point is, load it up as a separate meta question, don't piggy-back it on the discussion of a specific matter.
Breakfast time for me.... it's getting cold.
 
... why ?
 
@Vogel612 - may as well throw in on that mix.
 
@rolfl if anything, your answer is doing the piggy-backing...
 
Thanks Matthieu, for the suggestion. Actually I am aware of the git am functionality, I was thinking of more over a tool(like gerrit) which can help me to see the changes, do a code review etc. — Shashank Sharma 12 secs ago
 
The OP asks if there should be evidence to go with the close reason to "prove" the close reason is the right reason.
My answer answers that (No) and instead explains what you should do if you feel like the close reason is incorrect.
(and explains why I say No)
And he still hasn't commented on my answer, nor has he heeded the advice in my answer and explicitly asking a meta question actually making any case for his question to be reopened. He doesn't need to now because your answer explains in more detail why his question isn't fit to be reopened.
 
10:45 AM
Sure, so downvote my answer.... it was not directed at the title/wording of the question, but at what I interpreted as being needed to defuse the situation.
I upvoted your answer.... twice.
 
@rolfl ^ that...
@nhgrif your answer addressed the question as phrased by OP
rolfls answer addresses the underlying misconception
 
Even after reading your answer, the OP is still missing the point to a degree:
I think there is a misunderstanding. The code running on Azure is mine. It is not owned by Azure. It is good to know that you tell that the close reason is "only partially related to the real reason". You seem to describe the close reason and the real reason as two different things that are only partially related. I respect your opinion that is "good enough". Personally, I think the relationship should be stronger to use it. But that is just my opinion. I wrote the code myself. It is really working code and there is no "someone else's code" involved. — Daan 9 hours ago
He keeps talking about the "partial relation" of the chosen close reason and the real reason. He's fixated on that and he needs to not be.
 
@nhgrif that's your opinion....
 
So if another question of his gets closed, we'll get to do this whole dance again as long as the auto-close reason comment doesn't 100% match his question specifically.
 
meh. then shall he dance..
you need two to tango, if you're not interested, don't tango..
 
10:50 AM
@nhgrif - to be clear, it is my understanding that, despite his meta question, the OP has no desire to set or influence site policy about close reasons. They have only one concern, to get their question reopened, and reviewed. This is not about site policy, it's about network latency.
The meta question was there to perhaps reopen debate, and to understand why their question was closed. It is not a meta question designed to apply to the whole site in general.
 
11:11 AM
This would probably be better on codereview.stackexchange.com. — Evan Knowles 29 secs ago
 
@Vogel612 - multithreading and concurrency are 'orthogonal'.
 
and thread-saftey somewhere in between?
 
concurrency is making code capable of simultaneous access by multiple threads (or 1).
multithreading is possible without concurrency
thread-safety is more like concurrency than multi-threading.
but, threads can be safe with no concurrency.... by exclusion, rather than inclusion.
you can lock out "other threads" by using semaphores, etc. Essentially guaranteeing single-threaded execution, thus, making it thread-safe
concurrency is (can be) more.... fuzzy. Perhaps having partitioned access, so you can have multiple threads running at the same time, in the same code, but on different 'zones' of the data, or running lock-free, but employing re-try logic in the event of a collision.
So, concurrent is thread safe, but thread safe is not necessarily concurrent.
 
11:42 AM
I'm voting to close this question as off-topic because it's a question for codereview.stackexchange.com. There's no concrete problem here. — deceze 23 secs ago
This is off-topic on SO, you could try it on codereview.stackexchange.com but it's not a good question anyway. — Tim Schmelter 56 secs ago
 
@nhgrif have you looked at his network profile? The guy doesn't seem to have been around long enough to actually understand the finer points of SE yet. Lesson learned. I won't be lazy in the future. I'll take the 30 seconds to type a custom close reason.
 
Uhmmmm..... really C# ?
-8
Q: Need Help for modification of c# method to make it more simple

Sami Mradpublic string GetMyString(string str1) { string str; int num2; try { int num3; Label_0000: num3 = 1; if (!bool_10) { goto Label_0010; } Label_0009: ProjectDa...

Today.... I have blisters on the palms of my hands.... no comments please.
 
@TimSchmelter This code is likely to have been decompiled, which would not make it the OPs code, which would make it off-topic on Code Review — Simon André Forsberg 40 secs ago
 
@Duga Sssh! Monkey said no comments!
 
@SimonAndréForsberg: i don't know if improving decompiled code is off-topic on codereview per se. — Tim Schmelter 34 secs ago
@TimSchmelter I would say that it is off-topic (I'm a CR regular). See Code Review's on-topic page "Am I an owner or maintainer of the code?" In order to improve this code, you need to understand it first (which the OP likely doesn't), and explaining code is also off-topic for CR. — Simon André Forsberg 22 secs ago
 
11:56 AM
0
Q: Thread-safe Iterator wrapper

GlenPetersonAside: This code assumes a class Option that can be Some or None to represent the presence (Some) or absence (None) of the value it contains. Haskell calls it Maybe. Here is my first pass at wrapping Iterator in a thread-safe way: public synchronized Option<T> nextBlocking() { return iter....

0
Q: Knapsack Algorithm and Recursion - MATLAB

theaktI have a problem with my knapsack algorithm. The problem is about adding files to the storage and maximizing the computing time. Of course, there is a capacity limitation. The problem is that I can find the maximum computing time under the capacity restriction but I cannot seem to specify which i...

 
12:26 PM
For working, potentially improvable codes I think a better place is codereview.stackexchange.com In case it does not work, could you explain what is the problem in your opinion? — Gábor Bakos 34 secs ago
 
Greetings, Programs.
 
Greetings, User
 
I discovered a feature I didn't know about in my IDE yesterday.
 
12:45 PM
Hey folks.
Ha, since we're doing stuff in C++ now, I touched Visual Studio and just got mad over how much worse the editor is compared to Sublime Text.
 
@chillworld Just noticed your question on MSE.
Suicidal much?
 
This may be a better fit for the Code Review SE site: codereview.stackexchange.comnwhaught 31 secs ago
 
@kleinfreund I still want to try Sublime, somehow I never got around actually trying it.
 
I really like Sublime Text. It's super fast and you can do crazy stuff with it. Can't recommend it enough. Also, giving it a try should not be too big of a deal.
 
If I was going to use C++, I would definitely give C Lion a try. But then, I just really like JetBrains products.
 
12:52 PM
First, I need to fix my Ubuntu installation.
Good thing is that I don't know what's broken.
I mean ... where do I start when I get occasional hard resets when upgrading Ubuntu or touching grub?
 
hmm... I'd guess at the MBR and work up from there
 
I should probably get my hands on a Live DVD to work with.
Any specific pointers you can give?
 

« first day (745 days earlier)      last day (3263 days later) »