The tag has no wiki summary.

learn more… | top users | synonyms

-3
votes
3answers
91 views

Posting articles and/or code

Is there any place or site in the world of Stack Exchange where people can post articles and/or code to share with the rest of the world, etc.? Possible articles and code which can be voted up and ...
1
vote
0answers
65 views

Embedded scripting language interpreter? [duplicate]

I find that I'm constantly switching between my IDE and my Stack Overflow window to test code found in the original post of a thread. For scripting languages, it seems like this action can be reduced ...
4
votes
2answers
108 views

Am I allowed to ask for the OP's email in a comment to send him source codes?

I met this situation here: the OP (who's new on SO) was looking for something that I've already done, but it's a (sure small but) real project and I can't put all the sources on the answer (JAVA, XML, ...
5
votes
1answer
97 views

Any advice to better optimize scrolling code?

At Why are my sparks not animating?, I have what looks on Mountain Lion like a non-scrolling area of code (without scrollbars until one hovers/scrolls): there are two JavaScript functions included, ...
1
vote
0answers
21 views

Text alignment in the code code view does not match text alignment in the edit box

In many questions, we see the source code with wrong indentation. On of the reasons for it, if the copy/pasted code contains tabs, the assumed tab size in the edit box is different from the assumed ...
10
votes
3answers
222 views

Explicitly say that Stack Overflow IS NOT for us to write your code

I think that when a user goes to ask his first question, that they should see something like this popup. We are here to help solve problems. If your question is asking someone to write your code, ...
18
votes
2answers
283 views

Can I legally post Sun/Oracle JRE/JDK source code on Stack Overflow?

I want to post a JDK method's source code as part of my answer to a question on Stack Overflow. It looks like I can do this under the terms of the JRL (Java Research License), specifically: A. ...
1
vote
1answer
72 views

How do I allow users to download my code for them to review?

How can I allow someone on Stack Overflow to download my source code so they can review it?
4
votes
1answer
102 views

Should code with simple syntax errors be assumed to be a typo?

Is it correct to change a syntax error in code that has been posted as part of a question? After pointing out in the comments that there was a syntax error in the code posted in this question (in ...
-20
votes
1answer
152 views

“Best of” Stack Overflow answers in the form of a DLL? (extracted code from answers from Stack Overflow) [closed]

Update: Wow this received much more negative attention than I expected! I still think there is value in culling out the quality reusable code that lies in the SO repository. I don't have interest ...
-14
votes
1answer
176 views

Is This Code License Compatible with StackExchange? [closed]

I want to ask a question on Stack Overflow but before I post code, I want to make sure the license I want to use (which is similar to many Open Source licenses) is compatible with Stack Exchange ...
2
votes
1answer
61 views

Code highlighting clarification

In this question, I have marked portion of html code and below another one. But the first code line is not being highlighted. Why are they behaving different?
6
votes
3answers
147 views

Is removing redundant code from a question a legitimate edit?

In this question, the guy pasted 150+ lines of code when the issue was with one specific line. Is it legitimate to edit his question and keep only that single line? The line: ...
12
votes
2answers
177 views

Are BIG questions OK?

After spending way too much time trying to find an annoying bug in my source-code, I thought of posting it on Stack Overflow. However, posting is would involve a lot of source-code, and a lot of ...
0
votes
1answer
69 views

Stack Overflow code to register with another account

So I registered on Stack Overflow the other day, and I was asked if I wanted to register with an already existing account. If I recall correctly the options were Facebook, Gmail and something else I ...
2
votes
4answers
147 views

How do I do a “good” code dump for a comprehensive example?

I came across a question where a comprehensive example would be very useful. So I wrote an example program showing one way to solve their problem. My problem is that when I was done creating it, and ...
0
votes
1answer
81 views

Bug in code dump rejector

The system rejects code dumps without context from low-rep users by comparing the ratio of context (non-code-formatted text) to code (text which is wrapped in <pre>). (See also this feature ...
-4
votes
2answers
101 views

Inexact code in questions

I see a lot of questions here with inexact code snippets, where the questioner obviously re-typed or summarized the code that's causing the problem. This can make it difficult to distinguish between ...
-8
votes
1answer
149 views

Pasting runnable source code to Stackoverfow?

Runnable source code is often used as an additional part of the answer. Since it is not possible to paste runnable code to SO (as far as I know), the code is pasted to external sites like ideone or ...
33
votes
5answers
398 views

Are code troubleshooting questions really what we want to encourage?

In an effort to more fully understand the gestalt of Stack Overflow, I offer this question for perusal: http://stackoverflow.com/questions/7513258/i-want-a-dialog-box-in-case-of-error#question Since ...
15
votes
2answers
318 views

How can we avoid the pitfalls of CreativeCommons in code snippets?

Creative Commons is a great license for a wiki, but it's not a good software license at all. Is it the case that all code snippets are under the same license as the rest of the text? I commonly say ...
1
vote
0answers
56 views

Got single line after pasting the code! [duplicate]

Possible Duplicate: Prettified code copied in Internet Explorer pastes without line breaks Sometimes, when I want to test some code snippet, I copy it as it is and I got the entire code in ...
2
votes
3answers
103 views

Post a question that involves 3 .java files?

I have a project that contains 3 .java files and 1 text file. In order to ask my question I have to post all parts of the project. How do I do that?
7
votes
0answers
93 views

Editing an SO answer with < 6 characters to correct code syntax [duplicate]

Possible Duplicate: Change this behavior to allow for spelling corrections and the like: “Edits must be at least 6 characters” This has been asked before here, but I think this ...
7
votes
1answer
158 views

Access to Chat Code?

Ok, I'm not saying... "Let me have you chat code." I'm asking if its an open source project. I love the design of chat and well the entire interface in general. I'd love to incorporate a like client ...
0
votes
0answers
106 views

how can i copy code chunks from StackOverflow [duplicate]

Possible Duplicate: prettified code copied in internet explorer pastes without line breaks hi all, when i want to copy some code chunk written in some answer the resulting text doesn't have ...
17
votes
2answers
243 views

Discourage code dumps

Lately, I've seen a lot of "this is my code, please find the bug" questions, i.e., people just dump their complete class file instead of creating a minimal working example. When I see this, I usually ...
7
votes
1answer
216 views

Copyright/plagiarism issues with others' source code within yours

I plan on answering a question with some source code on StackOverflow, but I have formulated my answer using some source code I found elsewhere — it was an answer to another question. I planned on: ...
1
vote
2answers
127 views

Posting code properly and safely

Basically i'm worried about theft. I'm not implying that anyone on stack exchange is a thief but about a year ago I posted on another site and a month later I found my code as a download in another ...
4
votes
3answers
155 views

what's best: post full or partial source code as answer?

Very frequently I step into questions on stackoverflow that have small snippets of code, each with it's own set of custom types/pointers/maps/vectors/classes (and other stuffs). Sometimes there's ...
-3
votes
2answers
191 views

“The idea of SO is to show people how to code not to code for them”

Comment under this answer This question is simple - is it wrong to enjoy challenges and to provide properly tested code? Properly tested code is provided not to satisfy "plz-give-me-teh-codez" but ...
12
votes
3answers
286 views

Is it inappropriate to post decompiled code from the .NET BCL?

I've seen a lot of posts on Stackoverflow containing decompiled source-code from the .NET framework (typically produced by a tool such as .NET Reflector). I've posted such code myself in answers, to ...
-8
votes
2answers
237 views

How to tag question that ask us to find a bug?

For example, Javascript auto calculating with (+) and (-) I tagged it with findbugs (I know what findbugs is, but I could not find anything better). I think it deserves to have its own category -- ...
2
votes
0answers
31 views

show whitespace when dealing with regexps

Hi, When answering question about regexps, it would be great if whitespace could be shown in the code listing. Whitespace plays an crucial role and they are all to easy to miss and get wrong. What ...
2
votes
1answer
214 views

Where can I get the source code for stackoverflow.com's WMD version?

I think the question is self-explanatory - its not that that I want SO source code. What I am looking for is how they added image upload from PC feature. I need to implement it too.
0
votes
3answers
127 views

What is StackOverflow's policy on: Posting complete projects

Hey there, I have a complete project that isn't functioning properly in IE. I was wondering what SO's policies are on posting the entire project and letting people pick it apart? Cheers.
13
votes
5answers
372 views

AutoIndent of Source Code

When editing a question or an answer on StackOverflow, it would be great if, when you are on a line that starts with n ≥ 4 spaces and press Enter, the newly created line would automatically begin with ...
17
votes
1answer
270 views

Search just code

I want to search my questions for a question that uses the C# key word is new. When I search user:me new I get matches that are not code. Is there a way to just search code? Edit: Since it seems ...
6
votes
5answers
277 views

How to respond to people just asking for code without any own effort?

I'm very active in the android tag on stackoverflow. It seems that the tag is hit by a wave of people trying to write apps for android without any programming knowledge. Many of this questions look ...
-6
votes
2answers
215 views

What a great piece of code!

This idea is about saving a valuable pieces of code from the ocean of the questions that everyday are posted on Stack Overflow . It could be like an upvote, but only on the code box, maybe also with ...
-3
votes
2answers
498 views

is it possible to get open source code of stack overflow or even buy the forum source code [duplicate]

Possible Duplicate: Stack Overflow Clones? Does this (stack overflow) forum has any open source code? And if no, can anyone please, give me an open source code engine site, that is similar ...
1
vote
2answers
279 views

How to write source code/some characters in SO? [duplicate]

Possible Duplicate: How do I format my code blocks? As the following, '<' or <--' doesn't show with pre tag. Is there any better way to write code in SO? # Sample code from ...
-3
votes
3answers
75 views

Uploading code for small projects

Yeah, I know this great idea has been pooh-poohed by the people that know better. I think it is a huge mistake personally, but you got the keys to the car, so OK. Why not allow a user option to ...
8
votes
4answers
2k views

How do I post code in comments?

When responding to potential answers I sometimes like to include a code block to clarify what I'm talking about. Is it possible to have clean code-formatting in comments or only in questions and ...
19
votes
5answers
479 views

What is the code on Stack Overflow's 'Page Not Found' pages? [duplicate]

Possible Duplicate: What's the joke in the Stack Overflow 404 page code? For example: http://stackoverflow.com/questions/does_not_exist What is the code on the right pane, and if it ...
4
votes
2answers
60 views

remove common whitespace in front of sourcecode blocks [duplicate]

Possible Duplicate: Add feature to WMD for re-aligning code blocks People seem to be prone to just paste code from their IDE into stackoverflow, often with reams of whitespace on the ...
22
votes
2answers
944 views

Code blocks after a list, but not within a list in markdown. Is it possible? [duplicate]

Possible Duplicate: Code block is not properly formatted when placed immediately after a list item In this post about nesting code-blocks in lists, it is explained that if you want to nest ...
0
votes
3answers
211 views

<pre> tag formatting doesn't always apply properly

I've just edited http://serverfault.com/questions/95353/backup-solutions-for-rackspace-cloud-sites/95368#95368 to add <pre> tags around the shell script, and whilst the live preview showed the ...
43
votes
9answers
1k views

Bold code in a question

Frequently when I ask a question I have to include quite a bit of code for reference purposes. It would be nice to be able to bold the important lines in the code. For example this code: ...
112
votes
13answers
1k views

Shortcut or button for copying posted code from Stack Overflow

I might just be lazy, but do you ever find it tiresome to select all the source code from a large post on SO to copy it? I would like a feature, possibly a Firefox extension but preferably a ...

1 2