12:00 AM
Two identical messages?
Sent by two different people/bots

Sent by two different people / bots

12:21 AM
0

Write a program that inputs the dimensions of a painting, the matting width, and the frame width for a framed portrait. The program should output a diagram using the symbol ‘X ’ for the painting, ‘+’ for the matting, and ‘# ’ for the framing. The symbols must be space-separated. INPUT: 3 2 1 2 (...

12:32 AM
@NewSandboxedPosts Dream life

0

Write a program that inputs the dimensions of a painting, the matting width, and the frame width for a framed portrait. The program should output a diagram using the symbol ‘X ’ for the painting, ‘+’ for the matting, and ‘# ’ for the framing. The symbols must be space-separated. INPUT: 3 2 1 2 (...

12:56 AM
0

Write a program that inputs the dimensions of a painting, the matting width, and the frame width for a framed portrait. The program should output a diagram using the symbol ‘X ’ for the painting, ‘+’ for the matting, and ‘#’ for the framing. The symbols must be space-separated. INPUT: 3 2 1 2 (W...

Anonymous
raises eyebrow

1:06 AM
@NewSandboxedPosts I like butter
@Mego What's that? A bot being put out of it's job! Better put some comedic edits to it so it can get a new job as a comedian?
Oh wait, you already did that
0

Python 3.8 (pre-release), 116 115 bytes lambda a,b,c,d,e='#',f='+':"\n".join((g:=[e*(a+2*c+2*d)]*d+[(h:=e*d)+f*(a+c*2)+h]*c)+[h+f*c+'X'*a+f*c+h]*b+g[::-1]) Try it online! First attempt at golfing, will be improved soon. Explanation coming soon! a is width, b is height, c is matte width, an...

I just feel so golfy inside when I use Python 3.8 `:=`

5 hours later…
5:55 AM
cor i just found out about `:=` from that answer
this is the best solution to assignment as an expression, just have a separate operator thats clearly assignment

@quartata Surprised it took you so long, that was like a really big thing
So big Guido quit over it, even

lol
@Pavel i dont pay a whole lot of attention to peps

Something about not ever wanting to stress so much over pushing through obviously useful features
. o O ( Meanwhile, in Perl land, the last useful feature was added 5 years ago and is still experimental, sub signatures )

6:20 AM
@Pavel didn't he quit back in 2013
@Pavel perl 5?

@ASCII-only 2013 is when he joined Dropbox but no he quit python in 2018

@quartata the other operator is assignment too :P
@Pavel O_o

@ASCII-only Perl 6 may have a lot more features being added more quickly, but I'd contest them being 'useful' :P

6:32 AM
very random, but... for uni i have to collect information but have absolutely no idea who to interview so... link to google form

> Did you stay up late yesterday?
My answer to this will become yes if I stay up for 30 more minutes

:P (my parents are very strict though, so I sleep at ~11pm every day. wonder if that counts as late)

I think it does

3 hours later…
9:35 AM
0

Optimize the JSON (WIP) Consider function f which takes two objects data and default, and merge anything from default into data if data contains no such element. Take the two objects(if the one in your language can handle the required elements) or JSON as input, output a shortest JSON that, when...

0

You will be given an ASCII text. This text may have zero, one or many appearances of a split a character (let's assume it will be the space character ) You will also be given an offset integer value (zero based) anywhere between zero and the length of the text. You should calculate the relative ...

2 hours later…
11:58 AM
36

Your 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...

12:44 PM
@mınxomaτ not quite the same thing but still fun to play around with (using GANs): gandissect.res.ibm.com/ganpaint.html

1:13 PM

1:37 PM
@ASCII-only similar things have been done a while ago using extensions of gans: affinelayer.com/pixsrv

wow, that works better than i thought it did

FF IX and Resident Evil HD both have AI redraw projects to redo the backgrounds in 1080p. They both look pretty dang good

3 hours later…
4:21 PM
0

Introduction (may be ignored) Putting all positive numbers in its regular order (1, 2, 3, ...) is a bit boring, isn't it? So here is a series of challenges around permutations (reshuffelings) of all positive numbers. This is the second challenge in this series. The first challenge can be found h...

5:20 PM
Ayy I got accepted to a PhD program at Carnegie Mellon.
23
I'll wait and see how my medical school apps shape up though, before I make any sort of major life decision.

@PhiNotPi congratulations!

5:42 PM
@PhiNotPi Dude, nice

6:31 PM
0

Sub-pixel Zooming (WIP) code-golf graphical-output Your task is to take a 24 BPP image and output the same image upscaled 3x into red, green, and blue subpixels. The resulting image will be made entirely of the css colors #F00 #0F0 #00F and #000. Each pixel from the source image, when zoomed...

7:04 PM
@PhiNotPi I'm a PhD student at CMU right now, congratulations!

@isaacg so you're in the Pittsburgh area then at the moment?
also good day TNB.

@ThomasWard Yes, I am

7:21 PM
nice you're in the same region as I am :P
('cept I live here always lol)

7:52 PM
-1

A business owner wants to create a website home page, whose background color dynamically changes with the time of the day based upon the following: Midnight: Black Between Midnight and Noon: lightening grey scale between black and white Noon: White Between Noon and Midnight: darkening grey scal...

8:26 PM
0

Compress briefly Compress and decompress the first chapter of Worm, beginning with the opening words "Class ended" and ending with the closing words "my best friend." (including the period). You do not need to include any of the formatting (copy and paste as plain text). Rules You may not use...

1 hour later…
9:34 PM

9:47 PM
3

This is what we'll call a bowl of alphabet soup - a roughly circular ascii-art shape with the 26 uppercase English letters (A-Z) arranged clockwise to form the perimeter: XYZABC VW DE U F T G S H RQ JI PONMLK Write a program that takes in a single l...

1 hour later…
Anonymous
11:01 PM
@DJMcMayhem Isn't the Boost output what you would expect?

but it says %d
you expect a number

Anonymous
@FrownyFrog In C/C++, `char` is an integral type.

Anonymous
11:17 PM
`char` is usually `int8_t`

Anonymous
11:35 PM
@PhiNotPi Congratulations, you deserve it!

11:47 PM
@DJMcMayhem maybe C(++) isn't smart enough, even C usually requires size specifiers

Anonymous
It just hit me what I was missing from that code - the `%d` conversion. Maybe boost is trying to be too clever for its own good?