« first day (3961 days earlier)      last day (47 days later) » 

12:00 AM
Q: AoCG2021 Day 3: Say-Look-Say

lyxalPart of Advent of Code Golf 2021 event. See the linked meta post for details. Related to AoC2015 Day 10. Here's why I'm posting and not Bubbler The Elves are playing a variation of the game called look-and-say. In plain look-and-say, they take turns making sequences by reading aloud the previous...

@UnrelatedString I hate posts
@NewPosts haha free rep go brrr
@Fmbalbuena ??? what is your issue here
12:01 AM
@Rɪᴋᴇʀ because @UnrelatedString posted ^
you mean the new posts feed?
I ninja'd unrelated string's ^ with NP
oh i confuse the pfp of @UnrelatedString and Dennis
why do you hate dennis?
i don't hate dennis.
12:02 AM
then why did you say "i hate posts"???
1 min ago, by lyxal
I ninja'd unrelated string's ^ with NP
@Adám you forgot to change the byte count from 14 to 9 on your random capitalization answer, btw
@lyxal i mean balbuena gave a different reason but w/e
@Rɪᴋᴇʀ balbuena?
@Fmbalbuena Did you think New Posts was written by Dennis?
@Fmbalbuena you
12:04 AM
@RedwolfPrograms No
@Rɪᴋᴇʀ Fixed. Thanks.
The TTNB is ruining my life. Now, whenever I would say that I'm joking I say I'm "making a joke." Even worse, this often happens in front of the toddler I'm babysitting so his life will be ruined as well.
you're not "making a joke", you're Wezl - a cautionary tale
@hyper-neutrino do you renamed?
12:11 AM
take this as a cautionary tale: don't use the TTNB
@Wezl-acautionarytale as planned
TheDriveThruth OK.
Oh wait that's not the bakery
Well, lyxal, you have some ingredients coming your way
I have a challenge: print prime numbers from 1 to infinity in Python 3 but only using lambdas (while loops using itertools is allowed but not exec). Code: Try it online! (No parentheses cheat)
12:24 AM
what is a 'no parentheses cheat'
parentheses cheat is 2)()) [primes without 2] (
what does that mean?
that really doens't explain anything
isn't that just using while
this is cheating
12:28 AM
Q: Tips for golfing in Chef

FmbalbuenaWhat general tips do you have for golfing in Chef? I'm looking for ideas which can be applied to code-golf problems and which are also at least somewhat specific to Chef (e.g. "remove unnecessary whitespace" is not an answer). Please post one tip per answer.

@Fmbalbuena also, this literally can't be done how you're trying to do it - since a lambda can't return a generator like that I believe
ok i'm trying to do but later.
you could just say "do it in one statement"
yeah it looks like if you splat an infinite generator into print it just never prints anything
half-golfed attempt - lambda x,y=[2]:[y.append(y[-1]+1)or all(n%m for m in range(2,n))and print(n)for n in y]
12:41 AM
yawns then waves
@RedwolfPrograms couldn't resist :P
I like how a little bit of milk seems to spill whenever they fall
Although the milk is for some reason dark gray :p
is milk not usually dark gray
Idk, cow milk isn't available where we are so we get it from octopi
12:46 AM
the bottles are dark gray. Fine, I'll make the milk boring you pedants! :P
I like the gif how it is, dw :p
> the best answer will give 50 rep.
Exciting! :p
Ooh, the Windows 11 update is now available for my laptop. Should I accept it?
Breaks stuff? :(
i think the consensus right now is 'it's ok but not worth upgrading to until it's gotten enough patches'
12:50 AM
I have a business proposition: You know how British electricity is at a slightly different voltage than the rest of Europe? Well, if we get a few really long wires and some transformers...
since it mixes up a lot of stuff in not-always-wonderful ways. take my words with a grain of salt though, this is just what i found when I asked google that question a while ago
@RedwolfPrograms the only question left is under the sea wires, or do we just kinda pull the extension cord taut over the english channel
We can just let it lie on the bottom of the channel and wrap some electrical tape around the important bits
This is the snarkiest non-answer I've ever read, and it has 40 upvotes >:|
That one's also good, +1
@lyxal Jokes on you, I managed to rep cap :P
12:56 AM
> Can I do this in the US?
> You can do it somewhere else *doesn't explain why it can't be done in the US*
@RedwolfPrograms don't slow it down or look at the frames one by one. You do not want to see my pixel art rotation skills (or lack of)
@UnrelatedString Even if it didn't specify "US" (which it originally didn't), it clearly asks if it'd be NEC compliant, and the answer is "go somewhere where following the NEC isn't legally mandated"
@Wezl-acautionarytale worst part is that i can't cry about it
What is the worst answer in cgcc you have ever seen?
12:57 AM
@RedwolfPrograms Even worse, Harper's an established and very knowledgable member of the site, who knows plenty well that other places use 240v
@cairdcoinheringaahing avocad?
@Fmbalbuena It's deleted, so you wouldn't be able to see it anyway
12:58 AM
but worst undeleted answer.
not many outstandingly bad answers would be undeleted :P
@cairdcoinheringaahing that isn't an answer anyway
@RedwolfPrograms so you send me milk but nothing else? Rude. At least give me some eggs, sugar and wheat ;p
@hyper-neutrino I can pretend it is :P
@cairdcoinheringaahing answer?
1:00 AM
the most downvoted answer is echo '42'; in PHP on "most creative way to display 42"
This is the lowest voted answer on the site
Fricking ninja
@OldSandboxPosts nothing to report?
The large amount of downvotes probably wasn't actually for its uncreativity but for the rude remark at the end, "All you haters, this was meant to be sarcastic! But then again, sarcasm isn't allowed here."
@OldSandboxPosts :(
@cairdcoinheringaahing ok so avocado
1:01 AM
@hyper-neutrino Yeah, sarcasm totally isn't allowed here, we really hate it
@Fmbalbuena yes how does juic i hav try for thirtee minut and no juic
This is the most downvored on a non-locked and non-closed question
the most downvoted answer over all is this though (10k+)
@cairdcoinheringaahing no juice because dried
@hyper-neutrino i can't
yes that's why i mentioned 10k+
@RedwolfPrograms Actually, flagged that since it's abusing multiple loopholes
1:03 AM
@hyper-neutrino can you take screenshot?
It's just a stolen answer
@RedwolfPrograms I disagree that it should be deleted, but I believe it shouldn't've been posted in the first place
*shouldn't've, but yeah, I agree with caird
the thing about this is like
it's objectively a bad answer but that's why it has so many downvotes and most of our loopholes are "don't do this because it's against the spirit of code golf" but we only really delete for total invalidity usually
I agree with that loophole, and I hate people "trivialising" challenges by using it, but it's very vague, and I agree that OP has a point about ** being used as a separator
or at least, deleting based on loopholes isn't something I really like (although I still prefer it over deleting based on competitiveness)
1:05 AM
@cairdcoinheringaahing No?!
They do not have a point
** would be fine as a separator, sure, but it's not being used as that
It's being used as code
And it's code taken as part of the input
Maybe not have a point, but more, it's a bad answer, not an invalid one
which is exactly what downvotes are for
Caird I think you need sleep :p
Or I do
I don't consider this to violate the loophole linked to above, but don't think this kind of answer should be permitted. — The Fifth Marshal Sep 30 '19 at 20:17
It's three bytes removed from just being exec and saying "give me the program to find the answer as an argument"
it's definitely not a violation of that loophole, imo, but htat's more that that's an awfully worded loophole and pretty much unenforceable
1:10 AM
the thing about loopholes is they are by design allowed to be (and most are) subjective
As vague and unobservable as it would be, I do want one of the site rules to be "Does using that specific input format do a lot of the work of the challenge? Yes? Then don't be a smartass, and do what the challenge asks for"
and the point is to disincentivize people from doing things that are technically correct (because invalid answers are deleted) but ruin the point in code golf
Retracted flag, since I do tend to support keeping answers around when there's any argument for doing so
I guess this one can stick around as a message to the others :p
IMO it's more punishing to lose a ton of rep and get a massively downvoted answer on your record than for me to just delete it
most people delete it when it gets downvoted and people tell them "no this isn't clever it's just dumb and boring" ¯\_(ツ)_/¯
@cairdcoinheringaahing lmao
1:11 AM
@cairdcoinheringaahing Alternatively phrased: "Stop trying to find a 'clever' way around the challenge, and just do it"
Find clever ways to do the challenges :P
@cairdcoinheringaahing That doesn't seem like a particularly good rule
What happens if the bounty is ended and there is no answers?
@RedwolfPrograms It would be a good guideline
The rep is lost
bounty goes to waste
1:13 AM
Of course, entirely unenforceable :(
@RedwolfPrograms From what point of view?
It apparently sounds good on the surface to some people, but it does nothing
That's already basically a rule
@cairdcoinheringaahing the usernames is unknowm
If someone asks you to do a thing, it's implied you do that thing
@Fmbalbuena the user has been deleted
1:15 AM
cause, as an actual site rule, yeah, it's awful to enforce. But as something you'd tell someone when you casually introduce them to code golf, it's fine
Sp3000? Geobits? yeti? StewieGriffin? ProgramFOX?
I don't really think it's new users who are the problem
@hyper-neutrino I'm alive, I'm just using a different name now :P
It's somewhat established users who feel just comfortable enough to push the boundaries too far and annoy people
@Fmbalbuena Nope, it wsn't any of them
1:16 AM
@cairdcoinheringaahing all users that VTC question is deleted?
the username was avacado
@Fmbalbuena i have no clue what you're asking
are you asking who posted the question in the first place?
It had to have been Alex :P
@Fmbalbuena No, I believe they're all still around
Not sure about yeti, but the rest definitely are
is there active user?
1:18 AM
according to the IP ref it actually lines up with one particular user who isn't alex (obviously can't say who) but like
probably just a coincidence
Isn't it suspected a PPCG user is who wrote the advocad post though?
So it probably isn't a coincidence
It could also be Tor
well it doesn't make sense for a TOR exit node to line up with someone 200+ times
Can i write avocado post but in Meta?
1:20 AM
@hyper-neutrino ...perhaps they just use Tor a lot? :P
@hyper-neutrino So wait, you know who the user probably was?
ok so i can't post "Why Avocado post was closed".
Because it was wildly off-topic
1:21 AM
Juic'ing advocads is nothing like what our site is for
@RedwolfPrograms Avocado juice?
do you like?
ok so. LOL
@cairdcoinheringaahing As an aside, I think I need to keep ahold of that gif to use in here from time to time :P
1:26 AM
Too bad, I am going to keep a hold of it :P
GIF from dennis
@Fmbalbuena People anytime I suggest completely reasonable stuff like building wooden guns at school :(
@rues ok so
The concept was basically that we would make a wooden camera where the shutter would be ejected from the camera at high speeds, thereby allowing you to shoot someone while shooting them
@Fmbalbuena my reaction when my mate messages me at 1:30am, while I'm lying in bed, asking if I want to come out to a club tonight ಠ_ಠ
True story. Unfolding right now
1:28 AM
Mate is an odd word to use for humans, very sus
im pretty sure that's just how bri'ish people talk
when my proper good chum
@cairdcoinheringaahing Gotta be healthier than lying in bed just being in TNB lol
@cairdcoinheringaahing Uhh that's late
1:29 AM
im entirely unclear what part of a club at 1:30 am is healthy
Maybe if I was already out, but I'm not getting up just t go dance for an hour and a half :P
@Rɪᴋᴇʀ The part where you get drunk and fall asleep and get a good night's rest :P
Trust me, I can do that without the club :P
Avocado is best.
@cairdcoinheringaahing Oh i found another funny question in non-cgcc
Avocados are overpriced and not even that tasty, and they go bad so quickly
1:33 AM
the question is even funnier
I suspect it'll get deleted soon
@cairdcoinheringaahing do you know french?
@Fmbalbuena I found a funnier question: link
@Fmbalbuena Enough to get by in France, not enough to try to bother reading that question
@cairdcoinheringaahing oh no i got rickrolled
@Fmbalbuena I don't see what's so funny about it
1:34 AM
@rues the question is in french
@cairdcoinheringaahing Iit looks like there's a tiny gun on your ear
Ok, American :P
@Fmbalbuena Yeah, not sure what's so funny about French
@cairdcoinheringaahing ಠ_ಠ
1:36 AM
@cairdcoinheringaahing what is this?
@cairdcoinheringaahing spoken like a true englishperson
@Fmbalbuena The TV show? Futurama
ok Bonjour
Crazy gibberish :P
j'ai un problème de question
1:38 AM
<Insert baguette>
@Fmbalbuena Eh? Nous ne parlons pas francais
@rues <inserted at 0xa56a8a6a>
What's that? Google Translate doesn't understand 0xa56a8a6a :P
@rues Ok, ne t'inquiète pas, programme Python
@cairdcoinheringaahing i have precisely one suspect
@rues this is random hexadecimal char. Why? just like Python
@rues Apprendre Python
1:41 AM
J'ai fait ca deja
Python est sous merde
@rues ummm i'm now speaking english
i don't understand what are you asking.
Scala est plus plus magnifique que Python
Stop, @rues
@Fmbalbuena I didn't ask anything
@rues NO, don't ask Scala
1:43 AM
parlez en anglais svp :/
Tais-toi, weeb /s
@Fmbalbuena I'm not asking about Scala lol, I'm just declaring that it's awesomer than Python
Es ist die Regeln, dass wir Englisch sprechen
@rues But Python is easier than Scala
google translate tells me u said that wrong, be ashamed caird
Ah, l'allemand, le langue du diable!
1:44 AM
@Fmbalbuena Easier to screw up in, you mean :P
@Rɪᴋᴇʀ tbh I trust humans far more than Google Translate (don't get me wrong, it's amazing, but it's far from perfect)
yeah i figured i'm just messing around
/mute @rues 10m Speaking French
@Rɪᴋᴇʀ I don't trust google translate :P
@Rɪᴋᴇʀ You don't know for sure whether or not you're messing around?
1:45 AM
i'm not a huge fan of punctuation sorry
@Fmbalbuena lol if it irritates you that much I'll stop
it & i live in perpetual disharmony
@Rɪᴋᴇʀ it's very tumblr-esque style :P
@cairdcoinheringaahing i'ts very representative of somebody with no will to pay attention to their typing bar spelling errors :)
1:47 AM
@rues eau de l'utilisateur
At least you tried saying "it's". Its so annoying when people confuse "its" and "it's"
@rues うっせえねー
also idk if that's accurate, i'd argue it kinda lines up with like, 2007 era tumblr if anything - most ppl aren't like that on tumblr outside of specific 'meme' pages like gaud
by 2007 era tumblr i mean homestuck. its just homestuck. send help.
@Fmbalbuena Did you try translating "user water" lol
1:48 AM
@rues lol
@Rɪᴋᴇʀ ngl, i haven't heard that name outside of tumblr, and I'm scared now :P
@hyper-neutrino Google Translate gives me "Usseewa" lol
what, gaud? or homestuck
gaud as in gaudiest patronuses or whatever their name was?
1:48 AM
i don't use tumblr i just see reposts of tumblr stuff on insta like a normie
how the hell would wa get in there
they're just the tumblr version of dril really, that kind of incoherent-meme-page
@rues well, it's not technically wrong
i'm exclusively on tumblr for like 3 specific fandoms, most currently WoT
1:49 AM
ねー there is used for emphasis and わ is also for emphasis... but only in kansai dialect >_>
Idk why, but it's the same reaction I'd have if someone on the street said "oh hey, do you know hyper-neutrino?" :P
@rues بۇ تېكىست ئەمما ئۇيغۇرچىغا تەرجىمە قىلىنغان
and it also doesn't actually translate the meaning. it's just "shut up (emphasized)"
britain's tiny, it can't be that hard to find you. just stand on big ben and start screaming until you show your face /s
1:51 AM
煩い【うるさい】- urusai - means "noisy / loud", and you can replace the -ai at the end of things with -e to like sound cool or emphasize or smth (so yabai and yabe are the same word), so if you just say うるせー it basically just means "be quiet / shut up"
wait can it actually go all the way from うるさい -> うるせえ -> うっせえ
holy shit it can
and then うっせー / うっせえ is just another form of うるえー
i suppose i could probably hunt down HN better than caird. unclear.
@UnrelatedString yep lol :D
@Rɪᴋᴇʀ I invite you to try, and you will quickly realize who is the hunter and who is the prey.
* Wezl hasn't gotten to the code-golf part of duolingo in hindi, so they can't contribute to the conversation, but it's the thought that counts right?
1:52 AM
we're not talking about code golf are we?
@Rɪᴋᴇʀ well, i have met 3 CGCCers IRL :P
i said "speak in english please" in french and then told user to shut up in japanese :P
@cairdcoinheringaahing 'britain is tiny' ---- riker, 2021, colorized
@hyper-neutrino but what if there's a dialect of hindi that must be used when chatting in the TTNB
@Rɪᴋᴇʀ Given that I know what uni HN goes to, and what degree he's doing, I think I could probably find him if I tried :P
1:53 AM
@hyper-neutrino challenge accepted coward
@Wezl-acautionarytale oh, understandable
@cairdcoinheringaahing if y'all are ever in the boston area during the school year hit me up :) (or LA during the summer)
I may well be in LA in the next year or so, I have family out there :P
@Wezl-acautionarytale May I ask why you're learning Hindi?
oh, cool. i'm in the pasadena area during the summer (most likely) so
1:54 AM
Fun fact: someone I met at the USA Society Thanksgiving dinner lives within 2/3 blocks from my cousins :P
the what now
(lives? lived?)
@cairdcoinheringaahing Is this supposed to be significant or something?
i remember when pavel & anna found out that they have mutual friends (?) and live within ~20 minutes or so?
@UnrelatedString Idk if US unis have them, but UK unis have a bunch of "societies", and one of them is the USA soc
They hosted a thanksgiving dinner
1:56 AM
@rues it's one of the most used languages, devanagari is beautiful, I'm interested in notation in general (both for natural languages and programming languages), and you user gets some credit for mentioning it, which made me curious
oh, that makes more sense. society here doens't mean that lol (we would just call that a club)
There's a USA society in the UK?
@rues Idk, it was pretty cool to meet someone who literally lived that close
@rues A lot of unis have one I believe
Mainly for US international students, but also for anyone who wants to meet people interested in the US
1:56 AM
@Wezl-acautionarytale Cool
I'd suggest looking into Sanskrit but that's no longer being actively developed and I've never tried it myself
@cairdcoinheringaahing TIL, may I ask why? nvm
@UnrelatedString can you change the pfp because i confuse the pfp of @UnrelatedString and pfp of Dennis.
why would people be interested in the us
@Rɪᴋᴇʀ yeah, "society" makes them sound fancy, they're literally just groups for people with a common interest
"actively developed" lol
@UnrelatedString I mean, for all the negative stereotypes, it's a cool place
1:58 AM
@UnrelatedString idk, I quite like the US. I plan to go there on my year abroad if I get the chance, and I've always liked it when I've been there
it makes sense to me - universities here tend to have ethnic clubs or something like that (asian-american club or whatnot) so i'm not surprised unis with large international student populatoins have that
where've you been in the US caird?
It's better than this miserable rainy shithole
you've never seen hte pacific northwest, i see
@Rɪᴋᴇʀ Err, quite a lot of places tbh :P
low bar though
1:58 AM
@Rɪᴋᴇʀ I like Seattle
> It's better than this miserable rainy shithole
seattle is cool, only been there once though. spent more time in oregon
I thought that's what Seattle was
@Wezl-acautionarytale pet peeve: people starring replies to funny/important messages rather than the messages themselves
1:59 AM
nah seattle is a decent city, its just a normal city

« first day (3961 days earlier)      last day (47 days later) »