« first day (2325 days earlier)      last day (2517 days later) » 

12:00 AM
@BusinessCat nvm VTD this doesn't work at all
 
@HelkaHomba If you look at it that way, the string itself is the Comparator object, since it implements the interface Comparator.
Clearly that's not what you're looking for so i confuse
 
@HelkaHomba Is there a quick way in Java to do anything?!
7
 
No. Which is why I'm actually using Kotlin
 
Kotlin is good.
Incredibly slow on TIO tho
 
@Phoenix that sounds sensible but passing something like "" in for Comparator<String> (or trying to cast it) doesn't work. Not really a big deal though
 
12:12 AM
@HelkaHomba What exactly are you tying to achieve?
 
@Phoenix :O Cheddar is like Kotlin but even slower :D
CMC: figure out what this code does:
#include <stdio.h>
#include <string.h>

int main(int argc, char *argv[]) {
    int i, j;

    char buff[100];
    char vars[127][100];
    strcpy(vars[(int) argv[1][0]], argv[1]+2);

    for(i=j=0; j < strlen(argv[2]); i++, j++) {
        if(argv[2][j] == argv[1][0]) {
            strcat(buff, vars[(int) argv[1][0]]);
            i += strlen(vars[(int) argv[1][0]])-1;
        }
        else
            buff[i] = argv[2][j];
    }
    puts(buff);
}
 
@Downgoat It's not normally slower it compiles to JVM
TIO is weird.
 
@Phoenix want a thing to iterate over strings based on a given Comparator<String> (e.g. because Unicode ordering doesn't make sense for many chars but you can use Java collator for a locale) and thought it'd be nice to have it default to a normal string comparator. But it's a very minor detail
 
Wait no that's completely the wrong thing
@HelkaHomba You can use the java.util.Arrays.sort() method
@HelkaHomba Also, try this to get the object: Comparator.comparing(n->n);
 
12:40 AM
Proposal: Retag all questions tagged with that aren't strictly quines to (I'm willing to do this singlehandedly if there's no anti-support)
 
Nah
 
For example, "Write a quine that outputs a larger version of it's source code". The answers do not output their source code, therefore they're not quines, they're quine variants.
The question is not asking people to write quines, it's asking them to write quine variants.
 
> A quine is a program which produces its source as output. This tag indicates that the challenge is related to quines.
 
Exactly.
 
Any one want play a couple rounds of this challenge in a chat?
 
12:42 AM
They're all challenges related to or about quines.
 
Therefore, non-quine challenges should not be tagged .
@Phoenix Yes, but see programmer5000's comment.
 
No, then we would only have one
 
Well, a few
 
Wait - "related to quines"
didn't see that
 
e.g. radiation-hardened quines
 
12:42 AM
but yeah there are a few strict quine questions
Yes those
 
The point of tags is for people who like a certian type of questions to be able to find them.
 
Even so, just because it would reduce the number of quine questions, does that mean it's okay to have an incorrect tag?
Yes. I like s, not s.
 
I wouldn't say it's incorrect.
 
I have written the shortest C , not the shortest C .
 
If you are really convinced that we should do , than make a meta post and observe the torrent of downvotes.
 
12:44 AM
So there are people that want to find s, and people that want to find s.
@programmer5000 :(
 
Lets say there was a challenge to generate psuedo-primes. Would you still have it tagged ?
 
@Phoenix yes.
 
@Phoenix Does it generate primes?
 
It generates pseudo-primes.
 
Are those primes?
 
12:45 AM
Ok if anyone would like to join me I've made a room for it

 Macgyver's Toolbox

A room for beta testing a challenge by the same name. codegol...
 
@MDXF Most of them are
Some of them aren't.
 
But none of the quine variants are quines.
Not most, nor some, but none.
 
@MDXF just make a meta post and see what the community thinks.
(new meta posts is taking too long)
 
I will when I have more time to organize my thoughts on the matter
 
@MDXF If you're outputting e.g. your source code twice then part of your output is a quine
So you are outputting a quine
 
12:47 AM
Hm that's a good way to look at it
 
There's just some additional stuff in there too.
 
@MDXF they are quine related. "This tag indicates that the challenge is related to quines." -> codegolf.stackexchange.com/questions/tagged/quine
 
Speaking of quines I'll give 200 rep to anyone who makes a triangular quine as of commit 12 before I do
 
CMC: Make up believable British place names. e.g. Picklesbury, Toofentown, Slimey Paddle
 
@HelkaHomba Too subjective
 
12:50 AM
but fun
 
like every mass-downvoted popcon on PPCG
(when you are trying to make a chatbot and made an account but it's one answer has one upvote and you are 10 rep away from being able to chat)
 
@programmer5000 It would appear to have a score of two.
Probably caused by you posting that in chat
 
(and then someone upvotes it)
 
:O YOURE BACK
 
Downgoatington
 
12:58 AM
(when your chatbot has 20 rep but you can't post because of caching)
 
@HelkaHomba brb moving :O to downgoatington
@ASCII-only yes
btw can u come onto slack chat
 
@Downgoat ['log','warn'].forEach(k=>{o=console[k].bind(console);console[k]=function(){var s=(Error()).stack.split(/\n/);return o([...arguments,s.slice(!/^Error/.test(s[0]))[1].trim()])}}) should work
 
@ASCII-only this is doing weird to output:
[ 'Root \n ├ f\n    ├ Func\n      ├ func f(a: Int)\n    ├ Func\n      ├ func f(b: Double)\n ├ i (Alias)\n    ├ i: n/a',
  'at Console.console.(anonymous function) [as log] (/Users/vihan/Documents/Code/VSL/test.js:14:84)' ]
 
@Downgoat oops ` ['log','warn'].forEach(k=>{o=console[k].bind(console);console[k]=function(){var s=(Error()).stack.split(/\n/);return o(...arguments,s.slice(!/^Error/.test(s[0]))[1].trim())}})`
 
(when you realize you thought for months that you have 5 minutes to edit chat posts but you only have 120 seconds)
 
1:05 AM
@Downgoat ['log','warn'].forEach(k=>{o=console[k].bind(console);console[k]=function(){var s=(Error()).stack.split(/\n/);return o(...arguments,s.slice(!/^Error/.test(s[0]))[1].trim())}})`
 
@Downgoat Did you find that goat ASCII art?
 
@MDXF here:
  ___.
 //  \\
((   ''
 \\__,
/6 (%)\,
(__/:";,;\--____----_
;; :';,:';`;,';,;';`,`_
  ;:,;;';';,;':,';';,-Y\
   ;,;,;';';,;':;';'; Z/
   / ;,';';,;';,;';;'
  / / |';/~~~~~\';;'
 ( K  | |      || |
  \_\ | |      || |
   \Z | |      || |
      L_|      LL_|
      LW/      LLW/
 
:O
Now I'm inspired to make a 2D language that operates on a playing field in the shape of a goat
 
Did you copy that from Print 'em goats
 
1:11 AM
@ASCII-only O_o who wrote Charcoal?
 
@MDXF I have no idea :P
 
@ASCII-only :OOO :DDDDDD awww yiss :DDDD
 
Wha... what....
 
Anyone good at userscripts?
0
A: Sandbox for Proposed Challenges

programmer5000javascript Make a Newest Sort Tab for PPCG! Your challenge is to make a userscript that adds a newest sort tab to PPCG. Rules: Your userscript must work on PPCG and meta PPCG. The upvote, comment, downvote, flag, share, edit and if applicable delete buttons must work on the newest-sorted pos...

(what tags should I use there?)
 
@programmer5000 Yeah will do soon if you want and nobody else offers
 
1:13 AM
@MDXF ASCII-only himself
 
@Phoenix Oh
So he was joking
 
@programmer5000 i had for PPCG userscript but quickly exhaust API quota idk why
 
:P
 
@Downgoat >_>
@Downgoat ok is fix when dennis pull
 
Hello @TaylorHansen
 
1:20 AM
2
Q: PPCG App Tokens

programmer5000If you are answering a challenge in PPCG tagged [stack-exchange-api], you have probably exceeded your API limit by now. This app allows you to use a higher limit by using the app tokens provided: KEY: kAc8QIHB*IqJDUFcjEF1KA(( Pass this as key in the URL to achieve a higher rate limit! CLIENT...

 
@programmer5000 Ok newest sort?
 
user165474
@Shaggy Yes; there's a quick way to do something in Java. It's called close your IDE and go use another language. Even throwing a legitimate exception (not a compiler error) isn't quick >_>
8
 
@ASCII-only yes
 
@programmer5000 Newest sort of what
 
@HyperNeutrino throw null
 
1:24 AM
> Whenever you see a SE post with multiple answers, notice the 3 sort tabs: "active", "votes", and "oldest". Your challenge is to add a fourth: newest.
 
user165474
No.
 
user165474
@Phoenix class M{static void main(String[]a){int i=1/0;}} is the shortest way to do it.
 
user165474
Notice how int i=1/0; is shorter than throw null.
 
user165474
But the actual code is like 5 times longer.
 
@HyperNeutrino Compiler error
 
user165474
1:26 AM
Oh?
 
main must be public
Try interface
 
user165474
Right.
 
-1
A: Sandbox for Proposed Challenges

programmer5000javascript Make a Newest Sort Tab for PPCG! Your challenge is to make a userscript that adds a newest sort tab to PPCG. Whenever you see a SE post with multiple answers, notice the 3 sort tabs: "active", "votes", and "oldest". Your challenge is to add a fourth: newest. Rules: Your userscrip...

 
user165474
(Java 8): interface M{static void main(String[]a){int i=1/0;}}
 
@Downgoat You don't need to use API, just use oldest + reverse
 
user165474
1:28 AM
@ASCII-only What if it spans multiple pages?
 
@ASCII-only wat hapen if mulitpage
 
@HyperNeutrino reverse pages as well obviously
 
user165474
ninja'd
 
@HyperNeutrino why is that not on topic?
 
user165474
@ASCII-only Is there an easy way to do that? I don't think it loads all of the pages so you can't just do a client-end reversal.
 
user165474
1:30 AM
@programmer5000 Also the fact that it's a popcon and good popcons are rare nowadays. Personally I don't like it because it restricts this challenge to ATaco people who can actually make userscripts; of course, this is only my opinion.
 
@HyperNeutrino Reverse the links + add hash param to indicate newest sort then the userscript can just reverse the pages every time it's loaded
 
user165474
well ok actually that was an exaggeration
 
14000
And then there are those 17 spam-voters that felt like DV'ing that amazing answer
 
user165474
lol yeah that answer is great
 
1:34 AM
What I really want is a newest sort tab, how can I get that? Meta post? Main challenge? Bug @ATaco?
 
@programmer5000 For what?
 
user165474
They say SO is not homework help (or write me code). PPCG is even less so that.
 
@MDXF For PPCG posts and the sandbox.
It would be extra nice for
 
@programmer5000 There is a newest sort for PPCG
 
@MDXF ?
 
1:36 AM
Oh wait you mean answers
 
Yeah.
 
Well, there's the Sandbox Viewer
 
If you use active on an answer-chaining, than you might add to the wrong answer.
Causing panic and confusion.
 
it's an extension by @BetaDecay (I think)
 
I have the sandbox viewer.
 
1:37 AM
@programmer5000 Well "sort by oldest"
 
And read in reverse? It's so weird.
 
But it's the only way to make answers work
 
user165474
It's what I always do.
 
Oh well.
 
user165474
"sort by oldest", select the last page, then press Ctrl-End.
 
1:39 AM
@programmer5000 pls be patient i'm working on it
 
@ASCII-only Oh. Thanks!
I want to change my username to "No one" so that when I type it confuses people with the userscript to show who is typing
 
@programmer5000 What, No one and No one are typing?
@Noone pls stop lurking
Unless that's your sock
 
user165474
Say that to the guy who lurked TNB for well over 150 days straight
 
@HyperNeutrino Who was that??
 
What is this who's typing userscript about?
 
user165474
1:43 AM
@MDXF I forget their name
 
@WheatWizard While you're tpying into chat, everyone else who has the userscript can see that you are.
 
user165474
Who here has that userscript?
 
I do
 
Where does one get the userscript
 
github.com/TehFlaminTaco/Tacoscripts
IIRC
nope it's TacosUserscripts
 
@WheatWizard And do install all of the tacoscripts
 
user165474
0/10 not posting an actual link so people have to copy-paste
 
Except maybe Teamspirit.js
That one's optional
 
Thats the only one I have
 
Hey I like causing pointless tension
 
1:48 AM
and I won't update because he got rid of the terrible colors
 
user165474
Oh no not teamspirit that was un-good for a while
 
user165474
oh wait I have it installed
 
user165474
ಠ_ಠ
 
user165474
but I disabled it
 
@WheatWizard How do you use chat with the old teamspirit.js..?
The rest of the tacoscripts are good tho
 
1:49 AM
My chat is just colorful
 
Hello I am a bot to convince @ATaco to fix a bug with the userscript
 
How does one select a name for the script?
 
user165474
@Noone Bots are not allowed in TNB.
 
user165474
Oh wait you were joking weren't you
 
Hey... wouldn't it be cool if the I Am Typing userscript told you if someone was replying to one of your messages?
Or would that be too creepy? :P
 
1:53 AM
That would be pretty cool actually
 
It would be pretty cool if @ATaco fixed the bug in the userscript
 
It wouldn't be too hard I think, just add an extra parameter to the data if the current message starts with :XXXXXXXX, then let the userscript figure out who that message belongs to
 
@ETHproductions You could fork and PR?
 
@Noone What bug? "No one is typing."? :P
@MDXF idk, I think it uses an internal server which is not on GH (or at least is separate). Could be wrong though
 
@ETHproductions GH?
Oh GitHub
Hm
 
1:59 AM
@ETHproductions I'm guessing it uses ATaco's server
 
@WheatWizard It's your SE username
 
@Phoenix *Chat username
 
Although the server isn't excelently designed, so you can feed it false information.
You'd have to look at the userscript code
 
Who's in charge of the chatiquette repo?
 
2:13 AM
@MDXF The mods and ROs
 
@DJMcMayhem Could you check my PR?
 
Uhmmm, I'm not sure if I can
But I'll try
 
Thanks
 
Oh look, I can
Cool.
 
Does it look like it'll get merged?
 
2:19 AM
I don't know. I like the changes, but I'll have to ask the other ROs first. TBH, I haven't really contributed much to the chatiquette
 
Okay np
 
@DJMcMayhem I think Mego basically wrote the entire thing himself.
 
2:32 AM
With others input
 
user165474
Does anyone here have the I Am Typing userscript? I want to test something.
 
@HyperNeutrino Yeah
 
user165474
Okay. What does it display when I'm typing (as in just now)?
 
@HyperNeutrino An insane person lol
 
user165474
Yay!
 
user165474
2:42 AM
Now I can break it!
 
I don't think you can really break it anymore
 
user165474
Does this do anything weird?
 
Just annoy the crap out of people
 
user165474
lol
 
user165474
I'm guessing the XSS didn't work.
 
2:42 AM
HTML and scripting is escaped now
 
user165474
Darn.
 
Someone figured out how to rapidly change their percieved username to play the lyrics to Technologic
 
user165474
>_> That is weird.
 
@HyperNeutrino pls no reverse unicode
 
user165474
:(
 
user165474
2:44 AM
Okay fine. Also I should probably put the actual part of the script back.
 
user165474
There we go. Hopefully unborked it.
 
>.> who changed their chat name to no one
 
No one did
 
3:00 AM
PPCG is quiet today...
 
weekends are like this usually
 
Oh true, it's a weekend
5 hours ago, by MD XF
There should be a "language development" chat
4 stars. welp
 
-1
Q: Lower the rep required to chat

programmer5000I suggest we lower the rep required to chat to 1. This way we can help new users understand the site instead of having them "crash and burn" on main with a invalid or non-golfed submission or an awful challenge. Also, if a user does "crash and burn", than we can explain what they did wrong to t...

 
3:16 AM
@MDXF are you here now?
 
@LeakyNun Yep
 
@MDXF I mean, constantly here
 
If you'd like to discuss triangular could you join this?
And yes, I'll be here for at least 45 mins
 
ok, good
 
user165474
3:33 AM
@Noone What did you do to the I Am Typing userscript?
 
Is there a bug?
That I need to fix again?
 
user165474
I think No one just left some text in the box or something like that.
 
user165474
Maybe have it detect when the text hasn't changed for a while?
 
That's a thing, but he's using an old version of the userscript
Which tries to correct itself if the server says otherwise
 
@ASCII-only Right, but the point is idk what would be required server-side to enable a change like that
 
3:37 AM
@ATaco I added the userscript three hours ago
 
user165474
Oh right, not updating works.
 
@HyperNeutrino Yes
 
user165474
>_>
 
Well then, let me check what version I have on the GitHub
 
user165474
That was very annoying >_> I just turned it off.
 
3:41 AM
@Noone What version of the script are you running, what number?
 
Um
Whichever one is right here
 
Apparently not, so please actually look at which version you're running.
You can see this from your Tampermonkey Dashboard.
 
0.2.1
I just copypasted from the github repo
 
You are actually causing me pain.
Often, tampermonkey cache's older versions.
So please, look at your version in Tampermonkey.
 
CMC: given a string, split it so lines are no longer than 80 chars but don't break in the middle of a word
 
3:45 AM
I just looked at my version in Tampermonkey.
It said 0.2.1.
The bug is causing me pain.
The last iamtyping.js update was 5 days ago.
 
@Downgoat What if string contains word > 80 characters
 
won't happen
 
That was the day I was hospitalized, Neat.
 
btw pls make in JS
 
Sorry to hear that
 
3:46 AM
But IDK JS
 
will give +50pt bounty to first valid JS answer
 
How will you give a bounty? This is chat :P
 
I can award to any answer on main
 
I'm going to re-install putty, because this is not my prod computer, and I'll restart the server.
 
@Downgoat If "word" just means non-space: f=s=>s.match(/.{1,80}( |$)/g).join("\n")
 
3:49 AM
@ETHproductions Does .{1,80} match greedily?
 
@Phoenix Yes, everything does by default
 
I think /.{1,80}\b/g saves a couple bytes.
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
 
y tho
 
3:50 AM
@ATaco Perhaps, but then it would break if the 81st char was a comma, period, etc.
 
Words != commas.
 
But would you really rather see "Lorem ipsum dolor. Sit amet." broken to "Lorem ipsum dolor\n. Sit amet."? :P
 
Yes
 
._,
 
Alright then, I
'll just break
all my
sentences like
that
 
3:56 AM
ETH, a battle of stubbernness, an Australian will always win.
 
Shouldn't that
be
"Alright then
, I
'll just break
all my
sentences like
that
" for best effect
 
We attacked the wrong beach and still made it half way up.
 
user165474
0/10 over-generalization of Australians.
 
3:57 AM
Am I not allowed to do that with my own country?
 
user165474
:p
 
user165474
no
 
user165474
Bigotry of any kind. Language likely to offend or alienate individuals or groups based on race, gender, sexual orientation, religion, etc. will not be tolerated. At all. (Those are just a few examples; when in doubt, just don't.)
 
Likely to alienate
 
user165474
?
 
user165474
3:58 AM
Oh
 
user165474
¯\_(ツ)_/¯ still I wouldn't do it just to be safe.
 
America once reconquered the Aleutian Islands by military force several weeks after they had already been given up by the Japanese due to their strategic uselessness. Hundreds of American soldiers died of exposure.
 
user165474
I wouldn't flag such a message but I wouldn't post such a message either just to be safe.
 
I really don't see anything wrong with making fun of yourself :P
 
From what I can tell, It's No-one that keeps resending the "I'm typing" message.
 
3:59 AM
(or a group to which you belong)
 
That might qualify as more stubborn
 

« first day (2325 days earlier)      last day (2517 days later) »