@Lembik yeah I just read it, it seems familiar to something I read on StackOverflow about sse and bigint also. I'm planning on submitting a version in Java, right now it only does n = 27 in about 48 seconds but thats using BigInteger which is a big decrease over just using long.
This feature request applies only to codegolf.SE and only to main, not meta.
I think it would be cool to be able to make a post (question or answer) that doesn't allow anyone to upvote it. The reasoning is specific to this site. There is, conveniently, already an objective scoring method associa...
@NewMainPosts This is at 4 close votes as unclear. With someone talking about posting an answer I think this could do with being put on hold until there has been some discussion of how to make it clearer.
For a long time in SO and in other places Java has the reputation of being slow. From jokes to many comments in questions and answers, people still believe Java is slow based solely on experience with it in the 90s.
This is my issue: we have disproved (most) of the reasons that people believe Ja...
The new bounty appears to change the requirement of the challenge, inviting answers that are not valid under the original rules. You could post this new requirement as a new challenge, rather than including it in this one. Otherwise the whole challenge is likely to be closed as it no longer has a single objective winning criterion. — trichoplax43 secs ago
@Sp3000 the problem with this is actually defining "winning criterion". Aka, we don't have problems with people that bounty for "clever solution". What if I wanted to bounty a submission because it was fast and golfed (but not necessarily the fastest one posted)?
if we disallow only objective winning criterion, then people will simply make it unobjective :)
I think the problem is when there is a direct conflict with the winning criterion. If I say "cleverest solution" or "best explanation", then the answer still has to be valid, which means making reasonable effort to meet the winning criterion. But if I say "fastest solution" on a golf challenge, it gives an incentive to not meet the winning criterion, which is polluting the set of answers rather than improving it
I think at least some of the questions in your meta post can be answered, so maybe an answer than does so and leaves the rest as subjective would help?
The same goes for the example that started this - posting a different output requirement. It should just be a separate challenge, but now that the bounty is posted it can't be undone
@NathanMerrill If it was the main winning criterion you could find a way to make it work well. As a bounty, it still conflicts with the true winning criterion, encouraging answers that distract from the desired answers
I still think that the bounty of "fast solution that's still golfed" is a valid bounty, but I also think its heavily into the grey area, and not everybody will agree
Increase the "Ask Question" Privilege Threshold to +2
I should note that I'm not convinced that this is a good idea but I figure I'll mention it to see how others feel.
On Q&A sites, the point of posting a question is to get help, to ask a question and get an answer. There shouldn't be a barrie...
@Fatalize I've posted and seen others post golfs where there is a time limit for a particular test case. So the winning criterion is "shortest code that is at least this fast" and that seems to work well. So it think it's fine if it's the core of the challenge, rather than tacked on as a bounty in conflict
@Fatalize I think that's a step more defined than Nathan's example, as it sets a specific maximum length for the code. That makes it objective, but there are problems with max length code as it's hard to choose a length that suits all languages. Similarly it's hard to set a time limit for the other approach since a meaningful limit for one language will make the task impossible for others
The problem we have here is that the challenge author is the one posting the bounty, and has edited the winning criterion of a challenge with a huge number of answers already
> This bounty will be arbitrarily awarded to a randomly selected answer on this question. I will do this by attempting to give my cat a belly rub, then counting the resulting scratch marks and taking the answer numbers modulo the scratches, then sorting in ascending order and taking the smallest.
Yes and No
There are two kinds of bounties we can disallow:
Bounties that reward answers that don't fit the submission requirements: "Draw a cat" on a Fibonacci challenge.
Bounties that are unrelated to the scoring criterion, and have a tendency to push answers away from the scoring criterion...
Due to English language causing severe misunderstandings of the intention of this challenge, I strongly feel it has been reopened too soon, and would benefit from being on hold as unclear again until the discussion has played out.
100 Prisoners and a light bulb
You may have seen this puzzle over on the puzzles exchange or perhaps heard it somewhere else. If you are unfamiliar with this puzzle check out: 100 Prisoners and a Light bulb
The gist of this puzzle is that there are 100 prisoners, each one is separated from one...
We want to congratulate and thank everyone that helped this site and community grow healthily into what they are today!
If you can find your name among the top 72 users in the first two pages here, we have a surprise for you! We want to send you a token of our appreciation for being among the mo...
Hooray, Design-Independent Graduation is happening! Sites that have been deserving of graduation all over SE are getting their elections and (hopefully eventually) getting the "Beta" label removed from their site name.
Part of the graduation and election process is the Swag sent to users who are...
Background:
Jack is a pumpkin that enjoys spooking the citizens of the villages near his pumpkin patch every Halloween. However, every year after someone lights the candle inside of him, he has a limited amount of time to spook everyone before the candle burns out, thus being unable to spook an...
Oh, goody! I just received an email from Aron Smith at ar337a@nyc.rr.com telling me that the IRS is "supenaing" my company, and I need to open this Word .doc in order to respond.
@TonHospel I've setup my i7 920 again which does not have avx support, and for n =33 (all 1's) I get 2m46.738s for yours and 1m1.893s for Dennis. Unfortunately I'm not adept enough to see what the compiler is doing differently to make such a difference
Print an alphabet party hat
Your task is to print this exact text:
z
yz
xyz
wxyz
vwxyz
uvwxyz
tuvwxyz
stuvwxyz
rstuvwxyz
qrstuvwxyz
pqrstuvwxyz
opqrstuvwxyz
nopqrstuvwxyz
...
(inspired by this question over on Math)
The Definitions
Given an n x n square matrix A, we can call it invertible if there exists some n x n square matrix B such that AB = BA = In, with In being the identity matrix of size n x n (the matrix with the main diagonal 1s and anything else 0), and A...
@TimmyD At first I thought that US. was US, and that you were saying you were from all four. lol
Anonymous
Ireland is part of the British Isles, but is not part of Britain or the United Kingdom, with the exception of Northern Ireland, which is part of the UK.
Anonymous
And the Irish are very proud to not be part of Britain
@muddyfish Mmk. There were lots of people that voting "Brexit" to make a "statement", but didn't think it'd pass. They feel incredibly stupid after doing so.
Yes I definitely think the challenge needs serious rewording, but the answer seems incorrect and ungolfed, even taking into account how unclear the challenge is.
Ugh, I hate it when I'm working on a tough problem at work and I accidentally close my browser window, walk over to the cookie vendor, buy a cookie, eat it, and then reopen my browser window.
When competing in any form of programming competition, math test, whatever it is, the #1 rule is always to read the instructions carefully. They didn't.
@DmitryKudriavtsev Once the comments are dealt with they can be deleted by the comment posters, or they can all be deleted by a mod. A mod can also move them to chat if they have potential to be interesting to future readers, or if further discussion is needed. If they just suggest an improvement that has now been made, there doesn't seem a need to preserve them though.
Yes - they are intended to be. They often end up staying around indefinitely but they should be written taking into account that they could be deleted at any moment.
If a comment says something very relevant to the question or answer, it's worth editing the info into the post so it will still be available if ever comments get deleted
For that particular challenge, there is still a lot of improvement required before the wording will be clear, so the comments may not be moved or deleted until the challenge is ready.
Yeah, but if you're having a bad day, people say to just go to bed and you'll feel better in the morning. That's the equivalent of turning it off and back on again.
Given two strings, print a change log of what's changed! Please print the added words in square brackets [] and the removed words in parentheses ().
Examples:
Input | Output
---------------------------------------------+------...
The Zen of Python must surely be one of the most beautiful Easter eggs in any language. (It is created by writing import this)
So why not create a version for your own language?
For those who don't have access to Python 2 or 3, your code should output the following:
The Zen of [YOUR LANGUAGE],...
Hmm... That last challenge and a challenge I saw in the Sandbox got me thinking. Maybe we should have an off topic close reason of "this challenge gives an unfair advantage to certain users".
Without repeated lyrics/words/phrases, it's just "who can compress this fastest to get FGITW votes". Which I'm sure we have a relevant dupe target for somewhere around here...
Anonymous
Because cmp sucked and key-based comparisons don't
@TonHospel @Dennis It turns out the running times are quite inconsistent even though I close all applications. I have run both of your code a few times and taken the fastest run. Which turns out to exactly equal once I use Ton Hospel's improved gcc flags
This sandboxed challenge and this revision of another challenge got me thinking. Clearly, we don't want challenges where certain users have an unfair advantage over others (such as the length of their username (especially since changing your username for a challenge is not allowed), or having bee...
Too bad we don't have stats on how often this is an issue. I'm all for new close reasons if they'll get used often enough to justify it, but I'm not sure this one is so common that we can't just use the "custom" option.