« first day (3849 days earlier)      last day (1006 days later) » 

12:02 AM
oof my workshop leader apparently cut the tip of his finger off while making breakfast
poor guy
 
@Dudecoinheringaahing Seltzer.
 
0
Q: How many dominoes can you fit here?

BubblerMuch harder than Can this pattern be made with dominoes? Challenge A grid of width \$w\$ and height \$h\$ is given, filled with 1s and 0s. You can place a domino somewhere on the grid only if both cells are 1. You cannot overlap dominoes. What is the maximum number of dominoes you can fit in the ...

 
12:16 AM
Aug 6 at 0:29, by user
Okay, now I know Bubbler is secretly a Dominos' employee trying to subliminally influence us into buyin gtheir pizza :P
 
12:30 AM
I'm very happy
 
@Adám I might be down in London for a few days at the start of September, does your offer still stand?
 
12:53 AM
Uh oh, re: the name for the chat event
Not sure how I feel about yet another CGCC-exclusive acronym...
Isn't LYLGG a bit much?
 
Why acronymize it at all?
 
Learn you a lang works for a short version
Plus "Learn you a Haskell for Great Good" is the original, so it's not like it's entirely CGCC exclusive
 
(and Learn you a Haskell is often shortened to LYAH, with Great Good part omitted)
so if you'd ever acronymize it then LYAL would work
 
Missed opportunity to make the acronym spell LYXAL somehow :P
 
Learn You (Xerxes) A Lang :P
 
12:58 AM
Learn You (silence) A Lang
 
@Dudecoinheringaahing Of course. Let me know when you know the more precise date(s).
 
@Adám I'll drop you an email (adam at dyalog right?) when I do, just wanted to double check :)
 
That's correct.
 
Sandbox posts last active a week ago: Ouput Input... Forever
 
Interesting that its "adam", not "adám". Was there a problem with the accent in the email?
 
1:00 AM
@Dudecoinheringaahing I know, I know. I liked it in theory! But now it just feels cumbersome
@Dudecoinheringaahing Sacrilege.
@Bubbler Not bad! Yeah, Learn You a Lang works for sure
 
@AviFS It's not like we're known for making long and cumbersome acronyms (or anything else) :P
 
@Dudecoinheringaahing You can't hear people's accents in emails, silly
 
@Dudecoinheringaahing Silly me. Where does Avi get these crazy ideas?
 
@Dudecoinheringaahing It'd be awkward to spell to people, hard for many to type, and it isn't my legal name either.
 
Fair enough
 
1:12 AM
I am extremely smart
I tried going to google images three times before I realized google photos was what I was looking for
 
I have no idea what the difference is tbh
Rather, I don't know what google photos is :P
 
@RedwolfPrograms you're also terrible at awarding bounties
 
No I'm not
 
32 minutes redwolf.
32 minutes
 
I don't award them until after the week is over
 
1:27 AM
There's a 24 hour grace period once that's done
 
For maximum visibility
 
it's the end of the week redwolf
 
If the question has been active more recently than 5 days, I'll wait until the grace period. Otherwise, I'll award it when there's <1 day left
 
1:51 AM
Well, it took 735 answers, but I finally got Good Answer :P
 
2:12 AM
O.o Somehow, this tweet got Jeff Atwood a Publicist badge
Although, I'd imagine that Jeff could tweet a link to any CGCC post and get a Publicist badge from it
 
It really is a great challenge though
 
2:52 AM
oh hey raze
 
yes hi
thinking about question ideas rn
 
 
1 hour later…
4:17 AM
@Dudecoinheringaahing Which my one beats
yet yours is somehow accepted'
 
4:36 AM
We just need to get rid of the accept button
it's kinda useless
 
4:56 AM
Haha, who did that?
I just got +10 rep for someone upvoting my other answer to that same post : p
 
 
2 hours later…
6:51 AM
actually just the latter
 
yes, no, yes, yes, yes, yes, maybe
 
@PyGamer0 no; yes (global array style); yes; I mean, if you want to; heck yes; yes; up to you
 
@exedraj why no?
for the first
 
because it should be a full 256 sbcs
ascii + a few hundred unicode
 
if it is lesser?
 
7:00 AM
@PyGamer0 Some of those options sound like Factor. It is a stack-based practical language that supports imports and variables, and has function signatures (in the form of "this function takes top n items from the stack and returns m items for all possible execution path")
 
ok no variables
cause i dont want them
 
@PyGamer0 Compressing source code like Stax is an option, though some people don't like it
 
7:24 AM
it all comes down to personal aesthetic preference
 
7:37 AM
writing document is hard
or just writing
 
lol
 
8:07 AM
good start
 
8:21 AM
what if i rewrite it in C
 
then you'll gain some valuable experience
 
no i will do it in python
as its ∊⍺s⍳∊r
 
8:51 AM
Thats cursed
 
@emanresuA what is ⊂∪rs∊d?
 
¥øÚ® †¥πng
 
@emanresuA ok ⍵⍺⍴?
 
π = pi
i8∑π
 
∫sin(x)
 
9:01 AM
cos(x)
 
@PyGamer0 Legend says it is easiest to write a parser in Haskell
 
@user the former
@Dudecoinheringaahing sparkling water
 
Yeah parsers are very easy to write in Haskell.
But Prolog is probably even easier.
 
9:20 AM
@WheatWizard chat.stackexchange.com/rooms/123405/hyper-neutrinos-domain if you want to go nuke some spammers, since hyper's asleep
 
9:32 AM
@WheatWizard UnrelatedString would beg to differ
 
10:00 AM
What do you mean?
 
posted on August 13, 2021 by Shaggy

Challenge Given a list of unique colour names as input, sort them in the order that they first appear in Joseph's Amazin...

 
10:35 AM
in This Might Be a Room, Jul 4 at 12:24, by Unrelated String
oh yeah haskell is defintely like 90% of why i'm hung up on this one thing lmao
That's to do with writing a parser for a golfing language
 
Oof
 
I don't know. I've written tons of parsers in Haskell and a few in other languages, and I have found Haskell to be universally more pleasant to write parsers than others.
Combinator parsing is just so clean and simple.
 
Combinators themselves are confusing
very confusing
 
What?
They are like the opposite of confusing.
You just describe what you want instead of writing a tangle of nested loops.
 
I suppose it'd make more sense to someone who's been using them for a long time :p
 
10:42 AM
They are really easy to understand out of the box.
It's practically describing what you want in plain words.
It's far less conceptual overhead than traditional parsing methods.
 
Ok...
 
Have you tried combinator parsing before?
 
No
Just other combinator stuff
How does combinator parsing work?
 
You don't need to know what a combinator is or how it works to use combinator parsing.
 
Ok...
Demonstration?
 
Oh I see
that does look quite nice to use
'booloan'
 
11:05 AM
0
A: Sandbox for Proposed Challenges

emanresu AStack the rocks This is a rock: * Rocks can be stacked on top of one another: * * * You have a pile of rocks, and your boss wants you to pile them symetrically, taking up the least horizontal space possible. Your challenge is to take a number of boxes as input, and output that many rocks stack...

 
If I have a string, say "hellow1rld", how can you count how many other strings are within Levenshtein distance two from the string?
 
I only just noticed the mod badges are a lot less annoying now
 
11:28 AM
0
A: "Hello, World!"

Bbrk24Arduino, 75 bytes void setup(){Serial.begin(300);Serial.print("Hello, World!");}void loop(){} Although Arduino does have println(), the challenge said the newline is optional, and print() is shorter.

 
11:42 AM
@Bubbler idk haskell
i can use a parsing lib
also is there a way to re.sub( to append spaces around the match
like KH becomes ` KH `
 
' \1 '
 
@PyGamer0 ^
 
doesnt work?
    string = re.sub(r'K.', r' \1 ', string)
 
oh right
string = re.sub(r'(K.)', r' \1 ', string)
 
Would \0 be the whole matched string?
 
11:49 AM
it can't be group 0 for some reason, you gotta introduce group 1
 
Idk python regex
 
@FrownyFrog thanks!
 
 
2 hours later…
1:34 PM
If you've ever wondered what we get up to over in the Vyxal chatroom, this sums it up nicely
 
> This conversation has been locked as too heated and limited to collaborators.
 
@Dudecoinheringaahing you should be a collaborator, then you'll be fine :þ
 
But how will I share my opinions on cookie? :P
 
that's the neat part
you don't.
 
But unlike vyxal, cookie good :P
 
1:39 PM
I tried to invite GitHub user @cookie so I could assign it to them, but the username is taken by an organisation not a person
 
why tf would you call an organisation cookie?
 
I've invited @Cooke940 but I can't assign it to them until they accept the invitation
@exedraj they seem to be defunct or non-existent because there's nothing on their website getcookie.co either
 
@pxeger Is that why there's now a user named vyxal-cookie?
 
hmm I have absolutely no idea
lmfao
 
wait that isn't one of you guys?
 
1:43 PM
¯\_(ツ)_/¯
 
obviously it must be
oops did I spoil the joke
 
no
 
@Lyxal:
hovers menacingly
 
eh
there's 39 other people who could have done that already
like it's gone for a whole year with basically everyone as owner without deletion
 
> the largest organisation on GitHub
>
> only 39 people after 1 year
hmmm
 
1:51 PM
There's 327 failed invites
I didn't start it btw
just in case you're riffing on it under the assumption that it was an initiative of mine consequently automatically making it "bad"
also the creator of befunge is a member of the organisation too lol ;p
 
2:25 PM
CMC given a list of start and end times, count how many hours you worked. If you start before midday you take 30 minutes for lunch. Test data: bpa.st/K4EQ
 
2:35 PM
@exedraj Can I join the Random-People-Convos team?
 
2:55 PM
@Anush In my case, return 0 should do the trick :p
Regardless of the start and end times, you can guarantee I was on CGCC the whole time
 
@RedwolfPrograms :)
What language do you think would make this easiest?
 
It doesn't look hard in any practical language
 
@RedwolfPrograms even to do compactly? I would love to see this
 
Excel has very nice date handling tbh, it'd probably be very good
 
@Dudecoinheringaahing that would be good to see
 
3:07 PM
@Dudecoinheringaahing Date handling so good it turns non-dates into dates :P
 
Hey we heard you like dates, so we put non-dates in your dates :P
@Anush What should the outputs look like?
 
Yo dawg, I heard you like dates, so I put dates in your data so you can data while you date
 
Yo dawg, I heard you like dates, so I put dates in your data so you can data while you date your dated date while eating dates
 
@Dudecoinheringaahing number of hours, number of minutes
I even know the answer for this test case :)
 
19 hours ago, by Redwolf Programs
The Mod/Staff things are less saturated now
 
oh that was a while ago, I didn't notice lol
 
4:00 PM
Well. learning Java now
 
I'd recommend learning Kotlin too/instead
And if you like that, Scala too
 
No CMC answer?
 
@user Yuck, the less Java/variants the better :p
 
Yes, Kotlin and Scala are less Java and more goodness
 
it's not like I'll ever use Java again, I just want free college credit :p
 
4:05 PM
They are a lot like Java, but they have very little of its verbosity, and don't focus so much on OOP
@RedwolfPrograms Oh, APs?
 
You could probably pass the test without taking a single Java course lol
 
Probably :p
 
@PyGamer0 You've unleashed a monster in the Vyxal room :P
 
> Strings are anything that is not used for numerical calculations
Good to know
 
4:07 PM
@user lol
 
@RedwolfPrograms wtf
Looks like arrays, objects, and chars are now strings
@PyGamer0 Would you like to join this team?
 
Oh...oh no
> ________ is when a computer checks your program for errors before running it.
The answer is "compiling"
 
Static analysis tools: Am I a joke to you?
 
@RedwolfPrograms "Github Copilot" :P
 
@RedwolfPrograms I hope they meant that compiling involves checking errors but is mostly, well, compiling
 
4:10 PM
@user yes
 
Ugh, the built-in IDE thing they make us use treats any group of spaces as indentation
Including in strings
So you can't type stuff between spaces
 
wdym
@user @PyGamer0 I think you accidentally starred this?
 
@user no?
 
Oh ok, I guess someone else did then
 
@tjjfvi add subtract multiply and divide
 
4:16 PM
That's on me Dude, I she set the bar too low
 
4:43 PM
@tjjfvi Awesome, thanks @Dudecoinheringaahing @exedraj
 
5:00 PM
@PyGamer0 Are those commands, operators, or something else? I don't know, I've never used APL
Seems like no
https://chat.stackexchange.com/transcript/message/58870605#58870605
 
5:46 PM
@Anush I'd probably do something dumb/naive like split each on : and multiply by 60 or whatever
not using an inbuilt datetime thing
 
@tjjfvi Things like + are called functions in APL lingo. We use the term operators for higher-order functions like reduce (a.k.a. fold) which is denoted /.
 
5:58 PM
@Adám 👍
 
 
2 hours later…
7:36 PM
@RedwolfPrograms That's a lie... but an acceptable kind of lie.
 
@AaronMiller Because JavaScript. :P
IIRC the in operator means "has a property named"
Try this for testing if a value is in an array.
 
@DLosc thx, that works great!
 
You're welcome :)
 
(It's a couple of years old, not new. I just discovered it recently)
 
7:48 PM
includes works great, but for some reason, TypeScript thinks it shouldn't.
 
It's probably too new. This says it was added in ES7.
 
ah, makes sense. So it shouldn't be anything to worry about, then?
 
Only if you're using TypeScript (or Internet Explorer).
JavaScript has some nice features. But it really, really feels like it began life as a language somebody threw together without thinking about it too much, and then when it became super popular and they went to add more features, they couldn't change the old ones to make sense because it would break backward compatibility.
 
I'm using TypeScript to implement Cursed
 
If you can't use includes, you can always fall back on looping through the array until you find a value that matches. Maybe there's a better way to do it. Possibly filter and check whether the result is empty?
 
7:57 PM
It looks like I should be able to use the newer features if I change my config
That is, I should be able to use the newer features without it complaining, since it does work currently, it just gives a warning.
 
Also:
Aug 1 at 4:35, by Redwolf Programs
I've got a lot of experience hating using JS, especially async stuff, so if there's any weird problems you're not sure how to approach I can probably figure something out :p
 
lol, will do
I probably will need help with some async stuff. The language won't have async functions, per se, but it will have asyncgoto.
At least, that's the plan.
 
What in tarnation is asyncgoto?
 
asynchronous goto statements, of course. :)
 
I'm still trying to wrap my head around async/await. I think it'll make sense to me someday, but that day just hasn't come yet.
 
8:05 PM
If you use that, are the velociraptors replaced with t-rexes?
 
probably
 
8:21 PM
@Dudecoinheringaahing Nope, just velociraptors that don't follow the same timeline as you
 
0
Q: Generate random CIE 1931 XY color

Daniël van den BergCIE 1931 colorspace is widely used in smart lightbulbs. In this colorspace, only x and y are required to represent any color. However, many XY combinations are outside the bounds of the colorspace, and therefore invalid. Write a program that provides a random, valid XY combination. https://en.m....

 
8:40 PM
@Dudecoinheringaahing "Real velociraptors were more like carnivorous turkeys." Best sentence I've read all day.
 
9:10 PM
0
A: Sandbox for Proposed Challenges

nununoisyDetermine the length of a Puyo Puyo chain Puyo Puyo is a Japanese tile-matching puzzle game currently developed by Sega. The gameplay seems simple but it is actually quite complex. You have a 12x6 board which you can fill with various colors (typically red, green, blue, yellow, and purple) of Puy...

 
9:33 PM
So I googled "postal codes in Australia," and Google helpfully gave me some pictures of what I might see in various postal codes:
 
10:08 PM
@DLosc Australians don't speak about the void that is 2540 :P
 
Or maybe Google is accidentally showing what Australia will look like in those years and not postal codes :P
 
10:42 PM
@DLosc Uh...why not just do it the "old" way and check if the indexOf is -1?
 
@Dudecoinheringaahing I was mostly wondering about 2470, myself. Like, is that a famous local landmark? I know Australia has some big statues of weird things, but...
@RedwolfPrograms ... Because I just pretend to know JavaScript. :P
 
Oh, I didn't even see that :P
The image is cropped after 3585 for me in chat
 
Ah, interesting. For me, the image shows up in full but really small, so one would have to open-in-new-tab to be able to read any of the numbers.
 
So both 2540 and 3051 are voids :P
I'm guessing that one is where they send cricket players who underperform, and the other is where they send prime ministers :P
 
I updated my chat bio, it's much more accurate now
 
10:56 PM
Which Canadian mafia family are you a part of?
 
Oh, officially I'm not part of any of them. I just happened to accidentally do them a big favor.
All of their hideouts and shell companies now have very good air circulation
 
11:14 PM
@DLosc that's pretty accurate
Everyone knows that in rural NSW you get greeted by giant teeth
 
For some reason, I get the feeling that's an anti-smoking ad
I know that Australia has pretty aggressive anti-smoking images/ads, but otoh it seems too tame
 
@user I already added you last night
 
@exedraj Don’t you mean this morning? :p
 
@exedraj Odd, I can't see it, lemme try again
 
I'm still farming rep off that meta answer lol
I've made around +1000 off it now
 
11:24 PM
@exedraj Just added myself to the team
@RedwolfPrograms Nice lol
 
@RedwolfPrograms That's a pretty decent upvote to rep conversion rate for such a highly upvoted answer tbh
 
It's come in pretty gradually
 
Of course, you said basically the same thing as 4/5 other answers: "Please bring back Member For (and/or Last Seen)" :P
 
I lost around +500 in the first two days or so from repcapping, but most of the other days I repcapped I only lost a couple upvotes
 
> lost
 
11:30 PM
BTW I've got a suggested tag edit in the queues, if anyone's around to review that
 
I approved it, then realised I meant to click "Improve edit" :/
Also, seems like "Improve edit" (or "reject and edit") is a way to only get one pair of eyes on a suggested edit, by just adding in "nothing" (an html comment, a newline etc.)
It basically allows a single user to unilaterally approve/reject suggested edits
 
11:45 PM
0
A: Sandbox for Proposed Challenges

Aiden ChowConvince me that this vector theorem is true code-golfmathlinear-algebra Background Information From Wikipedia: A sequence of vectors \$\mathbf v_1,\mathbf v_2,\mathbf v_3,\dots,\mathbf v_k\$ from a vector space \$V\$ is said to be linearly dependent, if there exists scalars \$a_1,a_2,\dots,a_k\...

 
Is there such a thing as "balanced binary", like "balanced ternary"? Where the only digits are -1 and 1?
It'd only be possible to represent odd numbers using it, which is interesting
Considering making a challenge about it
 
Hi?
 
yes
 
No, I'm joking
(I'm not JoKing, I'm Emanresu A)
 
11:57 PM
From briefly looking at that, it doesn't seem to include the exact system I'm talking about (although I might've missed it)
 
It briefly mentions n-ary balanced systems, but that was the only thing I could find about balanced binary
 

« first day (3849 days earlier)      last day (1006 days later) »