« first day (1920 days earlier)      last day (2974 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:
 
ah
@QPaysTaxes did you just come in here to complain?
 
12:08 AM
le sigh
 
@QPaysTaxes well they are usually made of glass
 
@ArtOfCode post stage on github so I can make it great
 
@quartata already there, github.com/ArtOfCode-/qpixel
 
12:10 AM
@HelkaHomba thank you for making this possilbe
 
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 cpixel
 
SEChan
No just kidding
 
12:11 AM
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
 
@Cyoce immutability modifier?
 
@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
Possibly "stack" to create the idea of a huge stack of people waiting to help
 
@EᴀsᴛᴇʀʟʏIʀᴋ Nice - you got the red hair
 
@QPaysTaxes :3
 
Conor is changing something else entirely
 
@AlexA. does your cheek look like ^?
 
that
 
12:16 AM
does it?
 
ninja'd
 
oops wrong one
Just uploaded today
sourceruns did it again lmao
 
@AlexA. HL2 speedrun
 
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?
 
12:19 AM
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
 
@CᴏɴᴏʀO'Bʀɪᴇɴ !(python)
 
Wow, seeing a lot of new faces on these segments
that's cool
 
@Cyoce what would you suggest? :P
 
12:21 AM
@Cyoce That's offensive. How dare you make fun of python
 
@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?
 
12:22 AM
Sure
 
Oh my gosh! You're the coolest person in the world!
 
@QPaysTaxes I tried, it's not much different :P
 
What happens to mine?
 
12:24 AM
Hurry up caching...
 
@Zizouz212 you're a mod, force a refresh
 
@ArtOfCode What
 
Cool!
 
I agree!
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!
 
@ArtOfCode I'mma add this as a git submodule: github.com/vmg/redcarpet
 
Club?
What club? I was always part of the club
 
I'm trying to parse your views I think I know where to put it
 
12:28 AM
@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 :)
 
@quartata nope, it's a firewatch art thing
 
12:29 AM
@ArtOfCode Ohhh, right.
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
 
@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 :)
 
12:31 AM
@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...
 
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
 
In the view, app/views/answers/_expanded.html.erb
 
12:33 AM
Ah, gotcha.
 
Is this a duplicate? "Given a list of string, determine if they are a valid prefix code"
 
Next place I was gonna check
 
E.g, no one string starts with another.
 
@QPaysTaxes depends
 
@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
Actually, I think it's just like len... It just calls the __reversed__ method of the object
 
:D You changed your picture!
 
AKA [::-1] which is golfier
 
It returns a reversed object.
 
I have starboard messages with 1, 2, 3, and 4 stars!
6
 
12:37 AM
Yeah, it's not in place
 
@ArtOfCode I'm putting the Markdown renderer as a class variable in the controller
 
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
>>>
 
It just got pushed off :o
 
@KennyLau Ooooooooooooh the slice of the object in the sea... A pythonic operator sitting in the sea...
 
12:38 AM
@quartata Sure, sounds sane. Unless we can do it at application level efficiently, of course.
 
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
 
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
 
@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.
 
@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
 
12:40 AM
shrug
 
You have to check if any of the strings start with any of the other strings.
 
Should do I guess
 
@QPaysTaxes I know Rails, I'm just not an expert
 
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)]))
\o/
 
12:41 AM
@QPaysTaxes what about them?
 
@DrGreenEggsandHamDJ Yes, but not too simplistic for a challenge. Go for it
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Oh god
 
@Zizouz212 \o/ 2
@QPaysTaxes naw, I know what they are
@QPaysTaxes It's a snippet
 
You realize that vars are case-sensitive right...
 
12:42 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ But in 6 months you might not
also use a list comprehension
 
@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
 
12:43 AM
Whia
Whoa
 
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
 
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:
 
also oops I thought I committed the change that added it to the gemfile but I don't see it
 
12:45 AM
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
 
That said, I love python...
 
12:46 AM
@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
 
@Zizouz212 0_o but why?
 
Everything.
Because python == life
Because java is an ugly looking language (though surprisingly useful)
 
12:48 AM
@Zizouz212 oooh I should try that
 
@ArtOfCode pr sent
 
I'll open source it :)
 
test it first obviously
 
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?
 
12:49 AM
No, it's really simple. Basically, you just check if the line ends with a {, }, ; and stuff, and then you just indent it.
 
@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 :)
 
12:49 AM
@quartata that stage server is my test, dev, and production servers all together
 
@CᴏɴᴏʀO'Bʀɪᴇɴ smOs+GUT5
 
@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?
 
@Downgoat why wouldn't he be?
 
12:51 AM
@Downgoat Because I look absolutely wonderful and beautiful!
 
@Zizouz212 uh, sure
 
@Adnan Does 05AB1E have a command to pick a random element of an array
 
It's true...
 
@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?
 
This is the easiest I've ever gotten stars :D
2
 
@quartata no, won't make that till the morning
 
ok
 
I'll give you a ping when it's done
 
12:54 AM
 
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!
 
Okay, this is bad.
 
12:55 AM
^
STOP ABUSING STARS
 
...
needs moar star
4
 
I'm very disappointed in all of you. Losing out on stars... :/
 
ØBX
¢¢¢¢¢¢
I don't know why repeat doesn't work
 
Damn it you guys.
 
@QPaysTaxes nice to know
 
12:57 AM
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.
9
 
@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
5
 
@ArtOfCode do not
 
And now @HelkaHomba only retains 4 messages on the starboard.
 
12:57 AM
also someone already did that
 
@ArtOfCode or just /star/.test(msg)
 
@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
 
12:58 AM
@Zizouz212 Meh. I'll probably survive.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ stars. Stars happened
 
      .
  ---./|\.---
  '._/ | \_.'
_.-'_'.|.'_'-._
 '-._.'|'._.-'
  .' \ | / '.
  ---'\|/'---
       ' Starshine
Alright. I'm going to sleep.
 

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