« first day (3947 days earlier)      last day (903 days later) » 

12:04 AM
0
A: Loopholes that are forbidden by default

FmbalbuenaToo many Empty arguments Example ArgUnary, 0 + 0 bytes ( + ... + ) Outputs Hello world!

 
what does this mean
 
Am I missing something lol
What kind of computer has infrared (and infrared what?)
This was on the search page for "laptop"
 
@hyper-neutrino uh using too many empty arguments.
 
@RedwolfPrograms IR wireless exists
 
@Fmbalbuena This isn't using "too many" empty arguments, it's using the arguments to contain data
That's already a loophole, just with a more direct encoding
 
12:08 AM
yeah this is literally MGS
 
TV remote use IR wireless
i don't know how laptop work but probably similar
 
@NewLoopholeProposal Useless?
CMQ: What is the most downvoted bountied (50 rep) answer in code golf?
 
In other news: I forgot to cd out of my vyxal directory and ended up cloning Jelly into vyxal.
2
 
lol
 
12:14 AM
vyxal jelly
TNB specialty dish
 
@lyxal Interesting direction to take the language
Idea: Language where every other character is a built-in from one of two golfing languages
4
 
hehe, im working on a similar idea
its a language that (mostly) combines the semantics of others
 
Another idea: Language that can switch between languages
 
Python-with-jelly-imported where you at
 
That sounds like hell to both make and work with
 
12:22 AM
jelly is a python package so it shouldn't be too jank
 
No I meant like a general thing where you combine stuff from multiple languages, not specifically Jelly with Python
 
oh yeah
you'd definitely want the languages to have *very *similar syntax and data models
 
CMQ: If I want to organize an event with many (10+ or even 20+) challenges, is it OK to sandbox the challenges publicly but in a separate meta post?
 
Will they have a common element?
 
They're all AoC revamps, if that counts
 
12:25 AM
If they're just normal challenges that happen to be used for that event (is this for advent of code golf?), then idk if you really need a new post
 
Well so far my first attempt to comment on an OEIS sequence has been eventful lol
 
@RedwolfPrograms did anyone identify this as the Cartesian product for you?
 
Ohh, that's what I was thinking of. Not used to thinking of it for more than two arrays. Thanks!
 
@RedwolfPrograms I remember having to copy network drivers from my desktop to my laptop by IR because it had no other connectivity on it. (this was back when I had a) a laptop b) a desktop with IR)
 
Oh, so that's an actual thing?
 
12:31 AM
well, it was at the time
we're talking about 20 years ago
everyone uses memory sticks these days
 
Huh, is infrared cheaper/stronger than whatever frequencies wifi uses?
 
Well, it doesn't interfere with wifi, which is a plus lol
Although, was wifi much of a thing that long ago?
 
Oh true
 
@RedwolfPrograms (20 years ago was a while before I was born lol)
 
@Neil May I ask why you don't have a laptop anymore?
 
12:38 AM
@Adám Hey
 
Hello.
 
@user its screen packed in
 
I posted question and got 1k views, 11 votes and 6 answers without closing.
 
@user ... which network drivers did you think I was trying to copy?
 
I don't know? I have no idea how that stuff works lol
@Neil oof
 
12:42 AM
@Adám I followed small changes
 
@Fmbalbuena Yes, good for you :-) If you had left the challenge in the sandbox a little longer, you might also have avoided all the follow-up questions on the post. Oh well, lesson learned for next time.
 
@Adám And became hot question.
 
Being hot network question is extremely easy on Code Golf anyway
 
@Bubbler yeah
 
Congratulations, though, writing good challenges isn't easy
 
12:47 AM
^
 
@user this took me 4 days to upload challenge. first i uploaded CMC and i think this is good and then i reuploaded to sandbox.
 
Speaking of upgrading CMCs to main: Any feedback?
 
HNQ algorithm is largely based on answer count
and so like half of CGCC questions get HNQ if they don't get closed/deleted lol
 
@Fmbalbuena same story here, except i got a lot more answers and 17 votes
 
@Seggan but 1 day is passed.
@Seggan *19 votes*
@hyper-neutrino what is the most downvoted bountied answer?
 
1:00 AM
Sandbox posts last active a week ago: There is a string, format is like this:, Examples
 
haha nerds my first question has 29 votes, 28 answers and 6k views
 
@lyxal because you are popular.
 
@OldSandboxPosts There isn't a trickle, format isn't like that
@Fmbalbuena this was before then
 
lyxal
3
@OldSandboxPosts What examples?
 
I will never understand why people star stuff the way they do :P
 
1:05 AM
my most starred message was "@Adám Are you Fan of APL?"
Has 6 stars
 
That I can understand lol
 
I got 4 stars for adding Israel to my club penguin inventory
Sep 16 at 13:17, by lyxal
user image
 
@Fmbalbuena Yeah, because that question has an implied understatement of the decade.
@lyxal No idea what that means, but I'd never add Israel to my inventory ;-)
 
@Adám you can get little pins on club penguin that represent the flags of counties. I got it ironically for the screenshot
 
Hasn't Club Penguin been discontinued?
 
1:12 AM
Club penguin rewritten
 
I thought it was a kids' game?
 
@user Hey, be nice!
 
@user not if you play it ironically
 
@Adám lol I'm just curious as to why lyxal's playing it, I have no idea what it's really about
@lyxal Playing it for the stars? :P
 
@user for the sh*tposting
 
1:16 AM
As good a reason as any
You know what they say: Nothing's fair in love or war or life, so shitp○st all you can because you can just make socks if you're banned
@Mayube Only booleans should be truthy IMO
 
1:48 AM
@RedwolfPrograms this?
to get this?
 
2:03 AM
@lyxal hey
 
2:26 AM
@Fmbalbuena Could you write some documentation or a description of the language first?
I don't have much to go off of to determine if I think it's interesting :p
 
Oh heck I just realised I didn't watch this week's wheel of fugitives with Sheriff Wayne Ivey
It's actually entertaining af
Pls no spoilers
 
0
A: List of bounties with no deadline

alephalpha100 rep for the first answer to One OEIS after another using a language that starts with I This challenge was started 4 years ago, has more than 300 answers, but none of these answers uses a language that starts with I. After my Zephyr answer, I becomes the last initial letter that has not been u...

 
3:08 AM
Hmm, it's not sock² that's the problem. I've been using it here at home for the last hour or so, and I've forgotten multiple times it's enabled. Seems the school wifi is the issue.
 
You sure? When I tried to use sock², it just sat there not doing anything. Didn't even get internet from it
 
@RedwolfPrograms Yeah, I'm playing music rn and there's no stuttering or anything. Couldn't even get TNB or Reddit to work reliably when I was at school.
Wonder if that's them trying to filter stuff, or just an extremely slow filtering system
 
You really don't want to take my joke bait do you.
 
Okay fine. I'll take your joke bait :p
 
you sure I'm using the right sock²?
 
3:15 AM
I don't know, do explain in more detail (I sure hope I don't get epically joked upon)
 
well I would if I had good internet
one second
I'll share a picture of my setup
user image
3
there we go
is this what you mean by sock²?
because I don't think it's working.
 
No no no, you need a sock that is in itself square :p
 
ah ah of course, of course
 
It's not sock
 
well that explains why it doesn't work ;p
 
3:17 AM
I usually glue an antenna to the sock for additional range
 
I've waited around 4 hours to make that joke and the wait was worth it.
 
heck, I even had a backup version of that image with a square border drawn around it to make it a bit more obvious
also, I just got this wonderful suggestion from github copilot:
"""Element 𝕃
(any) -> infinite sequence of caridnals"""
return LazyList(
    [
        [1, 1],
        [1, 0],
        [0, 1],
        [0, 0],
    ]
)
> infinite sequence
> returns a finite list
 
[[1, 1], [1, 0], [0, 1], [0, 0]] (or more likely the reversed one) might actually be a good diagraph constant
Not to mention it's infinite ;p
Does anyone here have windows 11? Any onions about it?
 
26 secs ago, by Redwolf Programs
Does anyone here have windows 11? Any onions about it?
> onions
No redwolf it's an operating system, not food.
 
3:26 AM
Dang, now I'm in the mood to rewatch a bunch of old Ceave Gaming videos
 
3:37 AM
@lyxal caridnals, by favorite :P
 
shhh
 
3:51 AM
@Mayube not punny :P
@RedwolfPrograms x=>Math.min(...x+"")
 
4:06 AM
Ooh, smart!
 
Not as golfy as a regex, but neat :P
 
4:49 AM
 
It's easiily golfable (For example, BF commands -> kT in the rewrite) :P
 
For the OEIS bounty thing, I first had an answer in Idris but it was way too short, so I threw it away and went for Iota just to bloat everything :P
 
in Vyxal, Oct 31 at 13:01, by lyxal
yeah I figured that we should stop overspecialising for just fizzbuzz, and start overspecialising for more challenges :p (that's a joke please don't quote this out of context lol)
 
You're quoting this out of context
 
@emanresuA I'll be more impressed if it's golfable in other ways. But yes, I fully expect to lose this challenge. :P
 
4:55 AM
@DLosc neat
my idea was longer due to pip rustiness lmao
i'm half sure theres a way to shuffle the yank somewhere
 
i will try to beat vyxal with jelly in a string challenge
wish me luck, i'll need it lol
 
good luck
which string challenge
 
BF explainer
 
you should be able to
at least in the current one's ungolfed form
 
4:58 AM
it can probably beat stax but the regex escaping seems to be too long
in stax :x just escapes regex special chars
 
@Razetime Yeah, there's a lot of assignments... I think I have the yank in the best place given the current program structure, since it's the operand of a unary operator, which saves two bytes instead of one (z:...(^z) -> (^Y...))
Currently trying some ideas with map. It seems like maybe a language such as MATL could profitably use an identity matrix to format the code-with-spaces, but I have a feeling that would end up too long in Pip.
 
AI Misalignment is basically drug addiction for robots
It's actially a fascinatingly similar scenario: a reward function (in humans, dopamine) being tricked by finding an unintended way to optimize the returns
 
5:43 AM
@DLosc but did you really win if you didn't get 69 bytes? :p
 
 
2 hours later…
7:21 AM
> drug addiction for robots
 
Okay, I gathered 25 different challenge ideas from previous AoC events. I guess I'll write up those into concrete challenges under a separate meta post. — Bubbler 16 mins ago
AoCG2021 is becoming real, guys
 
oh, wow, nice. do you want any help with that or do you have a solid idea for them all already and just need to formalize yourself?
 
Is it going to be 25 separate questions or a single event?
 
I'll (at least try to) write most of them, though any kind of further refinements are welcome.
Actually I'd appreciate some help with the posting schedule (I'll have problem on weekends with 99% chance)
 
What's the posting schedule?
 
7:27 AM
The said meta post will be a single question containing the announcement, with 25 answers, each answer containing a challenge body
 
As in what time every day do you want them to be posted?
@Bubbler How would you answer these?
 
I'm thinking of midnight UTC
 
Ok, that's at a convenient time for me on (most) weekends - 1pm, so if you need someone to do them on the weekends I can help
 
@emanresuA It's just a sandbox, each challenge will go live (be moved to main) at a specific time every day from Dec 1 to 25
 
@Bubbler Oh ok. I can write up some drafts if necessary, although we have a fair amount of time.
 
Feedback? (Recently edited)
 
7:57 AM
0
Q: Announcing Advent of Code Golf 2021! (+ Event challenge sandbox)

BubblerOriginally from caird coinheringaahing's idea, I thought about how we could do it this year with such a short time before December, and I decided to gather some ideas from previous AoC events. (There's an explicit permission from Eric Wastl, the one who runs the AoC event.) As I found 25 potentia...

 
@PyGamer0 @emanresuA Both look good enough to me
 
Ok. Not gonna post it for a bit, but thanks.
Wait, is this caird?
(From the permission link in the post)
 
@emanresuA No.
 
8:14 AM
Oh, it's pppery
The explicit permission you are looking for is twitter.com/ericwastl/status/699455417768923137The Fifth Marshal Nov 13 at 4:26
 
@PyGamer0 absolutely no idea, because the code you linked is unreadable and undocumented
If you give a description of how the language works, we might be able to tell you if it's tacit
 
Jelly's parser is 90% regex sphagetti.
 
but it has documentation, at least
 
i don't get how that's relevant anyway, and jelly's parser is much more readable cuz it's not fucking golfed lol
and regex makes sense at least
 
I guess.
You can probaly tell where I'm going with this
It might even turn out to be kinda golfy :P
 
8:28 AM
uhhhhhhhhhhhhh
all I can say is good luck
lol
 
oh unlucky timing then, mb. i thought you were trying to respond to pxeger lol
and yeah good luck
i'm not exactly sure how you plan to merge a tacit functional lang with a stack-based lang and make it golfier than either but GL :P
 
Jelly chaining combined with Vyxal functions.
 
you know that has some potential to work
 
5 mins ago, by emanresu A
It might even turn out to be kinda golfy :P
 
So basically jelly with actual strings
And also type overloads too
 
8:36 AM
you'd be better off updating jelly and modernizing some of its builtins :P
 
Nah, this is way more cursed more fun.
 
Nah that wouldn't have the same effect as a cursed mix of vyxal and jelly.
 
@hyper-neutrino It wouldn't be overly specialised for anything, and it wouldn't have tons of lazylist bugs either /s
Which is like half the fun of vyxal /s
(for legal reasons the above 2 messages are jokes)
 
Right now I'm trying to get Jelly's parser to accept backtick strings
Problem is, it keeps erroring out before printing any debug info.
It didn't help that I was trying to call console.log
Wtf the file isn't saving???
It's trying to call code that doesn't exist
Ugh it's importing from the main package :(
 
9:31 AM
Hmm yes single file interpreter go brrr
 
How to break number theory / data compression theory:
Theorem: Every number can be described in at most 60 characters.
6
Proof: Suppose there is a smallest number that can't be described in 60 characters.
Then this can be described as "the smallest number that can't be described in 60 characters", which is 60 characters long.
Therefore, there is no smallest number that can't be described in 60 characters.
So every number can be described in at most 60 characters.
 
9:58 AM
Can someone tell me whether this is valid?
 
10:10 AM
35
Q: Gravity simulator

Juan CortésStatement You are given a still of a series of balls falling in a 2D grid. This grid is surrounded by immutable and unbreakable walls so all the action in contained within them. Your task is to determine what will the state of the scenario be after gravity does all it's work. Elements inside gr...

 
0
A: List of bounties with no deadline

alephalpha100 rep for the first answer to One OEIS after another using a language that starts with I (claimed) This challenge was started 4 years ago, has more than 300 answers, but none of these answers uses a language that starts with I. After my Zephyr answer, I becomes the last initial letter that has ...

Gosh dang it
I shoulda made a quick vyxal fork and called it iyxal
/s
 
Lol
 
10:40 AM
how does jelly tacit work?
like how it arranges functions
 
11:11 AM
bah, all that time I spent outgolfing Stax, and the answer isn't even valid
 
11:47 AM
AICMC: Check whether an array is monotonically increasing
 
@lyxal wdym
 
@lyxal Extended Dyalog APL: ∧≡∪
 
@lyxal Scala: _.sliding(2)forall(t=>t(0)<=t(1))
 
12:14 PM
0
Q: Animate a noisey ASCII Screamface

T3RR0RCreate a program that outputs an aimanted Noisey ascii screamface: Reference implementation Challenge Rules: All face part types must remain visiually Distinct while animating the screamface, observing the following implementation of Noise: Allow background characters to overlap the outer peri...

 
12:51 PM
AICMC: Given a list of numbers, count how many are posititve & negative as well and return both counts.
 
@lyxal ,∘≢⌸× APL
 
@lyxal Zsh, 24 bytes: grep -c - i;grep -cv - i ato.pxeger.com/…
 
Thank you phone for the excellent rendering of Unicode
(and yes I know that's a known issue with some renderers)
 
1:16 PM
@lyxal It is actually due to a HarfBuzz setting.
 
@lyxal Vyxal, 2 bytes: ±Ċ
 
1:46 PM
@lyxal Vim, 43 bytes: Try it online!
 
2:08 PM
@RedwolfPrograms well I do now :P
@emanresuA what about the second smallest number that can't be described in 60 characters?
 
@lyxal on a tablet its fine
 
... and then it outgolfs me again anyway, why did I bother
 
2:24 PM
@AaroneousMiller Of the 3 I tested, this is the only one that correctly identifies 0 as neither positive nor negative. Both the Vim and Zsh answers treat it as positive
 
@Bubbler Why'd you have to take the name though? AoCG was supposed to be unrelated to AoC from what I can tell.
 
I don't think it's too late to rename it, if we need to
 
I don't see why the sandbox revamp wouldn't have worked
And it's a super cool idea, we have tons of great sandbox challenges that will never see the light of day
We could start with some near-finished ones for the first few days of december, to give us some extra time, but we've still got multiple weeks to prepare
0
A: Advent of code golf?

Redwolf ProgramsThis could totally work The sandbox has thousands of challenges, many of which are good, and many of which will never see the light of day. Cleaning up 25 of these and adding some winter theming on top shouldn't take too much work, especially since we can work on the later ones throughout early d...

Remember, we're not writing 25 challenges in two weeks, we're writing one per day, with two weeks of additional time at the start. We can overlap tasks.
Even an especially rough challenge can't take more than two weeks to clean up, plenty of time for it to be one of the later ones.
Onions?
 
2:40 PM
I'm ambivalent
 
I'd like either, they both sound fun, I'd just rather have a slightly cleaner sandbox instead of even more AoC lol
 
@pxeger likewise
We already have policy in place for adopting abandoned sandbox posts, so I don't know that we need an event dedicated to it, but at the same time that's also not a reason not to do it
 
Nobody does adopt sandbox posts, though
We have a policy allowing it, not a policy saying that people regularly do so
 
@RedwolfPrograms I think "cleaning" the sandbox shouldn't be the aim of this project - is the sandbox really unclean? The aim should be finding the diamonds that got left behind in order to have some good challenges, not in order to clean up
 
Well yeah, that's part of what I mean. Cleaning out good challenges and making them useful instead of leaving them there to rot.
 
3:01 PM
> I don't think regular expressions are the best way to extract data from a binary cryptographic protocol.
I think we found something worse than parsing HTML with regex
 
source?
 
I don't think regular expressions are the best way to extract data from a binary cryptographic protocol. The Client Hello message includes 32 bytes of random data that might match your regexp. — dlundquist Feb 21 '14 at 6:35
Dang, can't find any Node libraries that do SNI-related stuff. Trying to debug sock², and seeing what connections are doing what would be useful.
 
can't you use wireshark?
Oh I'm guessing it doesn't work on a chromebook
 
Not sure. That'd involve doing some reasonable though, instead of chaining together a bunch of awful hacks.
 
Can't have that :P
 
3:05 PM
Ooh, tcpdump might be what I'm looking for
 
wireshark is based on tcpdump iirc
 
chaining together a bunch of awful hacks is the JSer way
 
Ooh, node's pcap library will do what I want
 
Okay, real coders: am I crazy, or does the last xkcd have the core of a PPCG challenge in it?
(I think I'm crazy, actually.)
 
@nitsua60 you mean you think you remember an extant PPCG challenge that is contained within this comic? Or the comic contains something which has potential to be a challenge?
 
3:11 PM
The latter.
 
@nitsua60 (also, that's only the second-last one: xkcd.com/2543)
 
(Full disclosure: I've participated in one challenge ever, and am by no means a programmer, nor a coder, never mind a golfer!)
 
@nitsua60 not crazy, I think. That certainly could work
 
@pxeger No, because I live in the Northeast US and it's not that day for me yet =)
 
CMC: Given a list of sunrise and sunset times, output the number of days the times cover, where a day ends only at a sunset after a period of at least 12 hours of daylight.
 
3:13 PM
@pxeger I'm not sure how interesting it would be though, because it'd probably boil down to just maths
 
(What's "CMC"?)
 
@pxeger implying 80% of CGCC challenges don't boil down to just maths :P
 
@nitsua60 Chat Mini Challenge
 
@nitsua60 "Chat Mini-Challenge"
 
ty
I was vaguely thinking "given start date/time of XKCD epoch and location, output current date of this posting"?
But that somehow involves finding & parsing sunsets/sunrises for a location, which may not be interesting?
 
3:15 PM
you could just input a list of sunset and sunrise times
 
@nitsua60 Given CGSE's rules prohibit answers from fetching data from the internet, it would have to be passed in as input
 
@Mayube That's good to know =)
 
Although PHP probably has some builtin to get sunrise/sunset times for a given day
and mathematica probably has GetXKCDDate[] or something dumb like that
 
@Mayube At which point it just boils down to modulo(sum(pairwise time subtraction), 12), which doesn't seem that interesting?
 
3:17 PM
@nitsua60 welcome to the frustrating world of "it's all just math"
 
@Mayube You're telling me--I'm literally proctoring a math exam as we chat =D
 
It's a weekly occurrence for me to come up with a cool challenge idea, then realise that when you strip all the context away it's just basic math
 
So I'm just, like, N-1 weeks behind you on that learning curve =)
 
Here in canada though I don't think we've had 12 hours of contigious sunlight in at least a month, so really it's all just 1 long day :P
 
That's not how I interpret the XKCD
E.g., if you had 6 hours of sunlight every 24 hours, it'd be 96 hours per day
Not just one single day
 
3:21 PM
that's true, the XKCD doesn't specify contigious daylight
 
3:44 PM
0
A: Sandbox for Proposed Challenges

MayubePlan my factory "Factory games", such as Factorio, Mindustry, and Satisfactory are my favourite genre of video games, and the way I play them involve a lot of ratio calculations to make sure the factory is running as efficiently as possible. Given a list of recipe specifications, and a desired pr...

 
@lyxal Pip, 3 bytes: $<g
Chaining, foldable comparison operators FTW
 
CMC: Sum along the last axis of the input array. Your code should work for higher / lower dimension arrays.
 
@PyGamer0 example?
 
 1  2  3  4  5
 6  7  8  9 10
11 12 13 14 15
16 17 18 19 20

21 22 23 24 25
26 27 28 29 30
31 32 33 34 35
36 37 38 39 40

41 42 43 44 45
46 47 48 49 50
51 52 53 54 55
56 57 58 59 60
becomes
 15  40  65  90
115 140 165 190
215 240 265 290
(totally didnt use apl)
 
4:06 PM
@PyGamer0 Pip -xp, 12 bytes: @a>=l?fMa$+a
If first element of the argument is a list, map this function recursively to each element; otherwise, sum the argument
 
Ugh, YT's removed the dislike count
 
Let me guess: you... dislike that change?
4
 
0
Q: ASCII Art of the Language Abbreviation

Konstrictor(This is my first time posting here so suggestions on how to improve the question are greatly appreciated) For this challenge, you must output ASCII art of the language abbreviation (file extension, etc.) or the language name. For example, the abbreviation of Javascript is js, Python is py, 05AB1...

 
4:23 PM
frick how do I change the reason for a close vote?
 
Can you retract and re-VTC? I can't remember
 
I'm pretty sure that once you've retracted you can't vote again
@pxeger (I initially voted unclear, but really it's opinion-based)
 
NDC works fine for this
It needs details about how to make ASCII art and what abbreviations are allowed
 
...and now it's too late to edit my comment
I'll just delete it
 
Obligatory "I love Worldbuilding.SE" quote of the week:
> If my intuition is at least somewhat correct, our hero will, in their reference frame, be immediately bathed by cosmic microwave background blueshifted to deadly energies, as well as quite a lot of hydrogen atoms (also blueshifted to ridiculous masses), as well all of Mars's atmosphere in their path all at once. Since c-1e-24 is higher than the speed of nerve impulses, the good news they literally won't know what hit them. They simply cease to exist as a coherent structure.
(Ref)
 
5:05 PM
@RedwolfPrograms probably to hide the fact that youtube rewind 2018 was the most disliked video on the internet :P
 
I wonder if there's a video announcing this, so I can go disl...oh wait
 
5:21 PM
they say it's to "protect small content creators from targeted downvoting" but I don't think that's ever been a major enough issue and it's really just to protect corporations and large revenue-producing channels like 5MC that only produce shitty at best and dangerous at worst content
and since you can no longer gauge if said content is harmful or not because you can only see likes (and of course large channels will have more likes even if they have horrible +/- ratios) it's harder to avoid it
also now's a great time to scam people cuz you don't have to care if you get downvoted into oblivion anymore
 
I wonder if the dislike number is still available via the API
 
5:47 PM
I apparently picked a bad day to get timmies for lunch... there were like 100 highschool kids there
which is odd given it's a timmies within an office tower
 

« first day (3947 days earlier)      last day (903 days later) »