« first day (2209 days earlier)      last day (2624 days later) » 

3:00 PM
Doesn't yours?
Hmm... should I learn the intricacies of powershell scripting?
 
@JanDvorak It's not the scripting as much as Powershell overrides the console window stuff.
Changing the console window stuff directly changes it for child processes too.
Urgh. A company has made their software easier to use.
Now I can't use it.
 
@wizzwizz4 well, that [foo]::bar=baz thing you did was powershell scripting, wasn'ti t?
 
@JanDvorak Yes.
But the behaviour is not an intricacy of Powershell.
It's perfectly reasonable, based on the way that I've been programming for too long.
I think my Texplode engine is ready.
 
Don't forget that PowerShell ISE is a different "host" than PowerShell, so it has different behavior and different properties.
To make things even more muddy.
 
@AdmBorkBork I'll let you take over; you're the expert and I've almost finished testing my KOTH engine.
Oops. Forgot to close and reopen the player programs, so the engine segfaulted.
 
3:07 PM
Hah, I'm not an expert. I just golf in it.
My $DAYJOB isn't even as a programmer.
 
@AdmBorkBork ...
Really?
Are you sure?
It would explain your apparent lack of insanity.
 
I mean, I script a small bit here and there, but it's not my primary job role.
 
0
A: Sandbox for Proposed Challenges

hashcode55Flagged Terminal Your challenge is to display your country's flag in terminal. Details The dimensions of the flag must have length 1.5x of width. A single character must be mapped to each color which simply means the number of characters must be equivalent to the number of colors in your ...

 
Anonymous
Finally got my internet issues sorted out
 
Yaaaay! It works! :-)
Now to post in the Sandbox.
 
Anonymous
3:14 PM
But now I need a new baseball bat
 
tfw you go outside after staying at home for the rest of the week and every step you take aches
 
Anonymous
@KritixiLithos That's really not a good thing
 
I know, I've been told multiple times by multiple people that I need to get out more and do sports
 
@KritixiLithos Sports are boring and stupid. However, there are certain fun activities that count as sports that aren't stupid. (Actually, most sports aren't stupid when taken individually...)
 
Chess?
 
3:22 PM
@KritixiLithos Is a sport, but doesn't stop your body from rusting.
 
I go to chess club every week, so technically I work out every week
 
@KritixiLithos Technically not.
 
Dungeons and Dragons is a sport right?
 
I run everywhere to make up for my lack of daily sporting activity.
I do weekly sports though.
 
@KritixiLithos Rock climbing. It's a really fun sport because there's a mental aspect to it also, and it starts out pretty easy
 
3:25 PM
@KritixiLithos Tell them that you play Golf
 
@DJMcMayhem Unless you're scared of heights
 
Tbh, I am too. But bouldering never gets you more than 4-5 feet off the ground and everything is super padded
 
@DJMcMayhem Rock climbing is fun.
I like jumping off the wall the most.
Plus, I get a massive rush of adrenaline when I think about it.
 
Amen. It's ridiculously fun
 
I get a rush of adrenaline when thinking about programming
3
sometimes
 
3:30 PM
Actually, I'm probably gonna go climbing tonight
 
Anonymous
@DJMcMayhem My image of you as a cat is cemented by your love of climbing things
 
Oh wait, I misinterpreted the message
 
I was really confused
 
@DJMcMayhem does not match picture:
Sep 2 '16 at 23:37, by Downgoat
user image
Where is phone typing vim answer :P
 
3:36 PM
It was in the video's description, so I thought the guy was talking about his cat
 
@KritixiLithos Typing with hooves is a pretty good workout would reccomend
 
How do I get hooves?
 
@KritixiLithos Be a goat.
Or buy some from the prop shop.
 
s/Kritixi Lithos/goat
 
Or... do an unspeakable thing to @Downgoat's fellow *ines.
 
3:46 PM
goat is not bovine
goat is caprine
bovine is cow
ovine is sheep
 
@Riker .__. W— ok
 
@Riker Fixed.
@Downgoat I am sorry for the mistake.
 
@Downgoat to clarify that sheep are not goats
 
@wizzwizz4 quines?
 
3:48 PM
@KritixiLithos Downgoat is indeed in a set that contains quines and lines.
 
@Riker D: @wizzwizz4 HOW COULD YOU MAKE SUCH HORRIBLE MISTAKE
 
Caprine
 
@Downgoat I actually confused goats and cows.
 
Rod
@wizzwizz4 so , if you goat a goat, it goat a goat?
 
@wizzwizz4 also lines?!
 
3:50 PM
@DJMcMayhem also, the other reason I don't go rock climbing as much: I'm too light, can't belay anybody. And the local gym doesn't have any of those bags of sand to help small people belay
 
@wizzwizz4 "downgoat" in Cheddar should be a quine that prints "downgoat"
 
Anyone work with the ElasticSearch SearchAPI?
 
> rikermacbookpro:~ rikerw$ cheddar
cheddar> downgoat
Runtime Error: Attempted to access undefined variable `downgoat`
cheddar>
:/
 
@Riker solution is to become goat and be able to climb anything
 
@Riker That's why it's a feature request and not a status implemented.
 
3:52 PM
@Downgoat How does one become a goat?
 
@wizzwizz4 contact my associates
 
By eating them?
 
@Riker Have you tried bouldering? I go back and forth, but IMO it's way more fun (right now)
 
I do, don't like it as much as rock climbing w/ rope tho
 
@KritixiLithos ... You eat goats?
 
3:53 PM
18 mins ago, by DJMcMayhem
@Mego Me IRL
sorry if that pinged you mego
 
I think that's only comments on main
 
@wizzwizz4 Yes... no... maybe...
 
@Riker I don't see why it would...
Sandbox time! :-)
It didn't.
 
We've goat to make a challenge about climbing goats
 

Sandbox

Where you can play with chat features (except flagging) and ch...
 
3:57 PM
Mwahaha
 
@DJMcMayhem move messages onto sandbox?
 
@Riker usernames are red in chat history, but old usernames arent
 
14 messages moved to Sandbox
 
Thanks
 
@betseg ye
whatever
site business:
1
Q: Recursive zipper reincarnation

PlarsenRecursive zipper reincarnation Objective: Code two separate programs A and B that when concatenating their respective outputs OA + OB creates a third program: C. When program C runs it should output the source codes of program A and B in a per character zipper style. Similar question: D...

mbomb voted to close because it's not likely to be answered
I don't think that's a good use of close votes
thoughts?
 
3:58 PM
I was just about to. :/
I really wish there was an easy way to move from mobile.
 
@Riker hard does not been off topic
 
yeah
 
So yeah I agree bad use of CV
 
There's a difference between hard and impossible
 
can it be proven that it's impossible though?
 
4:00 PM
Of course not. But just like I can't prove that something is too broad, we can still close-vote it as such. Same here, it's too narrow.
 
@AdmBorkBork too broad usually is used when a challenge violates an objective site rule
E.g. Objective winning criteria
 
Anonymous
@Downgoat Bad example; we have an off-topic close reason for that
 
:( too late to replace
 
or this
?
 
@DuctrTape Yes.
Also,
multi-line
with Shift+Enter
 
Rod
4:08 PM
@wizzwizz4 code block? or HTML+CSS+JS?
 
0
Q: Can we vote to close challenges as impossible?

RikerRelated reasons but not the same, 2 This challenge is currently in the process of being closed as 'too-narrow', which in this context means "this challenge is too hard/has too many restrictions, and thus is off-topic". I don't think we should allow this. Compare to Build a working game of Tet...

 
that was faster than I expected
 
@Rod ` tags.
 
@NewMetaPosts @Riker Somewhat related? They're pretty different, but both about being frustrated by not knowing how to close a low-quality question that doesn't have a close-reason that works very well.
 
ye
 
Rod
4:13 PM
oops
 
Anonymous
@Rod You have to close the backticks. If you want to play around with chat features, please do it in the Sandbox.
 
@ATaco Could you link me to the download for your chat-prettify plugin?
 
Rod
@Mego ctrl+enter is my default mental hotkey for line-break, was just trying something, that wasn't even intended to be sent
 
Anonymous
Line breaks are done with shift-enter
 
@Mego hahaha I'm suprised you managed to answer my question without noticing it's a dupe of yours
12
Q: Are challenges that may not be solvable on-topic for PPCG?

MegoConsider the following example challenge: Given a set of integers, output a truthy value if there is a non-empty subset whose sum equals 0, or a falsey value if no such subset exists. Solutions must have worst-case polynomial time complexity or better. This is the subset sum problem, which ...

 
4:20 PM
I appear
 
Anonymous
@Riker I totally forgot about asking that one
 
Riker thanks for removing the downvote :P
 
@Mego lol
 
Please take the time to actually check out what is going on before you accuse me of coping/duplicating. Thanks — Christopher Peart 10 secs ago
Is that how I should respond to untrue accusations about me coping an answer?
 
no
that's called 'salt' and it's pretty rude
 
4:22 PM
How should I?
 
ignore it
it was an honest mistake
 
Hey
 
Wait, whose answer is older? The edit history says your is 1 day newer @ChristopherPeart
 
He had a older answer
But he changed his answer after I did to reflect my current answer
 
4:25 PM
New challenge topic (spoiler alert?): Calculate total resistance
 
dupe
 
So addition?
I have a jelly answer already
++++++++
Adds 9 resistors together
 
no, it doesn't
that would add the left argument to 8 times the right argument
 
welp
Fine
 
if you're trying to add all the elements in a list, you want S
if you're trying to add all the elements in a list using +, you'd write +/
 
4:27 PM
@ais523 also, thanks for the dupe, I searched but I was using the word 'impossible' and that didn't show up for whatever reason
 
so just S?
 
@Riker you're welcome, a major issue with SE is that often the only way to find a dupe is to remember that it exists, because people have a habit of asking a question that's already been asked but with no words in common; it didn't show up on the list of suggested dupes when I voted to close, so I had to find the URL manually
 
yeah
nj though
8 mins ago, by Mego
@Riker I totally forgot about asking that one
 
@ChristopherPeart resistors are more complex as they be connected in parallel as well as series, and in more complex ways too
 
mego answered my question and even he didn't remember
 
4:29 PM
@ais523 Matthew never specified
But yeah
 
Well I see you somewhat didnt understand my challenge totally
 
I'm fairly certain it's a dupe though
 
@ChristopherPeart indeed, I also didn't suggest the challenge, it'd be up to the challenge author to specify
 
With parallel it would be 1/(1/r+1/r2)
 
The resistors will be given in both parallel and series
 
4:30 PM
not all forms of connection are parallel or series though
e.g. imagine Kâ‚„ made out of resistors
 
K4?
 
come to think of it, a Kâ‚… of resistors would resist many of the normal methods for resistor network resolution, as it's nonplanar
@MatthewRoh think of a tetrahedron made out of resistors
Kâ‚… is like that but you also connect each of the corners to the middle with an additional resistor
 
That still is parallel series
you just have to find the resistance of every "window" /loop
I did that stuff in the least school year
 
Also the input will not directly specify what resistors will be connected to each other, only the node each resistors are connected to are specified
 
@ChristopherPeart I wouldn't call that just parallel/series, but you're right, that's the normal approach; it doesn't work with Kâ‚… though because there's famously no way to draw it in the plane without lines crossing
so you can't work out where the windows go
 
4:32 PM
huh
That sounds like a headache so lets not
 
Then you dont have to see it
Noone told you to see it
 
Looks too broad
 
How so?
 
it's not too broad
but I'd VTC as a dupe
28
Q: Display an xkcd

Pavelxkcd is everyone's favorite webcomic, and you will be writing a program that will bring a little bit more humor to us all. Your objective in this challenge is to write a program which will take a number as input and display that xkcd and its title-text (mousover text). Input Your program will ...

 
4:36 PM
Searching through all those xkcd comics would take approximately..
NaN
 
I know about that one but I didn't know if it would be counted as a dupe
It takes a different input and doesn't show an image
 
@MatthewRoh there's 1799. that's not too many
 
This would allow less web inclined languages to be used
 
Huh
 
@ChristopherPeart answers from there can be somewhat trivially modified IMO
 
4:37 PM
Ah
 
nvm then
 
@Riker You want me to remove it?
 
@ChristopherPeart How many bytes would it take to compress the data? I'll allow any off-the-shelf compression algo
 
@ChristopherPeart it's basically "lookup title in dictionary, then do the other challenge"
 
@ChristopherPeart it's unclear from the description whether it's a compression challenge for the title texts, or an access-the-web challenge
 
4:38 PM
The trouble is, xkcd.com/404.
 
@ChristopherPeart <shrug> feel free to post it, just know that it might be considered a dupe
 
@ais523 This is a good summary.
 
Basically search the dictionary where there are 1799 words and each words has a comic for it
 
@JanDvorak no idea
@ais523 You could do both
 
lemme try...
 
4:40 PM
Trying to find a simple number based code golf that isn't that hard (learning jelly since I can't work on Fluff at school)
 
accessing the web will almost certainly be terser
 
But first... I have to feed. Afterwards, explainxkcd.com/wiki/index.php/List_of_all_comics
 
because there are too many comics to beat out web access code with any plausible compression algorithm
 
@ChristopherPeart project euler
 
Project euler 😒
btw xkcd needs its api
 
4:42 PM
@MatthewRoh It has one.
 
@JanDvorak have fun feeding
 
There is an XKCD for that! xkcd.com/1481
 
Lemme give you a topic for a question
Loading..
Loading...
 
that's been done
 
Found.
 
4:44 PM
But in all seriousness xkcd.com/json.html
 
and was in HNQ for ages
 
The topic is: Lottery
Huh
Anyone gonna use it for a new challenge?
No?
Okay then nevermind
 
0
A: Sandbox for Proposed Challenges

wizzwizz4Texplode koth Texplode is like Hexplode, but played on a tetragonal (square) grid. explains the rules I/O You will provide two device files / named pipes / terminals / COM ports / other. One of these will be for input, and the other will be for output. The input provided to your program wi...

 
24
Q: Generate Pyramid Scheme code

PavelPyramid Scheme is a language being developed by @ConorO'Brien. In Pyramid Scheme, the code that you write looks like this: ^ ^ / \ /3\ / \ --- / + \ ^-------^ /9\ /3\ /123\ --- ----- Now, that code has two obvious qualities: It's difficult to ...

Has that had a bounty yet?
 
4:49 PM
Lemme give 100 rep on it
Nvm i only have 119
 
lol
 
Dropped 50 on it
RIP my rep
 
If I gave 100 it would be more RIP
Cant even talk
 
ripperino
 
If I gave 200 I would not even chat here
 
4:52 PM
Me too
 
wat
@ChristopherPeart how much did you have?
 
Right now 159
 
halp how to give 50 rep
 
Just took a 50 rep hit
 
4:54 PM
@betseg RIP
 
HUGE ONEBOXES
 
I have the button for 50
Welp nvm
 
@betseg Ask nicely with telnet.
 
RIP peoples CPU bcz of betseg uploading a onebox
 
The button went away
 
4:55 PM
@MatthewRoh wut
@wizzwizz4 ssh!
 
Onebox is evil
 
@ChristopherPeart If somebody's already posted a bounty on a question, you have to go one level higher.
 
@betseg Aww, PuTTy.
 
@AdmBorkBork TIL
 
4:56 PM
Makes sense
codegolf.stackexchange.com/questions/48100/… I found the end of the "Regular 44 is still 44" chain
 
Back at computer. The XKCD titles + separators have 7k characters in total
 
Can I award myself a bounty?
I know that is a bad idea
but still
 
@ChristopherPeart No.
 
Thought so
Figured then you could abuse the system and then get banned
@Pavel gave your question a bounty hoping to see some answers
 
you used to be able to give yourself a bounty of 0 by spending 50 rep, but people thought that was confusing
so it was changed
 
5:02 PM
Pay rep to sink a bounty, can we get it back? Sounds useful.
 
you can't get back the rep from a bounty under any circumstance other than a diamond mod cancelling the bounty
 
@ChristopherPeart Why did you post an answer just to delete it?
 
Probably because it wasn't an actual answer
 
@Dennis To get FGITW?
(probably not.)
 
5:28 PM
@Dennis to check if the bounty board thing came up
 
next time please just search on mother meta or check the bounty FAQ
 
@ChristopherPeart Please don't do that. Posts are soft-deleted and will forever be visible to 2k users and moderators.
4
 
Posts can't be hard-deleted by mere immortals.
You have to be an employee to remove them completely.
 
Rod
TIL SE employees are lobsters
 
0
Q: Woodall Primes (n2^n - 1)

OkxA Woodall Prime is a prime which can be calculated, given a positive integer n, with n * 2^n - 1. Your task is to, given a integer k, generate a Woodall Prime with k digits. If no such Woodall Prime exists, you must generate a Woodall Prime with the closest amount of digits. If two primes exist ...

 
5:32 PM
There's a sandbox on MSE
 
that's not for bounties
 
1
A: Sandbox for Proposed Challenges

quartataRegex Golf Cops and Robbers (draft) cops-and-robbers kolmogorov-complexity regex Challenge: Cops: The cops must post a 100 byte or less program in any language that outputs 30 strings of printable ASCII (this excludes newlines), 15 of them "match" strings and 15 "don't match" strings. The st...

 
I'd appreciate some feedback on the programming of my KotH controller:
0
Q: Texplode KotH controller

wizzwizz4I am creating a KotH challenge for Programming Puzzles and Code Golf. Other site users will write programs that play Texplode (a version of this game on a square grid). The program works, but I don't think it's anywhere near perfect; I don't often publish C programs so I rarely get any critique o...

 
@NewSandboxedPosts I have a feeling that V will dominate for this challenge. :)
 
lol
 
5:42 PM
@DJMcMayhem I was somewhat hesitant to allow Retina for robber solutions
 
Hmm. Do you think allowing regex-based golflangs would mess it up a lot?
 
No, it would be interesting to see langs like Retina competing against each other for the lower bytecount
 
I don't think there are very many languages like retina
 
Not sure. My main fear right now is that we won't get a lot of cops -- it looks simple but you need to minimize your byte count and predict the common approaches so as to maximize their byte count with clever don't matches
The self cracks will add a bit of code bowling to it too
 
@quartata for the cops, can some of the match strings be the same?
 
5:50 PM
@KritixiLithos sure
@AdmBorkBork The scenario you describe would result in a negative score for the cop
 
OK, then I'm not understanding the scoring.
Is it not the difference between the robber's length and the cop's length, so as a cop I want the shortest robber length possible?
 
@KritixiLithos Hey, I came up with a useful mapping for decoding V programs.
 
I don't understand it either, @quartata maybe give examples?
 
nnoremap <leader>ga yl:echo nr2char(char2nr(getreg('"')) % 128)<cr>
 
If I post a 50 and 100 byte cops and the winners are 100 and 150 respectively my score is ((150-100)+(100-50))/2
 
5:52 PM
@DJMcMayhem 'nno pls no remap' <- what 'nnoremap' always looks like to me
 
Higher is better
 
lol
 
@DJMcMayhem <leader> is just any character you chose it to be, right?
 
Yeah. By default it's <backslash>. For me it's <space>. A lot of people also use ,
 
Oh, as a cop, you're trying to make the robbers have a ridiculously long regex to satisfy the match/nomatch, because the longer you can make that regex, the better your cop score.
 
5:53 PM
lol
 
Yeah, that's not how I read the scoring section at all.
 
I have no idea how to type a literal backslash
 
I'll clear up the scoring later
 
5:55 PM
@DJMcMayhem \
rekt
``\``
^ gives code-format backslash
 
@Riker That would have been nice to know like a kajillion edits ago
 
:P
 
5
Q: How many Blackjack sequences in that list?

ArnauldYour task is to find how many distinct Blackjack sequences can be found in an ordered list of 12 cards. A Blackjack sequence is defined as a sequence of consecutive cards whose sum of points is exactly 21. Points are counted according to the following table: Symbol | Name | Points Symbol |...

 
if I'm using grep with the -e flag is there a way I can get the output to be a capture group in the regex?
 
@DJMcMayhem nnoremap <leader>ga yl:echo "\\".nr2char(char2nr(getreg('"')) % 128)<cr>l
I modified it to get the \ before the char and also to move right afterwords as if to get to the next character in the regex
 
6:05 PM
@KritixiLithos Better: nnoremap <leader>ga yl:echo '\'.nr2char(char2nr(getreg('"')) % 128)<cr>l
Double vs single quotes
 
Golfed vs ungolfed
 
I'm sure that could be a lot more golfed
I just think avoiding the escaped backslash is nice
 
It looks a lot neater your way
 
@KritixiLithos nnoremap <leader>ga yl:echo '\'.nr2char(char2nr(getreg('"'))%128)<cr>l golfed 2 bytes off
>_>
 
You can change nnoremap to map (I think), and choose a simpler mapping like à instead of <leader>ga
 
6:12 PM
You could also do '<C-r>"' instead of getreg('"') but it would break on quote characters
 
@AdmBorkBork Better?
 
@Riker yl:ec<tab>'\'...
 
I think Java beats vimscript in taking the modulo of a char
 
i has been rekt
@KritixiLithos yes
java beats a language designed for string processing at math
 
@Riker As if vimscript was designed for anything rather than just kinda haphazardly happening with no forethought.
 
6:18 PM
....... good point
 
In case you can't tell, I'm a huge fan of what vimscript can do, but most definitely not a fan of vimscript in general
I can get it down to 50:
map á yl:ec	'\'.nr2char(=char	getr	'"'))
%128)
l
Contains a crapton of unprintables
With unprintables expanded: map á yl:ec<tab>'\'.nr2char(<C-r>=char<tab>getr<tab>'"'))<cr>%128)<cr>l
 
So many tabs
 
Wait, I'm an idiot, I don't need the eval register
Taking that out can get it down to 44
 
@DJMcMayhem
user image
3
 
That's awesome
 
6:25 PM
thanks
it took a whole 5 minutes
 
You made it?
 
@DJMcMayhem yes
I enjoy making shitty text overlays onto images
 
0
Q: Lost in translation (Cops' Thread)

Wheat WizardThis is a cops-and-robbers if you are not familiar with the format click the tag to go to the wiki and if you are looking for the Robbers' Thread click the blue words Your task as Cops is to select two sequences from the Online Encyclopedia of Integer Sequences and write a program that takes the...

0
Q: Lost in translation (Robbers' Thread)

Wheat WizardThis is a cops-and-robbers if you are not familiar with the format click the tag to go to the wiki and if you are looking for the Cops' Thread click the blue words Your task as Robbers is to select uncracked, unsafe answers from the Cops' Thread and find the sequences they map between. If you f...

 
wat
This is a Unicode character apparently: 🗑
 
6:45 PM
I had almost been scared to death trying to implement OOP into my JS interpreter. Phew, now that's over
 
6:55 PM
Somehow I don't believe that a lawyer wrote that.
> As the founder and CEO of Copypasta, Inc., I have shared my trading methods and ideas with more than 300,000 traders in over 196 countries.
 
Idea: make a "test your password strength" website, but whenever people press enter a message pops up telling them how dumb it is to give their passwords to random websites.
 
brb making this
 

« first day (2209 days earlier)      last day (2624 days later) »