« first day (320 days earlier)      last day (3696 days later) » 

12:00 AM
you gotta be kidding
 
RELOAD!
 
45 mins ago, by nhgrif
in NSChat on Stack Overflow Chat, 33 secs ago, by nhgrif
There is no one stupider than an end-user.
 
@syb0rg Boom!
 
like, how do you tell whoever asked you that, that what they're asking makes no sense?! (that should make a good TW question I think)
 
2
A: Does my reversal program in C follow the common practices?

vaxquisYou, mainly: chose non-optimal algorithm do to the task at hand, used non-standards-conformant functions/declarations (getch, #define for constants), didn't use indentation, used an unusual naming scheme for variables, used an initializer for an array that should be used for 1-D arrays only (si...

^ Much improved. If it wasn't a good answer before, I think it is now.
 
12:01 AM
Still iffy for me, especially the use of no braces in some parts.
 
Better than the other answers because it's more prescriptive or exemplary.
 
Bombardment required by Corbin:
3
A: Probably unneeded returns

GrantSFor your argc <- return $ length args , the reason the compiler is telling you to use the return is because in do notation, monadic binding lines must be the form: binding <- value wrapped in whatever monad you're using So length args just returns an Int, but Haskell wants an IO Int. By doing ...

 
@ChrisW lol - I skimmed through, upvoted, and then noticed it was the heated discussion from earlier; retracted the upvote, started reading more thoroughly, found nothing blatantly wrong [that I could see with my C non-knowledge], came back here, saw your comment about it being much improved, and put the upvote back in!
@syb0rg ka-boom!
 
The OP is 15, BTW.
 
the OP as in the asker, or the answerer? Answerer's profile says he's 94 ;)
 
12:06 AM
The asker.
 
@Mat'sMug 94!? ... I think I've found my new hero. Programming at 94 ... Living the life!
 
damn, 3 votes left already
 
@Mat'sMug Ho my.
 
the trigger got stuck!
 
It's not even been 15 minutes :P
 
12:13 AM
oops 2 left
 
@Mat'sMug It's the first answer by that user.
Thanks.
 
@nhgrif I think I may have to tell that to my buddies at work.... it is a new one for me.
 
Yep. Starting.......tomorrow :/
 
12:33 AM
I had to google muzzle loader
 
Hello @Yuushi
 
hey @syb0rg
 
@syb0rg Wow: you're a tough crowd! So you don't agree with no-braces around one-line control clauses, e.g. webkit.org/coding/coding-style.html#braces-one-line
 
I don't agree with no-braces.
In fact, no-braces are the reason Apple had to issue the urgent iOS 7.0.6 patch. imperialviolet.org/2014/02/22/applebug.html
 
@ChrisW No, that one is fine by me. It was the if-else in a for loop with no braces in his second bit of code.
 
@nhgrif Really!
 
  for( i = 0; i < WORD_MAX; i++ )
    if ( scanf( "%ms", &words[i] ) == EOF )
      break;
    else
      printf( "%s ", words[i] );
@ChrisW That code in his answer ^^^
 
Oh. So they are indeed exceptions. — insert clever xmas name Jan 8 at 17:44
I remember Jeff calling it (and Code Review) "experimental" once... Edit: Found the post: "an odd duck and a trial balloon..." — Yannis Jan 8 at 17:44
 
Could use some love:
0
A: Configuring Constructor Parameters and Unit Testing

Jon ReidGo with #3, "Create a nice mock for mockOperationQueue." The only reason you're having to do that stubbing is that OCMock creates "strict" mocks by default. Strict mocks used to be the standard, but mock object frameworks have evolved. The problem with strict mocking is that they make tests more ...

Also, our new user needs more rep:
0
A: Exercism assignment for word-count in Clojure

Dave YarwoodI would format it like this: (ns phrase (:require [clojure.string :as s])) (defn word-array [phrase] (s/split (s/lower-case phrase) #"\W+")) (defn word-count [phrase] (frequencies (word-array phrase))) Notice that I included the require statement as part of the ns definition. Whether...

 
The majority of votes at Single statement if block - braces or no? favour braces.
 
12:52 AM
But you have your opening brace in the wrong position. That much is certain. — Christian Mann Nov 6 '10 at 7:38
 
Ahh, the accepted answer has my style of programming :)
 
1
Q: PHP OOP: Is this way of passing a parameter relatively safe?

Louis MilotteI'm still playing with how I want to build the parameter. However, in the end I still want to pass it to the prepare statement the same. Note: $this->dbh is defined in the __construct() function getTable_Where($table){ /* * Usage: * $table - assoc. array containing all values. ...

 
(drags the [The 2nd Monitor | chat.sta...] tab into the 2nd monitor) - ah! there you are!
 
Interesting
20
Q: Let's get rid of the 10K flag queue

Shog9The 10K tools are pretty cool... You get a birds-eye view of activity on the site, a "dashboard" view of what's happening. Some of the individual tools haven't scaled particularly well with Stack Overflow's growth, but the concept behind them is still sound: we trust you to enough to be a bee wat...

 
1:08 AM
indeed
> Task accumulates 6 RecommendDelete + Delete reviews.
Outcome: mark flags "helpful". If the post scores > 0 then raise DisputedLowQuality mod flag, else just delete post (current behavior).
^^ THIS is why downvotes are important
2
 
I was never fond of the invalid flag system anyway.
 
Welcome back @Doorknob
 
knock knock!
 
@syb0rg I can't come in here without being watched, can I? :-P
 
Well your avatar does stick out a bit ;)
You know, the glowing golden knob and all.
2
 
1:19 AM
@Doorknob I was wondering, how does one use the search box on PCG? prepending is:question to every search?
 
@Mat What do you mean? Just type your search query?
@syb0rg Recognizability was one of my goals when making it, yes ;-)
 
@Doorknob How do you think my avatar does with that?
 
@syb0rg The robot does stand out; you're the only robot I know (well) on SE :-P
 
I think we're all champs on that matter ;)
 
Lol, yes :-P
@Mat What do you mean about the search thing, though? What's different than other sites?
 
1:23 AM
@ChrisW Apple's recent security bug was caused by a malformed if statement and a missing brace. That's my new go to "aha! it does really happen in the real world!" example.
10
 
Hm... palacsint is only 75 rep ahead of the monkey in the race towards 20K.
Bets! Place your bets over here!
 
@Corbin and no-one will let that down for some time to come
 
@JamesKhoury :D
 
@Jamal i bet on monkey
 
Yeah, my money is on monkey too. The crazy monkey never sleeps, it seems.
2
 
1:25 AM
@Corbin If only they had come here for a review!
 
Ah, how does Corbin get the special star?
 
I'm betting on Howard getting to 20k first over at ppcg, no matter how hard I try ;-)
 
@Mat'sMug Hah.
 
Once I get to a computer I need to pull up some graphs to see the trends
 
@nhgrif You say something very witty.
 
1:27 AM
I'm only about 200 behind Peter, though.
 
IMO we have too many pinned stuff.
4
Hey @200_success
 
Hrmm... this guy isn't really helping his case. Every comment, he's simultaneously assuring me that his code is working and he wants it reviewed AND that his code has flaws that need fixing...
1
Q: Pick up and throw simulation in SpriteKit

TAKeaniceLast days, I experimented some time with spriteKit and (amongst other things) tried to solve the problem to "throw" a sprite by touching it and dragging. I have tackled the major hurdles, and the code is working fine, but there consist some little problems I cannot explain to myself. Additional...

 
I summoned him! :-O
 
And now I have an uncontrollable urge to pin the criticism of our pinning.... :D
 
@syb0rg agreed ;)
@Corbin that one has to stay up!
hey @Sham!
 
1:30 AM
@nhgrif I thought it should have been closed, the OP needs to go to SO to get it fixed completely before coming here.
Hey @Sham
 
Wow, there's a user on ppcg that has 2876 rep... and the next highest repped user had 5936! Quite the gap there...
 
I agree.
 
hai guys
 
Ok, gtg, food is here
 
Bye!
 
1:31 AM
later!
 
any python programmer here?
 
@nhgrif I already retracted my vote unfortunately...
 
The only "flaws" an on-topic CR question should have would be things that an end-user likely doesn't even notice. PERHAPS an end-user may notice an on-topic performance question regarding speed or memory.
The other "flaws" on-topic CR questions might have will be things that make future maintenance more difficult, readability, etc.
2
 
@Sham Hi Sham
 
hai james
 
1:34 AM
@nhgrif I think that we should allow newcomers a little more leniency in this. IMHO
 
@JamesKhoury But then comes the issue of where we draw then line. We don't want to become Stack Overflow.
 
A day doesn't pass on the SO Java tag without each of the following three questions:
1. .equals() vs == string comparison
2. Null Pointer Exception, without a stack trace.
3. Index Out Of Bounds Exception, without a stack trace.
 
And don't forget... At least half of Java questions on SO will have "JAVA" in the title.
8
 
I always think of JAWS whenever I see JAVA...
 
I'm always too blinded with rage to think of anything x.x
 
1:41 AM
One thing that ticks me off quite a bit: questions as titles that lack a question mark. Someday I'm gonna go off the edge and end up downvoting each one until they're fixed.
 
So that annoys you, huh
:D. Just kidding. That drives me insane too. I'm having to make myself resist editing in the question mark above.
 
It's like some kind of disease or something.
To*
>.<
 
Ah, dammit. I swear I know the difference between two, too, and to. Not sure what happened there :/
(I was really tempted to change the wrong too to to.)
 
I thought it was on purpose. :P
 
Uhhhh.... Oh. I should have gone with that. Damn.
 
1:45 AM
"how you optimize link list in JAVA"
tries not to search for such a title on SO
 
x.x
 
Oh, good. No matches. :-)
 
Sadly, that's surprising.
 
It really is. Oh, I also came across this some time ago:
5
Q: Review Java Code.

Mister BunkerWas sent here to get some of code reviewed. Having difficulties with the problem. Wanted to know if I was going in the right direction. Here is the problem: Create a Java GUI program which has one button, one text box and one textfield. When a user click on the button, the system should pop u...

 
o.O
 
1:48 AM
I wasn't sure if it was worth editing (especially given the low front page activity), so I just downvoted it.
 
It's surprising some of the old questions that have managed to survive. I have no idea how that has 2 answers.
 
@syb0rg Hi
 
I wish there were higher standards back then, but I understand that the site was just starting out. What's important is that we're maintaining quality for new questions.
 
Hey all
 
@200_success hey success
 
1:51 AM
Heya
 
@Corbin .... I do actually sleep..... Monkey-naps, you know?
 
@Sham Hi. You have a Python question?
 
@Jamal would it be worth casting a not clear what you're asking close vote then?
 
cs61A is very nice course
yes i have one
 
@rolfl Ah, I guess chasing bananas all day would get tiring :p
 
1:53 AM
@Mat'sMug Well, that OP never did state what he wanted, and that's quite a painfully-bold wall of text.
 
Hah. The title isn't even valid anymore. And it has the whitespace trick to get around duplicate titles.
 
@Sham Go ahead...
 
so in java we create abstraction by generating classes(which has property & operations on those property) and in python we show abstraction by creating functions?
 
I'm thinking I should edit the "About me" section on my profile. Any ideas on what it should say?
 
Have you ever seen worse variable names: stackoverflow.com/questions/22521905/…
 
1:58 AM
in java we use class name which abstracts its internal complexity and in python we use name which binds to value or computational process(function)
 
Ah. Looks like this Java/C++ zombie is off-topic:
2
Q: Best way to read data from large files in C++ to Java?

user93665Im a beginner in JNI and Java. I have a JNI program which reads data from C++ files into Java. The C++ files belong to the Open Trace Format(OTF). The current JNI interface works fine, when I try to read in data from C++ into Java. But it becomes very slow when I try to read in data from large fi...

The JNI program was not written by me, so Im not sure how to optimise it.
 
How do you read your code with variable names like that... O.Osyb0rg 21 secs ago
 
You don't, and that's why I didn't answer it.
 
@syb0rg
This is the half-human side of syb0rg, used only for the intentions of <s>slaying zombies</s> *reviewing code*.

I vote as if my life depended on it, especially on the responses to my posts.
@rob0t
This is the half-robot side of syb0rg, used only for the intentions of a chat bot.

I do not vote, except on the responses to my posts.
 
This question appears to be off-topic because the code is not originally written by the poster of this question. — syb0rg 24 secs ago
 
2:02 AM
@200_success in java we use class name which abstracts its internal complexity and in python we use name which binds to value or computational process(function)
 
@Sham Python can work just like Java, with the added flexibility of being non-object-oriented if you prefer.
 
@Mat'sMug I kinda like that :)
 
Also, it's basically impossible to analyze code written in a language you don't understand.
 
@200_success non-object oriented in the sense functional paradigm in python
 
@nhgrif Mmm, not completely true. It depends on how you define "analyze".
 
2:06 AM
@Sham I'm not sure what you're asking, but Python isn't quite a good language for functional programming.
 
@nhgrif - your statement is partly true - *it's basically impossible to analyze code written in a language you don't understand*
The true part is that you have to be able to read the code....
The false part is that once yuou can read the code, the logic constructs in pretty much all languages are comparable to things you know anyway.
The fuzziness comes down to how deeply you need to analyze things.
 
@200_success i mean, when is say 'from operator import mul' john said that name mul is assigned to a computational process(which is a mul function which takes 2 args and return a value) so name mul is abstraction for that computation, so am saying this is functional paradigm
 
question
if you undelete a post with +3 votes
 
[most] badges are eternal
 
do you get the rep back, do you loose the badge disciplined ?
 
2:10 AM
You keep the badge,
 
and that's a good question about the rep
 
to be found out then
hmmmm
 
I believe you do get the rep back as well.
 
@Sham True, mul is a function, and functions are first-class in Python, which helps you do some functional programming. However, there are limitations to how far you can take functional programming, for reasons given in the link.
 
Hey @Utkarsh
 
2:11 AM
@syb0rg You were right! Earning reputation is easy here!
and it is Useful too!!!
 
Told you ;)
 
@Mat'sMug After i enter into chat room, if i edit my profile and then change name(let's say), is myname suppose to get reflected in chat room as well?
@200_success first_class?
 
@Sham Yes but it takes about 30 minutes
 
@Sham It will take a little bit to change, but eventually it will reflect to what you changed it to.
 
ok
 
2:14 AM
46
Q: What are "first class" objects?

Federico A. RamponiWhen are objects or something else said to be "first class" in a given programming language, and why? In what do they differ from languages where they are not? EDIT. When one says "everything is an object" (like in Python), does he indeed mean that "everything is first-class"?

 
ok
 
Whatever happened to @kleinfreund?
 
@200_success: Have you seen this, by the way?
8
Q: Should we retain unanswered questions from deleted users?

JamalBackground We've had a user who asked many questions, mainly follow-up questions, some of which lacked sufficient detail and a review request. Due to some issues stemming from issues of the user and the community regarding how these questions should be asked, the user eventually had their accou...

 
@200_success i think i need to do some homework here with your given links
 
@Sham Learning is always good. :D
 
2:20 AM
@Jamal can we post questions like this, we are getting an error in this can anyone help?
 
@Utkarsh No, that would be something for SO.
 
@Utkarsh You can post it if it works. An error suggests it doesn't.
 
@Utkarsh For Stack Overflow.
 
Okay
 
@Jamal Why is retention of unanswered questions from deleted users a question in the first place? What's the default Stack Exchange behaviour? (I assume it keeps them around.)
 
2:23 AM
@200_success ok it is office time now, i need to go for my support/maintenance job):
bye !
 
@Sham Have a nice day!
 
Bye @Sham
 
@200_success In the case of on-topic questions, they could still be answered as the solutions are supposed to benefit everyone. But we're a bit different in that questions are localized to the OP and hardly anyone else.
 
@200_success Who is around to answer any clarifications?
 
We're talking about old zombies which no-one has wanted to answer.
 
2:27 AM
@JamesKhoury The question, once asked, should stand on its own. If clarifications are needed but cannot be provided, then it becomes "unclear what you're asking."
 
1
Q: Print out table with start/end temperatures and step size

DexoboxI am trying to learn C++ by myself. I looked up a sample question after going through some text. Though I would like someone to review my code. I'm basically asking you to break it to show some flaws or some thing I missed. As a beginner I tried exhaustively to improve it and now hit a wall to ...

 
@200_success The question was sparked by these questions: codereview.stackexchange.com/…
 
@200_success I assume it would then have an answer?
 
@Mat'sMug Did you see this?
5 hours ago, by syb0rg
So, Jamal. I may have accidentally created the tag...
4
 
Oh man, that C++ question is easy.
 
2:31 AM
@syb0rg yeah... starred ;)
 
@Jamal ((start*(9/5))+32) looks like a bug
 
Should be something like fahrenheit = (5.0/9) * (celsius + 32);
 
1
Q: Colorful Lights in HTML

UtkarshI am a beginner and I have made Colorful Lights using check-boxes in HTML. I'm pretty sure it will look horrible to any developer out there, but hey, that's why I've posted it. I'd like a general review of this. I'm especially concerned about the quality and enhancements of this form. <html> <...

 
@Jamal I see now. I agree with Jerry Coffin that posts should be judged on their own merit. Deleting questions based on who asked them is equivalent to ad hominem reasoning, which is generally bad, but once in a while it serves as a useful filter.
The problem is not that the questions originate from a user who has since been deleted. It's that they're low quality.
 
Quick question for anyone in here: what are your thoughts on a 'canonical' C++ question (or every language ideally -- C++ is just what I'm familiar with)? I've been thinking about it for a while, and I think there could be a great value in a community wiki question/answer pair where a relatively beginner snippet of C++ is posted with intentional missteps/bad practices, and then the answer(s) goes into extreme detail on issues and why those issues are a thing.
I hate it in a way because it means that a lot of questions would become redundant in the form of "Go look at this question," but at the same time, it gets old seeing the same "don't use namespace std", "use the c<blah> headers instead of .h," "declare one variable per line," blah blah blah that is in almost every C++ question.
Would people be willing to help with that, and does it seem like a good idea?
I've been meaning to post on meta about it for ages, but I've never gotten around to it.
 
2:36 AM
@Jamal Sorry, for stealing your style ;p
 
I've been wanting a checklist of C++ traps. It would go on for pages.
Not on CR, though. Probably on Programmers SE
 
We could break it into different questions, couldn't we? Like "What is the best-practice using namespace std?"
With code to review to make it on-topic of course.
 
@syb0rg Nope. That's off topic for CR, I believe. It would have to be formed as a "real" code snippet and answer.
Ah, ok
 
I don't see how it would make "questions become redundant". People (new users) would still post questions which contain C++ problems, and those questions would still be on-topic, and pointing out those problems in answers would still be on topic.
 
@200_success I notice that about two of the open ones don't have a review request. This seemed to be problematic with this user, even after others have offered advice.
 
2:40 AM
Then close them as off-topic (not because of who asked them).
 
Alright
 
@ChrisW true. I guess a general application of something doesn't really make redundant specific manifestations. It would be nice to be able to point to a central, long, thorough description of problems though. Could save a lot of explaining the same thing over and over again. Spotting the issues would still be necessary though.
 
@Jamal
Is there a list of the actual questions somewhere?
 
@Corbin There are already books about C++.
 
2:43 AM
I would volunteer to scan them all, and do a preliminary assessment. I can vote to close the ones I think are off topic, and then let the review queue either agree, or disagree.
 
@ChrisW Are in favor or against an example question? I'm not sure if you're arguing that it would be pointless or that while it would serve as a good reference, it would not detract from anything like I fear?
 
@rolfl if you down-vote one it will be auto-deleted in 30 days.
 
@Corbin - that would be a good question for meta.
Make it formal
 
@Corbin: I do see where you're going with this, but I feel that it makes for less of a specific review (not quite sure how to word that). And, like 200 said, it'd be quite a long list. Perhaps in these situations, we could strive to explain each of these points mentioned (and I am getting tired of talking about using).
 
"Are in favor or against an example question?" No I'm not. There are C++ FAQ topics on SO already, stackoverflow.com/questions/tagged/c%2b%2b-faq
 
2:48 AM
@rolfl I can still close the two that don't have a review request. That leaves just one.
 
@rolfl SELECT * FROM Posts WHERE OwnerDisplayName='user34330';
 
I have the list, thanks....
 
@ChrisW Ah ok
 
You could try that in case there are more. I assume all of the questions started with "a package."
 
I wouldn't mind applying a filter. Pseudocode: DELETE FROM Posts WHERE PostTypeId=1 WHERE Score <= 0 HAVING SUM(AnswerScores <= 0) AND OwnerDisplayName='user34330';
 
2:52 AM
I've closed two of those questions now.
 
I cast a final delete vote on one as well.
 
And this new one is off-topic:
0
Q: php chat system ,i can't reload the div

user3440258I have created the private chat system. I want to reload the div so that it can have the effect of instant messaging.I am very new to php. I know that I can use ajax to do this and I try but it does not work.A lot of error!I cannot do it. Here is the php file of the display messagees page:( <html>

 
0
Q: php chat system ,i can't reload the div

user3440258I have created the private chat system. I want to reload the div so that it can have the effect of instant messaging.I am very new to php. I know that I can use ajax to do this and I try but it does not work.A lot of error!I cannot do it. Here is the php file of the display messagees page:( <html>

 
The last remaining question is this one, but, based on it's merits, I think it qualifies as being 'on topic'....:
-1
Q: A package for utility methods - v2 - final

user34330Looking for general feedback on this package. This question is a follow up this post: Utility package comparable to underscores.js I changed my naming conventions and remvoed some excess methods. I added in better comments. This simple isType functions I keep for use in callbacks. That is th...

Not sure why it has the down-votes (+2 -3)
@Jamal , @all, For the record, there is also this zombie:
3
Q: A class for form data validation

user34330I don't want any feedback on the regexes as I know what needs to be updated here. Also, don't need any feedback on naming conventions. I'm looking for feedback on the structure and correctness of the class. /**************************************************************************************...

 
I've found this different question, which is potentially off-topic. I just can't tell for sure if the code is entirely someone else's.
1
Q: Cancelling Local WebClient ASync Operation

psubsee2003I had previously asked this question on SO. The answer pointed me towards using the task parallel library for multiple parallel downloads. I'm not actually utilizing this exact code, but it got me to rethink my design. The one open issue that wasn't really addressed (and I didn't ask it), canc...

 
3:04 AM
@Jamal Thoughts?
0
A: Print out table with start/end temperatures and step size

syb0rgThings you could improve: Bugs Your initial printing of the input command line arguments looks buggy. cout<<argv[1]<<endl; cout<<argv[2]<<endl; cout<<argv[2]<<endl; It looks like you meant to print argv[3] here, but accidentally put a 2. Syntax/Styling Please don't use using namespace...

@Yuushi What do you think? Any improvements? ^
 
@syb0rg Looks good. Regarding <string>, you would have to mention that it's accompanying your std::isnum suggestion.
 
@syb0rg Doesn't handle floating point at all
 
@Yuushi ChrisW covered that I thought.
I didn't want to steal his thunder.
 
I meant from the isnum / isdigit perspective
if you pass in (say) 45.3 (or something), both will say that's not a number
sadly fixing that in C++ is a bit of a pain
 
Hmmm. How would one go about that in the easiest way possible?
 
3:15 AM
 
A few points of my own:
1
A: Print out table with start/end temperatures and step size

Jamal #define macros are more common in C than in C++, and you should instead use constants: const int LOWER_LIMIT = 23.3; const int UPPER_LIMIT = 256.3; main() is doing too much. Ideally, you should have it handle input/output and function calls. For everything else, put them into separate functi...

 
@200_success I was just about to edit that into my answer! :)
 
I smell a hot question...
2
 
Well this turned into a wall of text:
0
Q: 'Canonical' questions to ease common issues

CorbinShort Version I believe it would be valuable to create a 'canonical' question/answer of sorts for each language, and I am hoping to get others' thoughts on this. These questions and answers would serve as a central explanation of certain common issues. All answers would still be expected to be ...

 
Hey @JerryCoffin
 
3:25 AM
@200_success c_to_f? Argh, less C-isms please!
 
@syb0rg Hello.
How's it going tonight (or this morning, etc., as applicable)?
 
It's going all right, I'm about to go to bed. Unfortunately my bot is offline ATM.
@JerryCoffin You?
 
@syb0rg Pretty much the same -- kind of tired after a long day of work, but nothing to complain about or anything like that.
 
@JerryCoffin Do you have anything to add to this soon-to-be hot question?
5
Q: Print out table with start/end temperatures and step size

DexoboxI am trying to learn C++ by myself. I looked up a sample question after going through some text. Though I would like someone to review my code. I'm basically asking you to break it to show some flaws or some thing I missed. As a beginner I tried exhaustively to improve it and now hit a wall to ...

 
Been hot for a while, actually
 
3:32 AM
I'm too lazy to post anything at the moment, so if someone wants to steal the code I posted and incorporate it, feel free
 
Yep. Third item on the list.
 
^ fancy graf for codegolf rep! :P
I'll do one for CR for a few users if you want :P
 
@Doorknob That would be cool!
I would actually like to see you do this code, you sound like a pro :) also i would have a great example to start with for learning c++. I am a newbie so i would like to know how would i parse the negetive numbers/arguments ? You have a great approach to the problem , i thing you will be able to generate the most robust and complete code :P Do you accept the challenge? :P :) — Dexobox 5 mins ago
@200_success is the only one that sounded like a pro among us all :P
 
3
Q: 'Canonical' questions to help address common issues

CorbinShort Version I believe it would be valuable to create a 'canonical' question/answer of sorts for each language, and I am hoping to get others' thoughts on this. These questions and answers would serve as a central explanation of certain common issues. All answers would still be expected to be ...

 
Well, I'm just a student, so I have a free pass. :P
 
3:35 AM
^ zoomed version :P
 
And another off-topic:
0
Q: url path refactoring

ValeryI am doing refactoring for node js + express application. For client images I am doing this kind of link, I am doing it in 10+ places. How can I make it kind of global, var urlPath = req.protocol + "://" + req.get('host') + '/api/users/'; The problem is that is uses req object, which is acc...

 
@Doorknob - I have some for you .... ;-)
 
@Jamal I'll go with that argument too... ;)
 
@rolfl I could graphify the race to 20k if you want ;P
 
@syb0rg Sadly, that includes the lack of compiler understanding. :-/ Plus I don't remember the last time I've actually tested the code I've reviewed.
 
3:38 AM
@Jamal You don't know how to use gcc?
 
@Doorknob -
CodeGolf: http://data.stackexchange.com/codegolf/query/167924/top-x-user-reputation?Days=150&TopX=15#graph
CodeReview: http://data.stackexchange.com/codereview/query/167924/top-x-user-reputation?Days=150&TopX=15#graph
 
@syb0rg I mean, they haven't taught us anything specific about compilers. We just learn the language, pretty much.
 
compilers is generally an upper-level course
 
@rolfl ^
 
I'll have to check again if we have that here. It may be grad-level.
 
3:42 AM
@Doorknob - yeah, I appear to have awoken the beast in palacsint.
 
0
Q: url path refactoring

ValeryI am doing refactoring for node js + express application. For client images I am doing this kind of link, I am doing it in 10+ places. How can I make it kind of global, var urlPath = req.protocol + "://" + req.get('host') + '/api/users/'; The problem is that is uses req object, which is acc...

 
His 'awakening' threw off my plans for the top row by a month
If you add 200_success in there as well, the graph is more interesting.
We have been 'neck and neck' for a lot longer.
 
copy/paste this into the console on this page to get an interactive graph!
 
I have that as a SEDE as well
@Doorknob - you did see the links I posted above, right?
 
@rolfl yes, but no fancy zoomable and interactive graphs ;)
well, there is a graph, but not customizable and zoomable :P
 
3:45 AM
Good night all!
 
Goodnight!
 
night @syb0rg!
 
@Doorknob sort of both, I can add as many users as I want, and over as much time period as I want (lower limit, not upper limit).
 
meh, I still like the highcharts version better ;P
it's more work though
 
yeah, I have invested in the SEDE system, and it covers a lot more than that chart
 
3:48 AM
@syb0rg A back-door way to ask an off-topic question. I might take the bait.
 
@Doorknob - things like this may interest you:
 
@rolfl ooh, very shiny and nice :D
I can't imagine how hard that query was to write. O_o
 
@rolfl It remains to be seen what Loki will do.
 
I couldn't resist jumping on the bandwagon:
1
A: Print out table with start/end temperatures and step size

CorbinThis question has been covered very thoroughly, but I have a bit more to add. Use spacing consistently. Sometimes you do if(x>y) sometimes you do if(x > y) and sometimes you do if (x >y). Pick one (that's not if(x >y) and stick with it. Personally, I prefer if (x > y) as the spacing makes the ...

 
3:58 AM
@Corbin answer #100 - congrats!
 
Oohhh nifty!
 
(there should be a badge for that!)
 
there should ;(
 
Well, there are technically some deleted answers. So this would include visible answers.
 
GTGTB TATA
 
4:03 AM
GOODNIGHT
 
Night
Wow, there was a lot wrong with that question. Originally only had one or two items. Just edited in about a half dozen more. I feel sorry for that poor OP. His code just got jumped all over by about 5 people x.x
 
hehehe car hits bike, not so bad after all!
 
@Corbin But Loki hasn't joined in yet. ;-)
 
:p
 
@syb0rg A little (though I haven't looked through the other answers to be sure I've really added anything new or different).
@Jamal Still plenty of time for him to join the fun.
 
4:21 AM
It'll be the finishing blow, too!
Gentlemen && / || Ladies! This has been the most enlightening code review ever. A first for me :) . I am learning from the best. — Dexobox 42 secs ago
2
Very fortunate of him to have received different reviews from some of the top C++ reviewers on this site. :-)
 
4:38 AM
TTGTB
ciao!
 
Goodnight!
 
5:01 AM
1
Q: Celsius → Fahrenheit conversion table

200_successIt's easy to do than criticize. Here's my attempt to implement a Celsius-to-Fahrenheit conversion table in C++. #include <cstdlib> #include <cstring> #include <iomanip> #include <iostream> #define DEGREE_SIGN "\u00B0" class Fahrenheit; class Celsius { public: explicit Celsius(double c)...

 
5:41 AM
@200_success You can cut down on duplication if you really want to:coliru.stacked-crooked.com/a/8d440b30bce5c471
 
6:10 AM
@Yuushi I like that. You would get an upvote or more if you make that an answer.
Each Temperature subclass should know its own abbreviation suffix, though.
The operator<< looks awkward as it is.
 
@200_success Yeah, I just wrote that up quickly, could certainly have a static constexpr suffix = '...';
 
 
1 hour later…
7:36 AM
morning @SimonAndréForsberg
 

« first day (320 days earlier)      last day (3696 days later) »