« first day (1808 days earlier)      last day (3036 days later) » 

1:00 AM
altavisting
 
Mkay, so apparently regex.exec() returns a list
 
@quartata I was going to do that but wanted to see if someone in here could provide an answer quicker. :P
 
@quartata you only see so many low quality posts because the volume of posts is so incredibly high, and it becomes waaay harder to actively enforce quality standards
 
In that list will be your capture group
@Doorknob I know.
 
@quartata Alright, gonna play with that in the console.
 
1:00 AM
I think it'll be matches[1]
@El'endiaStarman good luck and... goodbye.
We've lost him to the JS world.
 
@TanMath pls don't ping me everytime you see NewMainPosts.
 
@TanMath That's actually really cool.
 
I got I think 2 or 3 from you?
 
I didn't know about that.
 
@RikerW Please don't ping New Main Posts every time you see it
 
1:02 AM
Sorry NewMainPosts.
@AlexA. I have stopped though.
 
Oh, okay.
 
You aren't excited? :P
 
@quartata regex.exec() throws an exception. [Googles]
 
@El'endiaStarman Oh, sorry.
myRegex.exec(myString)
Yeah, it's not like a module.
 
oh shoot it's time for my bidiurnal challenge again
 
1:03 AM
Ah, I wrote the regex string a bit wrong.
 
Also don't forget to compile the regex because apparently you have to do that.
wtf js
 
@Doorknob Oh thanks for reminding me about that.
 
What part of =~ don't you get
 
Gotta sandbox the Buttner one...
 
dammit ecma
 
1:03 AM
But I'm lazy, and supposed to be doing chem...
 
ECMA gave me eczema
 
@quartata your new icon really is freaky. :P
Bai now.
 
@RikerW That's the idea.
 
Why????? :(((
 
I don't know.
I also thought my avatar was a little too generic so I decided to make it a little too non-generic
 
1:05 AM
@quartata Got it, thanks.
 
It looks like a hexagon
 
@El'endiaStarman nailed it
@CᴏɴᴏʀO'Bʀɪᴇɴ Zoom in on the lattice.
It looks like there is writing near the blue beehive shape
 
But it's just a trick
Hmm... looks like "DDBC"
Oh boy.
Now I'm going to have to secretly encode that in all my programs.
 
1:07 AM
hahahahahahahahahahahaha
Oh, quick question. Is == OK for comparing strings in Python or do I need something else?
Perl is eq for instance
 
It's == in Python
 
You need =============
 
Ah, cool.
It isn't == in most languages...
 
If I make a regular language, arbitrary-length = strings will be valid commands.
 
@quartata it is in Ruby
and Rust
 
1:09 AM
Shit I didn't mean to delete that
As I was saying...
 
and C++
 
@CᴏɴᴏʀO'Bʀɪᴇɴ It's a regular language: =*
 
@quartata *programming
 
ba dum tish
 
and JS
and C#
 
1:10 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ joke went over your head so much it no even funny
 
You need == in python and that is it!!
 
In theoretical computer science and formal language theory, a regular language (also called a rational language) is a formal language that can be expressed using a regular expression, in the strict sense of the latter notion used in theoretical computer science (as opposed to many regular expressions engines provided by modern programming languages, which are augmented with features that allow recognition of languages that cannot be expressed by a classic regular expression). Alternatively, a regular language can be defined as a language recognized by a finite automaton. The equivalence of regular...
 
@quartata I got it :P
 
@Doorknob Ostensibly, yes, but...=== is better.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Phew.
But you didn't laugh...
 
1:10 AM
@El'endiaStarman well, yeah
 
who did the 'rainbow fill' question a while ago?
 
:(
 
@orlp Me.
 
@El'endiaStarman
 
@El'endiaStarman look at this
 
1:11 AM
Ninja'd.
 
now THOSE are pretty rainbows :)
 
Agreed.
 
check this out: ideone.com/uJ12g1
 
Now do the flood fills! :D
 
@TanMath I don't know what that video is but
 
1:12 AM
mini challenge what is the fourteenth letter of the russian alphabet?
 
I'm not clicking on it and if it is a screamer you're in big trouble
 
@quartata it is code!
 
that was like a rickroll, but not
 
It's a Youtube video...
Oh. It's Adele Hello.
 
adeleroll
 
1:13 AM
^
 
Thank goodness for being able to search the end of a youtube url and get the video.
I have saved myself from ear pain
 
wait, what?
you are supposed to PRESS the link!
 
HELLO FROM THE OTHER SIIIIIII-IIIIIIIIDE
 
Why would I do that?
:P
 
@Maltysen I MUST HAVE CALLED A THOUSAND TIMES!!!
 
1:13 AM
@TanMath I did, saw the title, and closed the tab before it loaded. :D
 
I'm much more careful than that.
 
@El'endiaStarman same
 
@El'endiaStarman come on...
 
@TanMath now I'm getting textually adelerolled help
 
@quartata I had no idea your avatar was so disturbing until I zoomed in...
 
1:14 AM
> adelerolled
 
I am so happy that I invented "adelerolled"
I mean, just piece it together...
"hello" is like "never gonna give you up" for 2016...
it is the new annoying song of the year...although it was done in like october 2015...
 
2
Q: Smooth a line graph

DoorknobGiven an input of an integer n and a list of integers m1, m2, ..., output a list of integers m1', m2', ... where mx' is defined as the average of mx-n through mx+n. When calculating these averages, ignore indices that are out of bounds (and adjust what you are dividing the sum by accordingly). n...

 
@trichoplax G̸̯̻͉̣r͙̘̫̰͔͈e͚͍̺̥̦͜e̶̻̙̥̹ͅt͏͓̭ͅi̠͙ṉ̶̺̭g̵̞s̞͝ͅ.̝̖̦͙ ͉̖͞ͅI̞͍ ͙a͖̤̦̞m̖͘ ̸͈͚̖̰̲͕D͉͙͕ͅḐ̞͉B͉̜̟̪̹̠̞͠C͎͚͕͉̹̮͈.͙̘̠̱
 
I'm less fond of quartata since the alien code parasite takeover
 
:P
 
1:19 AM
 
PREEEETYYYY...
 
 
nice
Me like.
 
what's that you say?
3 cycles?
 
1:23 AM
@TanMath It doesn't work. It starts too calmly. Rickrolling heavily benefitted from that massive drum scale which kicks it off. It instantly makes you groan. Hello is too soothing to engender more than a slowly growing mild annoyance.
 
@El'endiaStarman just building up hype
 
Oh, lol. Cool.
 
that goes through the rainbow 3 times
 
I actually rather like that version. The detailed convoluted turnings are more clear.
 
or let's go through the rainbow every 100 units
maybe 100 was too small...
 
1:25 AM
...and that looks mostly like noise. :P
 
let's try 1000
 
@El'endiaStarman not when zoomed in
I think it actually looks quite nice
 
 
@Doorknob Hmm. You've got a point. It would look cool as a room wallpaper.
 
^
 
1:27 AM
What if you color it a hue based on which direction the maze was travelling at the time? (if that makes sense)
 
@orlp oh, we're coloring mazes again?
 
@quintopia He's using a different spectrum distribution, so to speak.
 
@quintopia just messing around with my fancy new rainbow scale
it has a gamma parameter
lets look at a darker tint
 
I was gonna ask, actually, would you be able to cycle through light and dark, at a rate slower than the color?
 
@El'endiaStarman yes, let's do that
 
1:29 AM
@orlp what is your profile icon supposed to be?
 
@RikerW a gengar cat
err
haunter
 
lol
I don't really play pokemon, but I thought it was similar to a gengar.
I was right apparently.
:P
 
Would like to draw everyone's attention to this:
6
A: Pyth Practice 2

isaacg59 58 56 bytes Problem 1: Problem 2: Problem 3: Problem 4: Problem 5: Problem 6: Problem 7: Problem 8:

It's really impressive.
 
@orlp what about making the maze only an internal representation, which exists only between the pixels, so that the image is all color, no lines?
 
@quartata Geez, 10 bytes shorter than the rest.
 
1:31 AM
@quartata he doesn't disappoint for being the master of his own language
 
@quintopia It's a flood-fill of a black-and-white image.
 
sorry, took a while
 
@orlp Cool. Faster light-dark cycle? Like, say, 3 times the length of the color cycle.
 
@El'endiaStarman well, there is no cycle in light/dark
it'd have to be a mirror
 
@orlp Well, you could do a sinusoidal cycle or just do a hard jump.
 
1:32 AM
There can be. Think triangle wave, or sawtooth
 
@quartata actually, his #6 is not even the shortest, so it could be a byte shorter
 
Sawtooth is what I meant by "hard jump". Better terminology, that.
 
@Calvin'sHobbies that's what I meant with mirror
I'll do sine since I'm lazy
 
4 hours ago, by orlp
but using a cubehelix rainbow: http://bl.ocks.org/mbostock/310c99e53880faec2434
 
@El'endiaStarman If it is resampled the right way...
 
1:34 AM
@quintopia ^^
 
@El'endiaStarman e.g. sample the center of each cell, gaussian blend to full size
 
@quintopia Once the colors are set normally one could replace all the blacks with nearest neighbor
 
@quintopia You're entirely welcome to write that algorithm yourself. I look forward to seeing what it looks like. :D
 
it's not even an algorithm...it's like two calls to convert
 
Well, you'd have to write the flood-fill part too...
 
1:36 AM
@El'endiaStarman sorry, processing is kinda slow
the thing that takes the most time isn't the coloring
 
Quite understandable.
 
it's the priority calculation
I could store that...
 
Just digging through old challenges:
> Whitespace will NOT be counted. Please format your code properly!
68
A: Print all numbers from -100 to 100 which contain a given digit

Victor StafusaWhitespace, 834 characters (0 if you subtract whitespaces) Used this interpreter to test it. This took me some 4 hour of hard work and horrible debugging to create. But it is done!                                                                                          

...
 
@orlp Priority? What kind of flood-filling are you using? Manhattan or Euclidean?
 
manhattan
 
1:38 AM
@quartata hahaha
Haha, I learnt a lesson. :P — duci9y Mar 6 '14 at 15:54
As did the site, I think. :P
 
 
ooooooh
Yeah, I think that could make a really nice wallpaper.
 
I think you want it without the borders
 
And tiling.
And other people would probably think it ugly... :P
 
let's see whether this works to remove the borders..
o.0
nope
that did NOT work
it left some corners
 
1:44 AM
Haha, I kinda guessed this would be a problem. Borders aren't only 2 pixels thick.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You sure are lucky you implemented repeatVertically 4 days before the ladders challenge. :P
 
And if you're doing only horizontal and vertical Manhattan (as in the question spec), then inner corners won't be reached either.
 
@Doorknob Yup!
 
@El'endiaStarman ok, current running a very slow patched up algorithm that 'smears' color vertically into black spots
it won't be really pretty, but it'll hide the black spots
never mind that, it gives a nice look to it
 
mmmmmm...
 
1:52 AM
Welp, didn't get NanoScript finished today.
I'm at the easy part at least.
I gotta go eat dinnerz
bai
 
@orlp Definitely my favorite thus far.
 
@El'endiaStarman I like that it look chaotic but organized locally
 
yeah
Plus the light/dark contrast.
 
It's almost like one of those things where it looks 3d-ish but you can't tell whether the light is on top of the dark or vice versa
 
Ha, yeah.
 
2:01 AM
all right
I guess I should stop teasing you guys :)
 
Nice. :)
 
as you can see
it's quite complicated for a rainbow :)
but color spaces aren't easy
 
Just because I'm curious, if there existed a Rookie of the Year award on the Best of PPCG 2015 thread for a user who contributed high-quality questions and/or answers and wasn't on the site before 2015, who would you nominate?
 
In case anyone cares, based on the near unanimous support, this has been "upgraded" to a feature request.
 
Also bump for this:
24
Q: Hey Stack Exchange, how are we doing?

Alex A.The last time we heard from a Stack Exchange community manager was in March of 2014, when Grace Note came to talk to us about the progress we've made as a site. That was back when code-trolling was a thing, and the community's response to the news wasn't particularly positive given how code troll...

 
In particular, I was kinda shocked by how B3/S234, starting with a GoL glider, evolved to a still life.
 
1
A: Build ASCII ladders

undergroundmonorailbrainfuck - 334 bytes ,[<+<<<<+>>>>>-]<[[>>]+[<<]>>-]<----[>---<----]--[>[+>>]<<[<<]>++++++]>[+.>>]-[<+>---]<+++++++>>--[<+>++++++]->---[<------->+]++++++++++[<++<]+++++[>[++++++>>]<<[<<]>-]>[-]>.-<<----[>>+++<<----]--[>+<--]>---<<<<++++++++++.,[>[>+>+<<-]>[<+>-]>[<<<<[>>>>>>[.>>]<<[<<]>>-]>>>>>[.>

Shorter?! This is crazy already. O_o
 
a lot of stuff had to be hardcoded weirdly
special cases, etc
 
@Doorknob Oh hey, Brainfuck is beating C#.
Fuck#
 
2:11 AM
@AlexA. you mean the completely ungolfed answer with 6 upvotes? >____<
 
Brainfuck for the .NET framework
@Doorknob That's exactly what I mean. :/
 
Something I like about this site: SE staff came to us and said "Wow, you guys are doing way better! is really working out for you, huh?" and we still killed it
 
hahaha
 
@El'endiaStarman glslsandbox.com/e#29949.0
 
2:22 AM
@AlexA. The're giving us the silent treatment :/
 
WebGL isn't supported on firefox?! O_O
 
@Calvin'sHobbies Well, at least this is a cry for attention.
 
Oh, and, adding documents to Jolf
 
I could write a chatbot that pastes the link to that post into every chatroom, but that may not be received well...
 
@Calvin'sHobbies You won't write it. Your sock will :P
 
2:27 AM
Well, we as a whole would come under suspicion...
I mean, if a chatbot goes "PPCG GRADUATION PLZ" in every room...
 
In that case, have the bot say something about Code Review instead.
3
 
@El'endiaStarman needs click-and-drag :D
 
@quintopia I'll figure that out eventually.
 
@feersum <CR BOT> Your code sux bruh. Lemme fix dat. googles stufz o yea imda BOM
 
2:31 AM
@El'endiaStarman you seem p good at js. you'll get it.
 
@quintopia Recreating a game is good experience. :P
 
Someone want to help me recreate a game?
 
What game?
 
It's called "conversation", and it will be written entirely in Brainfuck.
With module comments.
okai bad joke sowee exit stage right
 
That does not sound fun.
 
2:38 AM
@El'endiaStarman We can at least flood the Sandbox. Paste this into url bar of chat page:
javascript:var i=0;function f(){$('#input').val('[PPCG GRADUATION PLZ' + '!'.repeat(++i) + '](meta.codegolf.stackexchange.com/q/8030)');$('#sayit-button').click();};setInterval(f,20000);f();
 
how do I read the challenges that were tagged ?
 
have enough rep
oh wait
i misunderstood you
 
@El'endiaStarman I played the original Space War once.
 
@quintopia Use the search query [code-trolling]
 
2:45 AM
@AlexA. the tags have been removed. that doesn't help.
 
Oh right
uhhh
 
no it still works
search in the search bar, not in the tags search
 
@Maltysen did you try it yourself?
 
yeah
 
Try the query locked:yes. Most of the stuff that's been locked is code trolling.
(Not all of it is though)
 
2:47 AM
ok
 
Oh
locked:yes [code-trolling]
That'll get it
(Works for me, at least)
 
look at this epilepsy gif I found on the sandbox:
 
@El'endiaStarman your reset button doesn't work
 
^
 
@quintopia It's a "clear" button now, and I dunno how to make it work.
 
2:50 AM
Writing long Pyth answers is so confusing.
 
Are stars per day per chatroom?
 
yes
@ThomasKwa ...dat time complexity...
 
@Calvin'sHobbies I wonder why you would ask such a thing
ಠ_ಠ
 
@El'endiaStarman There's also a constant 2 that I could remove by adding one byte, I think.
 
2:52 AM
there
 
@Calvin'sHobbies WAT.
 
@AlexA. Does the number of upvotes affect how likely/soon we'll get a response?
 
@trichoplax Nope.
 
Ah. No reason to feature it then...
 
Yeah.
 

« first day (1808 days earlier)      last day (3036 days later) »