« first day (1800 days earlier)      last day (3051 days later) » 

4:00 PM
I was thinking about posting a challenge based on the tag:
 
1
Q: Draw a Cuboid Menger Sponge

RikerWWe have done the Sierpinski Triangle to death. I also thought about a square though, but that was too similar. But for this challenge, you will make a Sierpinski cube, or a Cuboid Menger Sponge. Given an positive integer, n , output the Menger Sponge to n layers. To generate the Menger Spong...

 
does anyone know what characters are legal in a stackexchange username
 
Thank you @NewMainPosts.
 
4:02 PM
@NewMainPosts thanks dawg
 
@undergroundmonorail No, but you can't change it to a unicode sword.
 
@RikerW dang, that would be sick
 
@undergroundmonorail Thank you for thanking @NewMainPosts @undergroundmonorail.
 
my userscript assumes usernames are case sensitive
oops
 
( ̲̅:̲̅:̲̅:̲̅[̲̅ ̲̅]̲̅:̲̅:̲̅:̲̅ )
That neither
Remeber, only 1 change per 30 days
 
4:06 PM
@isaacg thanks!
 
@undergroundmonorail that should fix it
nice
@RikerW yeah, that's why i don't want to test it by changing my own name :P
 
What is your idea for a name
 
i don't have one, but
i currently have a userscript that assumes no usernames end in @
and i'm thinking of expanding it with new functionality that assumes no usernames end in *
 
How did I get the fanhatic hat on SO? I don't use my account there.
 
4:32 PM
I got hats on Gaming.SE. I definitely don’t use that. :)
 
input.keydown(function(e) {
	if (e.which === 13) { // when enter key is pressed
		e.preventDefault();

		var firstWord = input.split(' ')[0];
		var R_author = firstWord.slice(R_PREFIX.length, -R_SUFFIX.length); // author name if reply
		var S_author = firstWord.slice(S_PREFIX.length, -R_SUFFIX.length); // author name if star

		if (R_PREFIX + R_author + R_SUFFIX === firstWord) {
			replyToMessage(lastMessageFrom(R_author));
		} else if (S_PREFIX + S_author + S_SUFFIX === firstWord) {
			starMessage(lastMessageFrom(S_author));
Uncaught TypeError: input.keydown is not a function
whatever you say, javascript
 
@undergroundmonorail It isn't. Try input.keydown = function(e) ....
 
@Dennis that's really weird that i need that. i can confirm that this works...
thanks though <3
 
this site needs a gold badge of having an unanswered, unclosed question a month after it was posted
because its so rare :P
 
@undergroundmonorail What exactly is input? The link uses jQuery.
 
4:41 PM
@Dennis@ if this message is a reply to you, then it worked so thanks again :P
@Dennis $('#input')[0]
actually that must be my issue
i changed that around while trying to make it cleaner
 
I know next to nothing about jQuery, but I think [0] loses the magic.
 
yeah that makes sense
 
Try $('#input').first().
 
also, oddly enough, this question has been open for nearly 6 months, and hasn't received a single answer or vote
0
Q: "Talos Principle" Tetris Puzzle Generator

d33tahIn Talos Principle, from time to time player has to solve a puzzle that looks like this: Source: http://uk.ign.com/wikis/the-talos-principle/File%3A20141108_134749.jpg This puzzle is already solved - the blue slots on the right are the list of the possible blocks the user could use. They were ...

 
@undergroundmonorail That did not ping btw. I think it's the trailing @.
 
4:45 PM
@Dennis :26570006 The script I'm writing notices when you begin a message with "@username@" and replaces it with ":[username's last message's id]"
At least, it did before I broke it :P
 
haha
 
I see where the problem is now, thanks so much :D
 
np
 
@undergroundmonorail@ test
it's still broken but not quite as much :P
...or i'm an idiot and forgot to enable the script
 
@undergroundmonorail \c (half a cheer)
2
 
4:49 PM
@undergroundmonorail test
nice
@pleasegoddon'tletthisbreakit@
nice
 
test
 
@test@
Okay cool, all my stuff works
 
@test@
Will you make your userscript public?
 
@undergroundmonorail hi
 
5:02 PM
@RikerW hello
 
@Sp3000, @isaacg: got your time capsule entries
@Doorknob冰 I don't know how to write commit messages, so I just use random emojis. — Darth Alephalpha 8 hours ago
@trichoplax Okay, I invalidated your purported submission. Now you can add a real one if you want.
 
5:22 PM
\o/
fanatic badge!
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Congrats! :)
 
@Adnan thanks :D
@FlagAsSpam look at the message above the message you replied to.
 
@FlagAsSpam you must do your duty. :P
Hi phi
 
it only goes back as far as you have loaded in the browser
i should probably write that down somewhere
 
Oh, okay.
@undergroundmonorail what is your username for?
 
5:37 PM
 
Like why is it Underground mononrail.
@mınxomaτ lol
 
@mınxomaτ WOOOOOOOOOOOOOOOOOOOOOOOOOOOOo
 
@RikerW originally it was a shitty pun about a thing from history but at this point i've used it to describe myself so much that it's lost all other meaning :P
 
The gold badge looks so beautiful. I am enticed by its glory.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ have 27/100. :P
 
5:40 PM
@RikerW Looking at your profile, I see "recreational programmer." Cᴏɴᴏʀ Aᴘᴘʀᴏᴠᴇs
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Italic smallcaps should be illegal.
 
in Charcoal HQ, 10 secs ago, by SmokeDetector
@Doorknob冰 HURRY UP AND EARN MORE HATS! Winterbash will be over in 0 days, 6 hours, 18 minutes, and 30 seconds. :(
 
ಠ_ಠ
 
@Doorknob冰 D:
All multiples of 6 though
6*{0,1,3,5}
 
5:42 PM
Hiii
 
Also, now I have a very work in progress java golfing language: github.com/GamrCorps/Java-Golf
 
It seems weird typing yhis in mobile chat
 
5:43 PM
Enter wont swbd a messagge
(Using chr9 me.)
 
primo's brainfuck hello world deserves upvotes, it's a huge improvement over previously best known solutions for such a basic problem :) codegolf.stackexchange.com/a/68494/2537
8
 
Anyway, ill go to the sand box. Bye
 
hmm i thought that would be one boxed
5
A: "Hello, World!"

primoBrainfuck, 89 bytes -->>---->--->>>>>+[+++[>++++++++[>++>+<<-]<-]---<++]>>>--.[>]<+<.-<---..<+++<.<<+<---[.>] The first half initializes the tape to the following: [0, 253, 0, 74, 47, 31, 87, 111, 111, 111, 101, 32, 0] The second half transforms this into the string , World! while outputt...

 
0
A: "Hello, World!"

GamrCorpsJava-Golf 1.0.1, 22 bytes m|p("Hello, World!");} Java-Golf is a golfing Java dialect (obviously). It adds shorthands to many keywords and common phrases in Java code. So, the code above actually corresponds to the Java code: public static void main (String[] A) {System.out.print("Hello World!...

 
5:47 PM
@GamrCorps While I commend your efforts, Java-Golf isn't exactly the most creative name. :P
 
Any suggestions?
I am not the creative type
 
I like it! All in favor say "I".
 
5:48 PM
I
majority rules
 
haha
 
I
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Not comparable. That doesn't print a comma.
 
@Dennis I noticed that after five minutes :P
 
5:51 PM
Quick, someone bruteforce all 81-byte BF programs until one of them prints Hello, World!
 
glhf to whoever does that ^
 
@Doorknob冰 "quick"
 
@CᴏɴᴏʀO'Bʀɪᴇɴ that doesn't include the comma, and relies on 8 bit cells (with wrap around)
 
Slow, someone bruteforce all 81-byte BF programs until one of them prints Hello, World!
 
3 mins ago, by Dennis
@CᴏɴᴏʀO'Bʀɪᴇɴ Not comparable. That doesn't print a comma.
 
5:52 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ good idea on the bracket completion thing. Ill get working on that
 
@GamrCorps Thanks :D
> Java-Golf is a golfing Java dialect (obviously).
@GamrCorps
 
yeah sorry my response was slow because i wasn't pinged the first time
 
0
Q: Befunge Brain Teasers

AdnanIntroduction For the ones wondering what Befunge exactly is, it is a two-dimensional stack based language made in 1993 by Chris Pressy. I made 8 brain teasers that need to be solved in Befunge-93. This is quite an experimental challenge, but I thought it's worth a shot :). A full list of all com...

 
@NewMainPosts Thank you
How do you tag New Main Posts after the "Thank you"?
 
6:03 PM
@Dennis no Befunge on TIO? :)
 
@Dennis ಠ_ಠ
 
@CᴏɴᴏʀO'Bʀɪᴇɴ added the autocomplete feature. Unfortunately, it is pretty basic atm so it only saved 1 byte. I need to figure out if it is possible to autocomplete the semicolons.
but it is pretty handy, I must say
 
Hmmmm
Can/will statement X (in this case, the print statement) be included inside expression y? If not, a semicolon can be appended after the completion of the statement.
 
I'm not exactly sure what you are trying to ask...
 
Oh, sorry, lemme re-word
Since the print statement cannot be included within an expression, and it has a known number of arguments (?), you can insert a semicolon automatically after the print statements argument
 
6:11 PM
Oh, like making a special case for the print method where it knows that after the second " to insert a ) and ;?
 
Perhaps!
I was thinking more along the lines of "Try evaluating the current expression. Is there an error? (Yes: Is it a semicolon error? If so, add a semicolon. No: (nothing) )
 
Ah, I see
 
like JavaScript's ASI
 
fyi with the wrap around, --[+++++++ ...] is like starting out with a 110, since -2 + 110*7 is the first multiple of 256 encountered
 
@Adnan could you include the interpreter which will be used for verification?
 
6:23 PM
@RikerW I had 5 notifications from you alone when I logged on. ಠ_ಠ
 
has there been a prisoner's dilemma challenge where you can see your opponent's code?
 
@dorothy Hello dorothy. :)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ asi?
 
@Optimizer Automatic Semicolon Insertion
 
6:31 PM
lol
 
If you like autocomplete, you should check out AppleScript. :D @CᴏɴᴏʀO'Bʀɪᴇɴ @RikerW
 

 🎆 New Year Esolang Design (and puppi

A place where nobody comes to talk about building the first es...
 
@FlagAsSpam Tell me about it.
 
Yo dawg, I heard you like autocomplete <tab completes the rest of this meme>
8
 
mehhhhh +1 star from me for clever
 
6:33 PM
haha
 
> so I use an autocomplete in an autocomplete meme
 
Let's try autocompleting autocomplete!
autocomplete
 
hello friends!
 
hello!
 
Autocompete?
 
6:36 PM
@Doorknob冰 Thanks :) I've added my real one now.
 
BW Jolf now has graphical output functionality!
 
It's pretty much how anyone can golf with it. xD
 
^ lol forgot you could do that
 
It actually auto-adds a comment that says "Grammar Police"? o_O
 
6:38 PM
wtf is that?
 
@AlexA. Yes indeed. xD
@Optimizer The beauty horror that is AppleScript.
 
so...last hours of winter bash 2015! :((((
 
I won again!
 
@Optimizer I lost. I lost it.
I LOST THE GAME
 
So did i
 
6:39 PM
To celebrate winter bash, I will show off all my hats!
 
Plzno
 
@FlagAsSpam Well, the less/than/and/equal saves bytes maybe
 
@BlockCoder1392 ...not really. Unless I make an AS encoding. :D
 
@randomra It is now shown at the bottom of the challenge.
 
Anyone want a free userstyle? First, you must download this font.
 
6:42 PM
Why that one specifically?
It's basically Calibri.
 
Yes but it has lots of unicode
 
@FlagAsSpam why not?
 
@BlockCoder1392 ...okay.
@TanMath ¯\_(ツ)_/¯
DAMMIT.
I never get that right.
 
@Adnan ah, sry, my bad
 
6:50 PM
@BlockCoder1392 If you go to the "pairings" tab it has a bunch of pairs of fonts that look nice together. I think I don't have all of them :P
 
@undergroundmonorail I don't think these look nice together
I don't like Oswald
 
Noto Sans is nice though.
 
Btw, Adobe's open source font Source Code Pro is amazing.
 
6:53 PM
^
I love it
I've used it before
dotted zeroes ftw
 
ikr
 
I am most likely going to buy Mathematica soon so I went to the page and hit "buy" to see what it was going to make me do. I had to select Windows, OSX or Linux if I wanted to buy it. Is that just for the initial download or does buying it on one OS not give it to you on the others?
 
I briefly used Hack at Doorknob's recommendation but I found that I didn't care for it all that much.
 
I assume that it's just for the initial download because otherwise that'd be really, really silly, but it's weird that they'd make you choose before you buy...
 
@undergroundmonorail I think buying it for one OS locks you into that one OS. At least that's how it works with my student Mathematica for OS X.
 
6:56 PM
Wow
 
Wolfram wants you to buy it for multiple platforms if you want it for multiple platforms.
In my experience it's not uncommon.
 
I do not have a lot of experience with buying software
:P
 
hah
Once upon a time I torrented all sorts of stuff, including software, but I stopped a long time ago.
That's how I had Maple and Matlab, among other things.
 
i torrent linux distros because i feel like if i'm going to argue that the bittorrent protocol isn't exclusively for piracy, i should probably do at least one thing with it that isn't piracy
 
QUICK HOW DO I ROLLBACK A CHANGE IN GITHUB
AHHHHHHHHHHHHHHHH
sorry
 
7:02 PM
i, too, have pushed a commit that contained my password
 
I JUST UPLOADED THE JS FILE TO THE HTML FILE
sorry caps
it gets stuck sometimes
nvm I got it
 
there's a bunch of answers that are deleted on the Hello, World! challenge for not being in a language that we consider a "programming language" for the purposes of this site, but my understanding was that non-"programming languages" are allowed to play in
@AlexA. bubblegum was specifically designed to just barely meet our definition
 
Oh okay
 
the only two known programs in it sum two numbers and determine if a number is prime
 
@AlexA. Community consensus is that Kolmogorov complexity challenges can be answered in non-programming languages. (link) — Dennis ♦ Dec 23 '15 at 23:46
 
7:14 PM
and they're exactly the same source code, they just take a different number of inputs :P
er
@undergroundmonorail the only two known programs with non-constant output
 
@mınxomaτ Oh, okay. Thanks.
 
@AlexA. You have a short memory :D
 
This is true
 
@undergroundmonorail There are currently two that I'm aware of; I've voted to undelete them but no one else has voted
The PIG one and the gzip one
 
Hello
 
cat
7:19 PM
I have exactly a kilobyte of rep.
@SuperJedi224 hallo
 
@cat \o/
 
@cat *kibibyte
 
cat
>:^(
anyone who says that digital quanities should be base-10 rather than base-2 is crazy.
 
2
Q: Swap the Alphabet

DoᴡɴɢᴏᴀᴛIn this challenge, you will be "reversing" the alphabet or swapping a-z with z-a Because this transformation makes the output look like some foreign language, your code will need to be as short as possible. Examples abcdefghijklmnopqrstuvwxyz zyxwvutsrqponmlkjihgfedcba Programming Puzzles &...

 
Sine this is brainfuck improvement day:
0
A: Golf you a quine for great good!

mınxomaτBrainfuck, 394 bytes Like this 755B answer, this quine is accompanied by an additional (UTF-8) character, which appears in both source and output. If your interpreter cannot output UTF-8, you'll see two extended ASCII characters depending on your region. I tested this using BFO in the windows te...

 
7:36 PM
@mınxomaτ Is this 8-bit or 16-bit? (e.g. is that a single byte char in UTF-8?) Is it wrapping or non-wrappping?
 
It's 392 characters and 394 bytes total.
Encoded UTF-8.
 
Any experts on compression here?
 
@flawr What kind of compression?
 
@mınxomaτ But does it work in an 8-bit BF impl?
 
@quintopia Of course. BFO is as standard as it gets.
 
7:39 PM
@mınxomaτ there is no standard :P
 
Like in the other solution, the character is ignored at runtime, but is printed after evaluation.
 
@cat ಠ_ಠ The entire kilo-confusion is Microsoft's fault. They use it wrong in their operating systems, so everyone thinks that hat is how it's supposed to be used.
 
@mınxomaτ why? how does that happen? i thought it would be an "end of program" marker of some sort, but it's...actually two end of program markers?
 
@Dennis ^^
 
@quintopia Every non-brainfuck character is ignored by the interpreter. Yet brainfuck is able to print arbitrary bytes. Two bytes make one UTF8 char. I don't understand your confusion.
 
7:41 PM
@mınxomaτ Lossless data compression.
Strings in particular=)
 
@flawr Well, lossless video or static.
Oh. Then, what's your question?
 
@MartinBüttner I'll have to fix that. Is there an interpreter you can recommend?
 
nope, sorry
maybe @Adnan does though
 
@mınxomaτ I am looking for a good comprion algorithm for relatively short strings.
 
@mınxomaτ that's because you know how it works. I haven't actually read the program, so I don't know how it works. Usually, a BF implementation prints 1 byte at a time, not slurping bytes until a complete unicode char is found. Also, Google says that char is three bytes long in UTF-8
 
7:43 PM
Many 'good' compression algorithms use some kind of adaptive dictionary, but then the dictionary has to be encoded in the compressed data as well.
 
@flawr Interpreting the input string as a base 96 number and converting it to base 256 is how Bubblegum works
 
Which is not suitable for short strings.
 
Pretty dece
 
@flawr Well, short string usually benefit only from base conversion. Somewhat short strings may use ZIP-like.
 
Yeah most of the short string compression algos are base conversion.
shoco uses some sort of fancy tree dictionary thing that I still don't get, maybe you could try that.
 
7:44 PM
@quintopia That has nothing to do with brainfuck. If you print two bytes, you have a unicode char. In any programming language.
@quintopia Also
 
@flawr if all the characters are in a narrow range, Pyth's string packing algo is pretty good. Tends to compress things that are longer than, say, 20 characters, when they are close together.
 
@mınxomaτ So that confirms the character being 3 bytes long. How are you using it in the program? Are you using each byte of it for something different?
 
@MitchSchwartz Forgot to mention, will add!
 
@Geobits is here
Where have you been
 
7:48 PM
@mınxomaτ you never said whether it requires wrapping
 
Holiday/family has been keeping me busy, mainly.
 
@quintopia It does. But that's the most common bf implementation.
 
@Geobits I thought we were your family. T_T
6
 
^
@flawr If the string is highly redundant, LZW might be the best choice.
 
oh hi @Geobits !
 
7:57 PM
@Dennis Maybe one from here. Not sure if they work though.
 
@mınxomaτ it's 292 bytes and 292 characters, the last one is an ascii control character, \x1a
 

« first day (1800 days earlier)      last day (3051 days later) »