« first day (1779 days earlier)      last day (3047 days later) » 

5:03 PM
@MartinBüttner This works for me:
using System;
class P
{
    static void Main()
    {
        if(!Console.IsInputRedirected)
        {
            Console.WriteLine("No pipe.");
        }
        else
        {
            Console.WriteLine("Pipe.");
        }
    }
}
 
sweet!
I didn't know that existed
that means, I can answer on SO instead of asking :D ... (unless you want to: stackoverflow.com/questions/3961542/…)
 
Go ahead. That does work on Windows as well, yes?
 
yes
but it requires .NET 4.5
0
A: Checking Standard Input in C#

Martin BüttnerI've been using Pieter's solution for a while until I realised it doesn't work in Mono. Mono doesn't throw an exception when retrieving Console.KeyAvailable with piped input, so that approach doesn't help. However, as of .NET 4.5, Console actually provides a new field IsInputRedirected which mak...

 
@MartinBüttner Ugh, I don't know how common that is.
 
it's an esolang, so I don't care too much.
also 4.5 has been out for 3 years
@Dennis well there you go, release 0.7.1 :D
 
5:17 PM
@MartinBüttner 10/10 Reads from STDIN. retina.tryitonline.net/#code=Lg&input=YWJj
 
10/10 can write linefeeds into the string: retina.tryitonline.net/#code=XEIKwrY&input=YWJj
 
5/10 TIO could do that already. :P
 
uh what?
 
TIO piped the output from Retina to s/¶/\n/g, since there was no way to use multi-file mode.
Got rid of it now.
 
that file doesn't end in a newline
:o
 
5:28 PM
Trying to save disk space here.
 
oh okay
that makes sense
;)
 
I got sick and tired of accidentally submitting the wrong byte count here, so I configured my text editor not append a newline by default.
 
that makes sense
 
No it doesn't :P
 
For most languages, it doesn't matter anyway. Completely break tac though.
 
5:32 PM
@Dennis well, duh, 10/10 can write linefeeds without having to use non-ASCII characters: retina.tryitonline.net/#code=XEIKJG4&input=YWJj
 
Then again, why would anyone use tac on source code?
@MartinBüttner 7/10 Not very golfy.
 
turn your frown upside down
):
 
But definitely useful for restricted source, so 9.5/10.
 
0
Q: Most logical rectangle formula from numbers

AdnanIntroduction The task is simple. When given a number, output the most logical rectangle. To explain what a logical rectangle is, I provided some examples: Input: 24. All possible rectangles have the form A x B, (A and B are both positive integers). So, all possible rectangles for 24 are: 1 x...

 
6:12 PM
coi
Now that I'm free on break for a month, I'm trying to figure out how to spend my time.
 
From school?
 
yes
 
@PhiNotPi Make a magnificent programming language that outgolfs Dennis. Every. Single. Time.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ That's a double-edged sword. What if Dennis learns it?
 
@PhiNotPi Write in programming language he doesn't like and provide no docs?
 
6:15 PM
A very tall order.
 
Dennis must not like some programming languages...
 
This reminds me of the quote from Batman Begins about escalation.
 
I didn't feel like typing it here.
 
Yay! The first answer to my question!
It's in C...
I never would have expected that
 
6:19 PM
My question has no answers. Plenty of upvotes so maybe people are working on it
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I can't remember which side Dennis is on during the Perl Wars.
 
We all have unanswered questions :P
 
#im14andthisisdeep
 
#im15andimconfused
 
#im14andIdontusehashtagslikethisnormally
 
6:22 PM
It's the name of a subreddit.
 
well, there goes my strongest weapon
 
sighs
What other languages do you know?
 
English
2
TI-BASIC
 
@PhiNotPi That might be hard...
 
6:23 PM
Phi's Golfo Supreme
 
ooh ooh
I know latin
Hello world program: Salve, per omnia
 
And je connais francais
 
Try it on the online interpreter!
 
hola, mundo
 
6:24 PM
Salut, monde!
 
translate en: Salut, monde!
(from French) Hello, world!
translate jp: Hello, World!
erm
translate ja: Hello, World!
(from English) ハローワールド!
 
مرحبا بالعالم!
 
translate: مرحبا بالعالم!
(from Arabic) Hello world!
 
Hello Wêreld!
 
@Doorknob That's 14 characters, but 26 bytes...
 
6:27 PM
Hej Verden!
Filipino: Hello, world!
 
I should really get around to posting my international hello world challenge
 
^
 
I wonder if I should spend my winter break (re?)learning lojban.
 
Greetings, blackhat!
 
6:30 PM
Or maybe playing bullet chess. Or finishing a website.
 
Or doing magic
 
@PhiNotPi Oooh, wanna help me procrastinate on studying for exams by playing some 1+0 bullet? :P
 
@Doorknob okay
make it 1/2+0 whatever that's called?
 
heh, ProgramFOX implemented that
 
I'll lose every time
 
6:32 PM
I think they call it Hyperbullet or whatever
@PhiNotPi I dunno, I'm pretty good at losing. :P
 
I'll play bullet chess!
;D
 
(¾+0 this time)
 
...bullet chess? Is that like speed chess?
 
Indeed.
 
Yeah
 
6:38 PM
<3 minutes
Unintentional hearts...
 
@El'endiaStarman Bullet is 3 or less, and blitz is 5 or less, I think. According to lichess anyway
 
@PhiNotPi ... oops, accidentally closed the window
What I was going to say: I actually mentioned something like that in here once
(esolang based on chess moves)
Ended up deciding it would be way too hard though :P
Oct 29 at 2:59, by Doorknob
I was thinking of one that was based entirely on forced chess moves, but that would be hopelessly verbose even for an esolang
 
It might actually be pretty easy to implement. If there's 16 legal moves, the next move is 4 bits of the program
 
The program is an initial chess position with white to move?
 
6:44 PM
Oh, I was thinking starting at the normal position, each program is a game of chess.
 
Oh, so just in PGN notation?
... just realized that's actually Portable Game Notation notation -_-
 
I guess.
 
haha
ATM Machine
PIN number
 
EEERRGH
 
@BrainSteel ninja'd
haha
 
6:46 PM
hehe
 
Yeah, when you go to the automated teller machine machine, you put in your personal identification number number
 
Obviously not Turing complete, due to the 3-fold repetition rule.
 
@PhiNotPi 50-move rule too
 
But maybe it is if we get rid of that and the 50 move rule.
 
Toss out those rules.
It still isn't Turing complete if you don't have a way to store arbitrarily large integers.
 
6:48 PM
Maybe, say, a bishop move one square signifies "push a binary 0," a bishop move 2 squares means "push a 1," and 3 squares means "take all those digits and turn them into an integer
 
The scheme of converting legal moves to bits can work if we specify how those bits are interpreted.
 
So, one piece could be dedicated to pushing numbers, another to executing operators, etc.
 
But then that's not as "chess based" as Doorknob's suggestions above.
If we got the game down to just 2 kings fighting each other, the kings can wander around literally forever.
 
So the king could be an all-purpose piece, as a last resort. Up-right signifies "okay, the next moves will execute bishop-instructions," etc.
I suppose the fact that check exists could complicate things, though
 
It'd probably be a good idea to assign the most basic commands to kings.
Now that's an interesting thought. Programs that get longer the longer they go on...
Also, the board is finite.
 
6:54 PM
Yes, but that could be resolved by making symmetrical moves equivalent (ex. king moving right means the same thing as moving left for the initial move).
 
@PhiNotPi The 50 move and threefold repetition rules aren't obligatory; it's perfectly legal for neither player to claim the draw.
 
Oh yeah, that too.
Oooh! It would be interesting if the program had to terminate in either checkmate or a draw (draw offers not stemming from 3fold/50 move are forbidden).
 
Why did this
4
Q: Most logical rectangle formula from numbers

AdnanIntroduction The task is simple. When given a number, output the most logical rectangle. To explain what a logical rectangle is, I provided some examples: Input: 24. All possible rectangles have the form A x B, (A and B are both positive integers). So, all possible rectangles for 24 are: 1 x...

get marked as a duplicate by Community?
 
Because the OP hit the "I agree with the closure" button
 
@Doorknob Ah.
 
6:56 PM
308
Q: New UI encourages askers to confirm or dispute duplicate votes

Shog9As of the 9th of March, the banner shown to askers whose questions have attracted at least one duplicate close vote has a couple of new options: If the author clicks the first button, they're shown a confirmation that clarifies the results of this action somewhat: If they click "Ok", the qu...

 
By the way, i think the theoretical minimum for a reasonable Jelly-like language for that challenge is 4 bytes: divisors, lower-median, append to N/that
With lower median being two bytes.
I just realized there's no language with an array flood fill builtin yet.
 
You should make one. Now
 
By the way: Less than 5 hours 'till Winter Bash!
2
 
woot!
@ThomasKwa I'm planning that for PyAcidic.
 
7:16 PM
@ThomasKwa Array.prototype.fill in JavaScript
Anyone know a good wind algorithm?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What is that?
 
16
Q: The alphanumeric spiral

AdnanThe task is very simple, when given an input, output one of the following spirals: Input = 1 gives a spiral with the letter A beginning in the top left corner: A B C D E F T U V W X G S 5 6 7 Y H R 4 9 8 Z I Q 3 2 1 0 J P O N M L K Input = 2 gives a spiral with the letter A beginning in the t...

wind([A,B,C,...7,8,9]) = ^
 
Oh, I couldn't tell whether you were saying wind or wind.
 
@Doorknob when do i get to punch winter
i know some people named winter who i am 100% ready to bash
 
@PhiNotPi Oh, XD
"Hello? Yeah, I want some wind. In my code. To give it an extra 'cool' factor."
 
7:24 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Do Japt/TeaScript/ESMin have a 1-2 char of it?
 
@ThomasKwa Jolf does.
I think
nevermind
Check Japt, I'm sure it does.
 
Nope.
 
o-o
Is it for a current challenge?
 
adds it to Jolf
 
7:27 PM
But it would certainly be something useful to have.
 
OHH i figured it out
wind that rhymes with grind
i gotcha
 
@undergroundmonorail XD sorry for the confusion
@ThomasKwa Jolf
 
@undergroundmonorail Grind or grind?
 
@ThomasKwa i'm pretty sure one of those isn't a word
I hate English.
2
 
Grinned?
 
7:30 PM
you're correct that that's a word but you'll notice that there are two ns in it
 
"grin'd" is a word
 
Also an e, for reasons yet unknown.
 
2 mins ago, by undergroundmonorail
I hate English.
 
I'm sure at least one poet short on syllables has used it.
 
Ah, the ol' "O'er" trick.
 
7:31 PM
I have a theory that half of the English language was made by a guy with OCD who needed every word to end with an e
 
at least it's better than inserting "just" in places where it doesn't make sense when you're short a syllable
 
I can think of very few words offhand that end with e.
 
@Ampora probably doesn't appreciate it.
 
that gets on my nerves every time
 
@AlexA. CHEESE!
It's the important one, anyway.
 
7:33 PM
@BrainSteel What?
Oh
It ends in e
 
Here's a word that ends with E
 
nerve, syllable, time
 
have
 
I just put up an "explanation" for my BF answer here. I really need to stop seeing challenges and thinking "Oh, that looks like fun in BF."
 
7:33 PM
and those were said by you all in the last 2 minutes
 
Here's a sentence that ends in e.
 
Here's a paragraph that isn't a paragraph but may still end in e.
 
more
sure
shore
nerve
serve
swerve
curve
 
10/10
 
7/7
 
7:34 PM
gg m8 that's gr8 i r8 8/8
 
That darn revolver.
 
revolve
 
volvo pls nerf
 
Pre-solve.
 
PLEAASE
 
7:35 PM
@Cyoce s/A+/A/
 
Hoday I changed my name on Steam to "undergroundmonorail(2)" to confuse Rocket League players
 
> Hoday
 
Alex
I'll beat you up
 
Hoday
 
I'll beat you up too
 
7:36 PM
I think we've discovered a new day of the week.
 
> I'm just happy nothing's exploded yet.
 
@undergroundmonorail I'll suspend you for making threats. ;)
 
Hoday is an Englishinization of Latin's hodie, meaning today. try it on the online interpreter!
4
 
> Hey, that worked. Weird. Alright, moving on...
 
fight fight fight Ahem Let's be kind, now.
 
7:37 PM
@AlexA. (งಠ_ಠ)ง
4
 
@El'endiaStarman I didn't actually look at my notes before putting them there. But hey, they worked for me :P
 
@undergroundmonorail Ralph. I've never seen that before.
 
who is ralph
 
@Cyoce I don't trust your etymology
 
@undergroundmonorail rofl -> rolf -> Ralph
 
7:38 PM
this makes sense to me
 
Good
 
@Cyoce Calling Google Translate an online interpreter ಠ_ಠ
 
Ot?
 
Ot.
 
7:39 PM
OT OT OT
 
...
 
translate: ot
(from English) ot
Nice work, Bing
 
Overtime! Overtime! Overtime!
my favourite tf2 bug
 
So I may have dropped something on my keyboard
 
7:40 PM
"Timeout! Timeout! Timeout!".reverse()
 
And it typed "@BrainSteel Ot"? :P
 
tab autocompletes...
 
Still, pretty impressive.
 
@b\t evalutes to @BrainSteel
 
All of those keys are really far apart.
 
7:40 PM
I mean, Tab, O, and T are nowhere near each other.
 
B as well
 
I was attempting to reply to you
 
maybe they typed "@BrainSteel" and then stopped to take a bite of a delicious burrito
and dropped it
 
Maybe the burrito wasn't delicious
 
In other news, I typed "byte" by accident before I fixed it. What's happened to me
 
7:41 PM
@undergroundmonorail This is exactly what happened, except instead of a burrito it was a notebook and I wasn't eating it
 
@AlexA. what
 
@quartata Is this bug reproducible? Can you try dropping something new?
 
@undergroundmonorail Sometimes it happens
 
@quartata I appreciate your honesty but I'm going to continue assuming you were eating a burrito
 
@quartata I think you were eating the notebook.
 
7:42 PM
PPCG, where notebooks are burritos that you don't eat.
 
Oh sorry, The Notebook. The movie or the book, whichever.
@BrainSteel ParserError: Wtf
 
Like trash, notebooks can be quite tasty
 
0
Q: Check if a UUID is valid without using regexes

JojodmoGiven a string input, write a program that prints a truthy value to STDOUT or equivalent if the input is a valid UUID, without using regexes. A valid UUID is 32 hexadecimal digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 alphanu...

 
@Cyoce You should stop eating trash
 
15 hours ago, by Cyoce
@AlexA. sometimes it can be quite tasty
 
7:44 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Literal garbage should not be eaten
 
but what if cyoce is a goat
 
Nineteenth Byte, where dropped notebooks are considered breaking news
 
@AlexA. stops eating wait what?
:P
 
haha
@quartata Notebookdropgate
A scandal erupts
 
@quartata What was it you wanted to reply to me about in the first place? :D
 
7:45 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ AH-HA! You're @Downgoat's sock!!
 
@BrainSteel Ot, obviously.
 
@El'endiaStarman :O HOW DID YOU-- I mean, preposterous!
 
Also, @BrainSteel, did you know there's a reply button?
 
@AlexA. I believe once you mentioned that it bothered you that I didn't use the reply button. From that day, I have avoided the reply button at all costs.
6
 
@BrainSteel ಠ___ಠ
-5 points
 
7:47 PM
I'm down to 65 :(
 
You remember your points? o_O
 
Yes. They're on an index card on my desk.
 
Wow. +100 for dedication.
 
@BrainSteel I was going to make a joke about Google Translate being the preferred online interpreter for over 30 languages
But meh
 
@AlexA. HOORAY! Now I need to know what to spend all these points on.
 
7:48 PM
@quartata Pretty sure that's false. Bing is JIT compiled.
 
@AlexA. Bing sucks
 
@quartata I know
 
Granted, pretty much all online translators are trash because they use English as their intermediate language
 
@Cyoce I smell the birth of a meme.
 
7:49 PM
Memes smell pretty dank
 
@AlexA. dudududududududu
 
@BrainSteel Don't let your memes be memes?
 
@quartata Wtaf
 
You claim to be meme-educated
...
 
@AlexA. I don't know why you're confused. Clearly, dudududududududu.
 
7:50 PM
@quartata At no point have I claimed that. :P
@CᴏɴᴏʀO'Bʀɪᴇɴ a -> actual
 
Memude - Memestorm.
 
@quartata I had a formal meme-education, but I don't rememeber that any more
 
PhD in memology
 
@AlexA. Thank you, Alex-sama
 
rememeber and remember look so much alike.
 
7:51 PM
Master's in dankness
 
(hiss)
 
At my sister's wedding a long time ago my friend randomly grabbed a pepper shaker and started shaking it into my water and going "dududududu" to the tune of Sandstorm.
6
 
I want to frame that and hang it on my wall.
 
Haha
 
Well it's been framed on the nineteenth byte wall at least
4 stars and counting...
 
7:54 PM
We've had a challenge about power sets, right?
 
@Cyoce Until inevitably something else gets mega starred and pushes it off.
9
 
@quartata I imagine we have. What did you have in mind?
 
that post is getting stars
 
@BrainSteel Nothing in particular.
 
(so meta)
 
7:55 PM
@Cyoce nice try ;)
 
i feel like one day the SE people are going to get fed up and kick us out
4
 
If there wasn't a vanilla power sets challenge I would have made it
@undergroundmonorail How do you know that this hasn't already happened once?
 
emote keyboard activated
 
@Cyoce Stars work in mysterious ways. And they tend to show up when you talk about them.
4
 
@quartata the part before the .com in this page's url
 
7:56 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ “”«»▄︻̷̿┻̿═━一/̵͇̿/’̿’̿ ̿ ̿̿ ¯_(ツ)_/¯(╯°□°)╯︵ ┻━┻( ͡° ͜ʖ °)¯\_(ツ)_/¯○| ̄|_ヾ(_ _*)(;´༎ຶД༎ຶ)ಠ_ಠ(」゜ロ゜)」\\\\٩(๑^´๑)۶////^̮^ಠ╭╮ಠ
5
 
wha
 
t
 
Just when I think I've got an understanding of things...
 
Oct 20 at 3:38, by quartata
I have observed that the more "meta" a chat post is the more stars it will get.
@undergroundmonorail Maybe we had to beg forgiveness for them to make us an SE site again.
Maybe... we had to agree to something
Something like
...the creation of Hexagony.
 
Stars flying fast in the PPCG-dome...
2
 
7:57 PM
@quartata NOOOOOOOOOOO
 
We didn't WANT to make Hexagony.
They made us.
 
@MartinBüttner can you confirm/deny
 
PPCG: Beyond Thunderdome
 
@undergroundmonorail He won't tell you. He was the ambassador in the deal.
 
@MartinBüttner i like your scarf
 
7:58 PM
@undergroundmonorail Who doesn't
 
that's a great point
 
I really like scarves in general.
 
@AlexA. I like your... bird...
 
Do you like my platypus?
 
Martin's is especially cool. Please don't kick ban me for revealing the truth about Hexagony please
 
7:59 PM
(º)<
 
@BrainSteel ( ͡° ͜ʖ ͡°)
 
@AlexA. Just wrong
 
@AlexA. At least it's not a rooster.
 

« first day (1779 days earlier)      last day (3047 days later) »