« first day (2230 days earlier)      last day (2599 days later) » 

6:00 PM
I'm very busy until end of friday so won't be able to help
And if I do, tell me I should be doing coursework
 
> is chatting
 
Coursera?
 
@Riker indeed
 
go do coursework silly muddyfish
@EriktheOutgolfer I think he means just normal stuff, because exams are coming up soon-ish
 
Wait Riker is moderator now.
 
6:01 PM
Well done!
 
Congratulations Riker, BTW.
 
thanks
 
also -1 dennis lied mods can't easily reply to themselves
or at least I can't find the button
that's more likely
 
I think there are secret mod rooms
 
6:02 PM
there are
 
Wait, why don't we all have that feature?
 
no clue
 
@MistahFiggins we can, not just easily
 
I think that woul be a good idea
 
Because they are deleted private rooms I think.
 
6:03 PM
@betseg I thought the reply button just appeared on your messages like it did for other people
but apparently not
 
When did Dennis say that?
 
@Riker so how's being a mod feels like :P
 
@betseg How though?
 
@EriktheOutgolfer i dunno, I'm fairly certain he has though
or maybe another ppcg mod idr
 
I've wanted to a couple of times
 
6:04 PM
@betseg scary as hell
 
if I screw up it's a much bigger deal than before
even when I click my user icon in the left edge it says "5 suspensions" -.-
 
@MistahFiggins you add ":35904426" or other message IDs in the beginning of messages to reply another message
 
I thought it'd be nice to abuse chat use chat powers responsibly
 
^^ you can do to own messages too
 
6:05 PM

Sandbox

Where you can play with chat features (except flagging) and ch...
 
@betseg example
 
@Riker you're a mod? o_O
 
@betseg Oh that makes sense
 
@Riker Holy shit! Congrats on your diamond!
 
yes, and thanks
 
6:07 PM
I'm only slightly jealous :P
 
:P
 
You're probably the youngest mod on SE right now :P
 
Maybe ever
 
think so yeah, though I've heard an astronomy mod is young also
@DJMcMayhem I dunno
 
@DJMcMayhem It's not a good thing for busy schedules I think. I haven't nominated anywhere so far because I have an active real-life schedule.
 
6:09 PM
@DJMcMayhem how can i check if $TERM is linux on Vim?
 
@EriktheOutgolfer Yet I seem to always make more time for SE than my homework
7
 
@KritixiLithos don't we all, don't we all
 
@betseg not sure what you mean
 
an environment variable
 
6:10 PM
$TERM is a variable in bash
 
Me too, I don't usually have much homework, I use the weekend. However, homework isn't the only thing I do.
 
mine is xterm-256color
I think he's asking how to access system variables from inside vim, specifically $TERM
 
Yeah, I know. But it wouldn't ever be Linux and you wouldn't want to check within vim
 
What terminal do you use @Riker?
 
but I have solarized dark theme
 
6:11 PM
*emulator
 
@DJMcMayhem its linux on virtual terminals
 
Do you use Apple's default Terminal.app?
 
yes
I've used iterm2 in the past however
 
I use XQuartz
 
@KritixiLithos oh, apparently my first message did'nt send, I said "stock from OS X"
 
6:12 PM
Better colour support
 
sorry about that
 
@betseg OK. Well, $TERM works just fine for me from the vim command line
 
wait wat vim has a command line
 
Note: Mine is xterm-256color too. I don't use xterm.
 
@Riker yeah, like :w
 
6:12 PM
@DJMcMayhem i wanted something like this: github.com/DJMcMayhem/dotFiles/blob/master/.vimrc#L1 ;_;
 
oh cool
 
Hence mine is just xterm (at least I think that's why)
 
Any command starting with a colon is a vimscript or ex command
 
ah
 
@EriktheOutgolfer just backward compatibility things
 
6:13 PM
@KritixiLithos how'd ya do that?
 
i use GNOME Terminal on GNOME and urxvt on i3.
 
Downloaded it from here. I think it used to be on older macs as default (it's called X11).
 
ah
 
@betseg so then use $TERM == 'Linux'
 
oh it was simpler than i expected
 
6:15 PM
It's used to be on mine, but it was not installed onto my computer. After downloading it, it replaces X11. If you ask me, XQuartz is worth it
 
@Riker You're 14 right?
 
yes
and about a third of the way to 15
 
Sure it starts slower, but it has better color support
 
that reminds me: installing the gaot's gitgoat app now
 
@Riker 14 is the best year
 
6:17 PM
I will be back after having been driven insane by goats
@KritixiLithos yah, you can eat as much as you want and stay identical (as long as you exercise a bit)
 
Where's the app?
 
xcode or gitgoat
 
14 is a good year. That's when I started playing guitar/with bands
 
gitgoat
 
16 is a better year though
 
6:18 PM
@KritixiLithos github.com/vihanb/GitGoat private repo though
 
@DJMcMayhem Hey, speak for yourself :P
 
ping the goat if you can't see it (aka he hasn't added ya)
@DJMcMayhem you can legally drive?
 
Yup
 
I was foolish and stupid when I was 13, 14 changed all that
 
^
mainly because my parents decided I both get an allowance and lose that allowance when I do something stupid
 
6:19 PM
My sister just got her driver's license yesterday. Scary af
 
@DJMcMayhem :o congrats @DJMcMayhem's sister!
 
@Riker I leave out the exercising bit :P
 
lel
sigh why do you have to have weird connectors @Apple
 
Android's amazing, same connector (more or less) for all android devices
 
@KritixiLithos This change for me was mostly instigated by my amazing LA/History teacher
 
6:22 PM
@KritixiLithos yeah, thus why I use an android phone
 
@Riker So that iStuff is incompatible with non-Apple stuff => So that you have to purchase Apple stuff => So that Apple gets $$$ from the stuff you purchase => Apple Profit $$$.
 
@EriktheOutgolfer well yeah that was rhetorical question
 
@Riker Delete button is right next to the star button if I'm not mistaken
You will now live in terror of starring messages
So enjoy that
 
Others can't see who starred a message.
 
I don't think anyone can
 
6:24 PM
Yeah, not even mods can AFAIK.
 
@quartata lol
@quartata it's not though :P
@DJMcMayhem yes they can actually, doorknob accidentally did it once
i don't think it's been fixed
 
@Riker *flag-delete
@Riker It has
 
ah ok
 
@Riker That's through the API, not the UI, so it's different
 
@quartata Or you could click the dropdown button and press the sta - oh.
 
6:26 PM
true
@quartata the icons on the right of a message are identical though, so I'm good :P
 
That dropdown button is the key.
And no, it has more than the icons on the right.
 
@Riker could you see chat flags (before you became a diamond cat)?
 
@EriktheOutgolfer no it does not
@KritixiLithos yes I could, I have 10k network wide
 
@Riker I'm curious, what buttons are available to you on mobile chat? Cause I can see "Reply, Permalink, star, flag, pin, and kick". Can you see all those? More?
 
12.6k now
 
6:27 PM
Ah, I thought it was 10k in 1 site
 
@DJMcMayhem will check in a moment
I don't see 'kick' though, not even on desktop
nvm I see it
@DJMcMayhem I see all of those + edit, that's it
 
Yeah, you have to click on the user, not the posts
 
on desktop yeah
 
@Riker Ah, ok cool
 
Edit the user???
 
6:29 PM
@Riker can you edit this message?
 
@EriktheOutgolfer no silly favicon
but on mobile, tapping on users takes you to their profile page
everything is done by tapping on msgs
that's not special to mods, tah'ts everybody
 
mobile sucks a lot
 
@Riker Do you mind if I try an experiment? (In the third stack)
 
"third stack"?
 
Brain-flak room, we renamed it
 
6:30 PM
found it
 
E116: Invalid arguments for function system("[[ ""$TERM"" == ""linux"" ]]")
E15: Invalid expression: system("[[ ""$TERM"" == ""linux"" ]]")
whats wrong
oh [[ is a shell builtin command
 
yes
 
For those who know java Client-Server stuff, can I use the same remote port number on each client to connect to the same server?
 
wtf in [, == is for ints and = is for strings
 
yes
 
6:39 PM
E116: Invalid arguments for function system("[ ""$TERM"" = ""linux"" ]")
E15: Invalid expression: system("[ ""$TERM"" = ""linux"" ]")
;_;
 
@Downgoat why does gitgoat give 6 warnings/errors -.-
 
Jan 31 at 20:54, by Riker
2545
Q: Proper use cases for Android UserManager.isUserAGoat()?

Ovidiu LatcuI was looking at the new APIs introduced in Android 4.2. While looking at the UserManager class I came across the following method: public boolean isUserAGoat() Used to determine whether the user making this call is subject to teleportations. Returns whether the user making this call...

Something like that for iOS perhaps
 
I'm torn between svr or srv as shortenings for server... What do you all think?
I'm leaning towards svr
But I don't know
 
I have just learned that Javascript is apparently turing incomplete as it doesn't have a halt state
 
6:54 PM
If anything, svr would be short for sever (remove vowels). srv (serve) is often used for serve and short for server.
 
svr looks like svn
pressing return instead of backspace
 
Ok, I will use srv
 
7:19 PM
@LliwTelracs Huh?
 
@HelkaHomba I learned about it when writing an interpreter for my second entry to the language of unknown Turing Completeness challenge
 
@LliwTelracs I think most computer scientists consider that all you need is a halt state equivalent, rather than a literal halt state; there's some debate about what counts as close enough to be an equivalent, though
I think most people agree that something that is obviously an infinite loop (while(1); or the like) is enough, though
 
7:34 PM
Why does on-hold music still sound crackly and intermittent these days?
 
@ais523 Isn't it possible to define that while(1); is the same thing as halting as long as such definition doesn't cause contradiction.
 
@fergusq sure, and there are languages where a tight infinite loop halts the program; however, normally when you're talking about Turing-completeness in maths you're working with an existing definition that you can't easily change, and trying to see if it's TC or not
(not to mention that if something has syntax that's as expressive as while(1), it's probably sufficiently featureful to be TC anyway)
 
0
A: Sandbox for Proposed Challenges

NonlinearFruitDot Matrix Messages with Github WIP Goal: This goal to take a string and output how many contributions should be made on which days in order to display this message. Font: 5x7 DOT Matrix Input: Take a String Output: List of (date, contribution) pairs in chronological order

 
@mbomb007 nope it does not
 
@HelkaHomba because companies are cheap
 
7:44 PM
@ais523 This is actually a pretty interesting question. Lets assume that we have a machine that can interpret a TC language but can't halt ie. the programs start and stop, but the computer keeps running. Is this computer itself TC? It can simulate any Turing machine, so I would say that it is.
 
it's a very interesting question, and the centre of something of a row I was drawn into many years ago now
which is basically to do with TCness proofs that work via compiling from a TC language
the question is, what restrictions apply on the compiler, and what restrictions apply on the halt state definition?
clearly there must be some such restrictions; for example, if the compiler interprets the language itself and outputs the steps of the execution, then you can prove even obviously sub-TC languages to be TC
 
@Riker I'm listening to crackly jazz and only getting more irate about thee issue I'm calling about U:<
 
lol
what's the issue?
but also :(
 
hospital bill thingy
 
The issue is that on-hold music is crackly and intermittent
 
7:47 PM
"the compiler runs in finite time and deterministically produces an output of finite size" is known to be sufficient, but isn't possible in all cases (e.g. languages where the program is inherently infinitely long)
note that this is rarely an issue at PPCG, infinitely long programs score terribly at
 
@HelkaHomba ah
 
@ais523 A notable exception
 
Now that you say it, I've been thinking an tag where the objective is to golf your code, but the longest answer wins.
 
we have , but that's not quite the same
 
longest golfed code wins would mean you need to let other people golf your code
 
7:51 PM
yes
but you could just submit a program in rule 110 or sequential tag or something like that (where all programs are infinitely long due to the nature of the language)
 
@ais523 Can't we represent all programs in a finite form? Is it valid for a program to be infinitely long? For example if the program is an infinite sequence of number and we have a finite function that calculates those numbers, we can call that function the program. A program that can't be represented in a finite form can't be represented at all, I think, so would it make sense to ban those programs?
 
Java can finally have a winning chance
 
@KritixiLithos 1) submit a brain-flak answer 2) no one can golf it 3) profit
 
@fergusq oh, you deifnitely can represent the program in finite form; the problem is how complex the representation is
say we represent the program as a Python program that produces the (infinitely long) output
 
Although I guess lenguage is significantly more verbose
 
7:53 PM
now the language is almost certainly Turing-complete and I haven't said anything about how it works yet
because you can just do all the computation in the input Python code
 
I see
 
so the problem is basically about what rules for the finite form are allowed
 
@DJMcMayhem oh yeah, there's going to be a problem with languages like lenguage and unary. Well, there could be an upper limit of program size equal to the max number of characters allowed in an SE post
 
An interesting thing to see for that would be to have your code interpret another language which interprets another language in a chain to run the code
 
Lang A interprets Lang B that interprets Lang C which then interprets Lang A
 
7:57 PM
Writing interpreters for other languages to run the code
 
Compiling languages in a cycle could be fun. Compiling A to B and B to A with a non-optimizing compiler would probably have the programs grow in size. How complex could the program become?
 
@Adnan How about a way to slice a list?
like Python's L[start:end:step]
@DJMcMayhem Oh yeah, I saw that a bit ago and meant to post it in chat yesterday. I guess I forgot.
The original post is here:
180
Q: HTTPS: It's time

Nick CraverThis is a heads up, and a request for help. HTTPS for our entire network is long overdue, but we've been working hard on it behind the scenes. Expect a pretty big blog post when we turn it on everywhere that details the journey. There are a few lingering questions on HTTPS we're not confident i...

 
yesterday, by Riker
83
Q: HTTPS: It's time

Nick CraverThis is a heads up, and a request for help. HTTPS for our entire network is long overdue, but we've been working hard on it behind the scenes. Expect a pretty big blog post when we turn it on everywhere that details the journey. There are a few lingering questions on HTTPS we're not confident i...

:p
 
Would be so much golfier if https://stuff.com could just be s:stuff.com. h could be http, f could be ftp. Are there more?
 
hs for https
 
8:09 PM
@mbomb007 A few different ways you can slice a list in 05AB1E.
 
instead of s
 
@LliwTelracs Gotcha, that makes sense. Thanks.
@HelkaHomba Gopher, IRC, SSH, Telnet ...
 
git, ws, wss...
 
@HelkaHomba Are you calling on a cell phone?
 
@Emigna Slicing, not chunking.
 
8:14 PM
@AdmBorkBork yes
 
@mbomb007 Ah okay, the first example can slice though (but only from the first index)
 
@HelkaHomba Then the crackly intermittent stuff is due to the vocal compression algorithms the cell phone uses. It prioritizes human speech frequencies and sacrifices things outside that range. Coincidentally, that makes on-hold music suck.
 
@AdmBorkBork Then they should have spoken poetry instead of music
 
True, but plenty of people still call from a landline (e.g., most any business office).
 
8:17 PM
Or like an audiobook of a short story that would be done by the time you are off hold :P
 
The first one should be 34.
I loved your almost crack btw! :)
 
The first method or the second?
 
the First
 
With K?
Yeah
 
I made it for range[1 .. 10] first and forgot to change it
 
8:23 PM
I really can't figure out how to reverse every other without needing an additional } at the end.
My first attempt would've needed that too if it worked for all n.
Maybe if I could do two rows per iteration? idk
It's my first time using 05AB1E
 
I didn't use the most obvious method as that would probably have been to easy. It gets harder to golf in 05AB1E with restrictions on non-ascii :)
 
@ConorO'Brien That's a hilarious way to save a single byte on that BATCH answer. Well done.
 
Especially if you're not familiar with the language already
I'm guessing there's probably 1 command you've overlooked that would make the crack complete
 
8:45 PM
It's not the right format, though
 
Remove the last char and the format is right
no wait
didn't see the double list
Doesn't really work for other inputs as 4 it seems either
You are on the right track though
 
@Downgoat STOP renaming Tomato to Tomatogoat.
 
where is he doing that?
 
0
A: Sandbox for Proposed Challenges

OkxPut some music in a box code-golf Your task is to take a sequence of letters (the music) as input (in a function or program), and print (or return) the music as it would look like in a music box. You will only receive the letters ABCDEFG as input. This is an empty music box, with length 3: .....

 
@Riker Suggestions. I already declined it.
 
8:52 PM
where?
what do you mean by "suggestions"?
issues on the repo?
 
The username says "Vihan Bhargava" and his github username is vihanb
 
pull requests?
 
@Riker No, on the Google Doc
 
ah
@CheckOutTomato yeah tha'ts him
 
> that's
 
8:53 PM
yeah
it's a habit of mine, hitting the single quote 1 letter too early on many contractions
<shrug> and I'm too lazy to edit
 
> i'ts a habit of mine...
@Riker FTFY
 
lel
 
Do you also type 'Im accidentally?
 
?
 
1 letter too soon "I'm" is "'Im"
CMC: 1 letter too soon single quotes
 
8:58 PM
@betseg Like Given a string, move all single quotes back a character?
 
Yes
 
@mbomb007 I think I figured it out, but only because I've seen your code so I don't want to post a crack.
 
I can do it in 5 bytes of V off the top of my head without testing
@betseg òt'xp
 

« first day (2230 days earlier)      last day (2599 days later) »