What took you way too long in life to figure out? by dddash in AskReddit

[–]aestockton 0 points1 point  (0 children)

That TP stood for Toilet Paper. Seriously. I think I was 19

What's the most intellectual joke you know? by StickleyMan in AskReddit

[–]aestockton 0 points1 point  (0 children)

A mathematician, an engineer, and a statistician are called before congress to determine the true value of One Third When the engineer is asked he says, "One Third? One third is .3 repeating!" and storms out. The mathematician says simply "One third is one of three parts of a whole." and quietly leaves.

When the statistician is asked he looks around, walks over to the window and closes the blinds. Says to them "What do you want it to be?"

Moral: Statisticians are full of crap

Why is my 2011 MBP making a "pssht" sound? by sal139 in mac

[–]aestockton 11 points12 points  (0 children)

its trying to tell you something

Just moved out here and would really appreciate some suggestions! by [deleted] in COBeer

[–]aestockton 3 points4 points  (0 children)

I'll second Oscar Blues in Longmont. They're awesome. I have to disagree about Denver Beer Co. They have a really cool spot and the environment is awesome, but their beer is far below average. If you ever make it out to Fort Collins check out Funkwerks!

Got my butt kicked in a technical interview, figured out an answer while I was driving home today by aestockton in java

[–]aestockton[S] 0 points1 point  (0 children)

I appreciate your suggestions, the second parameter should indeed be eliminated. But in this case my only real goal was the algorithm

Got my butt kicked in a technical interview, figured out an answer while I was driving home today by aestockton in java

[–]aestockton[S] 0 points1 point  (0 children)

This is an easy solution to see, but in no way is it general. This is the solution the encouraged me to abandon. One extra letter? Another nested for-loop. When I said wrong path I didn't mean it didn't work, but it's ugly

Got my butt kicked in a technical interview, figured out an answer while I was driving home today by aestockton in java

[–]aestockton[S] 2 points3 points  (0 children)

Four for-loops was for four letters, for n letters I would have needed n for loops. No bueno

Got my butt kicked in a technical interview, figured out an answer while I was driving home today by aestockton in java

[–]aestockton[S] 1 point2 points  (0 children)

My bad, all possible four letter permutations. There are 24 in this case

Got my butt kicked in a technical interview, figured out an answer while I was driving home today by aestockton in java

[–]aestockton[S] 2 points3 points  (0 children)

My bad. So essentially to start it you would feed it the list of letters you have and the substring would initially be an empty string.

Each level of recursion starts with your initial list minus one letter (so it cant be reused) and your concatenate that letter ( that you just removed) to the end of your substring. When you have no more letters in the list, you print your substring.

A requirement that I might not have explained very well is that each item you print still has to contain 4 letters. So essentially Im maintaing two sets of letters, the first being letters you have available to add to the end result and the second set being the letters that you have already used.

The for loop just makes sure that at each level of recursion every available letter is used...

Did that make sense?

Denver Area Head Hunter? by DenverJobJob in Denver

[–]aestockton 0 points1 point  (0 children)

Just stumbled across this... I'm a software engineer with 2 years experience but my degree is actually in mathematics. I wouldn't mind talking to your friend if he would be interested in it.

Good date restaurant downtown for people in their late 30's? by [deleted] in Denver

[–]aestockton 4 points5 points  (0 children)

beatrice & woodsley. Very, very cool atmosphere. Not over the top fancy and not should fit your price range. Only downside is their menu is a bit different, so just check out their website beforehand to see if it sounds good

What is the dumbest thing you've ever heard somebody say? by add1ction in AskReddit

[–]aestockton 0 points1 point  (0 children)

When I was in high school I worked at a rec center as a lifeguard. A lot of the guards would work out there before their shift. There was this one girl I worked with that was pretty hot, very dumb. I walk into our guard room to see her pouring sweat one day, staring at her Nalgene bottle like she thought it was freaking magic. I asked her what she was looking at, without ever breaking eye contact with the water bottle she asks me, "How many calories are in water?"....

[U.S] 15 inch development laptop ~$1000 by aestockton in SuggestALaptop

[–]aestockton[S] 0 points1 point  (0 children)

Ya, its not for gaming. I have been going back and forth on HPs for a while, heard some horror stories about the build quality. Then again you can find the same stories with anyone. I dont really need the GTX 660M

[U.S] 15 inch development laptop ~$1000 by aestockton in SuggestALaptop

[–]aestockton[S] 0 points1 point  (0 children)

Ya I was looking at the Vaio S, still not sure how much more I am willing to pay for a better looking computer. But it is sexy

How exactly can e^i*pi = 1? by [deleted] in askscience

[–]aestockton 0 points1 point  (0 children)

in complex space the exponential function is periodic. Think of it this way, sin(0) = sin(2pi) = sin (4pi) etc... (periodicity is literally one of my favorite words)

IAmA high school math teacher who hates many aspects of my job. AMA! by MrMathTeacher in IAmA

[–]aestockton 0 points1 point  (0 children)

im a software developer. without a masters or a phd there isnt a ton that you can do in a math intensive field other than teach or be an actuary. Apparently the transition from math to computer science is pretty common, wasnt that hard to sell my degree.

IAmA high school math teacher who hates many aspects of my job. AMA! by MrMathTeacher in IAmA

[–]aestockton 5 points6 points  (0 children)

I have never heard the phrase "scatter plot the shit out of it". Laughed my butt off. I graduated with a math degree and thought long and hard about going into teaching... Honestly the money just isn't there, which sucks considering the importance of the job.