Questions eligible for APL bounty by Adam

0

Please login or register to vote for this query.

(click on this box to dismiss)

Programming Puzzles and Code Golf

Q&A for programming puzzle enthusiasts and code golfers

SELECT Q.Id AS [Post Link], Q.Score, Q.AnswerCount, Q.ClosedDate
  FROM Posts Q
  WHERE
  -- Post is question
  Q.PostTypeId = 1
  -- Question is a code-golf challenge and not any of:
  -- tips, restricted-any, source-layout, quine, polyglot, cops-and-robbers
  -- ascii-art, kolmogorov-complexity, internet, network, compile-time, regex
  -- graphical-output, image, king-of-the-hill, atomic-code-golf
  AND Q.Tags LIKE '%code-golf%' AND Q.Tags NOT LIKE '%tips%'
  AND Q.Tags NOT LIKE '%restricted%' AND Q.Tags NOT LIKE '%source-layout%'
  AND Q.Tags NOT LIKE '%quine%' AND Q.Tags NOT LIKE '%polyglot%'
  AND Q.Tags NOT LIKE '%cops%' AND Q.Tags NOT LIKE '%ascii-art%'
  AND Q.Tags NOT LIKE '%kolmogorov%' AND Q.Tags NOT LIKE '%internet%'
  AND Q.Tags NOT LIKE '%network%' AND Q.Tags NOT LIKE '%hardware%'
  AND Q.Tags NOT LIKE '%compile%' AND Q.Tags NOT LIKE '%regular%'
  AND Q.Tags NOT LIKE '%regex%' AND Q.Tags NOT LIKE '%graphical%'
  AND Q.Tags NOT LIKE '%image%' AND Q.Tags NOT LIKE '%king-of%'
  AND Q.Tags NOT LIKE '%atomic%'
  -- I don't like strings
  AND Q.Tags NOT LIKE '%string%'
  -- Question was asked between 2016 and 2019
  AND year(Q.CreationDate) <= 2019 AND year(Q.CreationDate) >= 2016
  -- Positive score
  AND Q.Score >= 1
  -- Not too hard, at least an answer
  -- AND 1 <= Q.AnswerCount
  -- Not too easy, at most 20 answers
  AND Q.AnswerCount <= 20
  -- No answers in any variant of APL, excluding Perl/Ruby -apl answers
  AND NOT EXISTS (
    SELECT *
    FROM Posts A
    WHERE A.ParentId = Q.Id
    AND A.PostTypeId = 2
    AND A.Body LIKE '%APL%'
    AND A.Body NOT LIKE '%-APL%'
  )
  -- No answers in Jelly/05AB1E/Pyth/[insert your hated golflang here]
  AND NOT EXISTS (
    SELECT *
    FROM Posts A
    WHERE A.ParentId = Q.Id
    AND A.PostTypeId = 2
    AND (A.Body LIKE '%/jelly%' OR A.Body LIKE '%05AB1E%'
      OR A.Body LIKE '%Pyth,%' OR A.Body LIKE '%Pyth<%' OR A.Body LIKE '%Pyth %'
    )
  )
  ORDER BY Q.ClosedDate ASC, Q.AnswerCount ASC, Q.Score DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results