« first day (1718 days earlier)      last day (3108 days later) » 

3:00 PM
Writing it up now, parameter for rotation distance.
 
can it be negative?
doesn't matter actually...
 
Not unless you really want me to change it :)
Thoughts? :
> The spiral should be taken as a string, with a line delimiter of your choice (including no delimiter). It will always be a square, not including delimiters.
 
well I don't really care... the current solution unrolls the spiral and defers the rotation to CJam's m> or m< depending on which direction corresponds to positive numbers
@Geobits sounds good. my current solution works for arbitrary rectangles though. (not sure if squares would save anything)
if you want to play around with it (or generate test cases): goo.gl/hXbkhx
 
Thanks :)
Typing them into np++ is a pain.
 
the mistake is clearly that you're using np++ ;) (although I'm not sure it would be that much better with sublime...)
 
3:04 PM
I have... limited options on this computer.
 
3:22 PM
0
Q: Print the Capitals without the Capitals

TimmyDWhoa, whoa, whoa ... stop typing your program. No, I don't mean "print ABC...." I'm talking the capitals of the United States. Specifically, print all the city/state combinations given in the following list in any order with your choice of delimiters (e.g., Baton Rouge`LA_Indianapolis`IN_... i...

 
@Geobits you should be able to run Vim
 
I probably could but why would I? It's vim ;)
 
*grabs some popcorn*
 
0
Q: Rotating Spirals

GeobitsGiven a square of text representing a spiral of characters, rotate it! The spiral starts at the center and moves counterclockwise to the outer edge 987 216 345 This translates to the string 123456789. Rotation is done to the left, so if you rotate it one position, it will be 234567891. This i...

 
@MartinBüttner I think the only change yours needs to match spec is reversing the direction of rotation. I had to use negative numbers to do the test cases :)
 
3:36 PM
@Geobits cool, change m> to m< ;)
lol, nice subliminal messages
 
:D
 
you should include another test case where some rotation gives an intelligible sentence/phrase when read by lines
 
I was going to, but couldn't decide on what. Then decided I really only needed two.
I like that the first comes out as words by line, though, even if it was an accident.
 
ah yeah, the restriction to square inputs saves at least 5 bytes
 
3:52 PM
0
A: The Mystery String Printer (Cops)

quartataPBASIC Range: <= 32 String: 000000184066073CB303FC6A6B901CFC14844C3543BA023499B966F6E05707C0 (note that this was run on a regular BS2, it may not work on the BS2e or similar) The big guns.

mwahaha
 
4:16 PM
0
Q: Backward search in UTF-8

anatolygUTF-8 is the most popular encoding for Unicode text. One of the advantages of UTF-8 is that it's self-synchronizing, that is, it's possible to decode the text starting from arbitrary byte, both forward and backward. Let's prove it by making a reverse-search routine! It must take the following in...

 
@Geobits I hope I waited long enough ;)
 
I was expecting it a bit sooner, but this is fine :)
 
any ideas about this?
0
Q: Unicode supplementary planes in JavaFX

aditsuI'm having problems dealing with Unicode characters from supplementary ("astral") planes in JavaFX. Specifically, I can't paste such characters in a TextInputDialog (I get some weird characters instead, such as ð), and can't use them in a WebView (they get rendered as ������). The same character...

 
4:34 PM
@Geobits Over at the Workplace, they're no longer getting knifed, but thrown under buses - workplace.stackexchange.com/posts/55795/revisions . . . I'm not entirely sure which would be more desirable.
 
Ouch. So much violence in the workplace nowadays...
 
Isn't modern life wonderful?
 
@Geobits A test case with an even size might be good, since the last row you traverse is not the top
 
The spec calls for odd sizes only. I did it that way to simplify the meaning of "center" mostly.
 
4:56 PM
I am uncertain this works; if I've done it correctly, it will output this image for 30, 12. See: bit.ly/1GFZni7durron597 54 secs ago
 
0
A: Sandbox for Proposed Challenges

NBZTypesetting multidimensional labels code-golfcountingpermutations3d In a steam-punk multidimensional world, our boss wants to affix printed index labels to each drawer in our conglomerate's multidimensional file cabinet. The boss wants to typeset the entire label sheet as a single form, using a...

 
@durron597 thanks for letting me know... I might fire up my Ubuntu VM later to test it directly in Matlab
 
@MartinBüttner I don't actually have a real matlab instance, I couldn't get Octave online to support loops so I unrolled it manually
It looks correct-ish but it needs to more work to rotate the image 45 degrees and rescale it
 
Oh wow, my first yearling badge!
 
5:12 PM
Congratulations! That's like three yearlings in SO years.
 
@Geobits Ah right. I... need sleep :/
 
5:52 PM
@Sp3000 Sleep? Who needs sleep?
4
 
1
Q: Home improvement for the Minotaur

flawrHome improvement for the Minotaur The cretan labyrinth is quite easy to draw. Just start with a symmetric shape (here in red). Let us call all the endpoints of those lines 'nodes'. Then you begin drawing the arches (black): The first one alway begins in the top middle node and connects to the n...

 
Never could understand how that labyrinth was supposed to keep the minotaur in. It's not exactly hard to get out of it.
 
it's a pretty amazing challenge though... I don't even know how best to tackle it
 
Thanks=)
 
Leaning in so you have a lower center of gravity usually helps.
2
 
6:07 PM
@Geobits There is a good explanation on how that word developed:
In Greek mythology, the Labyrinth (Greek λαβύρινθος labyrinthos) was an elaborate structure designed and built by the legendary artificer Daedalus for King Minos of Crete at Knossos. Its function was to hold the Minotaur eventually killed by the hero Theseus. Daedalus had so cunningly made the Labyrinth that he could barely escape it after he built it. Although early Cretan coins occasionally exhibit branching (multicursal) patterns, the single-path (unicursal) seven-course "Classical" design without branching or dead ends became associated with the Labyrinth on coins as early as 430 BC, and similar...
 
> It is a confusing path, hard to follow without a thread, but, provided the traverser is not devoured at the midpoint, it leads surely, despite twists and turns, back to the beginning.
Fair enough :)
 
There's nothing better than terrifying the people who live in your house with a screen saver that (looks like an error screen and) says "Something went wrong..."
 
Not original, but still a good one: 1) Take screenshot of desktop 2) Change background to screenshot 3) Move shortcuts into another folder so they aren't visible.
 
@Calvin'sHobbies Nearly halved my original solution!
'2002670224823664145'25*41p(d6%1qO6:).
_ /\
 
@Geobits Or rather switch some shortcuts while keeping the same icon.=)
 
6:18 PM
That works too :D
 
@Geobits Just hide icons. Right click on desktop -> View -> uncheck "show desktop icons".
 
One of the quickest is to just set the double-click timer to unusably fast.
@El'endiaStarman I always forget that's there...
 
I used it for a stretch of several months last year so my desktop backgrounds weren't cluttered and I could run whatever I needed from Search...
 
Yea, I have zero icons on both my home computers. It's really nice.
 
@NewMainPosts Huzzah! A doable challenge that was posted after I mostly finished Minkolang!
 
6:25 PM
Minkolang?
 
I'm pretty sure this question is actually "What gun should I murder my brother with?" : skeptics.stackexchange.com/q/30404/19407
 
I'll make an esolangs.org page for it today now that it's pretty close to being done.
@Geobits ಠ_ಠ
 
Just sayin'
 
I'm inclined to agree...
 
6:31 PM
to disagree..
 
1
Q: One goes up, the other comes down

ZgarbIntroduction In this challenge, your task is to decide whether a given sequence of numbers can be separated into two subsequences, one of which is increasing, and the other decreasing. As an example, consider the sequence 8 3 5 5 4 12 3. It can be broken into two subsequences as follows: 3 5 ...

 
@NewMainPosts Another doable one! Though this is probably more tricky...
 
@Zgarb Can [1,2,3,4,5] can be broken into [1,2,3,4,5] [], or does it need a non-empty descent like [1,2,3,4] [5]?
 
@Geobits They can be empty too, I'll add an example.
 
Finally added explanations to all tasks in Twelve Task Tweet
now permalinks...
 
6:40 PM
Hmm. I can think of a few ways to do this, but doing it efficiently is a different story.
 
Is it only me or this song is rather "Aau dip is your love"
 
@MartinBüttner hold all and hold on result in different colors?
 
@durron597 yes
only for hold all do the subsequent plot in the loop use different colours
 
@MartinBüttner Weird
 
6:59 PM
All time high
 
> Okay 10 questions generates back.
 
> 7.9 Okay 10 questions questions generates per day back.
 
Don't dead / open inside.
 
user image
8
 
it makes so much more sense now
 
7:14 PM
1
A: Sandbox for Proposed Challenges

LukePrint a Symbolic Negative of your Code This is a variation on Print a Negative of your Code, which I enjoyed a lot! Thanks to Martin Büttner♦ - almost all of this text is his. Let's consider the symbols to be the following printable ASCII characters (note that space is included): !"#$%&'()*+,...

 
@Optimizer I could try to whip this into shape to get out of "Okay"
 
please go ahead
 
I think it's too complicated / confusing
 
I read the title and got confused.
 
I probably need to explain what a nonogram is and what a row of a nonogram is in the post itself
and / or remove the concept of nonogram entirely and explain the whole thing without mentioning them
 
7:28 PM
@minxomat I read this before I read what Optimizer posted. I had to reread this several times because I wasn't sure whether it was supposed to make sense.
 
:D
 
@flawr Does it really make sense to create a new/separate tag in addition to the tag? (I know the distinction, but I'm not sure it's relevant to the tagging of PPCG challenges.)
 
@MartinBüttner I agree the tags are syns fwiw
@SvenTheSurfer Is this more clear?
2
A: Sandbox for Proposed Challenges

durron597Given a list of lengths, and a string representing those lengths, do they match? Input Two lines of data, separated by a newline. The first line will be a space separated list of integers, example: 3 6 1 4 6 This line describes a pattern that the second line must match. The second line wil...

 
1
Q: Counting cycles in a folding and squashing process

agtoeverIn chaos theory, the horseshoe map is an example of how chaos arises in a simple process of folding and squashing. It goes like this: take an imaginary piece of dough, fold it, and finally squash it to its original size. Chaos arises in the pattern of how the pieces of dough end up in the final a...

 
@aditsu CJam really needs a simpler way of counting the iterations of while loops. e.g. operators that increment and get some sort of counter, or an infix operator which adds the top of the stack to a variable without pushing that variable.
 
sounds really good, but one or two worked examples would probably clear things up
 
@MartinBüttner What do you mean by "worked examples"?
 
one of your test cases with some explanation for why the output is what it is
 
ah right
 
8:10 PM
@MartinBüttner How's that?
 
0
Q: The jumping digits to letters transformation

CaridorcImagine you got a list containing the alphabet repeated infinite times: abcdefghijklmnopqrstuvwxyzabcd... You start at a, your index is 0, and the should_write boolean flag is False. Foreach character in the input, you should: Print (or add to the return value) the n-th item of the list if ...

 
:(
I'm trying to do this challenge in bubblegum: codegolf.stackexchange.com/questions/60650/…
 
but both lzma compressing the string and converting it to base 96 have capital letters
maybe one could make their own deflater that doesn't output capital letters
@AlexA. Doorknob*
 
@PeterTaylor Fixed it, I think.
 
8:15 PM
@DankMemes You could try several permutations and separators. DEFLATE produces the shortest output. Should take roughly 235,674,519,815,918,200,000 attempts.
 
@DankMemes That's not actually is it? Because of the bonus?
 
@DankMemes Hahaha @Doorknob
 
@durron597 code golfs with bonuses are still code golfs
 
7
A: Should bonuses be allowed for [code-golf] questions?

ugorenI don't thing the tag needs to cover all nuances. If the main task is to write the shortest program that achieves a task, it's code golf. As long as modifications don't change the main focus, they don't change anything. In some extreme cases, the modifiers may become the main challenge, and gol...

 
8:18 PM
yes
that answer says, "unless the bonuses are so big that they completely dominate the challenge, it's still code golf"
 
okay
 
you mean 7.9
 
@durron597 Definitely more clear, but that might be worse in terms of getting people to visit your question since it is less mysterious. I'm still not 100% on what exactly the question is asking, but I'll look at it when I get home.
 
@SvenTheSurfer Well I just posted it on Main. I hope it's good enough.
 
0
Q: Given a list of lengths, and a string representing those lengths, do they match?

durron597Given a pattern representing a list of lengths, and a string representing those lengths, do they match? Input Two lines of data, separated by a newline. The first line will be a space separated list of integers, example: 3 6 1 4 6 This line describes a pattern of filled spaces of size equa...

 
8:29 PM
leeeeeerroyyyyyyy
 
Jenkins?
 
@durron597 I was about to ask: for the avoidance of doubt, does "separated by empty spaces of unknown, positive length" mean that the first filled space must be the first character, and the last filled space must be the last character?
 
@PeterTaylor I think that's clear from the examples, but I added a sentence anyway.
(yes, you may have extra spaces at the beginning and end)
 
Another question I just looked at has examples which are blatantly wrong. It's always dangerous to infer spec from examples.
 
^
 
8:41 PM
@PeterTaylor Fair. I did fix it here, though.
 
9:06 PM
Woohoo passed 1K rep!!! Thanks to the very first Minkolang answer I posted on the site!
 
Nice job!
 
Thanks!
 
I've been meaning to ask: What is your avatar?
It looks like a yellow Sonic the Hedgehog in front of something Escher would make in Minecraft atop wallpaper of the big bang.
 
@AlexA. It's El'endia the Hedgehog. A recolor of Sonic the Hedgehog. I made the background in Blender. Actually, one of the first things I made in Blender.
I've had thoughts about making a better avatar, using Lumien the Hedgehog instead (he's not a recolor, and is also the main character of my novel-in-progress).
 
Is El'endia the Hedgehog a thing?
Are you making a Sonic fan novel?
 
9:14 PM
Sorta? It's based in the universe, but it's less a fan-fiction and more of a homage.
 
Ah, okay.
 
@El'endiaStarman 0.1, 4 days ago. 0.7, 13 min ago. That was fast :P
 
@Sp3000 :P
I designed the majority of the language and its commands the night before I did v0.1.
 
Also if you still have g/p I'm pretty sure you could probably do that to get rid of the Os
 
The pace will slow down from here on out because I want to put more thought into selecting operations to assign to various commands.
@Sp3000 I'd still have to have at least one.
 
9:18 PM
How come? Can't you build the O char in the stack?
 
@El'endiaStarman updates the code as fast as @Sp3000 crack Cops challenges...
 
@Sp3000 How would that help though?
 
What's the at-least-one you mean then?
 
...oooh!
You're right, I can p 79 in those places where I currently have Os.
 
@TimmyD Ahaha I wish. For that challenge, most of them are basically impossible, unfortunately. It's much easier to write a hard cop that to crack one there.
p is magical for restricted source :)
 
9:24 PM
0
A: Sandbox for Proposed Challenges

NBZIllustrate the square of a binomial code-golfgeometrymath Given (by any means) two different natural numbers, output (by any means) the square of their sum as in the examples below: Given 3 and 4, output: 12 12 12 12 9 9 9 12 12 12 12 9 9 9 12 12 12 12 9 9 9 16 16 16 16 12 12 12 16 16...

 
@Geobits Is it a coincidence that the second test case here contains the words "toot" and "butt"?
 
(butt)er
 
I'm thinking of offering a bounty for a shortest TI-BASIC answer. Anyone have a suggestion for a question to apply it to?
 
Easily the most useful description of a GitHub project ever:
> Us we code. We no have sore throat. We just want use keyboard and make easy interact with git files for to move in and out of staging and diff. Also we try extend to other people to use for other stuff.
 
9:43 PM
but no avocado juic?
 
@AlexA. Yes, it is. The actual words are better ;)
 
"Smut butter for life"?
Hah I was reading it wrong. "Smooth peanut butter for life."
 
10:12 PM
The other isn't exactly random letters either.
 
I was talking to a guy about a job with his company and he said, "Your reputation precedes you on GitHub and Stack Exchange." I was briefly flattered until I remembered IM IN YR toilet UPPIN YR butt here and ??? on GitHub. :|
"Flattered" quickly became "nervous."
But not ashamed. UPPIN YR butt 4EVR.
 
@Sp3000 +45 bytes, but I did it!
 
@Optimizer i sad i try for thirry minut and no juic for avocad still no work
 
10:27 PM
@El'endiaStarman Did even better! Took out all instances of 1 and improved a couple number generation bits, so bytes only increased by 3 AND I got the -20% bonus! :D
And wow. Minkolang is actually almost competitive.
It's even beating the Python compression answer.
 
10:44 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Were you able to test my Julia answer?
 
@AlexA. I haven't had time, sorry ^^"
 
No need to be sorry, just wondering.
 
11:11 PM
@AlexA. I downloaded the software.
 
Nice.
Note that I wrote my submission using Julia 0.4.0 and if you installed Juno, that's packaged with 0.3.10. I haven't tested the code using 0.3.
They changed quite a bit between 0.3 and 0.4 and actually removed some of the nicer golfing features.
 
For example, to convert a string to an integer, you can do int(s) in 0.3 but you have to do parse(Int,s) in 0.4.
They're talking about removing * for string concatenation and ^ for string repetition in 0.5. :(
 
I'm not really the rioting type. It'd be more like .
2
 
11:16 PM
^^
 
I'd be surprised if Julia ever won a code golf challenge anyway but I don't want it to slip into Java territory.
 
But trust me, bitching about idiotic changes in new compiler iterations doesn't do a thing. I've tried that for years with AutoIt and all I've managed to do is that now none of the devs like me anymore...
 
:(
@CᴏɴᴏʀO'Bʀɪᴇɴ What OS are you on?
 
@AlexA. Windows 8
 
Boo
 
11:21 PM
The one dev that constantly agreed with my rants stepped down from the team after having ... communication problems with the other devs (but they left all her easter eggs in the compiler \o/) :(
 
What Easter eggs were left in the compiler? I kind of have a feeling that Easter eggs are things you don't want in a compiler.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I think you meant to say "I bought a PC with Windows 8 preinstalled and I'm currently in the process of switching to linux"
 
@AlexA. Well not so much easter eggs as features that are very useful to a handful of people (like custom Object interfaces to other frameworks [such as .NET])
@CᴏɴᴏʀO'Bʀɪᴇɴ Don't you xkcd me :P
 
11:27 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't do a whole lot through browsers (haven't really embraced "the cloud" yet) so for me there's a huge difference between operating systems.
For example, Windows is completely unusable and OS X is the best.
 
@AlexA. I know, me too :P It was related
And no!
I use windows; I am using windows; ergo, windows is usable.
 
You only think you're using Windows.
 
You're actually struggling through the awfulness that is Windows. One day you will be enlightened and never look back.
 
11:30 PM
Why Firefox and Chrome?
 
I'm using Windows 10 and arch linux about 50% each on my machines. I virtualize OS X on Windows using VMWare which is quite nice.
 
There was a point where my flash wasn't working on Firefox. @AlexA., so I used chrome w/ built-in flash.
 
I think you are confused.
flash is supposed to not work.
 
...
Has this nerd-warfare turned your brains to muck!?
 
If you use anything that uses flash, you are objectively wrong.
 
11:32 PM
True story: For whatever reason, when I was young and naïve and using Windows, my browser was Safari for Windows. One day it stopped letting me scroll up; I could only scroll down. So I switched to Chrome. (Disclaimer: Safari works great on Mac.)
 
@minxomat I have no opinion on Flash but I love that sentence.
 
@minxomat There aren't too many good HTML5 games
 
@CᴏɴᴏʀO'Bʀɪᴇɴ That's what Adobe AIR is for. Keep flash away from your browser.
 
At least Microsoft Silverlight is dead. I think we can all agree that was a disaster.
 
Oh yes.
3
 
Haha
 
11:38 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Based on your blasphemous screencap I see you have Julia running. I assume it's 0.4.0. Have you done Pkg.add("Requests") and tried the code?
 
@AlexA. About to XD
 
Sorry for being impatient, I'm just bored and have decided that harassing you into running my code is a decent passtime.
 
XD I get you
 
The first time you run using Requests it'll precompile the module which might take a bit and may or may not generate tons of warnings.
 
Oh, okay. Thanks, I was wondering.
 
11:42 PM
Always a good sign.
 
They're all deprecation warnings since Requests was originally written for 0.3.
 
I love all the colours in the console :D
 
Yes!
 
So much better than CMD or Python
 
Most things are better than cmd.
 
11:45 PM
^ true enough
 
Btw @minxomat, you got a credit in the answer that Connor is testing since you were the originator of codegolf.xyz, which I used for scraping the HTML. :)
 
What answer?
 
8
A: The Ideal Question

Alex A.Julia, 411 382 367 355 bytes It's quite long but I'm very pleased that it works! using Requests n->(R(t)=readall(get(t));G(t)=JSON.parse(R("http://api.stackexchange.com/2.2/questions/$t?site=codegolf"))["items"];j=G(n)[1];d=parse(Int,match(r"<span \S+n (\d+)",R("http://codegolf.xyz/posts/$n/r...

 
@AlexA. One N.
 
?
One N?
Nanosecond? New York Minute? Neanderthal?
 
11:48 PM
"One N?" - The answer is no.
 
i can haz confus
 
Well, One N has two ns. (if case-insensitive).
 
Oh, I see.
Is your full name Minxomatthew?
 
No. But I think you made a reference that I'm supposed to get.
And I don't.
 
I made no reference. I just have dumb ideas about things.
 
11:55 PM
The inverse effort law strikes again
 
wat
O look it @Denni
 
People are still upvoting my 0 byte sed answer from the file reading challenge while my PBASIC cop answer (which took me 2 hours) has no upvotes and no one has attempted to crack it
@Dennis hai
Welcome to the off-topic byte where we talk about all things not programming
 
I would venture a guess that not too many people know what PBASIC is. At least I don't.
 
That's sad.
The BASIC Stamp is a microcontroller with a small, specialized BASIC interpreter (PBASIC) built into ROM. It is made by Parallax, Inc. and has been popular with electronics hobbyists since the early 1990s because of its low threshold of learning and ease of use due to its simple to understand BASIC language and excellent documentation. == Technical specificationsEdit == Although the BASIC Stamp has the form of a 24 pin DIP chip, it is in fact a small printed circuit board (PCB) that contains the essential elements of a microprocessor system: A Microcontroller containing the CPU, a built in ROM...
 
> The BASIC Stamp is a microcontroller with a smell
2
^ that's how I read the first sentence
Ooh, what does it smell like?
 
11:58 PM
Dead code.
 
Haha
 
Have one in front of me. It smells like metal
 
It smells like sadness and broken dreams.
 
It's like Arduino except it came first
 
So people need one of those contraptions in order to test it?
 
11:59 PM
(And it's better)
@AlexA. No.
 
Then how do they get a smelly interpreter?
 

« first day (1718 days earlier)      last day (3108 days later) »