« first day (3855 days earlier)      last day (991 days later) » 

12:00 AM
I thought I'd create the tag, just to make it easier for people to spin their proposals out when necessary. Saves flagging for status-tags, and pushing stuff to your Jira board :P
 
12:13 AM
0
Q: Finite time, infinite independent randomnesses

l4m2For each positive integer \$i\$, output it for \$\frac 1{i^2}\$ probable. All these events are independent. Your program should halt almost always in finite time. Notice that \$\sum_{i=1}^{\infty}\frac 1{i^2}=\frac{\pi^2}6<\infty\$, so there's almost always only finite outputs. Shortest code wins.

 
@NewPosts l4m2 really needs to start using the Sandbox
 
They do use the sandbox, but only occasionally
and multiple attempts to use it have failed afaik (resulted in negative score and closure), so I guess they just decided not to use it
 
They're at 29/5 for Curious, that's not a good indicator
They seem to have a habit of giving up on questions that get closed, which is unfortunate when they refuse to improve their questions in the first place
@BrowncatPrograms New Posts (userscript, not bot) is still broken with the header id changes from a couple of months back
 
12:31 AM
@Dudecoinheringaahing Often the topic they bring up are either very hard to grasp (so most of the CGCC audience see it as unclear) or not backed up by research at all (which means we don't know whether some problems are even solvable or not)
See, the newest one is 100% clear to me but unclear to four users already
 
> For each positive integer \$i\$, output it for \$\frac 1 {i^2}\$ probable
That's the entire challenge spec, and I have no idea what it means. Everything else is just fluff
If they defined what " for \$\frac 1 {i^2}\$ probable" means, I'll happily retract my close vote, but challenges should make a best effort to be as widely understood as possible, and that involves defining terms as well as you can
 
@Dudecoinheringaahing Better now?
 
Much; CV retracted
 
They've edited it
 
Bubbler edited it
 
12:45 AM
O
Thanks Bubbler
Worth answering?
 
If I can figure out how :P
Ugh, handling 1 is annoying
 
> However, your program should halt almost always in finite time.
but the python program provided doesn't halt
 
What, are you doing it in Jelly or something?
 
so do we print until the condition is no longer true?
 
@Bubbler ...I mean, what did you expect :P
 
12:51 AM
wait what, so the idea is to halt it at some random position that makes the theoretical probabilities equivalent?
how does this even work
how is it possible to output infinitely many numbers in finite time
is it possible to learn this power
 
1 min ago, by exedraj
but the python program provided doesn't halt
1 min ago, by exedraj
so do we print until the condition is no longer true?
already asked.
 
I think the intended approach is to pick the maximum n using the probability formula I added, and then do random generation within that range
 
Oh. Wait, so implementing the pseudocode's not valid?
 
That way you get the equivalent probability distribution within (almost always) finite time
 
12:53 AM
@Bubbler Is implementing the pseudocode invalid?
 
^
 
Yes, it's invalid
 
@Bubbler Wait, but how do you pick \$n\$?
 
wait so can i just do like n = random(); for x in range(int(1 / (n * (n + 1)))) lol?
 
Frick, I can;t un-retract my VTC
 
12:55 AM
neither
 
if you two both think this should be closed then i would be happy to supply the fifth theoretical close vote since i also don't really know what i'm meant to do here
 
@hyper-neutrino I need to think about it
 
@hyper-neutrino I'd re-cast my vtc
 
i think i kinda get the idea behind it but i don't know if my interpretation would be correct because there is a chance i am not understanding bubbler who also may be misunderstanding l4m2
 
12:56 AM
I've cast a VTC
 
If the pseudo code isn't correct, I have no idea what the challenge is asking for
 
It is almost correct, it just doesn't halt even when there is nothing to output further
Okay, guys all wait until I supply a correct answer
This is the only way to make it clear I think
 
Clarity shouldn't come from answers though
 
ಠ_ಠ It's 2am, why do people keep posting challenges at 2am for me to FGITW, only to lose out to hyper???
 
a reference implementation would definitely help but more so i'd rather not look through that math equation just to figure out what "output infinite numbers in finite time" exactly means
 
12:59 AM
"output infinite numbers in finite time" sounds like something WW would say, then spent an hour mind-controlling us here to think was a totally normal statement
 
accurate
 
Yeah, having WW here would have definitely helped :/
 
@OldSandboxPosts ah yes, tags in the header
wonderful
 
1:01 AM
Stand back, I'll summon him: Brain-flak, Haskell, Lost
Damn :/
 
COMBINATOR PARSING
 
Let me try.
 
LAMBDA CALCULUS
 
There ain't enough punks in this palace
wow I really thought that would have worked ;p
 
Let me try
@WheatWizard
 
1:02 AM
> And we make a lot of noise, because we love each other.
It's no longer punks
 
well if there ain't any code golf to do, I'mma go back to wikiracing
 
Group Code: 859364
@Dudecoinheringaahing Why are you like this?
 
I'm in
 
I have no way of knowing whos in the the group, this is awful design :P
 
1:07 AM
Well, if this doesn't get reopened, you know why l4m2 does not have a good question history
Their challenges are hard and don't give any explicit ways to solve it. They're not even CS theory-based, so it is very hard to persuade the general CGCC public that it is solvable. (Bad English makes it worse but we can fix it. We can't fix the core of the challenge though)
 
You can make difficult to solve, highly specific challenges that are high quality and understandable. They all too often make the assumption that everyone knows that they're talking about, and anyone who is confused just doesn't understand the topic
Some basic background/explanation should be the bare minimum behind a challenge. As much as we like short code, challenges shouldn't aim to be short. They should aim to be clear and concise. l4m2's are very often concise, but not clear
 
@Dudecoinheringaahing can you see how many people are in the wiki race group?
 
@exedraj Nope
 
oh
wonderful.
 
Yeah, it's not very well designed
 
1:19 AM
@Dudecoinheringaahing Honestly I have no idea what kind of background information is needed to explain this one. Should I add a full intro to probability theory?
Probably that's a sign that it is simply not a good idea to bring to CGCC...
 
@NewPosts Can't understand Almost always finite
 
@exedraj How do you start?
 
is Almost always finite means it's finite, or it just most likely finite
 
@emanresuA idk, caird has to start the round
 
1:21 AM
@exedraj O
 
The two key parts of the challenge are "For each positive integer i, output it with 1/i^2 probability" and "However, your program should halt almost always in finite time". The first part is, I hope, understandable to most. The second part needs some explanation. Infinities are weird, and especially so when you combine them with finite numbers/spaces
 
Code golf > Lyxal Watson? Was that intentional?
 
?
 
@exedraj Give me a start and end :p
 
It means with 100% chance, but there can be an infinitesimal chance that the program does not finish
Like bogosort
 
1:22 AM
@Dudecoinheringaahing Code Golf to Shrek
 
the can't I just 1+3+5+7+9...?
 
@Dudecoinheringaahing Shrek > Kansas City Chiefs
 
@Bubbler So why is the pseudocode not valid?
That'll halt with a 100% chance, as i tends to infinity
 
First one is not valid because you never break out of the while loop
so there will be no further output with 100% chance but it still runs for nothing
 
So would Try it online! be valid?
So who is aprt of the wiki race game?
 
1:24 AM
me
 
@Dudecoinheringaahing It doesn't make each number printing independent
 
mde
 
@Bubbler Why not? The calculation is made anew each time, with the updated i
 
Printing 3 depends on 2 being printed, for example
 
Started the race
 
1:26 AM
@exedraj Can’t say I do (want to be a big plate tgat is)
 
@Dudecoinheringaahing How did you beat me
 
@Bubbler So for each integer, it should have a non-zero independent chance of being printed, but the program should terminate in finite time?
 
Oh I see
less random clicking
More thinking
 
I have no idea how to consolidate those two
 
I screwed up with a few misclicks at the start
 
1:28 AM
@exedraj French Third Republic>?
 
@emanresuA that's me trying to get to United States
 
@Dudecoinheringaahing Exactly, except that each integer should have exactly 1/i^2 chance of being printed independently
not just nonzero
 
@emanresuA because I didn't go down the path I initially wanted, I had to make a few corrections
 
@Bubbler Yeah, that bit is fine with me
 
@exedraj Code golf → Data compression → Data file → Computer file → File format → List of computer standards → Software standard → Technical standard → Standard
As you. can see, I got a bit lost
 
1:29 AM
The bit I still don't get is the fact that every integer has to be considered, yet it still terminates in finite time
 
@emanresuA If I'd seen Andrey Kolmogorov, I'd have gotten to US quicker
 
True
 
Additionally, by that interpretation, your pseudocode isn't correct, as values greater than floor(1/r) are never considered
 
@Dudecoinheringaahing That's where my added formula kicks in. This allows to handle the infinitely long tail of integers with a single random variable
 
@exedraj Amateur :P
 
1:30 AM
@Dudecoinheringaahing Sushant City, Jaipur to Ryan Mishler
 
Someone give me another wiki page, I don't trust lyxal :P
 
I literally got those using the random page link
 
Oh yeah, that's a thing :P
 
@Dudecoinheringaahing The values greater than floor(1/r) are excluded from consideration because every integer greater than that is known to be not printed by the single random variable
 
@Bubbler How is it "known"? It's a random variable?
 
1:32 AM
@Dudecoinheringaahing The wiki race sounds fun, I've gotta do a thing, but I'd be down for it in a few minutes
 
@exedraj @emanresuA Y'all ready for rounds 2, 3?
 
yep
 
Yep
 
Ok, I'll do round 2, then wait for Aaron
 
You don't have to wait; I might be a little while, so I'll just let you know when I get back.
 
1:35 AM
dang it
I got to Jaipur
 
ಠ_ಠ I was on the page for India
 
Have we started?
 
oh we got nowhere near it
 
@Dudecoinheringaahing I define r to represent exactly that. The chance of 1 being the maximum in the entire output is 1/2, the chance of 2 being so is 1/6, 3 -> 1/12, etc. If 1/2<r<1, 1 is the maximum (and therefore I know 2 and onwards won't be printed, so I just terminate the program after printing 1), if 1/3<r<1/2, 2 is the maximum, etc.
 
@Dudecoinheringaahing looking at the "what links here", you would have had to go to Bollywood > Hindi Medium > Anand Lok, Jaipur > Target
 
1:37 AM
have we actually started?
 
we already finished
 
We've finished :P
 
I've set up the next one to be 3 minutes, with 10 seconds in lobby. Ready?
 
No
 
1:38 AM
Yep
 
Not ready
Give me a minute
 
It's 2:30am here, and I have to be up in 8 hours. I Think I can get away with that
 
ight ready
 
ready
 
1:40 AM
I see what you did there
Ryan is. a senator
 
Applaud my stupidly close following of US politics :P
 
Oh well I won
Can you give one of us admin, since you need to sllep?
 
just make a new group
 
Yeah, it's really easy :p
Aslo, sleep? What sleep?
 
Ok, 342445
 
1:44 AM
I'm in
I have best username
 
I'm out :P
 
"Lyxal Code Golf"
 
We can wait for Aaron, and Dude can goto sleep;.
 
actually i gotta go now too
 
Oh ok
Bye
 
1:49 AM
@Dudecoinheringaahing You're wrong about why new posts broke :p
It has nothing to do with header changes since the headers are never interacted with
 
Why did it break?
 
They switched a lot of stuff from grid to flex layouts
It was around the same time, and the class names changed for a lot of stuff
 
Btw, you need to match BBRBRRRRROOOWWWWNNNNNCAAAATTTTTTTT!!!!!!11!1!!111!!! as well now
 
1:52 AM
@emanresuA I back now
 
OK
Start? I'll think of end
 
Central Park, Cowdenbeath
 
Ok
End is Q150
Should I start?
 
has aaron joined
 
Aaron's AFK I think
 
1:55 AM
Aw man, the change to flexbox totally broke the layout for New Posts :/
 
@BrowncatPrograms come wikirace with us
code = 342445
 
I have returned
 
> No games yet!
Waiting for the Group Admin to create some Challenges...
 
@BrowncatPrograms It's somewhat like SE dev got annoyed with the HTML changelog request and went "Hey all userscript writers, take this!" :P
 
@BrowncatPrograms ready?
 
1:57 AM
@emanresuA I guess so
 
@exedraj Ready?
 
yep
 
Ok, go!
 
Uh...where am I going
 
Q150 was the sesquicentenary (150th anniversary) of the Separation of Queensland from New South Wales in 1859. Separation established the Colony of Queensland which became the State of Queensland in 1901 as part of the Federation of Australia. Q150 was celebrated in 2009. == Celebrations == The Queensland government and other Queensland organisations celebrated the occasion with many events and publications, including: announcement of the 150 icons of Queensland by the Queensland Premier Anna Bligh placement of a time capsule in the grounds of Old Government House the creation of monuments at...
 
1:58 AM
Oh wait I had to reload
10/10 game design
 
I didn't even realise JoKing was playing
 

« first day (3855 days earlier)      last day (991 days later) »