« first day (1920 days earlier)      last day (1171 days later) » 

12:02 AM
It got so quiet
 
\o/
 
@HelkaHomba :O +1
@Doorknob 10/10
 
@AlexA. Is +1 better than 10/10? Or I'd guess they'd be equal..
 
@HelkaHomba They'd be equal because 10/10 == 1
 
12:06 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ stop puffing your magic dragon Conor
 
@HelkaHomba o-o?
 
@HelkaHomba look at this one:
 
why are specs so hard
 
12:08 AM
@QPaysTaxes did you just come in here to complain?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yes
 
@QPaysTaxes well they are usually made of glass
 
@ArtOfCode post stage on github so I can make it great
 
12:09 AM
Anyway, I'm trying to decide if my language is point-free or concatenative, or if they're really the same
 
@quartata already there, github.com/ArtOfCode-/qpixel
 
@HelkaHomba thank you for making this possilbe
 
12:10 AM
why are you calling it qpixel
 
@quartata I built a challenge based on your wordgen :)
 
@quartata naming is hard
All ears for a better one
 
@ArtOfCode I like the name QPixel
It reminds me of a certain wonderful person
 
@ArtOfCode cpixel
 
>:(
 
12:11 AM
SEChan
No just kidding
 
47 mins ago, by Cyoce
In Cy, preceding a method call with & will make it peek its arguments off the stack instead of pop them. Any ideas for what to call this mechanic?
Anyone?
 
I like QPixel too
@Cyoce preserve
 
(9)4chan
 
@Cyoce immutability modifier?
 
Because 94 is 5E in hex
 
12:12 AM
@ArtOfCode Maybe you could do some kind of pun based on a type of programming error, because the site's goal is to fix errors
 
@Cyoce a peeker function
 
I'm thinking something with "overflow" in the name, maybe, to symbolize how many good answers there will be
 
Hmm
Well, I know a common error is integer overflow
 
Possibly "stack" to create the idea of a huge stack of people waiting to help
 
12:13 AM
@EᴀsᴛᴇʀʟʏIʀᴋ Nice - you got the red hair
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What in the ***k is that?!
 
@QPaysTaxes :3
 
Conor is changing something else entirely
 
welp back to writing specs, you weirdos
 
@AlexA. does your cheek look like ^?
 
12:16 AM
that
 
is awful
 
ninja'd
 
oops wrong one
Just uploaded today
sourceruns did it again lmao
 
@AlexA. HL2 speedrun
 
12:17 AM
although this was on source 2006
dwahmov is still the record on orange box I think
I suspect part of the reason they did this was it was discovered one of the runners for the original HL2 done quick cheated using host_timescale
 
What about & ([safe]guard/shield) for the name?
 
The reference to... a syntax error?
 
also I just noticed sndrec did some segments that's cool
 
Say I'm continuously running a transformation in python. I want to display each frame--what should I use?
 
pygame
 
12:20 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ !(python)
 
Wow, seeing a lot of new faces on these segments
 
@Cyoce If you wanna do regex, (?!python)
 
that's cool
 
@Cyoce what would you suggest? :P
 
@Cyoce That's offensive. How dare you make fun of python
 
12:21 AM
user image
3
 
@HelkaHomba That looks really pretty
 
This run isn't quite as dramatic as dwahmov because it's source 2006 which doesn't have abh but there's a lot of very subtle tricks I haven't seen before
 
I'm colourful!!!
Ooh, can I use that as my new profile?
 
Sure
 
12:23 AM
Oh my gosh! You're the coolest person in the world!
 
Quick, someone rainbowify my profile pic
 
@QPaysTaxes I tried, it's not much different :P
 
@HelkaHomba exactly
 
12:24 AM
What happens to mine?
 
...I like my original profile better
I mean, nice work, but
 
Hurry up caching...
 
I look like a weird robot in Conor's, and the bottom one makes me wanna puke, but that would just get more rainbow on it
 
@Zizouz212 you're a mod, force a refresh
 
12:25 AM
@HelkaHomba That is unexpectedly pretty
 
@ArtOfCode What
 
Cool!
 
I agree!
 
@Zizouz212 you're a mod, force a refresh
 
Yep.
Instructions before I destroy Stack Exchange?
 
12:26 AM
@Zizouz212 button on chat profiles, I just clicked it. All refreshed now.
 
If anyone cares, @MartinBüttner seems to be the only user around here whose JPEG avatar file extension actually has the 'e' in it.
 
I'm colourful now!
 
@Zizouz212 Yay! Welcome to the club!
 
@ArtOfCode I'mma add this as a git submodule: github.com/vmg/redcarpet
 
Club?
What club? I was always part of the club
 
12:28 AM
I'm trying to parse your views I think I know where to put it
 
@ArtOfCode Where's your avatar from originally? It's a neat image
 
The markdown parsing should go here right: github.com/quartata/qpixel/blob/master/app/views/answers/…
@HelkaHomba I think he drew it
 
@quartata gem it, sub modules won't play nice
 
@ArtOfCode OK?
 
I should try to rainbow-ify some of my own pictures. That would look really cool :)
 
12:29 AM
@quartata nope, it's a firewatch art thing
 
@ArtOfCode Ohhh, right.
 
Firewatch is so fun
 
I was about to say it might be from Firewatch lol
Did you get your physical prints?
 
@quartata find the ruby gem version, add it to the gemfile
 
@ArtOfCode No, I know how to do that
 
12:30 AM
@QPaysTaxes Perhaps better:
user image
5
 
I just don't see why submodules would be a problem
 
@HelkaHomba I think I like that more actually :)
 
@quartata don't need 'em
 
@ArtOfCode What version of Ruby are we using?
 
One day... I should just change my username and my profile picture... And then catch people when they least expect it...
 
12:31 AM
It's ruby, you never need submodules, we have gems
@quartata no idea, but it's in the readme
2.2.1p85 maybe
Above 1.8.7, anyway.
 
OK, that's what matters :P
I don't see where the answer body gets rendered
Which .erb is that in
 
@quartata all of them
 
In the view, app/views/answers/_expanded.html.erb
 
Ah, gotcha.
 
Is this a duplicate? "Given a list of string, determine if they are a valid prefix code"
 
12:33 AM
Next place I was gonna check
 
E.g, no one string starts with another.
 
Question, is reversed() in Python lazy?
 
@QPaysTaxes depends
 
Or... not lazy, but does it just iterate backwards, rather than reversing the array?
 
@QPaysTaxes What does that mean?
 
12:36 AM
Questions, answers and comments each have a full-content partial to slim down the question show ERB. Questions and answers also have minimal views for question lists and such.
 
Doubt it does it in place
 
Python has a function called reversed
 
Actually, I think it's just like len... It just calls the __reversed__ method of the object
 
:D You changed your picture!
 
I'm asking if it returns a duplicate of the thing that's been reversed, or some magic thing that just iterates backwards over the original object when you iterate over it
 
12:37 AM
AKA [::-1] which is golfier
 
It returns a reversed object.
 
I have starboard messages with 1, 2, 3, and 4 stars!
7
 
Yeah, it's not in place
 
This isn't for code golf, so idgaf about golfiness
 
@ArtOfCode I'm putting the Markdown renderer as a class variable in the controller
 
12:37 AM
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> s = "Hello"
>>> reversed(s)
<reversed object at 0x00DE2C70>
>>> print (reversed(s))
<reversed object at 0x025012F0>
>>> for i in reversed(s):
...     print i
...
o
l
l
e
H
>>>
 
@HelkaHomba I don't see any one-star comments
 
It just got pushed off :o
 
@KennyLau Ooooooooooooh the slice of the object in the sea... A pythonic operator sitting in the sea...
 
@quartata Sure, sounds sane. Unless we can do it at application level efficiently, of course.
 
12:38 AM
I need to stop the children songs in the background...
 
4 mins ago, by Dr Green Eggs and Ham DJ
Is this a duplicate? "Given a list of string, determine if they are a valid prefix code"
 
Well, the renderer needs to be instantiated
 
@DrGreenEggsandHamDJ There are three things wrong with this picture
 
@DrGreenEggsandHamDJ No, but it sure as hell is generic
 
12:38 AM
Then we should just be able to do AnswersController.renderer.render(answer.body)
in place of answer.body
 
1. Python 2, 2. Windows, 3. 32 bit
 
Or at least that specific wording isn't a dupe
It's literally just "does this exist in the set", AFAICT
 
@DrGreenEggsandHamDJ probly not a dupe
 
@quartata that's what I'm thinking, does it make sense to instantiate it in an application callback or will it not get used enough?
 
@QPaysTaxes It's not that simple.
It is simple though.
 
12:39 AM
...How's it different, then?
 
@ArtOfCode I dunno. I'm not much of a Rails expert
Will the .erb have access to AnswersController?
Or will I need a require of some sort
 
shrug
 
@quartata Maybe try learning Rails first then
 
You have to check if any of the strings start with any of the other strings.
 
Should do I guess
 
12:40 AM
@QPaysTaxes I know Rails, I'm just not an expert
 
So... it's a filter.
 
Tell me, is this bad python code?
for y in range(h):
	for x in range(w):
		r, g, b = data[x, y]
		rC = R[0]
		R = R[1:]
		gC = G[0]
		G = G[1:]
		bC = B[0]
		B = B[1:]
		data[x, y] = tuple(map(lambda x: int((x / sc) % 256), [(r + rC), (g + gC), (b + bC)]))
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yes
Have you heard of variable names
 
12:41 AM
@QPaysTaxes what about them?
 
@DrGreenEggsandHamDJ Yes, but not too simplistic for a challenge. Go for it
 
Also I think you can do a, *b = c to get the first element in a and the rest in b
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Oh god
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Variable names, not variable identifiers. Call them something legible
 
@Zizouz212 \o/ 2
 
12:42 AM
Also, expect an error when you try running that
You call B without ever defining it
 
@QPaysTaxes naw, I know what they are
@QPaysTaxes It's a snippet
 
You realize that vars are case-sensitive right...
 
@CᴏɴᴏʀO'Bʀɪᴇɴ But in 6 months you might not
also use a list comprehension
 
Hm wait
R, G, and B
Color?
 
12:42 AM
@quartata 1. You won't need the require call if it's in the gemfile, it gets loaded at startup.
 
@ArtOfCode Oh, oops I'm dumb
 
What exactly are you trying to do?
 
Python is slow af
 
Whia
Whoa
 
12:43 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Really?
Compared to what?
 
2. Query: if you've instantiated it as an HTML renderer, is the gsub necessary? I haven't read the docs, so I don't know, just occurred to me.
 
Compared to C.
 
Nah, python is slow
 
@QPaysTaxes Not compared. It just is.
 
@ArtOfCode It doesn't replace the newlines in the Markdown with breaks
I had to do that myself
 
12:44 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ People here can sometimes be full of way to much advice :J
 
That's like saying "Computer is slow". Some computers are way faster than others :P
 
I tested locally to see if it would
 
@HelkaHomba XD
 
@quartata fair enough, just wanted to check
 
@QPaysTaxes Objectively slow. It took way to long to get this:
 
12:45 AM
also oops I thought I committed the change that added it to the gemfile but I don't see it
 
Python is an interpreted language... and it is slow compared to almost any other language out there
 
Looks fine to me then
 
Oh wait that's because I'm looking at your fork der
 
@Zizouz212 That's true.
 
@quartata yeah, yours has it
 
12:45 AM
That said, I love python...
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Try the same thing in C, then
 
@Zizouz212 Python is faster than C++ at least ;)
 
So much I've actually started writing a program that turns Java into python... Like this:
 
@QPaysTaxes I don't know C, so I'm sticking with Python :P
 
:D
 
12:47 AM
@Zizouz212 0_o but why?
 
@Zizouz212 What is wrong with you
 
Everything.
Because python == life
Because java is an ugly looking language (though surprisingly useful)
 
@Zizouz212 oooh I should try that
 
@ArtOfCode pr sent
 
I'll open source it :)
 
12:48 AM
test it first obviously
 
@Zizouz212 Yeah it's ugly when you write it like that
 
code golf: generate a random string of 5 alphanumeric characters
 
Is it possible to do that completely? E.g, a program that can convert any java program into python?
 
No, it's really simple. Basically, you just check if the line ends with a {, }, ; and stuff, and then you just indent it.
 
12:49 AM
@DrGreenEggsandHamDJ Not code wise, but visually somewhat
 
Or does that come down to the halting problem?
 
@HelkaHomba I want my codepad to look like this
 
@HelkaHomba Ooh... We should start a rainbow syntax highlighter... That actually looks really good :)
 
@quartata that stage server is my test, dev, and production servers all together
 
@CᴏɴᴏʀO'Bʀɪᴇɴ smOs+GUT5
 
12:50 AM
@DrGreenEggsandHamDJ I wouldn't think it's impossible. If they can both do the same exact processor instructions you'd never know the difference
 
@Maltysen Gesundheit!
;)
 
@Zizouz212 why are you rainbow?
 
(0..5).map{(('a'..'z')|('0'..'9')).sample}
 
@Downgoat why wouldn't he be?
 
@Downgoat Because I look absolutely wonderful and beautiful!
 
12:52 AM
@Zizouz212 uh, sure
 
@Adnan Does 05AB1E have a command to pick a random element of an array
 
It's true...
 
Python folks, is list equally fast to add things from the front and back?
 
@Zizouz212 uh huh
 
@HelkaHomba I gotta say though, who the hell does that with their brackets and semicolons? It's heinous.
 
12:52 AM
user image
6
 
Or even better a random shuffle
 
@CᴏɴᴏʀO'Bʀɪᴇɴ @Maltysen @QPaysTaxes uppercase?
 
6 mins ago, by Zizouz212
user image
2
 
@quartata merged and issue closed
 
At this rate, @HelkaHomba Will be the only one on the starboard.
 
12:53 AM
@ArtOfCode Deployed too?
 
Either that, or iterate backwards over an array
 
This is the easiest I've ever gotten stars :D
2
 
@quartata no, won't make that till the morning
 
ok
 
12:54 AM
I'll give you a ping when it's done
 
Stars don't make sense anyway
2
 
What are stars even?
2
 
Wow. Way to ruin making @HelkaHomba the only one on the starboard.
Stop starring everything!
 
12:55 AM
Okay, this is bad.
 
STOP ABUSING STARS
 
...
 
nevermind it's long since propogated
 
12:55 AM
needs moar star
5
 
Why don't I get any stars?
 
I'm very disappointed in all of you. Losing out on stars... :/
 
ØBX
¢¢¢¢¢¢
I don't know why repeat doesn't work
 
F**K I'M AN IDIOT
 
12:56 AM
I've been having this bug where multiline things don't stop
 
Damn it you guys.
 
@QPaysTaxes nice to know
 
I... I forgot to add a parentheses
 
See, when you guys pull shit like this, it makes actually getting stars less valuable. I can't be proud of being starred when everything is.
11
 
12:57 AM
@HelkaHomba what did you do, now my avatar looks more friendly to new users ;_;
 
I should write a bot to auto star anything matching /^.*star.*$/gi
6
 
@ArtOfCode do not
 
And now @HelkaHomba only retains 4 messages on the starboard.
 
also someone already did that
 
@ArtOfCode or just /star/.test(msg)
 
12:57 AM
@ArtOfCode Is that greedy? That could cause problems.
 
@ArtOfCode I already have one :P
It runs out of stars quick
 
.* causes bad things.
 
oh heavens what is happening
 
@Zizouz212 Meh. I'll probably survive.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ stars. Stars happened
 
12:59 AM
@Downgoat ahh
 
      .
  ---./|\.---
  '._/ | \_.'
_.-'_'.|.'_'-._
 '-._.'|'._.-'
  .' \ | / '.
  ---'\|/'---
       ' Starshine
Alright. I'm going to sleep.
 

« first day (1920 days earlier)      last day (1171 days later) »