« first day (3731 days earlier)      last day (1099 days later) » 

12:02 PM
@rak1507 congrats
 
fgitw ftw :P
 
@rak1507 gg
I'm so close to 200 rep
so I hope I can reach 5% of your score
 
codegolf.stackexchange.com/questions/223701/shrinking-triangles is there any language where \n is print and any other character is 'push character to the stack'
 
thanks
 
because that could get a 0 score
 
12:13 PM
@rak1507 I wouldn't think so
go implement it
 
hmm maybe I can use cat or something that fails with posix non compliant files
 
@rak1507 idk this barely makes sense
 
it does make sense but I don't think it's a very good challenge
if there's a language like I described a score of 0 is trivial
 
@rak1507 that's almost keg
Except newline doesnt print it just pushes newline
 
yea, need newline to print :/
 
12:24 PM
@cairdcoinheringaahing really? Gee I wouldn't have thought you'd remember cairds first username ⌍P
@StackMeter everyone
Or however many people you like
 
I'm just looking through the transcript of yesterday
and stupid happened
why did so many people switch icons
 
@rak1507 something like Retina or Sed or HTML?
 
@pxeger in reference to what
 
forgot to include the Reply part, sorry, edited
 
maybe
 
12:33 PM
@StackMeter because it was a funny thing to do
 
@rak1507 IIRC newline is print in Pyth
@Lyxal TBF I've been caird for 4 years now, my memory could be bad enough to have forgotten :P
 
@Lyxal I would imagine
 
@cairdcoinheringaahing yea, but it prints even without a trailing newline
I need
a\n
aa
to only print a not aa too
 
@StackMeter we also thought it'd be an interesting experiment to see how well we could impersonate each other
 
@RedwolfPrograms @Lyxal stop it - get some help
 
12:40 PM
Oh I missed the deadline for the counting challenge!
 
please stop
 
23
Q: Cooperative Counting

jumbotFinal results 1st place goes to Follow! Honourable mentions to The diff predictor (2nd), and Simple Killer, Low Blow and High to Low (joint 3rd). Other winners: (score competition) 1st - Simple Killer Honourable mentions: The diff predictor and Naiive. (wins competition) 1st - Crab Honourable men...

 
@pxeger no but seriously, he needs to stop it
 
@AncientSwordRage If you submit an answer, jumbot might be nice enough to add it in
Given that it's only a couple hours after the deadline
 
@cairdcoinheringaahing I submitted my entry after the deadline by accident, so maybe? But they've already accepted answers etc.
 
12:44 PM
@AncientSwordRage FYI you haven't named your bot :)
Worst case scenario is that it's just not eligible to be accepted as the winner
 
@Lyxal why do you actually ceasellessly rickroll people
 
@StackMeter I haven't lately
That's just my reputation for being a rickroller kicking in
 
@StackMeter that was actually RedwolfPrograms, temporarily disguised as Lyxal
 
Advice for formatting an answer to repair the keyboard: I can produce all the desired characters in Cubically, but they break roughly in thirds: some I can produce invoking Cubically with no flags, some with one flag, some with a different flag.
Should I list the programs sorted by result-as-specified-in-OP, indicating on each line what flag (if any) used, or list them in three blocks by invocation flag?
 
12:51 PM
Probably 3 code blocks, something like this
 
@nitsua60 the latter, though either is good if you note the flags required
 
@cairdcoinheringaahing thanks, fixed now
@cairdcoinheringaahing true!
 
# Language, score XX, YY bytes
## these require `-x`
```
code
```
## these require `-y`
```
code
```
 
oh sup mod
 
thanks @pxeger @StackMeter
 
12:52 PM
@StackMeter hello
Is it me you're looking for
 
lol no
 
@StackMeter he's not actually a mod on CGCC, but if you're a mod anywhere on the network then you get the diamond in chat
 
though I did push an edit to a closed question
 
@AncientSwordRage I feel like in the past month or so we've crossed paths in "native" chats more than in years of TL....
@pxeger (except that chat is bifurcated, and diamonds don't cross the SO/SE boundary, IIRC)
 
Pretty sure they do cross the SO/SE/MSE boundary
 
12:54 PM
good old SE weirdness
 
Isn't the Teacher's Lounge a MSE room?
 
I thought I recalled having no privileges in the Tavern, but I might be blanking.
@cairdcoinheringaahing Yes, though in the old days TL permissions were hand-granted upon diamond-receipt (again, IIRC), and after The Incident they were not. And now I believe they've hand-crafted roles/permissions for that particular room.
 
@nitsua60 I suppose you'd know more about it than me :P
 
@nitsua60 what is the incident
 
@cairdcoinheringaahing I might have a credible claim to know more; my memory might be going a bit... wooly, though.
 
12:58 PM
@StackMeter A prominent moderator was fired from her positions
 
that's a better way to put it.
 
The Incident™ (ominous musical sting) (faint screams echo in the distance) (car alarms go off)
 
@nitsua60 I think that's true
 
Which was the impetus for a brief shutdown of TL, then reparenting of the room (a kludge to reset most-everyone's permissions), then later a more-intentional rethinking and rebuilding of some mod tools, incl. the TL.
 
The reasons behind the firing were considered tenuous/unwarranted by a lot of users and an abuse by SE, so a lot of people and moderators resigned their positions and suspended activity. If you want to find out more, take a browse around mother meta and the most upvoted questions
Or read Dennis' resignation and follow the links
 
1:00 PM
caution: rabbit-hole ^^ ahead
 
extreme rabbit-hole, prepare to spend a couple of hours scrolling through a bunch of outrage threads
 
(I don't mean Dennis' resignation, specifically; just the larger Incident.)
 
and please don't drag the rest of this chat into said rabbit hole
 
:thumbsup:
 
^
CMC: Given an integer n, output the semiprime factors of n. You can assume it'll always have at least one semiprime factor
 
1:03 PM
wait Dennis resigned
the guy with >200k rep
 
@StackMeter Yes, for the reasons stated in his resignation (linked above)
 
resigned as moderator, not from the site completely
although he's not been active for some time anyway
in talk.tryitonline.net, Feb 3 '20 at 16:39, by Dennis
Hey all. I'm sorry for disappearing on you and for taking bad care of TIO lately. I'll try to explain what's been happening, although it's not easy for me to talk about this...
 
that's a low blow
but anyway
 
Let's not get into this here and now
 
let's get into lighter topics
 
1:06 PM
4 mins ago, by caird coinheringaahing
CMC: Given an integer n, output the semiprime factors of n. You can assume it'll always have at least one semiprime factor
 
when did you all become trusted users, and in what site?
 
Trusted user is 10k right?
 
@cairdcoinheringaahing so output all numbers that are products of two primes?
no I mean
at 200 rep
you get an instant 100 rep boost to all accounts
 
@StackMeter no, output all divisors of n that themselves have exactly two prime factors
 
when did that happen for you
@pxeger ok
 
1:08 PM
do you? I don't think I noticed that happen to me
does that mean it's impossible to ever have 250 reputation for example?
surely not
 
@StackMeter March 23, 2017
@pxeger You can lose reputation as well
But when you first hit +200 on any site, you get an "association bonus" of +100 whenever you join a new SE site
 
I feel like I've been on 29/100 towards the Fanatic badge forever
 
1:31 PM
I feel like it's hard to stay at 29...
 
updated my bio in celebration of 300
 
1:51 PM
@cairdcoinheringaahing oh by the way all your badge numbers are a multiple of 7
 
@StackMeter sounds like P-hacking
 
@pxeger no
just gave them 2 upvotes and boom, done
 
@StackMeter And I have exactly 70 unique badges :P
 
seven-ception inbound
 
Get wrecked Lyxal :P No longer on 69 :P
 
1:59 PM
in cinemas, today
@cairdcoinheringaahing oh no
I've cast 69 votes
fixed
 
the fgitw effect is mad, my top 4 answers are all fgitws
 
lol
"well, well, well, if it isn't the consequences of my own actions"
 
Any UserScript experts know how to "type" a string into where the cursor is currently placed?
 
2:19 PM
spaces > tabs
and you can't tell me otherwise
a tab is just two spaces combined
 
@StackMeter false
 
@pxeger and why
 
A tab is a totally different character from a space, and it definitely isn't two spaces
 
ok then
i'mma make it two spaces
make sure you check the sandbox.
 
@rak1507 Take a look at my top 5 answers. They are in order: the first answer to my +100 question, a "loophole" I noticed in a challenge, my first and only Husk answer (a 2 byte FGITW), a FGITW Jelly answer and my Enigma machine
Really, only one of those deserves that many votes and it was the Enigma machine
 
2:47 PM
newline-linefeed war coming soon
 
@AncientSwordRage Nice!
 
I'm pleasantly surprised for only spending 2 hours on it
 
3:03 PM
@AncientSwordRage sup
have you heard the news
the TAB-SPACE war is resuming today
 
@pxeger A tab can be however many spaces you want - 2, 3, 4, 8
 
@user Even 7 if you're that crazy :P
 
Or 13 if you're foolish enough
 
"\t" > " "
 => false
 
or F(F(F(F(F(F(F(F(F(F(F(F())))))))))))
where F is the fibonacci functionand the space in the midlle is 300000
 
3:16 PM
@JohnDvorak Indeed, but " " > " "
 
3:26 PM
Does someone know how to get attribute of an element in HTML template form using Flask in python, I would like to avoid BeautifulSoup
 
3:48 PM
Alright, posted my first answer ever. If anyone's got a moment to take a look and let me know if it needs obvious improvement, I'd be grateful.
 
@nitsua60 Welcome to PPCG! It was a nice answer to my challenge
 
Ohmigosh, it's actually pretty short, too! (I think third-shortest to complete the set, at this point.)
@Wasif Thanks--I've lurked for years, but some alignment of the stars (reading answers on yours led me to user XD XK, led me to cubically, led me to not sleep much last night) got me to jump in the water =)
 
@hyper-neutrino btw, Branch inspired me to start writing my own binary-tree based language :D
 
4:09 PM
Cubically looks pretty complicated but interesting.
 
4:20 PM
@cairdcoinheringaahing o cool :D look forward to seeing it
 
4:33 PM
@hyper-neutrino Well, I currently have a Hello, Worldddddddddddddddddddddddddddddddddddddddd... program written :P
 
@cairdcoinheringaahing yeah, that 2 byte husk getting so many votes is crazy, damn hnq
 
well, I was worried about those flags, but fortunately 4 and 5 are allowed characters anyway, so I don't have a problem in making them optional flags
 
CMC If you toss n coins what is the exact prob of their being at least 4 heads in a row?
 
Is there a version of .pop() for Python lists but with a default if the list is empty?
 
no but you could potentially do (list or [default]).pop() but that's not very golfy
 
4:48 PM
@rak1507 "Production" code, not golf :P
 
oh
why would you use mutation in production code :P
 
Recursive functions
 
pure functional programming ftw
 
I am tempted to put this on main if anyone thinks its interesting enough
 
yuck
@Anush it'll be fgitw-ing the formula and then porting it
 
4:50 PM
@rak1507 yes
 
@Anush Isn't it always 1/16 (assuming \$n > 3\$)
 
@Anush which is boring
 
Or am I misremembering probability?
 
I don't think so
I'll do a quick apl simulation
 
@cairdcoinheringaahing no that can't be right. This is 4 consecutive heads anywhere in the sequence of coin tosses
@rak1507 cool
@cairdcoinheringaahing it tends to 1 as n tends to infinity
 
4:51 PM
@Anush I'm probably misremembering probability then :P
 
@cairdcoinheringaahing you were thinking of the first four coin tosses I think
HTHTHHHH has a sequence of length four heada
 
Looks like there is an oeis sequence based on that: oeis.org/A50232
 
@Anush No I was thinking "Each toss is independent, and has a 1/2 chance of being heads. Therefore, for 4 heads in a row, it's (1/2)^4 = 1/16"
 
@ManishKundu cool! I should make 4 a variable maybe
 
slightly more interesting than a closed formula
 
4:54 PM
> probability is a(n)/2^n
 
@cairdcoinheringaahing right but what about the example I have above?
 
> a(n) = 2^n - tetranacci(n+4)
 
a(n) = 2^n - tetranacci(n+4)
i think this can be extended to any variable k?
 
@Anush Idk, probability isn't my favourite bit of math :P
 
it is probably 2^n - k_nacci(n+k)
 
4:55 PM
@cairdcoinheringaahing lol, impressive :p
 
Personally, I'm more of a (real/complex) analysis and number theory fan
@hyper-neutrino I turned it into an actual Hello, World program :P
 
I am getting the same numbers on changing the values of k lol
 
I look forward to the first code answer!
 
I have an idea
 
Ah makes sense. a(n, k) = a(n+1, k+1)
 
4:57 PM
I'm going to be really mean, and have the only form of conditionals be 1) if x , take left branch else take right and you have to eval the string stored on the branch and 2) if x jump to program root
 
APL: {a÷⍨+/∨/(⍺⍴1)⍷⍉2⊥⍣¯1⍳a←2*⍵}
slow though
considering it generates all possible sequences
 
are you computing k-nacci values or something?
 
no, generating all sequences and then finding which ones have k 1s in them
 
knacci would probably be very slow as the naive recursive solution would not memoise
 
5:01 PM
that's what i'm doing
 
back
 
Q: Name for a binary-tree based, self-modifying language? Cannot begin with ABCDFGLNORSUVW
Currently thinking Yggdrasil
 
why not ABCDFGLNORSUVW
also xnor is my pitch
 
I've already got languages whose names begin with those letters
 
5:09 PM
tree-mendous
 
5:21 PM
0
A: Sandbox for Proposed Challenges

StackMeterReject tab, return to linefeed WARNING - SUPERFLUOUS STORY AHEAD On September 3rd 2015, at 5:26pm, Dennis, one of the most prominent users of this site, posted this question. In it, he claims to have "proven" the superiority of tabs. This, of course, is illegal. Therefore I have wrought to punish...

 
Thinking about posting this soon; any final feedback?
 
@hyper-neutrino I like it, a step by step would be cool
 
@Razetime added one; thanks for the suggestion
 
@hyper-neutrino should 'at least' be 'less than or equal to'?
 
@rak1507 no. i changed it to "greater than or equal to" for clarity
 
5:33 PM
ok, thanks
 
How about in python?
@rak1507 does that answer my CMC?
 
yes, but not just for 4
 
Nice! Can you put it on tio?
Is the hard to make it work for 5?
 
no, it works for any k
 
That's pretty cool! I would love to try it out
 
Introducing Yggdrasil, a self-modify esolang based on binary trees!
It's really not nice to use for anything non-trivial :P
 
Why's language development so popular all of a sudden? :p
I've got three bounties going already and two new languages have been hello worlded during that
 
HN's Branch inspired/reminded me that I meant to create this years ago :P
 
6:01 PM
@Anush here's how it works
 
@FrownyFrog that is very cool!
 
you'd just need to make the initial array depend on k
 
I am trying to dig out the python code that found the longest sequence of heads in a string
someone posted it early
 
CMC (Chat Moderatelydifficult Challenge): Make a "golfing language" where there are only four valid characters in a program
 
found it
 
6:04 PM
@RedwolfPrograms Brainfuck but the cells wrap around and there's only 30k cells in the tap (wrapping): +>[]
 
@RedwolfPrograms take every block of four characters, turn it into base 4, get a number from 0 to 255, encode into jelly, ez
 
how do you use lambda functions in python? If I want to count the longest run of Hs I think lambda s:max(re.split('[^H]',s),key=len) does it (maybe)? But how do you use it on a string?
 
same way you call a regular function
 
got it. f = lambda s:max(re.split('[^H]',s),key=len)
return f(s)
what is that split actually doing?
 
split on any character that isn't an H
 
6:12 PM
ah I see! ^ means the start of line in regex so this confused me
as in grep ^afasg file.txt
 
it does, but within a [...] character class, it means negate if it's the first character
 
@hyper-neutrino thanks
where did you get the general recursive formula for my CMC?
@FrownyFrog where did you get this formula?
 
it's in comments :D
 
@FrownyFrog here ? tio.run/##bY/BboMwEETv/…
 
yeah, that's why i wrote it
why the formula works
multiplying by 2 and subtracting some previous index computes k-nacci apparently
 
6:24 PM
did you not look it up?
 
@RedwolfPrograms Unary, but a, b, and c can be used as comments :P
 
well if A[n] = A[n - 1] + A[n - 2] + ... + A[n - k]
then since A[n - 1] = A[n - 2] + A[n - 3] + ... + A[n - k - 1]
 
I didn't look it up
 
then A[n] = A[n - 1] + (A[n - 1] - A[n - k - 1])
 
cool
 
6:32 PM
I will award a +300 bounty to anyone who writes a quine in Yggdrasil, and +100 for any non-trivial answers in it (I'll judge what counts as trivial, but generally it'll be "could I have done that?")
 
now I am worrying about the cases where the coins have different biases
 
I'm writing up docs for it now
 
is this proven TC yet? just curious
 
Not proven, but I think it is, as memory isn't limited and you can loop through 2 different conditionals
 
6:48 PM
codegolf.meta.stackexchange.com/questions/8474/… @Razetime do you have your fixed version?
 
@rak1507 That hasn't worked (even with the fixed version) ever since SE introduced changes to the site design
 
oh
shame, it looks cool :(
 
@rak1507 TBH whenever I used it, I just preferred scrolling through active proposals
 
fair enough
 
7:36 PM
@cairdcoinheringaahing my god it's real
rip
ran out of upvotes for the day
@user you win
 
8:30 PM
i should probably vote more overall
i seem to pretty much never hit my voting cap
 
8:41 PM
How do you vote 40 times in a day if the vote cap is 30?
 
i think the question and answer upvote cap is separate
 
Oh
 
@user The extra 10 votes are specifically for questions
 
9:10 PM
@NewSandboxedPosts I'd suggest just removing the "superfluous story" from this entirely. Challenges should be direct and straight to the point, and it doesn't add anything to the challenge as a whole (@StackMeter)
 
Why do people do things like that?
 
How else will the good users of CGCC find out about Skylanders Swap Force Countdown errors?
 
🤨
 
9:40 PM
"a fictional error"
 
9:57 PM
I invalidated the spam flags, by the way. Spam is for posts that exist just to promote a product or service without disclosing affiliation (although I use it for other conventionally "spammy" posts since I don't exactly agree with spam just being restricted to advertisement / promotion); in this case, this is just not an answer and is just totally irrelevant in every way.
 
should it be flagged as not an answer?
 
I thought it was an advertisement for a game?
 
> spam
Exists only to promote a product or service, does not disclose the author's affiliation.
That promotes the game, at least indirectly
 
I didn't think it was an advertisement, but maybe I misinterpreted it. I thought it was a severly malformed challenge...
 
At best, it promotes an error closely tied to the game, which IMO, counts as "a product or service"
 
9:59 PM
oh? my apologies then; i guess i missed the reference since i've never heard of whatever that post was talking about, the username wasn't a product name, the profile didn't have a URL, and the post didn't have any links in it
 

« first day (3731 days earlier)      last day (1099 days later) »