« first day (985 days earlier)      last day (1376 days later) » 

9:00 PM
not if they develop it by clean room procedures
 
What about when I have a question about something I've never done before? I can't use the code verbatim, but between three posts, I compile a workable solution. Then, I clean it up a bit. Do I have to cite those three posts?
What if they only contained a description from the documentation without any code?
(You know that SO comes up higher than the docs in the search results.)
 
If this goes into place, that could make for some very polluted code after a while
 
Not really, because the current CC-BY-SA requires the same attribution (as best I can tell, someone correct me if I'm wrong).
 
What happens when the item is obviously common knowledge among a group, like my integer input in Python post?
 
9:03 PM
I'm voting to close this question as off-topic because it is requesting a code reviewQuentin 45 secs ago
 
#ItDepends
 
I was reading the Python 2 questions, but I was working on Python 3. Turns out it was a very simple fix that has several posts linked as dupes.
Do I have to cite my own Q and the accepted A every time I input an integer in Python?
 
Zak
Personally, Unless I'm literally copy-pasting from SO (which basically never happens) I don't see the need for attribution in the first place. And even then, very little on SO is advanced/complete enough to be considered *not* common knowledge.
 
Well, @200_success has capped on the big meta for today.
 
I didn't even have to write anything. I would have capped just on the attention drawn to my previous answer.
 
9:14 PM
Post your code to - www.codereview.stackexchange.com — Nikhil Parmar 50 secs ago
 
Yeah, I still think your answer is the best, and I've read a few others out there.
(Mostly because of how it starts, mind you.)
 
If it works properly and you're interested in cleaning it up, you might try Code Review. — TigerhawkT3 53 secs ago
 
I think the non-"quote" is good too.
 
I had to write something dramatic to emphasize the fact that it's such a huge culture shift.
 
If this goes through, I'm going to start a competing site as soon as I can.
 
9:16 PM
I'm honestly not that upset by the license change.
It looks like they're trying to make it more compatible with other licenses.
 
My site's license will be that the users are signing all rights away by posting, but I will encourage users to cite things anyway.
(With that license, I can't see it succeeding.)
 
Is there a rep-cap for negative, as well as positive?
 
My U is having caching problems.
 
I wouldn't be so upset if it didn't also have the potential to decimate Code Review.
 
What about it would decimate Code Review?
 
9:19 PM
The MIT License is more of a "give code away freely" license.
I don't think it's appropriate to expect people to give code away just to discuss it.
 
And how is that bad for CR? You think fewer people will post if it means their code is much closer to public domain?
(I post all my code with the idea that it's public domain anyway.)
 
People who write FizzBuzz and linked lists won't care. People working on corporate projects could care very much.
 
Ah, there is that.
 
I don't think people working on GPL-licensed code could post it here.
A lot of RD is GPL licensed because of the ANTLR parser.
Posting under MIT would be re-licensing, and GPL code can only be licensed under GPL, if I understand correctly.
 
I only have one repo on my GitHub which isn't MIT licensed, and that's because of a third-party module.
 
9:23 PM
We licensed what we can of RD as MIT, but at least one project is GPL because of the parser.
 
Not just the license. The fact that code is singled out as different from the surrounding content is a dangerous idea.
 
I can understand where that would be frustrating.
 
That too. I want my code and text all licensed under one license.
 
@200_success I wonder how that would affect posts that contain both a "pseudo algorithm" written as text, and a code part, written as code.
2
 
Since you have a working answer already, and you haven't identified any shortcomings in your solution that make it unsuitable for you, this is a better fit for CodeReview. — Rex Kerr 37 secs ago
 
I'm a big fan of the WTFPL, personally, at least for open-source
 
0
Q: Sorting a list in python so that x != x+1

maikelnaitBasically I need to order a list, so that an element is not the same as the element that comes after or before it. For example [1,2,2,3,1,3,3] should come out as [3,1,2,3,1,2,3], [3,2,3,1,2,3,1] or [2,1,3,1,3,2,3] and so on. I searched for a solution but couldn't find one so I wrote this functi...

 
9:42 PM
How does the potential invalidating answers bot work?
Does it only flag when the author edits a code snippet portion of their question, or any edit at all by the author?
 
Zak
@Insane IIRC any code edits to a question that has received an answer
 
Gotcha. Cause I edited my question but no code snippet parts of it
 
0
Q: Fluent API of a RBAC implementation - follow-up

Bruno CostaIn the past I posted a question that tried to implement a nice API to support RBAC authorization to resources. And due to the epoch and probably to the bount it was moderatly well received by the community. Althought even I myself can now spot how fundamentally flawed was that question due to the...

 
@SimonForsberg Or when improperly formatted code gets edited.
 
Apparently flags on religiously offensive material now get declined, at least on that MSE post.
 
9:48 PM
@Insane It works based off the HTML rendition of the post, that is, if text is changed within <pre> or <code> tags it notifies us
 
@Phrancis Cool, so I didn't trigger a notify :P
 
It seems that your code currently works, and you are looking to improve it. Generally these questions are too opinionated for this site, but you might find better luck at CodeReview.SE. Remember to read their requirements as they are a bit more strict than this site. — Lynn Crumbling 41 secs ago
 
Right. Keep in mind that text that is marked-up with back ticks or 4 preceding spaces at the beginning of a line in a post gets converted to HTML, in case you didn't know
 
@Phrancis All content gets converted to HTML.
 
Right
 
9:52 PM
I'm voting to close this question as off-topic because it is asking for a code reviewQuentin 51 secs ago
I'm voting to close this question as off-topic because it belongs on codereview.stackexchange.comVolkerK 29 secs ago
 
@Duga That's not a valid close reason.
 
monking
 
Hey @Quill
 
This may be a good question for Code Review, so long as: (A) the code works, and (B) it's not hypothetical or incomplete in any way. Please read the on-topic guide before posting, if you choose to go to Code Review. If you have any questions or concerns, join us at our CR Help Desk. — Phrancis 1 min ago
 
Zak
'night @all
 
10:01 PM
@Mat'sMug do you know of a way to set up Excel so that when you copy a cell it doesn't also copy a line break with it?
 
night @zak
 
Zak
@Phrancis Move the line break? Just a thought
 
Huh?
 
Zak
Oh, sorry, line break
I read it as page break
What do you mean, exactly?
A line break within a cell? Such as what you get using Alt+Enter?
 
I often find myself using Excel to hold data that I afterwards copy/paste into another program (usually SSMS or Notepad++)
 
10:05 PM
If you're looking for code review then you should check out codereview.stackexchange.com otherwise reformat your question so it actually asks something — Yottatron 13 secs ago
 
It's just annoying to constantly have to remove the new line it created
 
Zak
The way I'd do it is to find and replace all line break characters chr(10) with regular spaces chr(32)
Otherwise, you can always investigate the looong list of Paste Special options
There's probably one in there that'd do the trick.
 
Ah yeah, those
"Paste Special -> Transpose" is possibly one of the best features of Excel
 
@Zak Apparently they actually use the term "Downstar" on the 19th byte
 
Zak
I'd probably just use a function like so:
=SUBSTITUTE(CellRef, chr(10), chr(32))
Resize so it covers all your existing data
then paste the values back over the original
Chr() for VBA, CHAR() for worksheet functions
 
10:13 PM
Wouldn't that be a circular reference?
Or would you use this function in a separate set of cells?
 
Zak
separate set of cells
So if your data's in A1:F10
 
Ah, didn't work though... oh well
 
Zak
I'd put the functions in H1:M10
 
Looks like Excel actually puts those in when you copy it to the clipboard, rather than them being a character in the cell
 
Zak
Try Find and Replace All
Find: Ctrl+J
Replace: whatever you want
And with that, I actually *am* off to bed this time.
 
10:20 PM
Okay, have a good night :)
 
Give CR a try. — greybeard 49 secs ago
I'm voting to close this question as off-topic because it belongs to codereview.stackexchange.comPaul just now
 
10:38 PM
This may be a good question for Code Review, so long as: (A) the code works, and (B) it's not hypothetical or incomplete in any way. Please read the on-topic guide before posting, if you choose to go to Code Review. If you have any questions or concerns, join us at our CR Help Desk. — Phrancis 35 secs ago
 
0
Q: setTimeout and setInterval

overexchange Problem statement After 10 sec, start reading the property descriptors of each property of an object and continue reading all remaining properties each, every 3 seconds until done. Solution function Timer(obj, start, interval) { var PDO ={ obj:{value: obj, enumerable: true,...

 
ok
 
ok
 
@holroy wow, your answer to a specific programming problem looks like one of your code reviews. — DeliriousSyntax 1 min ago
 
10:44 PM
TTQW
 
10:57 PM
Ok
 
too late @EBrown
 
:(
 
11:10 PM
If this is working code that you think could be improved, see Code Review. If not, please clarify the issue. — jonrsharpe 52 secs ago
 
84
A: A New Code License: The MIT, this time with Attribution Required

200_successThe year is 2018… … and the economy is in a slump. Pundits on CNN are attributing the decline to a lack of growth in the computing sector. According to the Alyssa P. Bitdiddle, senior analyst with the Society of Innovative Computer Programmers, This has been a disaster in the making since ...

Epic!
TTQW, BBL
 
later
 
-81 on the Q, lol
 
the developer story one was on like -400 or something crazy like that
 
That puts it at #8 most downvoted post on Meta.SE
 
11:23 PM
Even more epic: net votes on the previous question are now tied, whatever that means.
483
Q: The MIT License – Clarity on Using Code on Stack Overflow and Stack Exchange

samthebrand Update (Dec. 22): Thanks, everyone, for your feedback to this proposal. We're going to digest this one over the holidays and should have a follow-up announcement answering your questions and addressing your concerns after the new year. We won't be making any hurried decisions on this topic, an...

488
A: The MIT License – Clarity on Using Code on Stack Overflow and Stack Exchange

200_successIn essence, this proposal is to move from a copyleft license (CC-BY-SA 3.0) to a permissive license for code. (By default, it's basically the most permissive license possible, nearly equivalent to public domain with a liability disclaimer.) Having thought about it for a couple of hours, I've sh...

 
91
Q: Add a "Magic 8-Ball" feature to the Ask a Question page

Shog9So many interesting questions get asked on Stack Overflow and then immediately closed (or worse yet, closed and re-opened for days on end) because they're subjective, argumentative, and fundamentally unanswerable due to our lack of omniscience: without the ability to see into the future and/or kn...

 
Interesting. They can algorithmically tell which questions should go through the Low Quality queue, so why don't they put up a road block before the question even gets fully posted?
 
some of the CMs hang out in the tavern if you want questions answered fast
 
@200_success Actually, they do.
When your question contains certain keywords, it will not let you click "Post", or whatever the button says.
 
0
Q: Check if a game of Tic-Tac-Toe has a winner

ZeusI've implemented a Tic Tac Toe game with a public method checkWin() to check if the game has a winner. This is my code. public class TicTacToe { int size; int [][] board; public TicTacToe(int size){ this.size = size; board = new int[size][size]; for (int i =...

 
You might want to post this over at the code review stack exchange. This site is focused on solving specific debugging issues more so than opinion-based questions. — Ben Harold 48 secs ago
 
Also @Mat'sMug I finally understand how to use ROW_NUMBER() OVER(PARTITION BY [...] ORDER BY [...])
It's about damn time
 
Monking
 
Monking
 
Monking
 
11:44 PM
I noticed that the downvote count on the MIT License announcement has nearly doubled.
 
0
Q: improving parser code

mescalinumin a toy language I wrote, the most inelegant part is the parsing. The language is organized as one class per programming construct, each class with its own parsing method. If the parsing method returns nil (meaning it could not parse that block in the current position of the token stream) the n...

0
Q: Does my solution is good enough ? JS form verification

XingD123I have three checboxes in my form. I have to check witch one is checked and start action. What do you think? this is the easiest way to do it? Checkbox 1 = cat Checkbox 2 = dog Checkbox 3 = dog only cat -> form action cat & any of dogs -> play music dog & dog -> play ...

 
@CaptainObvious Since when is "is" an adjective?
 
I'm writing my first toString() method, interesting experience
It works! It's ugly though
 
11:59 PM
they usually are
 

« first day (985 days earlier)      last day (1376 days later) »