« first day (1929 days earlier)      last day (3208 days later) » 

23:01
@El'endiaStarman would [[[x1, y1], w1], [[x2, y2], w2]] be a reasonable input format?
@MartinBüttner Yes.
?
I'd ask "why would that be starred," but I already know the answer
Or to be more precise that there is no answer
Yeah, I'm considering clearing the star myself.
@ArtOfCode You still around?
@El'endiaStarman I still don't get why mods can't see who starred what.
23:08
@quartata vaguely
I'm not ssh'd into the server, if that's what you need
@quartata that's my fault, actually
@Quill Oh?
@ArtOfCode No rush
It used to work for everyone, but then I did that thing, and they turned it off
I thought Doorknob was the one who posted it on meta and got it fixed
23:11
@Quill orlynao
@quartata sure :) if you tell me what you need doing, I'll get to it when I next have access
As for SE mods specifically seeing them, it's probably a bad idea
@quartata Probably because 1. it doesn't really matter and 2. it's analogous to voting on the main site and mods can't see who voted
@Doorknob it was ignored for like three years beforehand
$ mount
<...>
/dev/sda7 on /home/user/LegionMammal978.github.io/eso type ext4 (rw)
<...>
Just set it up
23:13
anyway, stars don't have massive repercussions like flags do
there's no reason to reveal to anyone who starred something
@ArtOfCode In serverinfo there is a hub option that needs to be switched to yes. I also need you to fill out a connect block:
wait, are we seriously getting a design in november, or is optimizer trolling?
Mods and ROs have the ability to silently clear them, but give them the list of starrers and you're effectively giving them a big verbal stick to hit people with
23:15
+2/-1
why? :p
Idk
Two people upvoted and one downvoted
yeah. maybe they're a pirate hunter
connect {
  name = "qpixel.qpixel"; # can be anything
  host = "127.0.0.1";
  send_password = "PASS";
  accept_password = "PASS";
  encrypted = no;
  hub_mask = "*";
  class = "server";
};
@CᴏɴᴏʀO'Bʀɪᴇɴ here, its +3/-1 now
@ArtOfCode Something like this
23:16
@Maltysen +4/-1 :3
@quartata cool, will get to it tomorrw
Ooh also add one of these:
@CᴏɴᴏʀO'Bʀɪᴇɴ Why? It's invalid per the spec.
service {
  name = "qpixel.qpixel";
};
23:17
@AlexA. is it??
in The late night show with JavaScript, 16 secs ago, by Quill
Step away from the internet, slowly, with your hands up
Ohshit
@CᴏɴᴏʀO'Bʀɪᴇɴ All of the current answers are.
oh
:p
This is why you use the Sand Box (ɔ)
@ArtOfCode awsum
9 mins ago, by Maltysen
wait, are we seriously getting a design in november, or is optimizer trolling?
@QPaysTaxes ?
23:24
0
Q: Where to ask questions proposed compitition

DarthRubikSuppose I have an idea for a competition, but am a little if-y on the details. Where do I ask questions about what to do for it?

@Maltysen Definitely trolling.
Well, it's not that far-fetched.
November is six months from now. SE graphics designers don't take that long.
Disturbing:
@QPaysTaxes Yeah
@BaldBantha o_O
@QPaysTaxes yeah, the first one was a google search for the url of the video
like, what?
23:28
TNB mini golf! Given X, find the greatest proper divisor of X.
Yeah I got the video, found the link, accidentally hit search for it, copied it out of the search bar....
@DrGreenEggsandHamDJ Common?
@DrGreenEggsandHamDJ *FtP
@Maltysen *Feel the Pyth
5
@DrGreenEggsandHamDJ why are you giving spam responses to your own question?
I don't know, why aren't you giving spam responses to your own question?
@MartinBüttner haha
23:32
@DrGreenEggsandHamDJ Jolf, 5 bytes: gZhmδ
@QPaysTaxes it's oddly quiet
cool, so do I
@MartinBüttner How do you know we didn't audibly or mentally say it? :P
brb waiting for animated gif to scroll up
@Phrancis right click, inspect element, del
So, I have a design question. In my KoTH controller, I have a Directory that keeps track of players. Specifically, it knows how to create a Player from a PlayerType, and should be able to identify the PlayerType given an instance of a Player
23:34
@El'endiaStarman I just do.
My problem lies in the "identify the PlayerType" part
@DrGreenEggsandHamDJ J, 4 bytes: {:q:
@MartinBüttner whoa. I had no idea you could do that.
@QPaysTaxes Technically no, since 1 is a proper divisor.
But other than 1, yes.
I could make a userscript that gets rid of all gifs.
23:35
There are a couple ways to do it: 1. Use the class of the player. 2. use player.toString() 3. Have players implement a function getType()
BTW @CᴏɴᴏʀO'Bʀɪᴇɴ I love your brain-flak syntax highlighter. :D
@DrGreenEggsandHamDJ :D thanks!
@CᴏɴᴏʀO'Bʀɪᴇɴ Even better, make the gifs click to load
@DrGreenEggsandHamDJ Osable, 3 bytes: Ò¦P.
@DrGreenEggsandHamDJ Julia, 29 bytes: x->findlast(i->x%i<1,2:x-1)+1
dunno if shortest but works
23:36
@Quill oo. that's a good idea, but idk how a userscript could do that--the GIF's are already loaded by the time the userscript sees them
@QPaysTaxes I like the nth syntax
Alright, well gbai everyone. Imma go play some frisbee.
@CᴏɴᴏʀO'Bʀɪᴇɴ You should be able to make gifs stop playing. I know it's possible since Facebook has that capability.
@DrGreenEggsandHamDJ Sounds like fun! Have a good time!
@CᴏɴᴏʀO'Bʀɪᴇɴ I thought the same thing, but the gifs loading isn't the issue, it's the playback, so I suppose you could hide the actual gif itself and have a placeholder image until clicked, but that sounds difficult and painful
@DrGreenEggsandHamDJ bai! glhfdl
@NathanMerrill how many types are there?
Lol, sure.
IDK where you live, but it's probably a really long drive.
@QPaysTaxes s/live/lose
From New Jersey to Colorado?
23:37
@MartinBüttner potentially unlimited
We specifically told you not to die.
@NathanMerrill but in practice?
OK, I'm out for real.
do you know the number at compile time?
@MartinBüttner the number of entries to a competition
23:38
5
yes
er, no
I don't
because of cross-platform entries
unless I enforce that every entry has a class
even if its a different language
@NathanMerrill in that case, inheritance or enums don't seem like a good choice. just have the type be an integer ID and add a type property then, I guess.
An enum isn't bad, you can use it as a field and still get both a name and an ID for comparisons
Chat mini challenge: given a number n output all pairs of integers (j, k) so that j + k = n and j, k > 0. You may not include duplicates in your output. No builtins.
the problem with making it a property is that I have to have the type without constructing the object
23:41
@Quill the enum can't change its size automatically when you add another player, can it?
aka, I need a list of all of the types
but how do I make the list of types without instantiating all of the players?
@NathanMerrill couldn't that list just be [0, 1, ..., N-1]?
@MartinBüttner Oh, an enum of players, I thought you meant an enum of player types
@CᴏɴᴏʀO'Bʀɪᴇɴ pyth - 7 bytes: fq2lT./
@CᴏɴᴏʀO'Bʀɪᴇɴ n->[partitions(n,2)...]
23:42
@Quill if I understood correctly, those are identical
it sounds like there are multiple instances of each player, belonging to a unique type (identifying the player)
players = [Martin, Quill, Nathan]; playerTypes = [Mod, NormalUser, RoomOwner]
@MartinBüttner so, after I instantiate a player, I set the ID?
@Quill as a test.
23:44
I thought it didn't work because he didn't respond.
HAI
@CᴏɴᴏʀO'Bʀɪᴇɴ can't stay, you made it on the bad influence list again, along with most of PPCG.
@NathanMerrill that sort of depends on how your players are represented. if each player is implemented via a separate class, it could also just have a static property returning the ID (but then you could also get its class directly, but that might be more annoying than working with integers, I don't know enough Java to tell)
@EᴀsᴛᴇʀʟʏIʀᴋ aw :( bai
If I were to make a successor to Jolf, what should I call it?
@MartinBüttner I'd like to avoid the "each player is a different class"
@CᴏɴᴏʀO'Bʀɪᴇɴ Jolf 2
23:45
Jolfier
simply because it makes cross-language much harder
@CᴏɴᴏʀO'Bʀɪᴇɴ le jolf
@NathanMerrill fair enough. but you do know up front how many players there are, right? then just enumerate them and give the players the correct ID upon instantiation.
yeah, I think that works
@CᴏɴᴏʀO'Bʀɪᴇɴ Scarf.
I also have a list of all of the types upfront
@CᴏɴᴏʀO'Bʀɪᴇɴ right now I am teaching my sister about the glories of xkcd... :P
but i gtg, bai!
@CᴏɴᴏʀO'Bʀɪᴇɴ no seriously, scarf.
drinkbai
23:46
good name.
aka, there's a static initializer that simply registers every type
@Adnan I tried it actually. It sucks.
@EᴀsᴛᴇʀʟʏIʀᴋ not a bad name
@DrGreenEggsandHamDJ Java, 75 bytes... static int d(int n){for(int i=n-1;i>0;i--){if(n%i==0){return i;}}return n;}
@EᴀsᴛᴇʀʟʏIʀᴋ hahaha
23:47
@QPaysTaxes is [range) a range between [a,b)?
@QPaysTaxes I like that a lot :D
oo that's nice
n=400; j=n-1; k=1;
while(j>0 && k>0){
   console.log(`${j--}+${k++}=${n}`)
}
None of those avocados look ripe

« first day (1929 days earlier)      last day (3208 days later) »