« first day (2330 days earlier)      last day (2505 days later) » 

9:05 PM
new question! new question!
...how are polyglots even possible >_>
 
Comments
 
Similar syntax
 
@totallyhuman comments and strings
 
For example, print("Hello, world!") is a polyglot(-ish? It doesn't print newline in ruby) between Ruby and Python
 
it is?
i thought it was puts
 
9:07 PM
@Mendeleev and cheddar, and VSL, and JS, and Swift
probably a ton more
 
@totallyhuman Puts is with newline.
Also, puts("Hello, world!"); is a polyglot between Ruby and C
can someone come onto OPPCGMCS and rate my base design ;-;
 
echo "Hello, World!" is a polyglot between like every shell ever
 
And DOS
 
o0 pyth has a newline function
 
@Mendeleev Works for R too :)
 
9:12 PM
I have two downvotes here... suggestions for improvement, anyone?
 
I think something like this would work:
 
@Mendeleev and VSL and C++ :P
 
#define a b
Scripting style languages usually use # comments.
then use those defines to build replacements
@Downgoat Most of them
 
@LuisMendo Huh, looks fine to me, +1. But iuncluding
 
@Phoenix In case no one replied with this earlier: old meta post about choosing a better name
 
9:17 PM
3
Q: Count like Chuck Norris

Luis MendoAs is well known, Chuck Norris counted to infinity. Twice Besides, Chuck Norris can count to infinity backwards. Also, although perhaps less known, Chuck Norris can speak a little Spanish in addition to English. The challenge Write a program (or function) that can be run in two diff...

 
@MDXF Thanks. What to you mean by iuncluding?
 
@LuisMendo Oh you had a typo but I fixed it
 
@MDXF Ah, I see. That's why I couldn't find it :-D
 
Haha yeah
 
I hope the downvotes were not for that!
 
9:18 PM
It's funny how I notice others' typos real quick but I can never spot my own :P
 
Yeah, that happens
 
¯\_(ツ)_/¯
Man I'm learning so much about Rubik's Cubes while working on Cubically
 
I can't find an old challenge I golfed :(
I had to output a square with a width of the input number and the number as the edges
It was like this one but a little different codegolf.stackexchange.com/q/98866/68923
Lol found it
Related section
:|
 
> Don't use The Nineteenth Byte as a dumping ground for your thoughts or actions. Consider whether a topic would be relevant to others before talking about it. We're here to have discussions, not to listen to someone's stream of consciousness.
(I think this is applicable in this case. It may not be, but even if it is, just good for future reference)
 
I didn't mean to I didn't know if anyone here might recognize the challenge or not but I will keep that in mind
 
9:29 PM
Thanks :D I wouldn't have said anything if you'd phrased that as a question, e.g. "I had to output a square with a width of the input number and the number as edges. Does anyone know what challenge this might be?"
I had to be corrected a few times when I first started talking here haha
 
I will look through that thanks
 
People who're helping with Cubically: Do you think R2 or B2 or L2 or F2 is a better algorithm to get 78 on three faces combined?
 
Quetion: is this not a function: f(x)=x^(1/2) becomes for one input there can be multiple output?
 
@Downgoat s/est/et :P
 
shit sorry >__<
 
9:40 PM
thank ya sir :P
@Downgoat holy sh*t
 
You've said more lol
 
:|
 
shit you gotta get your game up
 
9:43 PM
@MDXF opls
 
@totallyhuman says you
@Downgoat Ay I linked to one time Dennis said it and the other time it was *'d out
 
i haven't been here long enough
and if i was angery and hungary enough, sailors would be proud
 
@DestructibleLemon ohhhh
 
@Phoenix we allow program puzzle but "do my homework kthxbai" is not program puzzle
 
You might be able to make a really broad cops&robbers challenge that covered every type of programming puzzle you'd ever want to make
But it would probably be closed as "too broad".
 
9:47 PM
@Challenger5 s/probably /
 
> You might be able to make a really broad challenge.... but it would probably be closed as "too broad".
ಠ_ಠ
 
or actually: fpdw
 
At this point I'd probably start arguing about how the sandbox should be closed as "too broad", but that's pointless and it would make everybody hate me.
 
@Challenger5 You're not wrong
 
@Challenger5 wat why how wat why how
 
9:49 PM
ಠ_ಠ
how is the sandbox too broad ಠ_ಠ
 
Also the sandbox allows us to say "please try out the sandbox to iron out bugs" rather than "your challenge fundamentally sucks and it's not going to get anywhere"
3
 
hehe I VTC'd (JUST KIDDING)
 
ಠ_ಠ_ಠ
 
@Downgoat (I was kidding)
 
9:50 PM
@MDXF but seriously don't do that
 
That's funny, it looks like the sandbox already has a close vote for "too broad"
 
I'm not that stupid
 
@MDXF Please don't abuse close votes
 
@Challenger5 oh gosh did someone else do that
 
@MDXF IIRC mods can see who CV'd so we'll see
 
9:51 PM
You can also see CVs
 
> close the sandbox as "primarily opinion-based"
 
Go look at it yourself
2 mins ago, by MD XF
hehe I VTC'd (JUST KIDDING)
 
@MDXF sorry >_< I a word
 
I a word ?
 
i accidentally a word
god that's an old meme
 
9:55 PM
that one?
 
about 8 years old according to knowyourmeme
 
Ugh Cubically hates the number 5
 
@totallyhuman that's not real, right? :P
 
we would've found about it by now, wouldn't we have?
 
9:58 PM
Hey @Adnan, could you explain this?
You're reading the file with the 05AB1E codepage as UTF-8, but your codepage contains some bytes that are notably not valid in UTF-8.
Which means it will just fail if your program contains any of those bytes.
llama@llama:...code/misc/ppcg126986norris$ python3 ../05AB1E/05AB1E.py -c poly4
Traceback (most recent call last):
  File "../05AB1E/05AB1E.py", line 3908, in <module>
    code = open(filename, "r", encoding="utf-8").read()
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 9: invalid start byte
Case in point.
 
@Doorknob llama@llama?
 
If I understand correctly, it has a mode for reading the file as UTF8, and one with the 05ab1e codepage.
 
@MDXF idk I think @Mendeleev was first to do
 
@Downgoat You mean "idk I @Mendeleev was first to do"? :D
 
@Challenger5 Right. Notice how the one that reads "with the codepage" actually reads as UTF-8 first, for whatever reason. (See also the error above - -c is the flag that supposedly reads the codepage but actually reads as fake UTF-8 and then converts to real UTF-8.)
 
10:02 PM
I don't know
 
I have no idea then. I guess all previous 05ab1e answers that use those bytes have been invalidated...
 
@LuisMendo I'm not sure, my other bounties have been for a specific goal. My thinking here was, I'm looking for better answers, but don't really know how to express what makes an answer better. And I don't want to limit to my future self from accepting some really good answer that's good in a way I didn't expect. So it's basically "what I like most", and saying that feels like I'm not really saying anything.
 
@Challenger5 Well, it's easily fixable in the interpreter. All the more reason to go through with Martin's recent campaign, I guess :P
 
Yep. Also, it looks like you could still pass it though command-line args if you had a terminal that used some other character set
 
@xnor My problem is that in this challenge I want to attract more answers (there are standard languages with graphical capabilities that have not participated), but they probably won't beat current winning answer in terms of bytes. So people may think "why participate, I won't get the bounty"
 
10:10 PM
@LuisMendo Hmm, I hadn't considered that people might default to assuming fewest-bytes for a bounty rather than whatever the bountier likes most
 
You could add it to the list of bounties with no deadlines?
Come up with some sub-challenge to get it to attract attention
 
brainfuck but with a grid instead of a tape
wait no i don't want to write another brainfuck derivative
 
@Doorknob Ahh, you're totally right. That was a stupid mistake haha, thanks for the fix.
 
It's only a brainfuck derivative if you call it one.
If Brain&Chuck was called a "brainfuck derivative," no one would object.
You could call it "inspired by BF" or "in the spirit of BF".
 
user165474
10:30 PM
Idea: protect the sandbox
 
user165474
Seriously, we need to suspend Community... Half of the revision history on Sandbox is Community removing the tag (which has been readded every time) and protecting the question (which I think is fixed now with a setting)
 
10:52 PM
So you want to protect the sandbox from being protected?
 
11:07 PM
@Downgoat @ETHproductions I found something interesting. In JavaScript, you can generate a custom error name quite easily with this: throw new DOMException("ohai", "CustomError"); This errors out with: CustomError: ohai
 
@ConorO'Brien Not that interesting, you can do throw 'CustomError: ohai'; :P
 
Is it worth posting an answer that doesn't work for all test cases?
Like works for 1 to 9 instead of 1 to Infinity
 
@Jaggler3 Not really, unless it's from a language restriction
Just no insane limits like only work for n=0
 
11:26 PM
@totallyhuman no rewrite wsf
 
0
A: Sandbox for Proposed Challenges

Keyu GanCounting Shapes code-golf Background My jewel box just fell down! There're too many gems of different shape on the ground. And your task is to count number of a certain type of gem. I/O Your code should take two text inputs S and G, which could be a string with newlines, an array of lines, ...

 
@Jaggler3 A mod might delete it, just btw
 
okay
 
@Jaggler3 it's invalid, it will get deleted (not just might)
 
@ASCII-only but that's ugly :/
 
11:39 PM
@MDXF I like that this shows up in the results itself
 
@DJMcMayhem your GitHub link is still to codegolf.stackexchange.com/users/31716/…
@DestructibleLemon haha lol didn't notice that
 
0
A: Sandbox for Proposed Challenges

Conor O'BrienGrouped Keyboard Scores code-challenge In the above graphic, one can see 11 distinct color groups, which roughly correspond to columns on a keyboard. The following is a plaintext representation of which characters occur in each group. Group 1: ` \n\t Group 2: !1QqAaZz Group 3: @2WwSsXx Gr...

 
@NewSandboxedPosts that was fast ._.
 
Why are all the SPA UI frameworks so weird?
 
45 seconds :o
 
11:42 PM
I don't want to write my HTML in JS. I don't want to write my app in Node. All I want is something that lets you use UI components and AJAX easily.
 
hey do any of you guys wanna play spyfall?
 
@ConorO'Brien huh, that's interesting doesn't work with normal errors either. Though for me your example gives CustomError (DOM Exception): ohai
 
yeah, it's really quite odd
fixed
 
@HyperNeutrino @Okx @KritixiLithos @totallyhuman @DJMcMayhem @Poke @betseg and everyone else who was in that alias conversation earlier, I have compiled a list of the best ones (more or less all of them) here
 
user165474
11:57 PM
... ok then lol
 
> `#Mild troll`
> `alias ls=sl`
I wouldn't call aliasing ls "mild"
 
user165474
omg gcc=rm that is evil
 
The mild trolls don't ruin your filesystem, the heavy trolls do @WheatWizard
 
user165474
@HyperNeutrino unlike that one
 
user165474
(check response source for what i'm referring to)
 
user165474
11:58 PM
Such as alias cd='rm -r' :P
 
@HyperNeutrino heh that was one of my favorites
 
Why is the cat alias under heavy troll?
 
user165474
@WheatWizard it writes the empty string into the target file, thus erasing its contents
 
@WheatWizard 'cause it overwrites any file you try to cat
 
user165474
@MDXF ninja'd
 
user165474
11:59 PM
(and I added explanation so 0/10 to you :P)
 
Whatever :P
My favorite mild troll is alias man='echo No manual entry for $1'
 
yeah, but thats not that bad
 

« first day (2330 days earlier)      last day (2505 days later) »