« first day (2099 days earlier)      last day (2760 days later) » 

10:01 AM
That only works on one line?
I'm wanting multiline outputs
a\na\rb shows a\nb?
 
yep
 
I want multiline overwrite
 
\o/ I finally solved the aquaponics problem in SHENZHEN I/O
@DestructibleWatermelon Then ANSI codes
In computing, ANSI escape codes (or escape sequences) are a method using in-band signaling to control the formatting, color, and other output options on video text terminals. To encode this formatting information, certain sequences of bytes are embedded into the text, which the terminal looks for and interprets as commands, not as character codes. ANSI codes were introduced in the 1970s and became widespread in the minicomputer/mainframe market by the early 1980s. They were used by the nascent bulletin board system market to offer improved displays compared to earlier systems lacking cursor movement...
 
k thanks
how... how do I use ANSI?
 
Every ANSI codes starts with <ESC>[
(\x1b, \033 or \e in most languages is <ESC>)
 
10:14 AM
WTH is SHENZHEN I/O
 
0
A: Sandbox for Proposed Challenges

LembikHow fast (slow) is your language? This is a question both to test your coding skills but also to speed benchmark your favorite language. The code snippet will make a table of the fastest code per language. It is related to previous fastest-code [challenge]1 so you may find some of the code ther...

 
@TuxCopter Did you buy it?
 
Yes
 
10:15 AM
> Do what you can and can what you do
- Me, 2016
 
ohhhhhh
Now I understand
 
A microSD RAID 0 to SATA adapter. It had to happen sooner or later.
 
@mınxomaτ Haha
 
Is static that thing in C where the variable stays the same between function calls?
 
Yep
 
10:26 AM
wait, to go up one with ANSI, you need to go up two?
hi @xnor
 
Welcome to spaghettiland
 
is there anyway to detect key presses on terminal?
 
By setting the terminal in nobuffering mode
 
@DestructibleWatermelon Alternatively, getc().
 
I'm using python...
probably should have mentioned lol
@TuxCopter how...
 
10:38 AM
getc is buffered
It wait for a newline
@DestructibleWatermelon stty magic AFAIK
I can't help you on this one
 
\o/ I finally won a game of solitaire
 
no you didn't
RNG won a game
 
Yes I did
 
10:45 AM
That looks like a good game. A chessboard...on a domino!
 
hooray
someone made a python function to get keypresses
BUT ITS PYTHON 2
NOOOOOOOO
 
@DestructibleWatermelon code.activestate.com/recipes/…
2
brb
 
Also now my terminal is in a loop
Hooray
You did it tux
time to start making this crap game I was going to make
 
@DestructibleWatermelon I'm sure it's not that bad, if you're investing valuable golfing time into it...
Unrelated, but I keep getting HNQs and I don't know why.
 
also I just realised that perhaps getch should have an allowance for ctrl c
also what is the ord value of ctrl c?
 
10:57 AM
@DestructibleWatermelon catch KeyboardInterrupt:?
 
wait
@wizzwizz4 ... what
at the moment the loop is unkillable
but for closing the terminal with the mouse or similar
 
Can Ctrl-Break kill it?
Actually, I don't know if that does anything in Linux.
 
i'm using mac
also I wouldn't know where to put catch
 
@feersum You mean GNU, right? Because Linux is the kernel, and I don't think that handles Ctrl-Break. </pedant>
 
Mac? Far enough.
 
11:01 AM
I was just going to hard code ctrl c ending the loop
also I realised ctrl c has the code point of ç apparently
wait nvm I was pressing wrong key
 
@DestructibleWatermelon I thought Ctrl unset that bit, not set it.
@DestructibleWatermelon Were you pressing the Meta key (M-c)?
 
what is the ord of ctrl c please
@wizzwizz4 accidentally, yeah
 
@DestructibleWatermelon What is the ord of c?
Nvr mind, brb. Getting it.
 
@DestructibleWatermelon 0x03, ETX
Assuming ^G is BEL, which I'm pretty sure of.
 
11:04 AM
bck
@DestructibleWatermelon CP437 hearth
brb
@DestructibleWatermelon \x03
I think
 
also up key registers as three chars
 
@TuxCopter I think so too.
@DestructibleWatermelon It sends through the ANSI code for up.
 
@DestructibleWatermelon ANSI code for up dammit
 
hmmm, would be nice if there was some way to make it register into one thing
 
Took me about 15 months from first sight of it to know what it meant, but I wasn't searching for it.
@DestructibleWatermelon There is, but it's quite layout-specific and (almost) definitely OS-specific.
 
11:06 AM
@DestructibleWatermelon Check for escape character and read until you have the entire code
 
ok
I don't know ANSI parsing rules though ;_;
 
AFAIK there is some thing to know if there is unread input in the buffer
 
@DestructibleWatermelon !wiki ANSI Code
 
Read until the buffer is empty
 
@TuxCopter thanks
I'll ask later
 
11:08 AM
In computing, ANSI escape codes (or escape sequences) are a method using in-band signaling to control the formatting, color, and other output options on video text terminals. To encode this formatting information, certain sequences of bytes are embedded into the text, which the terminal looks for and interprets as commands, not as character codes. ANSI codes were introduced in the 1970s and became widespread in the minicomputer/mainframe market by the early 1980s. They were used by the nascent bulletin board system market to offer improved displays compared to earlier systems lacking cursor movement...
This article has the rules.
 
@wizzwizz4 Extreme ninja
1 hour ago, by TuxCopter
In computing, ANSI escape codes (or escape sequences) are a method using in-band signaling to control the formatting, color, and other output options on video text terminals. To encode this formatting information, certain sequences of bytes are embedded into the text, which the terminal looks for and interprets as commands, not as character codes. ANSI codes were introduced in the 1970s and became widespread in the minicomputer/mainframe market by the early 1980s. They were used by the nascent bulletin board system market to offer improved displays compared to earlier systems lacking cursor movement...
 
How to read until buffer empty?
 
@TuxCopter return eval('/replyto "Luke, I am your father"');
@DestructibleWatermelon Keep reading until your program hangs?
 
@DestructibleWatermelon There is probably a function in sys.stdin
 
11:10 AM
method*
 
also I thought that writing on a line already written on overwrote what was there
oh wait, nevermind
wasn't the issue
 
ESC[A is up, ESC[B is down, ESC[C is right, ESC[D is left. Sometimes there's a 1 between the [ and the letter, could be another (larger) number if key held down for long time.
 
11:26 AM
I think the main thing is reading to end of buffer
I find it kind of weird that the icon for ELU is a latin word
 
ELU?
 
Ah
 
Still annoyed about the PPCG banner: Actually, that looks nicer than I expected...
 
@DestructibleWatermelon sys.stdin.read()
 
11:40 AM
kk
 
In 3 days I will lose all privileges I don't use ;_;
2
 
I know how you feel...
 
@Qwerp-Derp Creates child scopes, when it goes out of scope variables created in the child scope won't be accessible anymore
 
12:01 PM
@TuxCopter I use some of them; I used to be a review queue junkie until Retrocomputing.
 
12:19 PM
@ΛεγίωνΜάμμαλϠΟΗʹ Is that official?
 
@flawr Yes. :-)
14
Q: How much more reputation do I need?

wizzwizz4Programming Puzzles and Code Golf has graduated from beta. Soon we will get a custom site design, and with that the reputation boundaries for privileges will go up. A lot of users will lose privileges on the site. So your task is to write a program that tells us how much extra reputation we'll ne...

 
@wizzwizz4 I saw nothing on meta, is there any other "official" information about this?
 
@flawr ... Erm... Would now be a good time to admit that I'm not actually sure?
It's been going around for ~1w that the site design is coming on the first of November.
 
It's been going around for a lot longer than that.
 
12:27 PM
But there are no official statements about this??
 
Behold... the future of music in SHENZHEN I/O! https://www.youtube.com/watch?v=DNXxHCwqXF8
WOW
 
42
A: The Many Memes of PPCG

Alex A.Meme: Graduation Originator: Geobits Cultural Height: Sept. 26, 2014–Feb. 23, 2016 Background: Geobits, a known and "loved" user, tried to convince people that PPCG is set to graduate during PPCG's beta. An often used date is November 1st.

 
RIP
 
So, we're not actually getting a site design on November 1st?
...
 
Yay I can keep my privileges
 
@wizzwizz4 literally every reference you've seen to any particular date (October 1st, 15th, December 1st, January 1st, you name it), has been an instance of that meme.
4
 
@PhiNotPi ... :-(
But I just edited my question...
 
It's true. Time doesn't exist; it's just a rumor started by Geobits.
12
 
Almost posted a challenge on meta... :-S
 
12:51 PM
Did you guys actually think we were getting our design on November 1st or was that all just a joke?
 
@quartata I actually thought that we were.
 
^ :/
 
Looks like we need to do more meme education in public schools
Geobits has been doing this for years
 
@quartata Only public schools?
 
@ASCII-only Well we can't tell them what to do
Whereas with public schools we can just make it rain taxpayer money and they'll do whatever
Anyone here know either Haskell or OCaml?
 
1:00 PM
I know a fair bit of Haskell
 
Some basic of OCaml (and a lot of the implementation of its virtual machine ^^) here
 
All right the two of you combined might be able to help me decide. In the past I haven't really tried to learn more than the basics of either ecause the horror stories of their type systems was somewhat off-putting
 
Haskell has way more type horror.
It has Nomads.
 
/me faints
 
So I was trying to decide which to try first so that I can laugh at how shitty it is compared to Erlang
 
1:04 PM
@quartata Haskell's type system has been created by satan
Really
 
Huhu! I would recommand haskell over OCaml, I think you'll have more fun with it
 
Haskell's type system is the best thing since sliced bread.
 
@Zgarb I was waiting for you to chime in :P
 
Mathematicians always like Haskell ;)
In either one you have the type signatures like a -> b-> c which can look confusing at first, but it's simple once you understand currying and know that -> is right-associative.
 
2 votes for OCaml and 2 votes for Haskell. Haskell it is since I know a lot more about it than OCaml
 
1:07 PM
@quartata I feel like with OCaml there is usually one "right" way to do something, and you don't have a lot of options. Whereas with haskell you've got more freedom...
 
0
A: Sandbox for Proposed Challenges

Flp.TkcDraw me a Brick Wall! I'm drawing up a plan for my house extension - and I need a simple graphic for walls... The Challenge Your task is to create a program, which takes an input of the wall's dimensions and draws a brick wall, in the style of the one below. [__][__][__][__] _][__][__][__][_ ...

 
@NewSandboxedPosts I'm fairly sure this is a dupe
 
So I need to test my Seed answer generator... but I'm recoiling in horror at the thought of trying to find a working Befunge-98 interpreter.
 
Of course.
The Befunge-98 spec is 10 times longer.
 
1:12 PM
o_O
 
Befunge 93 and 98 are totally different.
 
anyone who appreciates java online?
 
I tought the only thing added in befuge 98 is the infinite board
And some instructions
 
There is a crapton of ridiculous nonsense added.
 
link to the spec plz
 
1:14 PM
 
@feersum Did you try any of the interpreters listed at the bottom of the esolangs article?
 
No I haven't yet.
Going through each one and trying to find smoething that can run is what I'm recoiling at.
 
Well when in doubt pick one written in Python or Perl first
 
I'm so proud of this room right now. There's nothing quite like waking up and seeing that the recent conversation was about graduation/design timing.
 
1:17 PM
@TuxCopter Please rotate that image sizeways so that it does not take up so much space.
@Geobits WHY DID YOU TRICK US!
 
@Geobits Folk are so gullible these days huh
 
Who said it's a trick?
 
I was so happy when I saw that we would get a site design in 1st November! :-(
@Geobits Wait, it's a non-trick? :-D
 
It was never intended to be a trick, no.
 
> the stack refers to the topmost stack on the stack stack
 
1:18 PM
er I mean yeah who told you that we're not
 
Way too many stack in this sentence
 
@Geobits ever hear of widening and narrowing primitive conversion in java?
 
@Poke like from long <-> int or double <-> float?
 
like from byte to char
 
So we are getting a site design? for(;;)printf(":-D")
 
1:19 PM
@wizzwizz4 Yes. We are most certainly getting a site design.
@Poke Sure, what about it?
 
/me is happy!
 
Just thought you might have found it interesting. System.out.println((int) (char) (byte) -1); prints 65535
 
@Geobits I see what you did there
 
@Poke Undefined behaviour! Wait, that's Java, it might be defined.
 
Yeah... char in particular is stupid in Java.
 
1:20 PM
@wizzwizz4 It's welldefined in java
 
@Poke and people say JS has weird type casting ...
 
haha
 
@Poke Still better than Haskell :P
 
They decided to get rid of unsigned types to make things simpler, but then went and messed it up with char.
@quartata Who, me?
 
@Downgoat The difference is that you don't have to try very hard in JS
@Geobits Yes you you little loopholer
 
1:22 PM
Well, it was a direct answer to the question asked...
 
True...
 
Ask better questions, get better* answers.
> * for some definition of better
 
@Geobits ... Are we getting a custom site design on November 1st 2016AD?
 
@wizzwizz4 I can only report what I've heard from fairly reliable sources. And that's the date I've heard most often.
 
@wizzwizz4 Yes. In fact we already have a custom design
 
1:24 PM
I don't work for SE or anything.
 
That's it. I'm asking a CM directly.
 
@wizzwizz4 Well, they did take off the "Beta" from the name. That counts, right?
 
/me storms off
 
@Geobits can you tell me what's underneath the truck by stackoverflow pls
 
Not much. Road, a manhole cover... that's about it.
I mean, how would I know? I don't work for them >_>
 
1:25 PM
how many tims do I have to beat jon skeet to get mew pls
@Geobits No but your uncle works there right
 
You should be getting a Mew for each defeat. Now if you want a shiny Mew, that's a different story.
@quartata I can neither confirm nor deny that.
 
@wizzwizz4 In our defense the wording of your question was still ambiguous. Custom design could have meant the userscript
 
In my defense I've heard November from a very wide variety of sources: chat.stackexchange.com/search?room=240&q=november
 
@quartata I am sorry, but I am not here right now. Please leave a message after the tone: NULNULNULNULDELDELDELDELNULNULNULNULDELDELDELDELNULNULNULNULDELDELDELDEL
 
@xnor I put it in a comment yesterday. Good enough.
 
1:30 PM
Not-so-random chat quote of the day:
May 11 at 23:26, by El'endia Starman
November is six months from now. SE graphics designers don't take that long.
 
@wizzwizz4 Lol! The reality is that the actual site design will arrive in 6-8 weeks.
 
In six to eight weeks it will still be November.
 
No it won't...
 
November never ends
 
There are gonna be some hairy dudes if they never shave.
 
1:32 PM
I just had a conversation with my manager using only memes
like... links to pictures
 
@Poke Did he end it with "you're fired!"
 
My manager might be too old to know what one is
 
I just got to work :P
 
@mbomb007 Nope. It ended with cdn.meme.am/instances/55318771.jpg
 
1:33 PM
To which I had to concede because i have no idea how he found that
 
@Geobits Must be a Monday
@Poke Probably using Google images
 
Probably but it was oddly specific
and i cracked up
 
3
Q: Generate a modulo rosace

SteeveDrozThe cool stuff The following rosace can help calculate numbers modulo 7. In order to do that, you must start at 0 and turn clockwise a number of steps given by the first digit. Then, for each successive digit, follow the arrow and then turn clockwise the number of steps given by that digit. He...

 
> The goal: Figure out how that works (I know but I won't tell you).
This actually seems like an interesting challenge (and no alphabets, yay!), but I just don't want to deal with graphical output today.
 
@Geobits I can just link a wiki entry and get upvotes?
 
1:37 PM
English, 5 bytes -- Magic
4
 
Fine, have a star :P
 
Omnomnomnom
 
Official "no" from JNat! We are not getting a custom site design on November 1st. :-(
 
I'd say the same if I wanted to surprise someone with a gift o_O
 
Nothing ever happens around here, it's pretty much a given
 
1:39 PM
@wizzwizz4 To be clear, I had no idea anyone was even taking the November talk seriously any more. It's been a running joke here for a very long time.
 
Too many people looking at codepages to craft the next Jelly answer ;)
 
42
A: The Many Memes of PPCG

Alex A.Meme: Graduation Originator: Geobits Cultural Height: Sept. 26, 2014–Feb. 23, 2016 Background: Geobits, a known and "loved" user, tried to convince people that PPCG is set to graduate during PPCG's beta. An often used date is November 1st.

 
Besides, everyone knows we won't be getting the design until February.
3
 
@Geobits Somewhat difficult for new people to tell, though. :P
 
I still liked the idea of them gradually changing the background color on a daily basis.
 
1:42 PM
@El'endiaStarman Maybe. That's gotta be the most linked meme answer in the chat room though. This happens every couple of months it seems.
 
@NewMainPosts This would be a good time to remember the modulus material from my Alg class..
 
@TimmyD I know, right? It would be the p]erfect way to do it.
Gah. Stupid fingers. I'll let that one go to not ping a third time >_>
 
He comes.
2
 
What is happening here?
 
@Shebang The challenge is though
So it's a lot harder than just outputting a list of mappings
 
1:57 PM
@Zalgo Meme classes are in session.
 
Oh, ok
 

« first day (2099 days earlier)      last day (2760 days later) »