12:30 AM
@lyxal hopefully they'll change as little as possible
we'll see :3

1:00 AM
Sandbox posts last active a week ago: Compose Two Polynomials code-golf

1:56 AM
My coworker just wrote this Python and I died a little inside
Wait image is too big
> `str((int) (dist / 2000))`
That is valid Python

dist // 2000 to save a few bytes and drop the cast to int :p
`f"{dist//2000}"`
If you really want to golf
Alternatively, really commit to the bit and use `(str) ((int) (dist / 2000))`
Because you can also type cast to string

2:39 AM
LOL
It even works more or less like they (seem to have) intended
I came here to say: I think I've become fully American. I've begun (mis)pronouncing my own name the American way when speaking inside my head, I have a craving for donuts, and the other day, I estimated the length of something in yards
3
I am willing to defend American English spellings and have started liking beef
6

Ok normally I wouldn’t be advertising my answers here but this new desmos recursion update is just so awesome, I just have to showcase it. Here is a desmos answer to Fibonacci swoosh: codegolf.stackexchange.com/a/272766/96039

Very cool, I did my original drawings for that challenge using desmos
It doesn't seem to be rendering properly on my end, is it just extremely laggy or is there something I'm missing?
Ah, "upwards of 30 minutes"

3:13 AM
@emanresuA XD yea idk why it’s so slow
You can change [1…c] to like [1…20] to speed it up a bit if u really wanted to see it

6 hours later…
9:22 AM
0

The cartesian product of two multisets \\$A\\$ and \\$B\\$ is multiset of all ordered pairs consisting of an element of \\$A\\$ and an element of \\$B\\$. For example, the cartesian product of \\$\{1, 2, 7, 1\}\\$ and \\$\{4, 6\}\\$ is \\$\{[1,4],[1,6],[2,4],[2,6],[7,4],[7,6],[1,4],[1,6]\}\\$, where the order ...

9:45 AM
Achievement get: outgolf Dennis
I have no idea how jelly had the euler totient function but not outer product at that time
And also I find it deeply weird how many langs have the euler totient function as a builtin

3 hours later…
12:23 PM
@RydwolfPrograms I hate this so much
gonna start using it everywhere

12:36 PM
@RydwolfPrograms what
does it even work

of course it works, spoiler

what
Me: opens `/tmp` on ginger's server
it goes on for like 10 more pages of this smh

:3

oh, chat's back

surprisingly only a day :p

is this why you told me to hold off on the bot proxy

yes :p

I don't think it'll actually make a difference, though
since the bots never interact with the official API

1:04 PM
ah

unless you happen to have confirmation that they're going to unblock the server, which seems unlikely

i do not

thought so
I Super Don't Want to mess with the proxy, but having the bots dead is really bothering me

2:05 PM
247

My cat sat on my laptop and now if I type either L or P, it inputs 3 or * instead. The rest of my keyboard still works correctly. The problem is bad enough that I had to use the touch screen of my computer to type this in. How can I restore the correct working behaviour of my keyboard?

2:19 PM
0

Interpret PlusOrMinus PlusOrMinus is an esoteric programming language invented by Esolang user PythonshellDebugwindow. Language specification There is a wrapping byte accumulator (incrementing 255 results in 0 and decrementing 0 results in 255) in the language. There are two instructions in the l...

2:33 PM
@pxeger should've called the question "My cat sat on my 3ato, now the right side of my keyboard ty*es the wrong characters"

3:22 PM
Try turning off cat-lock. — Owen Nov 13, 2016 at 16:58
i thought it was a CGCC q for some reason at first

3:45 PM
@NewPosts i think its save to say we can freeze TST. no negative responses to any of the positively received posts

4:40 PM
@RydwolfPrograms port 8189 pls (for seggan)
(udp)

4:57 PM
also, just verifying 8554/8000/8001 are still ok?

5:36 PM
(they are not)

6:16 PM
switched from walyand to x11 and the subtle color change is infuriating
not that the colors are bad, it just so jarring seeing a different color

@lyxal It's not that the syntax is specifically for typecasting, it's just that parentheses may be used in redundant, matching pairs. Also spaces after the first character of a line may be included redundantly. This can be useful for formatting code across multiple lines. The only use actually suggested in PEP-8 is for tuples of one element (e.g. instead of `x=7,` one should write `x=(7,)`).

1 hour later…
7:26 PM
@JonathanAllan pretty sure lyxal knows that :p

8:07 PM
8

I will soon be finishing my undergraduate degree. My university has requested my "preferred name" to display on the diploma. I think it would be funny to submit [my name], King of the Rats. I also intend to apply to law school within the next year. I have 2 questions: Are diplomas submitted in l...

8:37 PM
lmao

2 hours later…
10:55 PM
@JonathanAllan well then how come I can also cast things to float using `(float) ()`? :p

@lyxal I think because `float` is a class and that's how its constructer works, so you're calling its `__init__`

It's a joke :p
Obviously it's just calling the float function
Because that's how the syntax works
Ofc there's no typecasting in python it's dynamically typed why would there be?

woosh

Now we're even :p

I had no idea it was a joke, now I understand Ginger :)

11:05 PM
@lyxal You can even cast tuples to range: `(range) (3, 10, 2)`

I think I'm too used to using dynamically typed languages to even consider "casting" as specific to static langs :D:D (well I'll tell myself that for now...)

@DLosc horrifying :p
@JonathanAllan the joys of duck typing :p

11:29 PM
Let's keep it going ...you can even cast a tuple to stdout `(print) (1, 2, 3)`

what does a integer that works in public relations have to do with stdout?

stdout is the default means of relating to the public

by transmitting diseases?!

If you have relations with the public frequently, it's not unlikely
6

ah fair enough
probably safer to cast a `(filter)` first then