« first day (251 days earlier)      last day (3765 days later) » 
00:00 - 18:0018:00 - 23:00

6:01 PM
@Jamal, Sepp2k was on about an hour ago and CodeSparkle hasn't been on CR in 7 days
not sure what all you guys do, but I imagine that Sepp2k looks at the moderator tools while online.
 
@Malachi: Sepp2K also hasn't spoken to the other moderators lately, and codesparkle has said he will be gone for a while.
 
@Jamal well that kind of sucks
sepp2k is a ruby person too!!1 we need them here
 
6:14 PM
It's Friday, Friday. Gotta write code on Friday. *singing*
2
 
You monster.
 
@Jamal There's nothing wrong with writing code on a Friday, is it?
 
No, not at all.
But now that damn song is stuck in my head...
 
Call me crazy, but I don't hate that song at all :)
 
Maybe I just followed the bandwagon for a bit. There are worse songs anyway.
We-we-we so excited. We so excited.
 
6:20 PM
wait, what song? @Jamal @SimonAndréForsberg?
 
@Jamal Not familar with that song, only with the similar song by The Pointer Sisters.
 
@Malachi You're kidding me...?
 
Pauses Dubstep
 
Consider this a warning. :-P
 
6:21 PM
Views: 63 660 752. Likes: 333 846. Dislikes: 1 282 998.
I'm proud to be one of 333 846 people :D
 
OMG rather listen to Aqua
 
Programming programming YEAH. Programming programming YEAH.
 
@Jamal Meah
@Malachi Aqua rocks.
 
Aqua isn't that bad either. They're probably responsible for about 10 percent of my childhood.
 
now I am watching this for some reason
 
6:24 PM
My musical tastes span just about every reasonably common genre. Though there are some genres that are not well represented.
 
Not country though.
 
@syb0rg Four or so songs.
2
 
this is what I am listening to right now while I try to figure out why my SQL isn't returning what I command it to
 
@Donald.McLean Name one!
(and I mean it, I'd like to hear a good country song)
 
@SimonAndréForsberg Juice Newton - Angel of the Morning and Queen of Hearts.
 
6:27 PM
Joe Diffie Third Rock from the Sun @SimonAndréForsberg
Joe Diffie Pickup man @SimonAndréForsberg
 
Juice Newton it is then :)
 
I'm not saying that these are "good" songs, since that is an absolute judgement, and there are no absolutes with artistic taste. I'm just saying that I like them.
 
@Malachi There's a Swedish song perfect for when things go wrong. youtube.com/watch?v=VAhPwvfKGfA The first part of the lyrics translated to English is "To hell. It goes to hell. Completely to hell."
@Donald.McLean Angel of the Morning, I like it! And recognize it.
 
@SimonAndréForsberg LOL
 
Is Taylor Swift really country? That's the genre given, but I'm not convinced.
 
6:32 PM
just for you @Jamal
 
Ping Simon as well. It is his favorite song, after all. ;-)
 
@Donald.McLean I knew I recognized it. Of course it was "borrowed" by a song that made up about... two percent of my childhood. youtube.com/watch?v=VAhPwvfKGfA
 
this is the best one right here @Jamal @SimonAndréForsberg youtu.be/DzSuJt5mDPY?t=1m2s
 
Faith Hill - This Kiss
 
yeah back to dubstep not even going to finish the kids react video
 
6:34 PM
Shania Twain - You're Still The One
 
Thanks to Breaking Bad, I know about this one:
 
@Malachi Haha, I can't believe you have missed Rebecca Black. Her parents paid a quite large amount of money to Ark Music Factory, and then Ark Music gave her two songs to choose from, and she chose to record "Friday".
 
Most of the music I like is some form or variant of Rock though. Do Wop to Death Metal and everything in between.
And for the non-rock, it's mostly big band and classical.
My main playlist contains 2847 songs.
 
My playlist contains only one song. On repeat.
I do switch the song once or twice every day though :)
 
I can take a wild guess on that.
 
6:42 PM
@Jamal WTF
 
@Malachi: Not the best preview, I know. I don't even understand that video.
 
@Jamal Nice song. Not sure whether it's a 3 or 4 though.
 
it looks like the same people at different points in their life
 
@Donald.McLean: I'm not a music connoisseur anyway. I just pick up ones that interest me as I find them, including that one.
 
My playlist consists of Youtube videos right now. I try to keep it to stuff with out words because it's distracting, but then again so is Code Review
 
6:46 PM
@Jamal I'm not a connoisseur either, I'm just a guy who loves to listen to music.
 
@Donald.McLean: I seem to have a weird way with music, or I just haven't discovered thousands of songs yet. I only have about 60 or so of some genres.
 
@Jamal It helps that there are other people in my family, and we have all contributed to the family music library. I listen to all of it and if I like it, I add it to my library. The library has over 9000 songs, but only those 2847 so far have a 4 or 5 star rating.
 
@Jamal In my opinion, moderators should step in as a last resort. That's my interpretation of A Theory of Moderation. That would also give a chance for the rest of the community to develop, and perhaps a chance for the other two moderators to participate. If you're already doing everything, there's not much left for anyone else to do.
4
 
Only 34 of those 2847 get 5 stars.
 
@Jamal Are you a fan of Futurama? This is a great episode: futurama.wikia.com/wiki/God_Entity
 
6:57 PM
@200_success With a site as bit as Code Review, "as a last resort" happens often enough, I'm sure.
 
@200_success: Most of that is editing anyway, which I would still be doing as I have that privilege. Plus, no one else bothered to clean out many of the unanswered question (which I understand), and I had the power and the time to do it right away. I leave most of the closing and reviews to the community. There haven't been too many mod issues lately, but most of them have been seen by others and flagged.
 
1
Q: A better way to set defaults in a Ruby options hash?

David WestI have a specific method that I like because it lets me decide whether or not I want to use the default. If I want anything different I enter in :option => value otherwise I get the default. Here's a concrete example that works, but is a little ugly. How can I accomplish the same thing in a more...

 
7:15 PM
Personally, I'd prefer if you lightened up on the editing. Editing old posts flushes front-page content, which unfairly robs current contributors of time to let others see their work, and thus depresses rep scores. Editing stuff that is already on the front page is OK. Editing vague titles is probably a good idea. Retagging, maybe if you do just enough to set a good example — it doesn't need to be exhaustively perfect. Editing a old post with no answers, maybe, because it could revive it.
Trivially editing an old post that already has good answers should be avoided. Fixing slightly imperfect English grammar in the body of a question, please don't, as long as we can understand it. Not all non-native English speakers appreciate such corrections.
Anyway, that's my opinion. Others may weigh in.
 
I agree with @200_success
 
@200_success: I can certainly discontinue editing old posts. I don't think there's much else that really needs to be retagged anyway. The issue today was with Brainfuck, which is my fault, and I'm glad you made me aware of it.
 
I do appreciate your help organizing the site, and I'm sure there was a lot of cleanup work to be done when you became moderator, but I would prefer that we settle down to a steady-state norm sometime soon.
 
And we surely can, starting today.
3
 
Instead of editing posts if you're bored, @Jamal: Learn Java! :)
 
7:22 PM
@SimonAndréForsberg Java is obsolete. Learn Scala.
 
@SimonAndréForsberg: I don't really do it just because I'm bored. If that were the case, the front page would be flooded many times over. I'm running short on time anyway, so I'll just save Java for my OO class.
 
0
Q: Pig Latin Code Kata

user341493I've just complete a Pig Latin translator as a code kata and I was hoping someone would review it for me. Here is the kata: PigLatin Kata Create a PigLatin class that is initialized with a string - detail: The string is a list of words seperated by spaces: 'hello world' - detail:...

 
@Donald.McLean I do plan on learning Scala as well some time. I don't think it's obsolete though.
 
@SimonAndréForsberg I'm just referring to the fact that anything you can do in Java can be just as easily (or more easily) done in Scala.
 
@Donald.McLean Tell that to my boss... :)
 
7:34 PM
People get hung up on people whining about how "hard" it is, but you don't have to use every last feature or library class.
It is possible to use it as nothing more than a slightly more expressive form of Java.
 
7K:
2
@200_success I keep thinking you are not that far ahead of me in your rep, and that I need to get 'ahead' of you to hit row-1 on the table, buth then your rep keeps getting bigger, and I realize if I want to out-pace you, I am going to have to stop upvoting your answers .... ;-)
Can you please post some crap so we can all down-vote .... is that even possible?
 
Here you go. Downvote away!
-1
A: Converting enum values to strings in C++

200_successYou should use one of the preprocessor macro-based solutions proposed in StackOverflow Question 147267. For example, here is a solution using X() macros. I've also rewritten your get_state_as_string() as a stringifier for iostream. #include <iostream> #define X_THINGS \ X(DTypeAnimal, "Ani...

 
@rolfl give me 685 upvotes on this one and I'll be right behind you!
0
Q: Recursive Regular Expressions

Simon André Forsberg I want to first search for a specific regular expression. If it is not found then I would like to search for another regular expression If that one is also not found then I would like to search for a third (And so on...) Whenever a matching regular expression is found, I want to return a Strin...

@rolfl In other words: Congratulations, monkey :)
 
7:50 PM
Can't we all just get along? Go Team Canada!
 
A
 
No, it's "eh".
 
Of course ... eh
@200_success that really is not your best answer ... not if Loki thinks it's wrong ;-)
Looking for peer pressure?
Not sure if it is worthy of a down-vote, it does add to the ocnversation,
I reserve downvotes for real crap.
 
I can't use Latex on CR?
 
only math.se
 
7:52 PM
But we do have Hot 18.
 
@200_success not to us Minnesotans, sounds like you all say A
 
Oddly enough, tex.stackexchange.com does not support LaTeX.
 
that is weird
 
@200_success <badjoke> If there would be bdsm.stackexchange.com, maybe they would support Latex. </badjoke>
 
2
Q: Recursive Regular Expressions

Simon André Forsberg I want to first search for a specific regular expression. If it is not found then I would like to search for another regular expression If that one is also not found then I would like to search for a third (And so on...) Whenever a matching regular expression is found, I want to return a Strin...

 
8:07 PM
@SimonAndréForsberg took a pot-shot at your rec regex
 
How bizarre. Someone upvoted one of my answers on SO. That pretty much never happens.
 
oh Carp, pulling a @retailcoder today, I only have 5 votes left
2
 
6
Sex and Intimacy

Proposed Q&A site for consenting adults who engage, or want to, in intimate and/or sexual activity.

Currently in definition.

They could use some support.
 
They probably could, but, do you want it published that you hav only got 101 sex rep?
5
 
Should have been a bonobo.
 
8:18 PM
Man they are loose those apes .... like someone i know.... hang on, can't say that here.
 
again I use WTF in CR chat
 
You know, I am happy for people to joke about my CodeReview rep, but my S&I rep is taboo .... because I start my S&I rep in JonSkeet territory ... ;-) I am the S&I-Skeeter!
 
@rolfl Theoretical Star (for Humor)
 
@SimonAndréForsberg What's your motivation behind the regex question?
 
@200_success Work. I'm doing some work on a pretty huge and complex (and nasty code) Java project, and one of the bugs made me create that method. There are a bunch of strings, and some strings should be handled in a special way. I'm using regex to determine which part of the string that should be handled specially.
 
@SimonAndréForsberg It must be really nasty code then. I won't enquire about the details.
 
@200_success The project contains horrible code. Even the regex method in my question is clean when compared to the rest of the code in the project...
Thankfully(?), I am not the person behind the horrible code in the project. I'd prefer to rewrite lots of the parts of it, but I'm not allowed to. My job is just to fix the bugs and add the features, not fix the dirty code.
@rolfl ITERATION! Why didn't I think about that?
 
@Malachi - why not this one:
186
Relationships and Dating

Proposed Q&A site for people seeking answers to questions about dating, long term relationships, love, marriage or other commitments, and everything else typically considered a "relationship".

Currently in commitment.

S&I seems to be a subset of that, at least the I part.
 
@Malachi: You should consider being pro-tem of that site. ;-)
 
@Jamal Theoretical Star.
 
8:44 PM
@SimonAndréForsberg You Did think of it, I just had to subliminally remind you ;-)
 
the S & I site is going to be rather touchy like the Christianity site, no opinions, based on references type of deal
 
0
Q: Replace MySQL table with data from csv

stiqI have a CSV file on about 200 MB/1 mill rows, which is updated every night. I need the values from this file available in a MySQL table. I get this working by using LOAD DATA INFILE filepath REPLACE INTO TABLE tablename. This is fast and it keep my indexes. The problem is that values which are ...

 
OK, Cheesy meta-question... did I Over-cook this answer? I think it may have been more than the asker wanted... was I off-base?
0
A: How to pass the input parameters correctly to a method?

rolflLike most times, it is best to validate your data before you use it. In your case, since the input data needs to be validated by the Database infrastructure, I recommend adding it to the IDBClient interface. I also assume that the paramMap is the query you want to run, and not part of the user/l...

 
2 invalid flags on my flag....buggah
brb
 
OK people, read what the monkey wrote as: "I am not sure why I haven't been given any up votes to this answer yet. Can you please up vote me?"
 
8:48 PM
@SimonAndréForsberg - exactly.
 
By the way, @200_success, when do we plan on concluding the Best Of?
 
Good question. It seems to be fizzling out anyway. What would you like to see happen?
 
We can choose the winners or whatever else was planned.
 
@rolfl Even though it's not exactly what the OP asked for and it isn't probably so important, your answer there is useful. Upvote applied.
 
0
Q: Custom UI - Seeing which control has focus

Kyle BaranI'm trying to make a simple UI to better understand how interfaces and the System.Windows.Forms Controls behave. Like the above namespace, I will be able to get and set the Focus on a particular control, with a helper method to drill down to see which Control (or child Control) actually has the ...

 
9:03 PM
In deciding what to do about Best of 2013, I'd like to ask, what should we do differently for Best of 2014 (if we think it's a good idea to hold it at all)?
 
@200_success I think that we should think more about how to write good answers. And to vote more. And nominate more answers.
 
@SimonAndréForsberg Are there posts that should have been nominated for 2013 but weren't?
 
@200_success My posts! :P
@200_success Honestly, I'm not sure. Perhaps there haven't been that many really good answers, with regards to the categories.
 
Has anyone seen this one yet?
0
Q: Replace MySQL table with data from csv

stiqI have a CSV file on about 200 MB/1 mill rows, which is updated every night. I need the values from this file available in a MySQL table. I get this working by using LOAD DATA INFILE filepath REPLACE INTO TABLE tablename. This is fast and it keep my indexes. The problem is that values which are ...

 
9:26 PM
@Jamal Looks off-topic. Can't come up with the exact reason right now though
 
@SimonAndréForsberg Well, it isn't working code for one thing.
 
@Jamal I had to go pick up my daughter from school I haven't looked at it yet
@Donald.McLean it does look like he is accomplishing what he wants to do, but not entirely to his satisfaction.
 
9:46 PM
@Jamal Can you migrate it to dba.SE?
 
that site isn't going to make it past the definition phase
 
@200_success: Yes. The one I've linked?
 
@200_success did you flag it for migration already?
 
Sometimes, Proguard is just a pain in the *****
 
Crap, I was putting together a nice review on the Mysql LOAD question.
Now it is locked... ;-)
 
9:57 PM
@rolfl migrated now
 
0
A: Replace MySQL table with data from csv

rolflWhen populating the data there are a number of issues you may run in to. The data size itself is not huge, but more inconvenient... you could choose any of the mechnisms for populating it including regular selects. The right way to be doing it is with the TRUNCATE followed by the LOAD. If you ar...

 
@rolfl I was just about to post the question link for you
 
OK.... nap time.
2
 
@Malachi: You could also flag that comment there as obsolete since it wasn't sent to SO.
 
@Jamal or i could delete it
wouldn't let me flag it
 
10:00 PM
@Malachi: Duh. :-P Yes, do that.
 
lol
 
Huh, there's a SE 'bug'... I upvoted that question before it migrated, and I can upvote it again now.....
 
different site
not really a bug. when you run out of votes here you can still vote there as well
here is what that site needs to move to the next step
54 more followers
40 more questions with a score of 10 or more
 
10:28 PM
I may need to offer a bounty on my latest question in order to stimulate an answer.
3
Q: WAVE to FLAC encoder in C

syb0rgThis is a .wav to .flac encoder that I wrote a little while ago. The only method that is really called is encode(), which takes in a .wav file, converts it to FLAC, and stores it in the .flac file that is taken in as a parameter. I would prefer suggestions on how to improve the method, decrease...

 
00:00 - 18:0018:00 - 23:00

« first day (251 days earlier)      last day (3765 days later) »