« first day (1584 days earlier)      last day (3251 days later) » 

12:00 AM
"ROUS? Rodents of Unusual Size? I don't believe they exist."
 
Say what?
 
@xnor just read the explanation for your diamond tiling answer. that is absolutely beautiful. I think I've got something in my eye.
 
thanks!
that's the joy of meticulous golfing
 
:D
Had to go look up your answer
Awesome work!
 
I've been looking at the Samurai KOTH, and I've been wondering what branch of game theory applies to those types of games.
 
12:12 AM
You must theoretically play the game to game theoretically apply game theory to the game you play.
@BrainSteel This, obviously.
 
Ahhhh, okay. It's been a long time since I've seen that one
 
Well clearly you should ameliorate that immediately.
 
You should have said something while I was walking around! :P
 
? Because you can only watch movies while walking?
 
Because I can only get movies while walking.
 
12:27 AM
Mm. Fair point.
 
The amount of sense being made is very low.
 
What good may be done with sense?
 
@PhiNotPi This describes what happens in my head 24/7.
 
0
Q: Make a valid error maker!

M. I. WrightWe've been twice challenged to make 'error quines' (see Make an error quine! and Make a slow error quine maker!), so why don't we try the opposite? Instructions Write a "program" that, when run, produces an error. Copy the error message into a new program, and run it. Repeat Step 2 until the p...

 
12:44 AM
^ :/
 
Over 100 for hook length. This can't be right D:
 
D:
 
 
1 hour later…
1:46 AM
0
A: Sandbox for Proposed Challenges

KatyaFibonacci Box Packing Factory code-golf fibonacci Introduction The Electronic Goods Company is a company that produces electronic item of various sizes. They need to package their items in boxes so that they can be shipped off to the store. There are some restrictions regarding what item can b...

 
 
2 hours later…
4:10 AM
0
A: Sandbox for Proposed Challenges

Nathan MerrillFrom A to Zilch Zilch, Farkle, Greed, Dice 10000: The game goes by many names, and many rules. Your goal is to make a program that can play them all optimally. The base rules goes as follows: At the beginning of your turn, you have 6 available dice At the beginning of each roll, you either c...

 
4:49 AM
0
Q: Translate your English source code into a foreign language

CJ DennisI have noticed that there are a disproportionate number of computer languages based on English. I propose to fix this by translating existing computer languages into foreign languages! Pick a computer language that uses English keywords/functions Pick any natural* language other than English Wr...

 
5:00 AM
0
Q: What should I do with my fastest code challenge?

DennisSo I've vastly overestimated the processing it would take to find domino tilings of a rectangle and wrote up a challenge that has gotten a little weird. First of all, the execution times are really low. For both answers, execution takes roughly the same time as compilation. The answers (both in ...

 
 
2 hours later…
6:54 AM
dammit, Pyth is already 21 bytes, and that too, not with Jakube or isaacg
 
7:32 AM
0
Q: Visit each drifting tracker

CarpetPythonYour job is to replace the battery packs on many floating fish tracking devices in the shortest time. You must leave your base in the base helicopter and visit each tracker once, then return to the base. Finding the optimum route is known to be hard, but there is an additional difficulty! Each t...

 
7:48 AM
@Optimizer hmm, it would be nice to make it reusable, but I need to find a good way to do it
@Optimizer by the way, have you noticed who's winning your AAOD's? :p
 
7:59 AM
how people make gif's for the cat challenge? is there a tool I missed?
 
@randomra if you can generate the frames, putting them together is easy with imagemagick
 
@aditsu I am waiting for a little explanation before the tick mark
 
2 people used the same size/layout, so I thought there is a tool
I prefer 0 work to little
 
@Optimizer I added a little explanation for the 2nd one, I can do the other ones too
@randomra no idea about that
 
@aditsu I wonder how your 3rd's answer is bigger than 2nd's
 
8:13 AM
well, the art is a lot more complicated
the fractal is simple
I think both are still golfable
 
8:50 AM
man I'm really annoyed at the runtime requirements of the hash contest =/
they're way too strict for slow languages
 
Well one the bright side it deters the use of golfing languages a little, so people will more likely be willing to participate
Just as long as we don't get TinyMUSH again
 
what is TinyMUSH
@Sp3000 not really
@Sp3000 Python is too slow
Python is not a golfing language
 
Python's tight, but it's perfectly doable. Just don't exec loop :/
 
no
it's not doable
you did 4 bytes at once
if you try to do byte-by-byte it's impossible
my answer was 1.5 sec with a loop and no exec
still too slow
 
I have one in progress which needs to work bit-by-bit. I did list(map(int, bin(n)[2:])) and it runs fine in half a second
 
8:57 AM
for 1 million bits?
 
Yes.
Python 3 though
I'm not sure if that makes a difference
 
I don't believe you
just list(map(int, bin(2**(2**20))[2:])) alone is 0.4 seconds
and that's without any processing
 
It's 0.21s on my computer. That might be why
 
@Sp3000 but that's without any processing
 
9:15 AM
@Dennis wanna tag along to beat Pyth on Hook Length ?
I know it can be golfed to 17 at least.
 
@orlp Will wait to see what Dennis says then, I guess. 2s would be nice, but I'm hoping that doesn't let user23013 go nuts with CJam :P
 
@Optimizer could you show the unary based CJam hook code?
 
9:37 AM
@Optimizer one does not simply beat Pyth
 
9:53 AM
@orlp do you want me to link again ?
the recent defeats of pyth
@randomra I did not golf it further, so its still 24 bytes. let me recollect
 
-1
A: Unscramble the Source Code

MuqoTinyMUSH 3.1, 20 Scrambled: (#ret,#3!#+#2i\2#,@) Output: 3210

 
what is tinymush
 
@randomra does this work ?
 
no one knows and that is the relevance!
 
10:09 AM
10 mins ago, by Martin Büttner
-1
A: Unscramble the Source Code

MuqoTinyMUSH 3.1, 20 Scrambled: (#ret,#3!#+#2i\2#,@) Output: 3210

 
@Optimizer BUT WHAT IS IT :O
 
3 mins ago, by feersum
no one knows and that is the relevance!
 
There was a short period of time when it almost looked like it was going to win purely because nobody could figure out how to get hold of the language
 
if quote replies weren't so annoyingly large (especially once they're reused), I wonder for how long we could go having an entire conversation only by reusing older messages
 
aww
lost in league =/
now I'm 12-2
 
10:16 AM
@Optimizer yeah, thanks
May 9 '14 at 23:18, by m.buettner
hi
I might try hook with Retina, there are some interesting methods in that
 
Anyone planning on cracking user23013's hash? Or are we all intimidated by the CJam?
 
I was looking at it earlier
it's tricky
 
@MartinBüttner I fully golfed (to my knowledge) the Retina Diamond challenge than realized the scale is not fixed 2 but variable, after that I lost my enthusiasm on that :/ (here is the fixed scale-up version)
 
how do you quote messages?
 
@aditsu just paste the permalink
 
10:22 AM
paste permalink
 
@randomra helps in golfing yours ?
 
ok :)
 
@randomra ah sorry... and I specifically allowed unary input in hopes that would help ;)
 
@MartinBüttner I might restart it when my disappointment goes away :)
 
Apr 6 at 16:53, by orlp
shit
Dec 9 '14 at 20:06, by Martin Büttner
oh shit
 
10:25 AM
quick pcre regex to check if value is blank ?
 
^\s*$
assuming you allow whitespace
 
what does "blank" mean?
 
@Optimizer don't know yet, I'm just interested in the method, but it takes some time for me to decipher CJam
 
ee - enumerate - [index value] pair
: - do it to all elements of 1d array
 
what the fuck
 
10:26 AM
:: - 2d
 
MUSH stands for Multi-User Shared Hallucination
seems like some RP shit
 
W% - reverse order 1 d, Wf% - reverse order each 1d in 2d
@MartinBüttner ""
0 length string
 
@Optimizer thanks, my usual approach is just spamming ed's into the code
 
@MartinBüttner I feel stupid now
 
11:08 AM
soo... everyone is following the ascending method ? :D
 
@Optimizer hmm, haven't realized you can do that when wrote the J code, saves 1 byte
 
@xnor Ahaha oops I've been shuffling back and forth and forgot I could do that
 
while you're at it, I think you can combine the p=1 and j=0
by doing p=j=-1
incrementing j before the loop body rather than after
and printing -p
i've come across this exact situation before
 
... wow that's messed up but amazing
 
:-)
 
11:14 AM
Have you tried this yourself, btw?
 
yup
 
Lemme guess - 70? :P
 
i wish :-)
 
Okay then I didn't do too badly :D
 
i'd believe 70 can be done though
 
11:18 AM
Hm...
I liked my recursive attempt, until I realised it doubled up on counting products since there's multiple ways to reach a square by moving right/down from the top left :(
 
11:43 AM
must. golf. 3 bytes.
 
0
A: Sandbox for Proposed Challenges

KatyaPirates! king-of-the-hill Introduction Arrr mateys! All hands on deck! Tharr be a ship o' other pirates comin' starboard up t' us on t' starboard! Man t' six pounders! We'll show these guys what we're made of! ... What? They have t' exact same ship, and t' exact same six pounders as us? Th...

 
I guess it's ok to post almost identical Cat and Catcher programs
(every Cat program is a non-horrible Catcher program)
 
12:17 PM
CodeBots3 source is ready: github.com/nathanmerrill/CodeBots3
 
@NathanMerrill I give you permission to edit the "3" in this sandbox answer to any other number: meta.codegolf.stackexchange.com/a/2124/2867
 
@PhiNotPi if you ever end up posting that, you can make it what ever you want
this most recent CodeBots was definitely the hardest in terms of design
as I have to figure out what happens with multiple threads
also, is there anybody in here that has not read my past CodeBot challenges?
I want to see if they can understand my explanation
 
12:33 PM
I'm reading now.
(just fixed a typo in it)
 
wow, making a piet compiler with nice output is HARD
 
I would say simply "making a piet compiler" is probably hard.
@NathanMerrill Reading through commands now. If I'm facing North and do Move 1 that moves me East without rotating me to face East?
 
Does this !X tests whether the variable or line X is locked return True if locked?
 
12:48 PM
How would you get it to execute a command only if it is NOT locked?
 
in your else clause
 
Okay.
 
@PhiNotPi Not that much if you don't care about the output looking nice... the problem arises when you try to do fancy things...
 
@NathanMerrill You should probably add in more details about the tournament structure. I see the part about 50 bots in a toroidal world. How big is the the world and how are the bots arranged? How many games will be in a tournament?
 
@PhiNotPi I haven't decided that yet. I believe I'm doing the same size/arrangement of the world, but I don't know on games
 
1:09 PM
It should be Code Bots ϕ obviously
 
1:25 PM
posting zodiac signs..
 
0
Q: ASCII Art of the Day #4 - Zodiac Signs

OptimizerWe all love horoscopes, don't we? But I have a serious problem in this Horoscope App installed on my Smart Phone that it only displays the icon of the Zodiac Sign for each day's horoscope. Now, I do remember my horoscope, but its hard to remember others' whose horoscope I am interested in. Chall...

 
1:45 PM
..I don't think I'll be attempting that, haha
 
I can't see a viable way to code those signs !
 
Sometimes, its just about compression ..
 
Start with hardcoding and optimise
 
in fact, I changed a lot of characters to reduce the character set and to add symmetry ..
 
Do self-answers contribute to the hotness rating?
 
1:55 PM
dunno. why are you worried ?
 
0
Q: Non-Palindromic Polygot Boggle

YpnypnIntroduction The number 101 is a palindrome, since it reads the same backwards and forwards. The number 105 is not. However, 105 in base eight is written as 151, which is palindromic. On the other hand, 103 is not a palindrome in any base from 2 to 101. Hence, 103 is strictly non-palindromic. T...

 
@Sp3000 I've lowered the maximum to 2^(2^19), so y'all have twice the time per byte now.
 
@orlp ^
Ahaha thanks
 
@Optimizer I'm curious, not worried
 
Hmm damn 128-bits is just short of what I wanted to try. Oh well.
 
2:09 PM
@NewMainPosts I can't see yet how you beat the shortest single language golf
 
Lots of overlapping, I guess
 
but the non-overlapping part would have to be shorter than a cjam/pyth code
which I don't think many language capable of at all
 
Not if you have a lot of languages... somehow
Where's that other multi-language challenge gone again...
 
14
Q: Choose-Your-Own-Language Code

Martin BüttnerLet's take a grid of 16x16 printable ASCII characters (code points 0x20 to 0x7E). There are 30-choose-15 paths from the top left to the bottom right corner, making only orthogonal moves, like the following example: ##.............. .#.............. .######......... ......##........ .......##.......

this?
 
Having a single CJam+Pyth answer gave a very good score, but by increasing the length you could add a whole lot more programs for an even better score
Can't say it's necessarily possible here since the challenge is a bit harder, but who knows
 
2:14 PM
So it's not worth changing the score to length/(n squared) for n languages?
 
n^2 definitely not, than the more lang you have the higher your score
@Sp3000 ok, with many languages I can see it happening
doesn't seem easy though, but that's not a problem
and diagonal movements help a lot, I haven't noticed that initially
 
@Dennis did you try hook product yourself yet ?
 
2:45 PM
@Optimizer A little. So far, my ideas haven't even gotten near 20 bytes.
 
3:21 PM
@Dennis I have multiple 20/21 byte answers using different input formats
 
4:05 PM
"Successful tour in 135169100000000 seconds." with a very loose definition of success
 
new (code-)challenge: boggle board compression
@trichoplax I think they do. at least you can get into HNQ with nothing but a self-answer
@randomra I managed to improve my score by adding a (longer) golfscript program to the board
crap
I forgot fb
but the score will still be lower
 
@MartinBüttner great, there are some layouts which I haven't considered
 
hm, 41 is prime, but I'll try to fit it in 42
 
boggle-board seems like a nice challenge, there are many ways to start and you can't really brute-force
 
4:23 PM
composing the grid is such a pain
 
do people work on the cat catching challenge silently? I think that's a good one, especially for catchers
@MartinBüttner should have asked the boggle-board challenge while this was sandboxed :)
 
I've got it in 7x6 now, but in the meantime I've found a way to change the CJam program such that they only need 39 characters in the board (or 40 if I can't fit them in 3x13)
got it
 
4:45 PM
@Optimizer The best I've been able to do this far with your input format is 1q~{__,,.+@+:*\:(0-}h. I haven't tried other formats yet.
 
yay, 19x2
 
From one line of Python I managed to get unpleasantly surprised by both versions 2 and 3
So I was ORing some numbers together with reduce
 
I guess now it would be good to know Pyth...
 
and int.__or__ barfed on longs
So I tried it in 3 (which has no int/long distniction) and was reminded that reduce is missing.
 
every other language I know is gonna increase the board size so much that I'll need to include many of them, at which point I probably can't be bothered with finding the optimal boggle board any more
 
5:43 PM
0
A: Sandbox for Proposed Challenges

Martin BüttnerBoggle Board Compression code-challengeboggle (optimization/compression) When working on Non-Palindromic Polyglot Boggle, I found it quite tedious to pack the codes as efficiently as possible onto the Boggle board, even with only two strings. But we're programmers, right? We know how to automat...

 
that was fast
 
5:53 PM
I think the "bot" is on a timer, not a push.
so if you are lucky it will announce your post in a few seconds
unlucky, a few minutes
 
yeah, although it's not entirely regular.
 
Touchpads are painful to use after burning my fingers. :(
 
but burning your fingers wasn't?
4
 
The adrenaline rush numbed the pain.
 
 
1 hour later…
7:20 PM
0
Q: XKCD: Keyboard Mash Anomalies

MickyTAnother XKCD inspired competition. This one is based on Keyboard Mash. Given a input string identify the anomalous characters based on the QWERTY keyboard assuming that the majority have been typed on a single row of the standard US keyboard. Input strings can contain shifted key strokes, but th...

 
7:43 PM
Just gonna throw this out there...
 
0
A: Sandbox for Proposed Challenges

Nathan MerrillPointer Indirection All of us C++ programmers know how wonderful pointers are, so we've decided to build a system where all memory is used as a pointer. This system has two chips of RAM, and each chip points to the other. Each spot in memory contains a number from 0 to 9, and your memory has ex...

 
A new KoTH, tell me if it seems interesting ^
 
Nice work, Jimmy. — Alex A. 7 mins ago
 
someone crash course me in pyth
or at least tell me if there's a way to map stuff other than a for loop
FN<seq>N<body> seems too verbose, surely pyth can't keep winning challenges if that's the best it has
well, N would probably be at the end of the body, but you get the idea
 
8:00 PM
The normal way to map is with m
 
whoops, that would probably make things harder
 
m*d3U5 = [0, 3, 6, 9, 12]
 
I was trying to search the docs on the online interpeter page, but I had arity selected as the search target
thanks
 
8:13 PM
converting to a set results in random iteration order in pyth? gross
and not even deterministic random
I feel like I must be doing something wrong because that's just so terrible
 
is it based on python 3? python 3 randomizes the hasd by default
 
that seems kind of like a problem
unless there's some other way to remove duplicates from a list and retain order
any easy way to flatten/stringify a list?
 
That moment when you start doubting your code after watching a 21 bytes longer submission by Dennis
 
8:37 PM
guess not, d'oh
what gives, I thought pyth was supposed to be better than CJam
 
@Runer112 use CJam
 
I was, but I need to read a local file
and CJam sucks hard at that
 
"file:///..."g?
 
yes, super bloat
I don't even know pyth, and converting my CJam code to Pyth saved 7 bytes
basically all due to that
 
@Runer112 restart on making CJam awesome again ?
@Vioz- mind cleaning up the comments in there ? :)
(Now that confusion is cleared)
 
8:41 PM
abandoning ship to pyth in this case
the penalty to reading a file in CJam is just too great
 
(due to the 6th example and OP)
 
Hmm, I have a severe thunderstorm watch for my area right now.
 
Yeah, that post is very confusing in explanation. #6 definitely doesn't have a tiebreaker. I removed my comments.
 
@Optimizer A,"..."_eu]zsS/ (saves two bytes, but needs some more testing)
 
That's neat!
 
8:50 PM
@Optimizer: One of us misunderstood something. Our answers give different outputs for ASDF11111.
 
he said to print a char on same row once only
(I guess..)
 
FYI Optimizer, your link is broken, it cuts off after the +S/
 
@Vioz- yeah.. links are broken on firefox..
 
I'm on Opera, but yeah, your 86 byte link works now.
 
@Optimizer it was broken on Chrome, too
 
8:53 PM
oh.
 
Probably a Webkit/Blink issue
I dunno.
Also, MickyT confirmed that the correct output for ASDF11111 is ASDF
 
ok..
What is teh correct output for ASDF111 ?
 
1 would be correct
 
not 111 ?
 
No, you wouldn't print out repeated characters in the losing row.
 
8:57 PM
Each character is printed only once, but multiplicities count for determining the least common row.
 
Yeah, it's sort of odd.
 
Only if there's a tie, fewest unique characters is important.
 
9:12 PM
I'm thinking of doing a Lojban entry for the programming language translation challenge
 
9:28 PM
@MartinBüttner Thanks - I'll bear that in mind
 
10:04 PM
@Dennis @Vioz- ok, fixed mine, and golfed 2 more bytes
 
@randomra What did you use to capture the GIF of your catcher?
 
That's a standard US keyboard?
 
did you click the link ?
 
I did now.
That's why I'm asking.
 
so yes. it is
I will totally believe wikipedia :P
(but i personally have the same keyboard as you have coded)
 
10:15 PM
Well, Wikipedia just says QWERTY.
So I can make my code shorter by fixing it. That doesn't happen every day...
 
but I have seen ones with L shaped Enter and smaller shift. such that |\ are next to shift
 
Those are more common in Europe. But \ on the top row?
Stupid markdown.
 
we will both have 84 then
 
@TheNumberOne flawr adds those, he runs the KotH with great care
 
0
Q: Isn't It Ironic? A Little Too Ironic?

corsiKaI made a joke the other day and sent it to some friends. One replied back "I love the irony!" and I looked at it and realized there was some irony in it. But that wasn't the irony she saw - the irony she was was the punchline of the joke, which wasn't ironic in the slightest. And it got me think...

 
10:26 PM
0
A: Sandbox for Proposed Challenges

trichoplaxWorst Case Manhattan Exclusion code-golf geometry grid packing Imagine a grid of squares that wraps toroidally. Items are placed onto the grid as follows. The first item can be placed on any square, but subsequent items must not be within a Manhattan distance R of any previous item (also known...

 
That "ironic" challenge seems almost like a duplicate.
It's not technically a duplicate, I don't think, but it's an "output this exact text without using these letters" challenge.
 
so it's not a duplicate, but not particularly original either
 
How ironic
@NewSandboxedPosts Would anyone recommend putting a time limit on this for a particular test case, just to stop answers that can't be tested?
 
@trichoplax I don't think that counts.
 
@PhiNotPi No I know - but that's what the post was all about :) (misuse of the word)
 
10:34 PM
Okay, TheNumberOne's answer to that is pretty ridiculous.
 
well, it's a start at least
 
Actually, it's Ironic.
 
guys, you cannot use IRONIC in any case in your words for that challenge ..
 
55
Q: How do I undo True = False in python interactive mode?

hortaSo I tried the "evil" thing Ned Deily mentioned in his answer here. Now I have that the type True is now always False. How would I reverse this within the interactive window? Thing to not do: True = False Since True has now been completely overridden with False, there doesn't seem to be an ob...

I'm so glad I use python 3 and not 2...
Most of the answers seem to be ways to make it worse or examples of worse things
 
11:14 PM
I'm sad to discover that Stack Snippets are not automatically available on all SE sites (despite not having a reason to use them...)
 
@trichoplax Nice challenge, although I'm not a fan of having to handle W = 0 or H = 0.
 
Thanks :)
I'm flexible on that - I specifically put them in to see what people think
 
R = 0 sounds good though
 
In that case would you say that you can assume W >= D and H >= D? (Where D is the diameter, 2*R + 1)
I guess R=0 doesn't require a different approach from any other R
The other thing I wondered was whether making it the minimum rather than the maximum allows some trivial method I can't think of.
 
no, having D wrap around sounds good to me
2
yeah I do wonder whether you can just pack the grid greedily
 
11:34 PM
I've edited to exclude W=0 and H=0
My guess is that finding the maximum is easier than finding the minimum, but my reason for wondering about the minimum initially was because I wanted to know the worst case for initial placement of players in a KotH, and then I thought it might make an interesting challenge
Also, if a greedy algorithm doesn't give the optimal result then I wonder if it would be better as a competition to find the lowest, rather than having to prove each answer optimal
 
11:58 PM
I suppose most people have seen the featured mother meta post by now. If not, you should read it. And I've made a related post on MSE that might be relevant for us:
0
Q: Can we do something about the "beta" label?

Martin BüttnerSo there's news on SE's policies regarding beta sites and graduation. One important take-away was that perpetual beta status is definitely a thing, which doesn't have to mean the site isn't being successful. So some people have objected to the use of the "beta" label in these cases, I've actually...

 

« first day (1584 days earlier)      last day (3251 days later) »