« first day (4100 days earlier)      last day (735 days later) » 

2:15 PM
@user What sort?
 
CMC: Given an integer n, output the n x n matrix shown in this question
 
@RadvylfPrograms Everything I see in the transcript for the last 10 hours looks on-topic to me. Golfing language design, general programming stuff, and a few brief comments on things that could tangentially connect to code golf.
 
@cairdcoinheringaahing Can I use [0..n) instead of [1..n]?
 
niec
 
@pxeger No, must be the same as in the question
@RadvylfPrograms Ironically, all the talk about off-topic vs on-topic convos is on-topic :P
 
2:20 PM
@cairdcoinheringaahing n=>[...Array(n)].map((_,i)=>(k=[...Array(n).keys()][s="slice"](1))[s](i).concat(k)[s](0,n))
 
@allxy Often the reason there's nothing on-topic is because it would just get drowned by all the off-topic, so people don't bother posting it
 
@RadvylfPrograms Hmm, almost works
 
Jelly, 4 bytes
@RadvylfPrograms I absolutely hate that [s="slice"] trick :P
 
@cairdcoinheringaahing Wow, an actual use for G?
 
n=>[...Array(n)].map((_,i)=>(k=[...Array(n+1).keys()][s="slice"](1))[s](i).concat(k)[s](0,n))
Okay, finally works
 
2:23 PM
@pxeger Not really, I'm just using it to show the matrix, rather than a list of lists :P
 
@cairdcoinheringaahing ngn/k, 24 bytes: {|n{y_(y+#x)#x}/:n:1+!x}
 
I know, but that still counts as an actual use
 
I have actually seen G be properly used in a CGCC answer a couple of times tbh
And not just to format something as a grid, but where it was actually a novel usage
 
2 hours ago, by Ginger
1
A: Sandbox for Proposed Challenges

GingerWill this makina program halt? makina is a cell-based esolang composed of automata which move around a grid. These automata follow paths of instructions that direct their movement. Your task is to, given a makina program using the below instructions as input, output a truthy or falsy value depend...

^ thoughts?
 
@cairdcoinheringaahing flax already prints like that without G (but in python representation)
 
2:25 PM
@Ginger I'd make sure to specify it's only a subset of makina
Since presumably the real thing's got control flow and stuff that makes it TC
 
yes
ok put that in
 
@RadvylfPrograms Byte saved: n=>[...Array(n)].map((_,i)=>(k=[...Array(n)].map((_,x)=>x+1)).slice(i).concat(k).slice(0,n))
 
any other feedback before I post it?
 
Output format
 
it's truthy or falsy
> output a truthy or falsy value
 
2:29 PM
That's pretty restrictive, and not all languages have the concept of truthy and falsy
You might also want to allow two distinct values
 
hmmm
nah
 
Please do
 
I'll reword the current phrasing a bit
 
I don't think "truthy or falsey" is a very well-defined measure anyway, because not all langauges have it
 
Even the more restrictive DPs allow two distinct values
 
2:30 PM
ok fine
did that
 
I don't like the test case format
 
Oh, in place of truthy/falsy?
 
Is it ok if I edit?
 
yes
tbh truthy/falsy are two distinct values
 
Quite often people will return either 0 or a positive integer
Not necessarily
Grr network issues made it reverse those messages
 
2:33 PM
f
 
@Ginger You can revert if you want, but the most important thing to me is to group the truthy and falsey cases together
 
lgtm
 
> All other characters halt the automaton
Does this include spaces?
 
yes
I make use of spaces in many of my makina programs
 
You might want to make that explicit, because people could assume spaces are just noops
 
2:35 PM
._.
 
ಠ_ಠ
 
Spaces aren't no-ops?
 
Well, I did at first
 
nope
spaces halt the automaton
 
Can we assume inputs are padded to be rectangular?
 
2:36 PM
nope
 
Why not?
 
@pxeger No, I was ._. ing at spaces not being no-ops, not at you figuring they were
 
because my interpreter doesn't
 
I swear like half of my packets or whatever are being lost
 
@RadvylfPrograms Try pinging 1.1 or something and measure your actual packet loss?
 
2:37 PM
@pxeger They block ICMP
 
@Ginger Your interpreter is like 10KB though
 
ok
 
The first step in almost every answer is going to have to be "pad the input to be rectangular", and that's just an unrelated task
@Ginger Tags?
 
yes ofc
time to post
 
0
Q: Will this makina program halt?

Gingermakina is a cell-based esolang composed of automata which move around a grid. These automata follow paths of instructions that direct their movement. Your task is to, given a makina program using only the below instructions (so a subset of normal makina) as input, output two distinct values depen...

 
2:41 PM
tfw there's an upvote within 3 seconds of posting
 
You're welcome.
 
*cries in 2999 rep*
 
You should probably explicitly mention the scoring criterion in the question body
 
ok
 
@Ginger you get the exciting privilege of being able to vtc now
Good job gamer.
 
2:43 PM
More importantly, not needing approval for edits nvm that's at 2k
 
I do get to vtc now
 
You're in luck because there is a grand total of 0 posts in the vtc queue
 
wow
 
There basically always is
 
2:45 PM
You'll need GRT if you actually want to get a good chunk of the reviews
 
What defines whether a question with VsTC appears in the queue?
 
seems you made a whoopsie
 
If it has a VTC
 
Because codegolf.stackexchange.com/q/246415 has 2 votes, but is no longer in the queue
 
Probably got too many leave open votes
 
2:46 PM
@pxeger That left the queue after 3 Leave Open reviews
 
ah it's 3 ok
 
Hmm, the review history now has an indicator if a reviewed post has been deleted
 
So it does.
Very nice.
 
Yeah. I took a screenshot of the FQ queue with that and like half the posts in it were deleted after.
 
I think it's been that way for a while
 
2:48 PM
Doesn't surprise me :P
 
Maybe even since they updated the front page format
 
@lyxal there;s a chance making an event like that could encourage people to hold back somewhat outside of that but when our problem is we aren't getting much on topic conversation to begin with it's not a bad idea
get new conversations started, encourage people to talk about stuff that isn't "fresh"
 
@lyxal It's from 11 years ago and the problematic answers were in golfscript so I don't think it's highly active anymore xD
Wait unprotecting is unilateral?
Oops
 
2:50 PM
Yep
That's why I asked.
 
No idea why it even protected it in the first place
 
Just from autoprotection?
 
It protected it 12 hours ago
 
Nothing happened 12 hours ago on that question
 
2:51 PM
Idk why either
 
@RadvylfPrograms It's ok, it shouldn't be protected codegolf.meta.stackexchange.com/a/10420
@cairdcoinheringaahing an answer on it was deleted
 
And the answer was by a 1 rep user
 
Bedwars KotH
Any opinions?
 
> Bed wars KoTH
That's what I need to do
o/
 
Yes
 
2:54 PM
o/
 
@RadvylfPrograms FWIW, we have exactly 3 protected questions: codegolf.stackexchange.com/tools/protected-questions, and that's basically all the protected questions we need
 
> that's basically all the protected questions we need
 
Yeah, I knew it should've been unprotected, but I didn't mean to steal it from lyxal :p
 
So you can stay as the only user who's protected any?
 
@cairdcoinheringaahing (it was actually 4 a minute ago but there was another auto protected I unprotected)
 
2:55 PM
Exactly :P
 
caird: protector of code golf™
 
@lyxal I know, I tried to unprotect it at the same time and it didn't like it :P
 
Hehe I unprotection sniped you
Out of context that could sound weird.
 
@RadvylfPrograms I tried to do it at the same time too lol
 
@RadvylfPrograms The more KoTHs, the merrier, I guess!
 
2:57 PM
@pxeger The only reason I'm the only protecter is because I noticed we had a bunch of random protected questions a while back and sorted through them. Then realised that its easier for me to find which are autoprotects if those 3 didn't have "Protected by Community" next to them :P
 
Yeah, but I don't want to spend a bunch of time on a KotH nobody will play :p
 
a bedwars koth could be really interesting
could also be hard to write in a way that strikes a balance between emulating the actual game and being not too hard to write bots for
 
I'm thinking a 2d map, with two layers: a floor layer, and a building layer
 
So you still need to bridge between island and stuff, and can fall into the void
I don't think making it 3d adds much
 
2:59 PM
@RadvylfPrograms Funnily enough, you can also argue that I'm the opposite of the protector of code golf, as I'm the one who asked for less protection :P
 
Or you could just make it so that when you place a block, you pick between a "walkable" block that lets people pass over it and a "wall" block which is impassable.
 
That's also an option I guess
 
but two layers could be more interesting
How would items work?
 
@RadvylfPrograms A 3d KotH would be pretty novel though
 
I'm thinking the iron/diamond/emerald generators would be the only places you have items on the ground, and probably no inventory management stuff
 
3:02 PM
@pxeger Yeah, the dogfight one is the only one I have seen
 
So you'd just have all of your items in one big hotbar
 
You could even simplify things more by just dropping blocks and weapons on their own so you don't need to exchange anything.
 
@pxeger It'd be cool yeah, but I don't think it adds much to this one in particular, aside from towering up during fights over the void
 
the mechanics overall will probably end up being pretty damn complex even in 2d
 
@Romanp What do you mean? Like, when a player dies?
 
3:04 PM
but yeah more 3d koth would be cool
 
I mean in the place of item generators (I've never played bedwars, but I thought there were strategic sites that gave you items which could be exchanged for blocks/weapons).
 
The strategy in how you spend your iron/gold/diamonds/emeralds is a big part of the game IMO, so I probably won't change that
 
Ok.
Would it be like the Red vs Blue KoTH that teams are assigned beforehand and people can design bots to work together, or would it be 1v1 (or random teams each round)?
 
That's a good question
I'm thinking teams of four
Whether they're chosen by the bot designers or randomly assigned, I'm not sure yet
 
which language?
 
3:07 PM
@PyGamer0 For this one and Hunter-Gatherer, I'm going to try something I haven't done before. A JS-Python-Java multi-language challenge.
For HG maybe I'll even have RTO's KotH environment up and running
Given how long it's taking me lol
 
It's been over a year lol
 
Maybe I'll have it finished before I graduate college
 
@RadvylfPrograms the sort that doesn’t interrupt more on topic conversation
Because tbh there isn’t always that much on topic stuff anyway
 
Problem is, excessive off-topic stuff and the more immature and spammy type are both harmful to the room in ways other than interrupting on-topic discussion
 
By ruining TNB s reputation or something else?
 
3:14 PM
Well, that's one part of it. But it also clutters the starboard with stuff that isn't really even that funny, it covers up things like sandbox feedback requests, it discourages on-topic discussion from occuring in the first place, and it's offputting to people who are here specifically to talk about programming related topics.
2
 
@Ginger see comment on your question, please
 
I don’t think allowing off topic convos is the same as allowing stars on them, but i guess you’re right about the rest
Covering up previously asked questions is kinda bad
 
i feel like at this moment ironically the problem with the starboard is how it's getting filled with random-ass glimpses of the dialogue about off-topic discussion
 
Oh no another level of meta on the off-topic stuff
 
Stars aren’t a problem
 
3:16 PM
but yeah in general the volume of off-topic stuff spills onto the starboard disproportionately
 
Ros can easily see and clear them
 
Yeah, but it doesn't help when it's turtles off-topic all the way down
 
and that also leads to ros needing to exercise discretion on what is and isn't worth keeping starred
 
I've tried to avoid mentioning this as much as possible to avoid hurt feelings, but now I think I should bring it up:
I have ignored 4 of TNB's regular users because, to put it bluntly, I was frustrated with how little they contribute to on-topic conversation
 
3:18 PM
I think I’ve changed my mind, we should have a separate room for off-topic stuff
2
Please don’t star that
If those stars are meant as votes we can do it on a meta question
 
@RadvylfPrograms Do we actually ever star sandbox feedback requests?
never seen that happen before
 
^^
 
i feel like we can't and shouldn't have a blanket policy against off-topic stars but off-topic stars should be coming out of on-topic conversations
so i guess that's another argument for an off topic room
 
Huh, maybe we should star feedback requests
And also other on topic questions
 
That would actually be very helpful
 
3:20 PM
And remove them when it’s done
 
I've noticed in the past that a lot of the time my feedback requests were ignored
 
The SE chat star feature is fully described as "star as interesting for the transcript"
 
@user actually they might be:
 
yeah that's smart
 
3:20 PM
Nov 12, 2015 at 22:26, by Doorknob
okay seriously stop abusing stars
 
even after asking for feedback three times nobody cared
they kept going on with whatever conversation
 
> 2015
wow
 
Honestly our culture needs to change, this room stars all the wrong stuff (me included)
6
 
@pxeger So I think they should be used for marking interesting points of interesting conversations for the transcript
Especially, avoid starring too many things that are about the same topic
 
@PyGamer0 pin?
 
3:21 PM
+1 to pxeger
 
@user Which message are you +1ing?
 
@user i dunno, i just star everything to make it yellow, because stars are yellow [citation needed], and not black [citation needed]
 
A part of the problem is that because of the nature of cgcc and other stuff, most of us are pretty immature
 
My opinions on the starboard is that actually funny jokes can go there, because humor is a part of TNB/CGCC culture IMO. But using it for actually useful stuff more often might be a good idea.
 
My observations are that stupidity of message correlates with number of stars... no offense to users who have a lot of starred messages.
 
3:25 PM
Also, once a funny joke has >3 stars, there’s no need to add your star to it
 
@ophact hmm... i just got the outspoken badge
 
The more stars, the longer that joke (which may not be funny out of context) remains on the starboard
 
I don't think TNB needs to be entirely on-topic, we're not robots. But something more like a 2:1 on-vs-off-topic ratio is the minimum it should be.
And right now it's more like 1:4
 
@ophact i mean, some genuinely on topic messages are started, like when bubbler announced tib
 
are we having another offtopic convo right now
 
3:26 PM
@user true, but those are the exception rather than the rule
 
No, a very on-topic one about TNB itself
 
This is meta and on topic
 
@RadvylfPrograms +1
 
My definition of on-topic isn't particularly strict. As long as it's programming, math, or SE related, it usually connects closely enough with the site to be perfectly fine.
 
math?
 
3:27 PM
now if we are deciding to make a new room for off-topic: CMP: What should its name be?
 
As long as there’s a point to the discussion it’s fine imo
 
@ophact why not math?
math is literally everywhere
 
is it really that connected to the site
 
@PyGamer0 The Byteteenth Night was suggested earlier
 
@ophact lots of overlap with cs
 
3:28 PM
@RadvylfPrograms And things like linguistics or politics can occasionally be fine too (though clearly off-topic), since most of us are somewhat interested in those things from what I can tell
 
what about math that is not related to cs
 
@ophact citation
 
@ophact I think it's fine honestly. It's thoughtful, productive discussion, about a topic useful for our site's purpose.
 
@RadvylfPrograms yeah, those discussions also have a point and are serious even if they include jokes and stuff
 
@RadvylfPrograms fair enough I guess
 
3:29 PM
Although political stuff can get heated and needs to be regulated too
Different problem tho
 
Yeah. Most of our political stuff seems to be more theoretical though, I've never seen it devolve into heated arguments.
 
It’s discussions about which flavor of ice cream is best and stuff that are not needed
@RadvylfPrograms that’s a nice thing about tnb, almost never gets heated
 
I've noticed people here tend to try to understand each other's arguments, which is like the only thing you need to do to keep an argument from becoming heated IMO
Since, at least for me, I only get mad when I feel like what I'm saying is being ignored or unfairly turned against me
 
We should also update the guidelines
 
> Don't use The Nineteenth Byte as a dumping ground for your thoughts or actions. Consider whether a topic would be relevant to others before talking about it. We're here to have discussions, not to listen to someone's stream of consciousness.
 
3:32 PM
Maybe advise not drowning out people’s questions with other stuff
 
@ophact I'm particularly bad about this :/
 
I have seen a few users violate that one a few times recently
no names
 
@ophact Is it ok to tell people off for violating that?
 
It's part of why I think an off-topic room would be nice. Sometimes I feel like sharing something mildly funny or interesting but very off-topic
 
@pxeger Yes, and please do
 
3:33 PM
@pxeger I would say so
 
Because occasionally I've typed out a message along the lines of "this is a chat room, not a stream of consciousness", then felt bad about it, and not sent it
 
I generally hold back if it can prompt a conversation, but if people are just posting random noise, I will speak up and ask them to stop
 
If it's a new user I'd be careful about wording it well and linking to the chatiquette, since you don't want them to feel like TNB's unwelcoming or they've done something really wrong. But if it's like, me or another user that's been here for a while, absolutely yell at us to be quiet :p
 
I'd like to mention Adám as a generally good enforcer of noise-reduction
 
Because this room is open for general discussion. But, that means that it should be discussion, not just what people are thinking right this moment
 
3:35 PM
Best of 2022 category suggestion: Most on-topic in TNB :p
 
> mmm... I want a doughnut ...
 
A good example of unnecessary noise that has taken place recently, of which I have been very guilty, is the chains of "nice" messages
good as in an example that illustrates the high levels of disruption
 
As an aside, I do want to say that TNB is actually a lot better now than it was back in 2015, that was complete chaos
 
@ophact That kind of thing which is particularly bad normally gets stopped quite quickly
 
And in reality, the AI stuff from earlier was hilarious, but probably could have been moved to the AI room earlier.
 
3:36 PM
But it's the kind of thing where somebody just posts the code they're working on with updates every 10 minutes, but nobody cares
That's the kind of noise I'm most concerned about
 
@cairdcoinheringaahing was that the reason why Doorknob posted the now-famous message?
 
@UnrelatedString for what its worth, I do clear 1 or 2 star messages from time to time if I don't think they should be on the starboard
 
Maybe it would be worth having even more ROs, so that there's more than merely about one available at a time
 
I think of the starboard as our first impression for any new users, if there's stuff on there that doesn't reflect well on the room, I will remove it
But that doesn't really happen that often
 
3:38 PM
@lyxal This is a terrible idea
It will just mean people trying to post on-topic stuff effectively have to "shout louder" (so, post more) to be heard
 
@pxeger I wouldn't be opposed to having a couple more ROs, it has been a year since we got appointed
 
which creates more unnecessary noise
 
We could add another, idk, two ROs maybe? Doesn't really hurt anything I guess
 
I in particular am especially bad with posting off-topic messages and the like, so if you see me doing that don't hesitate to tell me to stop
 
first step towards improving the situation might be to turn off the feature that maximizes xkcds?
if that is possible
 
3:41 PM
No way to turn it off, no
 
@ophact or maybe make it smaller
 
@ophact I don't think it is possible, and I don't think that's really the problem
 
I think it is mentioned in the guidelines
 
it's not even remotely the problem
 
3:42 PM
We also can't "turn off" the feature that "allows" people to post noise
 
Yeah, xkcd discussion is a pretty small percentage of our off-topic discussion, and xkcds are close enough to TNB/CGCC that occasional discussion of it is fine IMO
 
abusing oneboxes is just another kind of noise that people should be told not to do, not forced
 
just unplug the Spam Machine /s
 
@pxeger Well, if we could disable it, better to do that than not
Who knows if it would just create another not-as-easy to solve problem in its place though
 
Mar 9 at 19:37, by Radvylf Programs
This isn't just a discord server with Code Golf in the name. A little off topic fun is fine, but it can get over the top pretty easily.
^ that is good to keep in mind
 
3:50 PM
I think I traded places with user because now I don't really want a room for off-topic discussions lol
Because most of the stuff that shouldn't be moved to its own room isn't really useful for thoughtful enough to justify not just being put in the bakery.
And we don't really need a room for streams of consciousness or mildly funny screenshots, we can just...not post those things in the first place.
3
 
@ophact i think i may have violAted that
 
4:04 PM
@RadvylfPrograms I tried to add a Jelly keyboard to my phone given how often I golf from my phone, but it got way more complicated than I first thought :P
 
Did you have to try to make one yourself, or was there like an international layout that had most of the Jelly chars?
 
I had to try to make it from scratch
 
Have you tried play.google.com/store/apps/details?id=kl.ime.oh&hl=en? It looks like it might do what you want
 
I don't really understand python classes... what does this do inside a class?
def __init__(self, state, distance_matrix):
    self.distance_matrix = distance_matrix
    super(TravellingSalesmanProblem, self).__init__(state)  # important!
I really mean the super line
 
what's the class ...: line?
 
4:19 PM
class TravellingSalesmanProblem(Annealer):
 
ok so
TravellingSalesmanProblem inherits Annealer (copies attributes and methods)
 
@graffe initializes the parent class with state
I think?
 
but it has a new attribute distance_matrix
 
super(A, self).__init__(...) is equivalent to <whatever the base class of A is>.__init__(...)
so it calls the init method of the parent class
 
4:20 PM
@ophact been a while since I used inheritance, so correct me if I'm wrong
 
and copies over the __init__ of Annealer with state as the argument
 
super() returns the parent class iirc
 
@BgilMidol it imports the attributes right?
 
yes
 
ok so Annealer comes from the module
 
4:21 PM
@ophact if import means copy
 
TravellingSalesmanProblem is going to be that class with the attribute distance_matrix added?
 
@BgilMidol that's what I meant
 
@graffe yeah
 
@graffe depending on what Annealer does
 
and possibly more methods
 
4:23 PM
ok cool.. I will carry on trying to understand the code
 
4:44 PM
Made a Hello, World! submission in SPDT:
0
A: "Hello, World!"

Radvylf ProgramsSPDT, 756 bytes p 0 r 0 0 1 2 r 1 0 2 3 r 4 0 2 3 r 3 0 2 5 r 5 0 2 6 r 6 0 2 7 r 7 0 2 8 r 8 0 2 9 r 9 0 2 10 r 10 0 2 11 r 11 0 2 12 r 12 0 2 13 r 13 0 2 14 r 14 0 2 15 r 15 0 2 4 r 5 0 2 16 r 8 0 2 16 r 11 0 2 16 r 12 0 2 16 r 4 0 2 16 r 8 0 2 17 r 11 0 2 17 r 12 0 2 17 r 13 0 2 17 r 5 0 2 18 ...

it's a bit of an unconventional output format, but it's an unconventional language :p
Wow, a feed actually posted something in a reasonable time frame?
 
coincidence
 
@Ginger it returns a proxy instance of the parent class
 
5:22 PM
Dealing with timings in SPDT is hard...trying to make a basic 8-bit calculator
 
5:48 PM
ngl, it's taken me 2 months to realise why R's "generate random numbers" function is called runif: it isn't "run if", it's "r unif", as in "random uniform" ಠ_ಠ
 
Actually, "run if" could make sense if it generated booleans, I guess?
 
@cairdcoinheringaahing :) that would have got me too!
 
Nah, runif(x) generates x random numbers from a U(0, 1) sample
 
ngl?
 
5:49 PM
"not gonna lie"
 
got you
you are brave coding in R
 
My stats unit requires it, I'm not doing it by choice :P
 
Introducing SQR, my new combination of SQL, PHP, and R, for an optimim™ coding™ experience ™
 
Do you mean SPQR?
 
For the statistician building a website where you can do statistical analysis on random databases
 
5:56 PM
@WheatWizard No, it's just a recursive acronym :p
 
@RadvylfPrograms Isn't this just excel :P
 
@RadvylfPrograms Depending on who you ask
 
@cairdcoinheringaahing :) I am told it is fine as long as you forget everything you thought you knew about programming and are happy to be beaten by a snail
 
I read that like "beaten up by a snail"
 
:)
 
5:57 PM
Which would be unpleasant I'd imaginw
 
I don't think it is that bad
 
The fact that it doesn't have += syntax is endlessly frustrating to me
 
@RadvylfPrograms slimy and humiliating
 
@graffe that goop gets everywhere
 
@Romanp yep!
 
5:57 PM
and is impossible to get off of clothes
 
wait does r actually not have augmented assignment
 
@cairdcoinheringaahing I played with julia once. Their string concatenation using * is very odd
 
Slugs actually use their slime for self-defense, by coating other bugs' stabby and crunchy parts with it
 
maybe tidyverse or whatever that thing is called has it
 
5:58 PM
@graffe Ooh that sounds weird
 
@RadvylfPrograms they passionately defend it
from a pure maths point of view
 
@graffe after staring this answer down long enough to figure out why it does that operator assignment it makes a bit more sense when you realize that you can multiply things by juxtaposition
 
@UnrelatedString I have to code a sum over a list thing (aka, sum of f(i) for some complicated f) and have total = total + summand * (2*i - 1) / n (where summand is a super long expression ಠ_ಠ
 
is there also no reduce function
 

« first day (4100 days earlier)      last day (735 days later) »