« first day (4063 days earlier)      last day (1076 days later) » 
00:00 - 13:0013:00 - 00:00

00:11
@pxeger Nah it's not Pi Day for you because you don't use the same date format
imma gatekeep Pi Day all day
how long does it take for a badge to be counted if u js got it?
@DialFrost a few seconds to minutes, hard refresh might help shouldiblamecaching.com
I saw this in the code golf discord and figured I post it here
?160 wat
00:16
Protip: just draw very slowly to get more points
2667???
@lyxal CMC: This but the lowest score possible (I got 21 8 so far)
i got 3
:D
00:18
5
i win
the lowest is 3 points
:D
Oh nice
What did you do to get that?
@BgilMidol Impossible
@user i just drew three dots in the same place
00:19
I GOT 1
wait wrong one
@DialFrost lol got 1 too
i got 3530
@BgilMidol dang nice
00:20
CMC: highest disbalance score
My best is 105 billion
ok i got 0 too
HOW
i cant get 0
ok nvrm
i got 0
disblanace 1 million
and i didnt draw the dots in one spot
@BgilMidol Oh nice
:D
i got 114,006
341566
00:25
noooo i only got 17 billion disbalance
i got NaN
@BgilMidol NaN disbalance?
nan score
My highest disbalance is now 129,654,162,687.6
The radius of that circle is 720,151
661 million
967 million
00:31
@lyxal how???
@lyxal dang how
who said the circle has to be in the centre of the screen?
i got 97 billion so far
but nowhere close to 129 billion
whats ur strat for doing that?
on the left edge
00:37
im placing a dot near the bottom left, bottom middle, and bottom right corner
top left, bottom left and middle of that
I did it on an iPad too
cool so we are doing similar things
26 million
@lyxal lol how
@AidenChow as close to the left edge as possible
00:39
125 million
LMAOOOOOOO 817 billion wtffff
the radius is sky high
@lyxal not cicular points
FINALLY 1.3 BILLION!!!
how u guys do it
@BgilMidol 1.3 billion score?
00:42
disbalence
@BgilMidol oh nice
is it even possible to get 1 trillion disbalance
possible
if ur a genius
@DialFrost nah its more like luck
you want to get as close to a straight line as possible on the bottom edge, but not exactly a straight line or else its not circular
279 billion disbalance
ah ic
i got 1 bil
HOW @allxy
2 bil
00:47
duuude i got 800 billion disbalance AGAIN
guys i got 2mil
in score
:D
big brain
uh guys the badge still isnt being counted
258 billion
@AidenChow haha nerd
ok why am actually i getting addicted to this now
833 billion
@lyxal bruuuuh and on an ipad too wtf
00:56
@AidenChow nah that was my phone that time
u think its even possible to get one trillion
if u get it just right
Disbalance (lower=better): 4.656,201,108,698,998e+53
lol I just broke its number formatting
@Bubbler WHAT
weve just been utterly destroyed
let e = $('#SvgjsSvg1000');
let ev = $.Event('mousedown'); ev.clientX = 0; ev.clientY = 100; e.trigger(ev);
ev = $.Event('mousemove'); ev.clientX = 100000000000; ev.clientY = 100; e.trigger(ev);
ev = $.Event('mousemove'); ev.clientX = 200000000000; ev.clientY = 100.00001; e.trigger(ev);
ev = $.Event('mouseup'); e.trigger(ev); $('#btn_compare').click();
01:05
@Bubbler ok bruh
i was thinking of doing smth like that but i couldnt get it to work
i was doing CIRC.draw.circle(CIRC.pointRadius).move(100,100).fill('#7B92ED');
but it didnt analyze for some reason when i pressed analyze
@Bubbler my guys a genius
you could probably get NaN disbalance with that right
Golfed: CIRC.pointsArray = [[0, 100], [1e12, 100], [2e12, 100.00001]]; $('#btn_compare').click();
@AidenChow one better: infinity
using 1e100 and 9e100 for the movements
Looks like it just becomes infinity if it hits around 1.8e+307
(f64 max is 1.something e+308 btw)
let e = $('#SvgjsSvg1000');
let ev = $.Event('mousedown'); ev.clientX = 0; ev.clientY = 0; e.trigger(ev);
ev = $.Event('mousemove'); ev.clientX = 5e76; ev.clientY = 0; e.trigger(ev);
ev = $.Event('mousemove'); ev.clientX = 12.041e76; ev.clientY = 1; e.trigger(ev);
ev = $.Event('mouseup'); e.trigger(ev); $('#btn_compare').click();
gives 1.7969e+307
01:25
how you do guys even find this code
open devtools, dig into event handlers, google "jquery trigger mousedown with coordinates", copy second SO answer, increase numbers, decrease numbers, binary search through numbers
uh wat?
@Bubbler ok that actually kinda makes sense
uh guys i didnt get my badge :(
Which one?
01:38
sportsmanship
its ticked in the badges thing but i still have 4 silver not 5
01:51
why does converting to binary on desmos have to be so annoying :(
because desmos is not apl
3
rotating lists too :(((((((((
bruh the answers for the double bit rotation question are like 5-50 bytes, while im gonna be rolling in with a 100 byte desmos answer lol
anyone know if is there a way to make a list [k, k+1, 1 ... k-1] using modular arithmetic or something
02:12
If you start with 0..n-1, subtract 2, modulo n, and add 1 should do
@Bubbler oh huh really, lemme try that
If it doesn't (because it's JS-based I think?), add n-2 instead of subtracting 2
@Bubbler ok, that works, thank you very much
bruh that didnt save any bytes over my other version without mod :((
oh wait nvm it did, after some fiddling around
02:35
oh shoot it saved quite a bit of bytes actually, dang
02:48
holy, this must be one of the longest comment sections ive seen on a non meta answer: aviation.stackexchange.com/a/92206
^ from the comment section: "mental masturbation", thats a term i have to keep lmaoooo
@emanresuA :o niiiice
Awesome!
Now time to see just how useless analytics is...
Some of the data is very weird
03:31
@emanresuA care to share or nah
I'm not supposed to
@emanresuA ah ok didnt know that
i guess that makes sense, given that its 25k rep privilege
It's not particularly interesting
03:53
@lyxal two taps lmao, i have to do 1 tap
fun fact: i wont go to school today as well
so i will do online class
@Bubbler desmos is (made) in JS
@emanresuA you are allowed to share snippets, it's that you don't go giving the entire data source
@DialFrost never knew Bubbler is your guy.....
aka your sock
Oka
Part of the "referring sites" list
04:10
391 is not funny
No, but it's kinda odd.
huh why would something like history stack exchange have any reason to refer to code golf?
¯\_(ツ)_/¯ probably a bug
04:55
CMQ: How do you pronounce "flax"?
flaks
Where I come from, flax is a plant.
i mean it is a plant..
@PyGamer0 congrats on 1k!
thank you
btw u can easily get sportsmanship within 3 days
@PyGamer0 @hyper-neutrino @cairdcoinheringaahing do the tacit ruels make sense for arabic jelly?
@DialFrost i already have that
@PyGamer0 i js got it tdy sadly
took me awhile to realise that u can js post in "Hello world" challenge, get 1 upvote, then upvote every single post in that challenge
:P
05:55
wtf i just put 3 random points really close to each other in the freehand circle thing, and i got NaN for most of them
@AidenChow How is this still open???
@emanresuA wdym still open?
The question's somehow not closed
@emanresuA oh yeah, idk
wait its still not closed after all this time???
dang that site's moderation really does suck
06:03
ikr
wat qns?
y does the qns have to be closed lol
-12
Q: What makes flying possible?

BerendWhich force of nature is it that makes flying possible? This is roughly the most basic question in aviation. Completely on topic. There is only one right answer and I'll bet you most don't know it. It's only one sentence. So let's see if anyone knows.

asked 12 hours ago, -12 net score
still open with a super long comment thread on one of the answers
dude even a diamond moderator commented on that post 10 hours ago, what???
two actually
@AidenChow 10/10 moderation what the hell is that comment thread
06:07
@AidenChow damnnn
wait, how does closing work again? dont people vote on posts to close it
yep peepal Vote to Close VTC
there are VTD, VYC, VTO, VTDn
@PyGamer0 yeah, so how many votes is it
all except the last one are real
@AidenChow 3/5 i think
huh ok, vote to close is available at 3k rep, theres at least 5 users i see there that are over 3k rep lol
07:01
@AidenChow what the fuck has happened here
Adám decide to make a new acct just to answer that q
@AidenChow If it says "Completely on topic" it most likely isn't
07:17
@ophact the surprising thing is how the question isnt closed or deleted
Next up on Stack Overflow: What makes coding possible?
computers? money? hands? the folks at iBM? Take your pick.
@ophact voodoo magic????
What makes coding possible: Existence of the universe.
"The universe exists, therefore you can code." What I'm going to tell people who are too lazy to learn coding from now on.
07:32
CMQ: Which is faster: type(x) == list or isinstance(x, list) ?
Sure seems like the former according to your link
@ophact hmm, sometimes, but it fluctuates for me
for the last two lines, the former seems to be almost always faster, but for the first two, its not clear which one is faster
i guess i will go with a type(x)==list check since thats faster
07:44
Would it be an interesting challenge to figure out why that is faster?
@PyGamer0 if[*x]==x
My guess for type(x)==list is that isinstance requires checking whether the reference is of the class list which requires time, whereas type simply requires checking if the "type" of an object is equal to the class list, and usually the type is explicitly stored as property
but I'm probably wrong
I have no clue about this sort of thig
thing
@ophact that sounds pretty reasonable
@DialFrost uh nope that doesn't work
it does i think
07:50
^^
^^^^
yikes -4
did i do something wrong
maybe its too similar to the other challenge
isinstance probably has to account for inheritance
/subclassing
@DialFrost try x=4 and [*x]==x
you will get an error
07:51
@UnrelatedString What inherits from list?
@UnrelatedString yeah prob it does
@AidenChow I was the one who suggested it to @DialFrost. In their case, it was with strings and lists so it did work
but in general...
no
@ophact your custom class
But in this case, you are trying on 4 and []
if you have one
07:52
hopefully not your custom class, granted, but your hypothetical custom class
it has to handle the possibility
In this case, it shouldn't matter whether or not inheritance is accounted for
yeah i guess i will use the type equality check instead of isinstance
@UnrelatedString which it does
OOP programming, this is getting a bit too big brain for me lol
> Object Oriented Programming programming
07:53
lol
@AidenChow laughs in I'm doing a course on OOP and other paradigms this semester
@PyGamer0 oh lol, i forgot that OOP stood for that
> I want to go take out some money from the ATM machine today.
@AidenChow well "Python Object Oriented Programming" is POOP
lol
@ophact Smh my head
07:55
Is the type of an object stored though?
It's perfectly possible...
python's type system VERY distinctly does not support type erasure lmao
so it is most certainly stored
That's another possible cause of its better performance
When I made my language, I think I would determine the type of an object to perform operations
because it can just compare the stored type by equality instead of checking if the target type either is it or subclasses it
removing at least a branch and who knows however much else logic
well dont you need to check subclass sometimes? like i think boolean is a subclass of integer of im not horribly mistaken?
yes boolean is
you can convert it to a int like int(True)
08:03
@lyxal I bought a RAT test with money from the BNZ bank.
@emanresuA did you have to use your PIN number to use the money?
did the RAT test have a UPC code on it?
(Didn't actually, those were just the two I thought of) nice :P
0
Q: Voice assistant tutor

VAAI am very new to creating a voice assistant (VA) in python (so my question may be simple). Actually I want to use the voice assistant as a tutor. So I need to open a file (eg. pictures) with a command of VA (say siri). I wonder if it is possible to see a picture (or a text) while siri (like a tut...

how do you guys put comments so fast on off topic questions, is it just copy paste
Userscript + fast typing
@NewPosts For the <3k users here, free vlq flag
08:10
@emanresuA ok i flagged it
@AidenChow yes, I have a folder of text files with some templates which I copy and paste, then tweak as necessary
e.g.:
> This site is for competitive programming challenges, not general issues. You may be able to get help on Stack Overflow, although this question in its current state isn't very good - see their How To Ask page.
@pxeger I just have a ussrscript
@emanresuA what exactly is a userscript, never really got what that was
08:12
Ok nvm that doesn't provide a lot of expalnation
But basically it's a piece of JS that runs on certain sites as they load.
@emanresuA ok what is it telling me to install
a userscript is basically a way of writing a simple browser extension but without all the complication of a whole actual browser extension
you just write a file of JavaScript which gets executed on certain pages upon load
@pxeger so there isnt really much of a difference between a userscript and a full fledged browser extension in terms of functionality?
08:15
full browser extensions can have their own individual pages (e.g. moz-extension://[some UUID]/index.html), which isn't really possible with userscripts
A userscript (or user script) is a program, usually written in JavaScript, for modifying web pages to augment browsing. Uses include adding shortcut buttons and keyboard shortcuts, controlling playback speeds, adding features to sites, and enhancing the browsing history.On desktop browsers such as Firefox, userscripts are enabled by use of a userscript manager browser extension such as Greasemonkey. The Presto-based Opera-supported userscripts (referred to as User JavaScript) are placed in a designated directory. Userscripts are often referred to as Greasemonkey scripts, named after the original...
and it's less simple to use additional assets (e.g. images, additional JS libraries) with a userscript
you guys code your own userscript??
Nah, I use radvylf's
@emanresuA who is that again
probably being dumb here lol
shh, never said anything
his name used to be Redwolf Programs
@pxeger ohhh ok that makes sense
really confused there for a second
so how does using a userscript affect a website, are they mainly just used for quality of life changes
yeah
In practice, they're generally just for that kind of small thing, yes, but in theory you can have a userscript do as much as you like
08:24
@pxeger huh ok, so someone can potentially make malicious userscripts for ppl to use?
how do u know something like that website emanresu sent doesnt contain malicious stuff
because its made by CGCC members (which probably arent malicious)
and you can check the userscript yourself to check if it contains fishy stuff
@PyGamer0 oh, so that website is made by code golf members? got it
NO
the userscript which emanresu linked
// ==UserScript==
// @name      Can you guess what this userscript does? @AidenChow
// @namespace _.pxeger.com
// @version   1.1
// @author    Patrick Reader <[email protected]>
// @grant     none
// @match     *://news.ycombinator.com/*
// ==/UserScript==
(() => {
  if (!document.getElementById("me")) {
    // not logged in
    return;
  }
  document.querySelectorAll(".athing").forEach(athing => {
    if (athing.querySelector(".votelinks") === null) {
      athing.nextSibling.querySelector("a[href^=hide]").click();
@PyGamer0 wait emanresu linked a userscript?
08:27
@pxeger i think i see what it does
@pxeger holy, you coded that up right now?
@pxeger not familiar with javascript, but ik its clicking some stuff
oh, is that not even for cgcc, i see a link for another website there
...does mathematica not have a bijective base conversion builtin?
4
Q: List of letters longer than the alphabet

Federico CartaI would like to create a list of the first $n$ letters of the english alphabet. Importantly, I would like that in case $n$ is bigger than the size of the alphabet, the letters will start repeating in the following fashion $\{...x,y,z,aa,ab,ac,ad,ae...\}$ And in case of a very large $n$, they will...

i just realized
user image
3
nice
08:34
nice
nice
nice
nice
Not again. Please stop.
4
08:45
I didn't start it, I just jumped on the bandwagon
but indeed it could get annoying
who just star spammed?
oh i know
...nobody?
what spam
@ophact you did it
No
I did not
09:08
user image
2
09:40
Just had a look at the Vyxal github branch network, and it's a mess.
But a beautiful mess.
wow that looks beautiful
Also TIL that you can get infinite recursion with the dependency tree thing
lmao
that thing is broken and it always seems to point to the wrong repository
10:00
@emanresuA it looks like a train network diagram
Not as confusing
I think the top branch is main, the next line is prod, then v3 planning then a few PR branches followed by experimental and then a few more PR branches
 
1 hour later…
11:10
i had something ot say but i forgor
aight gonna go for a bit
@Adám Did you mean: nice?
bleugh pcb design is hard
11:43
Wordle 269 3/6

🟩⬛🟩⬛🟩
🟩⬛🟩⬛🟩
🟩🟩🟩🟩🟩
there's never been a more exciting time to use the opening word I do
12:30
Wordle 269 3/6

🟨⬛⬛🟨⬛
🟨🟨🟩⬛🟩
🟩🟩🟩🟩🟩
00:00 - 13:0013:00 - 00:00

« first day (4063 days earlier)      last day (1076 days later) »