Skip to content

Instantly share code, notes, and snippets.

@Shog9
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shog9/af9d8186690cb658aafe to your computer and use it in GitHub Desktop.
Save Shog9/af9d8186690cb658aafe to your computer and use it in GitHub Desktop.
Effects of comment blacklists
  • Attempted: +1 of the two answers here I like that this one caches the element references and only traverses the DOM once.
    Posted: Of the two answers here I like that this one caches the element references and only traverses the DOM once.

  • Attempted: +1 for contribution :)
    Posted: for contribution +1 :)

  • Attempted: -1 : check this http://meta.stackexchange.com/q/8231 related to providing links as answers
    Posted: check this http://meta.stackexchange.com/q/8231 related to providing links as answers. In that case use the comments area to suggest an external link

  • Attempted: +1 for being first with something that would actually solve the problem. It's not exactly pretty, but useful nonetheless.
    Posted: You're the first with something that would actually solve the problem. It's not exactly pretty, but useful nonetheless!

  • Attempted: +1 for being the first one to mention the depreciation of ereg
    Posted: I'm shocked that no one else has mentioned the depreciation of these functions

  • Attempted: +1 I'm a decent guy, this is a proper answer, and I don't want you to have to hit the 10,712 milestone twice! ;)
    Posted: gave up

  • Attempted: What have you tried?
    Posted: can you please post your code?

  • Attempted: +1. If you want you can copy my comment to improve your answer.
    Posted: If you want you can copy my comment to improve your answer. +1

  • Attempted: -1 -- This is not an answer, it is a "me too"!
    Posted: minus 1: This is not an answer, it is a "me too"!

  • Attempted: What have you tried?
    Posted: gave up

  • Attempted: +1 This is the correct answer! Thank you so much @Pagly!
    Posted: This is the correct answer! Thank you so much @Pagly! +1

  • Attempted: What have you tried?
    Posted: Please tell us what you have tried so far and maybe we can help you get unstuck.

  • Attempted: -1 for not handling URI-encoded values
    Posted: Your script does not properly handle URI-encoded values

  • Attempted: +1, but quotes are often useful with SET /A when using any of !, <<, >>, &, ^, | operators (also assignment variants). Without quotes the operators must be escaped.
    Posted: But quotes are often useful with SET /A when using any of !, <<, >>, &, ^, | operators (also assignment variants). Without quotes the operators must be escaped.

  • Attempted: +1 Scott's comment, and I'll go one further and suggest that it's simply not possible that the only differences between the two scenarios are correctly represented here. Please provide a concise and complete code example that reproduces the problem. See http://stackoverflow.com/help/mcve
    Posted: I agree with Scott's comment, and I'll go one further and suggest that it's simply not possible that the only differences between the two scenarios are correctly represented here. Please provide a concise and complete code example that reproduces the problem. See http://stackoverflow.com/help/mcve

  • Attempted: +1 - Actually reading the code makes more sense than the problem description... pretty sad that it takes an answer to clarify what the OP is asking.
    Posted: Actually reading the code makes more sense than the problem description... pretty sad that it takes an answer to clarify what the OP is asking - +1.

  • Attempted: +1 for "this error only comes from the parser". I didn't know that.
    Posted: "this error only comes from the parser". +1 I didn't know that.

  • Attempted: +1 for google spreadsheets then :-)
    Posted: Plus 1 for google spreadsheets then :-)

  • Attempted: +1 I guess I forgot about the looping part :)
    Posted: (+1) I guess I forgot to mention the looping part :)

  • Attempted: +1 for direct answer but I curious if there's a more F-sharpey way?
    Posted: thanks for direct answer but I'm curious if there's a more F-sharpey way?

  • Attempted: +1 for "Your view should not contain assignments. That's part of the business logic of your application."
    Posted: "Your view should not contain assignments. That's part of the business logic of your application." +1

  • Attempted: +1 For using the local folder. Thanks, this was causing quite a headache.
    Posted: + 1 For using the local folder. Thanks, this was causing quite a headache.

  • Attempted: -1 for broken fiddle link.
    Posted: Downvoted b/c the fiddle link is broken

  • Attempted: +1 This one seems to work with leap year.
    Posted: This one seems to work with leap year.

  • Attempted: +1 for posting a homework question with properly formatted code!
    Posted: I'll give you an upvote for posting posting code with proper formatting.

  • Attempted: +1 Thanks, this helped me, too!
    Posted: Thanks, this helped me, too!

  • Attempted: What have you tried?
    Posted: What have you tried so far?

  • Attempted: +1 for not just giving me food for thought but gave me also dessert for realisation..idk if what i said makes sense but all i know is happy..el ol el..
    Posted: ++1 for not just giving me food for thought but gave me also dessert for realisation..idk if what i said makes sense but all i know is happy..el ol el..

  • Attempted: -1 on grounds that this does not solve the question as asked...
    Posted: This would be better fit as a comment, as opposed to an answer, as it doesn't actually answer the question as asked.

  • Attempted: +1. In my opinion, the only answer which addresses the actual question.
    Posted: In my opinion, the only answer which addresses the actual question.

  • Attempted: +1 This works with basically same approach used in my anwser (you answered earlier than me).
    Posted: This works with basically same approach used in my anwser (you answered earlier than me). +1

  • Attempted: +1 It looks like good question!!!
    Posted: gave up

  • Attempted: +1 Welcome to SO! Please see How do I ask a good question?
    Posted: Welcome to SO! Please see How do I ask a good question?

  • Attempted: +1 good idea to do it with css
    Posted: good idea to do it with css

  • Attempted: +1 for an interesting solution to an old problem!
    Posted: interesting solution to an old problem!

  • Attempted: What have you tried?
    Posted: Please read this article Then, try to goolge around, try something, and if you still have problems, come back and edit your question, including whatever attempts you've made

  • Attempted: What have you tried?
    Posted: What have you tried so far?

  • Attempted: +1 for Good Question
    Posted: Good Question, so +1

  • Attempted: +1 Haha... I've made the same mistake of jumping to answer without an understanding of the question. I think we all have made that mistake!
    Posted: @billy Haha... I've made the same mistake of jumping to answer without an understanding of the question. I think we all have made that mistake!

  • Attempted: +1 This answer is much more flexible than the selected one
    Posted: This answer is much more flexible than the selected one +1

  • Attempted: +1 This explanation is very good, and has very nice code examples.
    Posted: This explanation is very good, and has very nice code examples.

  • Attempted: +1, Thanks for the help Cerlin!
    Posted: Thanks for the help Cerlin!

  • Attempted: -1 for lack of research. You'll want to do this: st = "Line 1" + vbCrLf + "Line2"
    Posted: You'll want to do this: st = "Line 1" + vbCrLf + "Line2"

  • Attempted: +1 Well seen that bsxfun part
    Posted: Well seen that bsxfun part

  • Attempted: +1 for instructing OP on the camelCasing java convention for the battle object. though it might be worth noting, that you could leave it be and NOT call a method. have everything in the constructor of Battle
    Posted: plus 1 for instructing OP on the camelCasing java convention for the battle object. though it might be worth noting, that you could leave it be and NOT call a method. have everything in the constructor of Battle

  • Attempted: +1 "dinky standalone dizmo" aka Cassini. Yes...use IIS!
    Posted: "dinky standalone dizmo" aka Cassini. Yes...use IIS!

  • Attempted: +1, but I've never needed -e production, what you have in Heroku is production.
    Posted: upvoted, but I've never needed -e production, what you have in Heroku is production.

  • Attempted: +1 this only select the ID field from the database - and are therefor more efficient
    Posted: good answer! This only select the ID field from the database - and are therefor more efficient

  • Attempted: +1 for adding the y'range
    Posted: gave up

  • Attempted: +1 Was just thinking about this if ((time_t) ... approach and then you fine answer pops up. Minor BTW: Cannot code work without the 2nd cast in ((time_t)-1 > 0)?
    Posted: Was just thinking about this if ((time_t) ... approach and then you fine answer pops up. Minor BTW: Cannot code work without the 2nd cast in ((time_t)-1 > 0)?

  • Attempted: +1 This is the correct answer. I'll delete mine as soon as the OP marks this as accepted.
    Posted: Plus 1 - This is the correct answer. I'll delete mine as soon as the OP accepts this answer.

  • Attempted: +1 for avoiding functions. Started to say the same, but you beat me to it.
    Posted: Plus one for avoiding functions. I started to say the same thing, but you beat me to it.

  • Attempted: +1 I was thinking the same thing.
    Posted: Good answer. I was thinking the same thing.

  • Attempted: +1 for the question title, -1 for the question based in misconception and bad coding style (not using initializer lists).
    Posted: +1 for the question title, -1 for the question based in misconception and bad coding style (not using initializer lists).

  • Attempted: -1 for not reading the fine manual before posting (don't worry though, we've all done that on occasion!).
    Posted: gave up

  • Attempted: +1 for the jQuery method.
    Posted: Thanks for posting the jQuery method - much easier than what I was doing before.

  • Attempted: +1 chdir($dir);echo getcwd(); this is far better than a user defined path resolution function. Thank you!
    Posted: chdir($dir);echo getcwd(); this is far better than a user defined path resolution function. Thank you!

  • Attempted: +1 for heartbreaking story of woe. Hope you got this fixed.
    Posted: gave up

  • Attempted: +1, it has me stumped to be honest. Not a clue. I'd suggest setting innerHtml but you've apparently tried that.
    Posted: Have my upvote, it has me stumped to be honest. Not a clue. I'd suggest setting innerHtml but you've apparently tried that.

  • Attempted: -1: You didn't read the question in the slightest.
    Posted: ---1: You didn't read the question in the slightest.

  • Attempted: +1 for userInteractionEnabled = YES. Don't forget to set it up in storyboard for elements like UILabel.
    Posted: gave up

  • Attempted: +1 It's also worth noting that this is advantageous because you can now type hint a variable number of arguments, as the accepted answer mentions
    Posted: It's also worth noting that this is advantageous because you can now type hint a variable number of arguments, as the accepted answer mentions that is a huge downside of func_get_args()

  • Attempted: +1 Thank you. Good answer!
    Posted: Thank you. Good answer!

  • Attempted: and the obligatory let me google that for you
    Posted: gave up

  • Attempted: +1 for that linked article, it was really helpful
    Posted: that article was really helpful, thanks

  • Attempted: +1 for mentioning {APPL_PHYSICAL_PATH} (I needed that for a problem I was working on). The problem with the deleted image you mention is caused by caching, either by IIS or URLRewrite itself (not sure). If you continue to hit the URL, the presence of the file will remain in cache. However if you don't request the URL for 60 seconds, it will check for the file again and realize it isn't there (anymore).
    Posted: Thanks for mentioning {APPL_PHYSICAL_PATH} (I needed that for a problem I was working on). The problem with the deleted image you mention is caused by caching, either by IIS or URLRewrite itself (not sure). If you continue to hit the URL, the presence of the file will remain in cache. However if you don't request the URL for 60 seconds, it will check for the file again and realize it isn't there (anymore).

  • Attempted: +1 @Rahul: That are two entities, one relation, the correct foreign keys, so it needs three inserts.
    Posted: That are two entities, one relation (which references the other two inserts), the correct foreign keys, so it needs three inserts.

  • Attempted: +1 because this do the work, I did not understand why someone downvote, nevertheless I more short command is the one gave by @Thomas.
    Posted: + 1 because this do the work, I did not understand why someone did - 1

  • Attempted: what have you tried?
    Posted: what have you tried so far? (beside creating this post...)

  • Attempted: -1 in advance, if you can answer why you think your current hardware cannot support Thanks Giving day load, you will get your answer for your above question
    Posted: If you can answer why you think your current hardware cannot support Thanks Giving day load, you will get your answer for your above question. -1 in advance

  • Attempted: +1 for pointing out the info in the docs.
    Posted: gave up

  • Attempted: +1, this is cool
    Posted: gave up

  • Attempted: +1 for the creativity of using indexed views. I can't help but think that there must still be some sort of overhead of doing it this ways - I wonder how it compares to using triggers.
    Posted: I like the creativity of using indexed views to enforce a constraint among multiple interrelated tables, but I can't help but think that there must still be some sort of overhead of doing it this way. I wonder how the performance compares to using triggers?

  • Attempted: -1, flagged as a link-only answer. What am I supposed to be looking at on that page? The answer doesn't appear to be there.
    Posted: flagged as a link-only answer. What am I supposed to be looking at on that page? The answer doesn't appear to be there.

  • Attempted: +1. Hope you can accept your own answer :)
    Posted: Hope you can accept your own answer. Hope you can up-vote others too:)

  • Attempted: +1 for your help......
    Posted: pluss onee for your help......

  • Attempted: +1. This should get more upvotes.
    Posted: This should get more up votes.

  • Attempted: -1 This is misleading, at best: your answer seems to imply that git reset only changes the look of git status's output.
    Posted: This is misleading, at best: your answer reads as if git reset only changes the look of git status's output.

  • Attempted: +1 for not tying data to a single display mechanism (html)
    Posted: A database that actually stores the input is beauty, storing HTML(-safe) presentations of that data is something for caching mechanisms ;)

  • Attempted: +1 I like the way you combine these rules
    Posted: gave up

  • Attempted: +1 Great stuff.... I changed my image from png to jpg but that did not remove alpha channels.. This solution worked form me.... Thanks
    Posted: Great stuff.... I changed my image from png to jpg but that did not remove alpha channels.. This solution worked form me.... Thanks

  • Attempted: +1 This is the right way to do it in MySQL, although it may require some fine tuning like initializing @d with start date, for example.
    Posted: This is the right way to do it in MySQL, although it may require some fine tuning like initializing @d with start date, for example.

  • Attempted: +1 Nice answer.
    Posted: ‎+1 Nice answer!

  • Attempted: +1 I wonder how other ppl didn't bump into this issue
    Posted: gave up

  • Attempted: +1 for this. There's absolutely no example of getting triggered fences without using the deprecated LocationClient :|
    Posted: There's absolutely no example of getting triggered fences without using the deprecated LocationClient :| The closest to documentation I've found is this https://github.com/jdellinger/AnDevConNov2014-LocationServicesDemoProject/tree/newapi - but it still uses the LocationClient to pick up fence triggers

  • Attempted: +1 for not doing git pull. The automerge of git pull is dangerous in this situation.
    Posted: The automerge of git pull is dangerous in this situation, it's better to do a reset.

  • Attempted: +1 Also, please add the above suggestion in your answer as an update for the benefit of others. Many thanks !
    Posted: Please add the above suggestion in your answer as an update for the benefit of others. Many thanks !

  • Attempted: +1 Good question. I never came across the other post :-)
    Posted: Good question. I never came across the other mentioned post :-)

  • Attempted: +1, but if aOwner isn't the MainForm, then the ShortCut won't be handled.
    Posted: If aOwner isn't the MainForm, then the ShortCut won't be handled. +1

  • Attempted: +1, beacuae the cursor is FAST_FORWARD
    Posted: Upvoted because the cursor is FAST_FORWARD

  • Attempted: +1 for not LINQ, have to use .net 2.0
    Posted: Thank you for the alternative since I have to use .net 2.0

  • Attempted: +1 it works, thanks a lot. I will accept your answer when the system allows
    Posted: gave up

  • Attempted: +1 new DateTime()
    Posted: gave up

  • Attempted: +1 for adding overall context to this particular use of cast.
    Posted: gave up

  • Attempted: +1 Hear hear! Only do exception handling at the entry points of your code (parent) and get rid of all that superfluous error handling at subroutines. Less is more.
    Posted: Hear hear! Only do exception handling at the entry points of your code (parent) and get rid of all that superfluous error handling at subroutines. Less is more.

  • Attempted: -1 Because you have posted four demos, only one of which appears to resemble the results OP wants, but with a wall of code. Try to include code in your answer and explain how it works.
    Posted: There's four demos, only one of which appears to resemble the results OP wants, but with a wall of code. Try to include code in your answer and explain how it works.

  • Attempted: +1 Too bad there is not more built-in support.
    Posted: Too bad there is not more built-in support.

  • Attempted: +1 for speaking examples.
    Posted: gave up

  • Attempted: +1 should have seen this :(
    Posted: + should have seen this :(

  • Attempted: +1 Only tool that is missing from your answer is awk, perhaps add a awk 'NR==2' for completeness.
    Posted: Only tool that is missing from your answer is awk, perhaps add a awk -v line=$line 'NR==line' for completeness.

  • Attempted: +1 nicely explained ;)
    Posted: nicely explained ;)

  • Attempted: +1 for not automatically downvoating a first-time poor-format question...
    Posted: for not automatically downvoating a first-time poor-format question - +1

  • Attempted: +1. While you might not need it or get the same advantages as with regular OLTP, there's certainly no harm in it.
    Posted: Exactly. While you might not need it or get the same advantages as with regular OLTP, there's certainly no harm in it.

  • Attempted: +1 for ur contribution..
    Posted: gave up

  • Attempted: +1 You are right.. In the question it was not mentioned properly. I confused..
    Posted: Plus1 You are right.. In the question it was not mentioned properly. I confused..

  • Attempted: +1 -- That is a awesome use of the ternary operator!
    Posted: gave up

  • Attempted: +1 you are faster than me @mgilson
    Posted: you are faster than me +1 @mgilson

  • Attempted: -1 (a) The code in your answer is not valid C. (b) The idea you are putting forth of 26 if statements is extremely bad. (c) Suggesting that someone switch languages is entirely inappropriate in an SO answer.
    Posted: (a) The code in your answer is not valid C. (b) The idea you are putting forth of 26 if statements is extremely bad. (c) Suggesting that someone switch languages is entirely inappropriate in an SO answer.

  • Attempted: -1 vote. This solution has a major issue. If the title of a ViewController is lengthy, the next ViewController's title won't show in the center. Rather it would take offset space from left and the title text seems right aligned. I was working on a project started by other guy and wasted hours to figure out why the title text is not horizontal center of the navigation bar. Finally discovered he used the above solution. If you are sure all of your ViewControllers' titles are short text then it's okay. Otherwise it'd become a nightmare!
    Posted: This solution has a major issue. If the title of a ViewController is lengthy, the next ViewController's title won't show in the center. Rather it would take offset space from left and the title text seems right aligned. I was working on a project started by other guy and wasted hours to figure out why the title text is not horizontal center of the navigation bar. Finally discovered he used the above solution in AppDelegate. If you are sure all of your ViewControllers' titles are short text then it's okay. Otherwise it'd become a nightmare!

  • Attempted: +1 Is this documented somewhere? it seems rather a bug to me, it works nevertheless.
    Posted: Is this documented somewhere? it seems rather a bug to me, it works nevertheless.

  • Attempted: +1 for providing a different approach to solving the problem. If there is no completely general solution, it is good to have multiple ideas that each may be applicable in different scenarios.
    Posted: Thanks for providing a different approach to solving the problem. If there is no completely general solution, it is good to have multiple ideas that each may be applicable in different scenarios.

  • Attempted: +1 FYI, I'm running into the same problem still with the latest Xcode 6.*. Am using same work-around for what looks like a bug.
    Posted: FYI, I'm running into the same problem still with the latest Xcode >6.1. Am using same work-around for what looks like a bug.

  • Attempted: +1 I came to this after looking at this question.
    Posted: ++ .. I came to this after looking at this question.

  • Attempted: +1 for bidding me up
    Posted: @ammi at least accept the answer

  • Attempted: +1; Two things worth adding: If you use bash's [[ ... ]] rather than the POSIX-compliant [ ... ] for testing, you generally do NOT need to quote the pathname (though it won't hurt); unless you need POSIX compliance, use of [[ … ]] is advisable, because it offers more features and fewer surprises. If you want globbing to also match hidden files, run shopt -s dotglob first.
    Posted: Good stuff; two things worth adding: If you use bash's [[ ... ]] rather than the POSIX-compliant [ ... ] for testing, you generally do NOT need to quote the pathname (though it won't hurt); unless you need POSIX compliance, use of [[ … ]] is advisable, because it offers more features and fewer surprises. If you want globbing to also match hidden files, run shopt -s dotglob first.

  • Attempted: +1 That worked for me
    Posted: gave up

  • Attempted: +1 It works perfectly for me. Simple example call var res = Balance(new List<int>() { 1, 2, 3 }, 4);``<br>**Posted:** @62316e it works perfectly for me. Simple example call var res = Balance(new List() { 1, 2, 3 }, 4);`, plus one to auther!

  • Attempted: +1 @Foxsly. Additionally I noticed this: there is no constructor before it .... If by this you are under the impression that you cannot call to methods further in the file; nothing can be farther from the truth. Java is unconcerned with the order that methods, or other bits, appear in the file (for the most part...static initialization rules do care, but that's not the issue here).
    Posted: is spot on. Additionally I noticed this: there is no constructor before it .... If by this you are under the impression that you cannot call to methods further in the file; nothing can be farther from the truth. Java is unconcerned with the order that methods, or other bits, appear in the file (for the most part...static initialization rules do care, but that's not the issue here).

  • Attempted: +1 Localize the state changes
    Posted: Of the two localized state changes will perform much better. You can also do this in situations where the data is managed elsewhere by using event emitters, where each component subscribes to an event name based on its props.

  • Attempted: +1 He's also creating and placing JLabels in that method.
    Posted: He's also creating and placing JLabels in that method.

  • Attempted: +1 for "tomfoolery."
    Posted: gave up

  • Attempted: +1. Also note the os.terminal_size member
    Posted: Much better than a popen call. The os.terminal_size member may be a bit cleaner, though.

  • Attempted: +1 You don't need the $.keys bit. You can sort the input array itself (make sure all values in there are actually in the dictionary).
    Posted: Upvoted. You don't need the $.keys bit. You can sort the input array itself (make sure all values in there are actually in the dictionary).

  • Attempted: +1for your comments
    Posted: Upvote for your comments

  • Attempted: -1 To get arbitrary time, wait in a while loop until this time is a current moment?
    Posted: gave up

  • Attempted: +1. Good explanation of the principle of least surprise and helpful tip.
    Posted: gave up

  • Attempted: +1 Brilliant! Works like a charm. I'd go as far as adding a 'update': {method: 'PUT', interceptor: interceptor} to the list of actions.
    Posted: +1 Brilliant! Works like a charm. I'd go as far as adding a 'update': {method: 'PUT', interceptor: interceptor} to the list of actions. (I had to put the +1 in code cause apparently it was going to distract you from my second sentence...wtf)

  • Attempted: -1 @CianGallagher completely irrelevant
    Posted: gave up

  • Attempted: +1 for thinking out of the box.
    Posted: Plus one for thinking out of the box. And minus one to SO for rejecting comments that start +1.

  • Attempted: +1 for the No, don't do this! :)
    Posted: + 1 for the No, don't do this! :)

  • Attempted: +1 for the sheer horror
    Posted: Upvoted for the sheer horror :-o

  • Attempted: what have you tried???
    Posted: what have you tried ?

  • Attempted: +1 to Bertrand for the link, I wasn't aware of any of that. Thanks for the info!
    Posted: Bertrand, +1 for the link, I wasn't aware of any of that. Thanks for the info!

  • Attempted: +1 to abarnert's comment about looking at repr and type (As we see in this question,repr isn't always good enough).
    Posted: gave up

  • Attempted: +1 Your point about yours being an application-agnostic workaround is a good one (and one that I overlooked on first reading). There's no real "runtime" equivalent in Excel, Word, Outlook, etc. Conditional compilation is probably the only reliable workaround for those applications.
    Posted: Your point about yours being an application-agnostic workaround is a good one (and one that I overlooked on first reading). There's no real "runtime" equivalent in Excel, Word, Outlook, etc. Conditional compilation is probably the only reliable workaround for those applications.

  • Attempted: +1 for the I just can't even. What do you have in the macro sub?
    Posted: What do you have in the macro sub?

  • Attempted: +1 for providing your data using dput(...)
    Posted: Providing your data using dput(...) is very helpful (+1).

  • Attempted: +1 nice. Don't know why it would be necessary, but cool anyway.
    Posted: gave up

  • Attempted: Try a search like: http://lmgtfy.com/?q=rails+ajax+action
    Posted: Try a search like this one

  • Attempted: +1 - my total was out as i was missing C4
    Posted: (+1) - my total was out as i was missing C4

  • Attempted: +1 - This must be the accepted answer as it is the only correct answer.
    Posted: This must be the accepted answer as it is the only correct answer.

  • Attempted: +1 for a solution that gives names and type safety to each returned value.
    Posted: Thanks for a solution that gives names and type safety to each returned value, without requiring a class declaration per set of returned value types.

  • Attempted: +1 seems to be good answer
    Posted: good point Basile - so how to verify in my linux machine which boot script will remove my files ?

  • Attempted: -1, this question is 3 years old with an accepted solution and the answer neither answers the question nor contributes to what was already given. And this is about C#, not java.
    Posted: gave up

  • Attempted: +1 You're reffering to exactly same type of bug ! WOW - that was a nice catch.
    Posted: You're reffering to exactly same type of bug ! WOW - that was a nice catch.

  • Attempted: Have you tried asking Google for help? Let me google that for you: http://lmgtfy.com/?q=ruby+on+rails+jquery+tutorial
    Posted: Have you tried asking Google for help? Try searching for "ruby on rails jquery tutorial".

  • Attempted: -1 for using every RDMS tag you could find
    Posted: Downvoted for using every RDMS tag you could find

  • Attempted: @AbhikChakraborty whatever the URL starts with https or www the command above will work (remember that www.site.com is http://www.site.com)
    Posted: @AbhikChakraborty the command above will work for all the URL types

  • Attempted: +1 Because at this point, most everyone should be using .NET 4 (or higher) and so they should be using this method instead of trying to hack it together.
    Posted: Upvoted because at this point, most everyone should be using .NET 4 (or higher) and so they should be using this method instead of trying to hack it together.

  • Attempted: +1 for redirecting OP away from disable-output-escaping!
    Posted: Applause for redirecting OP away from disable-output-escaping.

  • Attempted: +1 for the "general internet councils"
    Posted: gave up

  • Attempted: +1, that was pretty fast.
    Posted: gave up

  • Attempted: +1! You can use xaxs = "i", yaxs = "i", axes = Finside the call to plot for a nicer output.<br>**Posted:** You can usexaxs = "i", yaxs = "i", axes = F` inside the call to plot for a nicer output.

  • Attempted: +1: it did help someone... and probably saved me three days :-)
    Posted: it did help someone... and probably saved me three days :-)

  • Attempted: -1 this is unlikely to be useful to future posters. An actual copy of the error would be useful. A better formatted title also. A copy of the error is also useful. Good on you for including code that generates the error however!
    Posted: gave up

  • Attempted: +1 Thanks later I really want to discuss with you thanks so much :)
    Posted: Thanks +1 later I really want to discuss with you thanks so much :)

  • Attempted: -1: for overhead
    Posted: gave up

  • Attempted: -1 please make your API choice clear. Putting it in the comments below is not sufficient.
    Posted: gave up

  • Attempted: -1 please pick a language: C++ and C# cannot directly interact
    Posted: gave up

  • Attempted: +1 for the useful library! The poly-line looks particularly useful for the questioners sequence of .lineTo's. Cheers!
    Posted: Upvote for the useful library! The poly-line looks particularly useful for the questioners sequence of .lineTo's. Cheers!

  • Attempted: -1 is a comment that cannot be posted
    Posted: gave up

  • Attempted: +1 This is cool, but if a type is not available it simple displays the last pos+1, however can be fixed, I tried this, must be some easy coding too.
    Posted: This is cool, but if a type is not available it simple displays the last pos, however can be fixed, I tried this, must be some easy coding too.

  • Attempted: +1, but although this is indeed very sexy I have to note that Boost.MPL is slow as hell (and limited) when it comes to compile time.
    Posted: @IgorR. It can be made constexpr.

  • Attempted: +1 Well done for going the extra mile
    Posted: +one Well done for going the extra mile

  • Attempted: +1 for a one-liner
    Posted: Up-vote for providing a one-liner

  • Attempted: +1 for explanation.
    Posted: gave up

  • Attempted: +1For the upgraded quality of the post!
    Posted: For the upgraded quality of the post! +1

  • Attempted: -1, OP asked for jQuery and this would be better suited for jQuery. Using native JS and DOM is re-inventing the wheel.
    Posted: OP asked for jQuery and this would be better suited for jQuery. Using native JS and DOM is re-inventing the wheel.

  • Attempted: +1 Rather more helpful than my one-liner!
    Posted: Well done. Rather more helpful than my one-liner!

  • Attempted: +1 This is a great question, even if it technically doesn't precisely belong precisely here. Let us not be pedantic to the exclusion of common sense.
    Posted: This is a great question, even if it technically doesn't precisely belong precisely here. Let us not be pedantic at the expense of content which is both valuable and relevant. I clicked the upward pointy thing.

  • Attempted: +1 for "the folder should exist" - exactly my case!
    Posted: thanks for "the folder should exist" - exactly my case!

  • Attempted: +1 for actual code
    Posted: actual code for example makes this a better answer IMO

  • Attempted: +1, don't know this before.
    Posted: Thank you, don't know this before. and sorry if my comment above caused one -1 here.

  • Attempted: -1 in power 0.5 is i. So why can't you do that?
    Posted: Regarding (-1)^2 doesn't exist: -1 in power 0.5 is i. -1 in power 2 is 1. So why can't you do that?

  • Attempted: +1. I started out with that approach in mind and even had the code written, but went for the findInterval method because it generalizes better.
    Posted: Right. I started out with that approach in mind and even had the code written, but went for the findInterval method because it generalizes better.

  • Attempted: -1 Pretty much all of those steps are the least efficient and reliable way to do this. And decompiling/recompiling is rarely the answer anyway.
    Posted: Pretty much all of those steps are the least efficient and reliable way to do this. And decompiling/recompiling is rarely the answer anyway.

  • Attempted: +1 for imports order from short to long.
    Posted: Upvoted for imports order from short to long.

  • Attempted: +1 Good solution, yet it is worth mentioning that it requires mapping toolbox.
    Posted: (PlusOne) Good solution, yet it is worth mentioning that it requires mapping toolbox.

  • Attempted: +1 Excellent example!
    Posted: gave up

  • Attempted: -1 it's not a question of when IDisposable is used. It's a question of when it is implemented.
    Posted: it's not a question of when IDisposable is used. It's a question of when it is implemented.

  • Attempted: +1, My openlayers app stopped working today and updating Prototype from the ancient 1.7.rc3 to 1.7.2 did the trick!
    Posted: Just today an app I built that uses OpenLayers and google maps stopped working. Updating PrototypeJS from the ancient 1.7.rc3 to 1.7.2 did the trick!

  • Attempted: +1 This worked for me, but using ODBCConnection instead of OLEDB.
    Posted: This worked for me, but using ODBCConnection instead of OLEDB.

  • Attempted: -1: I asked 3 questions, and got a partial answer to 1. In addition, when someone asks you to improve a post, edit it into the original question (respond down here to let them know you made the change, but the change should go in the original post). Find the version of your compiler, and post it. Include actual source code that generates the error or warning, and the actual error message.
    Posted: Ok, now edit these details into the question. We have gone from a question about "gcc" as a whole to one about a particular branch of gcc on windows. We still don't have sample source code that generates the message (get on that), but you are getting closer to an acceptable question!

  • Attempted: +1 for Zen of Python.
    Posted: Approval for Zen of Python.

  • Attempted: -1, rubbish point.
    Posted: gave up

  • Attempted: What have you tried?
    Posted: What have you tried so far?

  • Attempted: +1 for throttling advice.
    Posted: gave up

  • Attempted: +1 and Doh!! I'm so used to looking for things by some property in a list of objects, rather than directly. @AaronJones If it's a list of numbers, yeah, indexOf would be the way.
    Posted: +1 and Doh!! I'm so used to looking for things by some property in a list of objects, rather than directly. @AaronJones If it's a list of numbers, yeah, indexOf would be the way.

  • Attempted: +1 for Path.GetFileNameWithoutExtension
    Posted: gave up

  • Attempted: +1 - I found this to be the simplest and cleanest solution.
    Posted: I found this to be the simplest and cleanest solution. Worked in iOS 8.1.

  • Attempted: +1 Beat me by a few seconds...
    Posted: Beat me to it...

  • Attempted: +1 simple and well explained ... for those following along and reading this at home ;-) the idiom: push @{ ... } is the replacement for the (fictional) function "nest" in the OP.
    Posted: simple and well explained ... for those following along and reading this at home ;-) the idiom: push @{ ... } is the replacement for the (fictional) function "nest" in the OP. :-)

  • Attempted: -1: yes, this makes the code work, but does not fix "the problem"! The problem is not that the code does not compile, but that the OP unnecessarily used a pointer and heap allocation!
    Posted: No this is not the best answer. Yes, this makes the code work, but does not fix "the problem"! The problem is not that the code does not compile, but that the OP unnecessarily used a pointer and heap allocation!

  • Attempted: +1 for sharing the common approach!
    Posted: gave up

  • Attempted: http://lmgtfy.com/?q=PHP+to+send+email - I hope this helps you ;)
    Posted: http://goo.gl/rUCeru - I hope this helps you ;)

  • Attempted: What have you tried?
    Posted: What have you tried so far?

  • Attempted: +1 for good suggestions
    Posted: @IgnisSnowman: if ultimate's answer helped, please up-vote it (like I have done) by pressing on the up-arrow next to the answer.

  • Attempted: +1 @redditor — @gagan, your media query will only include styles for the nav element(s)
    Posted: anything you don't specifically make responsive won't be responsive. in this case, your media query should only include styles for the nav element(s). pay attention to any percentage widths/heights on the rest of the page - they may cause you problems

  • Attempted: +1 if you way "that will work"
    Posted: plus 1 if you say "that will work"

  • Attempted: +1 for identifying scope issue
    Posted: gave up

  • Attempted: +1 for the simplicity of the answer.
    Posted: Plus one for the simplicity of the answer.

  • Attempted: +1 for Explaining the reasons for this approach.
    Posted: gave up

  • Attempted: +1. If the OP wants to be able to compare multiple items that are not of the same type and don't share a common superclass, it's better to just write a Comparator that knows how to do that. Your Area classes shouldn't really (IMO) need to know that Volume classes exist, nor how to compare themselves. If they did, then wouldn't your Volume class also need to implement both Comparables? You can see how this would quickly balloon out of control.
    Posted: I agree. If the OP wants to be able to compare multiple items that are not of the same type and don't share a common superclass, it's better to just write a Comparator that knows how to do that. Your Area classes shouldn't really (IMO) need to know that Volume classes exist, nor how to compare themselves. If they did, then wouldn't your Volume class also need to implement both Comparables? You can see how this would quickly balloon out of control, as you add more types.

  • Attempted: +1 @Jonathan, I didn't even know there were leftView/rightView. @MohammedMT, here's a link on how to implement letView/rightView http://stackoverflow.com/questions/13508836/add-image-to-uitextfield-in-xcode
    Posted: gave up

  • Attempted: -1 for cutting/pasting the entire question and NOT pointing out whatever (trivial) changes you've made.
    Posted: Do NOT just cut/paste the entire answer and NOT point out what you've changed.

  • Attempted: +1 to counter one unexplained down vote. Downvoters - at least say why you're downvoting. Seems like a perfectly reasonable question to me. If you explained why it isn't then maybe not only the asker but others reading might learn something.
    Posted: Downvoters - at least say why you're downvoting. Seems like a perfectly reasonable question to me. If you explained why it isn't then maybe not only the asker but others reading might learn something. Upvoted to counter.

  • Attempted: +1 for dispatch_sync part and explanation.
    Posted: gave up

  • Attempted: +1 @CodeCaster, Although voting is anonymous but something should be done for this revenge voting behaviour, I have seen a similar behaviour on Servy's question
    Posted: @CodeCaster , Although voting is anonymous but something should be done for this revenge voting behaviour, I have seen a similar behaviour on Servy's question

  • Attempted: +1 Since it is definitely useful too.
    Posted: gave up

  • Attempted: +1 for the reference provided. Will go through the link. Thanks mate :)
    Posted: + 1 for the reference provided. Will go through the link. Thanks mate

  • Attempted: +1. You can do the column subset in j directly. A[B, list(c1,c2,c3=c3-i.c3)].
    Posted: You can do the column subset in j directly. A[B, list(c1,c2,c3=c3-i.c3)].

  • Attempted: +1.. fantastic answer...
    Posted: fantastic answer... :)

  • Attempted: +1. This is the sort of thing i was hoping for, although i was thinking of UINT16_MAX, which obviously wouldn't help.
    Posted: This is the sort of thing i was hoping for, although i was thinking of UINT16_MAX, which obviously wouldn't help.

  • Attempted: +1 thank youuuuu
    Posted: gave up

  • Attempted: +1 for mentioning the exact problem and don't misunderstand that I copied your answer because I am doing this from last 10 min!!
    Posted: Thanks! for mentioning the exact problem and don't misunderstand that I copied your answer because I am doing this from last 10 min!!

  • Attempted: +1 this solved my issue.
    Posted: gave up

  • Attempted: +1; For anyone like me that at first didn't get how this works: the dot . is a shortcut to the previous revision.
    Posted: For anyone like me that at first didn't get how this works: the dot . is a shortcut to the previous revision.

  • Attempted: +1 for the explanations. I did not recognize 'classpath' was a method invocation. Does groovy allow to call methods with varargs without parens ? i.e. classpath 'param1' 'param2'
    Posted: upvote for the explanations. I did not recognize classpath was a method invocation. Does groovy allow to call methods with varargs without parens ? i.e. classpath 'param1' 'param2'

  • Attempted: +1 for actually using className = Best answer.
    Posted: gave up

  • Attempted: Eg. 'http://xyz.com/multimedia?keywords=sdf&s=title&c=21830'. If we refresh the URL the error is gone. Try another value for parameter 'keywords' and there it is again.refresh its gone
    Posted: Eg. 'http://example.com/multimedia?keywords=sdf&s=title&c=21830'. If we refresh the URL the error is gone. Try another value for parameter 'keywords' and there it is again.refresh its gone

  • Attempted: +1 Works for me. It just needs some obvious error checking (ignore invalid or null records, detect already formatted values).
    Posted: Works for me. It just needs some obvious error checking (ignore invalid or null records, detect already formatted values).

  • Attempted: +1 for poetic coding! Love it :-)
    Posted: Very nicely explained, and +1 for poetic coding!

  • Attempted: +1 very usefull question I found on time.
    Posted: gave up

  • Attempted: What have you tried?
    Posted: gave up

  • Attempted: +1 for suggestion.
    Posted: gave up

  • Attempted: -1 for not showing your final solution ("hybrid path" mentioned below)
    Posted: Please show your final solution ("hybrid path" mentioned below)

  • Attempted: +1 Thanks for the response!
    Posted: gave up

  • Attempted: +1 for a detailed answer on what the RetryPolicy implementation actually does.
    Posted: Thanks for a detailed answer on what the RetryPolicy implementation actually does.

  • Attempted: +1 for how to recreate the issue!!Thanks.
    Posted: Thanks for showing how to recreate the issue!!

  • Attempted: +1 for You should (also consider) using a JTable with one column without/without JTableHeader with RowFilter
    Posted: for You should (also consider) using a JTable with one column without/without JTableHeader with RowFilter

  • Attempted: -1: because I don't like you
    Posted: gave up

  • Attempted: -1: another test
    Posted: gave up

  • Attempted: -1: this is a test
    Posted: gave up

  • Attempted: +1 THIS. I've spent hours with trying to figure this out and my PhpStorm is unable to download the phar by itself, so I had to download it manually. Thank you.
    Posted: THIS. I've spent hours with trying to figure this out and my PhpStorm is unable to download the phar by itself, so I had to download it manually. Thank you.

  • Attempted: -1 for advocating the following via facades: global state, static calls for coupling (specifically, to the framework), and a service locator for dependency resolution making a liar of your object api.
    Posted: Minus 1 for advocating the following via facades: global state, static calls for coupling (specifically, to the framework), and a service locator for dependency resolution making a liar of your object api.

  • Attempted: +1 I can only think he means repeated digits in a number.. But that would also include 1001
    Posted: I can only think he means repeated digits in a number.. But that would also include 1001.

  • Attempted: -1 test comment
    Posted: gave up

  • Attempted: +1 for chain :)
    Posted: for chain +1 :)

  • Attempted: +1 test comment
    Posted: gave up

  • Attempted: -1 test comment
    Posted: gave up

  • Attempted: +1 question, especially if you consider that you can contrive a situation where you get a dangling reference.
    Posted: Good (plus one) question, especially if you consider that you can contrive a situation where you get a dangling reference.

  • Attempted: -1 for poor problem statement. A vague overview of a workflow doesn't contain nearly enough data for debugging. Nor is there a Minimal, Complete, and Verifiable example about the problem.
    Posted: A vague overview of a workflow doesn't contain nearly enough data for debugging. Nor is there a Minimal, Complete, and Verifiable example about the problem.

  • Attempted: +1 Almost done, But still have to satisfies the last record that is 8998 in my updated post. This 8998 record have belongs to A1,A2 but not to A3 means have not to be shown in the result.
    Posted: Almost done, But still have to satisfies the last record that is 8998 in my updated post.

  • Attempted: +1 correct, ammended.
    Posted: Correct, ammedended, additional ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr

  • Attempted: +1, but removing display:none from the CSS is probably better for showing it
    Posted: Removing display:none from the CSS is probably better for showing it

  • Attempted: -1 This question does not show any research effort
    Posted: gave up

  • Attempted: +1 this how I would have done it
    Posted: this how I would have done it +1

  • Attempted: +1 for suggesting CONSTRUCT first
    Posted: For suggesting CONSTRUCT first +1

  • Attempted: +1 for super fast answer.
    Posted: plus 1 for mention of negation based regex.

  • Attempted: +1 Thank you so much, appreciate your help!!
    Posted: Thank you so much, appreciate your help!!

  • Attempted: +1 for mentioning performance impact. be aware!
    Posted: upvoted for mentioning performance impact. be aware!

  • Attempted: +1 for simple and solve answer
    Posted: Thanks for your good and simple answer +1

  • Attempted: +1 testing if this is now blocked
    Posted: upvoted testing if this is now blocked

  • Attempted: +1 good idea too (depending on OP's goal)
    Posted: good idea too (depending on OP's goal)

  • Attempted: +1 for the most accurate solution to the open question of OP
    Posted: gave up

  • Attempted: +1, but that foreach without opening and closing curly braces looks ugly ;)
    Posted: Plus1, but that foreach without opening and closing curly braces looks ugly ;)

  • Attempted: What have you tried?
    Posted: Can you please show what have you tried?

  • Attempted: +1 exactly what i was about to post JSFiddle
    Posted: exactly what i was about to post JSFiddle

  • Attempted: +1 This is one of the approach
    Posted: This is one of the approach +1 to you mate

  • Attempted: -1 Oracle doesn't support TOP
    Posted: Oracle doesn't support TOP

  • Attempted: +1, For the link. and you can not completely remove the build u were going to upload but yes you can upload another build having the same version which was cancelled.
    Posted: You can not completely remove the build u were going to upload but yes you can upload another build having the same version which was cancelled and +1, for the link.

  • Attempted: +1 For the official statement about this from php.net! Which seems to be the most relevant source concerning this matter (imo).
    Posted: + 1 For the official statement from php.net! Which seems to me the most relevant source concerning this matter.

  • Attempted: +1 inplace of zach
    Posted: inplace of @Zach +1

  • Attempted: +1 on @luschn...
    Posted: gave up

  • Attempted: +1 to Roman Black: This is the solution that worked for me. You need to set the params with the type of the parent.
    Posted: agree w/Roman Black: This is the solution that worked for me. You need to set the params with the type of the parent.

  • Attempted: +1 for giving before me :)
    Posted: one up for giving before me :)

  • Attempted: +1 This should be the accepted answer, it goes straight to the point.
    Posted: This should be the accepted answer, it goes straight to the point.

  • Attempted: +1 for auto link
    Posted: plus 1 for autolink

  • Attempted: +1, this solution works for me, thanks!
    Posted: this solution works for me, thanks!

  • Attempted: +1 for ByteSize. Simple to use and understand, and it works with .Net 4.0 and up.
    Posted: Simple to use and understand, and it works with .Net 4.0 and up.

  • Attempted: +1 for last 2 lines.thanks
    Posted: gave up

  • Attempted: +1 for using 418:Teapot
    Posted: +1 for using 418:Teapot

  • Attempted: +1 for the example that shows GETDATE() and not just DATEDIFF
    Posted: Plus one for the example that shows GETDATE() and not just DATEDIFF, which is part of what OP needs.

  • Attempted: +1, thank you ridsatrio!
    Posted: Thank you ridsatrio!

  • Attempted: +1 for a good analysis.
    Posted: Plus one for a good analysis, but worth more — and screw SO's new rule that you can't write +1 at the start of a comment. Sorry, but that is a silly edict, and therefore will be ignored and abused whenever possible.

  • Attempted: +1 to mention TokenEnhancer.
    Posted: gave up

  • Attempted: Am I redirecting in Nginx? Only http://mydomain.com to http://www.mydomain.com?
    Posted: Am I redirecting in Nginx? Only http://example.com to http://www.example.com?

  • Attempted: +1 for understanding...
    Posted: Plus 1 for understanding the question...

  • Attempted: +1 testing, ignore this.
    Posted: gave up

  • Attempted: +1 Truly a picture is worth a thousand words!
    Posted: Truly a picture is worth a thousand words!

  • Attempted: +1 buren ajillaj bna :P
    Posted: gave up

  • Attempted: What have you tried?
    Posted: Have you tried anything? (no)

  • Attempted: +1 for the color2D.matplot
    Posted: Nice option with the color2D.matplot (+1)

  • Attempted: +1 for fixing the errors. Though, it needs some work with the plot
    Posted: The plot is not the same as in lapply (plus 1)

  • Attempted: +1 Of course this is the best way to do it I think.
    Posted: Of course this is the best way to do it I think +1.

  • Attempted: +1 for the use of std::tie to test for lexicographical order, although I'm pretty sure in this case the design itself is flawed, and one shouldn't try to order 3D vectors
    Posted: Nice usage of std::tie to test for lexicographical order, although I'm pretty sure in this case the design itself is flawed, and one shouldn't try to order 3D vectors

  • Attempted: What have you tried?
    Posted: gave up

  • Attempted: +1, Really neat coding
    Posted: neat coding +1.

  • Attempted: +1 ,Yeah. Looks OK.
    Posted: Yeah. Looks OK. +1.

  • Attempted: -1 to test this new "feature"
    Posted: gave up

  • Attempted: +1: a good point
    Posted: gave up

  • Attempted: +1 this is a great simple example, but I've added a deeper example that deals with nesting try blocks and threading issues, if anyone needs more depth.
    Posted: gave up

  • Attempted: -1, same reason as above
    Posted: This results in improperly aligned data when using compilers that differ in their methods even a slight bit. Furthermore, the data won't be portable across different architectures, compilers, or even operating systems in some cases. -1

  • Attempted: What have you tried?
    Posted: gave up

  • Attempted: +1. The right approach often takes more time at the beginning but save you a lot of time in the future @MarkWalter. However if you insist in the other approach then consider use EventListenerList instead of a plain ArrayList to hold the action listeners.
    Posted: 1+ The right approach often takes more time at the beginning but save you a lot of time in the future @MarkWalter. However if you insist in the other approach then consider use EventListenerList instead of a plain ArrayList to hold the action listeners.

  • Attempted: +1 for the post install/update scripts. Didn't realize that was possible :). As for the question of why, it's 15 seconds or so out of the deployment process (and 1 less thing that can go wrong).
    Posted: Plus 1 for the post install/update scripts. Didn't realize that was possible :). As for the question of why, it's 15 seconds or so out of the deployment process (and 1 less thing that can go wrong).

  • Attempted: +1. If first option helps - duplicate of many other existing questions - http://stackoverflow.com/questions/73883/string-vs-stringbuilder
    Posted: If first option helps - duplicate of many other existing questions - http://stackoverflow.com/questions/73883/string-vs-stringbuilder

  • Attempted: +1 for Figaro. It'll use the application.yml. No need for dot-env and another environment file.
    Posted: Another vote for Figaro. It'll use the application.yml. No need for dot-env and another environment file.

  • Attempted: +1 for the answer, clear and concise.
    Posted: gave up

  • Attempted: +1 Thank you. Sometimes writing code isn't the best solution to a problem -- I've got to remember that.
    Posted: Thank you. Sometimes writing code isn't the best solution to a problem -- I've got to remember that.

  • Attempted: +1 nice one, published slightly before my answer.
    Posted: Nice one, published slightly before my answer.

  • Attempted: +1 Although I feel it should be noted that this does incur the cost validating the Connection on every query. There is (sadly) no magic bullet.
    Posted: I think it should be noted that this solution incurs the cost of validating the Connection on every query. There is (sadly) no magic bullet.

  • Attempted: +1 This is very nice but is there a good reason to make the I/O operator friend?
    Posted: This is very nice. Is there a good reason to make the I/O operators friend?

  • Attempted: +1 for the last paragraph. VSO isn't going anywhere unless MS goes under completely.
    Posted: VSO isn't going anywhere unless MS goes under completely.

  • Attempted: +1, thanx for not getting upset :) Good answer. Was misreading the article and thought it was targeting 1.10.x, so have posted another answer, which is for 1.10.x only.
    Posted: Good answer! Was misreading the article and got the impression that it was targeting 1.10.x, so have posted another answer, which is for 1.10.x only. But your updated answer is correct for 1.9.4.

  • Attempted: +1 This worked well for me, thanks.
    Posted: gave up

  • Attempted: +1 this is awesome, thank you.
    Posted: gave up

  • Attempted: +1......Excellent detective work!
    Posted: gave up

  • Attempted: -1: this is a totally worthless post
    Posted: gave up

  • Attempted: +1 nice explanation
    Posted: nice explanation (+1)

  • Attempted: +1 - I love your function name.
    Posted: I love your function name - +1.

  • Attempted: -1, SO is not a code-writing site.
    Posted: SO is not a code-writing site, -1.

  • Attempted: lmgtfy.com/?q=%22dagger+2%22+example+google
    Posted: This is one -> square/dagger#302

  • Attempted: +1 because I felt sorry for the author.
    Posted: Upvoted because I felt sorry for the author.

  • Attempted: -1: singleton is an ANTIPATTERN.
    Posted: singleton is an ANTIPATTERN.

  • Attempted: +1 for yyyymmdd. The 1st database product I used on a Personal Computer (circa 1981) stored dates in this format. Date manipulation of any kind was so much easier.
    Posted: Horray for yyyymmdd. The 1st database product I used on a Personal Computer (circa 1981) stored dates in this format. Date manipulation of any kind was so much easier.

  • Attempted: +1 Strange but true -- computeBoundingSphere() is indeed required. One would assume AABBs / planes would ordinarily be used for this but apparently not in three.js.
    Posted: Strange but true -- computeBoundingSphere() is indeed required. One would assume AABBs / planes would ordinarily be enough for this but apparently not in three.js.

  • Attempted: +1 for your approach which is even way faster than mine (2ms vs. 5ms).
    Posted: Thumbs up for your approach which is even way faster than mine (2ms vs. 5ms).

  • Attempted: What have you tried?
    Posted: gave up

  • Attempted: +1 - the node needs to be imported
    Posted: The node needs to be imported, +1

  • Attempted: -1 because stuff
    Posted: gave up

  • Attempted: +1 great idea!!
    Posted: this is a great idea (+1)

  • Attempted: What have you tried?
    Posted: gave up

  • Attempted: So we all know the trick to use lmgtfy.com in SO comments. ;)
    Posted: So we all know the trick to use lmgtfy[dot]com in SO comments. ;)

  • Attempted: @dmahapatro optimistic locking is a Hibernate concept, so I wouldn't expect a DBA to know about it, but with a minimum of Googling, all is revealed http://lmgtfy.com/?q=grails+version+column
    Posted: @dmahapatro optimistic locking is a Hibernate concept, which I wouldn't necessarily expect a DBA to know about, but with a minimum of Googling effort, all is revealed http://bit.ly/1uwleEK

  • Attempted: Yes, the bind address and port have to be configured correctly, and you need one or more grant calls to specify the specific client ip address or a wildcard. If the web and db server are on the same box, you often run something like grant all on <dbname>.* to <username>@localhost identified by '<password>' but to allow non-localhost access you need a different or extra grants. This is readily available information: http://lmgtfy.com/?q=mysql+remote+access
    Posted: Yes, the bind address and port have to be configured correctly, and you need one or more grant calls to specify the single client IP address or a wildcard. If the web and db server are on the same box, you often run something like grant all on <dbname>.* to <username>@localhost identified by '<password>' but to allow non-localhost access you need a different or extra grants. This is readily available information - do a web search for mysql remote access

  • Attempted: what have you tried?
    Posted: gave up

  • Attempted: http://lmgtfy.com/?q=Quartz
    Posted: So there's this thing called Google....

  • Attempted: what have you tried?
    Posted: have you tried anything?

  • Attempted: I've tried what you told and I got this. Commercial Photography
    Posted: I've tried what you told and I got this. http://i.imgur.com/Bh9DQH8.png

  • Attempted: What have you tried?
    Posted: gave up

  • Attempted: what have you tried?
    Posted: gave up

  • Attempted: what have you tried?
    Posted: gave up

  • Attempted: I am afraid you did not understand it quite well. target=_blank is not something in the url, it is an attribute of the html anchor tag. Something like this:

click here

I thought it was obvious!
Posted: I am afraid you did not understand it quite well. target=_blank is not something in the url, it is an attribute of the html anchor tag. Something like this:

click here

I thought it was obvious!

  • Attempted: what have you tried?
    Posted: what have you tried already? what do you mean by 'data so inaccurate'?

  • Attempted: what have you tried?
    Posted: post what you tried so far and why the storage apis didnt work for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment