Search found 75 matches

by Xami
Wed Jun 18, 2014 2:34 pm UTC
Forum: Mathematics
Topic: Bad math
Replies: 88
Views: 18524

Re: Bad math

So there was some explanation of the -1/12 thing that was just too far over my head. I found one that I could keep up with, but something bothered me. So the geometric series for 1/(1-x)^2 = sum of n*x^(n-1) so for x = -1 you get 1-2+3-4+5... and now you know this equals 1/4 Then you do some math I ...
by Xami
Tue Jun 17, 2014 10:29 pm UTC
Forum: Mathematics
Topic: Bad math
Replies: 88
Views: 18524

Re: Bad math

I too have a BA in math and have also found it left me just shy of some really cool sounding things that I was never exposed to. Earlier someone mentioned knowing just enough math to not be interesting and feel it perfectly describes my position. Luckily, I paired it with a computer science degree :)
by Xami
Mon Jun 24, 2013 9:52 pm UTC
Forum: Computer Science
Topic: Dijkstra's Algorithm
Replies: 4
Views: 4934

Re: Dijkstra's Algorithm

necro?
mathmari wrote:finally d is extracted,after the edge (d,e) is relaxed, and d[e]=1


(d,e) isn't relaxed because e is already a visited node after you extracted e
by Xami
Tue Jan 08, 2013 7:16 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9990
Views: 2000551

Re: Coding: Fleeting Thoughts

I might like list.Empty better, but that's not included in C#'s implementations by default (and an extension method for just that seems bad in that it breaks style). style is really just an extension of the common C convention to write if (some_const == some_lvalue) which gives a syntax error if yo...
by Xami
Thu Mar 22, 2012 9:01 pm UTC
Forum: Coding
Topic: The Red Spider Project
Replies: 246
Views: 189508

Re: Idea for a fun joint effort: xkcd hacking project

I propose the random comic is always comic 4
by Xami
Mon Feb 20, 2012 3:25 pm UTC
Forum: Computer Science
Topic: Proving Correctness of Algorithm using Hoare
Replies: 5
Views: 2711

Re: Proving Algorithm using Hoare

I would guess Laguana OP meant "task to prove an algorithm" and then has free choice over which to pick

edit: idk
by Xami
Tue Dec 27, 2011 9:06 pm UTC
Forum: Computer Science
Topic: Stanford: Introduction To Artificial Intelligence: Fall 2011
Replies: 15
Views: 6854

Re: Stanford: Introduction To Artificial Intelligence: Fall

Oh hey everybody - finished the last two programming ML assignments yesterday - hope I'm not too late for the certificate.
by Xami
Wed Nov 30, 2011 3:24 pm UTC
Forum: Science
Topic: photon size
Replies: 61
Views: 12304

Re: photon size

I guess I have been using correct and true interchangeably - what's 1+2? Not 7 To me this is correct because 7 is incorrect. Horribly unuseful of course. So the difference here is most people would not say that NOT Incorrect is decidedly different from Correct? But of course NOT False = True so ther...
by Xami
Tue Nov 29, 2011 3:45 pm UTC
Forum: Science
Topic: photon size
Replies: 61
Views: 12304

Re: photon size

There are exactly the same number of right answers as wrong answers to any question. This bald assertion cannot withstand the power of... Multiple Choice Exaaaaaaaaams! I say nothing of how useful the answers are. I also don't know in the case that the question does not have a correct answer. Given...
by Xami
Tue Nov 22, 2011 7:24 pm UTC
Forum: Science
Topic: photon size
Replies: 61
Views: 12304

Re: photon size

Xami wrote:I say nothing of how useful the answers are.


Not A is a distinctly different answer than Not B. Both are true statements, not that you would get points though.
by Xami
Mon Nov 21, 2011 4:11 pm UTC
Forum: Science
Topic: photon size
Replies: 61
Views: 12304

Re: photon size

There are exactly the same number of right answers as wrong answers to any question. This bald assertion cannot withstand the power of... Multiple Choice Exaaaaaaaaams! I say nothing of how useful the answers are. I also don't know in the case that the question does not have a correct answer. Given...
by Xami
Fri Nov 18, 2011 11:36 pm UTC
Forum: Science
Topic: photon size
Replies: 61
Views: 12304

Re: photon size

Given the state of the thread it's not an unreasonable conclusion, but it's incorrect. "What is the size of a photon" is like the question "what is the depth of a poet?" It doesn't make quite enough sense to have one exactly right answer, but it has several almost right answers ...
by Xami
Fri Nov 18, 2011 11:30 pm UTC
Forum: Mathematics
Topic: The notation "a/bc"
Replies: 24
Views: 3292

Re: The notation "a/bc"

I mean I do use the context of the situation and would most likely imagine that a/bc would have bc together. But the comp sci in me wants there to be no ambiguity.
by Xami
Fri Nov 18, 2011 7:12 pm UTC
Forum: Mathematics
Topic: The notation "a/bc"
Replies: 24
Views: 3292

Re: The notation "a/bc"

wolframalpha takes 1/2e to mean (1/2) * e But if someone means that, why wouldn't they just write e/2?! Sorry, I'll calm down. No disputing about taste, and all that. Plus, Wolfram Alpha is not a human. Not everything is always that simple. Usually when I use wolfram alpha - I'm plugging and replac...
by Xami
Fri Nov 18, 2011 4:43 pm UTC
Forum: Mathematics
Topic: How many digits of Pi do you know?
Replies: 445
Views: 107054

Re: How many digits of Pi do you know?

PM 2Ring wrote:
AvatarIII wrote:So what is the point, one-upmanship?

Sort of. But it's more a matter of math nerd street-cred. You can't claim to be a genuine math nerd unless you've memorized pi to at least 20 places. :)


PumpkinKing wrote:um... 1
by Xami
Fri Nov 18, 2011 4:40 pm UTC
Forum: Mathematics
Topic: The notation "a/bc"
Replies: 24
Views: 3292

Re: The notation "a/bc"

I don't like a/bc meaning a/(bc) because http://www.wolframalpha.com/input/?i=1%2F2e

Link hesitant: wolframalpha takes 1/2e to mean (1/2) * e
by Xami
Fri Nov 18, 2011 4:27 pm UTC
Forum: Science
Topic: Is anyone as desperate to find life as I am?
Replies: 76
Views: 9518

Re: Is anyone as desperate to find life as I am?

What if they both developed the tech to view each other at the same time, but before they could get objects (spaceship / bombs) to the other? What would communication be like? How long would it take to understand communication? Is survival a universal trait of life? I just assumed the 2 planets dis...
by Xami
Thu Nov 17, 2011 4:42 pm UTC
Forum: Science
Topic: Is anyone as desperate to find life as I am?
Replies: 76
Views: 9518

Re: Is anyone as desperate to find life as I am?

So it seems we are out of luck with being really close (on whatever scale you choose) to life - shoot. Is it physically possible for a star to have 2 or more life planets orbiting it? Would one happen to develop more quickly - and visit / take over / destroy the other planet? What if they both devel...
by Xami
Thu Nov 17, 2011 2:11 pm UTC
Forum: Science
Topic: Miscellaneous Science Questions
Replies: 2958
Views: 720667

Re: RELATIVITY QUESTIONS! (and other common queries)

Awesome! Also fwiw, I wasn't asking if earth had always been around, lol, I was extending the first question about our current time experience
by Xami
Wed Nov 16, 2011 6:56 pm UTC
Forum: Science
Topic: Miscellaneous Science Questions
Replies: 2958
Views: 720667

Re: RELATIVITY QUESTIONS! (and other common queries)

When we talk about the age of the universe - are we talking about time as we currently experience it? As if the earth were here from the start?
This is assuming that time is experienced differently based on how fast you are moving right?
Does 'age of the universe' even make sense as a question then?
by Xami
Mon Nov 14, 2011 10:29 pm UTC
Forum: Mathematics
Topic: Probability help
Replies: 3
Views: 1031

Re: Probability help

Sorry, the test is 100% accurate Imagine a machine where both sheep walk in - it will tell you with 100% confidence if the virus is present inside. It will not tell you if both sheep have it, just that at least 1 has it, or none have it. We are also given that every sheep has an independent 1% chanc...
by Xami
Mon Nov 14, 2011 10:02 pm UTC
Forum: Mathematics
Topic: Probability help
Replies: 3
Views: 1031

Probability help

Related to Project Euler 352 Say I have a virus with a 1% chance of affecting any given sheep. Say I have 2 sheep and a test tells me that at least 1 of them has the virus. Now, if I take one of those sheep, what do I expect the probability this sheep has the virus? I'm thinking it is .01 / (1 - .99...
by Xami
Mon Nov 14, 2011 9:49 pm UTC
Forum: Mathematics
Topic: Proper Team Size handicap at Trivia Night
Replies: 15
Views: 2798

Re: Proper Team Size handicap at Trivia Night

I wouldn't adjust scores at all, I can see people getting upset that they got the same question right but it was worth less because their team had an extra person who really just came for the beer anyway so why do they get less than the trifecta of highly competitive trivia goers? If it's a problem,...
by Xami
Mon Oct 17, 2011 2:57 pm UTC
Forum: Computer Science
Topic: Stanford: Introduction To Artificial Intelligence: Fall 2011
Replies: 15
Views: 6854

Re: Stanford: Introduction To Artificial Intelligence: Fall

It looks like I'm not going to have the free time to devote to both classes every week, so I'm going to focus my energies to the machine learning class.
by Xami
Tue Oct 04, 2011 4:05 pm UTC
Forum: Computer Science
Topic: Stanford: Introduction To Artificial Intelligence: Fall 2011
Replies: 15
Views: 6854

Re: Stanford: Introduction To Artificial Intelligence: Fall

Machine learning class registration is open
http://ml-class.org

I'm doing both AI and ML classes - study group?
by Xami
Wed Sep 07, 2011 4:12 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0947: “Investing”
Replies: 148
Views: 34126

Re: 0947: “Investing”

If I don't find it enjoyable / can't do it, nobody should do it!
- every old person
by Xami
Thu Sep 01, 2011 11:15 pm UTC
Forum: Logic Puzzles
Topic: The perfect Chess AI engine
Replies: 89
Views: 42403

Re: The perfect Chess AI engine

I keep seeing 'pick the path with the most 'win' scenarios' Let me make up a game. Player A has 2 options. Stand still or hide. If I hide, player B has to look for me or something and let's say there's 1 way for me to win, but I can force it If I stand still player B has 5 options Punch me (win) , d...
by Xami
Wed Aug 31, 2011 5:04 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0945: "I'm Sorry"
Replies: 120
Views: 29019

Re: 945: "I'm Sorry"

hooray! i'm not the only person who has been forced to say - i'm sorry to hear that
by Xami
Fri Aug 26, 2011 2:40 pm UTC
Forum: Computer Science
Topic: Stanford: Introduction To Artificial Intelligence: Fall 2011
Replies: 15
Views: 6854

Re: Stanford: Introduction To Artificial Intelligence: Fall

Signed up for this and the machine learning one, I think the ML will be more useful to me more immediately but we'll see.
by Xami
Wed Jul 27, 2011 6:57 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0930: "Days of the Week"
Replies: 126
Views: 28973

Re: 0930: "Days of the Week"

This is a webcomic - not a company meeting on Tuesday. This wasn't designed for pointy haired bosses. It was designed for people who want to be nerd sniped.
I like it.
by Xami
Wed Jun 29, 2011 7:41 pm UTC
Forum: Science
Topic: Losing weight...by breathing?
Replies: 33
Views: 5843

Re: Losing weight...by breathing?

Try spitting?
by Xami
Fri Jan 28, 2011 4:23 pm UTC
Forum: Logic Puzzles
Topic: The hardest maze in the world
Replies: 20
Views: 6787

Re: The hardest maze in the world

Decided to learn a bit of Python with this, it was fun, could probably do a lot of things better but that's not what this forum is about. Findings R = starting row wR = working Row wC = working Column Skipped even numbered columns if working Column + 2 is prime AND (2*working Row - 1) is pri...
by Xami
Thu Jan 27, 2011 10:45 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0852: "Local g"
Replies: 159
Views: 42436

Re: 0852: "Local g"

Maybe he is trying to appeal to a wider audience by spelling out the punchline.
You could be smug and tell everyone your gigantic awesome brain did not need the help, or just, you know... shut up.
by Xami
Wed Sep 29, 2010 2:50 pm UTC
Forum: Logic Puzzles
Topic: Simple number pattern
Replies: 18
Views: 2872

Re: Simple number pattern

I think there's an infinite number of ways to produce any sequence, then it is just a guessing game as to which simple one you are using.
by Xami
Thu Sep 16, 2010 4:15 pm UTC
Forum: Logic Puzzles
Topic: Angels and Demons
Replies: 55
Views: 14575

Re: Angels and Demons

I would ask this:
"Hey, could you forgive me for this?"
Then punch it mercilessly.
by Xami
Wed Sep 15, 2010 5:47 pm UTC
Forum: Mathematics
Topic: Mafia Party Game: Ideal Ratio
Replies: 10
Views: 12559

Re: Mafia Party Game: Ideal Ratio

I never knew Mafia was about winning/losing.
As a CompSci + Math grad, I suddenly feel troubled I never considered the possibilities.
by Xami
Thu Jun 10, 2010 3:51 pm UTC
Forum: Coding
Topic: The toughest developer puzzle ever
Replies: 29
Views: 4188

Re: The toughest developer puzzle ever

Spoiler:
Argh, thanks!
I just wrote it off as, this is the image for getting to step 3. I don't see future steps working out too well...but let's see!
by Xami
Thu Jun 10, 2010 3:00 pm UTC
Forum: Coding
Topic: The toughest developer puzzle ever
Replies: 29
Views: 4188

Re: The toughest developer puzzle ever

I'm just plain stuck on level 2 of TDPE2 - Makes me feel worthless :(
by Xami
Tue Jun 01, 2010 8:24 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0747: "Geeks and Nerds"
Replies: 130
Views: 36384

Re: "Geeks and Nerds" Discussion

Personally I prefer the term nerd. The Venn diagram earlier is accurate to me but flipping Nerd and Geek. In the diagram Geek is outside Social Ineptitude. where I grew up, geek would refer to a socially inept person, but a nerd is somebody who was passionate / just plain knew a lot in either a part...
by Xami
Tue Jun 01, 2010 1:20 pm UTC
Forum: Logic Puzzles
Topic: How to confirm if someone is your "future you"?
Replies: 96
Views: 14983

Re: How to confirm if someone is your "future you"?

If he didn't bring me a list of the biggest sports upsets with the best odds for the next year, I'd be fairly upset with myself and refuse to listen to myself anymore. I would hope he would have a list of lots of other things that happened that year, and if his presence disturbed the universe enough...

Go to advanced search