« first day (1331 days earlier)      last day (3495 days later) » 

12:40 AM
Are early PythJamScript answers on questions really that bad that people might not want to answer in their less golfy language?
I guess being a J golfer, I'm just as bad, but usually even J is pretty outclassed by these languages. The fun isn't in being the best, but the best in your language.
(Spurred by comments on a recent question's early GS answer.)
 
early winning(ish) answers definitely dissuade future answers
that applies even in one-language contests
but far more so in contests that allow multiple languages
I don't know pyth or cjam or golfscript or J. Most of my golf experience has been in environments where a) perl was the golfiest language and b) [almost] all participants knew perl
codegolf.com, when it was alive, scored each language separately for every challenge
 
You could take the "it's pointless if <golflang> does it better" viewpoint even further, though, and just never bother golfing anything because <golflang> already exists and will win every time over <mylang> in a no-hold-barred cage match.
The judge-each-language-separate thing is the right way of going about it.
 
1:19 AM
I really hope we see some judging/scoring frameworks soon
right now it's too much work for a single challenge poster to manager a leaderboard, etc
 
That's unlikely with the SX site model: it's meant to be a Q&A site, and codegolf barely squeezes into that concept already.
 
it could be third party
 
And by the way, leaderboards can already be managed by anyone, via edits.
It seems to be an unspoken rule not to edit someone else's anything unless it's straight up bad.
 
1:37 AM
one idea: a bot that makes a leaderboard automatically based on self-scores at the top of posts
we'd need to standardize how to report your own score
for the codebots challenges I made a python script that fetched the biggest code block from each post and saved it with the name of the first h1 in the post
 
 
4 hours later…
5:23 AM
I'm thinking of posting a code-challenge involving organic nomenclature.
Conversion between SMILES and InChI would be interesting for a code-golf. However, I think the specialized nature of the challenge would make it very... niche?
And drawing a molecule given a text representation, without using libs that do it for you automagically, would be fun too.
The IUPAC International Chemical Identifier (InChI /ˈɪntʃiː/ IN-chee or /ˈɪŋkiː/ ING-kee) is a textual identifier for chemical substances, designed to provide a standard and human-readable way to encode molecular information and to facilitate the search for such information in databases and on the web. Initially developed by IUPAC and NIST during 2000–2005, the format and algorithms are non-proprietary. The continuing development of the standard has been supported since 2010 by the not-for-profit InChI Trust, of which IUPAC is a member. The current version is 1.04 and was released in September...
The simplified molecular-input line-entry system (SMILES) is a specification in form of a line notation for describing the structure of chemical molecules using short ASCII strings. SMILES strings can be imported by most molecule editors for conversion back into two-dimensional drawings or three-dimensional models of the molecules. The original SMILES specification was initiated by the author David Weininger at the USEPA Mid-Continent Ecology Division Laboratory in Duluth in the 1980s. Acknowledged for their parts in the early development were "Gilman Veith and Rose Russo (USEPA) and Albert Leo...
Thoughts?
 
6:15 AM
Damn, this place is lonely.
 
6:30 AM
This is pretty cool: lighttable.com
 
6:49 AM
it gets quiet in here for hours at a time
then very lively for as long again
 
7:08 AM
@Wrzlprmft It's certainly hardware, and it's not obvious to me that it's excluded by the "basic assumptions" rule.
 
 
1 hour later…
8:24 AM
@PeterTaylor I explicitly mentioned the alignment of the hardware in the specifications (link). Apart from that, USB lava lamps are fine in my opinion.
 
 
1 hour later…
9:37 AM
@algorithmshark Ideally, it shouldn't be a problem, because yes, winning overall isn't the point. There are many people who view that differently though, and it does spoil the fun for them (which, you could say, is "their fault", but I'm sure the OP would still like their submissions if they'd otherwise write them)
 
10:02 AM
@Sparr We discussed writing a user script for that a couple of weeks ago
@SohamChowdhury weekends...
0
A: Sandbox for Proposed Challenges

Beta DecayFind the Molecule code-challenge Introduction Finding a molecule from a formula is like completing a jigsaw puzzle without the picture: it takes a long time for a human to do it but a computer can do it quicker. What you have to do is, given a chemical formula, output the molecular structure ...

 
10:45 AM
@VisualMelon are you going to admit defeat to geobits? ;)
 
probably ;)
I don't have the nerve to remove the str+="\n"
I do like working with concurrent code, there is always the feeling that you might have missed something... but you may never find out
 
 
5 hours later…
3:34 PM
@MartinBüttner did you see my GetBots.py for the codebots challenge? something like that could use the api to go through all active opted-in challenges and update their leaderboards
eventually such a thing could even download the code, run it, score it, etc
 
No I didn't. But yes, plans for writing something like that have been around for a while.
 
I've been inactive for a few days, what have I missed?
 
@PhiNotPi Check meta for some slightly worrying discussions ;)
Otherwise, not a lot
 
Have any of you used lighttable.com yet?
some of the IDE features it offers seem pretty awesome
 
3:52 PM
no I haven't
it looks a lot like sublime to me, but I haven't really checked out the features
there's also Atom: atom.io
 
hi
hi @Sparr
 
What sort of worrying discussions?
 
eh, just a few arguments about whether every question that's popular should be on topic
 
I hate the APL answers
I should have banned it
I can't read it and I can't test it
what is the point?
maybe someone can tell me what is going on with the non-ascii characters?
 
I just remembered that I never created the code-gofl challenge.
 
4:10 PM
@user2179021 you would have gotten downvotes for that
no one knows every language. there will always be submissions you don't understand
 
@MartinBüttner downvotes for what?
 
@user2179021 for excluding languages
 
@MartinBüttner Oh I see :) I didn't
 
if you hover over a chat message that has a little arrow at the front it will highlight the message it's in reply to
 
but actually I would like to pose a fastest code challenge that exclude C and relatives
not sure how to do that
 
4:17 PM
what's the point?
to let fortran win?
 
@MartinBüttner that's the part I don't know how to do :)
I would like to reward the cleverest solutuon
it's not clear how to do that
 
"cleverest" is subjective and hence not a good fit for PPCG
 
on a related note.. I would also like to pose a challenge that exclude the top 20 languages in tiobe.com/index.php/content/paperinfo/tpci/index.html
@MartinBüttner right.. I mean there is a tag for fastest algorithm
 
yes, you could do that
 
but if you just use big Oh notation then everyone gets the same answer basically
 
4:19 PM
yes that usually needs a tie breaker
you could count certain atomic base instructions
that would allow language-independent micro optimisation beyond big-O classes
 
Is there something more detailed than big-O classes?
 
@PhiNotPi yes
@PhiNotPi but you need to assume a set of statements which have constant cost
normally this is done by assuming you can read and write a single word of memory in constant time and you are allowed to perform any simply mathematical operation of a word of memory in constant time
this set is either defined very formally or simply by saying "whatever C has"
you can then either give the exact cost in terms of these operations, or even better, the exact asymptotic cost as the input size tends to infinity
@PhiNotPi was that answer too detailed :)
 
in golfers vs bowlers, would I be off the mark to guess that the ridiculously long solutions involve a longer program that's been encoded into something like a unary number?
 
@Sparr that's exactly what's happening, yes
well actually no, it's a very short program
if it isn't then it can still be golfed down and encoded in a shorter unary number
 
@Sparr I added an extra bounty for the edit distance question
@Sparr in case you were interested
 
4:32 PM
@user2179021 low priority, but still interested
on a long list of problems I have mental solutions to that I need to turn into code
why did you give the first bounty to the 75 point solution instead of the 92 point solution?
 
I've recently started playing a game called Foldit, based on protein folding.
 
@Sparr because I missed the deadline! I explained that in my new bounty
@Sparr I love your mental solutions :) Do you mind if I ask what you do for a living? Are you a student?
@PhiNotPi it's a cool game
 
ahh, so it got awarded on votes?
@PhiNotPi have you done any scripting in it yet? that's where it gets really interesting, for me
@user2179021 sysadmin and software developer
I think I'm going to give up on improving my drunk walk solution and just send the sketch to justhalf so he can cement his victory
 
@Sparr I haven't done any scripting yet.
 
@Sparr right.. basically I made a mistake
 
4:45 PM
@user2179021 puzzles get boring for me once I know that I can solve them. if the implementation takes too long after that, then I get bored.
2
often, I don't know that I can until I do, which is cool, but in many cases I know how to solve it long before I solve it.
 
@Sparr Everything else is a detail :)
 
for example, in your challenge, the two caveats are easily solvable, it will just be tedious coding that I don't want to do right now
 
@Sparr understood.. although to be fair this is a programming website :)
@Sparr so the packing problem does seem a relevant part of a challenge
 
oh, sure
I certainly don't expect to get the bounty
this is just one of those edge cases where I'm comfortable posting a solution that's not quite there
 
5:16 PM
@MartinBüttner Yeah, but that's kind of . . . ambiguous, as Peter's comments show. What I'm proposing is based on a standard that's widely used.
 
you could suggest your idea as an improvement to that proposal ;)
 
Don't you think the other idea I had (the InChi-SMILES converter, not the "display a molecule" thing) is sufficiently different? scratches head
 
5:32 PM
What about a code-golf that has to print numbers in words in the greatest number of languages?
Also, @PeterTaylor what do you think of that ^^ ?
 
@SohamChowdhury that's definitely completely different
I was just referring to your plotting idea
 
Ah.
And the words thing?
 
@SohamChowdhury hmmmm.
it has been done in english and french
french was horrible :D (a great challenge though)
what would the scoring be?
 
Cue CJam answer with hardcoded whatever.
Scoring?
 
well you've got two variables
code length and number of languages
 
5:40 PM
Maybe something like this.
 
how do you make a score from that?
score / languages?
 
(Max code len / code len) raised to (1 + number of languages / 10)?
 
no clue... I can't anticipate how that would play out
generally I wouldn't include maximum code length in the scoring, because it will change and you'd need to update all scores
 
Then...
Code len to 1 - languages/10? Lowest wins?
 
Everyone supporting 10 languages will get score 1 with that
and beyond 10 languages, longer code is better than shorter code
 
5:50 PM
I suppose so.
Should I make a Sandbox post for either of the two ideas I've had?
 
sure why not... although I think the plotting one could become a duplicate of the other one, so you might just be altruistic and help beta decay improve his with your ideas ;)
 
 
3 hours later…
8:33 PM
@SohamChowdhury Do you mean the greatest number of programming languages or natural languages?
 

« first day (1331 days earlier)      last day (3495 days later) »