« first day (1826 days earlier)      last day (3032 days later) » 

Anonymous
1:00 AM
There's not a command for that yet (added it to the to-do list, though), but it should be easy to do
 
@Mego Kind of yes but instead of specifying the indices in a list it's a step value
So like every second element for instance.
It would be also nice if it had a mode to insert instead of replace too
Since teaching Perl things is not my forte apparently
 
I feel like if we, as PPCG, could create a golfing language together, it would be unstoppable.
 
There's a bit of a difficulty when it comes to getting several dozen programmers working on one project though...
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ It would be the first stack-tape-hexagon-based pre-post-infix hybrid language written in a conglomeration of Perl, Python, JavaScript, and duct tape
4
 
@Mego That might not be a bad idea. Separate programs communicating with each other, like Brain and Chuck, but with more programs.
 
1:06 AM
With O(ack(n)) run time for addition.
2
 
ack is a binary function iirc
 
O(shit)
 
In computability theory, the Ackermann function, named after Wilhelm Ackermann, is one of the simplest and earliest-discovered examples of a total computable function that is not primitive recursive. All primitive recursive functions are total and computable, but the Ackermann function illustrates that not all total computable functions are primitive recursive. After Ackermann's publication of his function (which had three nonnegative integer arguments), many authors modified it to suit various purposes, so that today "the Ackermann function" may refer to any of numerous variants of the original...
 
Idea: what if one could do var_a to define a variable named a that can be any type, a-la Python, and one could do int_b to define an integer named b. This would also apply to, say, float_c, list_d, etc.
 
@Dennis A(m, n) yup binary
 
Anonymous
1:07 AM
Do you guys want to try this? :P
 
Not me. :P
 
It should use a custom 1-byte code page that only contains Egyptian hieroglyphs.
 
yas
Naturally
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Oh, as in two arguments. I'm used to seeing ack(n) = A(n, n).
 
1:08 AM
@El'endiaStarman So it would be like every other C-based language except with underscore instead of space?
 
@Dennis Oh, cool! I like that notation
 
@feersum I guess? Do they usually have a kind of variable that can change type?
 
@El'endiaStarman You didn't say anything about a variable "changing type".
 
> a variable named a that can be any type, a-la Python
Python has dynamic typing.
 
var_x = dynamically_typed
 
1:09 AM
So does JavaScript.
 
javascript_x = javascript_variable
python-x = python_variable
 
I don't see how this is any different from e.g. Javascript.
 
@El'endiaStarman Python has duck typing technically
 
int_b enforces int type for b.
 
Little different
 
1:11 AM
@quartata Oh right, that's the more proper term.
 
You can declare an int in JS, can't you?
 
@feersum Nope weak typed
 
@quartata I made a strong typed interpreter for JS but it wasn't very fun
 
Is there an already-existing language that has both duck/dynamic/weak typing and strong typing?
 
@El'endiaStarman Yes, Groovy.
 
Anonymous
1:12 AM
Best idea:
 
There are over 1000 Egyptian hieroglyphs in Unicode :O en.wikipedia.org/wiki/Egyptian_Hieroglyphs_%28Unicode_block%29
 
@quartata Ah, how is it?
 
Anonymous
eval(code, lang) command
 
@Zgarb And accordingly, over 1000 white boxes. :P
The PDF has them all, though.
 
@El'endiaStarman def tells Groovy to automatically infer the type and when calling methods with def vars it uses a duck test
 
Anonymous
1:13 AM
It would return the result of running code with lang's eval
 
@Zgarb Unicode is just weird.
It has some... just odd characters.
 
@quartata Huh, okay. Is it a feature you use?
 
@El'endiaStarman Julia, if I'm understanding correctly
 
@El'endiaStarman Yes if only to save me some typing
 
@AlexA. I.e. you can assign an integer to a and b but only enforce the type for b.
 
1:16 AM
@El'endiaStarman That made me more confused
 
@Mego Thought of that, but there's not much point having a 1+ byte overhead for specifying the language
 
@AlexA. Okay, hmm. Let's say that "hi"+5 => "hi5". This is possible with "hi"+a but not "hi"+b.
And/or a = "hi" is possible but not b = "hi".
 
Oh
 
i.e. you cannot auto-cast b.
 
Basically, yeah.
 
Anonymous
1:18 AM
@Sp3000 I thought we were trying to make it as ridiculous as possible
 
You can always redefine a variable to something with a different type
 
Anonymous
So half-duck-half-static casting
 
@El'endiaStarman I doubt that would work well at all.
If some parts of the program used duck typing, the compiler would not be able to check the parts that were supposed to be statically typed.
 
But if you call a function (even + or like that), it optionally dispatches based on the type of the argument
 
I plan on allowing a greater variety of operations, such as multiplying lists. The guiding principle will be "does it make sense?".
@feersum I'm not particularly interested in computational efficiency, but rather programmer efficiency.
 
1:20 AM
Oh, if you make b a const then its type can't change
 
I do agree that a collaboration like Marbelous but for a golfing language would be cool
 
I've read a few times that programmers write about the same amount of code in the same amount of time regardless of the language.
 
@AlexA. Nor its value...
 
We'd have to find a language everyone likes though.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Obviously
 
1:20 AM
@El'endiaStarman C++/Python...
 
@El'endiaStarman What will it do when you declare a variable as int, but then the compiler can't prove that what you assigned to it is an int?
 
@AlexA. Just checking ^_^
 
@quartata Everyone loves Fortran
 
hmmm
@feersum Probably warnings and/or errors.
 
And what kind of language would we make anyways? :P
 
Anonymous
1:22 AM
@feersum Prints out the lyrics to NNBB and exits, obviously
 
@AlexA. blergh
 
Anonymous
17 mins ago, by Mego
@CᴏɴᴏʀO'Bʀɪᴇɴ It would be the first stack-tape-hexagon-based pre-post-infix hybrid language written in a conglomeration of Perl, Python, JavaScript, and duct tape
 
@Mego nope nope nope so much nope
 
@quartata So much yes.
 
What ML-family languages do is to use static typing everywhere, but deduce the types so you rarely have to write type names.
 
1:22 AM
So much
 
Although I was thinking of making U (the golfy version of Julia I was considering) have some prefix and some infix operators
 
@feersum ML?
 
Like Haskell, F#
OCaml
 
It'd be like Rotor, but better
 
The ones with hideous syntax
 
1:23 AM
@Sp3000 Rotor isn't done yet stop judging it.
 
Anonymous
@El'endiaStarman machine language; aka stuff that compiles to assembly
 
@quartata Why make a golfy version of Julia?
 
It's one byte away from outgolfing Pyth at FizzBuzz I'd like to think that counts for something
 
1
A: Generate Programs in Increasing size

DoᴡɴɢᴏᴀᴛTeaScript, 5 bytes [non-competing] [q|R2 Takes advantage of TeaScript's new "keys" features. These are in the format of [<key>|<code>.

 
@AlexA. Um because why not?
 
1:23 AM
@Mego That's not what it means.
 
Anonymous
@feersum Oh, then what do you mean?
 
Well, it does stand for "machine language" but has nothing to do with assembly.
 
Is Teascript's [q| considered a quine builtin?
 
@quartata There are a billion golfing languages and Julia's too beautiful to be hacked to bits like that ;_;
 
It's the name of a programming language which is the ancestor of the ones @AlexA. mentioned.
 
1:25 AM
@qua Sorry, that wasn't my intention. I mean, it'd probably use the same sort of operators-depending-on-what's-been-used-so-far scheme
 
@Sp3000 Ah.
 
Anonymous
@ՊՓԼՃՐՊՃՈԲՍԼ I'd say yes
 
I once made a golfy version of AutoIt, but misplaced the source code :(
 
@Sp3000 We thought once that Rotor would be the future:
Nov 7 '15 at 6:58, by Thomas Kwa
Something like Rotor will probably be the next generation of golfing languages. With these one-character-command languages, the logical next step in getting the size of programs down as close to their entropy as possible is to make commands that are likely to be used next smaller.
Then Jelly happened
@mınxomaτ I saw that once and thought it was cool
Too bad you lost the codez :/
 
I'll probably end up reqriting it anyway :)
 
1:28 AM
@quartata That's still a good idea though.
 
Jelly's a better idea. APL's infix style is very golfy naturally; it's not surprising that a full blown golfing language with it would be so good
 
No, I mean add (e.g.) a command-line switch that promotes two-char built-ins of a certain type to one-char built-ins.
Or an atom to the same effect.
 
@Dennis Ah.
 
I've been toying for a few months with the idea of a compressed language that compiles a bitstream to/from OCaml.
 
@Dennis Oh now don't you start getting any ideas
 
1:32 AM
:D
 
It would use Markov chains or other statistical methods to decide which functions should be fewer bits based on previously used ones.
 
Interesting..
Er. Why OCaml though?
 
It would also use the type system to restrict which functions could come next.
 
Ah. That's why.
That would be really interesting to see.
 
e.g. if you just had the integer addition operator, the next thing must be either an integer or a function that returns an integer.
OCaml support for Windows kind of sucks though.
 
1:35 AM
@Neil np
 
How about Haskell?
 
The life of a code-golfer
 
Yay, earned math tag-badge and 160 rep yesterUTCday!
 
Haskell has a lot messier syntax and also monads which would add confusion.
 
1:36 AM
It's tricky see because you want to pick a language that has just the right amount of functions :P
Hmmm
 
The "standard" libs in OCaml are pretty sparse. If I wanted to "win" in code golfing it'd definitely need to be hooked up with some 3rd-party libraries.
 
Er this'll sound weird
 
WHAT? Only at #16 weekly? This is number one disaster! Must post more brilliantly short answers!
 
But I just remembered a third language in that family
Erlang
 
user image
8
 
Anonymous
1:37 AM
@Dennis That's one of the things I originally wanted to do with Seriously, but it ended up taking a different course
 
@Quill hahahahaha
 
I have 6444 rep :D
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Nice :)
 
I have 4664 rep.
 
chmod 6444 conor
 
1:38 AM
set(my_rep) == set(conors_rep)
 
True
@CᴏɴᴏʀO'Bʀɪᴇɴ You don't know what chmod is? For shame.
 
@quartata Only for Conor
 
I'm a windows user.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ no excuse
 
1:39 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ So am I and yet...
 
I don't hang around nasty linux/unix/whatever folk
 
I have had to use chmod a few times.
 
I'm at 4.9e4/6 rep
 
Modes are the file system permissions given to "user", "group" and "others" classes to access files. Modes are shown when listing files in long format, or, if Access Control Lists are in use, using getfacl. Modes can be changed with chmod (for traditional Unix permissions) or with setfacl (for Access Control Lists). For traditional Unix permissions, the symbolic mode is composed of three components, which are combined to form a single string of text: $ chmod [references][operator][modes] file1 ... The references (or classes) are used to distinguish the users to whom the permissions apply. If...
Educate thyself @CᴏɴᴏʀO'Bʀɪᴇɴ
Although that article doesn't have the octal notation
 
That's probably far more information than necessary. :P
 
1:40 AM
Nevermind it's a terrible article ignore it
 
Reading: Modes (Unix)... stops I've read enough.
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ I hate to break it to you, but that's most of us
 
In essence, every file is readable, writable, and executable by some combination of owner, group, and public (or nobody).
 
@Mego (That's the point ;) )
 
It's funny
 
Anonymous
1:41 AM
There are dozens of us!
 
@ETHproductions Excuse my bad scientific notation, golfing habit
 
||unix/linux users|| > ||windows users|| >>> ||mac users||
 
I earned 810 rep from by last answer
 
@LegionMammal978 We know and we're mad
 
1:42 AM
^
 
Have we done a decimal multiplication of strings challenge?
^^
 
Well as we all know upvotes are inversely proportional to effort squared.
 
@LegionMammal978 I have less than 810 in total...
:(
 
@RikerW Like multiplying two strings containing decimal numbers without converting them into numbers?
 
@feersum I don't put any effort in my answers and I don't get that many upvotes
This was just... I don't even
 
1:42 AM
Hey it was the first answer
It was made to be simple
 
Whoops almost forgot the exponent.
 
@ETHproductions No, like 2.5 * "test" = "testtestte"
With other fractions/decimals too.
 
@RikerW Ah
 
That's been done
 
link?
 
1:43 AM
I was considering adding that as part of Japt's string repeat built-in
 
One sec
 
@ETHproductions me too!
 
I though it probably had, so I wanted to find out before sandboxing.
 
except s/Japt/Jolf/
 
Going to work on the spec for Crayon now...
 
1:44 AM
Oh, would anybody like to be memeified instead of Martin for my "I can't believe its not buttner" challenge?
 
Need help? :D
 
16
Q: Quine multiple times

Christian IrwanYour task is make program that do following: You should take number. (Positive, negative, fraction is possible input) If it is negative, you reverse the quine. and negate that number (Become positive) Then you repeat <integer part of the input number> times and print first <floor(fraction part ...

Just remove the quine part
 
That doesn't count I dont' think.
I think mine would be different enough, without the quine part.
:27177454 Not me dude....
 
@CᴏɴᴏʀO'Bʀɪᴇɴ y no worky
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't need much help, but I give you link so you can suggest things
 
True, but existing answers could be copied without much modification
 
It outputs a comma.
 
lol
 
@quartata I was like 94% sure this was going to be a rickroll
2
 
1:46 AM
^
 
But like 99.99% percent sure...
@quartata and @AlexA. opinion?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ಠ___ಠ
 
5 mins ago, by RikerW
Have we done a decimal multiplication of strings challenge?
 
1:47 AM
1
A: Loopholes that are forbidden by default

MegoClaiming your answer is non-competing to circumvent challenge restrictions Marking an answer as non-competing is supposed to be used to make sure it is not accepted, because the programming language(s) or feature(s) it uses didn't exist prior to the challenge. It does not give an answer a free p...

 
^ Since when have we had that bot?
 
Maybe check the link again.
 
Is the above similar enough to this?
 
1:47 AM
@ETHproductions Always
 
@ETHproductions It's always been there.
 
3 mins ago, by LegionMammal978
16
Q: Quine multiple times

Christian IrwanYour task is make program that do following: You should take number. (Positive, negative, fraction is possible input) If it is negative, you reverse the quine. and negate that number (Become positive) Then you repeat <integer part of the input number> times and print first <floor(fraction part ...

 
ninjaed
I beat it to upvote though.
 
@quartata
map(x,function(H,S,n){ y.goto(H,S); y.go(1); y.stroke(); });
H is the element, S is the index.
 
1:48 AM
lol
 
> y.stroke();
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Oh lal
 
Anonymous
@NewLoopholeProposal that's new :o
 
^-^
 
1:48 AM
@feersum y.caress();
 
^.^
 
If I pass an array to a function will it flatten like in Perl
 
@Mego What's new? The bot? Because it isn't.
 
I read that as "Marking an answer as non-competing because it uses a language or feature newer than the challenge is a standard loophole" and I was like ಠ_ಠ
 
@AlexA. y.massage(); ?
 
Anonymous
1:49 AM
@AlexA. I haven't seen it before
 
( ͡° ͜ʖ ͡°)
 
Anonymous
y.not_zoidberg();
 
@Mego Bot has always been there
 
:(
 
@Mego Because not that many people propose new loopholes
anymore
 
Anonymous
y.lovin_touchin_squeezin();
 
@quartata Ninja'd you again.
 
IT'S A BLOODY CANVAS YOU PERVS
 
y.u_do_this();
 
lel
 
Anonymous
1:50 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ eww why is it bloody
 
^
 
@Mego The mac users.
 
y.u_don't_do_this();
 
0
A: Sandbox for Proposed Challenges

J AtkinBuild a twisting quine code-golf quine The challenge Your challenge is to write a twister program, when run on itself as input, outputs another program* that prints Twister**. How strings are twisted The twisting algorithm is very simple. It takes all but the first char in the string and move...

 
^^^^^^
 
1:50 AM
@Mego literally 2 seconds away from making that joke
today isn't my day
ninja'd on everything
 
ninjaed on everything
Dangit.
 
@quartata Get rekt, son in law.
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ Also why are you using a British curse?
 
@AlexA. Son in law? What?
 
Cause he is antarctican.
 
Anonymous
1:51 AM
@quartata You do this, on the day of his daughter's wedding?
5
 
@Mego Umm... My mums native american, my dads irish.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ German, mexican, and british.
 
@RikerW noice mon fruend
 
Anyways back on topic how can I make it y.goto(H[0],H[1])
 
@quartata "Get rekt, son in law" sounds way more rekt than "get rekt, son."
 
1:52 AM
@quartata .H0, .H1.
 
@AlexA. It also sounds 99% more disturbing
2
 
@AlexA. y.u_arrange_marriage_without_asking();
^^
 
@quartata Good
 
^
 
Anonymous
@AlexA. It's the combination of "get rekt son" and "lawyer'd"
 
1:52 AM
haha
 
y.u_always_lying();
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ΜxDyG.H0.H1yg1ys}
 
I wonder if "lawyer'd" is used in penal court slang.
 
@quartata To quote Quill,
 
Anonymous
Really it's just Alex being at punctuation. It's supposed to be "get rekt, son, in law"
 
1:53 AM
OK it kinda worked.
It made a line between (0,0) and (1,1)
 
You made a line! :D
 
@AlexA. I read that as "Penile court slang" and was like "that is in conjunction with lawyers?"
 
Right but I just wanted a point ;_;
 
@RikerW ._.
 
I shouldn't have signed up for the PPCG redesign project... I recieve about 30 GitHub emails a day :P
 
1:54 AM
@quartata Oh right!
 
@quartata Richard Rollins.
 
@AlexA. That wasn't a rickroll.
 
LIES
 
@quartata I didn't say it was
 
1:55 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Nah I'll figure it out
 
Anonymous
 
var can = {
		"a":function(J){
			J.comp += "y.angle(";
			return 1;
		},
		"b":function(J){
			J.comp += "y.begin(";
			return 0;
		},
		"B":function(J){
			J.comp += "y.back(";
			return 1;
		},
		"c": function(J){
			J.comp += "y.close(";
			return 0;
		},
		"d":function(J){
			J.comp += "y.draw(";
			return 0;
		},
		"e":function(J){
			J.comp += "y.pensize(";
			return 1;
		},
		"f":function(J){
			J.comp += "y.font(";
			return 1;
		},
		"F":function(J){
			J.comp += "y.fillstyle(";
			return 1;
@quartata
Those are the canvas functions.
 
Thanks
 
yQ and yq do not work.
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ Thanks for taking up 80% of my screen m8
 
1:55 AM
*y.q?
 
rats I don't see fill rect
 
@quartata Good luck, and may the spirit of Jolf be upon you.
 
Also what does y.polar do?
 
@Mego My pleasure.
@quartata uhhh gimme a sec
 
Does it convert from polar to rectangular?
If so that's exactly what I'm looking for
 
Anonymous
@quartata fill_rekt();
 
Why do I always see new challenges 4 hours after they're posted, even though I check main every 2 minutes? :P
 
^
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ You ruined my joke by shoving it way off-screen
 
1:56 AM
Awsum polar does what I want
 
@quartata right here?
 
wat? I didn't do anything.............
 
evil laughter
 
1:57 AM
It's not what you think.
 
Anonymous
@CᴏɴᴏʀO'Bʀɪᴇɴ flags as offensive
 
It's exactly what you think.
 
^^
@CᴏɴᴏʀO'Bʀɪᴇɴ Oh no, its meant to be that. I like it better.
Is there a way to turn autoplay on?
 
No that would be heavily abused
 
Aw..
I was hoping to abuse it myself...
 
1:59 AM
ಠ_ಠ
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I can't figure out a way to get this working :P
 

« first day (1826 days earlier)      last day (3032 days later) »