« first day (4109 days earlier)      last day (737 days later) » 

12:22 PM
hi all
I wish this channel were 5 times busier
 
don't we all
 
maybe not the shy ones amongst us :)
I have tried using discord but it is too confusing
@UnrelatedString do you understand discord? I would love an explanation
 
what's confusing you
 
so... say I want to go back to the channel #deel-rl-general ? I receive an email from discord that says "view messages" with a link
 
12:31 PM
if I click on the link it takes me to a page that says "Welcome back" and asks me to log in with a QR code
I just want to go back to a channel I was in before!
 
either you're repeatedly logging out or getting spam emails
 
the email has the title "You missed messages in RL Group"
I never deliberately log out but I do reboot my computer sometimes
RL == reinforcement learning I should say
 
the qr login feature was a pretty popular attack vector when it was new and afaik it should always give you the option to log in with normal username-password on the same screen
 
@UnrelatedString it does but that doesn't go anything when I click Login
 
12:33 PM
wack
assuming this is browser discord i guess just try installing the desktop application and see if that does any better
 
@lyxal wow.. does it tell you who wrote the code?
@UnrelatedString I am on windows on chrome
could that me the problem>
?
 
probably not? but browser discord does seem generally weirder than the standalone
 
@lyxal my goodness
could you try C++ and Python now please :)
this is so much fun
 
note that it very probably doesn't actually do what you want
 
12:36 PM
why do you say that?
 
Because I don't actually know what either of those scripts should actually do
 
ok
 
so I have no way of verifying if its correct
 
it does seem a fun way to inject malign code
if you can get copilot to recommend it
 
it starts strong with comments describing the problem but then imports the entirety of itertools one import at a time
twice
 
12:39 PM
and operator lol
 
@lyxal that's fun :)
can you report that sort of thing as a tester?
 
I've never actually looked into places where I can report stupid things like that
 
what do you get for C++?
it's like you are testing a driverless Tesla :)
 
one moment
 
...
 
12:43 PM
it once again starts strong
it opens with the GNU licence
followed by some neat little functions and constants
 
interesting
these are good examples for a bug report!
 
but then it devolves into a, b, c...aa, bb ...
interestingly it stopped after int jjj
 
do you have a quick way to make gists?
 
I just click the new gist button
 
I always use bpaste
where is this button?
 
12:45 PM
it's the plus button
 
I really like the gh gist create command from GitHub's official CLI
 
thanks
 
some other things I've used it for include python to java, a befunge "interpreter" and a brainfrick "interpreter"
 
the python to java is really cool
can you ask it to optimize code too?
 
that could be a bit much for it
 
12:47 PM
:)
 
it can't code golf
yet alone optimise
 
can it do Julia and R too?
if it can't golf it is not worth it!
 
I don’t understand why the github gists website is sort of separate. If you want to make a new repo from there, you need to go to the github.com/* and the button to make a bew repo is only available there
 
GitHub Gist has always given off the same vibes as SE chat to me
a separate project from the main site, probably developed by a random intern or something, and kinda shoddily integrated into the main site
 
@graffe it's worth it if you use it as an assistance tool for the completion of lines of code that would otherwise be "tedious" to write
 
12:49 PM
@lyxal whoa, python to java is pretty neat, it “understands” what the range does
@pxeger hmm, possibly, although not as shoddy as chat
 
@lyxal it seems pretty amazing
who makes it?
 
Github
 
They did have the url shortener they had to drop
 
they use the Codex AI-completion model developed by OpenAI
and that's part of the GPT-3 suite
which just happens to be owned by Microsoft
so in reality, copilot is microsoft
 
@lyxal the existence of class Getch reminds me of some other code
 
12:51 PM
interesting
 
Tangentially related but Can i get an f for atom in the chat
 
I'm sure it's just copied that from somewhere
 
they do have some very smart people on microsoft
 
@user ikr. No copilot for atom
 
12:52 PM
@graffe github was acquired by microsoft
 
@user ah yes
I forgot about that
I should start talking about acquiring things
I acquired a pint of beer last night...
 
The stuff github does isn’t necessarily microsoft stuff
@pxeger what code is that?
 
@user copilot is in a sort of interconnected way
not that there's anything wrong with that
 
@lyxal do you know the full list of languages it covers?
 
no
 
12:54 PM
can you try assembly, R, Julia?
I mean just for fun
 
the idea is that it should be able to pick up the semantics of any language
 
that seems hard
 
it was (iirc) trained on github repos
 
It does have a limited list of languages though, I'm sure
 
> GitHub Copilot works with a broad set of frameworks and languages. The technical preview does especially well for Python, JavaScript, TypeScript, Ruby, Java, and Go, but it understands dozens of languages and can help you find your way around almost anything.
From their website
 
12:56 PM
I really want to know if it can do assembly
interesting
 
How to write comment in assembly
because it needs a prompt before it can do anything
 
@lyxal ; comment
 
it don't like assembly
 
:(
c++?
 
12:58 PM
I already linked a C++ example
 
oh sorry
let me see
 
17 mins ago, by lyxal
https://gist.github.com/Lyxal/a48a0682e94f860fa30c63501bf0d26c
 
> (C) 2000-2003 Markus Franz Xaver Johannes Oberhumer
apparently this person is an author of an LZO compression library
 
2:01 PM
@lyxal thanks
What is the largest bounty these days? Is it 500 points?
If you put such a bounty on a question does that mean it can never have another bounty?
 
you can continue
 
But with the same bounty again?
 
you can keep putting 500 rep bounties
theoretically you can put 50k rep on a single answer
or if you're Jon Skeet or one of the three other millionaires on SO... one million rep
by offering two thousand bounties
 
By doing 500 repeatedly?
 
yep
 
2:05 PM
Cool
I have asked a question on stackoverflow and I suspect I will never get an answer
But I have quite a lot of rep to give away
CMQ If I start at the origin and walk one unit distance in a random direction, what is the probability distribution for my new y value?
 
is the random direction chosen uniformly in [0,360)?
 
Yes
 
m90
@graffe I think it's (1-y²)^-½ / π.
 
what the what? How did you get that.
 
The y value is given by sin(θ)
and θ is a uniform random variable
 
2:18 PM
Ah, I see
 
m90
Yup.
Then y<=A if sin(theta)<=A
prob(y<=A) proportional to arcsin(A) + pi/2
differentiate
 
So we just want the pdf of the transformation sin(θ) where θ is a uniform crv
or cdf
yeah
 
Well now we are talking about PDFs it looks like...
 
@m90 ooh .. Thanks!
Yes it is the pdf I am looking for
 
2:58 PM
nubygtufrydet
wait, did the big PFPs on the user pages get rounded corners?
also it's NP's cake day!
 
0
Q: Draw New Posts' Profile!

GingerNew Posts and New Sandbox Posts are chatbots that occupy CGSE's main chatroom, The Nineteenth Byte. They've been doing their jobs for almost one full year now, so I thought I'd make a challenge to honor their contributions! The challenge is simple: Draw the profile picture of either New Posts or ...

 
@Neil The profit happens at the same time as posting, clearly, so I numbered them the same :P
 
@NewPosts @Ginger You didn't address all of the sandbox feedback. The images you linked are not pixel perfect they're 48x48 but the original pixel art was 20x20 AFAICT. Presumably, the output should be the pixel perfect version? If it's a bitmap, does it have to be at a resolution which is an exact multiple of 20x20?
 
3:14 PM
whoops
The 48x48 ones are what should be output
 
@Ginger including the blurriness / anti-aliasing? That's stupid.
 
I fixed the anti-aliasing
those images are dual-color
 
huh, Firefox' zoom is just bad then
 
can confirm
 
 
1 hour later…
4:37 PM
annoying fact: the keycode for the mute button on chromium is the same as the key for - on firefox, so youtube will trigger the "make the subtitles smaller" shortcut whenever you mute it with a physical button
apparently managing some of these keycodes are a nightmare across different browsers
 
i am proud to say that i correctly guessed which xkcd that was
 
4:52 PM
me too
problem is that there is no standard, every browser just does what it wants
> An event module designed for use with keyboard input devices will be included in a later version of the DOM specification.
"eh, someone else will figure it out"
 
5:10 PM
@hyper-neutrino that's one of the ones whose number I know by heart
 
 
1 hour later…
6:26 PM
ugh why doesnt python let you do from module import foo,bar as A,B
you have to do from module import foo as A,bar as B
 
I prefer from module import foo as A,bar as B over from module import foo,bar as A,B
 
0
Q: Using compression tools

littleb2009Are you allowed to use compression tools (e.g. gzip, xz) in your code? For example, a shell script with: cat script.sh.gz|gzcat|sh (25 bytes) where the content of script.sh.gz is: ãö}mbhello.sh=顬0 CÔ˚ s⁄m¡ Ó¸@YÕZ‘6Sõ2Ò˜¥∞!ŸŒs8;¡Ö!6…¡ûvÂÊ|AeQ¨Yñl‚tòÑ∑4=†Œ(ºˆuñ∏fñBªÁŒUëdkÑ» +,iT8Û"Ù€õfl0w©ˇ"...

 
6:41 PM
I love how there are no related questions to that one
as if the system couldn't decipher the question
oh wait now there are
 
7:40 PM
Idea: Instead of security questions and stuff, in the future, you talk to an AI for a few minutes, and it learns your personality and writing style. Then, if you forget your password, you just have a brief conversation and it decides if you seem like the same person.
@Ginger s/relevant/overused
 
att
oops my personality changed
 
7:56 PM
CMQ (off-topic): Good 2D JavaScript game engines?
 
Do you really want a whole game engine?
 
yes
 
8:30 PM
ive made a small change to my challenge adding leeway for floating point inaccuracies. does anyone have any more feeedback on my challenge proposal? codegolf.meta.stackexchange.com/a/24706/67809
otherwise im pretty sure its ready to post
 
8:45 PM
0
Q: Collatz Encoding

EphraimRuttenbergThe Collatz Conjecture The famous Collatz Conjecture (which we will assume to be true for the challenge) defines a sequence for each natural number, and hypothesizes that every such sequence will ultimately reach 1. For a given starting number N, the following rules are repeatedly applied until t...

 
 
2 hours later…
10:20 PM
@RadvylfPrograms Do we really have good enough AI for that right now?
 
10:32 PM
I don't think so, which is why I added "in the future" :p
 
Ah, missed that part
 
11:02 PM
0
A: Sandbox for Proposed Challenges

GingerDraw the Support Ukraine Flag A sequel to this challenge. Recently, I learned that there is a flag symbolizing opposition to the war in Ukraine. My first flag-drawing challenge went well, so here's a sequel. The Challenge The flag: The flag is divided horizontally across the middle into three e...

 
I did it again
this will, to be honest, probably not go over as well
I think that I may be too blatantly capitalizing on the war
only time will tell...
 
@Ginger That and it's just a bad challenge in general (the first one too really, but I don't think people really wanted to VTC a challenge that was supporting Ukraine)
This is the graphic output equivalent of "print Hello, World! but backwards"
 
@SandboxPosts I'd VTC this as a dupe of the Ukraine Flag one
Honestly, I was shocked that we didn't already have a "flag with horizontal bars" challenge before the Ukraine one. I was close to VTCing as a dupe of the French flag, but wasn't happy enough to use my hammer
@des54321 That violates the Zen of Python:
> Explicit is better than implicit
 
11:25 PM
How's it any more explicit to do a as x, y as z instead of a, y as x, z?
I think the issue's more that it creates an ambiguity. Is it a, y as x, and z, or is it a as x and y as z
 
x as a, y as b is much more explicit as to what a and b are
 
I mean, I don't see why. By that logic a, b = c, d shouldn't work
Since a = c, b = d would be much more explicit
 
@Ginger jquery
 
well, we all make mistakes
sorry yall
 
11:31 PM
?
 
@Ginger to be clear this is not targeted at me?
 
For what
 
@Wezl'lo-ol' no, of course not
I was referring to the challenge
 
also hi tnb
 
@Ginger Oh, dw. You didn't do anything wrong, it's just a rather boring and dupe-y idea for a challenge.
 
11:32 PM
welcome back wezl!
 
It happens to everyone, and it doesn't cause any harm to anyone
 
so, I've come to propose another stupid(?) idea
 
it took me a month to realize that people were still here
 
@RadvylfPrograms remember how we were discussing KOTH arenas?
 
why don't we all move to campfire.gingerindustries.repl.co ?:<
 
11:33 PM
been a while since I've seen that link
but anyway
I'm too lazy to make a whole website for that idea
so, here's another way to implement it: GingerBot
no, I'm not kidding
GB would check for questions for it to run (maybe with a custom tag? IDK), get their KOTH code... somehow, as well as any responses, and run them through RTO and edit the original post with the results
 
Why does that have anything to do with GingerBot though
 
you need an account to edit posts, GB is the first one that came to mind
 
It could just as easily be any backend script, no account is required lol
@Ginger oh true
 
this is just an idea
but I think it could work
 
Auto-editing leaderboards into the question isn't something I'd want to add
 
11:38 PM
maybe
 
Since we discourage leaderboards anyway, and it adds unnecessary bumps, and bots on CGCC isn't really something we should encourage
 
then where would you get the results?
 
good idea
 
You'd just have a permalink, which you'd put in the question body
 
11:39 PM
that sounds spicy to me
 
And that page would have the controller UI, leaderboards, and an editor for adding and testing new bots
 
less spicy
I am tired of making websites
if you want to go ahead
I will just make the "bot"
 
I don't want to discourage you if you want to make a mockup or something, but I prefer to work alone on this sort of thing
 
you do frontend and I do backend
now, let'sa go
 
@Ginger Like I said, feel free to make a mockup, but I don't like the idea of allowing someone to do a ton of work on something when it's pretty likely I won't use their work
 
11:44 PM
>:(
 
And it is rather unlikely I would use your back-end, as I'm constantly changing what I want RTO to do, and having to learn someone else's code just makes that more complicated
 
I want to do this
RTO has hosted other people's projects before, could you do the same for me?
 
If it's a personal project, sure. I just don't want to mislead you into thinking it's going to be an official part of RTO, since I change my mind about RTO way too often to be able to promise that.
 
of course
this would be a personal project
 
But RTO's server and domain is available any time for anyone who wants to host a project of theirs, as long as it doesn't use an unreasonable amount of computational power/bandwidth
 
11:47 PM
nice
now, what should I call this system?
I need a punny, KOTH-related name
anyone?
@RadvylfPrograms can I use koth.rto.run for this?
 
I'm going to say no for now, since I might use that for the official RTO KotH tools.
 
hMmMmM
 
how about gkoth.rto.run?
 
Sure, was actually going to suggest that
 
11:55 PM
nice
 
seeing that gave me an instant mental image of my profile with a goth haircut and oh my god it's the funniest thing I've thought of in a while
 
Although goth.rto.run is also reserved in case I become an emo, sorry
 
will you change your pfp to solid black?
 
11:58 PM
I actually do have a black pawprint saved for after the ukraine one lol
emowolf.png because CGCC pun
 
I sure know what I'm doing on May 22nd
 

« first day (4109 days earlier)      last day (737 days later) »