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.
@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
@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".
@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.
@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.
I 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...
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.
@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.
@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.
I'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:...
@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?
You 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...
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...
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...
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!
@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.
@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.
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.
I 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 ...
Like 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...
I'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 ...
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)?
I 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 ...
When 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...
This 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...