« first day (2137 days earlier)      last day (2722 days later) » 

9:07 PM
0
A: GO OUT AND VOTE

aleksusklimYesterday (two days ago, actually…) was December 4th, 2016, Election Day1 in the Republic of Uzbekistan. Since I am an Uzbekistan citizen eligible to vote, then I went out and voted before answering this challenge. Than I returned home and wrote this absolutely regular C code, that has nothing ...

Not sure if +1 because impressive or -1 because not golfed
 
Dang, that's crazy.
 
@DJMcMayhem well it got my +1
 
@TimmyD BTW, brain-flak is shorter than PowerShell. :P
 
I might bounty that, even.
 
just a warning (if you want to be quick in answering): I'm gonna post this challenge in a few minutes live on main. I'll stay here to be available if required.
 
9:13 PM
That's not really golfed and all that great, but well, it's still crazy, and it might earn pccg another user :)
 
@DJMcMayhem +1, it's a polyglot and looks pretty golfed for one
 
Yeah, but the challenge is not to write a polyglot
 
Well, it's indeed CG (so shortest byte wins), but if we consider it non-competing, it's neat.
 
Depends on whether we want answerers to make up their own rules and just answer whatever.
 
@DJMcMayhem brainbork
 
9:16 PM
I could bullshit long funny answers to lots of things.
 
This answer is too good
 
I can't english atm. Too sleepy. Actually, good night folks, will try to sleep.
 
hey @SEJPM, what brings you here?
@arda night!
 
Night :)
 
@Geobits If they're funny enough I might upvote them
 
9:16 PM
@arda gl hf
 
@arda wait shit isn't it 12 AM in turkey
 
@Poke I didn't mean it as a good thing :/
 
yup, i know
 
Question: Is there a non-blocking equivalent of Console.ReadKey in C#?
 
but you can't control the voters
 
9:17 PM
I did that once on Puzzling and it's now my most upvoted network post. To my shame.
 
@EᴀsᴛᴇʀʟʏIʀᴋ a bit of inactivity in other places and wanting to be able to quickly reacted if needed
 
@EᴀsᴛᴇʀʟʏIʀᴋ yeah, but I had a 3 hour friggin exam today, and I'm sleepy.
 
Whether or not it's upvoted doesn't change if it's valid or not
5
 
@TuxCopter lmk if you find a way, that'd help me a lot.
 
@arda rip
night tho
@SEJPM hm, cool
 
9:18 PM
@DJMcMayhem It completes the challenge criteria...
seems valid to me
 
Which is why I'm torn. If you ignore the polyglotness of it, its clearly ungolfed
 
@Poke if it's not golfed it's not valid
 
It's a golfed polyglot
 
It's a pretty dang golfed polyglot
 
9:19 PM
But it's not supposed to be a polyglot
 
If someone isn't trying to to win a code golf, that's find by me, as long as the answer is creative.
 
I don't feel well :C
 
To be valid, an answer must:

Use the colors specified in the arrangement specified.

Have just the phrase I Voted on a single line, capitalized correctly, with a clear space between the two words. It shouldn't look like IVoted.
 
and be golfed, per meta
 
If you're not going to directly compare Java and Jelly bytecounts then why would you compare C vs (C+Delphi+...)
 
9:20 PM
It says right in the question why it isn't valid. No need for meta at all here until/unless those are fixed.
 
@Geobits So, to clarify, your argument is that the polyglotted part doesn't satisfy the criteria
I'd accept that
 
There are thousands of characters long answers on site (I remember a brainfuck interpreter in whitespace, or was it ooocode?), just for sake of creativity sometimes. They aren't a problem, but this is?
 
@Poke it's not C+ Delphi, since it is only a valid answer in C
 
@Poke I think it's the uzbek language translation of the phrase he means
 
@EᴀsᴛᴇʀʟʏIʀᴋ yeah
 
9:21 PM
Im back on TNB to say 2 things:
why no redesign
and ill be gone again until I'm not busy
 
Alright I see what you're all saying
 
It doesn't use the colors, the same letters, the single line req, etc. It's an answer to a totally different challenge.
 
@arda it's not about length, but about whether it's golfed or not. You can golf very verbose languages
 
so if it actually said "I Voted" in all of them, you wouldn't have the same thoughts?
 
@Downgoat Saw this and thought of you i.imgur.com/ebV1tCa.gifv
 
9:22 PM
I haven't looked closely at the rest, but that's the minimum change I'd consider, yes.
 
@DJMcMayhem It's a well golfed polyglot, though can't say the same if we were to ignore it being a polyglot.
 
gotcha
 
@StevenH. animal abuse eleven 11!!!!!11!!!1111!!1
 
The price we pay for falling-down goats
 
I'm really not sure what should be done with it, which is why I shared it in here
33
A: Definitive policy about answers not meeting the challenge specification

DennisScope As I see it, there are five types of invalid answers: Answers that produce incorrect results. This is the most common type, and usually an accident. Answers that produce correct results, but break a rule of the challenge, ignore parts of the spec or violate a loophole. For example, ans...

 
9:25 PM
Since the polyglotted part is invalid per the winning criteria I would say that only the C part is valid which makes the answer poorly golfed
and not valid as a whole
 
This is a 3
 
ah
 
Still, this is a very good answer from a new user
 
Which is why I don't want it to be invalid.
 
> Give the poster time to fix or self-delete his invalid answer of type 1 to 3
hmm, maybe SE should allow locking voting on specific answers
no idea how that'd be useful other than here, though
 
9:27 PM
It's possible to lock an answer
 
well we could just do that, then
ggez
 
There's no way for mortals to delete anyway, unless the vote changes directions. I've flagged so a mod can decide what to do with it.
 
It will most definitively be Nuked™
24
Q: Arithmetic bitwise shift right "a shr b" with signed integers that stored in variables – wrong results! Internal Delphi’s bug?

aleksusklimI have a question (or more likely a bug report) about bit shifting behavior in Delphi (tested in Borland Delphi 7). Target: perform an "Arithmetic" bitwise shift right with any number. This means that sign-bit must be extended – binary number will be filled from the left with 1 instead of 0 if ...

o_O
 
we can all gang up on them and downvote them to oblivion just so us mortals can delete it
 
Nuking it seems like the very wrong way to welcome a new member to the community, especially someone who put in this much effort on a first post.
2
 
9:29 PM
First SO post of the same user
 
1
Q: Count the reviews!

SEJPMIntroduction and Credit Imagine you're Amazon. Imagine you have a large number of products for which a lot of people have written reviews scoring 1-5 stars. Now you need to give your customers a summary for each product based on the simple product-scoring association. Because you're Amazon, time...

 
This is just my opinion. but if it isn't attempting to be golfed at all, since it's a question I don't think it should be considered valid, regardless if it is a first post or not. The point of that tag is to golf your code as much as possible, if you aren't doing that doesn't it just invalidate the entire answer?
 
@TimmyD But it's the right way according to the rules of the site sadly :/
 
Nov 22 at 18:56, by DrMcMoylex
> "Four downvotes for the Mod-kings under the userpage,
Seven for the challenge-writers in their halls of stone,
Nine for Mortal users, doomed to use Java,
One for the Dark Geobits on his dark throne
In the Land of PPCG, where the golfers lie.
One downvote to rule them all, One downvote to find them,
One downvote to bring them all and in the darkness bind them
In the Land of PPCG, where the golfers lie."
 
9:31 PM
pshaw! "doomed to use java"
 
ok this ad really is me
 
@TimmyD Yep, I agree. But allowing it just means we'll get more answers that don't meet spec in the least. Because people are going to upvote it based on coolness alone.
 
@Poke yeah, some of us use C# too!
 
though I don't know any language that wouldn't throw a syntax error on like 39
 
I'm going to stay out of the comments there though, because my comments on things like this tend to start long chains with no resolution and hurt feelings >_>
 
9:33 PM
@Geobits This is my thought as well. Someone else new may see this and answer another challenge in a similar manner, kinda goes against the CG in PPCG.
 
Polyglot Programs Concern Geobits.
5
 
I think that it fits the criteria, at least for the "I voted" one, but not the uzbek one, though if we're going to ignore the polyglot bit, I think that it should be technically able to survive as a non-competing answer.
 
non-compete is generally reserved for challenges that predate the language
 
error CS1501: No overload for method `IndexOf' takes `1' arguments
wat?
 
@TuxCopter you broke it
 
9:36 PM
I don't want to "ignore the polyglot" though. 80% of the answer is something completely different. If it were the other way around (a competing, valid answer with a snippet or short piece to show something off), it wouldn't be so bad.
 
Oh wait it's Array.IndexOf(l, e) not l.IndexOf(e)
 
On an side note, distributing the rar files via PNG format on imgur is kinda ingenious.
 
Yep, just noticed that bit
 
context?
 
5
A: GO OUT AND VOTE

aleksusklimYesterday (two days ago, actually…) was December 4th, 2016, Election Day in the Republic of Uzbekistan. Since I am an Uzbekistan citizen eligible to vote, then I went out and voted before answering this challenge. Than I returned home and wrote this absolutely regular C code, that has nothing s...

Look at the end
 
9:41 PM
oh
whoops
hmm i like it but i don't
possibly more info to come
 
Look folks, I'm really sleepy and am pretty much going to regret what I say, but well, we are mostly here is going to have fun and improve our ability to write (shorter) code, at least that's what I'm here for (sorry for speaking generally, btw). That was pretty much what that user did, in a very nice way, imo, but as most of the cool parts of answer isn't needed, it is technically a bad answer, and it probably is going to probably be nuked. One of the best thing about SE is, we set the rules, through meta. I know that there is currently a stance on these kind of answers, and while the end
5
 
@EᴀsᴛᴇʀʟʏIʀᴋ I don't get it.
 
@arda Good night
 
lol at Sandbox for getting the badge.
2
 
-1
Q: Display a Digital Clock

redstarcoderDisplay a Digital Clock (I see there are many clock challenges, I have tried to read them all, I'm pretty sure this is unique) Write some code that continuously updates a digital clock displayed in the format h:m:s where h, m, and s can occupy 1 or 2 characters each. Newlines are not allowed ...

 
9:56 PM
Can anyone link the page on PPCG, which states that unnamed lambdas are allowed as submissions?
 
@NewMainPosts @TimmyD Regarding your recent comment on this challenge, that's why they're asking for the program; didn't know how long it had been since he posted it ;)
 
Hah.
 
Nvm. Found it.
 
Ooof. Java is beating my PowerShell answer on the binary conversion challenge.
2
 
Anonymous
10:38 PM
@TimmyD For shame
 
@EᴀsᴛᴇʀʟʏIʀᴋ @TimmyD Seriously, why are you encouraging users that post stuff like this? It just means the poster will be in for a surprise when the post gets deleted and he loses the rep from the upvotes.
7
 
Question: Why are there 6 human teeth on this desk I'm working on?
 
Anonymous
It's a neat solution, but it's not a serious contender, so it's going to be deleted
 
@ΛεγίωνΜάμμαλϠΟΗʹ Are the teeth still on your skull?
 
just a question: would codegolf.stackexchange.com/q/102243/55329 be more attractive if you had a list of items to iterate over instead of first finding all the distinct items?
(I won't change the challenge)
 
10:46 PM
@flawr Nah, just sitting there on this desk
Wait, there's a seventh one as well
No, 8
There are 8 teeth on this desk :P
 
@arda I didn't realize you were ardaozkal on main nor did I look at the transcript (my bad), so my post above is directed at you as well. However interesting the answer may be, it is without a shadow of a doubt invalid, and this kind of answer isn't and shouldn't be welcome on PPCG.
 
Anonymous
This is a programming competition site, not a blog
 
Not sure why I'm getting so many chat flags from EL&U
 
@Dennis sorry, probably should have considered that it was invalid.
 
10:56 PM
Some mildly biased(?) claims, but nothing offensive
 
Why am I so useless at writing useful code that isn’t golf/eso ;◡;
Can I just put Jelly on my resume?
 
Yes. Even better: put an example of jelly on your resume
@Lynn Hey, since you're in here, and one of the few other vim-golfers I know, you should answer this anarchy golf. I thought it was very fun
 
@Lynn compress your username with jelly string compression
 
@EᴀsᴛᴇʀʟʏIʀᴋ iI've probably already posted that here :P
though -100 for calling goat wimpy :(
@Dennis eveb more reason to have PPC blog :D
 
11:11 PM
@DJMcMayhem how do I run a regex on a register and save to another register?
(i'm trying the anarchy golf)
 
@Maltysen Ooh. Uhm... I'm not sure if that's possible or not, but if it is it will be really really long
 
oh ok then
 
Probably :let @a=substitute(@b,"regex") or something like that
 
another question, is possible to paste lines after each other?
esentially transpose, paste, transpose?
 
I'm not sure if I get what you mean
 
11:16 PM
wait nvm, I think I have another way
 
@Maltysen paste what?
 
@Downgoat clipboard or register
 
Nvm, if dr ham jam dont know then i probably dont
 
@DJMcMayhem transpose buffer is impossible I assume?
 
@Maltysen ok this is y
 
11:20 PM
@Downgoat i didn't
but goat did show he isn't wimpy :p
 
for specific register is "<register> first
 
Transpose as in rotate? Yeah, there's no short way
 
@EᴀsᴛᴇʀʟʏIʀᴋ :D
 
@Downgoat no, but paste lines together?
 
@Maltysen together?
 
11:20 PM
Join?
 
@flawr TL;DR: giant comment chain I found that dates back 5 years
 
meaning remove all newline?
 
each linking to the previous in the chain
 
@Downgoat like a\nb\c + 1\n2\n3 = a1\nb2\c3
 
I spent 2.5 hours clicking through the whole thing
 
11:21 PM
@Maltysen ah ok
use <c-v> and then do j until you do applicable lines, then p
 
@DJMcMayhem how I pass parameter for recursive macro?
 
What do you mean?
Like starting the recursive macro?
 
but can I pass it a parameter?
 
Macros don't take parameters. They'll take a count though
 
how?
 
11:28 PM
3@q
 
but in the macro how do I access it?
 
Oh, you can't
 
oh ok
 
You can :let @a="whatever" though
 
I see...
 
11:32 PM
Now I'm all curious what approach you're taking
 
i'm not really sure either :P
I tried a few things and none of them seemed to work
i'm thinking just explicitly defining 4 macros for each level
 
Now that I think about it, I'm pretty sure I know what you were asking about earlier
Are you familiar with visual block mode?
 
no
hmmm looks interesting
 
Yeah, it's really useful on this one
 
@DJMcMayhem oh perfect!
 
11:40 PM
Glad I could help. Is that what you were looking for?
 
yep
 
Nice. FWIW, my very first solution was 70 keystrokes, haha
 
@DJMcMayhem how to move to first char of file, including whitespace?
or do I have to gg<home>
 
I actually just learned how to do that.
I used to do gg0, but you can also use go
 
k thanks
 
11:44 PM
@Maltysen actually, in this case you can probably do {
 
oh
wow
 
Hey, that's another byte I can take off, I forgot about that
36 now!
 
@DJMcMayhem wait does using registers for visual block mode not work as normal?
ctrl-V G "ay then trying to paste my normal clipboard doesn't work
 
No, it should. I had some issues with registers too though
Oh, yeah that's normal
I read a great description of why that is, idk if I can find it again
 
any program can be written in four keystrokes
ctrl + c, ctrl + v
2
 
11:47 PM
@DJMcMayhem so do I have to use two named registers?
 
I don't in my solution, but you might need to in this case
 
k then
 
The basic idea is that the unnamed register doesn't actually exist. It's just a link to your last used register, in this case "a
So "aYp is equivalent to "aY"ap
 
@DJMcMayhem what about end of the file?
I almost have a strategy btw
doing ctrl-end adds an extra space
oh ok
 
11:59 PM
Either G$ or }
 
got it
 
I hate how editing resends the message on mobile
 

« first day (2137 days earlier)      last day (2722 days later) »