« first day (1646 days earlier)      last day (3198 days later) » 
00:00 - 08:0008:00 - 23:00

12:45 AM
@BrainSteel Are you still tutoring someone in geometry?
 
1:12 AM
I am! We resume on Monday. Wherefore do you ask?
 
Where? Right here. In chat.
 
Wherefore
 
Wherefore? Idk.
 
This should be the last week.
 
At the end of the week her brain will reach critical mass.
When does your fall semester start?
 
1:21 AM
I think I've got 2 weeks before then.
 
Looking forward to going back?
Taking anything interesting?
 
Of course! :D 3 math classes, 2 Electrical Engineering, 1 Aerospace.
 
What are the course titles?
 
Intro to Complex Variables, Elementary Geometry, Intro to Advanced Mathematics, Intro to Quantum Computing, Circuits II, Statics
 
Sounds awesome. :) I always wanted to learn about quantum computing. (And computing in general--I've never taken a CS course. >.>)
I loved complex variables.
 
1:25 AM
I'm very excited for that course. I'm pretty surprised you haven't taken any CS, but then again I haven't either. I wonder how many PPCG users haven't taken any of those courses.
 
Probably Doorknob, he's not college age yet.
I was actually briefly in a CS master's program but I dropped out in the first week, haha. Tuition was nuts and I got into the stats master's program that I really wanted.
 
What CS course? That's great! (Even if it is statistics :P )
 
If you don't like statistics, it's probably because you haven't had a good professor for it. Trust me, it's awesome. B)
It was data structures and algorithms, first in the master's program.
So I vaguely remember big O from that one week, but that's it.
 
I may not have taken any statistics courses at all and be biased for no reason...
 
ಠ_ಠ
 
1:33 AM
I get the impression that Statistics involves numbers, and that's kinda icky, you know?
 
It doesn't have to.
 
Really? Is there a such thing as theoretical statistics? :P
 
Yeah!
All stat degree programs that I've seen require as many theory courses as applied courses.
(Except for my applied statistics master's program, which is more skewed toward applications)
 
That sounds interesting, actually. I like probability a lot, but I've never been a big fan of number fitting and crunching and analyzing.
 
That's the applied piece. The theoretical piece is grounded in probability theory and extends from there.
Proving the Central Limit Theorem was a fun exercise in undergrad.
 
1:37 AM
For a while, my sister was doing research in Philosophy of Probability, which is fascinating. I cannot wait until I take some good probability classes :D
 
Philosophy of probability sounds super awesome.
A friend of mine got me a book called Theory of Reality: An Introduction to the Philosophy of Science by Peter Godfrey-Smith.
Looking forward to reading it.
 
It was a lot of talk about the assumptions we make when we apply probability to the real world and how they could all theoretically be wrong, and there would be no way to definitively tell. Very odd.
 
Yeah.
 
And then playing with different models to see how drastically results change.
 
I distinctly remember my professor saying once that "the only events that occur with probability 1 are those which have already happened." So nothing is ever guaranteed to happen unless it already happened.
 
1:42 AM
That's a cool saying! I like that a lot.
 
Since that was spoken by a professor of statistics and you enjoy that, clearly you should enroll in a statistics course ASAP. :P
 
Flawless logic!
There's a minimum of one stats course required for an undergrad in math here, so I can't get out of it ;P
 
Excellent.
All is going according to plan.
 
It's looking like it will be Probability Theory.
 
That's a stats course?
 
1:46 AM
I think so. I'm pretty sure I checked at one point.
 
Huh. IIR that was in the math department at my university.
On an unrelated note, are you ever going to come play Minecraft again? :P
 
I know there's a Matrix Theory course which seemed interesting too, and I definitely remember that one counted as stats.
 
What?
Clearly they have no idea what stats is.
I mean, yes, matrices are crucial for statistics, but that should definitely be a math class.
 
I tried to find the least stats-y courses in the statistics department, so there may be a bit of a bias in my data.
 
|:[
 
1:49 AM
And yeah, I intend to come back at some point. I have plans.
 
You'll have to be re-whitelisted.
 
Haha, I got kicked out?
 
Calvin un-whitelisted inactive users.
So when you want to come play again, just ping Calvin in the PPCG chat room and he'll reinstate you.
 
It sure has been a while, hasn't it?
 
Haha it really has.
 
1:53 AM
It's on my list of things to revisit for sure. I'm trying to focus on getting my Genetic Programming thing to work with matrix calculations at the moment.
 
That sounds more interesting, honestly.
 
It should be done by now. But after rewriting matrix allocation and management routines four or five times, it's gotten annoying. Interestingly, the 1-year-of-development milestone comes up in 11 days.
 
Why write your own matrix allocation and management stuff? For shits and giggles? You could just use Armadillo.
(I assume you're using C++)
#include it then magic happens.
 
It's written in C. And I have to do it in a specific way for two reasons: 1. It's GP, so if something can break, it will break. So I have to make sure everything is absolutely bulletproof from every angle (hence most of the problems). 2. It's slow enough already, so I'm putting some intense optimizations for speed in with kind-of-atrociously-bad memory usage stats, which I doubt most people do by default.
 
What's this for?
 
2:03 AM
Well, right now it's recognizing stop signs.
 
Uh. I... what?
 
Err... Trying to.
 
Like you're writing an image processor that will identify whether a stop sign appears in an image?
 
Well, I'm making it try to figure it out on its own, you know?
 
I don't
 
2:05 AM
It doesn't either, unfortunately.
 
Hahaha
 
I decided images were kind of big matrices, so maybe... If it can work with matrices, it can manipulate the data easier and have a higher than 75% accuracy at detecting stop signs.
 
> I decided images were kind of big matrices
I'm pretty sure that's just a fact. ;)
 
Yeah, it wasn't a super original thought :P
 
Haha. Well it sounds like a cool project!
 
2:13 AM
I'll let you know if I stumble upon something that magically starts working.
 
Okay
 
2:28 AM
I just spent 5 minutes watching some guy in Bangalore make a really big dosa. Sigh, Facebook.
2
 
lol
 
I have a very love/hate relationship with the Internet.
 
love watching that dosa getting made, but hate losing those five minutes watching someone make dosas?
 
Yeah, that about sums it up.
After about 4 minutes I was like, "why am I watching this. Whatever, it's almost over."
 
can I have the link? I basically have to watch it now.
 
2:34 AM
@BrainSteel & @Doorknob : Get in on this dosa action. ^^
 
-_-
 
Must be all of the PPCG folks rushing to watch the dosa at once.
Let me see if I can find a non-FB link
 
well damn! I though that was going to be 3 moderately sized dosas but then he like filled in the gaps.
 
Haha all I had to do was search YouTube for "big dosa"
I'm also curious as to whether "world big dosa" is supposed to mean "world's biggest dosa"...
@Doorknob ^
 
I am confused but entertained.
 
2:42 AM
What's to be confused about?
It's a very large dosa.
World big dosa, if you will.
 
@AlexA. I can imagine that being a term in the large dosa community :)
 
There's a dosa community? That sounds delicious. Where do I sign up?
 
I did not know what a dosa is until today.
 
:O
Do you like Indian food?
 
Sure, although I don't eat much of it.
 
2:44 AM
Granted, I've never had a dosa, but now I know the secret to making a really big one.
 
@AlexA. I am now obligated to make a forumotion for large dosas
 
What is a forumotion?
Also @Doorknob, @Maltysen, and @BrainSteel, do you guys have a favorite nationality of food? Mine is Thai.
 
Uhh, I don't know. I like Italian food, I guess.
 
Italian food is good.
 
I don't know that I have a favorite nationality of food, but my favorite ethnic restaurant was in fact a Thai place.
 
2:48 AM
Good answer.
+20 points to @BrainSteel.
 
Vietnamese food is tasty
 
Yes it is.
I haven't made pho in a long time. I should make it again.
 
I concur. I'm a little surprised Alex doesn't say his favorite food is 'Murican.
 
I went to Vietnam on vacation once, and my parents and I went to a cooking class. We made all sorts of Vietnamese foods and then ate them and it was awesome.
 
@Doorknob Next time you go on a family vacation somewhere with food, you should invite me.
@BrainSteel Hotdogs, mayonnaise, and corn syrup? Nah, not my thing.
 
2:51 AM
Hotdogs are amazing. Mayonnaise is okay. I'm tired of corn syrup.
 
Incorrect.
-10 points
 
Though, I will forever hate a mayonnaise a little bit because it made me get 2nd in a spelling bee :(
 
D:
I'm almost 25 and I still have to think carefully every time I type "mayonnaise."
(Then again, I also count on my fingers.)
 
I was in 8th grade and guessed that it only had one 'n'.
 
That's the kicker.
 
2:54 AM
Can I have those 10 points back then? :D
 
> Hotdogs are amazing.
Nope.
 
They're not my favorite meat on a bun by far. Hamburgers are better. Bratwurst is better. I just think hotdogs are an American staple and good food in their own right!
 
+2 points for conviction.
 
What are these points for, anyway?
 
2:56 AM
12 mins ago, by Alex A.
There's a dosa community? That sounds delicious. Where do I sign up?
 
@Maltysen hahahahaha
 
now you can
 
@BrainSteel -1 point for questioning the points.
 
I'm starting to think these points are worthless. Then again, I spend a lot of time hunting useless points on this site, so how is it any different?
 
They not be worthless in the long run. Currently you're at 11.
 
2:59 AM
I mean, what? That totally wasn't me.
 
Door...bell? Certainly that can't be you. I wonder who that could possibly be.
 
hahahaha
 
@AlexA. If I say Ruby is my favorite programming language, do I get more points? For some reason, I want them.
 
Since when is Ruby your favorite?
I thought C was.
 
Since you started handing out points...
 
rofl that username
 
:)
 
I suppose I shouldn't expect maturity from a forum about large dosas.
 
I wouldn't say that it's specifically because of large dosas.
@Doorknob Oh look, someone replied to Doorbell
 
I'm being impersonated on the Internet! I'm famous!
 
3:08 AM
What?
 
> reel nam Brian Steele
 
Haha oh, I thought you meant this.
 
@BrainSteel no that was
 
AHHHHHHH!
 
Brian Steele is an American actor who is well known for commonly playing monsters and creatures on television and in films. == Career == 2006-2014 Steele portrayed Sasquatch in over 40 Messin' with Sasquatch Commercials for Jack Links Jerky. On television, Steele played the Bigfoot called Harry in the series Harry and the Hendersons before moving on to play creatures in theatrical motion pictures, with roles like Mr. Wink in Hellboy 2: The Golden Army wearing over 130 pounds of makeup. Steele has portrayed Dark Overlord of The Universe from Marvel's Howard The Duck, Drake Beast in Blade: Trinity...
 
3:10 AM
I've been impersonated twice. I suspect it may be the same person.
 
nah you're just that famous
 
You've gone on record claiming that your true identity is in fact not Brian Steele.
 
Yet no one believed me.
What if I was Brian Steele?
Would I get more points?
 
Haha
+4 for reason
 
Yay 15! I'm rich!
 
3:13 AM
wait you've been counting?
 
There's a video thread
I'm crying from laughing
 
Of course I'm counting. These points are my life now.
 
+5.
 
I hope you upvote things as willy-nilly as you give me points.
 
I do not.
-1 for claiming my point awarding system is wilson nelson.
 
3:23 AM
I go through the 5 stages of grief every time you subtract points.
 
@Doorknob I actually watched that other dosa video all the way through. :/
 
If you go by view count on our forum, it looks very much more popular than it is.
 
@BrainSteel +1 out of sympathy.
 
Yay!
20!
 
My girlfriend is out of town for the weekend and I sent her a link to largedosas. Her response:
> What the heck is this
I don't know why I expected anything different
@xnor keeps leaving the room and rejoining. I wonder if he's waiting for us to stop talking about dosas.
 
3:25 AM
@AlexA. do i need to go back in the chat or can i get a tldr?
quick: explanation golf!
 
Haha
57 mins ago, by Alex A.
I just spent 5 minutes watching some guy in Bangalore make a really big dosa. Sigh, Facebook.
 
i saw that, but there's a forum?
 
It all goes downhill from there.
 
this raises more questions than it answers :-)
 
At least it's golfy!
 
3:28 AM
well done, I'll count that as English, 65 bytes
and make my way out...
 
We're up to 10 guests!
 
I don't know how to react to that!
 
That means on average, they've viewed World Big Dosa 102 times each!
 
Why would anyone do that?
@xnor In case you feel like wasting your life, here is the video that started a revolution.
 
Write a program that predicts how many people are needed to carry a dosa of a given size.
4
 
3:32 AM
Haha did you watch that one too?
 
Of course. It was riveting.
 
The audio was humorously distorted
 
And loud.
 
@BrainSteel Wouldn't it be safer to carry a ?
 
Well, they seemed to carry it
 
3:34 AM
Did they? I might need to rewatch.
 
Oh dear, I hope I'm right.
 
We might be talking in opposite terms about the same thing.
I mean carrying with your hands underneath
Isn't that ?
Or is it because the is over your hands?
 
I always consider it if your hands are higher than your shoulder.
 
3:37 AM
> with the hand over the object
^ adverb
@NinjaBearMonkey Have you been bitten by the dosa bug yet?
 
> ... performed with the hand raised over the shoulder;
 
Let's just say there's more than one way to carry a .
dಠsa
How long do you think we could maintain a tag before one of the mods destroys it?
We might need our own SE beta site. largedosas.stackexchange.com
 
cooking.SE invasion!
 
And of course now I have to search cooking.se for dosa references.
 
0
Q: Minimum changes required to make a given array strictly increasing

Ujjwal PrakashI am trying to solve this problem of SPOJ http://www.spoj.com/problems/DOSA which is also a question of some interview. My logic is from the given array take the elements which satisfies a[i]>i (0 based indexing) since others always need to be changed. Now find the Longest Strictly Increasing S...

> Problem Statement : Lalith is going to have dinner and he has N dosas in front of him with their prices represented by sequence of integers a1,a2,a3...an.

And he has decided to eat in a different manner . You are free to replace the price of any dosa with any positive integer.
 
3:48 AM
WAT
It's too bad that's SPOJ, otherwise we could make a tasty challenge.
 
4:07 AM
Is it preferable for golf languages like Pyth and CJam to print outermost expressions by default (implicit print) or explicit print? It seems advantageous for very programs (~<20 bytes) but I could see a disadvantage for longer answers when some printing needs to be cancelled (ie. intermediate steps)
 
@Sp3000 well, taht would obviously be wrong
I've updated my answer, is it still broken?
 
If you mean your update from 3 hours ago, it still seems to give 11
 
oh
by the way it's not a reference answer
just something I made
 
@grovesNL For a stack-based language such as CJam, the implicit print is definitely better. Having to print every bit of output can take a lot of characters, while erasing the entire stack only takes two.
 
The fact that it's 11 in particular makes me wonder whether your program finds [1, 2, 4, 4] instead, being >= instead of > or something
 
4:11 AM
@Sp3000 that was it
 
@grovesNL Note that CJam, unlike Pyth, implicitly prints once, after the program has finished.
 
Pyth, unlike most golfing languages, is actually imperative
 
@Dennis: How can we decide which variable is useful to be implicitly printed? I've looked at Pyth's source but it doesn't seem straightforward. I'm guessing CJam prints the stack?
 
@grovesNL Pyth is imperative, any top-level expression gets printed, apart from some exceptions (like assigning variables)
you can disable implicit printing by leading the expression with a space
 
@grovesNL Yes, CJam prints the entire stack.
 
4:15 AM
Thanks. I've made some steps towards a new language that compiles into Javascript but the implicit printing is something I'm struggling with
I was thinking about using the outermost expression contained inside a non-printable operator (such as a 'for' loop etc.)
I could take an approach similar to CJam and only print any variables that were used in the program (at the end), or move up the tree until I hit non-printable operators and print everything contained within it. It's really tempting to go the CJam route but I can see disadvantages with that approach (ie. printing every iteration of a loop)
 
All depends on how exactly the language works. In a for loop, sort(A) should get printed implicitly, but x=sort(A) and A.sort() (modifies A) shouldn't.
Trying to mimic the behavior of a stack-based language probably isn't tye best idea. CJam doesn't print any used variables, but what has been left on the stack. Normally, you leave something on the stack because you are going to use it later or you want to print it.
 
My initial thought was to flag each operator with a printable:true/false. As the expression tree is parsed, the implicit print is assigned is moved upwards until a printable:false operator is hit
 
Variables (and items that have been popped from the stack) are usually intermediate results and do not form part of the desired output.
 
That was my general train of thought but there are some cases in which it's valuable to print the intermediate assignment... that's where I'm stuck
41
Q: Make the Mexican Wave

PyrrhaIn as few bytes as possible, write a program or function that outputs the following: Abcdefghijklmnopqrstuvwxyz aBcdefghijklmnopqrstuvwxyz abCdefghijklmnopqrstuvwxyz abcDefghijklmnopqrstuvwxyz abcdEfghijklmnopqrstuvwxyz abcdeFghijklmnopqrstuvwxyz abcdefGhijklmnopqrstuvwxyz abcdefgHijklmnopqrstuv...

 
4:30 AM
@grovesNL I can suggest you to take a look at my Pyth5 implementation
 
@grovesNL For most approaches, after converting one of the letters to uppercase, you wouldn't save the result in a variable for thr next step, but start over using the original string.
The "if it hasn't been saved in a variable, print it" approach would work out nicely here.
 
@Dennis: Yeah I guess that is true. It seems like I need to use some logic like @orlp's implementation (in parser.py) to determine whether the operator is not printable
What do you think about the case when the program explicitly prints? Should I disable the implicit print entirely at that point, or leave both prints enabled? Obviously p"Hello world" should only print once, but something like 3 p"Hello world" (should the 3 be printed)?
 
@grovesNL the implicit print is decided for every expression
3p"Hello world" is two expressions, a 3 followed by the print
the 3 is implicitly printed, but the result of the print is not
 
So Pyth prints both 3 and Hello world in this case? I am basically wondering if it would be beneficial to disable implicit printing if p is used at all
 
@grovesNL yes, both are printed, and no that's not beneficial
 
4:43 AM
@grovesNL Definitely leave both enabled. What's that 3 doing there if you don't want to print it. ;)
 
Yeah I think that's true
 
As I said before, x=3 p"Hello world" (or whatever syntax your language uses) would be different. But if information is "lost" if not printed, printing seems the sane choice by default.
 
in Pyth5 there are 3 operators that do not autoprint
 
Ok, so the approach I considered (looking at the current expression and checking whether the parent is printable) seems reasonable as far as I can tell
 
p (print without newline), = (assignment), ~ (post-assignment)
although honestly one of ~ and = should probably print
 
4:47 AM
What about the double assignment operator?
 
@grovesNL what do you mean?
 
I forget the symbol.. hold on
A
It's assign pair, not double assignment
 
@grovesNL not implemented in Pyth5, not sure if it'll make a return
 
Oh ok, so Pyth5 may have different behavior than Pyth?
 
@grovesNL Pyth5 is quite different from Pyth
 
4:53 AM
Ah. What is the significance of the 5?
 
@grovesNL that the current version of Pyth is 4 :)
 
@orlp: Fair enough
 
Hello
 
@BassetHound: Hey, what's up?
 
Not much at all.
@grovesNL oops
 
5:06 AM
@BassetHound: Welcome to the chatroom/PPCG :) looks like you're already doing great with CJam
 
@grovesNL Thank you, I appreciate it!
Is there a good tutorial on it I might be able to find? I read one and it only explained basic commands, and I see other people using unknown ones that might be useful.
 
@BassetHound: The most useful reference I've found is sourceforge.net/p/cjam/wiki/Home
 
Okay, that's it, time to start writing the next part D:
 
:) looking forward to it
 
5:17 AM
@Dennis That's what I've been looking at, and it's been a good help, I'd just like in-depth information on other commands.
 
@BassetHound Give me a day :)
 
@grovesNL Is there a more detailed version of this?
@Sp3000 Oh, alright, thanks.
 
@BassetHound: Unfortunately not yet. @Sp3000 wrote it
 
@grovesNL Oh, thought it was made by aditsu.
 
@BassetHound If you have a specific question about some command, you can always ask here.
 
5:21 AM
@BassetHound: aditsu wrote the language, @Sp3000 wrote the tutorial
 
^^ Ditto Dennis, asking here is usually the fastest way to get answers
(assuming chat's not dead)
 
Alright, thanks
Is there a better way in codegolf.stackexchange.com/questions/54137/… to read and be able to do things with the input? It seems to me that it could be shorter, but I don't exactly know how.
 
Rather than have so many rs, you can do something like lS/ (read and split by space)
That'll put them all as strings in an array, then the question is how you want to handle the direction separately
 
@Sp3000 How would I get the integers back out of the array?
 
5:44 AM
Hmm you can do something like lS/_2=a-:i, which drops the left/right argument and puts the rest into an array as ints
 
@BassetHound r;q~@=@@-z)@d/"jump "\+"duck"? is more or less equivalent to your approach.
 
^^ or listen to Dennis :P
 
The question allows to reorder the input, so you can take the string as first argument.
 
.. oh, it's mentioned in the comments. Right.
 
Alright, thanks @Dennis.
 
5:54 AM
@BassetHound I'm not sure if adding 1 to the numerator is enough though. Adding .2 to the fraction is probably better.
 
6:44 AM
@Sp3000 Did you have a look at my latest question?
13
Q: A fiercer four-square cipher

DennisBackground One-hundred and thirteen years ago, amateur cryptographer Félix Delastelle published his work on the four-square cipher, a digraphic substitution cipher that accepts two permutations of a 25-letter alphabet as keys and encodes messages consisting of those letters. Like most pen-and-p...

I'm still waiting for a CJam answer. :P
 
I took a look but couldn't come up with anything good immediately - been TIS-100ing all this time
Having said that, if I did answer it'd probably be in Python first
... this whole set thing is a lot more suited for CJam, isn't it :/
 
As long as it's not a third Pyth answer, go for it. Nothing against Pyth, but I'd like to see a little more variety.
 
Well, you wouldn't have to worry about that part :P
 
Well, yes. I generated the test cases using CJam, and my code is 35% shorter than the top answer.
 
_& makes this pretty CJam-biased :P
 
6:51 AM
Nah, Pyth has the same operators.
Python itself has sets, but that whole list -> set -> list conversion is probably too expensive.
 
Python sets don't preserve order though
 
I assume.
Oh, that's unfortunate. Pyth does.
It doesn't use sets for intersection, but filters one argument on membership in the other.
 
... right
 
@Maltysen How long does your controller usually take? I left it on 10001 iterations overnight and it didn't finish
 
@BetaDecay not sure, I was running at 50 iterations on repl.it and it took < 30 sec
 
6:57 AM
Mm 1000 iterations takes a few minutes
So I'm running 5000 iterations now
@Dennis How long did it take for your CJam program to finish finding the median?
 
Just a sec. I've included that information in the post.
@BetaDecay 7.5 minutes for 100,001 tests.
 
7.5 minutes? Wow, that's much faster. Do you generate the list in the same way that Maltysen does? I think the double for loop is the limiting factor
 
probably all the function calls
 
*generate the stack
 
I just iterate over the generated list of envelopes. The are no function calls. CJam doesn't have functions in the traditional sense.
 
7:04 AM
0
Q: A smiling Emoji pile of poop

DDPWNAGE💩. As you can see, on most modern devices, this is simply a picture of a smiling pile of poop. It's a rather fun thing to send to your friends, but it isn't to be used professionally, because your boss will think of you as a smiling pile of poo sitting at their desk. However, this challenge re...

 
is the unicode emoji not rendering for anyone else? Well rendering as a white box.
 
@Dennis Well that is weird... I'll try and run it on my computer later
@Maltysen Fine for me (I'm on a phone though)
 
@Maltysen Same for me. Just a rectangle without interior.
 
I can still run char-of in pyth of it so I'm using this link: fileformat.info/info/unicode/char/1F4A9/index.htm
 
Oh, the WhatsApp poo.
#MrHankey
 
7:13 AM
Damn, $612517!
Not even close
 
Keep trying. A very minor adjustment to the parameters in my answer and I'm below 100,000.
 
That's amazing.
The main problem for me is all the waiting :/
 
@BetaDecay you should run it with 50~100 while testing maybe?
 
@Dennis Not quite 35% but I've got 25%. Just need to work on this arithmetic over here...
 
Looking forward to it.
Good night everybody.
 
7:17 AM
Night
@Maltysen Good idea
 
@Dennis If I choose an array, do all 5 lines need to be in the array or can I have one line out and the other 4 in?
 
00:00 - 08:0008:00 - 23:00

« first day (1646 days earlier)      last day (3198 days later) »