« first day (3843 days earlier)      last day (1003 days later) » 

12:00 AM
Sure? How soon.
 
(That also allows the response of "No, we shouldn't do it at all" if anyone wants that btw :P)
 
Can language be Fishing?
 
@Dudecoinheringaahing meta post for people who want to be a designated 'teacher' and their proposal to vote on?
 
DSO has an interpreter for it (no permalinking tho
 
@rak1507 Meta might be a bit much, especially if it happens every couple of weeks. I think we can have some discussion on it beforehand in chat, and allow people who want to to register for the event to indicate they'd like to be teachers
 
12:03 AM
yep, makes sense
 
If we can nail down a time/date for the first one tho, that'd be best
 
@Dudecoinheringaahing Yes! Let's vote on the languages with stars in a room
 
Which room?
 
We can create a new one
 
Lunkfish?
 
12:10 AM
wow codidact has really changed
@Dudecoinheringaahing we can fit in two biweekly chat events ;)
 
2
Q: BMG is slowly dying

emanresu ALet me put it simply: BMG, which was a good idea at first, is dying, to the point that we're not scheduling new ones, we're not hearing about it, we forgot that there was meant to be one on Tuesday, we tried to schedule one same time today and forgot again. So, what should we do about this?

 
@Wezl Looks the same to me
 
I've noticed leaderboards, increased activity and more than twice the Q&A questions so far
 
There's definitely been more questions there recently
 
I keep thinginki it's codicact
 
12:17 AM
@Wezl lol
 
that's definitely a bug
 
Already filed a report :P
 
it redacted !@
 
@emanresuA pterodactyl -> codidactyl -> codidact, if that helps
 
12:18 AM
Ok
 
CMC: Code a cat
 
@rak1507 Yes, very private information :P
@Wezl You've asked this before
 
@Wezl ⎕←'meow'
 
@user where? If you mean the draw a cat challenge, that's different
 
@Wezl VTC as dupe
 
12:20 AM
Python: print(input()). You wanted a cat program, right? :P
 
94
Q: Simple cat program

Martin EnderOne of the most common standard tasks (especially when showcasing esoteric programming languages) is to implement a "cat program": read all of STDIN and print it to STDOUT. While this is named after the Unix shell utility cat it is of course much less powerful than the real thing, which is normal...

 
@Wezl Yeah, that one
 
ninja'd
 
:)
 
@user VTD as did not try to golf
in fact I'll do that for all python answers because yes
 
12:21 AM
wdym
How do I make it shorter? print input() with Py2?
 
print is so long, golf it to nothing by using implicit output. Then golf input down to nothing by using implicit input :P
 
Vyxal, 0 bytes: Try it Online!
 
@user Good job'
 
Why?
 
12:25 AM
It's Java
 
bruh
 
So good job
 
Java ain't good at I/O like this, but it's not that bad
 
-102 bytes: x->x
 
I was thinking more along these lines
also someone teach me how to draw a keyboard pls
 
12:33 AM
  #         #   # ##### #   # ####   ###    #    ###  ####
 # #        #  #  #      # #  #   # #   #  # #  #   # #   #
#####       ###   #####   #   ####  #   # ##### ####  #   #
#   #       #  #  #       #   #   # #   # #   # #  #  #   #
#   #       #   # #####   #   ####   ###  #   # #   # ####
Made with this generator
 
So learn-a-lang is going to be more of a "long term" event, right?
 
The highest voted answer (mine) suggests something more like BMG - a scheduled event for an hour or so specifically dedicated to that lang
Although I'd imagine the length would last as long as people want it to - no need to forcibly kill a popualr thing
 
Maybe there could be an event like BMG that starts it off, and people can continue to discuss and post CMCs on the language over the next week or so?
 
12:47 AM
That sounds like a good idea
 
I imagine if people like the language, activity in actual solves and cmcs will go up naturally
 
We could schedule a specific time for the "starter" event, then discussion would slowly decline after that, while still be slightly more in the zeitgesit
 
)
What the frick, chat
I had a whole long message typed out and it reloaded right before I hit enter
 
) indeed, can't disagree with that
 
I was going to say, having a single event sounds like a bit of a bad idea to me, since if you miss it for a language you really wanted to learn (or teach) it'd be much worse than just missing a BMG
So emphasizing it being more of a longer-term (i.e. a few days to a week) thing could make missing the starting event a lot less of an issue
 
12:50 AM
IIRC if a mod schedules an event here, it shows up on main. So long as we decide the language a few days in advance, that should'n't be a massive issue
 
twice-daily cmcs over the span of a week?
 
@Dudecoinheringaahing I'm not getting up at 3 AM to learn Jelly, no matter how far in advance I'm warned :p
@UnrelatedString I think more of an "unscripted" sort of thing would be better, idk
People could just ask questions or post CMCs whenever
I don't think the more rigid structure of BMG would be needed for this
 
@RedwolfPrograms No, but we can save the initial event as a conversation, include a link to it in a pinned message (something like "The current Learn-A-Lang is <blah>, check out [here]() for the starter event. Feel free to post CMCs and discussions about it") and keep it in the zeitgesit
 
Yeah, that's along the lines of what I was suggesting
 
12:53 AM
The problem with events is that someone will always want to be part of it who can't, for various reasons. I think a starter event specifically about the language, followed up by however long of "topic about X is especially on topic" should work best
 
Maybe we should change the BMG schedule to always be on wednesdays to reduce the confusion with when it is
I don't think the tuesday vs. thursday thing actually matters for anyone anyway
 
Cycling the time between 12am and 12pm UTC could work as well
 
Maybe we should just do that honestly
Cycle between two times, always on the same day of the week
I think just knowing when BMG is, and having to remember to sign up for it (since it was too complex to be set up as a recurring event), is one of the major factors that's made it annoying to remember to attend
 
I think that should work well. We could create two recurring events that run every 4 weeks?
 
Yeah. That way, you can sign up for the time you're usually available (or both), and you don't have to remember to re-sign-up (or for us, create the event)
 
12:58 AM
@RedwolfPrograms perfect
 
Should I go ahead and schedule it?
 
yeah, go ahead. Starting on the 11th for the first one?
 
Sounds good. 00:00 or 12:00?
 
00:00
Utc midnight
 
A "fresh start" :P
 
 
Dang it I forgot what I was going to make my chat bio this week
 
I literally thought of it 3 hours ago
 
I forgot to change the time on the second
 
1:01 AM
And now I can't remember
 
Redwolf Programs has removed an event from this room's schedule.
Redwolf Programs has added an event to this room's schedule.
 
...I also can't add
 
Redwolf Programs has removed an event from this room's schedule.
Redwolf Programs has added an event to this room's schedule.
 
Okay finally
Sorry about that
Actually, with the 12 hour shifts, if I get up a little early some days I think I can make both of them
 
Fingers crossed that improves activity for future BMGs
 
1:05 AM
The times for BMG have been updated. Register now!
 
Time for a fourth pin :P
 
Why did I watch this whole thing
 
Because I listened to it 3 times in a row yesterday during my zoom workshop
Come play a chat based nomic with us:
 
Hi
The only problem with the new BMG is that I can't make it to either now.
 
Are you at UTC+11?
 
1:14 AM
No, UTC+13
I think
 
So it's either at 1am or 1pm for you?
 
So 1 PM and 1 AM?
 
Ok I'm in UTC+12 then
 
@emanresuA UTC+12
2 hours ahead of me
 
midnight and noon
 
1:16 AM
Ah. Are you busy at noon?
 
School
 
Oh well
I don't mind too muc'
 
We could try to shift them by a few hours to optimize for areas lots of CGCCers live in, maybe
Or go back to 8 hour increments
 
I'll be in a zoom lecture learning about data structures on the 11th
During the bmg that is
But that's never stopped me from doing code golf at the same time :p
 
1:18 AM
Since you kow about data structures
 
I wouldn't mind changing the two "shifts", but I suspect that having it cycle more than twice, would create a similar problem as before
 
@emanresuA no because I usually golf during classes
 
Just browse the tag :P
 
@Dudecoinheringaahing With the recurring thing we've set up, it could simplify things a bit
I wish chat had better support for events, some sort of "upcoming event" display in chat would be really cool
 
0
Q: Split into sublist of a specified size

Dude coinheringaahing05AB1E has the £ builtin which, given a list of integers b and a string s, splits s into sublists of lengths equal to the elements in b. For example, [1,2,3,4,1] "hello world"£ produces ["h", "el", "lo ", "worl", "d"]. Your task is to imitate this behaviour. Given a list \$L\$ containing \$n\$ el...

 
1:22 AM
oh, a new schedule for BMG?
 
Well, maybe not for long
 
I think we should at least given the new one a try for at least one week :P
See how it goes from there, then do some experimenting
 
sounds good :p
@Dudecoinheringaahing was your four-byter doing some sort of cumulative sum + partition?
 
Oh yeah exists :P
 
ah, so, yes it was :p
is it just me or are reputation notifications broken again
 
1:25 AM
Yep, they're broekn
 
thank you SE, very cool
 
Wait no, they're here
But like, only kind of
 
ಠ_ಠ huh
well i do not see the +20 rep for my answer :p
 
Its showing +30 for me so far, but it's on 4 upvotes
..and there's the +40
 
oh now it appeared
 
1:30 AM
@Dudecoinheringaahing Doesn't work as in...
 
It should work based on the test cases and challenge spec, not the exact behaviour of £ with a string argument
 
Oh I see
Sorry
Vyxal buggy
una momento
 
@Dudecoinheringaahing can I take args in reverse order
 
Yeah, argument order is whatever. So is types (feel free to take a digit string for example @emanresuA)
 
ok
5 bytes in Dyalog Extended just need to prepare the solution and description and whatever
 
1:33 AM
@Dudecoinheringaahing Wait, as in as the list to get the indices from?
 
Yeah, the input can be a digit string
Not sure if that affects anything
 
Then my original solution does work, and I have a bug report to file.
 
@emanresuA No, you could take [4, 5, 1, 2, 6, 1, 7, 9, 6] as 451261796
 
@Dudecoinheringaahing Then it does work
 
1:35 AM
But Lyxal got 5 / 3 so I'm leaving it deleted.
 
ಠ_ಠ Why are strings and lists of characters different in Vyxal?
 
I would answer in Javastack, but I don't think I can do anything yet...
@Dudecoinheringaahing Because vectorising generators
 
@Dudecoinheringaahing Because that's what any reasonable language does
Or at least any reasonable language from after 1990
 
Strings are lists of characters tho
 
Not necessarily
That's a way of looking at them
Not always the best though
In fact, I'd go so far as to say rarely the best
 
1:38 AM
It's the most obvious way IMO
 
50-point bounty to anyone who can figure out how to do this in Javastack...
 
I disagree, and obvious != good anyway
 
Hey @Eta, I saw your answer to "Flatten a parabola", nice work!
 
Eta
@Dudecoinheringaahing Thanks!
 
@Dudecoinheringaahing because unlike jelly, strings are their own object
 
1:40 AM
tying vyxal in APL insert sunglasses emoji here
 
@exedraj Which is a very good way to do it
 
Dang type overloading :P
 
@Dudecoinheringaahing So if you want a list of characters, you need to manually quote each one
But you don't need to quote a list of numbers
 
Overloading > vectorization :p
You can always vectorize as part of overloading, but the reverse is not true
 
Imagine not using both :P
 
1:41 AM
That's what any sane golfing languages does :p
All-vectorization works but is inefficient, and all overloading with absolutely no vectorization is almost certainly bad design
 
When you have to multiply by 1 to take implicit input
 
Tbch I do think that golfing languages should take the Jelly approach to types (where there are two "atomic" types, numbers and character), but overload commands for those two (which Jelly doesn't do)
 
Vectorizing over arrays of strings is nice for some stuff, but I could see that approach being viable too
Although two atomic types isn't taking full advantage of overloading :p
 
@Dudecoinheringaahing The only real problem with having a list of characters for a string is that you lose the ability to have nice string manipulation elements
 
1:44 AM
^
 
You have to have the same ones with arrays as strings, which is fine 90% of the time, but kinda dumb sometimes
 
@exedraj Jelly has halfdecent string manipulation commands
 
But those come at the cost of array manipulation commands
 
Ok, how did I end up with this?
 
1:44 AM
@RedwolfPrograms Lists should always be collections of atomic types IMO, never an atomic type
 
@Dudecoinheringaahing I know, and I'm not saying that it's a bad idea, I'm just saying that I've seen some people sometimes wish jelly could do string stuff better
 
And I personally prefer strings = char lists
@exedraj I so wish Jelly could do string stuff better, but that's mainly the atom choices, not the typing choices
 
@Dudecoinheringaahing I wasn't saying lists should be atomic types, I was saying there should be more atomic types added in :p
 
@RedwolfPrograms What is there aside from number and character?
 
@Dudecoinheringaahing so it's mostly a problem regarding lack of string features?
 
1:47 AM
Having functions can be nice sometimes, but I'm saving all of my more uniue overloading related ideas for an upcoming language :p
So no spoilers
 
If Jelly could overload some of the integer array atoms to work on strings (e.g. ) most of it's problems with strings would be alleviated
I'd even argue things like "Truthy indices" would work, because how often do you have an empty char in your string?
But I have to be up at an ungodly hour (9am :P) tomorrow morning so o/
 
o/
 
Bye
 
There should be something like Socratic but for answers
 
1:57 AM
@Dudecoinheringaahing Going to bed at a reasonable time!? Who are you and what have you done with Caird Dude?
 
@RedwolfPrograms that just sounds like tag badges with extra steps
 
Oh yeah
 
also, you should probably remove the sentence "Working on a golfing language, Ash." from your bio
because, y'know, y'ain't.
 
Oh yeah
Fixed
 
@Dudecoinheringaahing thanks for spotting my typo :)
(not sure if you did or were just confused in general but yeah)
 
2:01 AM
> I'm so fascinated by the way we react differently to the same thing. I love to see how we all have our own personalities and we all react differently to situations.
TIL gpt-3 is interested in human psychology
 
Gpt redwolf?
(main profile)
 
No
It's my bio obv
And that's from the prompt I'm so
 
Ik
I mean requesting ^^^^^^
 
Already done before
 
But ash is gone now
 
2:06 AM
> Programming is like s*x. One mistake and you have to support it for the rest of your life.
GPT-3 on programming jokes
 
Interesting property of my userid: In binary (11000100100111000), every single digit is part of a repeated substring.
Should I do a challenge on this, or are nearly all numbers like this?
 
> Hi, my name is Lyxal, and I'm a gamer. I play Call of Duty, League of Legends, Minecraft, and Planetside 2. I also play on my Xbox 360, but that doesn't really count as it's not PC.
GPT-3 given the prompt "Hi, my name is Lyxal, and"
 
wow
I can't believe it got that you're a gamer
(are you a gamer? idk, you seem like one)
 
I only play minecraft
 
2:10 AM
Try GPT-3ing enamresu A is
 
I'm more of a code golfer than a gamer
 
good enough
 
And nevermind the fact that I rerolled the completion a few times
@emanresuA enamresu A is the most common cause of gram-negative sepsis in adults. They are found in the gastrointestinal tract, where they can live as commensals in a mutualistic relationship with their host. Sepsis is characterized by immune dysregulation that leads to the excessive production of inflammatory cytokines. Overproduction of tumor necrosis factor α (TNFα) is associated with the development of sepsis. TNFα production is regulated by TNF receptor-mediated NF-κB activation.
 
Uh...
 
@AaronMiller It's 3am here :P
 
2:13 AM
@exedraj ew, why would anyone play league of legends lol
 
@hyper-neutrino idk
irony is that I don't
 
irony is that I do
 
@rak1507 I suspected it might have been a typo, going by the J answer, but thought I'd double check :P
> league of legends league of legends
:P
 
@emanresuA Guess I know what to not make the output when I change it to a specific thing :P
 
2:20 AM
@Dudecoinheringaahing Aw man....
 
@emanresuA are you back in the mine?
 
Playing Minecraft? No.
 
You sure you don't have your pickaxe swinging from side to side (side to side)?
 
You missed a 'side' there
@Dudecoinheringaahing Also ><> -v 1, score ∞, ignoring stderr.
The best part is I can just use -v to preload whatever charcodes I need onto the stack, put a large amount of os, there, and hey presto, infinite score!
And what if I decided to do something in Pxem?
It's quite funny how half of everything here can be cracked in Foo.
I was a big brian with Javastack
I forgot to make print consume its argument
 
2:39 AM
big brian
 
Yes
My name is Brian now
 
lol
 
Also I have no way to pop values
Except duplicating, dividing by itself, and multiplying by 1
 
@Dudecoinheringaahing Like I said, reasonable time :P
 
The caird Dude I know stayed up until 5am at one point
 
No clue
at all
 
bruh, why would anyone ever stay up that late, smh my head
 
> I'm crazy enough to take on batman, but the IRS, noooo thank you
 
> smh my head
Dude has goneto sleep;
 
3:09 AM
0
A: Sandbox for Proposed Challenges

emanresu AEmanresu numbers My userid is 100664. In binary this is 11000100100111000. An interesting property of this number is that it can be created entirely by concatenating strings which are repeated at least twice: 11 000 100100 111 000 The first few such numbers are \$3,7,10,12,15,24,28,31,36,40,...

 
^ Feedback?
 
chances are it's easier than finding the roots of complex numbers
 
Ok...
That's not too hard, from what I can remember...
 
@emanresuA I'm pulled multiple all-nighters before, and going to bed at 7am isn't entirely unheard of
 
@Dudecoinheringaahing Just when I thought you were asleep. hyper, can you kick-mute caird?
 
3:20 AM
that won't help, and i need a higher ascension level to unlock the mod power to induce sleep
 
Or a heavy frying pan and Dude's home address :p
2
 
Or a nuke oh wait, you have that :p
 
Can you guys do one-hour suspensions or something?
 
i can suspend users from chat in one-hour intervals ranging from 1 to 9999
i can suspend users from the main site in one-day intervals ranging from 1 to 365
 
Ok, I give up
 
3:25 AM
?
 
goto sleep;
 
3:44 AM
Did someone mention sleep? :P
 
@AaronMiller Have fun!
 
CMFR: Give communities the ability to require at least one tag from a list, like /// on meta
That'd help us with OWCs, and IIRC RPG has something similar with system tags where that'd help
 
scifi has a tag hierarchy
 
They have that? I thought it was a feature request under the magic wand
 
Where if you have you have to have
Or soemthing'
It's not builtin, its conesnusesus
 
3:52 AM
Oh, ok
 
conesnusesus is very sus
So is , the APL comment symbol
 
4:05 AM
@emanresuA that's actually extremely easy
 
4:20 AM
@exedraj That's much simpler (and longer) than what I did: "໛"charcode "ท"charcode "Z"charcode multiply multiply print
 
@AaronMiller well I'm known to crack answers like that using long programs that the author didn't intend
Heck, I got a +250 bounty for doing so ;p
 
4:35 AM
@AaronMiller Or, for only 56 bytes: "{"charcode "Lj"charcode "Ồ"charcode wrap ""join print
 
Wow actually golfing your code
Lame
/s
 
shoot, u right
that's wack
@exedraj Is the Vyxal interpreter working for you? For me it's just spinning forever.
 
@AaronMiller it works for me
 
hmm... It's working for me too, but it looks like it breaks when you try to convert the number 55298 to a character: Try it Online!
 
4:44 AM
> U+D802 is not a valid unicode character
Might have something to do with that
 
oh
!!/issue
 
@RedwolfPrograms *juics
I wonder if any of those juics were advocad
 
Whelp, imma go sleep instead of worrying about nonexistent unicode characters. o/
 
o/
 
4:51 AM
TIL you can store arbitrary 16-bit integers using a JS string
Well obviously you can, but I mean with each character being mapped to one number
 
Is this the shortest scan sum in ruby? a.reduce([]){|m,x|m+[x+(m[-1]||0)]}
 
TIL 8 has 3 cube roots
 
Every number does :p
That's how cube roots work
 
and that, more generally, the n-th root of x always has n roots
@RedwolfPrograms yeah well I only previously knew of only 1 cube root of 8
 

« first day (3843 days earlier)      last day (1003 days later) »