« first day (2007 days earlier)      last day (2840 days later) » 

You need to have matplotlib already installed to do any graphing.
 
Yeah, I have it.
Although I might not have it for Python 3.. lemme see
 
@El'endiaStarman Which day had the most one box messages?
 
parseConvos is the main function you want to use, and it returns a dictionary with three elements. The most relevant one is the one associated with 'messages', which is a dictionary where message ids are the keys and the values are yet another dictionary, with three attributes: content, user id (uid), and user name (name).
 
@Poke That's pretty dang cool.
 
6:05 PM
@zyabin101 Can't tell you that yet - I haven't yet created a database with most or all of the chat transcript.
I can get data and calculate statistics for specific days.
 
@Poke the hardest part with Knuth-Pratt algorithm is when the character appears multiple times in the searching string
for example, if my search string was "aaaaaaa", and I found an "a", I'd be testing 7 different possible ending points
 
Who here likes an idea of a time zone census of PPCG users?
 
I'd be okay with it
 
@NathanMerrill I'm still confused by your comment on my Sandbox post. Given that the hole is larger than the end of the line, should I just keep the hole rectangular, so that line gets extended? Or should the hole have an indent in it? I suppose I could also adjust the hole definition so that it's allowed at the very edges of the text and that would eliminate the issue.
 
Seems like a Wikipedia search for all currently used timezones and a strawpoll would do the trick
 
6:14 PM
@DrGreenEggsandIronMan Answered your question.
 
@LeakyNun change what?
 
@quartata Full breakdown of oneboxes on July 27, 2016: 39 total, 25 posts (Meta/Main), 9 images, 4 YouTube links, 1 tweet.
 
@quartata Well, I tried to install the 3.4 version with 3.5 and the installer yelled at me. I haven't found the GitHub yet
 
Thank you very much
 
6:17 PM
@El'endiaStarman Hm.
 
1
A: Sandbox for Proposed Challenges

muddyfishPalindrome-inize a number Inspired by this code-review question. A palindrome is a number that reads the same backwards. 12321 is a palindrome but 81 isn't. Given an integer, while it isn't a palindrome, reverse it and add the two numbers together. 9 : 9 10 : 11 11 : 11 12 : 33 47 : 121 48 : ...

 
Ack. I completely forgot to check Christoph Gohlke's page. He has a 3.5 version too
 
@Sherlock9 That guy is amazing.
 
Isn't he just, though? :D
 
6:20 PM
Ping me here to add yours.
 
I check his page for Python libraries and Simon Tatham's page for neat little puzzles
@zyabin101 UTC+7
 
@zyabin101: How does daylight savings time work for your census?
 
@zyabin101 @zyabin101 Central European Time Zone
 
@mınxomaτ UTC offset?
 
I'm in US Eastern Time so GMT-4 in summer, GMT-5 in winter.
 
6:21 PM
@zyabin101 CET is UTC+1.
@hexafraction That doesn't change your timezone.
Just the local perception of time :D
 
I meant for conversion to a UTC+/-n value.
 
@muddyfish I only know it's a dupe that fast because I saw that Q on CR and thought it'd be a neat challenge as well.
 
@TimmyD lol Ok
 
@Sherlock9 @mınxomaτ Added!
 
6:23 PM
@hexafraction The offset to UTC is always constant. Only locally that changes. E.g. CET is always UTC+1 (but it might be +2 some time during the year in Germany).
 
Leaky Nun is UTC+8, I think. You may want to confirm with him though
 
Ah, OK. I was not aware of that. Thanks!
 
@LeakyNun Your time zone is UTC+8?
 
@zyabin101 EST, e.g.UTC-500
 
@hexafraction The daylight saving time in Europe has an extra time zone. So all CET becomes CEST in the Summer.
 
6:25 PM
Ah
 
> As of 2011, all member states of the European Union observe summer time; those that use CET during the winter use Central European Summer Time (CEST) (or: UTC+02:00, daylight saving time) in summer (from last Sunday of March to last Sunday of October). The exceptions to this are only to Algeria and Tunisia, which use Central European Time all year round.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Added!
 
@mınxomaτ web.de xD
 
@zyabin101 UTC+2
 
@MartinEnder It's my trash address.
 
6:27 PM
@El'endiaStarman care to talk about syntax?
 
that makes sense
 
@NathanMerrill Sure. What's up?
 
@TùxCräftîñg Added!
 
I'm trying to figure out the syntax for indicating traits for a class.
For example, indicating that an Int is bigger than 0
or in the range 0 to 4
 
halp meh
i need halp
 
6:29 PM
@DmitryKudriavtsev oxforddictionaries.com
 
@DmitryKudriavtsev Just pull up a chair and stand on it to reach the top shelf.
(Don't just ask for help, say what you need help with.)
 
I figured it was orthography.
 
do you like Int@min=0@max=4 or Int[min=0,min=4]?
 
@NathanMerrill Stop pinging me.
 
@NathanMerrill The latter by far.
@mınxomaτ Wait, you get pinged by stuff in code blocks?
 
6:32 PM
@El'endiaStarman what if I told you that not all traits have a value?
Int[unsigned,max=10]
 
@El'endiaStarman Yes. The @min
 
Golly is for android \o
 
@NathanMerrill I certainly prefer that syntax to putting @ in between traits.
 
@mınxomaτ Hmm, I wonder if I should stop using \ for functions in Pytek and use @ instead...then I can randomly ping people all the time! :P
 
6:34 PM
Isn't that technically a stealth ping.
 
@El'endiaStarman and what about Int[unsigned,max(10)]?
 
@mınxomaτ No, a stealth ping is one you can't see. Actually, did the code get highlighted?
 
the bonus is that I can pass multiple parameters to a Trait
 
@NathanMerrill Less preferable, but better than infixing @s.
 
@zyabin101 North American Eastern Time here
Which I believe is UTC -6
 
6:35 PM
@NathanMerrill Hmm, that would be nice to have.
 
so, you'd like Int[range=(4,5)] over Int[range(4,5)]
I guess its not that much more complicated
 
@NathanMerrill Hmm. Yeah, I suppose, but marginally so.
It might help you to write more pseudocode to see what style you prefer.
 
I bounced back and forth when writing my pseudocode
 
Golly crash when i fhange the state on my phone (strange char)_(idk how to fopy)
 
use Collections.*
use Optional.*

fun binarySearch(target: T)
        on (Ordered<T>,Indexed<Int,T>):
        Optional<Int[min=0,max=this.size]> {
    low = 0
    high = this.size - 1
    while (low <= high){
        mid = (low + high) / 2
        comparison = this.orderer(this[mid], target)
        if (comparison < 0){
            low = mid + 1
        } elif (comparison > 0){
            high = mid -1
        } else {
            return Some(mid)
        }
    }
    return None
}
 
6:40 PM
@BusinessCat Added!
 
the other part I'm unsure about is the on statement. (Its indicating that its an extension method for any object that implements both Ordered<T> and Indexed<Int,T>)
I'm not a huge fan of where its at
 
Also, Business Cat, do you want to work on MtG cards?
 
@NathanMerrill Maybe use for instead? Oh wait, no, that probably wouldn't be a good idea...
 
that was actually iteration 2
iteration 1 was ExtensionClass.funcName
but I didn't like that because the function name is more important than the class name
 
help me please, I need an idea for something to submit.
 
6:43 PM
I mean, I could do for. A for loop at that location makes no sense, so it wouldn't be ambiguous
 
I say ditch the "this" and have the container by a regular parameter.
 
@NathanMerrill Yeah, I did eventually realize that.
 
Also your return type seems to have a bug.
 
@feersum like python?
so, the first parameter is self?
 
@NathanMerrill No not like that.
Just a free-standing function.
 
6:45 PM
oh, right, it could totally be a free-standing function. I definitely want extension methods, so I need a syntax to support it
 
What would you do for an algorithm that uses two containers?
It wouldn't naturally belong to one of them.
 
any sorted List<> would implement the two interfaces
@feersum what do you mean by this?
oh wait, I realized a bug in my syntax
 
Wait, does max 10 mean the highest is 10 or the highest is 9?
 
6:49 PM
Never mind then.
 
Ordered is a trait, not an interface.
 
In general ranges are [x..y)
 
so, it should be on (Indexed<Int,T>[ordered])
hmmm
that doesn't make sense
 
@TùxCräftîñg Well, that's Pytek syntax for ranges, yes.
I haven't seen it much elsewhere.
 
@El'endiaStarman neoscript use a variation of it x:(step=1]:y
The step is opyional
 
6:54 PM
@TùxCräftîñg That's so different you can't call it a "variation".
 
bah, I need someway to collect parameters on traits
 
Its easy to parse
Hrb
 
my first thought was to do on (Indexed<Int,T>[orderedby=U]), and then use U.orderer, but that doesn't make sense because U isn't a type
 
@NathanMerrill Do you know C++? The things you are getting at are very much like the STL.
 
6:58 PM
@feersum oh, I know
and I understand the basics of templating
 
The C++ binary search algorithms also support searching for an object that is a different type from the list elements, which is often useful.
 
@fe
I'm not really familiar with C++'s advanced features.
How do you write a lambda function and assign it to a function pointer?
Also, are there map literals?
 
@feersum we're talking searching in an int array for a double?
 
@mınxomaτ what would this entail?
 
@NathanMerrill Yep.
 
7:02 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ git.io/podprop
 
@DmitryKudriavtsev Two letters isn't enough.
 
void(*f)() = []{};
 
umm wat
How do you call this function?
 
7:03 PM
f()
 
*f(1,2)
**
???
You don't need to dereference it?
 
No.
 
That is very strange.
 
@feersum functions arr pointrr
 
You can only assign directly to function pointer if the lambda has no captures though.
 
7:04 PM
Huh wrong ping
 
When were lambda functions introduced?
 
@mınxomaτ cool, thanks. I'd love to join my internet is unpredictable & microphone sucks. Look forward to listening to it though!
 
What was introduced in C++14?
 
but, in comparison to C++'s type system, traits are going to be a bit different, because they can be implied, and don't need to be declared. For example, performing a test a > 0 implies that a has the Unsigned trait inside the true condition
 
7:06 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ The internet connection is not relevant for the recording and there are hardly any really bad microphones.
 
@mınxomaτ Tell that to my POS microphone
 
@mınxomaτ "A stable enough internet connection so that while the conversation is running, you can be understood"--my internet drops randomly.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Join per phone then :D
 
oooo not a bad idea
I'll think on that
 
I can even set up a tollfree number.
 
7:08 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ @mınxomaτ what are you talking about?
 
4 hours ago, by mınxomaτ
@Everyone: Drop me a short mail at squarecode@web.de if you'd be interested in being a part of a PCCG/Coding podcast. Also include any topics or other ideas you might have.
 
@DmitryKudriavtsev git.io/podprop
 
the only thing I could talk sensibly about is language design :P
 
I'd really like to have that link the in the starred message, but can't edit it anymore.
@CᴏɴᴏʀO'Bʀɪᴇɴ Who said anything about sensible :D
 
7:09 PM
@mınxomaτ ask a mod to eleven it in
@mınxomaτ :D
 
@mınxomaτ (real ping :D) I prefer listening to 2 guys talk instead of 5. I find its harder to keep track of more than 2 or 3 people. I'd be totally ok if the 5 rotated though.
but, that's just a personal opinion
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Eleen it in?
eleven*
 
@mınxomaτ Want me to edit this into the starred message?
 
@El'endiaStarman Yeah, maybe to this: "Please visit git.io/podprop if you're interested in being a port of a PPCG/coding related podcast."
 
@zyabin101 When @BusinessCat said North American Eastern Time, I think they meant Eastern Standard Time, which is UTC-5
 
7:15 PM
@mınxomaτ Done. And I fixed your typo while I was at it. :P
 
@DmitryKudriavtsev sorry, kind of a meme. "Mod abuse 11" is when a moderator edits a message to say something else. Abuse here is more sarcastic than anything else. To "eleven" a message is for a moderator to commit "mod abuse 11"
 
@El'endiaStarman You missed the http
 
Shoot.
Better?
 
weird
does your avatar go "away" when editing a message?
 
@El'endiaStarman Perfect. Thanks
 
7:17 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ o.O
 
in The 2nd Monitor, 13 mins ago, by Hosch250
in VBA Rubberducking, 1 min ago, by Comintern
0
Q: Best practices for being a StackOverflow jerk?

Alan CasallasI'm new to StackOverflow and have been told by my colleagues that the users of this site are "mean" and "jerks", especially to new users. Since I would like to properly integrate myself into this community, what are some good practices to correctly be a jerk on StackOverflow?

3
 
@Dennis Could you pull Grime again, please?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Oh, it's because my last chat activity was hours in the past.
 
hai
 
oh, that makes sense
that's quite humourous
 
7:19 PM
With this update, I can finally do path-finding in Grime!
 
@mınxomaτ I posted in the 2nd Monitor. They seemed busy though chat.stackexchange.com/transcript/message/31352169#31352169
 
@Sherlock9 Edited.
 
@Zgarb sweet, what did you change? :)
 
@Phrancis hallo
 
@MartinEnder I added context brackets, which allow you to look outside a rectangle to determine whether it matches.
 
7:28 PM
@Phrancis Can someone with enough SO rep post a screenshot?
 
@Zgarb interesting :) ... are you going to answer the Mario challenge to showcase it?
 
@MartinEnder I might do that tomorrow, it doesn't look too difficult.
 
ping me when you do :)
 
Will do!
 
7:29 PM
I was looking through our 2D pattern matching languages when I did Snails and Slip, but decided I couldn't be bothered to formulate this as a problem on rectangles :D
 
@mınxomaτ Besides Code Review, in what other parts of SE could I search for possible contributors or listeners? Programmers.SE?
 
Hi eveyone
 
Hello
 
@quartata working on it
 
7:30 PM
@MartinEnder I think the Mario challenge was actually impossible in Grime before this update.
 
Oh, good thing I didn't try then :D
 
Too bad the Mario challenge spec is still broken.
 
Alright, time to sleep now. I have an early wake-up tomorrow. G'night!
 
night! good luck on whatever it is tomorrow!
 
@Sherlock9 I think we should start with participants from this site first. Give it a day or two so we can hit all time zones.
 
7:36 PM
Fair enough. I would like to make that summarized message though. Just so we get the basics across quickly
 
I'm just checking in cuz I'm in india, first time I've got a computer in forever, (and I'm on dial up atm) anything exciting been happening round here lately?
 
If that's okay with you
 
@Maltysen we got our design, it looks exactly identical to the beta design except if you stare at it for ten minutes the title font changes
12
It's a bug apparently
 
@zyabin101 @Maltysen is in India. I believe that's UTC+5.30
 
@Maltysen well, we each got a free million dollars, but only while you were gone
 
7:37 PM
@Sherlock9 Sure, still link it though.
 
@mınxomaτ got my email?
 
@Sherlock9 I think he's implying he's travelling
 
@Sherlock9 I'm not sure that's where they live. Could just be a visit.
 
@muddyfish Yeah. If you have a github acc, can you comment or star the Gist so I can keep track?
 
@mınxomaτ done
 
7:39 PM
yay
 
@quartata wow ours must be the first se design to use webcams and facial recognition :P
 
@Sherlock9 Added.
 
Right. @zyabin101 Never mind that last post
Ah double check with Maltysen
 
@Maltysen Your time zone is UTC+5:30?
 
@quartata I am traveling, but gonna be here for a while
 
7:40 PM
@quartata ahh, did they not tell us when they removed the beta sticker?
 
@Maltysen I'm amazed that you're keeping the se chat websocket alive over dialup
 
@zyabin101 I know that it's either 10:30 or 9:30 off of est depending on daylight saving, 9:30 atm
 
A harry potter sequel is going to be released in a few days! o_o
 
The podcast message that The 2nd Monitor has pinned
 
And iirc, est is 5 off of gmt, so that sounds right
 
7:42 PM
Once again, apologies for being a little gung-ho about this, @mınxomaτ
 
@Sherlock9 what's happening?
 
Well, zyabin is doing timezone census. You mentioned India and I jumped to the conclusion that you lived there. Whoops
 
Oh, I'm est
 
@Phrancis Aw, not enough rep. discards popcorn
 
@Maltysen And minxomat wants to start a podcast that related to PPCG and coding in general. I extended an invite to the 2nd monitor on the same day
 
7:44 PM
That sounds fun
Would ppcg people be talking in it?
 
@Sherlock9 I'd be totally up for that if that didn't mean I had to talk and expose everyone to my bad mic quality and noisy computer fans
 
@quartata Well, if you can get a decent place to record from (your phone, perhaps), let minxomat know
 
@Maltysen Yeah, PPCG and CR people apparently. Sounds like trouble if you ask me
 
in The 2nd Monitor, 20 mins ago, by Phrancis
Can someone with enough SO rep take a screenshot of Best practices for being a StackOverflow jerk?
 
user image
8
 
7:50 PM
perfection
 
eww, black
 
@Doorknob oo nice theme
 
Beautiful
 
> we need more help to keep up with the trash; welcome on board.
lol
 
@Sherlock9 Nice.
 
7:55 PM
@Doorknob where did you get this stunningly gorgeous "skin" for Stack Overflow?
 
@Phrancis I wrote it! It's fairly comprehensive; it covers all SE sites, chat (i.imgur.com/AAMzzYV.png), and some other stuff. I'm working on polishing it up and then I'll probably post it on meta or something, but for now it's in my dotfiles repo
@CᴏɴᴏʀO'Bʀɪᴇɴ thanks :)
 
@Doorknob Post it for a code review at some point :D
Oh noes, it's all CSS D:
How do you make it work? That needs a README pretty badly:)
 
@Phrancis Oh, there's a tiny JS userscript that you have to use as well (so that site-specific themes are removed)
@Phrancis Psh, I'm not documenting my own dotfiles. :P It'll all make much more sense once it's done
 
I'm glad that there's another chat room on the network that knows how to use stars
 
8:01 PM
> use
 
More like abuse
 
@Doorknob I think you're missing your .mutt/password in that repo
While you're at it maybe throw in your /etc/shadow
 
@quartata oh thanks I'll fix that right away
 
8:02 PM
np
 
I've never seen a message get 31 stars in the 2nd Monitor
Dang
 
I think I forgot my SSH private key too, so I'll throw that in while I'm at it
 
That would be nice, thanks.
 
Well, if you guys want more viability on the CR side of things for this podcast (star this):
 
@syb0rg This chatroom actually has the message with the most stars network-wide (including SO) last I checked
 
8:03 PM
What about your stackexchange password?
 
@Doorknob Ah ok. Where is that userscript?
 
@Doorknob What message is it? That one?
 
@syb0rg no, 88 stars
 
@Doorknob Ooh, can you throw in your nethack.alt.org password too?
 
@Doorknob I can't star it :(
 
8:05 PM
2
Q: Teach me how to add!

DopappEveryone knows how to add numbers by hand, right?––Well, I hope so, but for anyone who needs a quick reminder: To add 17282 and 1342, you proceed as follows: place the larger (value wise, not number of digits) number above the smaller number and match up the digits 17282 1342 draw the plus ...

 
And a few bitcoins maybe
 
@Doorknob LOL
 
@Phrancis It wasn't anywhere public; threw it into a Gist
 
Anyone recommending any comic books/graphic novels?
 
@flawr English?
 
8:08 PM
@Doorknob That userscript broke my everything :(
 
@muddyfish German is ok too.
 
@Phrancis I know, it only works when you have the userstyle installed as well haha
It just removes theming on every site and chatroom
 
Such complicated
 
There's no better way to do it though
 
It did strip all theming, so that's that
 
8:09 PM
@flawr Sandman by Neil Gaiman, Persepolis by Marjane Satrapi, and Maus by Art Spiegelman for traditional graphic novels. I also have a bunch of webcomics I can recommend to you
 
ok, here you go
 
Are there any C gurus here?
 
@flawr I like goblinscomic.org if webcomics are ok
 
@Doorknob Weak. I have mine memorized
 
So do I, of course
 
8:11 PM
I do have a password store for less commonly used passwords though
 
wait, you have a password for nethack?
 
"The Far Side" (Gary Larson) comics are good if you are into sarcasm (and physical books)
 
@NathanMerrill For playing online at NAO? yes
@Phrancis rip far side never forget
 
oh, ok lol
I thought it was a local version of nethack
you never know, those crazy hackers might just want to kill some time by playing your game of nethack
2
 
I mean, Doorknob might have encrypted his save/scores
I hear he's really working hard on that beard
 
8:13 PM
@Sherlock9 Thanks!
@muddyfish Thanks!
 
Well, I have a list of about 30 webcomics that I can recommend now or narrow down first. Comics that I check regularly
Would you prefer the whole list or should I condense it first, @flawr?
 
@Sherlock9 Well my problem is that when I open my list, it already touches almost the bottom of my screen =/
 
@quartata ikr
 
So I'll probably need a bigger screen.
 
Hm, that's a problem
 
8:17 PM
Didn't we already exchange our lists at some point?
 
Let me post it for anyone interested, and we'll see if there's overlap
Comics that I check regularly: Gunnerkrigg Court, Girl Genius, Dumbing of Age, Schlock Mercenary, Archipelago, PVP, Table Titans, Paranatural, Octopus Pie, Questionable Content, Woodson, Widdershins, El Goonish Shive, It Never Rains, Skin Deep, Something Positive, Star Power, Freefall, Grrl Power, Kiwi Blitz, Leftover Soup, Between Failures, Blood Spattered Socks, Monster Pulse, Monsterkind, xkcd, Cucumber Quest, Pin Porter Girl Detective, How to Be a Werewolf, and Panthera
 
A few months ago or so?
 
@flawr I thought so, but I don't see it in the transcript
 
@Sherlock9 You should add SMBC to that list :D
 
Queen of Wands comic is best comic.
 
8:17 PM
Let me look again
@Doorknob I should, but it has been a while since I could binge read, and that list is only the comics that I have read most or all of the archives and read regularly
SMBC is at, what, 3000 comics now?
 
@Sherlock9 do you have some sort of aggregator?
 
I check them one at a time like a pleb :D
 
so you have a huge list of links oO
 
@Sherlock9 Want mine too?
 
@flawr Well, it's not in the transcript. Did we share lists in Discord chat perhaps?
 
8:20 PM
@Sherlock9 you should regularly check mine once I figure out a good system for posting them
 
Yes, please :D
@CᴏɴᴏʀO'Bʀɪᴇɴ Noted
 
Also, my brother's comic should be on there, but he hasn't posted in a while
 
@Sherlock9 I've never been on discord
 
Hrm. That's weird. Well, if you want to post your list here or in pastebin or something, I'd be happy to check them out in the morning
 
8:25 PM
how do I reverse an init made by git?
 
Belated @flawr
 
@CᴏɴᴏʀO'Bʀɪᴇɴ rm -rf .git
 
@Downgoat oh thanks
 
About posting your comics, Conor. Have you considered any of the following comic hosting sites: SmackJeeves, Comic Fury, Tumblr, The Duck
 
@Sherlock9 And I'll never be
 
8:26 PM
@Sherlock9 never heard of them. was going to host on github >_>
 
@Sherlock9 a gist with a html-y list (didn't know any other way to export)
 
@flawr Ah well :D
At some point, I'll give you a gist of the above comics (maybe a few additions/deletions) with links
 
I just didn't know any other way to export them
 
Well, I just figure I should give you the links somehow. Here I just dumped all the names on you :P
 
8:49 PM
how do I checkout the gh-pages branch like a normal branch?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ git checkout origin/gh-pages?
 

« first day (2007 days earlier)      last day (2840 days later) »