« first day (3705 days earlier)      last day (1124 days later) » 

12:00 AM
@OriginalOriginalOriginalVI Even that shows it is negative.
-1
A: Sandbox for Proposed Challenges

Mark GiraffeOutput function from one to another I tried to post this twice and I gained negative feedback, so I will put what I have in mind here if anyone is interested. Get a certain output function from one programming language and transfer to another. You'll be recreating an output function that came f...

 
@MarkGiraffe You have downvotes in the Sandbox? That just means you should fix whatever people pointed out is wrong with your question
 
Well, it mentions it must have an object winning criterion.
Sadly, I never thought of some sort.
I can't really post it then.
 
It's a bit unclear what you want to do there, which is probably why someone downvoted it. Do you mean you want to translate code from one language to another?
 
@OriginalOriginalOriginalVI No. Make the same function using a different language.
 
I'd recommend just , it's what most challenges use as their scoring criterion.
Could you give an example of what an answer would look like in your draft?
 
12:04 AM
I don't what I would describe for if I want to make some output function. Not sure if it will work out.
AN example?
 
def printf(text, *args):
    print(text % args)
 
You can add your example answer into the challenge, with a header (like a typical code golf answer)
 
Not to discourage you, but it looks like that could be very easily done in two languages that use the same name for printf or whatever
 
12:07 AM
But one problem with your challenge is that many languages don't have functions, and many languages have conflicting identifier rules
 
Another thing that I should point out is that the function to be made must be completely different than the original.
 
Also, you may want to clarify that the output function has to print to STDOUT (or a file or STDERR). I initially didn't understand what "output function" meant.
 
So no print that's similar to each other.
 
@MarkGiraffe I guess saying the source code must be different would be an observable requirement.
 
@OriginalOriginalOriginalVI I guess that's how I should've explained it.
 
12:08 AM
@MarkGiraffe That's a very arbitrary rule. How similar is too similar?
 
But how would I implement do APL and C? APL usee βŽ•←'foobar' to print 'foobar'. There's no similar syntax in C
 
I agree with ^. The challenge assumes some common aspects across languages, where there's actually none.
 
Then in conclusion: The challenge is unacceptable to certain points and the guidelines for Code Golf SE's challenges.
 
Yeah, sort of.
Maybe you can find a better challenge idea if you try solving existing challenges on our site.
2
 
 
2 hours later…
2:46 AM
0
A: Sandbox for Proposed Challenges

A usernameRiffle shuffle two arrays code-golfarray-manipulation Take two arrays and evenly riffle shuffle them together. Process: Take the first items of each and add them to the array in order. Input 1: [5,6,7] Input 2: [8,9] Output: [5,8] Then the second Input 1: [5,6,7] Input 2: [8,9] Output: [5,8,6,9]...

 
3:10 AM
@flawr would be happy to get an invite
 
 
3 hours later…
6:28 AM
0
Q: Are Unicode friendly golfing languages using the right byte count?

Nordine LotfiThis is probably a misunderstanding/misinterpretation on my part, but, does Unicode friendly golfing languages use the right byte count? As example, this answer is said to be 17 byte but if i copy paste the byte used on a Nix* system like so: echo -n "πŸ˜πŸ˜ƒπŸ’πŸ§ŸπŸ€―πŸ˜ƒπŸ˜§πŸ˜πŸ˜„πŸ€ΆπŸ™†πŸ™†πŸ˜¬πŸƒπŸ§›πŸ˜§πŸ€ " | wc -c ...

 
 
2 hours later…
8:36 AM
@rak1507 it is documented in my math text book like this
 
8:51 AM
@xnor it seems you've already found it:)
 
9:28 AM
@flawr oh that one
 
10:06 AM
0
Q: Inverse Ax+B/Cx+D sized function

WasifLet's assume that $$ f(x) = \frac{Ax+B}{Cx+D} $$ Where, \$x\$ is a variable and \$A\$,\$B\$,\$C\$,\$D\$ are constants. Now we have to find out the inverse function of \$f(x)\$, mathematically \$f^-1(x)\$, To do this first we assume, $$ y = f(x) \\\rightarrow y=\frac{Ax+B}{Cx+D} \\\rightarrow Cxy+...

 
 
1 hour later…
11:14 AM
@Wasif good thing the authors weren't writing a challenge then, as it would have been closed
3
 
 
3 hours later…
1:53 PM
0
Q: Network wide reputation survey

WasifGiven a PPCG user's user ID, calculate how much times is their Each SE site reputation is from average reputation in the Stack exchange sites they have made accounts. Let me explain, If someone's total network reputation (Total reputation in the stack exchange sites he has participated) is 10k, a...

 
2:19 PM
@Wasif I know I've said it before, but the Sandbox is there for a reason. Half of your questions currently have negative scores, and 5/12 of them are closed. This is exactly what the Sandbox helps avoid
3
 
3:09 PM
1
Q: Finding Distant Primes

Manish KunduLet us call a prime \$p\$ an \$(m,k)\$-distant prime \$(m \ge 0, k \ge 1, m,k \in\mathbb{Z})\$ if there exists a power of \$k\$, say \$k^x (x \ge 0, x \in\mathbb{Z})\$, such that \$|k^x-p| = m. \$ For example, \$23\$ is a \$(9,2)\$-distant prime as \$|2^5 - 23| = 9\$. In other words, any prime wh...

 
 
2 hours later…
4:49 PM
how do I fix this
 
It's happening all over the network
 
oh no
who set the interns loose on the CSS
 
7
Q: Non-alignment of questions in every sub-tab under the 'Questions' tab

JustinThis seems to be happening on every SE site whenever I visit the "Questions" tab [on Chrome]: Meta Stack Exchange: English Language and Usage Stack Exchange: And basically every other site in the network... This happens in every sub-tab under the "Questions" tab. Can this be fixed?

 
Well that sucks
 
The gradscript fixes it :P
 
4:59 PM
@ChartZBelatedly gradscript master race
 
@ChartZBelatedly Great, and I've modified the gradscript to not insert its own CSS
I guess misaligned questions are fine as long as there's no green stuff ¯\_(ツ)_/¯
 
All hail Downgoat and his GradScript
 
To honor Downgoat, let us downgoat all his posts!
 
Besides, its a network wide bug, it'll be fixed within the hour :P
 
and upgoat upgoat's posts
 
5:00 PM
Lemme go rename myself upgoat :P
 
did you used to be @user? or is that someone else?
 
@OriginalOriginalOriginalVI You can't, you changed your username too recently :P
 
@pxeger Yup, that's me
@ChartZBelatedly ⍨
 
@OriginalOriginalOriginalVI ΰ² _ΰ² 
 
@ChartZBelatedly (γƒŽ°Π”°οΌ‰γƒŽοΈ΅ ┻━┻
 
5:02 PM
@OriginalOriginalOriginalVI ┬─┬ γƒŽ( γ‚œ-γ‚œγƒŽ)
Please keep the conversation civil :P
 
@ChartZBelatedly (γƒŽ°Π”°οΌ‰γƒŽοΈ΅ ┻━┻
Take that! :P
 
0
A: Sandbox for Proposed Challenges

ophactBuild an interpreter generator code-golf interpreter There are quite a few accumulator-based programming languages featured in challenges across the site, but it's a little tiring to have to write almost identical code for each one. So in this challenge you will write a program which can generate...

 
(γƒŽToT)γƒŽγ€€β”«οΌšο½₯’.::ο½₯β”»β”»:ο½₯’.::ο½₯
 
αƒš(ΰ² η›Šΰ² αƒš)
 
We need an RO bot that just kicks people for emoticon-only messages :P
 
5:05 PM
What does this two emoji mean (Sorry i am newbie in kaimojis)
 
@Wasif Which ones?
 
(γƒŽ°Π”°οΌ‰γƒŽοΈ΅ ┻━┻ is flipping a table, ┬─┬ γƒŽ( γ‚œ-γ‚œγƒŽ) is putting it back peacefully (only saw this one recently).
 
@ChartZBelatedly @pxeger and @Original's posted one
@OriginalOriginalOriginalVI oh thanks, is there any reference
 
I guess you could look up "List of kaimojis"
 
Me and Original use a userscript to insert them for us
 
5:07 PM
ChartZ let me know about this (there's others too)
@ChartZBelatedly Ninja'd (γƒŽ°Π”°οΌ‰γƒŽοΈ΅ ┻━┻
I just installed the team spirit userscript. Any idea what it's for?
 
Something to do with chat ids IIRC
 
Ah
It looks like everyone has a red star next to their name, except the bots, who have blue stars.
 
> In chat, it takes the UserID of those chatting (And those in the starboard), and depending on if it's Odd or Even, puts a Red or Blue star next to their name, placing them on either team.
 
@ChartZBelatedly I don't have enough rep :(
Ah
 
> Furthermore, each team is aiming to get the most points (Everyone's favourite thing to compete for). Points are assigned per star on the Starboard. Which means only the current 10 messages are counted.
 
5:16 PM
Looks like team red's winning, I guess.
 
> Currently, there is no win date, or point limit, or any terminating factor. Although this may change.

Your team (And the opposite team)'s points are showin in a little bar below the chat entry.

Not only does this show who's winning at a glance, but hovering over it shows exact numbers.
 
Looks like it's partially broken, I can't see the exact numbers.
 
Apparently its been somewhat broken for years
I'm going to downvote all your questions on principle unless they were posted in the sandbox first. For crying out loud use the sandbox. Please. Please. — pxeger 23 mins ago
@pxeger Note that targeted voting (i.e. at a specific user) is against SE rules
DVing questions that weren't sandboxed is fair enough, downvoting specifically this users questions that weren't sandboxed isn't
 
codegolf.stackexchange.com/questions/221069/… idk why this is so downvoted, it's not particularly good but it's not particularly bad either
 
Might be the user's history
 
5:25 PM
It's sad that only 1 person has a bronze badge :/
@rak1507 Some people downvote challenges they don't think are good
 
which is fair enough, but that one seems fine
 
@ChartZBelatedly Wait, how?
 
@OriginalOriginalOriginalVI Look closer :P
 
What's even weirder is that, while only 1 person has a bronze badge, 193 have a silver badge
 
5:30 PM
@ChartZBelatedly Very funny.
 
@OriginalOriginalOriginalVI :P
 
How does one get a tag badge twice?
 
I don't think you can, unless you're Lyxal
 
5:35 PM
@Lyxal What did you do?
@ChartZBelatedly Part of me wants to report it, but I feel like a snitch taking away their silver badge.
 
@OriginalOriginalOriginalVI I'm sure Lyxal can live with just one fewer silver badges :P
 
@ChartZBelatedly the hope was that he would finally get the point and I wouldn't have to actually do it
 
@pxeger I get the point, but targeted voting is still against the rules, regardless of intention. A better version/approach would be to downvote any question that should've been in the Sandbox but wasn't
 
threats of targeted voting that you don't intend to follow through on isn't actually targeted voting
 
they're also not very nice
 
5:48 PM
@pxeger No, but they can lead to targeted voting. Just letting you know what SE's stance on this is
 
1
Q: Double tag badge

Original Original Original VIIt looks like one user was awarded the silver code-golf badge twice at the same time. Their badges page also shows the badge being awarded twice: This looks like a bug. It may have been Lyxal messed something up by traveling in time to get it twice, but if it's happened to others, it may need t...

 
I suppose it could lead to others following my spoken lead
I'll delete it
 
@NewMainPosts Man, the "count all sites, even the 101 rep ones" rule completely skews the data here :P
 
Hopefully the OP will start using the Sandbox now; I think they were under the misconception that "easy" challenges weren't supposed to put in the Sandbox, and that this was an uncomplicated challenge.
 
That isn't a bad thing to think, so long as you're practiced in challenge-writing. IIRC WW barely uses the Sandbox aside from very complicated challenges, but they're also one of 9 users with Socratic, so that kinda makes sense
 
6:02 PM
You also have to be fairly skilled at dupe-searching
 
I once posted what I thought was a 'simple' challenge on codidact and it turned out it was horrifically underspecified! oops
 
6:26 PM
youtube have changed all the icons
it looks awful
 
@ChartZBelatedly Better safe than sorry, though :)
That reminds me, I need to write testcases for a couple sandboxed proposals :\
 
7:10 PM
0
A: Sandbox for Proposed Challenges

ChartZ BelatedlyKeep PPCG running in Game of Life Conways' Game of Life is a well known cellular automaton "played" on an infinite grid, filled with cells that are either alive or dead. Once given an initial state, the board evolves according to rules indefinitely. Those rules are: Any live cell with 2 or 3 liv...

 
Is it possible to move an answer from one question to another? There's one question I accidentally answered with a answer before realizing it was a question. I'd like to re-ask it as a decision problem, and move my existing answer along with its comments and edit history, so I can then continue golfing it down in good conscience.
 
I keep clicking sandbox links, reviewing them, reviewing all the answers near them, then realizing it was sorted by votes XP
 
@Deadcode I think mods can.
 
@Adám Are you a mod?
 
@Deadcode Mods have a diamond next to their username.
 
7:25 PM
@OriginalOriginalOriginalVI In the main site or in this chat? Or both?
 
@Deadcode Only in the main site, I think
 
@Deadcode No, though sometimes I wish I were.
@Deadcode @OriginalOriginalOriginalVI Even in chat.
 
@AdΓ‘m I couldn't see Jo King's diamond here
Oh, do you mean the chat profile?
 
Both there, and when active in chat (apparently not in the transcript). Look e.g. in this room (mods are usually teeming there).
 
@AdΓ‘m Ah, I see
 
7:34 PM
Also, their names are blue.
 
I was really confused what a "super-user-moderator" was and how one gained those privileges before I realised it means "moderator on superuser.com"
 
Haha, yes, that's what I assumed it was.
 
CMC: Starting with this GoL configuration, place exactly one living cell anywhere on the board so that, when run, the final board state is all dead cells
There is, as far as I can tell, exactly one solution, and it takes 14 generations to fully kill every cell
 
7:52 PM
was that not a question in the sandbox at some point?
 
@pxeger I have a similar question in the sandbox, but it allows placing as many cells as you want, and they have to be outside of the CGCC bounding box
 
@H.PWiz Would you be okay with me synthesizing what you put in pastebin.com/c9D77mU9 into what I feel makes a good explanation in steps, one edit at a time done directly to the answer, instead of doing it all at once and showing you the edit (e.g. as a pastebin) for your approval before committing it? I would prefer that, as I feel I work much better editing a bit at a time.
 
@ChartZBelatedly ah ok
 
@pxeger The answer to the CMC was found while writing that proposal :P
 
You'll all be pleased to know the backend of my Try It Online clone is nearly finished!β„’
2
 
7:56 PM
@pxeger Great! How many languages will it have to begin with?
Will it have all the ones TIO currently has?
 
at the moment there is only Python, but it should be very easy to add more
 
So that means people will be able to link Python 3.9 TIOs. As well as 3.8-final.
 
yes
It uses Docker images so it will be very easy to update languages
...at the cost of disk space :-(
 
Personally I'd really like to be able to link TIOs that use the latest version of PCRE2. The one on tio.run is so out-of-date it doesn't support molecular lookahead.
 
@pxeger Presumably you'll be able to clone tryitonline to add the languages on TIO?
 
7:58 PM
And also has some bugs that were later fixed.
 
@pxeger Oh wow. Is it an actual clone as in "git clone" or did you re-implement stuff?
 
yes, although the wrapper script interface is a little different
No, complete rewrite. The architecture is completely different too
This is why I haven't been golfing much the past week :d
 
Oh, how about the urls for execution?
 
it's not live yet
and it doesn't have a frontend either
 
I meant what comes after the domain. It'd be nice to have a drop-in replacement, only changing the domain.
 
8:01 PM
I might add a TIO-compatible interface then, but currently it's entirely different
TIO uses websockets, for example, and mine is just REST
 
Then it won't be possible to interrupt a run, I guess.
 
not currently no
I just want a MVP to start with, gimme a chance!
 
@pxeger Oh, by all means. Care to share what you do for sandboxing?
 
@pxeger Never announce coding projects in TNB. We always want to know everything :P
2
 
8:04 PM
plus control groups for resource limiting, and good ol' /bin/timeout for time limits
the only problem right now is that it doesn't actually send the output
 
@ChartZBelatedly bottom left of the 2nd C
 
@rak1507 Nice job :P
 
copy.sh makes it easy
 
Did you just try every cell or did you have some strategy?
 
nope, just tried every cell
well, I guess I had some strategy, I started in the middle ish so found it fairly fast
my thoughts were that dense clusters were more likely to kill things off, idk if that's right or not
 
useless, everyone knows what GOL is
bloats the post
 
@ChartZBelatedly His name was Conway, not Conways.
 
@AdΓ‘m Indeed it was
@rak1507 Except for that one person who thinks its an interesting challenge but has no idea was this "Game of Life" is, so decides it's not worth the time
 
@ChartZBelatedly google exists
 
The image of the starting CGCC takes up more space than the rules of Life
 
8:24 PM
yes, well, that is the actual challenge, so that's fine
 
Well, GoL is the language that answers have to use
 
arggg, xargs is so finnicky
 
yeah, and if you made a challenge that was python specific, you wouldn't explain what python was
@pxeger when in doubt xargs printf "command" | bash :P
 
No, but I'd explain the basics of the "rules" that Python answers would have to work with (e.g. can only use bitwise commands &^~). I don't really think it's worth arguing about this, I'm not going to remove it
 
ok, fair enough
 
I think I may have found a bug in xargs, that's exciting!
 
I highly doubt that (but if you have, cool!)
 
well if I haven't, I've certainly found a feature request
 
Post it on SO and get a bunch of upvotes
CGCC has multiple accounts of finding odd bugs in widely used languages :P
 
I suppose since I'm going to need a statically linked version of xargs anyway I may as well write my own that actually does what I want it to
I'll call it yargs
 
8:34 PM
"Argh!"s :P
 
indeed...
 
Change My View: languages with variable names should allow punctuation characters in the var names
 
What do you define as punctuation characters?
 
How else will I be able to write try: ... catch Error as f**k!: ...? :P
 
@ChartZBelatedly I mention Scala too often, but it (and Kotlin) let you do that when you surround the name with backticks.
 
8:35 PM
@ChartZBelatedly of course, why should I make that incorrect?
 
@RedwolfPrograms That's up to each individual programmer
 
(use a superior language like postscript or lisp)
 
@Wezl Which lithp?
 
haha very funny
 
So would var f = 2; var k = 6; var f**k = 7; f**k; return 7 or 64?
 
8:37 PM
@pxeger Well, Original is my middle name :P
 
@RedwolfPrograms Yes
 
@RedwolfPrograms Either. It's Schrodinger's variable :P
 
It should average all of the possibilities :p
 
Everyone knows that to exponentiate f and k, the proper syntax is fᡏ
None of this * or ** or ^ nonsense
 
(postscript allows backslash in variable names. Actually, I think it allows every character but % \t\n[]{}() and maybe not numbers)
 
8:39 PM
f ↑ k (wow, that even looks vaguely vulgar)
 
@ChartZBelatedly Tetration should be ᡏf
 
(1/k)√f
 
Clearly the best approach is to write it out on paper and scan it into the compiler
 
You have to draw the characters as ASCII art on a punch card
 
Draw tally marks
 
8:42 PM
 
doesn't SE chat onebox xkcds or something?
 
@ChartZBelatedly Bah, real programmers don't have dependencies like butterflies and wind. Real programmers just use their godlike powers to manipulate the bits with their minds.
 
Hehehe, I think I just found an open code golf question on SO
 
@OriginalOriginalOriginalVI Arguably the butterflies are more godlike, if creating the universe is one of the things a god does.
 
8:46 PM
@ChartZBelatedly ooo spicy
ok yes it turns out xargs just doesn't do what I want it to do
 
what do you want it to do
 
@ChartZBelatedly Link pls
You can't just say that and then not post the link here
 
Hang on, just writing an answer to it
 
lol
 
Hang on a minute: almost all of these are open.
 
But locked
It's surprisingly difficult to come up with an optimal answer, I may be a while :/
Crappy internet don't help
 
:(
@ChartZBelatedly hurry up :P
 
16
Q: Code golf: find all anagrams

Charles MaA word is an anagram if the letters in that word can be re-arranged to form a different word. Task: The shortest source code by character count to find all sets of anagrams given a word list. Spaces and new lines should be counted as characters Use the code ruler ---------10--------20--------3...

In case anyone's interested
 
@OriginalOriginalOriginalVI That's not actually the one I have :P
 
@ChartZBelatedly Something from here, then?
 
8:53 PM
@OriginalOriginalOriginalVI XD "use the code ruler"
 
@Wezl What exactly does that mean, anyway?
 
@OriginalOriginalOriginalVI stackoverflow.com/revisions/2565912/5 this is either a joke or the OP thought a lot of hyphens in a proportional font would be helpful to measure code
 
wtf
 
It's not even monospaced
Probably a joke
 

« first day (3705 days earlier)      last day (1124 days later) »