« first day (3455 days earlier)      last day (1380 days later) » 

12:54 AM
0
A: Sandbox for Proposed Challenges

AriInfinite Mirrors Quine This challenge is to create a program that prints out code that prints the original. Basically, this program should take an input, check if it's A, and if so, print out the code in the if statement for if the input is B. If the input is B, print out the code in the A if sta...

 
1:06 AM
0
Q: Shortest prefix that can uniquely find a string in a list

russauWhen you type the id of a docker container into a command like docker exec you can type just the prefix characters needed to uniquely identify the container id. $ docker ps --format '{{.ID}}' 1a948cad61eb 18fe005e6b4a 1812a4a7f172 $ docker exec 18 echo hello Error response from daemon: Multiple ...

 
1:19 AM
0
A: Sandbox for Proposed Challenges

caird coinheringaahingCount the available moves Just a brief Lay-out of an idea, I‘ll expand it further soon. Given an input representing a chess board, containing between 1 and 16 pieces of each colour, with White to play, output the number of moves that White is able to play. Input may be any reasonable representati...

 
1:55 AM
1
Q: Tents and Trees feasibility

BubblerSequel to Verify Tents and Trees solution. Background Tents and Trees (try here) is a puzzle played on a square (or rectangular) grid, where the objective is to place tents horizontally or vertically adjacent to each of the trees, so that no two tents touch each other in 8 directions (horizontall...

 
@NewMainPosts We don't have a plain "surface area of a given polycube" challenge, or even "perimeter of a given polyomino".
 
2:16 AM
Edge length of a polycube also sounds interesting
Polycube is a standard term for 3D version of polyomino, yet searching for "polycube" on CGCC gives zero results!
 
@NewMainPosts Still trying to prove whether the problem is NP-hard.
 
 
1 hour later…
3:52 AM
@user202729 I think if it is NP-hard, it is NP-complete too (since the puzzle is obviously a SAT instance)?
 
4:35 AM
Yes.
 
 
3 hours later…
7:44 AM
Any feedback for this?
 
@Bubbler Meh, why doesn't +/⍣¯1 work?
 
@Adám :)
 
 
2 hours later…
9:52 AM
0
A: Sandbox for Proposed Challenges

Dom HastingsSort a list of versions code-golf string number Given a list of versions in any reasonable format (the default string format will be used throughout this question text), return the list, sorted from most to least recent. Versions in the list will adhere to the semantic versioning specification wh...

 
10:41 AM
0
A: Sandbox for Proposed Challenges

Dom HastingsXOR two strings code-golf string Given two strings as input return the result of XORing the code-points of one string against the code points of the other. For each character in the first input string, take the code-point (e.g. for A, this is 65) and XOR the value against the corresponding index ...

 
 
4 hours later…
2:32 PM
-1
Q: program to classify rice grains based on their lenght and breadth ratio using image processing and count number of grains present in image

Sagar kumar B=> WE Classify rice grains by calculating their average length/breadth ratio by using Image processing in python. =>We analyse the quality of rice by calculating the average length/breadth ratio for each rice grain. We use Image processing Based on this ratio, rice quality can be graded. This imp...

 
@NewMainPosts We had a similar question recently: codegolf.stackexchange.com/questions/206908/… (I can't see deleted questions, so I found the link to it in the chat by searching for "rice"). The default profile picture is the same, so it's probably the same user.
 
2:50 PM
@NewMainPosts I still can't prove either that it's NP-complete or its negation... it's so hard.
 
 
3 hours later…
5:36 PM
0
A: Sandbox for Proposed Challenges

fireflame241JFor? More like XNor. decision-problembinary As it turns out, Python allows for 1j for to be compressed to 1jfor. However, jfor sounds like xnor. Since all similar-phonic phrases have something in common, there must be some property shared between jfor and xnor. If we look at the ASCII representa...

 
6:11 PM
0
Q: Solve the dress problem

mathBackground Peter's Father, the Teacher of a dance-club, asks Peter a question: Given are two natural numbers(\$\mathbb{N}\$ \$x\$ and \$y\$). \$x\$ is the number of the dress-types(eg. shorts, shirts\$\dots\$) we have and \$y\$ is number of dress-colors(eg.green, blue, \$\dots\$) we have. In the ...

 
 
4 hours later…
9:51 PM
0
Q: Techniques for "reading" input while also writing to it like a stack

Andrew CheongWhen encountering a problem whose input is meant to be read sequentially, but you may also want to push back onto the input like a stack, which languages have the optimal boilerplates for doing so, and how? For example, from Create a Boolean Calculator, we have a string like: 1AND0OR1XOR1 We wan...

 
10:30 PM
@Adám Would like to start a recurring event in my own chatroom on discussing potential future esolangs and creating them, The Tarpit! (For languages too young to have their own dedicated room and just to throw around and play with ideas.)
Anyway, so you, with APL Cultivation and the new others in the Orchard are the only one I'm aware of that has a successful recurring event going despite timezones. Curious how well your particular time, ~15 GMT, worked and how often you've gotten complaints that it doesn't work for someone who'd really like to join. And how often you've gotten requests to change the time.
Currently trying to figure out the best time, but our current sample size is only 7 so would love to hear from your experience!
Equally helpful would be if people who've been here and socialized for a while, had a general sense of where most PPCG users are geographically centered!
Is it mainly Americans & Europeans?
If so, that leaves a manageable range between UTC-8 & UTC+2. In which case the question is how common, roughly, is it to find people from outside of that range? (That's all of Asia and Australia → Russia + Eastern Asia + Indonesia + Australia/NZ + Alaska)
 
10:50 PM
I know this isn't an SO room, but somehow it seems relevant for PPCG at large, in terms of perhaps inspiring an equivalent here. I'm not sure... Anyway, SO added thanks reactions experimentally!
 
ngn
@AviFS there's a non-negligible lot who aren't in the americas or europe. but what matters is when you sleep, not where you are :)
@AviFS the graph here might help
 
@ngn True, but I assume the offsets are only so large. I imagine the vast majority are asleep between 2 AM and 4 AM local time. Wait, you're right... That's not so helpful... Okay, fine! Between 12 AM and 6 AM is still most, I imagine
 
0
A: Sandbox for Proposed Challenges

Dannyu NDosCount The Genus Objective Given a matrix of connected box drawing characters, count its genus, the number of plane sections it encloses. Valid input The box drawing characters are ─│┌┐└┘├┤┬┴┼╴╵╶╷ (U+2500 U+2502 U+250C U+2510 U+2514 U+2518 U+251C U+2524 U+252C U+2534 U+253C U+2574 U+2575 U+2576 U+...

 
@ngn Oh my goodness! Thanks a mill! Never paid attention to what those ugly grey blocks meant. Silly me
Super useful, thanks again!!
The burst on Wednesdays is shocking! Any hypotheses for why it's so dramatic? Could it simply be that people are most in need of distraction once the middle of the work week drags around?
 
11:45 PM
CMC: "Transpose" text "up by a note". Notes are A-G and a-g; you can either wrap from G to A and g to a or from G to a and from g to A. Example "Bocd Fole" -> "Code Golf".
 

« first day (3455 days earlier)      last day (1380 days later) »