« first day (1995 days earlier)      last day (2849 days later) » 

7:00 PM
@DrGreenEggsandIronMan No the worst that could happen is that you might spend the rest of your life trying to figure out how to exit it
 
Use IntelliJ
editors
 
I thought vim was the one that people couldn't exit.
 
@Downgoat I think you wrote the first non-esoteric language in JS
@DrGreenEggsandIronMan ^^
 
oh dear so ugly
 
Did you know vim has a hidden feature that allows you to generate a random string?
 
7:02 PM
Wait what, the image isn't loading
 
Sit a first time user down in front of vim, and ask them to exit.
 
Ah there we go
I need someone to work some CSS magic...
 
@quartata What is it from? :3
 
@quartata What do you need?
 
7:03 PM
I forgot how fugly tables are by default
@DanTheMan I don't even know, I don't care about looks I just want it to look less like shit
At minimum I'd like to replace the border with just a single line
 
Hmmm, I forgot what property that is.
BRB
 
@zʏᴀʙiɴ101 my KoTH
 
ah k :)
 
@quartata still less ugly than python :P
 
7:06 PM
@Downgoat The controller is written in Python, the leaderboard is written in PHP. You probably hate me now
@DanTheMan ermahgerd thanks
 
Use border-collapse: collapse to make it one line
 
@quartata ... i have no words ...
question for mac people: I'm compressing/archiving/zipping a folder on an external disk but where is the output .zip file? I can't find it ._.
 
@Downgoat Well for the controller it's either Python or C++
Not a whole lot of choice there
 
\o/ JavaScript is winning a challenge
 
i have a koth idea
 
7:10 PM
yeah?
 
a wikipedia race
 
the controller chose a random wikipedia page, randmly browse in the links, and output the starting page and the ending page. after the bots start from the starting page and go to the ending page, outputting the visited pages
 
That's more of a fastest code than a KoTH, there's really only one way to do it
And it wouldn't be a terrible interesting fastest code because there's really only one way to do it
 
7:15 PM
._.
 
I could see it as a code golf maybe
 
@DanTheMan Thanks, it looks so much better now. I added some padding too
Now it's Hammer time
(literally)
 
Anybody have any ideas how to sell xbox game codes?
 
I'm pretty sure that's against the TOS
At least I wouldn't be surprised
 
sell xbox game codes ಠ_ಠ
 
?
I just ended up with one, and don't want the game.
 
@EᴀsᴛᴇʀʟʏIʀᴋ Give it as the prize to a challenge
 
Can you use the same method as you acquired it by?
 
7:21 PM
no.
well
it came with a new xbox one
so not really?
 
ah
 
@Emigna It's a free game code that came with a new xbox one, but the game is The Division, and I don't want it.
 
you dont want The Division ಠ_ಠ
 
aren't there some trade/sell sites for xbox games that suit this situation?
Division is more of a PC game imo
 
I have no clue.
@TùxCräftîñg Rated M, I don't want it.
 
7:24 PM
k
 
@HelkaHomba Just bought MC. Will you add me to the PPCG server?
 
hi @dorukayhan
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Should I make a chat relay for my KoTH? :P
 
@quartata ಠ_ಠ
 
What?
 
7:34 PM
@quartata that was in response to this message
 
It was a legitimate question. Obviously the bots can't talk but the STV spectators can
oh
Well you gotta admit it's pretty impressive
 
@quartata STV?
 
sourcetv
 
I have concluded that it is impossible to debug recursion. Sorry everyone who wanted to recurse in cheddar :/
 
7:41 PM
:/
what is the problem?
 
@Downgoat You can't not have it...
 
and cheddar is functional, so it must have recursion
 
@TùxCräftîñg if i knew that, there wouldn't be a problem
@TùxCräftîñg ;_;
 
his name is cool and his identicon too
 
@TùxCräftîñg That's the special user for when you put in an invalid email address.
 
7:53 PM
ok
 
hai
 
hai
printf((split/\//,<>)[-1]) .__.
my perl code is ugly, really
 
@TùxCräftîñg s/my//
 
7:57 PM
at least it's work
WAT
 
Right... lol
 
> please help stuck on the moon need to come back to earth
one favorite xD
 
printf split('/', <STDIN>)[-1]
 
omg so verbose
 
All golfed code is ugly... also do not use printf use print
 
7:59 PM
forgotten about print
 
I mean if we're golfing $_=split('/',$_)[-1] with -p
 
ok
the $_= is usless
 
No it's not
 
@Phrancis hahaha
 
8:02 PM
(split/\//,<>) probably a overdose of haskell ._.
 
@uoɥʇʎPʎzɐɹC Why'd you ping me about this?
 
TIL: macOS Sierra dev preview was a bad choice
2
 
@Quill :/ What specifically?
 
Anything to do with Finder is slow (file uploads are the worst), Chrome literally won't load, I can't play any Source games anymore
my iCloud upload limit ran out in three days because they sync Documents, Desktop and Downloads
 
8:09 PM
@Quill You didn't overwrite your main OS X install with it, right?
 
Of course I did.... cowboy style
 
GTFO - surely you are lying
 
no. I don't have a Time Capsule either
 
Oh. You really f'ed up then...
 
Safe mode booting can erase your hard drive anyway, so it doesn't bother me
It's not so much broken as it is, reaaaaaally reaally slow
 
8:14 PM
Poll: Opinions on alternative (non-QWERTY) keyboard layouts?
 
none
 
@Quill wat
no tf2
that is sad
 
@Doorknob Probably makes WASD games more tricky :)
 
@Doorknob identical to qwerty, but I don't use it merely for convenience
 
@Phrancis Surely you mean HJKL. :P
 
8:16 PM
 
lol
 
The best keyboard layout
 
// TODO: Put QWERTY keys on a non-QWERTY keyboard
 
8:18 PM
i won't praise any keyboard until a ctrl-alt-del key and the "any" key gets added
 
in PPCG Minecraft Server, 4 mins ago, by Helka Homba
@DrGreenEggsandIronMan Sure, I can add you. What's your Minecraft username?
 
I should totally come and visit the Minecraft server some time, it sounds like fun
 
It's been rather neglected of late, at least by me :|
Maybe if I record some videos on it it'll get me and others more involved
 
I played Minecraft a long time ago
 
@El'endiaStarman explains the subconscious tendency not to give out age
@DanTheMan that's a nice leopard you got there
 
8:23 PM
Hmm, I think I'm going to install Arch on my Pi Zero.
 
Hey everyone, my quick search didn't turn anything up (yet), did we have a challenge yet where you were given a fibonacci number and had to find its index?
 
@HelkaHomba I did very much enjoy your previous video on the server
@Doorknob how's that beard coming?
3
 
Hey, it's not Gentoo. :P
 
8:39 PM
@Downgoat just opened a GH issue
on cheddar
Wanna crash your computer (after 15 seconds)? One line of python: import itertools;set(itertools.count(1))
 
@uoɥʇʎPʎzɐɹC wtf does that do?
 
@SEJPM itertools.count(1) returns an infinite iterator counting up from one and set() evaluates the iterator and attempts to turn it into a set, but it's infinite, occupying a large amount of memory quickly
 
0
Q: Write a program to display directory tree

MathimeGiven a directory (such as `C:/'), given from stdin or read from a file, produce a directory tree, with each file/folder indented based on its depth. Example If I have a C:/ drive which only contains two folders foo and bar, and bar is empty while foo contains baz.txt, then running with input ...

 
[i for i in itertools.count(1)] would also work, but this is shorter
 
@uoɥʇʎPʎzɐɹC but why should that crash the computer and not just the python interpreter?
 
8:46 PM
@SEJPM too much memory usage
@SEJPM it used 4 GB before I hurriedly quit the process (my comp has no room for swap)
 
for(unsigned long long i=0;;i++) malloc(1);?
 
@SEJPM like that but functional
 
^^ pretty much should do the same (if the compiler doesn't optimize it away)
 
@SEJPM it's actually how memory cleaners work - they force real memory into swap
 
@uoɥʇʎPʎzɐɹC I'm kinda tempted to test this
 
8:50 PM
@SEJPM it won't crash your computer immediately, go for it
esp. it didn't crash my comp within 5 secs and my comp has 4GB RAM and no room for swap
 
@uoɥʇʎPʎzɐɹC o pls I'm doing that on a VM :P
 
@SEJPM it'll crash the host OS
 
@uoɥʇʎPʎzɐɹC we'll see ...
 
Does any body know how to shorter this C expression: (c|32)==(d|32) (c and d are char)?
 
@aloisdg don't code c, you can ask on SO chat; this is PPCG chat
@SEJPM unless you have some kind of limit on your VM
 
8:51 PM
it is for a PPCG challenge
 
@uoɥʇʎPʎzɐɹC EC2
 
3
A: Remove duplicated & switched case

aloisdgC, 129 127 125 107 106 105 93 92 bytes c;d;f(char*s){for(;*s;){c=*s,d=*(s+++1);putchar(c);s+=isalpha(c)*d&&((c|32)==(d|32)&&c^d);}} A C port of my C# answer. My C may be a bit bad. I don't use the language a lot anymore. Any help is welcome! 1 byte saved thanks to Lowjacker's trick: a!=b = a...

 
@SEJPM oh, ok
@aloisdg oh, got it
 
I am sure I could improve it with some bitwise blackmagic but I fail for now
 
@aloisdg can't code c, sorry :/
 
8:56 PM
@uoɥʇʎPʎzɐɹC what are you into?
 
@aloisdg python, security, beginner c++, django
 
@uoɥʇʎPʎzɐɹC I started with Python (1 year) and I used to code in C++ (2 years) too. I think C could teach you a lot about low level programming which is it very useful for security and programming in general.
 
@aloisdg really?
 
@uoɥʇʎPʎzɐɹC memory error when run in interpreter
 
it takes 10x more time to code up anything in C compared to python
@SEJPM really...
 
9:00 PM
@uoɥʇʎPʎzɐɹC the interpreter literally says "MemoryError"
 
@SEJPM I know that error
@SEJPM put it in a function and catch the MemoryError. then call the function again.
 
@uoɥʇʎPʎzɐɹC I dont say that you should use C everywhere. I said that C is good to teach you how to program.
 
@uoɥʇʎPʎzɐɹC idk python, how do I do this?
 
@uoɥʇʎPʎzɐɹC My main language is C#, but I am glad to say that I know how the code works under the hood.
 
1
A: Sandbox for Proposed Challenges

SEJPMFibonacci reversed! code-golf fibonacci math Introduction We all know and love our Fibonacci sequence and have seen a myriad of challenge on it here already. However, we're still lacking a very simple case which this answer is going to provide: Reversed fibonacci! So given F_n your job is to...

 
9:05 PM
@uoɥʇʎPʎzɐɹC when I do python t.py it literally does nothing
(t.py is the file where the stuff is in)
import itertools;
def f():
 try:
  set(itertools.count(1))
 except MemoryError:
  set(itertools.count(1))

 f()
 
.-.
click teh fixed font button
 
@EᴀsᴛᴇʀʟʏIʀᴋ you have that here? :O
 
9:20 PM
@aloisdg !((c^d)&~32) ?
should xor the values against each other which is 0 if they are equal
and then clear bit 5 no matter what (cause we don't care about it)
and only if this entire thing is 0 this becomes true
should save 2 bytes (if the compiler accepts &~ as &(~x) )
 
@EᴀsᴛᴇʀʟʏIʀᴋ I was over in California this past week with my Boy Scout troop in Yosemite. Does your troop ever camp there?
 
!((c^d)&223) should be the same without the ambiguity
 
9:41 PM
I will try
223?
I guess 223==~32
Nice it works as expected
Now I wonder wether I can factorize (!((c^d)&~32)&&c^d)
This is c^d is duplicated
 
gist: ..., 2016-07-16 21:46:07Z
import itertools
def f():
    try:
        set(itertools.count(1))
    except MemoryError or RuntimeError:
        f()
f()
 
@El'endiaStarman Quick SVG question-- is it possible to make it so that portions of items outside of the view frame wrap to the other edge?
@quartata that would be interesting !
 
@uoɥʇʎPʎzɐɹC I don't see it?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I think you'd have to duplicate the item and put a copy at each edge.
 
@El'endiaStarman Hm. I could put the items in a group then apply the transformation simultaneously on the items, right?
 
9:53 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Yes, if you transform a group, the items will be moved accordingly.
 
okay.
and they won't show if not in the viewbox, right?
 
Correct.
 
cool, thanks! I'm an svg nub, this really helps
 
@CᴏɴᴏʀO'Bʀɪᴇɴ No problem. What are you working on?
 
An image drawing language
 
9:55 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ MetaPost?
 
@flawr eh? what about a meta post?
 
The language MetaPost
 
that's a language?
huh, TIL
 
mine will be golfier
 
9:56 PM
Nice for latex stuff
 
that's really cool. I'll have to use it sometime
 
and for mathy things
 
:o that's cool
 
I like it way better than TIKZ that everyone else is using.
 
What's wrong with TikZ?
 
9:59 PM
Way too complicated
And too many backslashes, they are a pain to type.
 
>_> @El'endiaStarman pytek
 
backslashes are a LaTeX global problem
should have chosen another symbol
 
@Fatalize Even tough the style of this example is quitebad, it is still quite readable. And doesn't give you eyecancer
I also recommend looking into this:
A list of progressively more difficult examples.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ flawr's choice of keyboard may be more of an issue there than the choice of symbol itself. :P
 
@Downgoat in response to what?
leopard? what leopard?
@El'endiaStarman
 
10:09 PM
@uoɥʇʎPʎzɐɹC Why did you ping me?
 
I responded "leopard? What leopard?"
flawr has a leopard?
 
@El'endiaStarman You probably wanted to ping @Fatalize
 
@flawr He probably also has a bit more difficulty with backslashes, I'll bet. :P
 
@El'endiaStarman Well on most keyboards backslash is not the most accessible
 
You Europeans with your weird keyboards.
 
10:10 PM
who's making a non esoteric language, other than el'endia and downgoatt?
 
@El'endiaStarman You Americans with your weird keyboards.
 
Agh I hate mac os x correction
 
@uoɥʇʎPʎzɐɹC you should turn it off
 
On azerty it's alt gr + 8, and on bépo it's alt gr + à
 
Don't even have ä ö or ü, not even é,è,à
 
10:11 PM
don't even have £ or ¤... wait
 
@Fatalize on swiss its [altgr]+[<] (altgr with right thumb, < with left pinky)
 
or §
 
@flawr ¯\_(ツ)_/¯ Don't usually need them! 'Murica!
 
@El'endiaStarman Müricà
 
@uoɥʇʎPʎzɐɹC I am sorta, but it's derelict and abandoned
 
10:13 PM
@flawr on french altgr + < does nothing, even though it would be sensible to be «
but I guess it makes too much sense so nope
 
the backslash is easy on american keyboards :P right next to backspace
 
\ can confirm
 
@Fatalize The most french thing in texts, but I admit that I do like that quotation mark best.
 
« » master race
 
are there any easter eggs in SE
 
10:16 PM
I also like „A” as it also is used quite often in europe, but it's a pain to type
 
^ isn't that the german way?
 
Certainly one of the german ways=)
 
don't swiss germans use this?
 
I also learnt it that way
 
Hey guys! do you want to know my SE password?
it's •••••••!
 
10:17 PM
I know germans also do this heretic thing: »«
 
but germans also use »«
 
typed straight from keyboard, too
 
@Fatalize Finland is even worse: »A»
 
lol, if someone actually made their password "•••••"
 
@flawr Unbalanced separators
 
10:17 PM
@uoɥʇʎPʎzɐɹC well know we know it's length :P
 
immediately changes password
 
@aloisdg why? C# has less libraries and takes longer to code than python; and unless you want performance I wouldn't know why you would want C#
 
@Fatalize What
Seriously?
 
yes
 
10:19 PM
@aloisdg a carpenter needs to know his tools, but does not know physics
 
@quartata Yep
 
34
Q: What is the correct way to denote a quotation in German?

Twelve47In English quoted text is normally written in speech marks, "like this," or occasionally 'like this.' However on this site I have seen people writing German quotes like »this« and „this“ What is the correct form(s)? Im Englischen werden normalerweise Gänsefüßchen "wie diese" oder gelegentlic...

"Reversed «Guillemets»" TRIGGERED
 
I didn't know those latex commands
 
probably depends on your babel package
in French « » is \og and \fg
 
Has anyone actually used latex for a code golf? I mean, HTML has been used for some challenges
 
10:25 PM
^ yes
not a lot though
 
I think I even used metapost somewhere
 
(only one I can think of since it's mine)
 
1
A: Draw the Sawtooth Alphabet

flawrMetaPost (207) numeric h,d,y;h=5;d=-1;y=1;u=5mm;pair p;string s;for x=1upto26:p:=(x,y)*u;s:=char(x+64);if x=13:s:="MetaPost";elseif x>13:p:=(x+2,y)*u;fi;label.rt(s,p);if(y=h)or(y=1):d:=d*-1;fi;if h=1:d:=0;fi;y:=y+d;endfor; You can try it here.

 
> ;endfor;
^ cringe-worthy syntax
 
better than the while... wend
 
10:28 PM
*wend iirc
 
(^ yes, just checked)
still terrible
i guess while ... elihw would be even worse
 
while .. while is the worst
 
@PhiNotPi Notice that the first semicolon is just the termination of the last command.
 
@flawr Yeah I know.
 
I like the if condition; dosomething; fi better=)
 
10:36 PM
Bash has if/fi and case/esac, which are pretty charming to type.
 
I'm so close to getting the controller working
 

« first day (1995 days earlier)      last day (2849 days later) »