« first day (2013 days earlier)      last day (2844 days later) » 

5:00 AM
@LeakyNun How are you going to do this in 9 bytes? There can't possibly be any formula for this...
 
@LeakyNun Not correct for the test case [60, -210, -60, 180, 400, -400], [250, -150].
Output should be 11, not 15.
 
@R.Kap is 300x200 same as 200x300?
 
@LeakyNun Yeah.
 
1
Q: Alphabet triangle

Leaky NunYou are to print this exact text: A ABA ABCBA ABCDCBA ABCDEDCBA ABCDEFEDCBA ABCDEFGFEDCBA ABCDEFGHGFEDCBA ABCDEFGHIHGFEDCBA ABCDEFGHIJIHGFEDCBA ABCDEFGHIJKJIHGFEDCBA ABCDEFGHIJKLKJIHGFEDCBA ABCDEFGHIJKLMLKJIHGFEDCBA ABCDEFGHIJKLMNMLKJIHGFEDCBA ABCDEFGHIJKLMNONMLKJIHGFEDCBA ABCDEFGHIJKLMNOPONMLKJ...

 
5:03 AM
@R.Kap i count 12
 
@LeakyNun Well, I counted 11.
 
@R.Kap [[190, 400], [150, 400], [120, 400], [220, 400], [340, 400], [270, 400], [240, 400], [400, 460], [390, 400], [400, 580], [400, 610], [400, 800]]
The dimensions of my 12 rectangles
by the way, 13 byte solution jelly.tryitonline.net/…
@R.Kap
Will there be repeated lines, e.g. [-250,-250],[10,20]? — Leaky Nun 8 secs ago
 
@LeakyNun No, there will not be repeated lines in the input arrays.
 
@R.Kap instead of saying to me, add it there
@R.Kap not in the comments, in the question
 
@LeakyNun I did.
 
5:11 AM
@R.Kap alright
 
@LeakyNun By the way, you are correct. There are 12 unique triangles. I missed one.
 
@R.Kap are you going to post it?
 
@LeakyNun Yeah, I'm just about to.
 
@LeakyNun I don't understand ;` but I found Ṗ;Ṛ¶ØAḣJÇ€Çj⁷` albeit too slowly since both of you already posted
 
@miles it is `;\` halp borked
 
5:16 AM
typos
:P
 
cumulative reduce
 
I know i mistyped too
 
it is like / but keeps every result
 
oo yes
 
@LeakyNun It's posted.
0
Q: Count the Unique Rectangles!

R. KapIn my last challenge, you were asked to find all rectangles given a m x n grid of them. However, it turned out to be very trivial as there actually was a mathematical formula I did not even know about to solve the problem! So now, for a little bit more of a challenge, how about calculating the nu...

 
5:17 AM
Jelly is like APL, the links automatically reduce over the prefix
I keep thinking J without the auto reduce
I give up on editing that
 
alright
 
0
A: Sandbox for Proposed Challenges

Sherlock9Building a math trick code-golfmath There's a neat math trick that runs as follows: Ask a friend to pick a number from 1 to 105 (inclusive). Tell them to divide that number by 3 and tell you what the remainder is. We'll call this x Then, ask them to divide their number by 5 and tell you wha...

 
@Sherlock9 do my challenge
 
I'm not sure how, and I'm working on other stuff before I have to leave today
 
0
Q: Count the Unique Rectangles!

R. KapIn my last challenge, you were asked to find all rectangles given a m x n grid of them. However, it turned out to be very trivial as there actually was a mathematical formula I did not even know about to solve the problem! So now, for a little bit more of a challenge, how about calculating the nu...

 
5:31 AM
;\
!!
@LeakyNun enclose in double backticks
 
5:51 AM
Does anyone in here know MATL?
 
@NathanMerrill that is crazy and amazing. Thank you! :)
 
6:09 AM
Hello
 
Could someone else please enter this challenge so I have some competition:
12
Q: Leo's Pokerface

Socratic PhoenixPokerface Introduction Leo enjoys playing poker, but his job at Tech Inc. is too demanding for him to learn how to play well. Leo, being a computer scientist, is not discouraged. He decides to take more time than it would have taken to just learn poker, and use it to write a poker bot to help h...

 
@Doorknob Do you think this answer is valid?
4
A: Create and write to a file

Dr Green Eggs and Iron ManVim, 15 + 1 == 16 bytes iHello World<esc>ZZ +1 byte for launching this with vim f. Additionally, this version works to: iHello World<C-o>ZZ If launching vim like this is not allowed, there is also: Vim, 18 bytes iHello World<esc>:w f<cr> Side note: this is a polyglot. The same thing wor...

 
@Dennis I can't seem to get output when using a negative arg for range, ie -1R doesn't give [-1, 0, 1]
 
@DrGreenEggsandIronMan I suppose you should add two bytes instead of one because of the space before the filename. But other than that, sure, the extra argument can be treated as a command line flag.
 
6:26 AM
OK cool. Are you sure the space counts? I've seen perl -p count as +1 byte.
 
Right, because perl -pe 'foo' is one longer than perl -e 'foo'.
 
Wait huh? I don't know anything about perl, but how is perl -e 'foo' not extra?
 
-e executes the code that is provided as the following command line argument. It's a very typical way of running Perl code (especially considering Perl's nature as a command line tool).
 
Hmm. I can't find anything relevant on meta about scoring command line flags.
 
0
A: Sandbox for Proposed Challenges

Sherlock9Write a VIC cipher decoder You've received a coded message from your ally that you know is encoded with the VIC cipher. As you know that the VIC cipher is notoriously convoluted, you want to write a program that will decode the VIC cipher but is small enough to hide from the enemy if you are cap...

 
6:33 AM
19
Q: On "interactive" answers and other special conditions

Jesse MillikanInteractive languages (and related issues) have afflicted me with a bunch of gripes regarding character count and program testing. Clarifying these should help coders in other languages like Mathematica and dc with similar issues. (And will also shut me up about it!) How much action on the user...

super old though
 
Ok, thanks. I've updated the byte count.
 
6:49 AM
@miles R lists all positive integers up to its argument, so it returns an empty array in this case. 1ŒR and -ŒR both return -1, 0, 1.
 
@Dennis Ah I see, so is the note for R on the atom page outdated?
 
I have some competition in pokerface >:) They will be destroyed!
 
@miles Oh, it still says that? That's how R behaved initially, but 0R being non-empty created a lot of edge cases... Will fix.
 
ok no problem
@Dennis well I ended up with ŒRAạ¶26ÇÇ€‘ịØAj⁷ at 16 bytes for that problem but it was fun
 
7:06 AM
Anyone else want to try and answer my challenge?
0
Q: Count the Unique Rectangles!

R. KapIn my last challenge, you were asked to find all rectangles given a m x n grid of them. However, it turned out to be very trivial as there actually was a mathematical formula I did not even know about to solve the problem! So now, for a little bit more of a challenge, how about calculating the nu...

 
@Zgarb just taking a quick glance at the source it seems that github.com/iatorm/jellyfish/blob/master/vocab.py#L269 should have been @defun_binary?
 
@MartinEnder Hey! Congrats on 100k reputation! :D
 
thanks :)
 
Let's make sure we incessantly congratulate @MartinEnder for the next 6-8 weeks.
:P
 
Well, I finally reached 2,000 today. Yay for me! :)
 
7:09 AM
Congrats!
 
I now have access to moderator tools.
That's cool
 
@miles Certainly an interesting approach.
 
Oh shoot, that's not my terminal. >_>
 
:D
 
Apple is speaking at a public security conference for the first time in ~5 years. congrats @radian! https://bgr.com/2016/08/01/ios-10-security-blackhat-hacker-conference-2016/ #BHUSA
 
7:34 AM
tfw you are chatting on anofher service, make a typo, press up, and nothing happens. -.-
 
7:54 AM
hi
 
@TùxCräftîñg YO
 
Idea for an esolang: natural language programming, with a compact natural language
Also I had an idea for a KotH challenge
 
8:01 AM
@DestructibleWatermelon Gimme!
 
ConceptJunkie pushed on the main repo and i have no idea how to pull on my fork :/
 
@TùxCräftîñg Make a PR from his repo to your fork.
 
> rpn supports more than 600 operators.
omg more than apl
 
@zyabin101 it's in its concept stage. I will figure out the better details soon
 
I have some ideas for a 2d esolang. :3
 
8:10 AM
@DestructibleWatermelon ???
 
And an operating system built with SUSE Studio. :3
 
rpn (1)>help
rpn help mode - 'topics' for a list of topics, 'exit' to return to rpn
rpn help>topics
Traceback (most recent call last):
  File "rpn.py", line 608, in <module>
    handleOutput( rpn( sys.argv[ 1 : ] ) )
  File "rpn.py", line 575, in rpn
    enterInteractiveMode( )
  File "rpn.py", line 261, in enterInteractiveMode
    enterHelpMode( terms[ 1 : ] )
  File "rpn.py", line 309, in enterHelpMode
    printInteractiveHelp( )
NameError: name 'printInteractiveHelp' is not defined
;_;
 
And now another idea: translate some main stream lang to a natural lang other than English. :3
 
so like 'si' instead of 'if'
 
This category lists non-English-based programming languages; i.e., those which, unlike most other programming languages, do not use keywords taken from, or inspired by, the English vocabulary....
 
8:20 AM
befunge, bf and malbolge
ಠ_ಠ
 
at least the chinese BASIC will never run out of one-character variable names
 
My idea for a KotH challenge is this: Each program defines a car like in this, and behavior pattern for the car from given input. Score is a function of bytes and performance, not sure on what function exactly.
perhaps measured in byteseconds, minutes or bytemicrofortnights, or whatever
 
8:37 AM
the problem with that is that a very minimal program with 5 bytes producing something empty would do better than a well written 200 byte car.
 
well then, i guess it could be a bit-minute or something
bitdecasecond, perhaps
also seconds would mean the time it takes to finish
I would try to ensure that the course is semi-difficult to finish (can't just rush through it without thought, perhaps (or maybe a well designed car could, in which case good for that car))
it's all about the weighting, anyway
So a badly designed small car would have to be well designed in order to finish the course
 
> badly designed
> well designed
 
I consider bytes because otherwise someone could encode a list of commands that finishes the course perfectly, like a TAS, I mean, perhaps this isn't the greatest way of ensuring something like that doesn't happen, it could also be interesting
@MᴀʀsUʟᴛᴏʀ I should have used scare quotes, ok?
 
@DestructibleWatermelon ?
 
as in: So a "badly designed" small car would have to be well designed in order to finish the course
 
8:48 AM
Aww, no one has seen AndrOS... :3
 
what even is and why is it man
 
@DestructibleWatermelon ?
 
andros is root for man
 
Well, AndrOS is an operating system I made in SUSE Studio.
@DestructibleWatermelon AndrOS is my operating system.
 
-2
Q: Print an alphabet circle

Sean BeanWith all the new alphabet xxx challenges, I've decided I'll give my own challenge. Input An Integer, (or your languages equivalent) r, such that 0 < r ≤ 26. (you don't need to validate this) Output An alphabet circle. It must be: Noticeably circular Have the radius r Be printed to STDOUT Ea...

 
9:00 AM
@MartinEnder You're finding all the bugs. :P I need to make a list so I remember to fix them tonight.
 
@Zgarb I just thought Wilson's theorem might be shorter than trial division ¯\_(ツ)_/¯
 
@MartinEnder Isn't Wilson's theorem O(n) because of the n-1!, and trial division O(n^0.5)?
 
@Magenta sure, but we're golfing ;) (which actually means my trial division was also O(n))
 
9:41 AM
wait
rpn have a oeis operator
 
Hello!
 
@DerpfacePython Hello!
 
Is it possible to write a primality checker in Pyramid?
 
it's more probable to write this in Gaot++
 
9:53 AM
write what in Gaot++?
 
the primality checker
 
But is it possible in Pyramid?
 
¯\_(ツ)_/¯ seem hard
 
I haven't the first clue where to start...
Probably have to find primality tests.
 
9:59 AM
If Pyramid can't do a primality check
then it's not deemed a programming language by PPCG standards
so I'm probs going to either find a way to do it
 
if your language is TC (or at least it's believed), it's acceptable
 
I have no idea if it is TC
 
because a primality check is theorically possible
 
LOL
Thing is, Pyramid only stores 1 number at a time
which makes it really annoying for storing stuff
And the only memory is output
 
if your language can loop conditionaly, have a unlimited (or at least a big) number of memory location, it's TC
@DerpfacePython so pyramid is'nt TC
 
10:02 AM
LOL
yeah
 
And people say BF is hard...
 
@betseg who say BF is hard? BF is insanely easy
and malbolge is hard
 
@betseg It's just tedious to program in.
 
while hellambda is fuckin impossible
 
And INTERCAL...
 
10:05 AM
@TùxCräftîñg someone (i don't remember) said that yesterday night
 
@DerpfacePython intercal is high-level bf
 
Pyramid is "bearable" on the "ease of programming" spectrum
I think I can say that much
@TùxCräftîñg What?
 
¯\_(ツ)_/¯ intercal seem easy
 
do you guys know Verbosefuck?
 
this language more verbose than java and c# combined?
 
10:07 AM
@betseg yes. It sux. it is BF derivative
 
~!comment!~wat~!uncomment!~
 
> There must be at least one comment per 1000 bytes of code (including comments).
 
~!comment!~i hate comments~!uncomment!~
 
Verbose as fuck
 
0
Q: Construct the Jacobian matrix

helloworld922Take the vector of unknowns , and apply some generic differentiable function . The Jacobian is then given by a matrix such that: For example, suppose m=3 and n=2. Then (using 0-based indexing) The Jacobian of f is then The goal of this challenge is to print this Jacobian matrix. Inpu...

 
10:12 AM
@NewMainPosts wat
> You are allowed to use any built-ins desired.
Mathematica will win.
 
So verbose...
Oh jeez.
I'm shuddering at the sheer verbosity of VerboseF**k.
 
I want to make a Linux distro chooser. :3
 
I'mma make TayyipScript based on TrumpScript
 
How do you say "I don't know" in French?
 
@DerpfacePython je ne sais pas
 
10:16 AM
@TùxCräftîñg Ah, thanks.
I thought it was something like "Je ne comprends pas."
 
@DerpfacePython je ne comprend pas is i don't understand
 
Well, it seems no one wants my new OS... :(
 
If I was a major linux guy I would use it
 
@betseg this is a string formatting challenge. I can assure you that Mathematica will be nowhere near the top answers.
 
But I'm not
 
10:18 AM
Oh wait, the challenge seems to allow the built-in notation. Well then...
 
heh
Mathematica, 19 bytes, right?
 
@zyabin101 we can install normal suse and add some extra programs. Why install ur iso
 
Normal SUSE is fat.
 
install Arch then
Or archbang
 
10:21 AM
Maybe nope?
 
install debian
debian is great
 
Nope?
Distros all around are fat D:
 
Everything big distro out there has some objectives.
Gentoo is skinny
 
so install just the linux kernel and the coreutils >_>
 
LFS FTW
 
10:23 AM
For example, AndrOS' USB disk raw image is 306 MB.
 
@zyabin101 0/10 too much
 
Gentoo iso is about 250 mb
 
GET TOLD @zyabin101
 
the linux kernel and the coreutils are <30mb
 
The largest distros (e.g. Ubuntu) are around 700MB
@TùxCräftîñg The kernel is ~4MB
Most of it is the coreutils
Tiny Core excludes coreutils to get it down to ~9MB
 
the vmlinuz is about 10 megs, but you need more than just the vmlinuz
 
Whoa, now everyone's on!
 
So basically, I unpublish and delete my very new AndrOS? ಠ_ಠ
 
@zyabin101 basically
 
Well, please nope?
 
10:27 AM
@zyabin101 keep it if you want, but noone will install it imo
 
try to create your own kernel
it's fun to debug with qemu
 
@zyabin101 You don't need to, but yeah, in general people aren't going to download a massive distro with two installed applications that you can install with one command anyway
halp i need html help
 
@MᴀʀsUʟᴛᴏʀ exempt
 
@MᴀʀsUʟᴛᴏʀ what is the problem?
 
İ knows html i can haz halp u
 
10:30 AM
@TùxCräftîñg trying to stop propagation for drag events
 
exempt
 
I handle all three drag events but stuff behind the div is still getting selected :(
oh wait
 
dis aint html dis is js
 
@betseg whoops
 
y u do dis y u lied lik ze cake
 
10:33 AM
i h8 js i do evrifin w/ css3
 
@Dennis Can you please pull 05AB1E?
 
@Adnan "Yup, when I finish with flags..."
"...eh... that day contains less flags than others."
 
10:50 AM
@zyabin101 "Thanks :)"
 
I have idea for KotH that I could implement if I actually understood pipes
 
@DestructibleWatermelon commandline pipes?
 
two way commandline pipes, I mean, yes
 
11:02 AM
parent to child and child to parent
 
wat, pipes don't do that
 
or whatever types of pipes would be used, I don't know
 
0
A: Is this number a prime?

TùxCräftîñgRPN, 7 bytes isprime This assume the input is on the top of the stack.

 
@TùxCräftîñg clap clap clap
 
11:07 AM
not a full program, btw
updoot retracted (/˚n˚)/
 
@DestructibleWatermelon the help command is borked
so idk how to create a lambda/read input
huh discovered another issue in rpm
(i think)
lambda x isprime
throw
Traceback (most recent call last):
  File "rpn.py", line 608, in <module>
    handleOutput( rpn( sys.argv[ 1 : ] ) )
  File "rpn.py", line 575, in rpn
    enterInteractiveMode( )
  File "rpn.py", line 270, in enterInteractiveMode
    valueList = evaluate( terms )
  File "rpn.py", line 109, in evaluate
    currentValueList[ -1 ].add( term )
UnboundLocalError: local variable 'currentValueList' referenced before assignment
 
this is where come my gh profile image
@DestructibleWatermelon y u do dis ;_;
oy @Sherlock9
 
Yo @TùxCräftîñg
 
11:23 AM
I'm bor k ed
 
@betseg ---striked---
<s> only work on the site
 
like t hi s
 
@TùxCräftîñg didn work
 
try to add a space
 
@TùxCräftîñg y u no use the s postfix
 
11:25 AM
@betseg ?
 
@TùxCräftîñg it work works
 
0
A: Sandbox for Proposed Challenges

Sean BeanAlphabet Circle This post got very negative feedback, so it's apparent that it needs tweaking in the sandbox before I attempt to repost it on PCG With all the new alphabet xxx challenges, I've decided I'll give my own challenge. Input An Integer, (or your languages equivalent) r, such that 0 <

 
@betseg huh typo
 
hooray my idea is thinked of a bit.
I had another idea for a challenge
interpret esolangs.org/wiki/InterpretMe in any language other than interpretme
 
oOo CODE iz da bezt lanngauge
 
11:29 AM
@betseg 0/10 Lenguage > oOo
 
@DestructibleWatermelon Python, 0 bytes
 
@TùxCräftîñg no, that doesn't work at all
 
@DestructibleWatermelon ES6, 14 bytes: f=s=>s=='*'&&f
 
PROgRam reVERsES giVeN iNPut sEqUENcE <-- this program reverses any given input sequences
 
11:32 AM
^^ is the same as OOOoOooooOOOoOOooOoOoOOoooOoOOOoO
 
@DestructibleWatermelon APLBAONWSJAS: EXECUTE(InterpretMe)
 
@TùxCräftîñg 0/10 not golfy
 
@MᴀʀsUʟᴛᴏʀ i cant golf more ;_;
 
@TùxCräftîñg Create a variant with a shorter name and without the EXECUTE() nonsense
 
how do lambdas work in python pls
 
@DestructibleWatermelon foo = lambda x,y: x+y is equivalent to def foo(x,y): return x+y.
 
def s(f):str(s(input())if i=='*'else 1 for i in f) python interpreter for interpretme
should this be a codegolf challenge?
 
erh no
 
also look at that str function abuse :)
I mean, it is simple, but perhaps interesting to see shortest answers
 
11:37 AM
` `
tried coding in Whitespace, didn't work
 
@DestructibleWatermelon I don't think it'd be suitable as a main-site challenge at all. It's horribly underspecified.
 
it's plenty well specified
 
@DestructibleWatermelon it dont specify how the program is taken
 
Well, if you think so, then go ahead and Sandbox it.
 
write a function that does exactly one thing: execute itself as many times as the char * occurs in input
high concept challenge
 
11:39 AM
@DestructibleWatermelon def f(x):return x=='*'and f
 
@MᴀʀsUʟᴛᴏʀ no, that doesn't work for input "**", or "h*"
 
@DestructibleWatermelon C: f(n){return n?f(n-1);}
 
@MᴀʀsUʟᴛᴏʀ f=lambda x:x=='*'and f isnt shorter?
 
@betseg that takes an integer?
 
@DestructibleWatermelon ye
 
11:41 AM
that doesn't work at all
 
Hm it should
 
oh wait I actually badly specified challenge
I forgot to add that it should take input each time '~'
 
f(n){return!n?:f(n-1);} should do it
 
but that still takes an int?
can you make an anonymous lambda in python as a submission?
 
11:43 AM
@DestructibleWatermelon Yes.
 
Ye what did you want
i dun geddit
 
It's usually the golfiest way to submit a function in Python.
 
also how to use lambdas?
 
Assign them to a variable then call it like you would any def'd function.
 
ok, then that does not make it any shorter
also, the function doesn't need to return anything
also, are there any 2 char functions in python?
 
11:45 AM
@DestructibleWatermelon ...wait, what challenge are you working on?
 
the challenge I just made up lol
 
Oh i göt what you want now
 
@betseg whÿ ä ö?
 
Autocorrect:(
 
interpret me takes input and executes interpretme again as many times as * appears in input
 
11:47 AM
Don't Google Translate what göt means :(:(
 
open google translate
huh
 
what is it?
 
Gluteus maximus
Gluteal muscles in general
 
dict(zip("z Z zz zZ Zz ZZ zzz zzZ zZz zZZ Zzz".split(), "1234567890."))
is there a much golfier way to do this?
 
Remove the unnecessary whitespace
 
11:53 AM
ik
 
Wow, 1 byte removed! So much golfier!
 
1 byte saved, thanks to @betseg
 
i am asking for a shorter way to do this (with other functions for example)
 
I'm not sure there is a golfier way.
 
11:58 AM
Doing it the typical way ({'z':'0', ...}) is either 13 or 33 bytes longer, depending on if you store the numbers as integers or strings.
 
@El'endiaStarman but you may be able to do a range -> binary -> transpose? idk if that's shorter though
 

« first day (2013 days earlier)      last day (2844 days later) »