Author           |
Message |
Big Fagot Alpha ape Joined: 09 Jan 2007 Posts: 10545 (Fri Jan 07, 2011 12:04 am) Reply

|
Re: Postmodernism |
|
|
I have to rewrite all the code I wrote at work, but factorization is just one part of the problem. It breaks down into three parts the way I see it:
1) Generating primes
2) Deriving prime factors
3) Counting numerators relatively prime to a given denominator
3 was the hardest to make fast; if you're actually traversing a list and checking which are not divisible by any prime factors, it's too slow. I guess it's not that tough of a problem conceptually but my answer seemed insanely off (hundreds of billions). |
|
Theldorrin Joined: 04 Jan 2007 Posts: 19724 (Fri Jan 07, 2011 12:27 am) Reply

|
Re: Postmodernism |
|
|
I actually thought it might be so many that they'd expect an equation that provides the answer. Although I'm guessing that's not the purpose of Project Euler.
I would use a database, so I guess hashtables are the way to go. Get a list of the numbers that have 3 as a factor, a list of numbers that have 5 as a factor, a list of numbers that have 7 as a factor, etc. All the way up to the largest prime that's under 1,000,000.
Then You just have to take the denominator, and look for numbers that aren't in one of the sets that it's a member of. _________________ @}-,-'- *~*~* Member of the FTU Elegant Tea Party Society *~*~* -'-,-{@ |
|
8 bit orgy There's no fucking way Obama will win FL and NV. There's like to democrats to speak of anywhere here. Even the younger adults are voting for McCain. Honestly, I never even met a democrat in Florida, period. Joined: 27 Apr 2007 Posts: 2888 (Fri Jan 07, 2011 1:07 pm) Reply

|
Re: Postmodernism |
|
|
The study of philosophy as a means to discover truth is a disaster. Philosophy is what it means, "questioning".
I don't think we're in the era of postmodernism anymore. I like to think we're in the era of what I call "interrealism". I think everyone is exposed to all philosophies so the result is us putting up walls and selectively choosing the philosophies that best fit us. It's not so much that people reject intrinsic value (like postmodernists), but they are burdened and confused by so many competing intrinsic values.
For example, every time you kill a bug, you feel some semblance of remorse resulting from exposure to Buddhist ideals and cartoons of talking bugs. Whether you like it or, your brain will make moral decisions based on the exposure of dozens of philosophies you probably don't agree with.
You see, I tend to side with the biological theory to philosophy. Math and logic are one thing, what you actually believe and why are a completely other thing. |
|
ALDP Joined: 25 Jul 2009 Posts: 4412 (Fri Jan 07, 2011 2:23 pm) Reply

|
Re: Postmodernism |
|
|
First reply |
|
Fagzilla Got lost in another dimension for a couple months. But seriously, we will actually update the site within the next couple of days. http://www.bandzwiki.com/ Joined: 25 Aug 2008 Posts: 10111 (Fri Jan 07, 2011 3:05 pm) Reply

|
Re: Postmodernism |
|
|
Every time you kill a bug, you feel some semblance of remorse resulting from exposure to Buddhist ideals and cartoons of talking bugs. |
|
Jason At ten I shaved my head and tried to be a monk, I thought the older women would like me if I did. Joined: 28 Feb 2007 Posts: 7600 (Fri Jan 07, 2011 3:19 pm) Reply

|
Re: Postmodernism |
|
|
I've always known I am philosophically burdened by having seen Antz. _________________ Last edited by God on Fri Apr 05, 33 4:00 am; edited 1 time in total |
|
Theldorrin Joined: 04 Jan 2007 Posts: 19724 (Fri Jan 07, 2011 4:36 pm) Reply

|
Re: Postmodernism |
|
|
8bO is very Psarosian sometimes. _________________ @}-,-'- *~*~* Member of the FTU Elegant Tea Party Society *~*~* -'-,-{@ |
|
Fagzilla Got lost in another dimension for a couple months. But seriously, we will actually update the site within the next couple of days. http://www.bandzwiki.com/ Joined: 25 Aug 2008 Posts: 10111 (Fri Jan 07, 2011 5:31 pm) Reply

|
Re: Postmodernism |
|
|
That's the highest compliment you've ever paid me. |
|
Fagzilla Got lost in another dimension for a couple months. But seriously, we will actually update the site within the next couple of days. http://www.bandzwiki.com/ Joined: 25 Aug 2008 Posts: 10111 (Fri Jan 07, 2011 5:32 pm) Reply

|
Re: Postmodernism |
|
|
He's probably thinking of Jains though, eh Theldorrin?? |
|
Theldorrin Joined: 04 Jan 2007 Posts: 19724 (Fri Jan 07, 2011 5:51 pm) Reply

|
Re: Postmodernism |
|
|
Ahimsa isn't unique to Jainism, and most Americans wouldn't be exposed to that religion because the US is a monoculture. _________________ @}-,-'- *~*~* Member of the FTU Elegant Tea Party Society *~*~* -'-,-{@ |
|
Fagzilla Got lost in another dimension for a couple months. But seriously, we will actually update the site within the next couple of days. http://www.bandzwiki.com/ Joined: 25 Aug 2008 Posts: 10111 (Fri Jan 07, 2011 5:53 pm) Reply

|
Re: Postmodernism |
|
|
I was telling Lexy the other day about your fixation on Jainism. |
|
Theldorrin Joined: 04 Jan 2007 Posts: 19724 (Fri Jan 07, 2011 5:57 pm) Reply

|
Re: Postmodernism |
|
|
It's not much of a fixation when you live in a multicultural society. _________________ @}-,-'- *~*~* Member of the FTU Elegant Tea Party Society *~*~* -'-,-{@ |
|
Fagzilla Got lost in another dimension for a couple months. But seriously, we will actually update the site within the next couple of days. http://www.bandzwiki.com/ Joined: 25 Aug 2008 Posts: 10111 (Fri Jan 07, 2011 6:03 pm) Reply

|
Re: Postmodernism |
|
|
The funniest thing ever would be if you became religious. |
|
Action Hank Yes, I fart dicks. Dicks actually come out of my anus when I fart. Joined: 20 Jan 2007 Posts: 8600 (Fri Jan 07, 2011 6:35 pm) Reply

|
Re: Postmodernism |
|
|
Theldorrin is secretly Ranger454 or whatever series of number came after his name. |
|
Magic Juan Joined: 10 Jan 2007 Posts: 8709 (Fri Jan 07, 2011 6:36 pm) Reply

|
Re: Postmodernism |
|
|
Ranger541! Geeeez, Ace. |
|
Theldorrin Joined: 04 Jan 2007 Posts: 19724 (Fri Jan 07, 2011 6:36 pm) Reply

|
Re: Postmodernism |
|
|
What religion do you think I would practice? _________________ @}-,-'- *~*~* Member of the FTU Elegant Tea Party Society *~*~* -'-,-{@ |
|
Roy Joined: 28 Jan 2007 Posts: 1605 (Sun Jan 09, 2011 6:07 pm) Reply

|
Re: Postmodernism |
|
|
Sikhs get to carry a ceremonial dagger! |
|
Action Hank Yes, I fart dicks. Dicks actually come out of my anus when I fart. Joined: 20 Jan 2007 Posts: 8600 (Sun Jan 09, 2011 6:11 pm) Reply

|
Re: Postmodernism |
|
|
Mithraism |
|
PrimitiveBeast48
(Sun Jan 09, 2011 7:24 pm) Reply
|
Re: Postmodernism |
|
|
Whatever that bullshit singularity religion is. Or Satanism |
|
|