« first day (4121 days earlier)      last day (738 days later) » 

12:01 AM
curried index operator? interesting
also if you're thinking keyword arguments should have the same syntax as eventual dict literals, maybe some kind of arrow?
because walrus looks fine in the function call but it might be weird elsewhere
 
Hmm, <- maybe?
 
This'll be like R but backwards
 
Walrus /should/ look fine in dictionary literals
 
12:02 AM
<- makes more sense in the logic of assignment but -> makes more sense for mapping
 
Yeah
 
[somekey := 3]
 
@emanresuA BCMC: Decrement a signed integer
 
People would be less likely to confuse foo(bar->baz) for assignment
 
@DLosc Ooh
@DLosc Close
 
12:13 AM
wait no
i accidentally made a program that moves an unsigned int away from zero
 
**BCMC: Eventually print all integers
 
@emanresuA all positive integers? or all integers
 
all integers
 
i do have a "count up from 1 forever" program already written: dloscutoff.github.io/Esolangs/BitCycle/…
 
12:18 AM
@des54321 17 bytes
 
@emanresuA Once each, or can zero be in there twice?
 
I'ma say repeat as much as you want
 
@JoKing Oh that's pretty
 
0
Q: Palindromic Powers

Number BasherPalindromic Powers Powers We define an important power as a number that can be represented as \$ x^y \$ where \$ x ≥ 2 \$ and \$ y ≥ 2 \$. Palindrome We define an important palindrome as a number that is the same written forwards and backward, and is greater than 10. Thus, the last digit must not...

 
12:21 AM
@DLosc dloscutoff.github.io/Esolangs/BitCycle/… this works, but its decidedly not pretty
 
@des54321 Unfortunately, doesn't work either. :/ Input of 0 outputs 0 rather than -1.
 
@DLosc oh thats elegant
@DLosc ah shoot youre right
 
@DLosc yep and i think that's the only problem
 
Gonna submit that to the dev survey
 
CGCC is a great way to learn all the ways you shouldnt write code
 
12:23 AM
maybe try detecting if it is 0?? ;-)
@des54321 yep
pep8's the most happy of all time
Oh and last time for a homework assignment
i sent my teacher this
 
@des54321 arguably, I'd say it's helped me in ways that uni/traditional ways of learning code can't
 
def               M_a_I_n ():
    for a   in range  (~x +1,x +1)  :
      X=  1000  -a   *a*(  1+  a)
      print   (a  ,X/  2, a** 3+X /2)
 
@lyxal Where's the "trying stuff until it looks like it works" option? smh
 
hhh
wait i want to know if you guys know what hhh mans
*means
 
I don't, but I'm going to guess it means laughing?
 
12:26 AM
@lyxal oh it certainly helps get a grasp on how programming langs work, but often by doing things to those languages that you should never ever ever do to them in actual dev work
 
@DLosc can "smh" mean "shaking my hand"? s
@des54321 like indenting by one space or assigning a lambda function
 
@des54321 but also playing the meta-game of golfing language creation has taught me heaps about things like functional programming, repository management, efficient teamwork and more
 
yah
the most important part is code-golfing doesn't teach you how to code
it does the exact opposite
 
 
it lets you explore the intricacies of a language and encourages creativity and problem solving
5
 
12:28 AM
^
yeah i learn a lot of interesting thing about python for example
 
One important coding skill that golf does cultivate is the ability to read a spec, boil it down to an algorithm, and implement that algorithm. Also the ability to look at the algorithm you've used and go, "Wait, that part isn't even necessary..."
 
imagine making a steam game with all code golfed
 
@Niko then you'd probably say, that's too long code, let's remove that character
 
there was that really small 2d game with the wizards
 
@lyxal I unironically did this btw
 
12:31 AM
don't remember what it was called, but it golfed all the pixel art and stuff as well
 
@JoKing yah but it's probably very unreadable so probably you won't get a work golfing code unless you get a job on code-golf stack exchange
 
i don't think that is an argument against my point?
 
@NumberBasher the thing about code golf is that its fun to do (a hobby, basically), not becuz its for a paycheck
 
i don't jog because i'm trying to get into the olympics, i just don't jog
 
@AidenChow i know
@JoKing just finding a good message to reply to
 
12:43 AM
Can I just say that a good heck of a lot has changed here over the last 1000 days
I sure have seen a lot happen lol
going from 4 mods down to 1, TNB's most silent days in history, the revamp of code golf, new moderacy, new ROs, new chat culture, new esolangs and new users
Tis been a crazy ride
and I can't wait for the next 1k days
 
That's an impressive streak
 
dang 1000 days, thats like 2.5 years
thats before i even join stack exchange as a whole
 
@AidenChow 2.737851 to be exact
 
Oh damn, in the last 2 years (to the day), I've only missed 2 days: May 14th, 2020 and May 25, 2021
Not sure why, I generally don't do things in may that cause me to be away from my phone/laptop
 
@cairdcoinheringaahing wow impressive
i only miss two days, but its only for 2022 lol
 
1:00 AM
Sandbox posts last active a week ago: Haplology
 
@cairdcoinheringaahing perhaps that lulled you into a false sense of security :P
 
@UnrelatedString Nah, I think the 25th I was working, and just never happened to open SE :P
No idea about the 14th, my memory isn't that good
 
i don't have the slightest clue what i was doing at any point in may 2020 or 2021
 
Oh wait, never mind, yes it is: that was my last day of school, and me and some mates got drunk at the start of the day, makes sense why I wouldn't be browsing SE :P
 
1:12 AM
Don't drink, kids, or you might end up breaking your streak! :P
 
i saw this
is there any way i can make one?
 
Make a what? A golfing language?
 
i am cgcc member for 13 month, and i have visited ccgc for 221 day, thats almost 2/3 of it!
 
@Niko nice!
 
@Niko meanwhile i am for one month but only active for four days
 
1:19 AM
yet i haven’t got enthusiast badge lol
@NumberBasher you are already more active then me currently
 
yah
currently
 
@NumberBasher 400 rep in 4 days, pretty impressive i gotta say
 
i haven’t post any answer or question for 1~2 month
 
@AidenChow 385, and that was because i got very active in posting questions even though it costed me many downvotes
because i started at 1 so the leading downvotes made no impact
I just claimed the informed badge, why did I forget that
@AidenChow plus, 100 rep is for getting past 200 rep
 
1:35 AM
downvotes are also... not that big an effect on rep
considering it takes five to counteract one upvote
 
yeah
I said i won't be over 50 rep like yesterday I think in the chat
 
;-) i was quite correct
I sort of think CGSE should have more questions for beginners correct me if i'm wrong
 
there's no real way to do that that i can think of
 
@NumberBasher Do you mean, questions that beginners can answer more easily than all the other questions?
 
1:49 AM
especially easy challenges fill up fast with very good answers in all of the popular languages, so to get a head start as a beginner you either make an effort to fgitw on challenges while they're new or pick up an unpopular language
 
Because, we have lots of questions that are beginner programming questions (Hello, World, FizzBuzz, prime testing). It's just that you won't be the first person to answer.
 
@UnrelatedString ye tho i usually just go for unpopular lang (aka desmos), even if u try to fgitw u might still be beaten by someone who golfs better than u
 
koths and c&rs don't really have that issue ofc, but i assume that's not what you're looking for :P
 
0
A: Sandbox for Proposed Challenges

Number BasherLOOONG TEEEXT Definition of long text Long text usually shows emphasis, for instance, loooooool or yaaaaaaaaaay. Usually the vowel is replicated many times. In this challenge we require: At least 3 times, which means yaaay and yaaaay are allowed, but yay and yaay are not. Consistent, which mean...

 
An xkcd quote I don't think is used enough:
> All computers are just carefully organized sand. Everything is hard until someone makes it easy
That might well be the motto of all coding :P
 
2:06 AM
i... am not sure i have ever seen that xkcd
which is weird because i thought i've caught up every week or so for the last like seven years and did a massive binge backwards the first time i discovered it
 
    (widget.getId().charAt(widget.getId().length() - 1) == 'a' ? from0a : from0b)++;
Copilot so badly wanted that to work
but alas, it doesn't
 
it'd be really cool if Java let you do that
 
does java even have a concept of lvalue
beyond just "you can assign to variables"
my c++ is too rusty to say if it would let you do that either, mind you
 
probably
 
2:12 AM
@lyxal all i can find for java lvalues is something in some kind of "expression language" inside java ee, so yeah no
 
no, windows, it is not mostly sunny
there is no sun outside
it's cloudy af
once again, real windows doing a better job at weather than digital windows
 
wait how is the haplology challenge on hnq with only three non-deleted answers
 
¯\_(ツ)_/¯ every challenge here that doesn't get vtc'd goes to HNQ lol
 
i'm pretty sure we have site-specific weights against that
 
2:34 AM
1k views + 24 votes probably equals HNQ
 
oh views factoring in makes sense
it's certainly attracted attention lol
 
what's HNQ?
 
@NumberBasher hot network question
look here: stackexchange.com
 
where's a list of abbreviations?
I hope
16
Q: Matrix Meets ASCII Art

Number BasherA binary matrix represents a shape in the plane. 1 means a unit square at that position. 0 means nothing. The background is 0. For example, the array [[0,1,0],[0,0,1],[1,1,1]] represents the following shape: o----o |////| |////| o----o----o |////| |////| o-...

will be an HNQ...
 
@NumberBasher i assume list of abbreviations specific to cgcc?
 
2:48 AM
but it's 8 votes away so i don't have much hope
 
@AidenChow yep
 
It already is
 
thnx!!!
@lyxal how can you look
 
2:49 AM
@UnrelatedString oh fuck i've gotten three more since
this is going to be a pain in the ass
 
yikes
 
My vscode corrupted, then crashed after I reinstalled it.
5
 
i am sure as hell not upgrading to windows 11 so i guess at some point i'm going to need to get an external hard drive to back up to while downgrading to a normal windows 10 build
 
I once overwrote my vs code settings by turning on setting sync on a fresh install of vs code insiders build lol
 
also worth mentioning the notices after the first did not cause any crashes; the crash was probably something to do with firefox having too many tabs open and discord was just along for the ride
@lyxal lmao rip
 
2:54 AM
When I reinstalled vscode it just copied everything, without me doing anything :P
maybe it was because I hadn't deleted the original yet.
 
i'm curious why 11 means mod abuse blablabla
 
> To delete something using moderator powers, e.g. "Yeah, the post is gone, Dennis 11'd it". mod abuse -> mod abuse!!! -> mod abuse !!11!1!! -> mod abuse !!eleven!1!! -> mod abuse eleven -> eleven
 
erm...
ok
 
quoted from the abbreviations answer i linked
 
because 1 = ! ?
 
2:56 AM
try typing ! without shift
 
@NumberBasher er kinda... ppl usually type a combination of ! and 1's to indicate sarcasm
like this!!!11!1!!!1!
 
the implication is you're mashing the !s extremely sloppily
 
does codegolf tweet every question?
 
@NumberBasher no, i think itll say in the revisions if ur post gets tweeted
 
@UnrelatedString I had to use a different theme to what I was used to for a while until I made my lyxical theme which is just shades of #beedab
 
2:58 AM
or all hnqs?
@AidenChow which get tweeted?
 
nice
how does it actually look
 
Pitch black theme + menu items being highlighted in #beedab
 
which questions are usually tweeted?
 
@NumberBasher there is some kind of algorithm behind it, but idk exactly what that algorithm is
45
Q: How does the twitter bot work?

user188031I heard that there was a twitter bot which automatically posted questions and asked for answers for specific questions on every site. How do they work? Is there an algorithm for doing this or is it purely random? I know that it doesn't tweet closed questions, but that's it.

 
3:03 AM
that's actually pretty nice lmao
 
it is
 
praise #beedab
 
it's basically a rip of another dark theme with accents of my favourite shade of green
 
And that dark theme was a rip of the standard dark theme but with most menu items black
 
3:04 AM
beedab is beautiful
beedab is the greenish colour on canvas
 
so some get tweeted and some don't? ok… i guess it was because of that tweet it became a hnq
 
i feel like there are... very few people who watch the twitter
 
Definitely not
 
i literally forgot it existed until you asked about it
granted i don't use twitter in the first place
but anyone who cares about cgcc just watches cgcc lmao
 
@NumberBasher im pretty sure hnq and tweeting have different algorithms in place
i think
 
3:07 AM
@AidenChow i mean it made it hnq b/c people went down that link?
 
@NumberBasher not sure about that, its hard to know
 
i bet i'm not getting past 400 rep today in hope of the fact that i always bet wrong
@AidenChow just a hypothesis that can;t be proofed
currently 381
let's TRY
 
Meanwhile, the rickroll economy is soaring
 
my friend just sent me a link
which, unsurprisingly...
now 391!!!
 
0
Q: Is it a good chord?

Number BasherIs it a good chord? Definition of a chord: We define a chord as three notes together. Definition of a note: We define a note as a number between 1 and 7, inclusive. As in music, we define 1 as do, 2 as re, 3 as fa, etc. However, the note names are not important. They will not be included in the q...

0
Q: Bitwise XOR of floats

Ovinus RealThis is different from Floating Point XOR, and more in the spirit of a comment by R.. GitHub STOP HELPING ICE on that challenge, but I thought of this idea independently. Given two positive double-precision floating-point numbers, find their XOR as numbers. The answer must have a relative accurac...

 
 
1 hour later…
4:28 AM
so on one of my desmos answers the output is from setting a variable value through an action. in the comments, @Steffan brought up an interesting point and basically said that i could remove the o=0 line (o is output) because I can add the variable anyways by clicking on "add slider" button. do u guys think this is valid, or is it a bit of a stretch to be able to take out bytes in this way ?
 
I think f(x)=[0...eeeln(eeeee)] or even ([0...eeeln(eeeee)],0) is valid...
 
@emanresuA doesnt really "print" it out tho, right
doesnt show the actual numbers in either of them
 
¯\_(ツ)_/¯
You should probably ask someone more experienced than me
 
doesnt print imply that u can see the numbers appear on screen
 
@RadvylfPrograms still bakde potatto
not fix
many bad and crink
 
4:33 AM
 
can u literally just fit an entire program in the flag
 
(for the cloud platforms question lol)
 
@RadvylfPrograms @Ginger @emanresuA any plans for reviving the nineteenth processor?
 
da hell is that
 
4:34 AM
@AidenChow the beauty of Vyxal (TM)
 
@AidenChow WHAT!!!???
 
gorgeous
@lyxal *the beauty of Vyxal jHRM
 
@AidenChow redstone mc computer made by tnb members which died within 3 days...
 
@UnrelatedString (tm)
 
@AidenChow i think there are some praclangs where you can fit everything into a flag but vyxal's large assortment of flags mostly just do pre/postprocessing and affect some implicit behaviors within a program
 
so here we've got a post-processing flag invoking two rule-bender flags on an input supplied by a pre-processing flag
 
@NumberBasher leaderboard of highest rep change during the week
 
i'm not a fan of the behaviour changing flags, the input/output manipulation isn't so bad
 
I think flags count towards the byte count?
 
they don't
 
4:40 AM
i.e. three of those flags would be cheating by my subjective opinion
 
@NumberBasher rather it counts as different lang, doesnt affect byte count
so vyxal without flag is considered different language than vyxal with certain flags
 
@JoKing pretty sure the flag debate got over..
 
It's over, but:
BCMC: Binary to unary
 
that's why i said "subjective"
 
@AidenChow but like why not contain every flag for every possible program
 
4:42 AM
@NumberBasher becuz they might change the language in undesirable ways
 
@NumberBasher define every possible program
 
@NumberBasher like this?
 
@NumberBasher i cant really speak for golfing langs becuz i dont use them, but what im thinking is that certain flags could potentially result in longer programs becuz of how they affect the behaviors of the language under that flag
 
@AidenChow i dont use them either most of the time
 
4:44 AM
 
hmmmmmmmmmmmmmmmmm
 
oh i misinterpreted ur question
i thought u meant just adding all flags every time
 
@UnrelatedString yah
 
the standard loopholes are basically the community's collective list of "things that aren't funny anymore" ;)
 
12 mins ago, by PyGamer0
@RadvylfPrograms @Ginger @emanresuA any plans for reviving the nineteenth processor?
 
4:50 AM
The problem with these types of flags is that they aren't programming in Vyxal -jHRM or whatever, they're programming in vyxal and just moving instructions from the actual code to the flags
 
:| offline for maintenance
... or not
 
@AidenChow will there be an actual answer in vyxal for that question?
 
just used the git command line to push a commit for the first time to github and it feels powerful
 
@JoKing idk, i dont use vyxal lol
 
@JoKing maybe. who knows. certainly not me
 
4:58 AM
lmaoo
i find it interesting that my print 0-100 answer has 3 upvotes but the palindrome answer i actually put more effort in only has 1
 
the latter looks funnier :P
 
@UnrelatedString LOL trueee
couldnt find a better way than just putting a bunch of e's :P
 
@UnrelatedString *former
 
5:22 AM
 
but what's it?
 
> apply newton's method
 
newton's method. what's it?
 
bruh wiki link broken
lets hope india starts making semiconductors so i can buy a bunch of DIP ICs :P
CMP: Thoughts on quantum computing?
 
@PyGamer0 the converge operator would be useful there
 
5:30 AM
@JoKing what is that?
 
f/ converge  {1+1.0%x}/1 -> 1.618033988749895
so you could do {x-f[x]%d[f;x]}/ 0
 
yeah..
 
5:44 AM
Is this K or Ruby?
 
@emanresuA it says K (ngn/k) in the link so probably K
 
@RadvylfPrograms ^ is not a bug, it's a feature, right?
 
6:12 AM
@lyxal oops
 
Thank you DDG for epicly displaying my bookmarks like that
 
... 15kbps
 
i was thinking about a challenge
solving a rubic cube
 
@emanresuA It's mobile data what do you expect
 
*rubik
is it too hard
 
6:18 AM
Been done
 
let me check for dupes
?
 
sounds like smth that would prob be a dupe
 
i am thinking about
must 20- moves?
 
8
Q: Solve a Rubik's Cube

MD XFYour challenge is to write a program to solve a 3x3x3 Rubik's Cube. This challenge is based on this one from 2013, rewritten to adhere to current community standards, and reposted with the original author's permission and help on meta. Input The input should represent an unsolved Rubik's Cube. ...

 
20- moves?
 
6:22 AM
@NumberBasher not different enough to warrant a separate challenge imo
but maybe
 
but 20- is a big restrict
bye for now
 
It'll still get closed as dupe
 
@emanresuA obviously k..
 
^^ thats what im thinking too
unless its super clear its different
 
Nope
 
6:28 AM
i think more to the point there's not too much sense in making a harder version of a challenge that still has no nontrivial answers
 
And asking people to optimally implement an optimal alg is like asking people to do RSA encrytion
 
wait isnt 3x3 gods number exactly 20 moves
 
CMC: Convert input string to base64
@AidenChow yeah
no one has found the devil's algorithm yet...
 
i have no idea what gods number is but 20 moves (or 20 quarter-turns specifically?) seems to be the largest that can be necessary to solve
 
@UnrelatedString ye gods number basically means that
 
6:32 AM
i suppose equivalently it's the number of quarter turns that can take a solved cube to any configuration
oh, 20 moves, 26 quarter turns
makes sense
 
@PyGamer0 Vyxal, 56 bytes: @encode:1|vCbƛ8↳ð0V;ṅ6ẇ÷6↲ð0VW`00`$+vBkAka+kd+\++\/+$İṅ;
corresponding decode: @decode:1|ƛkAka+kd+\++\/+nḟ;bƛ8↳ð0V2ȯ;ṅ8ẇ÷:Lß_WvBCṅ;
 
@PyGamer0 Javascript, 4 bytes: btoa
 
@PyGamer0 does it have to handle utf-8 properly or is the input just ascii
 
does anyone have any tutorials / guides on how to make a koth?
 
@NumberBasher i found this: medium.com/code-golf/…
 
6:48 AM
I was thinking of blackjack
 
4
Q: Simple One Game Blackjack

Eliseo D'AnnunzioThis is a very stripped down version of A BlackJack KOTH contest... This is the goal: Upon the execution: There are two inputs, "H" to hit (have the code deal a card), "S" to stand (Stop getting cards, and let dealer try to win). Coding Rules: There is no betting or splitting of hands, for s...

 
What sort of link is gs://scenic-bucket/ul2/ul220b/checkpoint_1870000 ?
 
As in what is gs?
 
6:50 AM
48
Q: What does gs protocol mean?

Salvador RuedaI'm playing with Google Speech Recognition API After a successfully Getting started I'm trying to understand and made some changes in this first example but I don't know what "gs" protocol is and how to set it to use my own audio file. sync-request.json { "config": { "encoding":"FLAC",...

u should probably search these questions urself instead of asking here
 
Yah I was sure there'd be a dupe...
 
yeah, u can look for dupes urself with a good search
 
Thanks! How on Earth did you search for it? I guess I didn’t try “gs protocol”
 
@graffe i typed in "what is gs://" at which point google suggested "what is gs protocol"
so i searched that instead
 
A bot to solve math problems stated in natural language? Scored on how near the answer is, perhaps a formulae
 
6:52 AM
Cool
@AidenChow thanks
@AidenChow what is gs doesn’t work
I am never sure if Google understands colons and slashes
 
@NumberBasher i have no idea what that means but based on ur description it doesnt exactly seem to fit what a koth is about
in a koth, submissions are supposed to interact with each other in some way
this just seems to be comparing to a set of test cases
in which case might be more fitting
or maybe just
@graffe i typed in "what is gs://" into the search bar but did not press enter. the first suggested search what "what is gs // protocol"
^ like this
from there it was simply the first search result
 

« first day (4121 days earlier)      last day (738 days later) »