« first day (2068 days earlier)      last day (2775 days later) » 

1:00 AM
wait nvm
 
@HelkaHomba Where is the stream on that?
 
@mınxomaτ Show up dead center for me. cbsnews.com/live also streaming it.
 
@HelkaHomba For cnn.com: not outside the use (at least, here). The CBS stream doesn't load at all for me.
 
nvm
 
1:05 AM
@orlp but the decoding information is still just a frequency table, right (with your special info if you want)
 
Lester Holt for president!
 
@Maltysen yep, the decoder has to mirror everything the encoder does
must pass in the exact same probabilities
(which is also why the implementation uses fixed point integers and not floating point)
you need bit-perfect accuracy, and floating point tends to not be consistent on different cpus
now...
I need a large amount of brainfuck code to analyse
 
@orlp ppcg?
 
SEDE is your friend
 
@Maltysen I lost the dump/scraping code I had
SEDE?
 
StackExchange Data Explorer
 
yeah but how do I find brainfuck code snippets?
 
You can write SQL queries. I'd look for the first <code> in answers that match <h\d>\s+(Brainfuck|brainfuck|bf|BF)
 
@quartata I've never used it before, can you do it forme?
 
not now but when I have time
 
1:13 AM
Does anyone have thoughts on this sandbox post?
5
A: Sandbox for Proposed Challenges

DJMcMayhemWhen was this language released? code-challenge polyglot Your challenge is simple. You need to write a program that prints to either STDOUT or a file the year the language it is written in was released. Because this is such a simple task, the twist is that it must be written in as many differ...

(Sorry for sharing it several times, I'd just like to post it sometime soon, and it's a more unusual challenge)
 
@mınxomaτ ded for me
 
Yes. I noticed. Watching elsehwere now.
 
@orlp SEDE has a tutorial now.
 
the part I don't know
is how to do a regex match on body
 
No love for question asking for canonical method of doing basic DOM implementation
-3
Q: Function to check if element has any of these classes with native JS

noɥʇʎPʎzɐɹC<div id="test" class="a1 a2 a5"></div> var element = document.getElementById("test") if (hasAnyOfTheseClasses(element, ["a1", "a6"])) { //... } Looking for a simple, lightweight function to check if a function has any of the listed classes without jQuery or another library. Such function...

 
1:20 AM
If you're looking to post a canonical question, post your solution as an answer. Don't hide behind it as an excuse to get people to write code for you. — 4castle 18 mins ago
 
@DJMcMayhem I can't get past the score-by-year-amount
 
@HelkaHomba Twitch thing is dead, too.
They nuked the whole channel
 
I'm not sure how to group them so that A -> B and B -> A are added together.
 
@ConorO'Brien OK thanks for the feedback. I was thinking about changing that already
 
1:22 AM
@orlp unwarranted...
 
@mınxomaτ everytime I see your profile pic I think of some interesting binary tree shape, but when I click on it it's just antlers :(
@ConorO'Brien no it isn't?
 
it's rather mean
 
why?
did you even look at the context?
 
yes
whatever.
 
@El'endiaStarman first name is OP, second name is replier?
 
1:24 AM
@DJMcMayhem Yes, I believe that's correct.
 
@orlp I think he means the use of what he considers to be an offensive term is unwarranted.
@Downgaot I just realized your name is mispelled...
lol
 
¯\_(ツ)_/¯ hey at least he isn't wrong. :P
 
@EᴀsᴛᴇʀʟʏIʀᴋ that reveals an attitude that pretends offense is given rather than taken
 
I need to get a regex replace in text extension so I can do s/goat/gaot
 
if he chooses to be offended at a mildly crude joke, so be it
 
1:27 AM
Aluartataship confirmed??
 
@ConorO'Brien missing that last slash
@quartata oh god we do not need PPCG fanfics
 
@quartata Come up with a better ship name and then we'll talk
 
@orlp I'm not offended, I just don't think it's the best idea to toss around such terms in light of recent events.
 
Ugh. Debate is painful so far.
 
Out of the top 100 reply pairs, Alex A.. is the replier in 13.
 
1:28 AM
@Geobits ikr? I'm already fed up with it
3
 
Debate summary from Coders begins now.
 
@Sherlock9 yeah it needs work
 
@quartata TBF, you could also have meglex/algo I guess.
 
So, @DJMcMayhem what is the debate? How much bloodshed? Did they get helicopters?
 
@EᴀsᴛᴇʀʟʏIʀᴋ Downmayhem?
 
1:29 AM
I'd just turn it off, but the kid was interested, so we're being all educational and crap.
 
@ConorO'Brien ? I have nothing to do with those events, nor are those events related to people getting offended
 
hey we have a code golf challenge for this
 
@Geobits, describe your mortal pain.
 
Alexknob
 
annoyance is not the same as offense
 
1:29 AM
@noɥʇʎPʎzɐɹC Yes, a lot, yes but trump broke his
 
@noɥʇʎPʎzɐɹC I watched about 5 minutes before giving up
I might watch a little bit more later on, just not right now.
 
11
Q: Praming Puzles & Colf: Condense a String

LaikoniHaving spend some time on this site I have come to enjoy things being as short as possible. That may be the reason why I'm recently kind of offended by strings containing the same characters more than once. Your job is to write a function or program which condenses a given string according to the...

aha!
 
@EᴀsᴛᴇʀʟʏIʀᴋ You could have gone with Algo ._.
 
@orlp I don't feel in the mood for talking further on it. feel as you may.
 
@Sherlock9 aha!
@quartata @Sherlock9 qualex?
 
1:31 AM
I don't show up until you get to the first 200. I'm OP and Leaky is replier
 
@EᴀsᴛᴇʀʟʏIʀᴋ Could work
 
My solution to progruzzle and colf gives quartex
 
@EᴀsᴛᴇʀʟʏIʀᴋ Or the older Alex's Hobbies
 
10/10
@quartata him, that sounds a bit better
 
1:34 AM
It's a small but vibrant community at TNB :)
 
Has trump actually said anything new during the debate? :/
 
Am I the only one who found it very interesting that Trump has a blue tie and Hillary has a red dress?
 
@ConorO'Brien Maybe one thing, but I couldn't tell you what it would be.
 
@DJMcMayhem whoa
 
@DJMcMayhem I'm listening to NPR, so I can't see them.
 
1:35 AM
aha! The first recorded reply pair that occurs once is Geobits replying to Oberon.
 
@DanTheMan Oh. Well, just so you know, Trump has a blue tie and Hillary has a red dress.
 
@ConorO'Brien He just said he'd release his taxes if Hillary releases her deleted emails. I think that's new.
 
I'm not terribly surprised anyways considering Alex is 1st in messages and I'm 3rd
 
@HelkaHomba I missed that XD
 
1:36 AM
iirc i've heard that before
 
@HelkaHomba That's hilarious
 
@HelkaHomba last time I checked trump's taxes weren't a state secret
 
I also think he pretty much just admitted to paying no federal income tax. "That makes me smart."
8
 
BTW @ConorO'Brien I changed the scoring method.
TY for star. :P
 
>_>
2
Aug 21 at 23:54, by Dennis
Feature-request: Chat should stop moving when I'm trying to select someting. :P
 
1:37 AM
#TNBfirstworldproblems - starring the wrong message because chat is moving too fast. :P
 
I'd like to think I foiled that star.
lol
 
On a related note, does anyone know where I can find a leaderboard that ranks by highest score, not lowest?
 
Clinton admits the private email thing
Take full responsibility
wtg
 
Aug 21 at 23:54, by Dennis
Feature-request: Chat should stop moving when I'm trying to select someting. :P
"Quartata + Alex => Quartex" :o
that sounds like a pain medication
 
Also he replied "That makes me smart" to accusations of not paying any federal taxes by exploiting loopholes.
 
1:39 AM
ninja'd by, not the pi, but the phi
 
@PhiNotPi This, gentlemen, is why every sitting government and every election process should have some sort of abort/reset/recount process
2
 
abortabortabort
 
Here's a licensed stream that works internationally, from NBC: youtube.com/watch?v=855Am6ovK7s . The CNN streams have been shut down.
 
Why CNN shut down?
 
Not their official stream, but other less legal ones. CNN doesn't work internationally.
 
1:44 AM
CNN still works for me
 
@HelkaHomba Well, are you in the US?
 
"Get your SuperLight today! Call Now! The number is 911."
 
Does anyone know if it's possible to make a feed of posts in a particular language?
 
@mınxomaτ yeah
 
1:47 AM
1
Q: When was this language released?

DJMcMayhemYour challenge is simple. You need to write a program that prints to either STDOUT or a file the year the language it is written in was released. Because this is such a simple task, the twist is that it must be written in as many different languages as possible. Your score is the total number of...

 
@NewMainPosts thanks!
 
@HelkaHomba So why does it matter that CNN works for you? I've just told you an hour ago that CNN does not stream internationally. My link is for people outside the US who want to watch a legal stream, because all 3rd party CNN stream are now down. The world is a bit bigger than America ;-)
 
I know. Sorry I'm just barely following chat since I'm watching the debate
 
And America is bigger than the US. :P
 
@Dennis Hah, I just waited for someone to say that :D
 
1:54 AM
@Dennis Do you think it would be wise to change the scoring method back?
 
Personally, I'd resandbox it. It would be a shame to ruin a nice challenge with some unforseen loophole.
 
But there are no answers yet. It wouldn't be too late to change it
 
@Dennis I concur @DJMcMayhem
quickly delete it before I finish my epic thing
 
Different years fixes that loophole, but there might be others.
 
How do I know when it's ready?
 
1:57 AM
I never did get to see the revised score :P
I'd wait at least a few hours after each major change
 
For unconventional scoring methods, I'd wait at least a week.
 
:/ I wanna post it now. I do appreciate the feedback though.
 
patience, young dj :p
 
Young? I'm older than you are. :P
sigh. It's deleted now.
 
how old are ya? 17? 18?
@DJMcMayhem thanks, that gives me time to debug reticular :P
 
2:02 AM
@ConorO'Brien The latter
 
@Dennis Could you please pull reticular?
@DJMcMayhem nailed it. That makes you... senior in HS?
 
Nope. I graduated early, and if I hadn't I would have graduated this spring.
 
oh, cool!
 
I'm 21 as of last Thursday. Where does that place me in the PPCG roster, I wonder? Near to the median?
 
I think mean is 26.
 
2:04 AM
The distribution is definitely skewed right.
 
It's kinda frustrating to sit on what I think is a great challenge just because there might be some problems with it.
 
I was thinking median
There seems to be a large number of PPCG people in their teens
So I would guess that the median is in the late twenties.
 
@ConorO'Brien I thought green eggs and ham was a pre-school thing :P
 
@Downgaot green eggs are serious stuff. radioactive, y'know
 
O_O
You are green dragon. Does that mean you are radioactive dragon?
 
2:12 AM
I can be
 
@Downgaot No, it means he has an acidic breath attack and poison resistance.
2
 
hey I brush my teeth regularly
:P
 
After modifying the SEDE query someone posted earlier, I have figured out that the mode is age 27. Still working on the median, because my SQL knowledge is more full of holes than Swiss cheese.
 
user image
3
 
@DJMcMayhem I feel like you should take into account the number of bytes for the polyglot
 
2:14 AM
i found real picture of conor proving he is radioactive :P
 
@Downgaot ._. why are you in my room
 
:|
 
I only wear that in my room
 
@ConorO'Brien how? What are you thinking?
 
@Sherlock9 Trying to find median in SQL is about most painful as coding gets
 
2:15 AM
@DJMcMayhem I mean, I could write a 2000byte monstrosity that had 50+ langs or something and win because no one else wants to put that much time into it
I was thinking something along the lines of number of bytes / (number of langs ^ N) for some N
and lowest score wins
 
@Sherlock9 OBTW skype told me it was your birthday
happy birthday
 
happy bday sherl!
2
 
Thanks :D
 
:O It's his birthday?
 
Cheryl's Birthday is the unofficial name given to a mathematics brain teaser that was asked in the Singapore and Asian Schools Math Olympiad, and was posted online on 10 April 2015 by Singapore TV presenter Kenneth Kong. It went viral in a matter of days. The quiz asked readers to determine the birthday of a girl named Cheryl using a handful of clues given to her friends Albert and Bernard. == Origin == The question was posted on Facebook by Singapore TV presenter Kenneth Kong. The posting drew thousands of comments, including several humorous ones—many aimed at Cheryl who apparently didn't want...
 
2:16 AM
Happy birthday @Sherlock9!!! (sorry about late birthday)
 
@Downgaot last thurday
 
I read that as "last birthday" ._.
 
@ConorO'Brien @EᴀsᴛᴇʀʟʏIʀᴋ ninjad by five days
Sep 22 at 22:05, by DJMcMayhem
@Sherlock9 Happy birthday!
 
aha! I win by the time
 
@DJMcMayhem ._. I even starred that
 
2:18 AM
screw hillary and trump, we should all:
user image
5
 
@DJMcMayhem
20:26 to 22:05
 
"1 )"@@*n;
'6102'<;o
Pretty proud of this (><> + reticular)
 
@EᴀsᴛᴇʀʟʏIʀᴋ UTC bruh
 
polyglot?
@DJMcMayhem still win
 
2:19 AM
won't work until reticular updates on TIO
 
CMC, C&R style: print the year your language was released, other users guess the language
 
@ConorO'Brien I don't know the Reticular half, but {*n; can be used instead of @@*n;
 
> My strongest attribute, I think, is my temperament.
^ Guess the speaker lol
 
@Sp3000 reticular uses @@ as a conditional ternary mirror, so that's why that works. thanks though :D
 
2:23 AM
@Geobits donald knuth
 
@Geobits Just burst out laughing. At 4:30 AM.
 
I'll start. i0£€ where £ is 0x1b and € is 0x01 repeated 2016 times
 
@ConorO'Brien Ah, that makes sense now, nvm :P
 
@EᴀsᴛᴇʀʟʏIʀᴋ FOG? :P
 
I have nice gifs let me show you
 
2:24 AM
@Geobits my sister just tweeted that too
 
@DJMcMayhem no
 
@DJMcMayhem @EᴀsᴛᴇʀʟʏIʀᴋ is right. He has 3:26 am on my end and we already discussed how you were five hours into Friday
 
try again
@Sherlock9 :D
 
DJ, that reminds, what timezone are you in again?
 
@confusedandamused hey there, what brings you to our chat?
@Sherlock9 mountain time, colorado iirc
1 hour ahead of me
 
2:25 AM
@Sherlock9 MST (8:25 PM right now)
 
@Sp3000
 
The concept of global warming was created by and for the Chinese in order to make U.S. manufacturing non-competitive.
7
> Trump 2016: I did not say that
 
Hello @EᴀsᴛᴇʀʟʏIʀᴋ I've been hanging around here trying to get into code golf xD
 
CMC: name a language that you are able to outgolf people in ~95% of the time.
 
2:27 AM
@Downgaot IIRC he was saying that earlier this year, too.
 
@Dennis Can you help me out with something?
 
@ConorO'Brien Oh wait I think I misunderstood you >_>
 
@Geobits yeah I was about to say
 
@Geobits yes, but this time he said it in front of the whole country.
 
don't you have something against C#?
 
2:28 AM
@Downgaot I meant repeating the "it's a hoax thing" this year, not the denial.
 
oh
 
@confusedandamused :D welcome to PPCG then!
 
> I would never take the first strike. But I can't take anything off the table.
 
@EᴀsᴛᴇʀʟʏIʀᴋ Thanks! any tips are appreciated ;)
 
@ConorO'Brien im dennis sock jelly
 
2:29 AM
>_<
 
@confusedandamused welcome!
first tip: ask @ConorO'Brien how to learn Jolf
 
After running the SEDE query on reported ages, I have mean of 30.77249, a mode of 27 and a median of 35.
 
please don't its ill-documented
 
Trump likes his superlatives...
 
@ConorO'Brien out golfing the same language or different ones?
 
2:30 AM
All this by downloading the CSV and messing with the data in Excel rather than SQL
 
"Trump just criticized me for preparing for this debate. You know what else I prepared for? Being president." #DebateNight
5
damn
 
roasted
 
applause
 
@DJMcMayhem same language
 
:D top 4 items on starboard. I am on a roll
 
2:31 AM
@ConorO'Brien does V count if I'm the only person to have ever used it? :P
 
@ConorO'Brien You'd know if you had been monitoring the same time on your time.
 
@ConorO'Brien It counts if you use that to answer a challenge. :P hint hint...
 
@DJMcMayhem do I need to know vim to use it
 
Technically no, but it would help.
I just meant answer the hello world challenge
 
2:34 AM
oh okay
 
@Downgaot Wow, that is on point.
 
Does Actually count if I'm basically the only person using it since Mego and Leaky semi-retired?
 
@ConorO'Brien why does that program seem to be so slow?
 
@PhiNotPi it simulates vim I think
or opens it
@Sherlock9 yes
 
2:38 AM
@PhiNotPi long story short, v.tio intentionally runs slowly to avoid some weird timing bugs
 
Then, Actually
 
@ConorO'Brien opens. Simulating vim would take years for me to write.
 
s/right/write/
 
That's what I said.
:P
 
Took you a minute to say it that way, though :P
 
2:43 AM
@mınxomaτ Maybe you tried but would twitter.com/i/live/778347749217406976 work? (The debate is over but still streaming)
 
@HelkaHomba Stream gives an error for me. NBC's still works: youtube.com/watch?v=855Am6ovK7s
~1 Mio. Viewers
 
Trump commented on how Hillary was vicious to him... I don't think he's in a position to call anyone vicious :P
 
I think he's in a perfect position to call people names, and that position is an echo chamber
 
@ConorO'Brien Digging through Reticular source code and having trouble coming up with better than '11'8-*n$2016O;
 
@PhiNotPi Green dragons breathe poison gas not acid. Black dragons breathe acid.
 
2:51 AM
@ConorO'Brien well thanks, now you've made me want to start working on V again. :P
 
@Downgaot Depends on the something. What's up?
@ConorO'Brien Done.
 
@Dennis thanks!
@Sp3000 you are a wizard
wtf
my upvote was reversed on HW
 
Either way you spin it, the debate was entertaining.
 
If I modify the SEDE query to only allow users with rep > 101, I get a median of 22.5, a mode of 27 again and a mean of 30.24515
 
@EᴀsᴛᴇʀʟʏIʀᴋ yeah I just dont know the first thing about code golf xD thats the main issue lol
 
3:03 AM
Hillary Clinton belongs in the White House. Donald Trump belongs on my show.
 
Does any one know how to run Brainloller code? I wrote some code and I want to test it but I can't figure out how to work it.
 
@confusedandamused The best way to learn is to right answers!
Or challenges too, but that's harder
 
@DJMcMayhem While that sounds like a good idea it seems quite daunting to begin heh
 
@confusedandamused What language(s) do you know?
 
At work I use C#/.NET I've used Python/JS a good bit but not enough
@DJMcMayhem
 
3:16 AM
OK cool. Python and JS are both pretty popular for golfing.
 
@confusedandamused You can also try some non-golf challenges first. That's how I got started here. I didn't even like golf much, but I got sucked in...
 
This would be a nice relatively easy challenge to get started with:
46
Q: Print/Output the L-phabet

Leaky NunInspired by George Gibson's Print a Tabula Recta. You are to print/output this exact text: ABCDEFGHIJKLMNOPQRSTUVWXYZ BBCDEFGHIJKLMNOPQRSTUVWXYZ CCCDEFGHIJKLMNOPQRSTUVWXYZ DDDDEFGHIJKLMNOPQRSTUVWXYZ EEEEEFGHIJKLMNOPQRSTUVWXYZ FFFFFFGHIJKLMNOPQRSTUVWXYZ GGGGGGGHIJKLMNOPQRSTUVWXYZ HHHHHHHHIJKLMNO...

 
@Geobits What sort of challenges (please don't say Project Euler lol)
 
Code trolling probably, hahaha
 
There are optimization challenges, image processing, king of the hill, etc.
 
3:19 AM
I've never heard of these @Geobits
@DJMcMayhem I've no idea how the guy came up with the C# answer lol
 
40
Q: Tips for code-golfing in C#

jcolebrandWhat general tips do you have for golfing in C#? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to C# (e.g. "remove comments" is not an answer). Please post one tip per answer. -- borrowed from marcog's idea ;)

 
Look at the tag for starters :)
 
Funnily enouguh I just was at that link xD
 
Why is "Donald Trump never voted to go to war" pertinent when as a citizen he had literally no opportunity to? Are you blaming Hillary for doing her job by voting while in congress? >:U @KatrinaPierson
 
It's really hard for me to take anything she says seriously at the best of times. His spokespeople amaze me, tbh.
 
3:35 AM
What symbol is this η
 
Eta (uppercase Η, lowercase η; Ancient Greek: ἦτα êta or Modern Greek: ήτα íta) is the seventh letter of the Greek alphabet. Originally denoting a consonant /h/, its sound value in the classical Attic dialect of Ancient Greek was a long vowel [ɛː], raised to [i] in hellenistic Greek, a process known as iotacism. In the system of Greek numerals it has a value of 8. It was derived from the Phoenician letter heth . Letters that arose from eta include the Latin H and the Cyrillic letter И. == History == === Consonant h === The letter shape 'H' was originally used in most Greek dialects to represent...
 
Hey @ConorO'Brien, you awake?
 
I'm awaiting an answer of "no"
 
Hmm. Looks like you're probably in bed. Okay JavaScript people, let's say I have a variable x = "abc" and I want to construct a dictionary like d = {x: 5}. How can I make it so that d['abc'] is valid while d['x'] isn't?
 
3:46 AM
@confusedandamused Jolf uses a Greek character set; it's Greek letter eta
 
(I've thought of a workaround by now, but still, it'd be nice.)
 
@El'endiaStarman Do you want something like d = {}; d[x] = 5;?
 
@El'endiaStarman d={[x]:5} (ES6)?
 
^ or that
 
@ETHproductions That's the work-around I thought of.
 
3:47 AM
Trinton...
or is it Clump?
 
wedontdowords.
19thByte.
 
@El'endiaStarman Ah, that's what you needed it for
 
@ETHproductions Yeah, pretty much. I originally had column names as magic strings in four separate places, and kinda got fed up with having to change them repeatedly.
 
3:55 AM
yup
So I guess this was the longest message yesterday
 
Apparently so!
 
Related pet peeve: when clicking "see full text" reveals 5 hidden characters
 
Yeah, that's pretty annoying, isn't it? :P
 

« first day (2068 days earlier)      last day (2775 days later) »