« first day (1911 days earlier)      last day (1534 days later) » 

10:00 PM
@EMBLEM Mod on another site here. I appreciate that you dislike certain types of answers, but downvoting all of a type does come across as a little unfair to users who have taken the time to make something. In addition, be careful - downvoting all of one type of post is considered problematic behaviour, which can get you in some hot water. — ArtOfCode 7 secs ago
Ugh, I need to golf off three bytes, but I can't find anything. Anyone wanna take a look?
@QPaysTaxes Use C, it's 3 bytes shorter than Ruby
@ArtOfCode thanks
10:03 PM
@QPaysTaxes you're going to downstar a joke ಠ_ಠ
@EMBLEM post to meta site then. it has 30K character limit. — Optimizer 3 mins ago
Hey @CᴏɴᴏʀO'Bʀɪᴇɴ I beat your answer >:)
Darnit! XD
@Maltysen @Optimizer you should of also linked to pastebin. That has an even higher char limit
10:09 PM
@Downgoat But it doesn't preserve whitespace.
Does Python have implicit return?
or formatting.
how can he bold highlight his hate?
@ArtOfCode Chathuahua: STOP SHOUTING
@QPaysTaxes only for lambdas. otherwise the default return is None
@QPaysTaxes NO
10:11 PM
@Maltysen Alrighty, thanks
That explains a bug I was getting :P
@ArtOfCode Chathuahua: PLEASE CALM DOWN
wth is going on?
10:12 PM
@ArtOfCode eleven pls
@Optimizer -1 not enough caps lock
Apr 14 at 3:14, by Downgoat
@Quill everyones initial reaction to TNB
Q: Polynomialception

flawrGiven two polynomials f,g of arbitrary degree over the integers, your program/function should evaluate the first polynomial in the second polynomial. f(g(x)) (a.k.a. the composition (fog)(x) of the two polynomials) Details Builtins are allowed. You can assume any reasonable formatting as input/...

@Downgoat Ask the author.
10:19 PM
@KennyLau the author didn't delete it, it was @Dennis
I see.
@Downgoat I'm getting a 404
@QPaysTaxes because you don't have enough rep to see deleted posts
@Downgoat Yep
That was me asking for a screenshot in a roundabout way.
@Downgoat Probably because it was posted in the sandbox after.
10:22 PM
@QPaysTaxes ^
Dank shaun
Is there a meta post on how many bytes a newline counts as?
I always see it counted as one, but I'm looking for a source
@QPaysTaxes depends on your language
Ruby :P
If a languages used, for example a windows newline \r\n that would be two. If it works with \n or takes a 1-byte character for newline it counts as one byte
That's one
10:24 PM
@QPaysTaxes one
I know, but where's the meta post on it?
If there is one
@QPaysTaxes If the program works with it, it's fine.
e.g. a batch file still works with \n
Oh, alright
@Downgoat I've never heard of a language that explicitly wants \r\n where \n is not enough.
@flawr re-worded that better
10:27 PM
Rubyists, is there a cheaper way to get the characters of a string than str.chars?
@QPaysTaxes How much do you pay for using str.chars?
@flawr 38 cents. :(
No, but in terms of bytes.
@QPaysTaxes is .split("") shorter?
no it isn't :(
.scan /./?
no :(
@QPaysTaxes .chars is the shortest way.
@QPaysTaxes you usually can't get shorter than a built-in
10:31 PM
A: Convert a Forsyth-Edwards Notation string to ASCII art

QPaysTaxesRuby - 75 82 78 76 75 62 bytes puts"|#{gets.gsub(/\d| /){|d|' '*d.to_i}.chars*'|'}|".split'/' Pretty simple. Replaces numbers with that number of spaces, splits it on rows, then inserts a | between each character. I think I can get it down more. Had to gain 7 bytes to add the pipes on either ...

I am so proud of this
I don't even know how it works but it sure seems to
@CᴏɴᴏʀO'Bʀɪᴇɴ :) ^^^
wait what no how — Cᴏɴᴏʀ O'Bʀɪᴇɴ 1 min ago
I literally can't get my code any shorter
Try to decipher the following Wolfram Mathematica ® program:
@CᴏɴᴏʀO'Bʀɪᴇɴ And thus I prove that Ruby is better :)
jolf is shorter, jolf can emulate javascript, so javascript is better
I love how that guy downvoted the Retina answer even though it isn't a golfing language
10:33 PM
I noticed that too XD
Also, @CᴏɴᴏʀO'Bʀɪᴇɴ, notice that you were so incredibly proud earlier
@quartata It's not?
@QPaysTaxes No. It's kinda like sed on steroids.
10:34 PM
It's really just regex with some cooler features
and that ^^ with that v
@quartata s/sed/regex/
@QPaysTaxes I wouldn't call that proud as much as competitive ;)
@CᴏɴᴏʀO'Bʀɪᴇɴ Hush, you.
Anyway, gtg
TBH, that was probably my favorite javascript golf.
@Downgoat I'm not leaving XD
10:37 PM
then why did you say bai???
1 min ago, by QPaysTaxes
Anyway, gtg
1 min ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
oh :|
@QPaysTaxes bai!
@Downgoat bye!
WTF perl tied with jolf
10:38 PM
@Optimizer ಠ_ಠ you spelled bai wrong
1 min ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
> 1 min ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
> > y u no nest
Shower this answer in upvotes
A: Convert a Forsyth-Edwards Notation string to ASCII art

Ton HospelPerl, 28 bytes Includes +2 for -lp Give input on STDIN fen.pl <<< "r1bk3r/p2pBpNp/n4n2/1p1NP2P/6P1/3P4/P1P1K3/q5b1" fen.pl: /usr/bin/perl -lp s/\d/$"x$&/eg;s/|/|/g;y;/; Actually beating some golfing languages...

@CᴏɴᴏʀO'Bʀɪᴇɴ it's because perl is like retina. It has like regex operators
@Downgoat but it beats retina XD
10:41 PM
well the retina answer doesn't look very well golfed
I was going to try to golf my jolf answer, but I think it's okay as it is
Real high showerhead :p
gtg for now
A: Convert a Forsyth-Edwards Notation string to ASCII art

DowngoatRetina, 13 bytes \d $* / ¶ | Filler text

10:45 PM
LegionMammal978 is now AFK.
@Optimizer If I did, nobody would agree with me. Someone would post a brilliant essay on why golfing languages are good and fun and useful and I would end up downvoted, humiliated, and eternally linked to as a reference for others like me who might disagree. — EMBLEM 37 mins ago
I feel sorry for EMBLEM :(
You know, I'm really not sure why Objective-C gets so much shit
because it eats a lot of food?
@quartata because its syntax is shit
like what's up with all the brackets
You can call methods with ->. It's not considered good style, but you can.
10:49 PM
I have nothing against Obj-C
My favorite part of Objective C are categories
@interface Interpreter:NSObject

@property NSMutableArray stack;


@interface Interpreter (StackManipulationCommands)

-(id) pop;
-(void) push: (id) obj;
-(void) swap;
-(void) rotate;
-(void) duplicate;


@interface Interpreter (MathCommands)

-(void) add: (double) x to: (double) y;
-(void) subtract: (double) x to: (double) y;
-(void) multiply: (double) x to: (double) y;
-(void) divide: (double) x to: (double) y;

^ Categories let you split up parts of the class into separate interface/implementation sections
You can use it to add to existing classes too
@quartata sounds cool, but not as cool as babel :P
LegionMammal978 is no longer AFK.
11:04 PM
Can someone use Reng on a challenge?
sure, docs?
In the code.
Scroll down till you see a lot of comments
> // oollyfills
Q: Count up forever

vrwimWrite a program that counts up forever, starting from one. Rules: Your program must log to STDOUT or an acceptable alternative, if STDOUT is not available. Your program must be a full, runnable program, and not a function or snippet. Your program must output each number with a separating chara...

^ that's an easy challenge
11:06 PM
Does Reng use bigints?
No, but neither does MC
MC answer is invalid...
oh right
Reng is basically ><>
This is another easy challenge:
Q: Greatest Common Divisor

Mike ShlantaYour task is to compute the greatest common divisor (GCD) of two given integers in as few bytes of code as possible. You may write a program or function, taking input and returning output via any of our accepted standard methods (including STDIN/STDOUT, function parameters/return values, command...

11:32 PM
Q: m-nomial coefficient

Kenny LauWhile binomial coefficient is the coefficient of (1+x)**n, m-nomial coefficient is the coefficient of (1+x+x**2+...+x**(m-1))**n. For example, m(3,5,6) is the coefficient of x**5 in the expansion of (1+x+x**2)**6. Write a program/function that takes 3 numbers as input and outputs the correspond...

@Downgoat How goes it?
All right, I think I got all the C++ parts together. crosses fingers
My in-browser implementation of Perl
11:44 PM
Although right now all it does is evaluate $a = 1 when it receives a message :P
@CᴏɴᴏʀO'Bʀɪᴇɴ It's just a Pepper module that hooks into libperl.
I have no idea what that means ^_^
Now I have to write the JS part. Much less fun
(Not like I really enjoy doing things in C++)
var listen = document.getElementById("listener");

listen.addEventListener("load", moduleDidLoad, true);
listen.addEventListener("message", handleMessage, true);

function handleMessage(message) {

function moduleDidLoad() {
Can you tell me if this is syntactically correct JS
I've never seen .postMessage before
11:54 PM
It's a method from Pepper
Ignoring functions you don't know, does this look like it does something
It should , yeah.

« first day (1911 days earlier)      last day (1534 days later) »