« first day (1979 days earlier)      last day (2030 days later) » 

2:00 PM
Sites with an obvious theme: arqade, sci-fi, SA, workplace, have a really obvious theme that the designers can run with
but a site like PPCG is hard to design for because code golfing isn't a process that really conjures an easily designable image
 
@Quill But they already have materials that can give them some idea of what would fit -> userscript
 
Kinda sorta. community feedback is good, but they're not going to just copy Downgoat's design
 
I know they won't, but that could be a good starting point
 
@Quill TL;DR designing for PPCG is hard (pls don't blame the CMs)
 
just gotta squeeze out the bits
like an orange
there's your design idea. someone run with it
 
2:05 PM
feel free to make it on photoshop and upload it to meta ;-)
 
nonono see if i make a graphic, it'll be in mspaint
i'm a true professional
 
@Poke mspaint is bad. Everything you draw with it is crap. :P
 
/me cries
 
@Quill Also, PPCG user may be a little bit grumpy (or aggressive) because they tend to forget us pretty easily ^^
 
I can recommend Greenfish Icon Editor Pro, which is good and can have you accurate pixel by pixel.
Also, it can resize your picture with the nearest neighbour method.
So you can have smooth resizing of pictures.
 
2:09 PM
@zʏᴀʙiɴ101 Or use MSPaint, efficient too :D
 
@Katenkyo ^^^^^^^
 
Also, look up on youtube, some people did amazing things with paint
 
I said it's bad a few mins ago.
 
And also that everything you drew with it was crap, but it's false :p
 
@zʏᴀʙiɴ101 A tool I've used before is MSPaint. You should try it out
I give it a 9.5/10
The paint bucket tool is a dream come true
 
2:10 PM
@Poke I still won't. I'm sure it's bad.
:P
 
Consider this: Have you ever had a selection that you wanted to fill with ALL THE SAME COLOR?
Ha, we all know that feeling.
 
Yes. And I can do it with Greenfish Icon Editor Pro.
 
What if I told you that there was a piece of software that could SOLVE this problem?
 
It does have the paint bucket, too.
 
WHOA
blasphemy, man
 
2:12 PM
@Poke And we know which: any sane photo editor.
 
@zʏᴀʙiɴ101 Yes, but it isn't the MSPaint bucket !
 
HOW could you speak out against MSPaint? It has stayed with us since windows 3.1 and beyond
 
@Poke Since Windows 1.0!
 
exactly!
Just look at this photograph that has been accurately drawn up in MSPaint! You can't even notice the difference i.imgur.com/HPz0CzZ.jpg
howto onebox
 
@Poke Which one is done with MSPaint? I can't say D:
 
2:15 PM
@Katenkyo That's what you get with this AMAZING software. It also comes with windows... FREE
 
yup but windows is not free
@Poke ^
 
@TùxCräftîñg Irrelevant
 
@Poke 135€ in France (IDK the us price), you call it irrelevant ? xD
 
@TùxCräftîñg But you can find it for free :p
 
@Katenkyo ...
 
2:21 PM
0
Q: Reverse and subtract

shooqieChallenge description Let's take a positive integer n, reverse its digits to get rev(n) and get the absolute value of the difference of these two numbers: |n - rev(n)| (or abs(n - rev(n))). Example: n = 5067 rev(n) = 7605 |n - rev(n)| = |5067 - 7605| = |-2538| = 2538 After repeating this op...

 
@TùxCräftîñg we're talking about the wonderful merits of MSPaint; not windows!
 
@Poke But MSPaint is only on windows
 
@TùxCräftîñg well maybe you can get it working on wine :[
 
@Poke No, i am on windows (i am a gamer), but effectively it could work on wine
 
2:38 PM
I think downloading MSPaint is illegal
 
@NathanMerrill Yes, it's illegal.
 
funny enough, the windows support site makes it seem like you can't even do it on a windows machine:
they want you to get "Fresh Paint" instead
 
That's... Stupid?
If I have a windows and deleted my Paint, it should be legal to re-download it again
 
Fresh paint is installed by default visibly
WOW WHAT A S***
Oh and fresh paint is only for Win10
 
@Katenkyo eh, that's never been a thing. The right to obtain a copy of something doesn't give you the right to obtain a copy indefinitely
aka, if you delete your music library (not talking about the auto-delete itunes mess), you shouldn't have the right to redownload it all again
 
2:43 PM
@NathanMerrill I have the right to re-install my windows right?
 
@Katenkyo yes
 
Which means I have the right to re-install paint
so why couldn't I re-download it?
 
@Katenkyo Because Kro$oft
 
@NathanMerrill DRM's are a stupid things :/
 
WTF i can't uninstall Fresh Paint
 
2:46 PM
@TùxCräftîñg xD
 
In the WinStore i only have "Open", and i dont find it in the program manager )
 
clik teh btutons
 
click the open button then
 
2:55 PM
do it?
what happens?
 
YAY I UNINSTALLED IT
 
@TùxCräftîñg \o/ HOW?
 
@zʏᴀʙiɴ101 Windows menu -> Search fresh paint -> Right click -> Uninstall
 
In the meantime, I updated Golfdocs with Pyth +. The examples use not-described-before operators, , and .{.
 
@LeakyNun "do this repeatedly until in a loop"
How does that know it's in a loop
 
3:01 PM
@Fatalize it stores all the intermediate results into its memory
 
yeah but
 
clarified
see if it is clearer
 
u stops when it has twice the same element in memory?
 
yep.
 
that seems like a pretty ridiculously specific built-in
 
3:03 PM
it's called fix-point
If u add a dot before the u, you can even see all the things in the loop
 
Why doesn't _ work on ints?
 
_ makes int negative
every command is overloaded
 
well I know that
I just find it strange that it would make it negative instead of reversing it
seems more logical
 
well
alright
 
I don't understand the Python answer
 
3:05 PM
which part?
if it loops infinitely without going to zero, it will have an error
 
crashing because there is too much recursion isn't a proof that it's infinite
 
well that's why i said "abuse"
 
but it just doesn't work
 
i'm gonna write a legit one later
alright, in your case, it probably won't work either
 
The stack size is normally big enough to handle many numbers
all test case at least
 
3:08 PM
if the number is big enough
that it errors before going to zero
then it won't work on a legit one either
 
but it's theoretically correct
 
alright.
@Fatalize
0
A: Reverse and subtract

Leaky NunPython, 101 bytes Tortoise and hare algorithm. Truthy is any value in loop, falsey is 0. g=lambda n:abs(n-int(str(n)[::-1])) def r(n): t=h=g(n) h=g(h) while t-h:h=g(g(h));t=g(t) return h Ideone it!

 
How on earth do you reverse a string in CJam?
I've been starting at the docs for like half an hour
 
@aditsu feature request
 
Guess I have to write it out by hand
 
3:19 PM
@BusinessCat it's the last item in e!
 
I tried that, it's not
5067 became 7650 that way
 
:o
alright then
 
0
A: Sandbox for Proposed Challenges

Kevin CruijssenTime-bomb similator code-golfinteger Input: Two integers in the range of >= 0 (excluding both being 0) Output: Print a countdown starting from the larger integer until we've reached the smaller integer (in which case we've defused the bomb). If the ending integer is below 5, we add a "phew....

 
@LeakyNun 1 isn't considered truthy in java but OP lists (True,1) and (False,0) as acceptable outputs. — Poke 5 mins ago
Should this be allowed?
 
Completly changed my approach, gained 17 bytes
no idea why I thought of that first approach
 
3:23 PM
@LeakyNun hope so :]
 
@Fatalize tu veux dire perder
 
@LeakyNun perdre*
 
merci
 
why are you speaking french
 
Because Fatalize is French
 
3:25 PM
me too :D
 
I'm Russian :(
 
Ouah, enchante/
 
> enchante/
 
t'es le 4e\me francophone
@zʏᴀʙiɴ101 what's wrong with that
 
> t' 4e\
 
3:26 PM
pourquoi vous faites e\ ?
 
@TùxCräftîñg because è is too much work
 
You could at any point have a Compose key.
 
alright I can switch to the French keyboard
 
on the qwerty international altgr+e = é and ` + e = è
 
3:29 PM
ça marche pas pour moi
 
I just do alt+0232 and alt+0233
 
That's too much work for me
 
@LeakyNun il faut le QWERTY international, pas le US normal
 
@TùxCräftîñg bien
1
A: Reverse and subtract

Leaky NunPython, 101 bytes Tortoise and hare algorithm. Truthy is any value in loop, falsey is 0. g=lambda n:abs(n-int(str(n)[::-1])) def r(n): t=h=g(n) h=g(h) while t-h:h=g(g(h));t=g(t) return h Ideone it!

 
è_é
 
3:30 PM
y no appreciation
 
I have German keyboard also
 
¤_¤
$_$
 
@TùxCräftîñg a legit algorithm doesn't cost that many bytes really
 
€_€
 
3:31 PM
it's just 5 more than yours
 
Hope this doesn't get attention of Katenkyo.
 
@LeakyNun So cheating always win xD
 
@TùxCräftîñg help me golf it
 
If I can star (not pin) my own message in a room I own, is that a bug?
 
@DrGreenEggsandIronMan You did star your own message? o_O
 
3:37 PM
Yeah, and now I can't unstar.
Should I tell SE? Is that a bug?
 
@DrGreenEggsandIronMan Maybe. I've noticed such issues in my rooms too
 
I might make a meta. (not now tho)
 
If you can reproduce it, sure
 
Why do ISP's never list upload speeds? >_>
 
Cause most users don't care about upload as much as download.
What are you uploading? Youtube videos?
 
3:43 PM
yes
 
Is there a Python web server library that allows customizing how the server reacts to requests, like Node.js' http?
 
Google Fiber has 1 Gbit/s download and upload *drool*
 
I'll explain: is there a library that can make the analogue of Node.js code:
http.createServer(function(request, response) {
  response.writeHead(200, {"Content-Type": "text/plain"});
  response.write("Hello World");
  response.end();
}).listen(process.env.PORT);
in Python?
 
@HelkaHomba How large are your videos generally? I mean, I know they're about 20 minutes long each, but how many GB is that?
 
@DrGreenEggsandIronMan 3 to 5 Gb in 1080p60 but 9 to 10 Gb when I upsample to 4k. Though Youtube does its own processing so the thing being downloaded is a lot smaller.
 
4:01 PM
Oh wow, that's bigger than I thought.
 
@DrGreenEggsandIronMan ( ͡° ͜ʖ ͡°)
 
In BaseHTTPServer how to obtain the request submitter's host name and request path?
 
@DrGreenEggsandIronMan Well a perfect, uncompressed 1920x1080 24-bit color, 20 min, 60fps video would take up 1920*1080*24*60*60*20 bits or about 448 Gb (which is surprisingly large o_O)
 
They don't seem to be piped to the do_THING() method, it only gets a class instance as the argument.
The class instance should have available the request submitter's host name and request path >_>
 
@HelkaHomba Wow. There was one time I was recording terraria with some friends of mine and I didn't turn the settings down at all. We lost track of time and played for like 2 hours, so it filled every single byte on my hard drive, and my computer just went kaput.
 
4:15 PM
I need these for a logging feature.
 
I think it ended up taking over a hundred GB.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Nope.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ what is the format?
 
I thought it was a game where one races to others, in a cycle.
But my dreams went kaput when I opened it.
 
4:19 PM
@DrGreenEggsandIronMan O_O and I thought the 800MB gource was big
though the gource was 20 seconds
 
@Downgoat could you come to the zyabinVI room, after a long time?
 
>_> gotta write docs & work on cheddar
 
cheddar> var if = 3
Runtime Error: `if` is a reserved keyword
cheddar> var var = 1
Runtime Error: `var` is a reserved keyword
\o/ \o/ \o/
 
This is normally a syntax error
 
4:21 PM
yeah but it parses perfectly fine so ¯\_(ツ)_/¯
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You want me to submit V to that?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ If you want to play tag in a cycle, that's fine.
In this case (this is a programming puzzle), nope.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ;_; to complex to write cheddar program
 
That would make a great challenge.
 
Alright now, I have a problem with BaseHTTPServer. :|
16 mins ago, by zʏᴀʙiɴ101
In BaseHTTPServer how to obtain the request submitter's host name and request path?
No one who is in this room right now knows Python :| :P
 
4:29 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ j.u++tN?shN@QZk*k~hZz
 
@zʏᴀʙiɴ101 I know python!
 
halt when result repeated itself
 
they are my second favorite snake
 
I kwon python too!
 
@Downgoat Good! Then, in BaseHTTPServer (Python's HTTP server) how to obtain the request submitter's host name and request path?
 
4:30 PM
But i prefer boas.
 
@Downgoat When are you finally free to visit the zyabinVI room? >_>
 
@zʏᴀʙiɴ101 self.path for the path i think
 
@zʏᴀʙiɴ101 When Cheddar 1.0 gets released?
 
hopefully by end of July
 
4:31 PM
I'll try to get prereleased out by a few weeks into july
 
@Downgoat you should publish Cheddar's Gource into YouTube.
Name: "4 Months of Cheddar"
In description, describe Cheddar.
And add info about how the video was made.
@TùxCräftîñg And for the request submitter's host name?
 
@BusinessCat W%
 
anyone here play tf2?
 
@zʏᴀʙiɴ101 for this, idk
@LeakyNun Me
 
@TùxCräftîñg Server on 223.16.179.233
 
4:34 PM
@LeakyNun if you're talking about reversing a string, see above
 
@LeakyNun me, quartata, conor, easterly, I think Maltysen, probably some others
 
@Downgoat is there a room here for it?
 
!@^#@&#*@#$ steam dont work
 
@aditsu "above" referring to?
 
1 min ago, by aditsu
@BusinessCat W%
 
4:35 PM
@LeakyNun yes

 Chat Fortress 2

TF2 discussion for PPCG folks
@mod pls unfrez
 
@aditsu Thanks
 
it's in the docs too, only occurrence of "reverse" on that page
 
@Downgoat Done.
 
thanks
 
@aditsu thanks
@aditsu add it in the cheatsheet?
 
4:39 PM
I don't have a cheatsheet :p
 
Someone except TuxCrafting who knows Python: In BaseHTTPServer how to obtain the request submitter's host name?
 
@LeakyNun yeah that's made by mauris
 
@aditsu who's mauris?
 
@aditsu @Lynn >_>
@LeakyNun ^
 
4:40 PM
mauris = Lynn? I didn't know :p
 
Yeah :P
 
:o
 
Feb 2 at 4:07, by Lynn
I went by "Mauris" before! You may have seen me around
 
Who controls the "new main posts"?
 
4:45 PM
@Bálint they are a bot of the room. So either any mod, or TNB's ROs
 
it's run by SE, mods can define feeds, and can also edit what the bots say :p
 
@LeakyNun I am
 
@LeakyNun the format?
@DrGreenEggsandIronMan if you feel like it :3
@Downgoat fix your cheese
@LeakyNun read the readme, submit a pr
 
;_;
@aditsu @Quill ( ͡ಠ ͜ʖ ͡ಠ)
 
it isn't that hard, is it? just using a for loop, string concatenation, and if
 
4:54 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ oh really?
 
yeah
maybe a while loop for infinite printing, but you can do a for loop for a given number of steps
 
oh shit i forgot to do while loops >_>
 
who needs while loops when you have fors through
fors are golfier anyway
 
while(true){do stuff}
 
4:56 PM
can you give me psuedo code :3
 
for the cyclic tag? or the while loop
 
nvm found a link
 
did you read the readme?
 
nvm = node version manager too
@CᴏɴᴏʀO'Bʀɪᴇɴ just now yeah >_>
 
ahaha
better now than never
 
4:57 PM
Problem with BaseHTTPServer: I need its default request logger to shut up.
 
fun fact: by submitting to the cyclic tag repo, you prove your language is turing complete
 
You know we had a challenge about that already right?
 
really?
didn't know
 
11
Q: Simulate a Cyclic Tag System

marinusA cyclic tag system is a tiny, Turing-complete computational model consisting of a two-symbol alphabet (I'll use {0,1}), a finite, nonempty cyclic list of productions that consist of those two symbols, and an unbounded word which also consists of those two symbols. At each step: the first ele...

 
I need to add an array.length prop >_>
 
5:00 PM
this is why you test :3
@quartata I see. oh well. I kinda like good code
 
There's an option to award a bounty a deleted answer. 0_0
I kinda want to try it to see if it works, but I'm afraid it might actually work.
 
Just do a 50 rep bounty
 
Problem with BaseHTTPServer: I need its default logger to shut up, because I'm inplementing my own logger :|
 
It doesn't work.
That's good.
 
Making stderr go to /dev/null doesn't work, because I need everything from the default logger be thrown away before the default logger gets a chance to output.
 
5:24 PM
Seems like this function override successfully kills the default logger:
def log_message(self, format, *args):
    pass
 
5:40 PM
@zʏᴀʙiɴ101 i think this is the standard way
maybe de facto
 
5:59 PM
@DrGreenEggsandIronMan wat so it shows button to award? But doesn't award?
 

« first day (1979 days earlier)      last day (2030 days later) »