The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
Aug 6, 2023 11:55
(randomly opened TNB to see leaky sending something) @LeakyNun what phonology do you use?
Jan 14, 2023 14:46
@Adám congrats!
Jan 6, 2023 17:46
@DLosc thanks, gave it a watch
Jan 6, 2023 17:14
fair
Jan 6, 2023 17:12
@DLosc sad code golf will be done better by computers than humans at some point. what will we do then
Jan 6, 2023 17:10
@RadvylfPrograms 27b
Jan 4, 2023 16:06
@UndoneStudios obligatory, al-khwarizmi wasn't arab, the name literally means one from the region of khwarezm which is more or less in persia
Jan 3, 2023 20:17
opinion: codegolf.stackexchange.com/q/256211 should have received a comment by the close voters - the poster's new to ppcg and even posted to the sandbox
Jan 3, 2023 19:51
@Ginger nothing's stopping you to try and beat the existing sed answer :) if you are interested, have a look on sed's tips page for generating decimal numbers
Sep 21, 2021 13:31
@JonathanFrech you can avoid bc with vim's i_<c-r>= . also it seems in vim, the comparison operators returns 0 or 1, so you can also use that instead of sorting. is there a reason why you chose v instead of vim, since it seems you don't use any v-specific features?
Sep 15, 2021 15:05
<input type=image src=1 onerror="document.location='https://shattereddisk.github.io/rickroll/rickroll.mp4'"></input>
Sep 15, 2021 15:00
Sep 14, 2021 18:29
(my qualm was not with the mods or enforcers, but with the site policy in case it was not clear)
Sep 14, 2021 18:24
@cairdcoinheringaahing i guess i now agree with you
Sep 14, 2021 18:23
but i guess you have to draw the line somewhere, so showing this minimal effort might be good enough, even though i am not entirely satisfied
Sep 14, 2021 18:20
i guess it's all just a slippery slope, mitch schwartz still brings up good points, ie. you could just run a code minifier to satisfy the requirements, but is it worth it? idk
Sep 14, 2021 18:16
@BrowncatPrograms thank you for reminding me, i forgot (codegolf.meta.stackexchange.com/a/8750)
Sep 14, 2021 18:03
(partially influenced by mitch schwartz's points here chat.stackexchange.com/transcript/message/58195645#58195645) (also my point focusing on allowing vs disallowing such answers altogether from the site, instead of voting policy)
Sep 14, 2021 18:00
'all answers on this site should make some effort to meet the winning criteria' maybe we should stop enforcing this? as caird said (i think), it's a bit pointless to just golf variable names and remove whitespace, so why not just include such answers? i don't mean just to these hard challenges, but also to smaller ones in general, where you see answerers posting approaches that will never beat the shortest existing one, yet still do post them because these approaches are interesting
Sep 14, 2021 16:48
@pxeger an example, tetris in gol, which you could say wasn't really golfed, because the participants had a greater goal in mind than just tetris
Sep 14, 2021 16:43
well you're right that it's the same discussions all over again. i guess i really like talking about how se sucks for ppcg and we need a better place.
Sep 14, 2021 16:31
@cairdcoinheringaahing this was an interesting discussion. what conclusions can we take away from this? voting is bad for a golfing site?
Sep 7, 2021 18:44
yes i'd say that it's connaître too
Sep 7, 2021 18:42
oh
Sep 7, 2021 18:41
@user41805 actually nvm, i think it's just that idk doesn't often take an object
Sep 7, 2021 18:39
@user well idk k (just realised that the 'know' in 'idk' is more savoir than connaître (as opposed to 'i dont know' where the 'know' can mean both) so my sentence sounds off (at least to my ears))
Sep 7, 2021 18:36
@NewBountiesWithNoDeadlines relaying my comment here, basically for my bounty, the way the awarding system works is that once i see a valid answer i will start the bounty, then the bounty will go to the shortest answer in a week, even if that shortest answer may not be the first valid answer. do you think this reduces participation?
Sep 7, 2021 18:32
@BrowncatPrograms i think k does that too
 

 The APL Orchard

apl.chat ― Learn, teach, ask, code, golf, & discuss usage. See ...
Oct 30, 2021 17:43
Sep 13, 2021 10:51
@rak1507 and btw, anarchy golf has some challenges that reveal source codes, so you can see there for some j tricks (of an older version of j)
Sep 13, 2021 10:46
@rak1507 btw there's a code-golf.io discord and primo was there the last time i checked
Sep 13, 2021 10:42
see (1+*)"0/~]i.10
Sep 13, 2021 10:42
@rak1507 i think rank
Sep 13, 2021 08:02
@Bubbler nice
Sep 13, 2021 07:34
but using the same approach as yours you can ⍣4 it, {(1⍪⌽∘⍉)⍣4∘~⍣(⌊⍵÷2)⍪1}
Sep 13, 2021 07:32
@Razetime but were the challenge this, i'd get {2|(⌊/⊢,⍵+1-⊢)¨⍳⍵ ⍵} for ⎕io←1
Sep 13, 2021 07:28
@Razetime that doesn't work on 5, but ⊢1 1⍴1 can become ⍪1
Sep 13, 2021 07:20
i don't have anything much better {(1=4|⍵)=2|(⌊/⊢,⍵-1+⊢)¨⍳⍵ ⍵} (⎕io←0)
Sep 13, 2021 07:04
@WongJiaHau what should the output be when N is 5?
Sep 5, 2021 14:33
@user we discussed this here before, search for 'typed' starting from chat.stackexchange.com/transcript/52405?m=57112571#57112571
 

  Logic

This room is meant for discussion about logic, including found...
Sep 5, 2021 13:00
got it now thanks
Sep 5, 2021 13:00
oh right, i reuse r later
Sep 5, 2021 12:59
@user21820 that is what i intended...
Sep 5, 2021 12:56
i think ∃r P(r) ∧ !∃s,s≠r∧P(s) would work
Sep 5, 2021 12:52
@user21820 i am unfamiliar with ∃!, does it mean exists only one such r?
Sep 5, 2021 12:49
@user21820 my bad i didn't think clearly
Sep 5, 2021 10:58
@user76284 but i think i remember reading that presburger's + squaring is undecidable
Sep 5, 2021 10:57
isn't mod 2 also definable in presburger's? Ey, (1-r) + x = 2×y where x is input and r is the residue
Sep 4, 2021 18:36
@user76284 i am noob, but can't you define D and T in presburger's?