« first day (2304 days earlier)      last day (2525 days later) » 

12:00 PM
Hmm
 
@SIGSEGV do you have a document at all?
 
@LeakyNun Not yet
 
I can just implement it based on your document, if you have one
what do you have at all? just ideas on your mind?
 
ideas
 
write them down on a document
e.g. gist
then send it to me
 
12:01 PM
Nah I could implement it I think
 
alright
which language will you use as the base language?
 
JavaScript
(Just so I can integrate it to the web)
 
then you can't have arbitrary precision
without importing maybe from library
 
Huh?
 
btw is python the only serious language with arbitrary precision integers?
@SIGSEGV javascript doesn't have arbitrary precision integers
 
12:05 PM
I don't care
 
I do
 
@MartinEnder it's all the commands of glypho
up to, you know, isomorphism
 
Could we use sin() instead of Math.sin() on Javascript 'cause you know Math. on every Math functions take a lot of bytes
Oh yes
with
Simple implementation of EQ8: change all periods to input and eval
kek
But then it is no longer an Equation, its a JS snippet
 
@LeakyNun I mean, if you don't count fractions (ratios), then probably yes
 
12:21 PM
@LeakyNun Ruby does afaik. So does Julia, but Julia is typed and you have to choose big. J also does, but you need a different kind of literal.
 
@Dennis I see, thanks
 
How do we 'clear a class' or something in javascript
 
Haskell has both Ints (native-sized) and Integers(infinitely large)
 
@LeakyNun Prolog?
the SWI kind at least
 
Ruby has big integers and big decimals, fractions, complex numbers...
 
12:23 PM
Java has bignums but its not 'serious'
 
@Fatalize I see
 
Ruby's big decimals must be conjured explicitly, though, otherwise you're using floats. Integer literals default to the unified native / big integer type. Unlike in Java, you can still use math operators, though.
 
@LeakyNun I know. Glypho inspired that challenge.
 
@MartinEnder wow.
 
Very little part of the SE chat source:
function Ct(e) {
i || Eggs.Current(e)
}

...Eggs?
 
12:31 PM
That's what I had for breakfast today
 
in C on Stack Overflow Chat, Mar 30 at 23:30, by Ungeheuer
"Garbage Collection is like your mom going around cleaning up after you. "Oh, you left some memory on the floor honey. I'll pick it up for you." C respects you, and treats you like an adult, unlike Java." - My C professor
^ best message I've seen
 
How long until your mom decides that you should no longer live with her?
 
@SIGSEGV Eggs!
 
@Dennis Hey look, your reputation graph is a linear function (Image incoming)
 
That's what the rep cap does to you.
 
12:42 PM
I know
 
And a link would suffice.
 
I just can't get why there's a repcap at all...
 
also the rep graph being a linear graph means you get repcaps a lot, and also you are a good codegolfer
 
@Doorknob look who I just found! koordnob
 
[Deleted, this was just to upload]
 
12:45 PM
CMC: spoonerism: given two words (a-z) separated by space (this is strict), interchange the first letter of both words and output them in the same format as the input
 
@EriktheOutgolfer To prevent you from getting all the privileges with one answer after one day, essentially.
 
door knob -> koor dnob
 
Um
Well the timeout
 
@Dennis still not a good thing, why should privileges be delayed at all?
I mean if I've written a so stellar answer I deserve the rep why should it be capped at all?
 
Because you shouldn't be able to edit, vote to close, or vote to delete if you don't know the site at all.
A huge fluke answer doesn't mean you know what's on topic and what's not.
 
12:47 PM
@EriktheOutgolfer To prevent Jon skeet from overflowing the server?
 
@Dennis how does y work in Jelly? Could you give me an example program?
 
@KritixiLithos My lexer doesn't yet support nested string literals, so a backtick inside a backtick string causes an error. I'll fix it when I reimplement my lexer, which I'm planning to do soon.
 
@SIGSEGV Overflowing the server? Is the reputation stored in unary?
 
@Dennis Um idk
 
@LeakyNun I haven't used it in ages. Your guess is as good as mine.
 
12:48 PM
@Dennis never mind I figured it out
 
y = probably useless buggy stuff
 
But it was just a reference to Jon skeet which is like half the reason of the repcap
 
@MartinEnder please
 
12:50 PM
@LeakyNun Dyalog APL 16.0, 20 bytes: 1↓1⌽@(¯1⌽' '∘=)' '∘,
 
@Adám nice
 
@LeakyNun Mostly fluff due to input format. How about spoonerism CMC: Swap initials of two strings?
 
@Adám The @ gives me an error
 
@KritixiLithos 16.0.
 
@EriktheOutgolfer @Dennis tio.run/nexus/jelly#@x@o46VS@f//…
I'll let you two figure out what the intention is
 
12:52 PM
Good luck with that.
 
QĖUZy is equally short
 
@LeakyNun iЀ
 
Busy week at #Dyalog as V16.0 Beta 1 (Windows) is released - join our webinar Thursday for a peek at some new stuff https://www.dyalog.com/news/115/420/Dyalog-Webinars.htm
 
@EriktheOutgolfer the last letter looks more like an E than a C
 
huh?
I just outgolfed you
 
12:53 PM
I thought you were saying idc
no, the output is different
 
I need to do more stuff here :(
 
@betseg wat is dat witchkraft in the last part
 
@LeakyNun it's euro sign, so...
 
And that tag badge has been sitting there for 4 months now with 4 score left
 
12:54 PM
@LeakyNun That's the first time Jelly has be confused with text.
 
@LeakyNun swap(*s,*i)
 
@Dennis I don't have enough time to go through the 1767 Jelly answers in PPCG to disprove that.
 
@betseg How does that work?
 
@Dennis found it
4
A: Shuffle a mapping

milesJelly, 5 bytes Ṫ€Ẋṭ" Try it online! Explanation Ṫ€Ẋṭ" Input: list of [k, v] pairs Ṫ€ Pop and return the last element of each k-v pair (modifies each list) Ẋ Shuffle the list of v's ṭ" Append each v back to a k and return

Jelly has actually been confused with "text" per se
 
Do we need a 'TIO: Stack-snippets edition' to embed TIO on PPCG?
 
12:59 PM
@SIGSEGV If you mean on chat. That's what you mean, no?
 
No, Stack snippets, the things which helps us make the leaderboard, etc
 
@LeakyNun Alright, you win.
 
@Adám no idea, but apparently xoring variables swaps them. Found the trick on the internet​a few years ago
 
@SIGSEGV That would have to be supporyed natively by TIO to keep the overhead reasonably small.
 
wow I never thought Jelly would ever be confused with Ṫ€Ẋṭ" it's usually confused with garbage or witchcraft
 
1:02 PM
@betseg Yes, but the input has to be a single space separated string.
 
@Dennis And?
Then we could support them natively by TIO, no?
 
Seems like a lot of trouble to avoid 0 clicks.
 
@Adám *s is automatically the first character on the string, and strchr()+1 sets i to the character after the space. Then the program swaps them
 
@Dennis Why do you think so?
 
@betseg I don't see any strchr in swap(*s,*i)
 
1:08 PM
Oh. That was explanation for the "witchkraft in the last part" (as leaky said)
 
1:24 PM
@SIGSEGV That's not how feature requests work. You have to explain why it's a good idea.
 
9
Q: Fix my notation for lists of matrices, part 1

Martin EnderSometimes, I have lists of constant matrices in my code: [ [[1, 0], [0, 1]], [[1, 0], [0,-1]], [[0, 1], [1, 0]], [[0,-1], [1, 0]] ] That's a terrible use of screen real estate. I'd much rather write them next to each other: [ [[1, 0], [[1, 0], [[0, 1], [[0,-1],...

Is this challenge really that hard?
 
(although my answer uses many Pyth-specific operations, such as splitting at regex and splitting into groups of specified length)
CMC: given n, start at 0, then add n, then add n-1, ..., then add 1, then output all intermediate results
e.g. given 3, 0+3=3; 4+2=5; 6+1=6, output [3,5,6]
10 -> [10, 19, 27, 34, 40, 45, 49, 52, 54, 55]
 
Dyalog APL, 5 bytes: +\⌽∘⍳
 
@KritixiLithos bingo. This is my standard solution (although mine is in Jelly)
 
1:31 PM
@KritixiLithos Ouch, you're faster than me.
 
I just discovered something
English mine = French mien = German mein
 
well, same language family
 
@betseg the latest common ancestor is PIE
 
well, very basic word
 
you're right
but then, not even "house" is kept
I mean, the French for "house" isn't a cognate of the English word "house"
and neither are a cognate of Spanish "casa"
and all three above aren't cognates of Latin "domum"
 
1:36 PM
i was looking at wiktionary, apparently house came from PIE and maison came from persian. same family but very different branch
 
@betseg indeed.
 
yawn
Reading TTF files in C is boring
 
1:50 PM
@Okx your "language designed specifically for integer manipulation" doesn't even have exponentiation
 
Guys make this recursive somehow cause I am unable to
 
@totallyhuman you need two parameters
 
@LeakyNun I did try, yes but I can't figure the logic out
Anyways, out
 
I got 58 bytes using my weak Python skills: def f(n,l=[0]):l+=[l[-1]+n];return n>1and f(n-1,l)or l[1:]
 
1:56 PM
I have just done a big edit to this. Have a look and tell me whether it's possible now :
3
Q: It's Anagram Quine, not just Quine!

ArjunThe Task In this challenge, your task is to write a program, which takes in no input, with as many anagrams that are quine of themselves as possible. Your score will be the number of anagrams of your program's source code that are valid quines. Standard Loopholes and rules of standard quines a...

 
@Arjun I can make the score arbitrarily large
 
How?
 
I have a quine A, which has an anagram A' which is also a quine
now, AA is also a quine, and so is AA', and A'A, and A'A'
rinse and repeat
 
Okx
@LeakyNun 1. It's WIP, and 2. It does. 𝕎
 
@Arjun Here is an example of what I think Leaky says but in ><>
 
2:01 PM
@Okx not documented eleven
 
Okx
@LeakyNun Ah well. You can't have everything in life.
 
Take this program: "r84*2+>o<abcdefg.... The ... signifies any amount of any characters (except for quotes). If you anagram these characters (that are after the >o<) the program does not care and still outputs a quine
I can have an unlimited score
 
I don't understand ><>, can you explain in simple language, please!
 
Okx
@LeakyNun I mean, look at RProgN2. There is absolutely 0 documention. Gotta appreciate what you have ;)
 
How do I make it unable to use anything except operators (+,-,*,/,%,**,etc) and the functions in the Math object, in Javascript?
 
2:05 PM
@Okx did you see my comments on your answer?
 
@Arjun the language doesn't matter. most languages allow you to write a quine of the form abc...def where ... can be anything whatsoever and it will just be included in the output as is.
 
@SIGSEGV I thought your language is interpreted
 
if that's the case then I can insert an arbitrarily large string into ... and all of its permutations will count towards the score
 
@LeakyNun err
It had some problems
 
Okx
@LeakyNun Okay, thanks. But I have something a bit more important to do ATM
 
2:07 PM
@MartinEnder What should I do now? Delete the challenge and think of another scoring system later or rollback to previous revision?
 
@Arjun I was writing up a large explanation, but yeah, what @MartinEnder said
 
@MartinEnder For example, it wasn't actually an equation but a javascript snippet instad
 
@Arjun sandbox it to get help with the scoring system
 
instead*
 
@MartinEnder Delete it now?
 
2:09 PM
up to you, but sure
 
@MartinEnder Okay, I will delete but can you remove it from hold?
 
what for?
 
@MartinEnder Once it gets undeleted by me (after I get the scoring system right), it will have to go through reopen queue
That's why
 
since the challenge will be substantially changed from its original version, you could also repost it. and having it reviewed in its new form before it's put off hold doesn't seem like a bad idea
 
Yeah, makes sense. Thanks you, @MartinEnder !
Going offline for a while
 
2:25 PM
@Okx your language doesn't even have division?
 
Okx
@LeakyNun sigh it's wip
that's my excuse when I don't have things :P
 
@Okx I give up. It's impossible.
 
Okx
xD
 
0
Q: Train a Neural Network

ShinMigami13Neural Networks the the buzzword of this year. They are adept in solving tasks like Image recognition and Language generation. A algorithm deploying such a neural network defeated the world's top Go player Lee Sedol. Neural networks can be simple consistion of one neuron to tens of thousands of n...

 
2:41 PM
0
A: Sandbox for Proposed Challenges

Random UserRaindrops are falling on my... glasses? code-golf random ascii-art I live in the UK, where it rains. A lot. I also have the unfortunate necessity to need to wear glasses to see, which means that when it rains (as it is now), I can barely see out of them. This challenge is so that you can all ex...

 
 
1 hour later…
3:54 PM
@LeakyNun No.
2
A: Fix my notation for lists of matrices, part 1

DennisJelly, 20 15 13 11 bytes Fðs⁹œsZµḢḢL Try it online! Background Like most things, this challenge is rather simple once you've figured out what you have to do. And I eventually did, after three deletions and one rollback... First, we must figure out the dimensions of the matrices. That's easi...

 
4:13 PM
Question: how does inheritance of fields work?
If it stores both the superclass and the subclass's versions of that field
is which field to lookup dynamic?
because I can do super.field from the subclass
I was thinking the inherited fields can be just aligned to the beginning of the class
but what if field is overriden
 
Okx
this is Java right?
 
generic-OO
for VSL not sure how to align the types
 
4:35 PM
> after three deletions and one rollback...
i.e. it is that hard
and it can't be easily ported either
lol what consciousness train does 2 undeletions and deletions in less than 10 minutes? o_O
 
Depends on the target language. Most golfing languages have more or less the same built-ins, but flattening alone is a byte-count nightmare in others.
 
05AB1E has a 1-byte builtin for flattening (˜) too
 
Then a port to 05AB1E shouldn't be hard.
 
there's no builtin like AFAIK though
and ð(...)µ is a bit hard to port
 
With or without, getting the first element of an array should be straightforward.
And you don't need a complex chain structure in a stack-based language. Port the algorithm, not the code.
 
4:41 PM
although there's ¬, but ¬¬ is too stack-dirty since ¬ doesn't pop from the stack (so it pushes a a[0])
that means ¬¬ would instead push a a[0] a[0][0]
and œs would be a pain if I'm not missing something
 
I don't know 05AB1E well enough to help you.
 
I never asked for it...
I was just explaining why porting to 05AB1E would be hard
oh wait I found ä
 
@ASCII-only it is OK if = is operator but can we have a seperate AssignmentExpression node?
 
I think I've got the builtin list
ć
this acts more like
but would have to suffice I guess...
 
4:59 PM
At least porting it to Pyth was rather straightforward. ;)
 
@Dennis well that's what I'm trying to do in 05AB1E too...in under 10 bytes >_>
nah it doesn't seem to be possible...I'll just leave it alone (thanks stack)
 
-2
Q: Geometric problem about tetragon

Amir KhasruNot a homework !! A geometric problem. The problem: Suppose you're given the centers of three equal sides of a strictly convex tetragon. Your task is to restore the initial tetragon. How to solve this problem?

 
@NewMainPosts trash this anybody?
 
5:14 PM
@Dennis you win
 
@EriktheOutgolfer it's probably best not to outright delete a post until the OP has had a chance to see what's wrong with it
 
@ais523 I meant trash the NMP message
 
@LeakyNun We'll see about that. Still no 05AB1E or MATL answer.
 
@Dennis I should haven't use string manipulations...
 
5:27 PM
@Dennis as I previously said it's so unlikely for 05AB1E to get the lead. don't know MATL though
 
MATL is good/better at array I'd say
@Dennis be careful
I'll defeat you in the next part of the challenge series
 
@EriktheOutgolfer Well, Adnan already managed to tie.
 
doesn't seem to go any further than that...
you still got earlier post
 
@Dennis I'm not sure it's that effective; I know of one user who has 1700 rep from a single question, and only 40 from other sources
 
it's the time delay that is supposed to be effective not the amount of reputation I think
 
5:41 PM
@ais523 Well, if someone posts one highly-voted post and then disappears, they won't make use of the gained privilges. But I get your point. Like most abuse prevention measures, this one isn't perfect.
 
luckily the user in question isn't remotely abusive, and seems to not use privileges they don't understand
in general, though, PPCG could probably do with having the privilege levels expanded more (like most graduated sites do); out of all the sites on the network, this is probably the easiest to gain rep on
I know for a fact that I gained rep much faster than I understood what to do with it
 
yeah I saw that too
 
even now, I still hate Stack Exchange, but luckily PPCG mostly ignores its more problematic aspects
 
6:16 PM
@Christopher may I finally get the clarification I asked for eight hours ago?
 
Okx
6:27 PM
@JanDvorak Looks like 6 to me.
 
@Okx look two comments back
 
this is the second comment the first one was posted 8 hours ago
ninja'd
 
MCPDITFOACMC (Main Challenge Proposal Disguised in the Form of a Chat Mini Challenge): transform the input into a table. The table will have one header row and n other rows. And it will have 2 columns, reference program:
The width of the table must never exceed the width provided as input, if there is information that does exceed the width, then it will carry on to the next line. All columns will have 1 space of padding on both sides. The first column will be as short as possible while the second column will try to fit the remaining width
 
@JanDvorak Just got back
I am one upvote from 1k! (Answer upvote mind you)
 
Okx
no ;)
 
6:44 PM
At 999 rep...
 
-6
Q: What season is it?

AyoungcoderTask When running the program must show the season according to the host computer's current time. Rules The output must be either: Spring, Winter, Summer or Autumn. The capitalization does not matter. The output must not contain anything else the the season names stated above. A season is 3 m...

am I being an idiot
or is january winter
>_>
 
January is in winter
Winter starts Dec 21±
 
ok I thought so
I can be dumb about stuff like that though so I was just checking
 
apparently now january is spring?
 
since when
 
6:48 PM
since I dunno
 
^ regarding that thing that needs to be clarified
 
0
Q: Make a ;# interpreter

Random UserYet another interpreter challenge! I'm so original, aren't I? I recently created a new language called ;# which only has two commands: ; add one to the accumulator # modulo the accumulator by 127, convert to ASCII character and output without a newline. After this, reset the accumulator to 0. ...

 
\o/ Röda beats 05ab1e!
oh wait...
 
yeah it doesn't
 
Wait... I just lost 9 rep. In two downvotes?
 
7:02 PM
it was probably some answer unupvote and some answer you downvoted that got deleted?
 
@Christopher un-upvote and 2 downvotes
 
@Riker That must be it
 
question unupvote obviously
 
7:21 PM
Back to 999 rep
My answer page is sad :( 26 answers and top answer is five votes
 
@Christopher try answering goat challenge that works well
 
you mean up/downgoat or something?
 
yeah, upgoat dowgoat hcallenge
lowest answer has 34 votes
 
that's not easy at all...unless you're using Mathematica which already has an answer
maybe that's why there are so many upvotes on each answer
 
Yeah
Idk any language to do it with
 
7:31 PM
I mean a lot of the answers didn't use a very complex neural network answer or something like that (maybe except mathematica)
 
Is life the first proper quine?
 
only in single-celled organisms or something
 
Is life payload-capable?
It reads its own source code, though
 
It's payload capable, and it does read its own source. Life is underhanded.
 
It's non-deterministic, though
 
7:36 PM
there's the DNA which identifies itself and the rest of you
consider it like the string literal in _='_=%r;print _%%_';print _%_
and yes it's non-deterministic
 
Someone check my rep :D
 
@EriktheOutgolfer but then how does DNA serve any other function? EG: immune system
 
the other functions build themselves
 
:37552685 Lets see. Off topic noise, pinging random users and linking two a "offensive" video.
Wow. I got my first notification to approve edits
 
Anonymous
Gah, damn grace period
 
Anonymous
7:47 PM
I wrote an answer to a challenge with a detailed explanation. I then golfed it significantly, making the edit within the grace period. Now I realized the golf is invalid, and I can't roll it back :(
 
Anonymous
So now I have to write up that detailed explanation again
 
:(
 
:(
@Dennis look at my rep :D
 
Your rep is amazing
 
Anonymous
Luckily, caching saved me
 
Anonymous
7:49 PM
My browser still had the old version cached for some reason
 
BTW, @Christopher, I would recommend against disclosing your suspensions in your user profile
 
@JanDvorak Why? I get that most people don't want it public but I did it so I figure people should know. What I posted was public.
 
@KritixiLithos Ugh. Working on it.
 
@Christopher It's a prime number. Nice!
 
@KritixiLithos Dyalog 16.0: '|',⍨⊃,/'|',¨{'='@3⊢'='⍪⊃⍪/'-'⍪⍨¨⍉¨⍪¨↓⍪↑⍵}¨↓⍕∘⊂¨↑':'(0 1↓¨≠⊆⊢)¨⎕ takes vector of 2-element vectors, with title and description texts as an additional line (": " separated) before the first data line.
 
7:54 PM
My rep is a multiple of 1.
 
My rep is ... opens new tab to oeis.org
... n such that 4n + 1, 4n + 2 and 4n + 3 are not squarefree.
 
Anonymous
@Christopher The idea behind suspensions is that, after the suspension period is over, people can move on. Leaving a public record of something that is normally only known to you, moderators, and particularly attentive users doesn't help that.
 
Anonymous
Jeff Atwood on April 06, 2009

Are you familiar with the Penalty Box?

The penalty box (sometimes called the sin bin, bad box, or bin) is the area in ice hockey, rugby football and some other sports where a player sits to serve the time of a given penalty, for an offense not severe enough to merit outright expulsion from the contest. Teams are generally not allowed to replace players who have been sent to the penalty box.

It’s not something we looked forward to, but as of tonight, we’re instituting a penalty box on Stack Overflow. …

 
Does anyone remember something about a cooperative KOTH? Maybe planned by Nathan, had to do with setting silverware at a table?
 
You want people to cooperate? Ridiculous.
 
8:02 PM
Sounds a bit like the "dining philosophers" problem, but I don't remember anything about that being a KOTH.
 
8:22 PM
@Dennis :D
 
breaking news: real estate prices going up
@RandomUser The desire to golf all the things. Least amount of screen real estate wins! — Dennis ♦ 5 hours ago
 
I WISH TO FEEL THE SUNSHINE ON MY FACE
3
 
Anonymous
8:42 PM
@Riker The point of editing the feed bots' messages is to remove duplicate oneboxes when someone posts something ahead of the feed bot.
 
yea, I'm fairly certain I've also seen it done when the question is deleted when the msg is posted
the question link was nuked by owner after 1 unclear vote and 1 downvote
 
Anonymous
That's very rarely done - only if there is a good reason for nuking the post (like spam or inappropriate content).
 
@Riker too cute
 
I just randomly got +1 rep
How does that happen
 
@flawr lol
 
Anonymous
8:51 PM
@Phoenix An answer you downvoted might've been deleted
 
my cat does that a lot
when I swing the yoyo for her
 
Oh right
 
@Riker I'm impressed that youngsters like you still know what yoyos are :D
 
@flawr for a "wtf moment" google "skywhale". (not the app)
@flawr lel, I'm pretty good at using mine after bringing it to summer camp once
 
@flawr Who wouldn't know what a yoyo is? They're not obscure at all.
 
8:53 PM
nobody uses them anymore tho
 
@Phoenix was not that serious, but they were like the fidget spinners of 1998
 
@Phoenix >_> image is nsfw
 
It is?
 
look at it again
 
...
dammit
 
8:54 PM
I come here to find coding and code golfing. Really, guys?
 
Anonymous
@Riker You shouldn't be encouraging people to look up NSFW things.
 
Anonymous
Your lack of maturity is really troubling given that you are a mod.
 
I thought he would find it entertaining, which it is imo (the history of it)
apologies
 
@flawr akward moment when duck dance better than you :(
6
 
rip goat
 
8:59 PM
Can goats dance?
I don't really see why not, but I've never seen it happen.
 

« first day (2304 days earlier)      last day (2525 days later) »