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

12:24 PM
Okay, I went the hard way and created a challenge without sandbox again.
I hope its simple for you
._.
Views = dislikes
This is bad
It looks like people understand it
but, uhh, why the dislikes
 
-4
Q: Convert all 'o's to 'ಠ'

Matthew RohThis is an extremely simple challenge. This challenge is based on a meme in PPCG, which has been trending until now. You will be given a string, and your program should convert 'o's (case insensitive) in the string to 'ಠ'. Examples Doorknob -> Dಠಠrknಠb Lorem ipsum dolor sit amet, consectetu...

 
It's too simple.
 
s/o\|O/ಠ/g
 
Rod
@MatthewRoh ^exact, don't allow room for cool tricks, probably there is a built-in on every language for "replace character X with character Y"
 
Anonymous
There's got to be a dupe target for that
 
12:32 PM
too simple?
 
Anonymous
@KritixiLithos s/o/ಠ/ig
 
Nothing could be too simple iirc
 
There's a difference between appealingly simple and trivial.
2
 
Wait, Carrot doesn't have a builtin for this
 
nor grass not brainfuck
 
12:34 PM
x.tr ?o,?ಠ
 
@satibel brainfuc cant do unicode
 
@KritixiLithos why the backslash? is that an old regex version?
@MatthewRoh there are BF interpreters that can; BF is rather nonstandardised
 
Ahh.
 
I was thinking about vim regex
 
ah, fairly old then
most modern regexes just use | for that
 
12:35 PM
People are actively answering and disliking it ._.
 
trivial questions nearly always get a lot of answers
 
and downvotes in equal quantities
 
that reminds me, I should put in that request for questions with answers > (upvotes-downvotes) to be excluded from HNQ
as it's normally a fair sign that the reason the question is receiving attention is due to triviality
if more people know the answer than think it's a good question…
 
I want to delete it now but theres this answer which blocks me to
 
Rod
@MatthewRoh and this is why the sandbox should be used '-'
 
12:37 PM
ikr
lets just say that made people know why the sandbox is important
 
there are plenty of things the sandbox is good for
determining if a challenge is too trivial is one of them
there are also plenty of things the sandbox is bad at, though
 
I'm supposed to delete the challenge but this one answer keeps kicking my ass
 
in particular there have been some challenges which were overwhelmingly popular when posted but got a mediocre receiption in the sandbox
I thought the rule was only against deleting questions with an upvoted answer, but maybe +2/-2 counts as upvoted
 
"only one answer, but that answer has no upvotes"
so I guess it's treating the answer as having upvotes
I blame the upvoters for this
 
12:45 PM
You could ask the answerer nicely to delete the answer
 
This is bad, bad, bad, bad, bad, bad...
@JanDvorak I did
 
you could also ask the answerer to delete the question, seeing as they're a mod with a deletehammer ;-)
 
oh
Or possibly the one who created the meme?
 
You could delete that one, too
 
Uhh, What?
Do you mean ais?
 
12:49 PM
I don't have a deletehammer; I can contribute deletion votes to some things, but not recently posted questions
 
Nooooooo yet another answer
 
that one's being downvoted too by the look of things
I wonder if an answer in a language where the task is actually very difficult would be downvoted?
but I'm not sure I want to put in the effort to do that
 
Rod
@ais523 Maybe on a more generic "replace character" (showcase like?) challenge...
 
I think "implement tr" would be about the right level of nontriviality for a language in this space
although Jelly has a builtin for it, so it'd still fail my definition of triviality
 
Rod
@ais523 hm, what is the meaning of "tr"?
 
Anonymous
12:54 PM
@ais523 Like detecting blatant flaws with the challenge
 
Anonymous
I might write a "implement tr" challenge
 
@Rod transliterate in bash I think
 
@Rod it's a standard program on UNIX systems, its specification is here
 
I wanna delete it ;_;
 
@MatthewRoh So you ask for feedback on one of your challenges in the sandbox, which we tell you is a bad challenge in its current state. And this gives you confidence to post a challenge directly without using the sandbox after that?
 
12:55 PM
(it's not actually builtin to bash, but on the vast majority of systems that come with bash preinstalled, tr wil be installed too)
 
uhh
 
Moreover: "This is an extremely simple challenge. This challenge is based on a meme in PPCG, which has been trending until now.". 1) this ಠ thing does not come from PPCG 2) basing a challenge on a meme is almost certainly a bad idea
 
actually tr is fairly complex due to support for things like character classes
@Fatalize every meme-based challenge I've seen so far has been downvoted
 
The upgoat/downgoat one hasn't
 
@ais523 meta-challenge accepted
 
12:57 PM
@Fatalize that's more a Nineteenth Byte meme than a PPCG meme
 
That's practically the same thing
 
I think it's possible that a question based on crossed out 44s could do well, but it'd have to be less trivial than the obvious one
 
I want to delete it, and two answers are blocking me to. that is nearly torture.
 
@Fatalize not really, I personally don't really agree with the concept of a "main chat channel" because you'll never find a topicality that everyone agrees with
 
Under 100 rep
TORTURE
 
Anonymous
1:01 PM
@Fatalize Well that's because it's actually an interesting challenge in of itself
 
@MatthewRoh: your recent series of posts is really getting on my nerves
 
sorry
 
@Mego The scoring is flawed in that since the test images on which your method is scored are public, it's then trivial to get a perfect score
 
right, I'm surprised at the scoring method for the upgoat/downgoat thing; actually, I think it's one of the few challenges which would work best as a popcon
because many of the answers are very creative, despite being optimized for accuracy rather than popularity, and because it'll never be objective how good the program could be
 
Rod
@MatthewRoh it's just fake internet points, no need to worry, stick around, learn new things, improve your golfing, and the points will come by their own
 
1:03 PM
but currently points are fleeing away on their own
 
You drove them away; not on their own
There is a reason why we encourage the use of the sandbox. It's not no be annoying
 
Oh right
but not being able to delete questions is annoying
 
well, the rule was intended for StackOverflow
so that other people who had the same problem could find the answers
 
You can ask mods to be dissociated from the question
 
PPCG is all messed up, because over here, the questions are normally more valuable than the answers
which reverses the whole dynamic of the site
 
1:06 PM
I don't see why it should be deleted at all. It's a valid challenge, it has clear specs, and it's in-scope. It just happens to be badly received.
 
Could anyone delete my question ;_;
 
(that's not to say that answers are useless; just the vast majority of questions require a lot of effort, and many but not all answers are trivial)
 
@Fatalize ^
 
8
Q: How easy is too easy?

Jesse MillikanRecent example: Code Golf for a^b mod n. Is there a policy I'm missing about what's too easy? If not... Should questions I personally dub too easy be... Ignored and left for interested users? Downvoted? Flagged? Commented with a policy of some sort? What, if anything is too easy? Arithmet...

 
hmm
 
1:08 PM
Sometimes in code golf you think something is easy and then you see some of the answers... — Eelvex Mar 14 '11 at 8:56
 
I deleted it, My reps doesn't go back up?
Oh its back
 
Anonymous
@MatthewRoh My advice is the same advice I gave Abel yesterday - think before you hit the "post" button
 
> This is very underspecified. I don't see any mention of projections (orthonormal or perspective), back-face culling, z-buffering, shading, lighting, ...
My brain's gonna explode
 
He is entirely right, though
 
Anonymous
It's also not a great idea to try to write a challenge about something you don't really understand
5
 
1:17 PM
flagging question: if I see an answer that's been deleted by red flags, and warranted deletion, but only regular deletion (it didn't warrant the red flags), should I bring it to mod attention?
oh right, I see why it was red-flagged now
but I'm just interested around the general topic
 
@Mego I originally understood it but the comments boosted the difficulty to barely understandable
 
let me try to talk you through the comment then
projections = "the way points in 3D map to a 2D screen"; in an orthonormal projection you basically just ignore the existence of the z coordinate
which is much terser than doing something that does correct projection would be
 
Anonymous
@ais523 Possibly. If people are misusing red flags, then a mod should know about it
 
back-face culling is not drawing the back of a solid object, z-buffering is not drawing things that are behind other things
and the other option is sorting the faces so that they get drawn from back to fornt
 
Not drawing things that are behind other things?
 
1:20 PM
if you don't do any of those three things, then you'll be able to see the back of things sometimes rather than the front, which looks obviously wrong
but apart from z-buffering, none of the approaches are fully general
 
Okey
 
raytracing is an alternative to z-buffering, in which you test every pixel against every object and pick the closest intersection
 
when you have things like angled planes that intersect their range of z-coordinates
oh right, I forgot about raytracing, but yes, that'd work too
shading and lighting are talking about what colour things should be
because the tersest method is to assume that all the things you're drawing are completely black and absorb all light
because that way you don't have to worry about what goes behind what other thing as you're only drawing a silhouette anyway
 
(Or completely transparent and you don't even have to draw them)
 
I know about shading and lighting but lets just let people to render in simply 1 color
 
1:22 PM
if you want to actually be able to tell the faces apart, you need to define some sort of shading restriction
 
@Fatalize the golfiest method :-D
but say you have something like a red cube, that you're looking at from the corner
if you don't have any sort of lighting, it'll just look like a red hexagon; you won't be able to tell the faces apart
using directional light is the main method of being able to tell the difference between faces at different angles
and it's the method that we mostly use in real life, too
 
Hmm, Let's just use wireframe :\
 
(most humans also have eyes capable of depth perception, but it's not a very accurate sense compared to our senses for colour and shading)
 
wireframe is way easier, am I wrong?
 
1:25 PM
incidentally, depth perception is possible to a limited extent even with only one eye, but it takes an appreciable portion of time and is very inaccurate
right, with wireframe you don't have to worry about shading/lighting, and you also don't have to worry about z-order issues
so the only thing you'd really have to specify is projection
 
@ais523 And it would probably be really bad if you weren't allowed to move at all
 
@Fatalize you can test it; close one eye, hold a finger around a foot (30cm) away from the other eye, then look between the finger and a background object alternatively
 
So I would choose wireframe with input constant camera angle (:\)
 
You don't need depth perception to know that a tiger is jumping at your face.
 
you'll discover that you can make one blurry and the other sharp; you do that by changing your eye's focal range, which you have conscious control over
and that's purely based on distance
(note that the darker it is, the smaller the eye's depth of field is, so this might be hard to pull off in a sufficiently light area where the depth of field is very large)
 
1:29 PM
I love playing with depth of field when photographing.
 
Does "wireframe with input constant camera angle" even make sense?
 
yes; you should probably specify what the camera angle is, though, and also things like the camera's field of view
 
A camera isn't just its field of view. They also have a position, a direction and an up vector perpendicular to their direction.
 
@JanDvorak right; I don't think depth of field is something you have conscious control over, though, unfortunately (because the way the retina works, you can't vary the exposure time, and the relationship between exposure time and depth of field is fixed for any given lighting level)
 
Some cameras also have an aperture size and a focus distance.
 
1:31 PM
well, direction + up vector is the camera angle; I forgot to mention position, though
aperture size is the size of the output image in this case, which maybe should be specified? focus distance is irrelevant in wireframe, we're assuming infinite depth of field there
 
@ais523 I thought you meant the field of view angle.
 
input format could be specified by base x, base y, base z, x angle, y angle, z angle, distance from base
 
I specified both camera angle and "things like the field of view"
 
@ais523 aperture size = the iris diameter
 
although of course the field of view is two-dimensional
 
1:32 PM
@ais523 Yes, absolutely.
 
@MatthewRoh and that is still damn complex
 
@JanDvorak wait, are we talking about eyes or codegolf problems?
 
both
 
I'm talking about 3d graphics
 
@Dennis OK; it was a false alarm in this case, but I'll know for the future
 
1:33 PM
But at least blender isnt that complex
 
incidentally, I came across a post with 2 delete votes which blatantly needs deletion, and am currently fighting the urge to VLQ flag it (which would be a valid flag) immediately before deleting it for the flag weight increase
can someone talk me out of it?
 
What? You can set all of these and more in Blender.
 
Anonymous
@ais523 Don't flag something if it shouldn't be flagged
 
@Mego it's something that should be flagged; however, I also have the perms to just delete it
which would mark the flag as helpful
 
Anonymous
Then go ahead and flag it
 
1:34 PM
@JanDvorak You can ignore all of these in blender :\
 
oh well, free flag weight I guess
 
Anonymous
"trusted user" means we trust you to use your privileges responsibly
 
Blender cameras not only have an aperture size and focus distance, but also a number of blades (for polygonal bokeh) and angle, and even an anisotropy ratio for your bokeh.
 
oh, haha, SE thought of that, the VLQ flag option doesn't even come up on something I can voluntarily delete
 
Anonymous
If there's no clear abuse (i.e. the flag would've been marked helpful either way), then go for it. Less work for the mods.
 
1:36 PM
(to be fair, if the post wasn't obviously flaggable, it'd have been unlikely to attract two delete votes)
 
I have a (hopefully) nice topic for a challenge
 
Please put it in sandbox first
 
I'm getting a really weird behaviour in Windows that I don't understand.
 
Nothing unusual so far...
 
Writing echo ^[[HHello, World! echoes in the top-left corner of the screen.
(the ^[ is the key-combination Ctrl+[).
 
1:44 PM
That's an ANSI escape sequence
didn't know ^[ produced the escape character.
 
Writing printf("\x1B[HHello, World!"); prints the DOS symbol for the ESC character.
@JanDvorak That's not the weird part.
 
Try \e[H
 
@JanDvorak It's definitely printing a ESC character.
I tried \33 too.
And copypasta'd it into Notepad++ to check.
Here it is: .
 
Vim displays the escape character as ^[ too
 
Works as expected in Ruby
 
1:48 PM
@wizzwizz4 Windows has more than one API for writing to the terminal; the situation's complicated by the fact that terminal control codes used to be handled by a separate program called ANSI.SYS that might or might not be running at the time, and nowadays are handled by Windows but not in all contexts
 
@ais523 "not in all contexts" How can I make my program one of these contexts?
 
on Linux you can expect consistent output in any given terminal, due to the pty abstraction, but Windows doesn't have ptys so outputting to a terminal can give inconsistent results depending on what methods you use
 
Try running it in Powershell
 
@wizzwizz4 the intended solution is to use a bunch of APIs with long Windows-specific names, rather than printf, to specify the position, color, etc. individually
but I don't think most people want to do that
 
@JanDvorak That... is a great suggestion.
 
1:50 PM
there are some terminals that always parse stdout, such as ConEmu and the new Windows 10 bash.exe (which isn't technically a terminal, and doesn't have much to do with bash)
PowerShell's terminal might or might not be one of them, I'm not very experienced with it
anyway, the Windows console output situation is just a complete mess
 
@ais523 bash in Run... does nothing.
 
for a while you couldn't copy-paste to terminal windows for permissions reasons (they weren't drawn by normal user-mode code)
 
Anonymous
@JanDvorak Now you have 1378459 problems
 
@wizzwizz4 I think you have to opt into it somehow, it's basically a reimplementation of Linux for Windows
and thus handles terminal codes consistently just like Linux does
 
@ais523 You have to right-click on the title bar.
 
Anonymous
1:51 PM
@ais523 Yep, it's an optional feature that has to be enabled
 
Powershell is slow.
Oh, wait. It was searching the entire path.
 
Anonymous
 
@Mego Hey now. That's ... ok, that's fair.
@ais523 Don't forget all the problems with colors and redirection.
 
@Mego I enabled all of them lmao
 
Anonymous
@MatthewRoh That's probably not a wise move
 
2:01 PM
Yeah, but idc
 
I now know why bash for windows wasn't working for me
 
Anonymous
Welp. My internet has slowed down to dialup speeds for no discernable reason
 
@MatthewRoh It's not a good idea to turn them all on.
 
minGW's bash.exe was higher in my path than the Canonical one
 
I dont care
 
2:03 PM
@MatthewRoh It's definitely not a good idea to turn them all on
 
@MatthewRoh Stuff will break.
 
Woah
 
Anonymous
@wizzwizz4 Quit with your spam
 
features = love
 
Anonymous
(/s in case it wasn't clear)
 
2:05 PM
@Mego TIL Mego and Matthew Roh share an Internet connection, since as soon as Matthew turned on Windows features (which means Windows Update checks), Mego's connection speed dropped.
 
Anonymous
@AdmBorkBork I have a lot of questions if that's the case, because the only inhabitants of my apartment right now are me and my cat
 
Matthew Roh is a cat. QED. ;-)
 
how do we know this cat exists
 
The great thing about the internet is that nobody knows when you're a wolf
 
Or he is Mego's split personality
 
2:13 PM
@@ppcgmods Please check the IP addresses of Mego and Matthew Roh.
 
@AdmBorkBork Meow.
@Mego I accidentaly found the password of your router out
 
@wizzwizz4 I don't think mods should share information not available to regular users. Also, IP addresses are really private information that must never be misused or publicized to a broader audience IMO.
 
@MatthewRoh Ssh... Now you've revealed it for certain, your chance of getting stars from subtle references have gone.
@EriktheOutgolfer I said "check", not "disclose".
 
Anonymous
The joke

you
 
The instruction manual for the PII page actually says "do not disclose this information".
 
2:16 PM
@MitchSchwartz The cat exists and doesn't exist at the same time
 
Wait, mentioning a message without ping? HOW?
 
@EriktheOutgolfer I don't think mods have access to our IP addresses
 
Anonymous
@MatthewRoh I'm not actually sure
 
Anonymous
I guess the fact that it's a multiline message means the explicit ping was stripped out?
 
@Mego Fun fact: A quote also has this effect.
 
2:22 PM
@Mego I was pinged, but only a small arrow is visible.
 
0
A: Sandbox for Proposed Challenges

VoteToCloseConvert to polynomial base numbers code-golfparsingstringmathbase-conversion Background Base Representation Bases may be written with the following generalization (let concatenation just represent adjacency in digits; 10 = ab when a = 1, b = 0): abcdex = ax^4 + bx^3 + cx^2 + dx^1 + ex^0 E...

 
@EriktheOutgolfer wat? I wouldn't go so far as to say "really private". Any partner in an internet connection will have your ip and the only information it gives is about your isp and general location
 
2:38 PM
@Poke but you implicitly trust those people when you browse. You don't however have to trust the entire internet
 
Don't forget you can also run tracer-tee and see who else is connected to Google.
 
Huh... if I search "tracer-tee", Google tries to sell me some T-shirts
 
It turns out you can't ping yourself without editing. :-(
 
@JanDvorak I can totally reply to myself without editing
 
Can you reply to the message you are about to post?
 
2:42 PM
If you guess the ID
 
@JanDvorak It's a "hacker" video. Well worth the watch for the humor factor.
 
in Sandbox, 4 mins ago, by Kritixi Lithos
:35453490 Hi
 
@JanDvorak No.
How does one change the Powershell background colour?
 
right click frame -> properties
 
[console]::BackgroundColor = "black"
@JanDvorak Your way is better.
 
2:58 PM
Yours doesn't fully repaint until a clear, but it's more educative.
 
@JanDvorak Yours changes the default that ANSI ^[[m sets it to.
 

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