« first day (795 days earlier)      last day (3520 days later) » 

14:02
(You're digging for what that's a response to?)
@Morwenn @Vogel612 An election consists of multiple 'rounds'. The x-axis represents the rounds, y-axis the number of votes for each candidate.
@chillworld Ouch
@SimonAndréForsberg There are not 140 rounds.... are there?
^ that
@rolfl the number of rounds depends. It goes on until there are x elected candidates. If I have interpreted everything correctly, in this case there was actually about 140 rounds. In each round, either a candidate reaches more than the quota, in which case the votes will be redistributed, or - if no one did - the candidate with the least score is eliminated.
14:05
@SimonAndréForsberg I happen to know there were about 10 rounds in that election.
each round has a few phases....
but, each round ends with at least one person elected, or one person removed, so there' can't be more rounds than candidates
@SimonAndréForsberg Sorry to bother you, but can I ask you some questions about Duga? If there's a better place to ask it, please redirect me there.
maybe you're better off asking in TCG Creation
@Vogel612 Thanks dude, lets see.
@rolfl I think there are multiple "steps" for each actual round where some votes are re-evaluated. The documentation for the vote counting process explains it all.
@rolfl ok, then I interpreted things slightly differently. That should be a quite easy adjustment.
or maybe I didn't, if @Donald.McLean is right
but I guess I could hide the small re-evaluating steps that are made
14:20
@Donald.McLean There are 3 steps for each round, IIRC (yes, I have read the docs carefully), a counting phase, an evaluation phase (determine threshold, determine winning candidate(s), tossed candidates), then the re-distribution phase.
That's my recollection from looking at the detailed results from the most recent election in SciFi.
what detailed results?
Are code porting questions on topic on codereview? By this I mean posting some code in one language and an attempt to port it to another.
@shuttle87 Yes... post the source code as a "block quote", this is what I am trying to do, then the ported code as the actual code for review. Don't tag the question with the source language
They posted a link that showed, for each step in the process, how the votes were redistributed, what the criteria for election was, where in the process candidates were eliminated, and when candidates where elected.
14:22
@shuttle87 I'm not sure if we have a history of questions that include both snippets, but to me it seems more interesting to review the functionality in the ported version, and you can always provide the old version as reference
There was also a link with the raw data so that people could independently verify their results.
Also, the more focus you put on source + target language the less people who are able to enter you'll get
@Donald.McLean any clue where that link is?
@SimonAndréForsberg Yes, it's somewhere on one of the SE/SO sites.
@SimonAndréForsberg I know of these links.... digging
14:23
Ok. Specifically the motivation is that I'm trying to port some code that uses a dictionary based data structure in Python over to Java. I'm not entirely sure the best way of going about that.
@shuttle87 just make sure that you have tested the code for the target language and are quite confident that it works as you expect it to
@shuttle87 as long as the code works, it should be a fine question.
@shuttle87 Expect some edits if there's any concerns. I recommend asking, and seeing what happens
@rolfl 15 rounds is more than 10, is it not? :)
You are right, I beg your forgiveness.... your 140 is far more.... generous.
@SimonAndréForsberg It appears they have set up the rounds to be 2-rounds per canidate processed..... with a final round added.
Sorry, that's wrong....
14:38
codereview.stackexchange.com might be a better fit. — Brandon 36 secs ago
Round 0 is missing...... that's what it is.
Any JavaScript people want to check my work? --> codereview.stackexchange.com/a/96233/18427
alright. I will take a closer look at that election data later
@Mat'sMug Answer code.
@Malachi Considered posting it as a rags-to-riches question instead?
14:39
@Mat'sMug someone click edit, makes the edit, doesn't have enough reputation, so that it then becomes a suggested edit?
...
right
(sorry, but you asked)
Looks reasonable, I will approve the edit unless there's a reason I am missing (or someone else can approve it if they think it's fair...)?
too late, it's rejected by @SimonAndréForsberg and @Malachi
I didn't have enough sleep last night. I thought it was the question
@rolfl that kind of thing should be a comment for a while to the Author before you just go and edit it in.
14:41
obviously my brain didn't process the preceding text
▲▲▲ & that
...need... more... coffeeeeee...
@Malachi Disagree.
@Malachi on a question, perhaps. but on an answer, it was a pretty minor edit that didn't hurt anyone
@Brandon I believe that CodeReview won't be a good fit. CodeReview is meant to review the quality of the written code, and not to re-write your code. — Ismael Miguel 58 secs ago
14:43
and it fixed something, and the editor probably ran the code, which the answerers often do not do...
it was a good edit in my book.
and adding a comment is fine too, but if the edit is good why make it harder than it needs to be.
I assumed it was the question. usually as an answer I don't see the includes
otherwise I would have probably accepted it as well
> I assumed it was the question
but now I am back pedaling
Attention to detail people. ^^^^
working drinking on that
14:45
Potential mod question: that user now goes to meta, and asks: Why was my edit rejected?
Now you need to spend 10 minutes formulating an apology ;-)
0
Q: JVM does not execute code

therewillbecoffeeimport java.util.*; public class PigLatin { public static void main(String args[]) { Scanner s=new Scanner(System.in); String in=s.nextLine(); in=in.toLowerCase(); char f=in.charAt(0); { if(f=='a'||f=='e'||f=='i'||f=='o'||...

Seems on topic.... not ^^^
off the front page in 2 downvotes
@rolfl Dang it, you closed too soon!
> "Moderators don't vote. They decide." Making binding decisions instead of voting will be a paradigm shift for nearly all of the nominees. How do you plan on making this adjustment?
I am going to suffer when I make that adjustment.
There are a few things I have consciously done as a mod, and I may have to undo ;-)
I have no guilt slamming broken questions with mod-votes.
14:51
@Disappointed If you have a specific programming problem, e.g. "I don't like that my code works like blah blah, how do I fix it"? Then the correct place is Stack Overflow. If you have a section of working, complete code, and you are interested in receiving comments about all aspects of that code, then you should use codereview.stackexchange.com. If you have a more general question about "how do I design my code to avoid problems like this one", you can use Programmers... but keep in mind that Programmers is for when you are in front of a Whiteboard, not in front of your IDE. — durron597 34 secs ago
@rolfl Nor should you. On CR it's mostly cut and dried. On Astronomy and Music Fans, much less so.
Also, I admit, it is lazy, but the off-topic close reasons are pretty good, and I don't feel the need to comment when I close, because that reason is enough.
3
as a non-mod, I will likely have to comment, and vote, because a close vote without a comment is not actually communicating to the asker until all close votes are in.
@Duga @IsmaelMiguel does that comment work for you?
@durron597 That comment was more than perfect. I wouldn't be able to say it any better than that
0
Q: Bayes Rating Selective Terms

EBrownI am working on a project, and at the moment I have just finished the majority of the Bayes Rating/Classifier. I have two sets of methods I am most concerned about. Method set 1, will select a certain number of extraneous elements (which have probabilities furthest from 0.5), and only take those...

14:55
@IsmaelMiguel I think the problem is that neither of us want it so we were tailoring our comments to say "Noooooooooooo! Stay away!!" haha
@durron597 My idea was more like "Yeah, you have code but you want to add stuff to it and change it. You think CodeReview is a change-this-for-me-please website!?"
@IsmaelMiguel If I had working code and there was stuff I didn't like about it but I wasn't sure how to fix it, I would probably post it here
Maybe my idea for "how to refactor" isn't the best one, and you all would give me better ideas
Or, maybe you would tell me my way is great and I should stop worrying so much :-P
It's a grey area on Code Review.
I don't think the "rewrite this" is a good idea. A good idea would be someone, in the review, pointing out that the way you are doing isn't the best and show a simpler way. That is my opinion.
@durron597 So the best place is codereview ? (because it's not whiteboard and i have some code ? ) — Disappointed 31 secs ago
14:59
The key method to make good questions for Code Review is to polish them enough for people to believe that they are actually on-topic.
@Disappointed - Code Review looks decent as a target. It concerns me when your question says "my code become something like this " ... on Code Review your question has to be: "My code is this", not "something like this". — rolfl 30 secs ago
That's stupid but having a clean question, with good markdown, properly indented code, a clear description, several logical sections... is more likely to be accepted, even if buggy, than a poorly written question with working code.
I agree..... and I can't quantify it, but it affects me too, and I think it is "deserving" to reward people who make the effort.
So technically speaking, if you think your question is in a grey area, polish it enough so that it looks white.
5
that ^^^ yes.
it is a balance.... we want people to ask questions, we can't survive without them. We also know that every question has problems, otherwise the people would not ask them.
2
Now, that's a huge grey area, but it is human psychology.
15:03
Social engineering in action :)
@Disappointed Here is an example of a well written Code Review question. Your question should look more like this one before putting it there. — durron597 1 min ago
This comment thread is excessive. Feel free to join us in the code review chat room The 2nd monitor - and also see this meta question for assistancerolfl 21 secs ago
/me likes Duga, a lot, but I am married.... sorry Duga.
@Duga hey that's one of mine!
You noticed ;-)
This is the sort of documentation I hate: elastic.co/blog/…
> WARNING: This article contains outdated information. We no longer recommend taking its advice.
So, what advice should I take, jerks?
15:19
You may want to post your working code to CodeReview SE site. You should improve your question. Generally for SO you should ask questions when code either does not work OR you want to improve particular part of it. So far it sounds like you have (not shown) code that works, but you want to improve it in some way ("elegant" - which is not good concrete explanation for SO question). — Alexei Levenkov 9 secs ago
Nice comment ^^^
@AlexeiLevenkov Actually, there is no code at all. On CodeReview the guys there only handle fully working code. Since this has no full working code (not even a 'decent example code), it is off-topic there. — Ismael Miguel 55 secs ago
Thanks every for comments. I will post it in codereview and delete from here — Disappointed 8 secs ago
@AlexeiLevenkov If it is, your wording may be a little off. From here, it seems like you are recommending to place the (inexisting) working code on CodeReview. But, if I'm wrong, my apolegies in advance. (And excuse my spelling) — Ismael Miguel 33 secs ago
@rolfl #oops. You're right, it was a good edit. I thought I checked and saw that it was the question, apparently I'm blind.
@SimonAndréForsberg makes two 3 of us
-1
Q: How to redesign the following code

DisappointedMy project and code are the following. At the beginning i had excel document with just one sheet with some data which i parse, validate and save/reject. My code was like this var report = _reportRepository.GetReport(reportId); OperationResult<AccountRecord> accountRecordsParsingResult...

15:36
You might try posting your question in codereview.stackexchange.com for better response — Mudassar 8 secs ago
0
Q: Rails: Using constants in the module. Is there any better way?

Venkat Chrequire 'active_support/concern' module Expirable extend ActiveSupport::Concern BEFORE_EXPIRY_DURATION = eval(APP_CONFIG.timings.notification_of_expired.before_expiry) EXPIRING_DURATION = (BEFORE_EXPIRY_DURATION.ago..Date.today) included do scope :expirables, -> { wh...

@rolfl about the detailed election results, I don't understand why no one was eliminated in this round: opavote.org/results/4962933813542912/0#anchor-13
@CaptainObvious Username: Disappointed
@SimonAndréForsberg the round before was a transferral round
@SimonAndréForsberg One of the candidates must have been eliminated, just hard to see which one.
15:41
@rolfl nope.
@Mudassar The way the question is asked will make it to be deemed as off-topic, in my opinion. With a really nice polish, this may become a really cool CodeReview question. Can it raise some unexpected exceptions? won't be a good thing to ask there. But can be answered here, and the answer is It might, but my knowledge is limited. — Ismael Miguel 1 min ago
the threshold got adjusted and another transferral round followed
This isn't proper C syntax. Either it's another language, or it's untested. — Jamal ♦ 14 secs ago
@rolfl
the two lowest eligible candidates were ~30 votes apart
I'm starting to see why nhgrif is getting disappointed over so many quick upvotes for questions.
15:43
maybe that isn't a sufficiently clear outcome to eliminate one...
@Jamal It may be C++, in any case it's an excerpt. Not enough to review.
Not C++, either.
Might as well be pseudocode.
@rolfl no one got eliminated. I thought I had noticed a pattern, that on every odd round someone were eliminated, and on every even round, the excess votes for already elected candidates were redistributed. But on round 13 and 14, this theory broke down.
i don't understand why my question was downvoted with description "highlight exactly what you need". Was it unclear ? Does title and question in the end don't explain what i want ?!
@Disappointed I personally didn't vote on your question, but I find it lacking some description about what the code is doing.
and then there's this:
You didn't follow the advices we gave you on your C# question on StackOverflow... — Ismael Miguel 21 mins ago
I can't look at your Stack Overflow question unfortunately as it has been deleted.
15:53
at least most advices were about correct place of question so i instead follow this ...
probably i forget something or don't understand
I think you missed my comment here:
hmmm... this one....
55 mins ago, by Duga
@Disappointed - Code Review looks decent as a target. It concerns me when your question says "my code become something like this " ... on Code Review your question has to be: "My code is this", not "something like this". — rolfl 30 secs ago
I took into account this and removed different "approximetaly", "something" etc.
@Disappointed You still have the My code became this.
@IsmaelMiguel What's wrong with it?
And what is the issue with it ? At first a i had some code, then it was changed and became this .
15:59
It sounds stupid, but the 'like this', is still in there, and it is a 'trigger' for downvotes.
I can't see a real reason why it is -5.
.... e added and my code become like this (parsing new sheets, validate new sheets etc.)
My C# is poor, but it passes my sniff-test of reasonable code for review.
4
Q: Should I name a temporary or internal variable with a single leading prefix?

DevendraI am writing a code where a filepath is split and then joined to form path in proper format _filepath = 'Home\\filename.txt' fileparts = _filepath.rsplit('\\') filepath = os.path.join(*fileparts) Is it good practice to use a variable name with underscore prefix such as _filename for temp use...

@rolfl +1
Maybe it's mostly hypothetical code.
yes "like this" is still there because as said i don't want to copy-paste the whole code. It's too big. And i found it reasonable to have "like this"
@Disappointed Hmm, that's a problem.... Code Review only works well when the code is real. We have bad experiences when people try to "simplify" the code, etc. We are not Stack Overflow. We like real code.
Because of our previous experiences, we have close reasons for hypothetical/example code.
16:02
I think that questions should be My code has the following purpose. Am I writting it in a proper way?, instead of I had this, now I have this. But I don't like. How can I redesign?
@Disappointed Maybe add some more code. Not necessarily all of it, just something to make clear it's a real code. Now, it still partly looks like a stub, which is not welcome here.
thank you @Morwenn
@maaartinus I voted to close because of the following line: Is it possible to refactor this code so adding new sheet with some data will be less painful ? with a reason that it is too broad.
@IsmaelMiguel This sounds very formal to me. The OP has some real code and their problem is that it's getting longer, so the history makes sense. It could be probably left out as a reviewer will see what was necessary for the first sheet, but IMHO it needn't ne left out.
@m
GODDAMN!!!
@maaartinus But you have to agree that there's more than 1 correct answer to that question.
16:05
@Disappointed I was one of the users to vote to close.
@rolfl ok, i will take into account that code should be as draft
0
Q: Array with enumerated elements

LoomJava program uses the following construction: public class Utils { public static final byte PROVIDER_FOO = 0; public static final byte PROVIDER_MOO = 1; public static final byte PROVIDER_BAR = 2; public static final byte PROVIDER_FUR = 3; public static final byte PROVIDER_BOO = 4; pu...

@IsmaelMiguel I see. However, isn't making the code more flexible for future extensions the very goal of making code "better"?
It's hard to read and not clear what it does nor what you want with it.
@IsmaelMiguel There's more than 1 correct answer to most Code Review questions.
16:07
@Disappointed If you get your code in, you won't be .... puts on glasses .... Disappointed! YeeaaaaaAAAAHHHHH!!!
@SimonAndréForsberg That ^^
@maaartinus Yes, the goal is to help making the code better, not to rewrite it for you in a different way.
But sometimes a complete rewrite is the only plausible answer. :D
@SimonAndréForsberg I agree, but the answers can be quantifiable by the O.P.. The question, as is, leaves room to change his code in a billion ways, and all ways will be correct. (Exagerating on the 'billion')
@maaartinus But what do you do? You write the code for the O.P. or you provide a design and let the O.P. implement it on his/her way?
And do you provide the design as an answer or as an advice/opinion?
@IsmaelMiguel This depends on my current laziness level. Usually, I try both. Improve some parts directly, show how it could be rewritten, and give some text advice (both=3 :D).
But yes, the code as is is rather abstract.
16:12
@maaartinus Oh, wait. I read the question in a wrong way. The question: Is it possible to refactor this code so adding new sheet with some data will be less painful ?. The answer: Yes.
Sorry, please! I think I have corrected the question. — Mark 1 min ago
And while I agree on your way, I disagree on providing the re-design as a full answer.
@IsmaelMiguel which is why there is such a thing as "accept answer", right? To mark the one that was most helpful to you?
@IsmaelMiguel Reopen and answer. Easy prey. :D:D:D
@maaartinus I would get a massive load of downvotes and bye-bye reputation
@SimonAndréForsberg Yes, but on a question with 1 billion correct answers, it is nearly impossible.
@IsmaelMiguel Why? I'm pretty sure I did something like this. The question was OK, the code just too terrible.
@maaartinus Because Yes isn't the answer to everything in the question.
@IsmaelMiguel You may run into troubles with scrolling, when all correct answers get posted, right?
@SimonAndréForsberg Re-open votes please.
16:18
@maaartinus Not really, because StackExchange had that predicted and splits the answers into multiple pages.
Off-topic question:
Since some of you have been using StackExchange websites long before I started, I have a question
Why in the living hell people simply ignore most questions that aren't C++ or Java?
Why do they see the questions and don't answer?
@SimonAndréForsberg Open.
Welcome to hunting season.
@Mast What are you hunting?
@IsmaelMiguel Because they don't know the answer?
Practising for Captain Obvious
In a website with, supposedly, over 4 million users and not even a single person knows the answer?
Some questions are hard.
And, to be honest, some questions are so awful they don't deserve an answer.
16:26
@IsmaelMiguel I can speak only for myself: I hardly ever see a non-java question, as my bookmark takes me to a seach for [java]. I could surely answer other questions, but often I don't know the conventions well and it takes me more time. So why should I bother? Others chose other languages, I hope.
I have VHDL bookmarked. There haven't been VHDL zombies for ages.
Yes, there are hard questions
0
Q: REALLY weird behaviour in jQuery UI sortable in a table with <td colspan="2">

Ismael MiguelToday, while preparing to test some VERY basic and ugly code, I've found something that leaves me speachless... I have a simple <table> with a <td colspan="2"></td>, and jQuery UI goes berzerk with it! I've used axis: 'y' so it only moves vertically. Which works almost ok... Here is the code:...

That one is a nightmare!
Sometimes I ask bad questions.
0
Q: jQuery .validation plugin: help cleaning aditional method

Ismael MiguelI've been using the .validation plugin to validate a form in Bootstrap. But I've noticed that it lacks support to pass a function as a validation. So, I decided to write some very ugly code: (function(){ var __c_number_between=new String(''); __c_number_between.valueOf...

That one is an example
Sorry, @Jamal - I removed the lock.
(Maybe I should polish it a bit and ask here?)
(well, not really sorry).,
16:29
@IsmaelMiguel And many users ignore tags that the don't care about, or only follow tags that they do care about.
I don't follow any
I just capture a good question and answer it
Or a question without answers in a language I know
A polyglot?
WHERE?
Where's the polyglot?
SO is a weird site.
Don't go there.
Just stick to CR.
CR 4 LIFE!
somebody should put that on a t-shirt
CodeReview can't answer question like Why in the living hell a DOM element isn't updating it's HTML in PHP?
16:32
@IsmaelMiguel You?
(That was my first and last question on StackOverflow BR)
@maaartinus No, that is Javascript
Please someone ping me if Devendra joins in here. Thanks.
NYSE went down. I suspect an evil AI.
0
Q: basic string manipulation - trim leading zeroes from second component of a string

Ciaran GallagherI have a collection of strings as follows: 44.01 44.02 44.03 44.04 44.12 46.05 46 ... and so on I want to remove leading zero's from the component of the string after the full stop. As you can see from above, not all strings have a sub-component and not ...

16:33
@IsmaelMiguel New York Stock Exchange
@Mast "The angels have the phonebox."
What's that?
@IsmaelMiguel Wall Street
Still no idea
@Donald.McLean That's an excellent idea.
16:37
Enjoy!
-2
Q: Incorrect behaviour from moderators

drtThere was dominative, dectatorship and ignorant behaviour one by rolfl and jamal on codereview.stackexchange.com. Without listening to the points made these peoples have taken decision, changed title of question and deleted only comments made by me. This is singling out behaviour, what can be done?

@rolfl @Jamal I'll accept my duga badge now
Off the front page.
@Mast And that's right after a "computer glitch" grounded one of the major airlines.
Sounds suspicious.
Should I flag that as unclear what they are asking?
@Donald.McLean Uhu, "glitch"
@durron597 Thanks! I'm letting monkey handle most of it since it's possibly his last bit of real moderation.
16:40
@durron597 @SimonAndréForsberg You're still handing out @Duga badges?
@Jamal I thought that's why he was retiring ;)
> There was dominative, dectatorship and ignorant behaviour
Ignorant? Where's his spelling and punctuation?
They totally changed the title — drt 12 secs ago
TOTALLY.
0
Q: Second Implementation of std::vector

JoeHaving already attempted an implementation of the std::vector class here, I decided to take the comments on board and also do some new bits myself (mainly the algorithms for allocation and insert). I have a commented version, but it exceeded the character limit so I had to add the non-commented ...

@Hosch250 They've been accused of that before.
16:42
@Mast You've been watching too much POI
@SimonAndréForsberg You, you're just trying to confuse me. This is a very clear message.
We're doomed!
Anyway, TTGTMBILBP
Time To Go To My Brother In Law's Birthday Party
@Mast Not while I'm around.
@Hosch250 Stop it, please!
@SirPython I tried doing that he edited it again and downvoted for the change made by someone else — drt 36 secs ago
16:48
@SirPython Vote to close that, or flag it. It is off-topic there and should be asked in our meta
@SirPython I didn't really understand that sentence
Besides, he doesn't have anything to answer to this:
I'm reading the comments, and I see nothing wrong there. Can you provide a more concrete example on what you consider "dominative, dictatorship and ignorant behaviour"? — Ismael Miguel 7 mins ago
I flagged as unclear before all the details came out in the comments.
Probably will be rejected now, but still unhandled.
monkvening
thanks @Simon for the edit!
sometimes really nutty things come out of my phone :)
@janos Just the opposite of what we are dealing with on Meta.SE now.
16:58
@Hosch250 how so ?
-16
Q: Incorrect behaviour from moderators

drtThere was dominative, dictatorship and ignorant behaviour done by rolfl and jamal on Code Review. Without listening to the points made, these moderators have taken decisions, such as changing the title of questions and deleting comments made only by me. This is singling out behaviour; what can...

@janos A user hated Jamal's and rofl's edits
ok I found the meta post
I will be honest: I hate Jamal's edits.
Sometimes they are really freaking annoying
But, if they improve the answer, I suck them in
This is so unethical. — drt 53 secs ago
17:00
They were trying to fix the answer to be more on-topic
I'll be honest: 99% @Jamal's edits improve the question
@Hosch250 Indeed, his behaviour crosses every border of the "acceptable"
the 1% when they don't, there's a lot of lashing out
8
A: Incorrect behaviour from moderators

JamalMy original title edit was based on site policy about having title only specify the code's purpose and nothing else. However, this was before it came to me that your question was off-topic, in which case I would've just left it alone and proceeded straight to closing it. Either way, the argumen...

dinner time for me now, will be back later
17:02
@janos Jamal isn't perfect and some edits he made really changed the behaviour of a question I've asked. I had intentionally written it that way. But don't get me wrong, he also improved some questions I've asked.
Often with annoying edits, but he improved.
it's definitely possible to work things out in a civilized way
I try that.
Once, I flipped with him
This also first started because the OP believes that OPs should approve all edits first. That's not how the system works.
It was a really annoying edit
But if I disagree with an edit, I roll back and explain why
I don't go on saying "YOU CHANGED THE MEAING!!! OMDLFG!!! I'LL RIP YOUR MODERATOR STATUS OUT, A BIT AT A TIME!!!"
when you cannot agree, it's good to get a 3rd opinion right here in this chatroom
17:05
I'll just say why I disagree
That is the last resort
the last resort for me is meta
Meta is when nothing can solve it,
The pit of doom
It meand that nothing is and will be alright
ok really dinner now :)
Yes, and even I understand that not all of my edits are spot-on. Some are incomplete (even if I'm not editing on my phone), and some may somehow change the meaning (minus the question in title) if I'm not careful. But that, as you've seen earlier, is not how you approach this. It's a good thing it's not too common.
@Jamal I can count by the fingers the edits that changed the meaning.
So far, it was 1 or 2
(I'm not talking about annoying edits like changing whitespace or a word)
17:09
Out of 15,000, I'll take that. :-)
No, 1-2 in all my questions
I know
But I'm being honest here, some edits really tick me off
1 word, where you change 2 letters
that REALLY ticks me off
Pimping for reversal would be uncool, right?
@rolfl What do you mean?
17:12
@200_success reopened it?
@Jamal This all can and will happen when you do it often enough. No problem and no real damage as it can be fixed. The guy's meta question scores -23 :D I only wonder how you missed that it should be closed as there's no code worth mentioning.
@maaartinus Flags or vote-closes don't generate reputation
@IsmaelMiguel He means a reversal badge
Also, why close a question when the title can be changed and improve stats?
he'll get one if his answer hits 20 upvotes
Why is the question somehow open again?
17:14
I still think the question is off topic as requesting best-practices.
That can be easily edited out
Like I want to create another fight.
And, he re-edited the title to being just awful again.
It's not a fight, it is off-topic anyway
I am stunned that this question is now somehow on topic.
I do disagree with the reopening, but I won't push it any further myself. If you feel the same, cast votes as usual.
17:17
seems like @200_success edited it
There's just no f* code to review there.
Lunch, BBL.
> Best practices in general (that is, it's okay to ask "Does this code follow common best practices?", but not "What is the best practice regarding X?")
@maaartinus ding
VTC'ed as stub code.
And, I'm off to lunch.
I need another 30 rep to CV here, lol
Let's see if I can find a question not already reviewed by @janos
17:19
That should be easy
@durron597 You can still flag for closure. Not much, but is still something.
0
Q: PHP function to create a Hex dump - Followup

Ismael MiguelThis is a followup of the following question: PHP function to create a Hex dump @Corbin made a very interesting review, and I re-wrote most of the code. function hex_dump( $value ) { $to_hex = function( $number ){ $hex = strtoupper( dechex( $number ) ); //if we don't check ...

Anyone want to have a go?
http://www.commitstrip.com/en/2015/07/08/true-story-fixing-a-self-ddos/
CommitStrip - Blog relating the daily life of web agencies developers
True story: fixing a self-DDoS
CommitStrip
1436376111
2
@CommitStrip lol
@CommitStrip This is what docker is for
17:28
-1
A: Generating random numbers from thread timing in C++

ncomputers.orgThis is an extract of the binary dump and refers to: void inline thr(Num const num) mov (out),%rdx #read the value of out mov (tmp),%rcx #read the value of tmp lea 0x0(,%rdx,8),%rax #step 1: multiply out*7 sub %rdx,%rax #step 2: multiply out*7 add %rcx,%rax ...

the sad part is, I could actually envision someone having that dialog with a straight face
This site is for programming problems. Code optimization/critiqueing is done at codereview.stackexchange.comMarc B 1 min ago
It started rather seriously but became very amusing... worth reading (and voting?).
> It is also possible, that gravitational waves caused by the flow of energy inside the CPUs produce small time dilations.
@maaartinus I can't tell if this is even a code review.
> CPU 0 and CPU 1 wrote a different value at the same time, what put the last bit of tmp on a superposition state.
@Jamal Agreed. But I'd like to try the stuff the guy smokes.
:D
17:33
@maaartinus @Jamal @rolfl I just put a protection on that question. It has received 3 answers now by the OP. Thoughts?
0
Q: Merge values of the objects properties with the same name into array

ShtirlitsI have such input: [ { name: 'timezone', value: 'EST' }, { name: 'interval', value: 'day' }, { name: 'metrics[]', value: 1}, { name: 'metrics[]', value: 2} ] As you may already notice - these are parameters from POST request. What I need to do is to get such output: [ { name: 'timezone...

@SimonAndréForsberg No problem, but it is somewhat ineffective ;-)
it won't stop him. Interesting, heheh... i will need to contact the cs mods... I think
@rolfl he only has 8 reputation on this site as far as I can see. That should stop him, should it not?
@SimonAndréForsberg I'd leave it as is as it's pretty amusing. But this may not be the site policy. OTOH if you do anything, you can read things like "They delete it, because they want to avoid the spread of knowledge.".
@SimonAndréForsberg Yes, it's also ineffective as he can no longer post answers (of course you couldn't determine that yourself).
Unless, of course, he improves them to warrant upvotes.
17:37
"While we try to do our best,
We don't like to throw exceptions.
Instead of, we like to throw ideas,
And we also like to throw solutions.
We hope, you like to catch what we throw."
From ncomputers.org
@Jamal having him no longer post answers was kind of the whole idea...
I am considering a VTC as primarily opinion based
I'm quite sure that if his method really would produce true random numbers, a whole lot of code would use that method already.
It was me who advocated to reopen the question.
I'd still leave it open. The OP believing and posting a non-sense is another story. The answer be Giles was a nice explanation and also a nice CR.
@SimonAndréForsberg I was on the fence about the topicality anyway, even though his previous questions were of lesser quality. It was indeed the answers that concerned me the most. It looks like he's more determined to pimp his site rather than posting actual code reviews.
I think he's mainly interested in "proving" that his code produces truly random numbers.
Maybe next time he'll post some code for review, along with an answer that "proves" that P = NP... that would be something.
17:43
@SimonAndréForsberg Via superposition state and small time dilations, sure.
@durron597 We don't yet know when rep thresholds will be increased. We may be told ahead of time before the switch gets flipped.
@SimonAndréForsberg Huh? I'm pretty sure that's not possible with an algorithm. You need a chaos generator.
@Donald.McLean hence "proving"
@Donald.McLean A CPU is complicated enough for producing chaos - in theory. However, it's not good enough as Giles wrote.
@Jamal We didn't get told on Mythology.SE, it just happened (for private -> public). But maybe graduation is different
17:48
@durron597 Got him.
@durron597 I still don't know for sure, but it is certain that it won't happen during the election.
Shortly after, news is.
@Hosch250 CVed.
Going to lunch later all

« first day (795 days earlier)      last day (3520 days later) »