« first day (4212 days earlier)      last day (636 days later) » 
00:00 - 21:0021:00 - 00:00

9:03 PM
0
Q: Benchmark games, but polyglot code

Olle HärstedtBenchmark games can be fun: https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/nbody.html But it's only monoglot code :( Can't we try to do them in polyglot instead? :)

 
^ cast your VTCs plz
 
@graffe Well, some of us have nothing important to do but are too lazy to read the challenge in its entirety and offer feedback
 
@user that is a very reasonable stance to take :)
 
However, you have made me feel guilty enough to override my laziness now :P
 
^^^
 
9:14 PM
@graffe I don't know if you saw my comment, but what kind of challenge is this? KotH? test-battery?
 
@graffe There will almost certainly be one optimal way to do this, and it will probably not be particularly hard to implement
 
@user answered
 
Challenges where the hard part is something someone has to slog through first to find a formila that everyone else just ports tend to be kind of boring
 
@NoHaxJustRadvylf but how hard will it be to find?
@NoHaxJustRadvylf it's not code golf so copying someone else doesn't benefit you
 
9:16 PM
Not sure, but that only makes the challenge interesting for one person
 
I wonder if you could turn this into an asymmetrical sort of challenge where one side plays the wizard and the other side plays the person looking at the boxes
 
@graffe What is it then?
 
@NoHaxJustRadvylf code-challenge
 
@NoHaxJustRadvylf Well, it makes it interesting for everyone who can find an improvement on the previous best, but yeah, it'll end pretty quickly when someone smart finds the optimal strategy
 
My most recent challenge had a similar flavor. A lot of people found it interesting
 
9:18 PM
In that case then, I think it's kind of boring and not really a good fit for CGCC. It's barely about code.
 
@user if I get 10 increasingly clever answers in a week I think that is success
 
There's very little, to use KotH terms, skill ceiling
 
@NoHaxJustRadvylf hmm ..
I disagree :)
 
@NoHaxJustRadvylf To be fair, a lot of challenges here are more math than code and people like them
 
@graffe Code Review tells people to use snake_case. =P
 
9:21 PM
There is code with no math and that's ok. But I personally find clever ways to solve problems with code exciting
@DLosc evil!
 
@DLosc It's worse. The Python devs themselves recommend it. We must cut off the snake's head itself before attacking CR!
Friends, let us march against the evil dictator of Python!
 
Also, I just don't think you would get such great answers in such large numbers for a pure math question
Coders are amazing
 
r/codercirclejerk?
 
@user luckily the top speed of a python is about 1 mile an hour...I think
@user that sounds worrying
 
I don't think it exists, I was just responding to your "Coders are amazing" message
 
9:25 PM
Yes, in a worrying way :)
 
bleuagh snake case
 
Some coders certainly are amazing, but I think the vast majority of them are mostly standing on the shoulders of those giants. They can look amazing but a good bit of that is because they have a ton of experience, not necessarily because they're brilliant and talented
 
@user What are you talking about?? Python doesn't have an evil dictator, it has a benevolent dictator. :P
 
Well of course you'd expect a dictator to call themselves benevolent
 
@user yes. But the quality of the answers to my last question was awesome.
 
9:41 PM
Two were from new users
Would it be too boring to draw the queen and its lasers (inspired by this challenge) in ASCII art?
It's hard to tell, because according to me, any challenge I think of is boring :P
 
9:57 PM
@NewPosts would it be rude to tell this guy to lurk more? it seems like they intended to participate with this site for what it actually is but hasnt fully grasped the gist of it
@Steffan maybe, but it also depends on whether people seeing the queen's lasers mostly end up having to draw them anyway
if a lot of people come up with ways to work around it, then having a challenge where you specifically do have to draw them stands more a chance to be interesting
 
@thejonymyster i dont think so
instead of saying "this is blatantly off topic", point them in the right direction
 
right lol
 
i just told them to join us here, get ready :)
 
thank u yeah :-)
 
@thejonymyster All the answers so far either draw it, or come close to drawing it
The MATL answer doesn't really draw it, but it still comes very close
Just using powers of 9 instead of symbols
 
10:02 PM
right yea i wasnt sure whether to count it
 
I'm thinking if I make the ascii art challenge, I might make it so they have to draw multilpe queens
That might make it a little more interesting
(as per your suggestion)
 
@Seggan in re your comment: i actually went and visited the page trying to see what the challenge was and wow is that benchmark site confusing
it could just be a culture shock thing though :P
 
The other day I was thinking about a challenge to make a Knight minifier
But I'm afraid it's boring (as always)
 
yknow one thing i soooooometimes do for a challenge is try and come up with a challenge idea but then just take the most interesting thing about it and explore that aws a challenge idea instead
may take a few iterations
but thats basically waht the queens challenge is
"However, I've quickly lost interest in chess and am more fixated on the diagram itself" lol
what would a knight minifier be though btw
 
I don't mean Knight as in chess lol
 
10:10 PM
no i know lol but thatd be funny
i just dont know enough about knight to know whats minifiable
 
you take the knight and you shrink it
 
in Knight, Aug 7 at 9:16, by emanresu A
Minifier: https://bit.ly/3vHi07R
 
ooh i know js i can read this
wtf why have i never thought of tokenizing like that
 
@Steffan no its not
@Steffan oh wait you dont?
chess knights would be interesting tho
"how to get to this spot"
i call that challenge idea
 
knight pathfinding?
 
10:18 PM
ya
 
lmao looking for pathfinding challenges i found this
idk why but i thin kits rlly funny
 
@Seggan As if there aren't already a hundred zillion knight's tour challenges
 
wait what
 
10:35 PM
It sounds interesting, shortest path with a knight
7
Q: Knight's tour game (7x7)

6160Your job is to solve this chess-related game. The setup of the game is a 7x7 tile grid, you start on a random tile and you have to hop on each tile, until you hopped on all 49 tiles. Top left corner is (0,0) Rules: you can hop on each tile once. the only move allowed in the game is to hop tw...

 
tfw you accidentally close chat and now you don't know how much scrollback you had
 
@Steffan That's what I was expecting the problem to be when I saw the title. But I thought it would be a full chessboard, and the queen's lines stop when there's a piece in the way. (Or maybe, deluxe version, the lines stop when there's a piece in the way, and the piece gets turned into an X if it's an enemy piece that the queen can capture.)
 
11:34 PM
@thejonymyster Because it usually doesn't work / is ugly
Regex are not always enough to ttokenise a string, Knight's just simple
 
11:50 PM
@emanresuA Btw, your tokenizer fails for multiline strings as . in regex doesn't match newlines
Instead, use [\s\S]
 
@Steffan Or [^]
 
That seriously works?
I guess it should
Most languages, you can also use the s modifier and then use .
 
@Steffan Yep, it works
 
Yep, [^] works in JS
Also [\d\D] and [\w\W] work
 
11:54 PM
I think in some flavors of regex, [^] doesn't work
Idk
 
Looks like it doesn't work in Python, it just errors
 
00:00 - 21:0021:00 - 00:00

« first day (4212 days earlier)      last day (636 days later) »