« first day (1843 days earlier)      last day (3003 days later) » 

9:09 PM
@Optimizer [citation-needed]
 
@MartinBüttner [my-childhood]
 
@Calvin'sHobbies I'm pretty sure it is in the UK. If it is in Germany then not often, but I don't really watch any sports channels (or any TV at all to be honest). I have clue about other European countries.
@Optimizer you have spent your childhood in almost all other countries? D:
 
0
Q: Contradict the symmetric property of equality

Patrick RobertsChallenge Write a program or function that will (appear to)1 contradict the symmetric property of equality. Standard loopholes do not apply. Here's what I mean: a == b // true b == a // false Good luck! Notes 1This is purely optional and will not be rewarded or penalized. It is merely inclu...

 
@MartinBüttner it certainly is in india
 
@MartinBüttner yup
 
9:11 PM
Here's a citation that doesn't help Optimizer's argument >_> topendsports.com/world/lists/popular-sport/sports/cricket.htm
 
of course, you are trying to kill me in another chatroom, why would you help me here
also, raising your p*nis
 
I'm not even sure how you saw that in what I posted. I'm thinking it's you that has the strange thoughts on that one ;)
 
@Geobits marky agrees with me. also, i saw that link
 
Yes, but he's not sure how to love you.
 
@Downgoat Can you explain what your answer on that probably-now-closed underhanded question was doing?
 
9:16 PM
159
A: Loopholes that are forbidden by default

professorfishUsing two different chars which look the same Very common in underhanded contests: you set variable a to a value, then you set variable <CYRILLIC A WHICH LOOKS THE SAME> to another value, then you pretend they're the same thing. Most recent occurence is in the 2+2 = 5 question, in JavaScript, h...

 
@VoteToClose That first 'а' is ascii 1072, whereas the other 'a' is ascii 97
 
Try Ctrl+F'ing "a" and see what doesn't get highlighted.
 
\o/ I'm more than double the next lowest submission in the compute challenge!
 
dammit
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Nice!
 
9:23 PM
I'm 21 answers away from that :/
 
I hope my grocery store challenge isn't so hard it doesn't get answered :/
 
I just saw a wall of text and was like "Nope."
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I'm 264 from code-golf gold
3/4 of the way :)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ... :(
 
9:24 PM
Nice!
 
Most of those are just the examples.
 
About to post my quine challenge, any more suggestions?
 
Seems good!
@ETHproductions I'm 600 away :| 2/5s of the way ^^"
 
Who is Dennis? :O — NuWin 48 mins ago
7
 
@Dennis Just out of sheer curiosity, how long would this be in Jelly (assuming you did running forever and printing one string at a time)?
 
9:27 PM
@Adnan wat
wat is love
 
Hahaha
 
0
A: Sandbox for Proposed Challenges

Thomas KwaOptimize my TI-BASIC exponentiation code-golf optimization My TI-83 has a broken ^ key. In fact, the only keys that work are X, Ans, and :. With these restrictions, I want to know the length of the shortest possible program that outputs X^n for a constant n. In TI-83 BASIC, Multiplication is...

 
@quartata I'm not sure you can run forever in Jelly.
Everything is a function.
Oh wait, there are print commands
 
He added print and a while quick recently.
Plus you could just recurse...
 
10 bytes, ish
Cartesian power is a builtin.
 
9:30 PM
10 bytes? OK.
 
@Conor Thanks, gonna have a look at it. :) — DenkerAffe 30 secs ago
 
0
Q: 1-up your average quine

ETHproductionsA 1-up quine is a program which is very similar to a quine. The one major difference is that instead of printing itself once, when n copies of the code are concatenated, the result prints the code n+1 times. Example If your program is Abc123: Abc123 -> Abc123Abc123 Abc123Abc123 -> Abc123Ab...

 
I cri ten out of ten ^^
 
The shortest challenge I've ever written
@Martin It has been posted ^
 
@KevinW. Ohoho.
 
9:37 PM
@ETHproductions Good job keeping up that 10.4
 
How to split on an empty string in python?
 
.split('')
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What?
 
Wouldn't that just give a list of all characters?
 
9:40 PM
Argh...
 
@El'endiaStarman Give a ValueError.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What do you mean by this?
 
I got [x for x in "string"]
 
@CᴏɴᴏʀO'Bʀɪᴇɴ XY Problem, looks like. What are you trying to do?
 
@ThomasKwa JS's "string".split("")
@El'endiaStarman Insert a character between each character.
 
9:41 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ I'm not sure why you'd need this, since strings can be accessed like arrays
 
@CᴏɴᴏʀO'Bʀɪᴇɴ 'a'.join(string)
 
^
Just do that.
 
@El'endiaStarman o_o python sure is weird
Strangely elegant though
 
Finally, you start seeing the light... :P
 
But python doesn't have builtin base conversion >:|
 
9:43 PM
I personally would've made join a list operation, not a string operation. Like <iterable>.join(<string>).
 
^ that's the sane way to do it.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ It does for bases <= 16.
 
wat
What is it?
 
Actually, lemme amend that. It has b -> 10 for 2 <= b <= 16, and 10 -> 2, 8, 16.
 
Not good enough >_<
 
9:45 PM
int for the former, and bin, oct, hex for the latter.
To be honest, you will very rarely need anything more in real-world programming.
 
Brute forcing string permutaions...
 
Pfft. Real world programming he says...
 
Oh, base 64 conversion (to and from) is also provided in a standard library.
 
@Quill sensed a disturbance in the code...
 
6
Q: 1-up your average quine

ETHproductionsA 1-up quine is a program which is very similar to a quine. The one major difference is that instead of printing itself once, when n copies of the program are concatenated, the result prints the original program n+1 times. Example If your program is Abc123: Abc123 -> Abc123Abc123 Abc123Abc12...

0
Q: TinyBF to Brainf*** converter

Alex L.We have a Brainf*** to TinyBF converter, but not the other way around, so here's one. Rules: Your interpreter must take a valid TinyBF program, on one line, and it must output the corresponding BrainF*** program, on one line, with optional trailing whitespace/newline. No leading whitespace is ...

0
Q: Image to text art

Gust van de WalIntro With quite some image-scanning and ASCII-related questions, I find it astounding that this hasn't been asked yet. So here it is. Given an image, your program should try to convert it into a piece of text-art, with as much realism as possible. This will be a popularity-contest Rules You...

 
9:46 PM
whoa
 
Umm. You guys aren't joking about that whole 10/day thing, huh?
11
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I just was playing Infamous all yesterday. working today, so here I am
 
@Geobits Apparently not
 
@Geobits Nope.
 
@NewMainPosts I normally don't really like quine challenges, but this one is good because it essentially invalidates many/most standard techniques for quines.
 
9:47 PM
:)
 
@ETH ɪs sᴍᴀʀᴛ ʟɪᴋᴇ ᴛʜᴀᴛ.
 
@NewMainPosts y dis get upvote
 
Shortest way to split on change in capitalization in python? I.e. HelloWorld => ["Hello", "World"]
nvm
 
@CᴏɴᴏʀO'Bʀɪᴇɴ re.match("[A-Z]",
 
9:50 PM
@Quill What about "HELLOwORLD"?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ like a much younger and more attractive yoda
 
haha
 
XD
Maybe! I'm using a different method though
 
That might be a decent challenge. Split strings on case change.
 
retina will win probably
 
9:53 PM
Well, of course. :P
 
4
A: "Hello, World!"

DowngoatTeaScript, 12 bytes (using ISO/IEC 8859 character encoding) D`HÁM, Wld! Compresses Hello, World!, decompresses with D (æ) function

 
@El'endiaStarman oooh
 
The fact that CJam Pyth Jelly will probably win most challenges doesn't make them uninteresting or fun.
 
Can I sandbox that? Or do you want to do it?
 
Sure, go ahead. :)
 
9:54 PM
@Cyoce These string compression algorithms are getting ridiculous
 
That's nothing.
Jelly's is way better.
 
Ham Wld
 
6
A: "Hello, World!"

DennisJelly, 8 bytes “3ḅaė;œ» Try it online!

3
A: "Hello, World!"

Adnan05AB1E, 14 7* bytes *14 bytes for the use of the trademarked Ÿ Code: ”Ÿ™,Œ‰! Try it online! Like Jelly, this uses a compression method using an English dictionary. How it works? Let's find out: ” # Start a compressed string with all words titlecased Ÿ # In Info.txt, you can see...

 
And Jolf? :3
 
Ok platy needs this
 
9:57 PM
0
A: "Hello, World!"

Cᴏɴᴏʀ O'BʀɪᴇɴJolf, 7 bytes Try it here! ξrμ\t\x0FΉ\x1B ξ read three characters and interprets them as a base 256 number index in a gigantic word list. 'Nuff said.

 
But I guess I first need to give it a specialized encoding or this will just take up more bytes
 
What would a specialized encoding have anything to do with this?
It's the byte values that matter.
 
At least give it an upvote so the series matches divisible by three...
 
Encodings are just different ways of displaying them
 
yeah but I want it displayed ( ͡° ͜ʖ ͡°)
 
9:59 PM
k
 
Besides all of these compressed answers use characters that are more than one byte in UTF-8
 
The characters don't matter it's the bytes
The bytes would display as different characters in UTF-8, but they would still convey the same information.
 
sort a list in python by initial value? I.e. ["1.0 asdf", "11.0 asdfasdf", "2.0 daf"] => ["1.0 asdf", "2.0 daf", "11.0 asdfasdf"]?
 
sorted(l, lambda x,y: float(x.split(" ")[0]) - float(y.split(" ")[0])) maybe?
 
10:02 PM
0
Q: What is/are the reasons for this being put on hold?

Patrick RobertsCan someone explain specifically why this is currently on hold? I'd really like to be able to turn this into a contest, but I'm not sure what's disagreeable about it. Contradict the symmetric property of equality

 
@CᴏɴᴏʀO'Bʀɪᴇɴ it already does that automatically
 
@CᴏɴᴏʀO'Bʀɪᴇɴ map split by space + eval first item, zip the two arrays, sort, splat, zip
 
@CᴏɴᴏʀO'Bʀɪᴇɴ nvm I misunderstood the question
 
> answered 52 secs ago
You waited 30 minutes @Martin. Did you have to answer now? :P
 
10:03 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ sorted(l, key=lambda x:float(x.split(' ')[0]))
 
Thanks @Cyoce and @ThomasKwa :D
 
@ThomasKwa ooh I forgot about key=
That's much better.
 
I didn't understand what key= meant when I looked up "python sort" in the docs
 
@ThomasKwa Isn't eval shorter than float though?
 
@quartata I don't think this is golf.
 
10:06 PM
Oh, I assumed it was :P
 
Notice that space after the comma in my code?
 
> Code is to be assumed golfy until proven innocent
 
That's "good code style"
 
@ThomasKwa waaaattt
 
@ThomasKwa Related: apparently in CoffeeScript, l[0] != l [0]
 
10:11 PM
My .gitignore ignores my ignore settings >:(
 
halp how do I clear the contents of a file in python?
 
os.system(rm file)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Open it in write-only mode and close it
that should truncate it
 
What if it's already open...?
 
@Cyoce that deletes the file :P
 
10:13 PM
@quartata you're right
os.system(rm file);open("file","w").close()
 
ehhh I suppose
 
55 secs ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
What if it's already open...?
 
Then why did you write anything in it in the first place if you were just going to clear it?
 
Just close and re-open it.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Aside from Cyoce's very good question, you could do file.close() and then open/close it like quartata described above.
 
10:15 PM
By default unless you have 'a' mode a file is blanked when opened in write mode
 
file.close(); file.open(filepath,'w').close()
 
I am writing multiple lines to the file. Sometimes, lines are added that should go before other lines.
Thanks @Cyoce @El'endiaStarman @quartata
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What problem are you working on? Inserting lines is a rare operation.
 
Brute forcing things for this:
3
A: Sandbox for Proposed Challenges

Thomas KwaOptimize my TI-BASIC exponentiation code-golf optimization My TI-83 has a broken ^ key. In fact, the only keys that work are X, Ans, and :. With these restrictions, I want to know the length of the shortest possible program that outputs X^n for a constant n. In TI-83 BASIC, Multiplication is...

 
I think it can be done with file seeking and writing to a specific place, but...
Ahhh, I see. What about waiting to open and write to the file until you've compiled the whole list?
 
10:17 PM
It goes on forever.
Well, that doesn't work. gives up
I should just stick to javascript >_>
Or learn a sane language.
 
Or learn to program sanely.
 
BTW @El'endiaStarman I am now only 141 rep away from catching up to you. Run ;)
 
Few programming languages have easy or built-in ways to insert lines in files.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Python is perfectly sane. This is just how files traditionally work
It's not very nice I'll admit
 
I want to quickly post this:
3
A: Sandbox for Proposed Challenges

Cᴏɴᴏʀ O'Bʀɪᴇɴcode-challenge string Auto BATCH golfer. I love BATCH, despite its shocking lack of functional commands, despite even due to its lack of non-integer support. Why? Because this works: SET var=SET %var% i=0 This would evaluate to: SET var=SET SET i=0 Fantastic, isn't it? I've used this tech...

@quartata Oh, it's a different problem.
@ANYONE HAVE SUGGESTIONS?
 
10:22 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Use the tag instead of code challenge.
That's what it is there for
 
<_<
 
Deja vu...
ANYHOW do you think it's ready? :3
Sorry for being pushy. I am not being ousted by quartata anytime this month. o-o
 
ha
just you wait
Don't let the fact that I don't have anything in the sandbox give you a false sense of security
I have 10 challenges written on paper in my secret lab
 
10:25 PM
I have three journals full of 'em.
\\\\٩(๑`^´๑)۶////
 
rly
are they fully specified complete with markdown
 
Maybe four... :P
 
(ง ͡°ᨎ ͡°)ง
 
(」 ͡° ͜ロ ͡°)」
le post
 
Hrmph. I think I might be in a challenge slump again though
Three challenges with just a so-so reaction
(12 9 9)
 
10:31 PM
mwuhahaha
 
shush
 
I've been on an upwards trend, but I'm sure it's going to end with the auto BATCH golfer.
 
I must be in a challenge slump too. Three of my last five challenges didn't even break 30.
 
ಠ╭╮ಠ
 
10:33 PM
@El'endiaStarman Challenges don't usually break 30 unless they're really really funny or are posted by Calvin.
I expected Grocery Store to at least break 10, since it had like 6 upvotes in the sandbox though....
 
32

The Rien Number
28

Product over a range
26

Atbash Self Palindromes
24

The Complement Cat
21

Reading the news is boring. Help me out!
 
I definitely didn't expect the Electrons in a wire one to break 30.
 
I think it's partially because the holiday season has wound down
Less rich kids visiting the site with their association bonus
 
@El'endiaStarman Really? I did.
 
@quartata Wait a full day. Votes are usually pretty well spread out.
 
10:34 PM
@El'endiaStarman It's been almost 2 full days.
 
Wait what?
 
Ye.
Err.. I thought
OK, I posted it yesterday morning.
 
It's been just a bit more than a full day.
 
I think it's too hard.
 
I thought you posted it a lot more recently than that.
 
10:36 PM
nah
My Bridge question has been up for almost 3 and only 9 upvotes there too.
 
I post my question, it gets one upvote. Then I get random upvotes on other challenges. .____.
@quartata I haven't been voting on your challenges ;)
 
Yes, it's hard. But primarily because of the need to parse and produce ASCII art.
In any case, you got a +1 from me on the Grocery challenge yesterday.
 
C'mon you slow question bot
 
1
Q: Auto BATCH golfer

Cᴏɴᴏʀ O'BʀɪᴇɴI love BATCH, despite its shocking lack of functional commands, despite even due to its lack of non-integer support. Why? Because this works: SET var=SET %var% i=0 This would evaluate to: SET var=SET SET i=0 Fantastic, isn't it? I've used this technique in a BATCH program before, because it...

 
@NewMainPosts Thank you!
o shoot
 
10:38 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Impressively good timing, there. :P
 
@El'endiaStarman bows Thank you! And for my next act, I will make one of your daily upvotes disappear.
 
ಠ_ಠ
Speaking of which, ಠ_ಠ hasn't been in here in a long time. ಠ_ಠ
 
I know ಠ_ಠ
 
@CᴏɴᴏʀO'Bʀɪᴇɴ That's ambiguous.
 
@mınxomaτ But I know ಠ_ಠ
 
10:44 PM
@Adnan Hahaha. A member of 6 months, and this is his first contribution...
 

Marky is Dennis is Marky

26 secs ago, 1 second total – 2 messages, 2 users, 0 stars

Bookmarked 6 secs ago by Cᴏɴᴏʀ O'Bʀɪᴇɴ

 
Does 100 seem like a reasonable upper limit for how many times the source code can be repeated in my quine challenge?
 
Thanks @CᴏɴᴏʀO'Bʀɪᴇɴ
 
Alrighty guys, I have made some LCI progress! codepen.io/molarmanful/pen/yewvyx
 
That'd need to output 101 copies of the source code.
 
10:48 PM
I got the parsing down.
Now for reduction.
 
@ThomasKwa No problem? What for?
 
(That's what I need help on.)
 
Parsing is such sweet sorrow
 
@Eridan Not with PEG.js
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Verifying for my sandboxed challenge
 
10:49 PM
Apparently, parsing was the easy part.
 
10.6 Q/D now, btw.
 
@ThomasKwa Ah, I see. No problem!
 
Might we reach 11 before long?
 
I could post my 20ish sandboxed challenges all at once.
 
@El'endiaStarman ooh :D
 
10:53 PM
Is there a challenge to determine the largest possible number of sides a convex polygon can have given an input of coordinate pairs?
If not I'll sandbox it
 
@Eridan I don't think so.
We've had convex hull questions, but not that.
 
Awesome
 
We're also missing a CHIP8 emulator challenge, but I can't be bothered to write it.
 
@somebody I don't see it
 
@Sp3000 It's not Seed the esolang.
 
11:05 PM
?
 
0
A: Sandbox for Proposed Challenges

Thomas KwaHourglass simulator code-golf Write a full program or function to simulate an hourglass. Input n, the number of seconds on the hourglass. Behavior The top of the hourglass is initially filled with n seconds of sand. When the spacebar is pressed, the hourglass flips by 180°. When either side...

 
I could write a lot of challenges about coordinates, to be perfectly honest
 
I could write a lot of challenges on periods of B1/S cellular automata.
 
I could write a lot of challenges about <obscure maths field>
 
I could write a lot of challenges and make our Q/D go up more
 
11:11 PM
GO FOR IT.
 
^^ that's a terrible thought
 
(I kid.)
 
@Sp3000 ಠ_ಠ
 
I could write a lot of challenges. Oh wait, I did.
11
 
Come on, my challenges aren't THAT bad... sometimes
 
11:12 PM
No, that's not what I mean. I just mean that purely trying to write challenges to boost Q/D is meaningless
 
It's too easy to impress you guys :P
 
1
A: Sandbox for Proposed Challenges

EridanThe largest convex polygon Given an input of at least one coordinate pair on the Cartesian plane, determine the largest number of sides a convex, non-self-intersecting polygon formed from those points can have. A convex polygon is a polygon such that there is an angle strictly less than 180˚ an...

 
@NewSandboxedPosts You're slacking. This was posted ten minutes ago
You know sometimes I think the world exists solely to mess with my head
 
@Eridan That's almost as bad as thinking the world revolves around you. :P
 
But seriously, as I was pushing to condemn NewSandboxedPosts, it posted my challenge.
 
11:20 PM
hahaha
Incidentally, how is your challenge different from convex hull? Thomas Kwa implied that it isn't, but I don't see why.
Oh wait, you could have a pentagon contained in a triangle...
 
Consider (0,0) (10,0) (10,10) (9,1) (8,8) (7,3) (1,5)
 
I suggest adding a couple diagrams to make that really clear.
 
Yay, an excuse to use Geogebra again
 
George's bra?
 
11:33 PM
No, George's father's bro
 
wet
yes
 
Sಠinfಠld
 
11:39 PM
I don't expect birds to appreciate Seinfeld. They're apparently not that smart if they keep running into Elaine's giant freak head.
2
 
11:54 PM
@AlexA. If this is real, I might have to reconsider my life.
 
I wish I could tell you whether it's real.
 

« first day (1843 days earlier)      last day (3003 days later) »