Search found 41 matches

by zalzane
Wed Jun 24, 2009 9:46 pm UTC
Forum: Science
Topic: Extracting energy from a permanent magnet
Replies: 66
Views: 43017

Re: Extracting energy from a permanent magnet

A magnetic field does not store energy. All particles have a magnetic field, but their arrangement in compounds are usually too random and ecstatic to produce a measurable field. Permanent magnets, however, have the poles of the particles all lined up, creating a measurable field. Sort of like how ...
by zalzane
Wed Jun 24, 2009 9:29 pm UTC
Forum: Science
Topic: New motor type?
Replies: 10
Views: 1691

Re: New motor type?

i have always had the crazy idea of replacing the current internal combustion engine with permanent magnets on the piston heads and electro magnets above, switching polarity to achieve motion, probably use too much power from friction It would have the same friction as a standard ICE (internal comb...
by zalzane
Wed Jun 24, 2009 9:23 pm UTC
Forum: Science
Topic: Extracting energy from a permanent magnet
Replies: 66
Views: 43017

Re: Extracting energy from a permanent magnet

A magnetic field does not store energy. All particles have a magnetic field, but their arrangement in compounds are usually too random and ecstatic to produce a measurable field. Permanent magnets, however, have the poles of the particles all lined up, creating a measurable field. Sort of like how s...
by zalzane
Sun Jun 21, 2009 3:49 pm UTC
Forum: Science
Topic: Geeks, Assemble!
Replies: 29
Views: 2379

Re: Geeks, Assemble!

PS: OP, if you dont want to use electromags, go grab an algae cleaner scrub from your local fish store, it consists of two -very- string perm magnets which are almost impossible to pull apart with bare hands, and only weigh about 100 grams. The thing I like about electromagnets is that I can contro...
by zalzane
Sun Jun 21, 2009 6:55 am UTC
Forum: General
Topic: people who you just can't stand
Replies: 40
Views: 3305

Re: people who you just can't stand

Gaydar2000SE wrote:Edit: Can you still stand me because I constantly tangent-ninja your already-doomed-to-fail thread with my obscure associations?


I can stand you, I realized this thread was going to fail the minute I realized that the board doesn't auto capitalize each word in the title.
by zalzane
Sun Jun 21, 2009 6:49 am UTC
Forum: General
Topic: people who you just can't stand
Replies: 40
Views: 3305

Re: people who you just can't stand

Gaydar2000SE wrote:Oh, you guys have broadband in America now?


That's the weird thing, I usually have 5-8mbs DL normally with 1.5mbs UL, now I get this crazy DL with a ping and UL speed which makes it useless.
by zalzane
Sun Jun 21, 2009 6:39 am UTC
Forum: General
Topic: people who you just can't stand
Replies: 40
Views: 3305

Re: people who you just can't stand

Oh yeah, I also hate every tech at Time Warner Cable who tells me these results are fine & dandy:

Image
by zalzane
Sun Jun 21, 2009 6:09 am UTC
Forum: General
Topic: people who you just can't stand
Replies: 40
Views: 3305

Re: people who you just can't stand

Gaydar2000SE wrote:Whom*

And people who fail to grasp the fact that the grammar Nazi is the homo superior quam mater tua.


I am now quite enraged, to the point where I'm not going to edit my post.
by zalzane
Sun Jun 21, 2009 5:58 am UTC
Forum: General
Topic: people who you just can't stand
Replies: 40
Views: 3305

people who you just can't stand

Train engineers who took the job so they can blow that fucking horn in the middle of the night in residential areas.

Now you!
by zalzane
Sat Jun 20, 2009 5:36 am UTC
Forum: Science
Topic: Geeks, Assemble!
Replies: 29
Views: 2379

Re: Geeks, Assemble!

The 'string' can be a piece of copper or steel wire. As for current, go get a car battery, put said battery next to the launch pad, have the electromagnet which holds the bearing magnet in place wired so its contacts are touching the car battery's. File Done! PS: OP, if you dont want to use electrom...
by zalzane
Fri Jun 19, 2009 7:19 pm UTC
Forum: Science
Topic: Geeks, Assemble!
Replies: 29
Views: 2379

Re: Geeks, Assemble!

OK so I thought the ball bearing thing was pretty groovy, but the problem with it is that the line would have to be hella-taught and would be a hell to set up. Since the OP seems to be pretty swell with electromagnets and such, I designed a device which uses the magnets along with the ball bearing d...
by zalzane
Fri Jun 19, 2009 6:53 pm UTC
Forum: Computer Science
Topic: Consequences to P=NP
Replies: 41
Views: 8954

Re: Consequences to P=NP

freaking CS nerds are making fun of me!

Keep in mind this is the same zalzane who is in 11th grade and wasn't taught how to determine whether or not a number is a prime during his whole 11 years in the public school system <3
by zalzane
Thu Jun 18, 2009 6:54 pm UTC
Forum: Computer Science
Topic: Consequences to P=NP
Replies: 41
Views: 8954

Re: Consequences to P=NP

is 1 a whole number? P=NP P=5 (or any other whole number) N=1 5=(1)(5) If that's a joke, it's correct but not particularly funny. If that's not a joke, it's hilarious but not correct. You see the bind I'm in? I don't know what to critique and what to praise. Well nobody said N couldn't equal 1.
by zalzane
Wed Jun 17, 2009 2:59 pm UTC
Forum: Computer Science
Topic: Consequences to P=NP
Replies: 41
Views: 8954

Re: Consequences to P=NP

is 1 a whole number?

P=NP

P=5 (or any other whole number)
N=1

5=(1)(5)
by zalzane
Wed Jun 17, 2009 4:25 am UTC
Forum: Science
Topic: I left some uranium-239 on the table...
Replies: 16
Views: 2169

Re: I left some uranium-239 on the table...

jeanius
by zalzane
Tue Jun 16, 2009 4:39 am UTC
Forum: Science
Topic: Where do mad scientists hang out?
Replies: 20
Views: 3421

Re: Where do mad scientists hang out?

They're mostly mad engineers, if you think about it. No, the mad engineers build self-assembling automatic sentry guns and ammo dispensers, usually using any available scrap metal. Mad scientists build doomsday devices. Don't forget teleporters. And they are all from Texas and enjoy a lean steak al...
by zalzane
Mon Jun 15, 2009 8:07 pm UTC
Forum: Coding
Topic: Shooting yourself in the foot: Part two
Replies: 50
Views: 5434

Re: Shooting yourself in the foot: Part two

joek wrote:VB - You draw a beatiful new leg, but it only runs on windoze.



you forgot to mention that the leg is fat and bloated and can only move you at very low speeds
by zalzane
Fri Jun 12, 2009 3:08 am UTC
Forum: Coding
Topic: Switches vs. If-Then in C++
Replies: 18
Views: 2038

Re: Switches vs. If-Then in C++

jemthealmighty wrote:
zalzane wrote:Sort of like how tuples are much faster dictionaries in python.

Do you mean lists? As far as I know tuples are nothing like dictionaries (on their own anyway).



Yeah that's what I meant, lol typing that out in class on a cell phone must of thrown me off
by zalzane
Thu Jun 11, 2009 10:30 pm UTC
Forum: Coding
Topic: Switches vs. If-Then in C++
Replies: 18
Views: 2038

Re: Switches vs. If-Then in C++

A couple of points. If you are seriously worried about efficiency of an if/then vs switch statement, and thinking about how the compiler will implement a specific piece of code, you have problems. I simply didn't expect switches to be purely for making reading source code easier. I figured that sin...
by zalzane
Wed Jun 10, 2009 10:24 pm UTC
Forum: Science
Topic: Stealing chocolate?
Replies: 12
Views: 2659

Re: Stealing chocolate?

Greetings OP; I work at a store where these security scanners are in operation; there are only two kinds of things which can set them off: a small electromagnetic transmitter set to transmit at the door's frequency (these are present in those security caps on alcohol bottles in grocery stores), and ...
by zalzane
Wed Jun 10, 2009 9:51 pm UTC
Forum: Computer Science
Topic: What would you do with an infinitely fast computer?
Replies: 818
Views: 228380

Re: What would you do with an infinitely fast computer?

I would compile this code and run it:

Code: Select all

int n=0
while n==0
{
cout << "BALLS OF STEEL"
}
by zalzane
Wed Jun 10, 2009 5:33 am UTC
Forum: Coding
Topic: Switches vs. If-Then in C++
Replies: 18
Views: 2038

Re: Switches vs. If-Then in C++

wearing your lucky socks What color of socks is the best to wear while compiling C++ code? I know it's blue with moons for C, but I figured the whole class stuff of C++ changed the color/pattern significantly. A more on-topic note: thanks you your responses guys, they have been of great assistance.
by zalzane
Wed Jun 10, 2009 4:31 am UTC
Forum: Coding
Topic: Switches vs. If-Then in C++
Replies: 18
Views: 2038

Switches vs. If-Then in C++

So in C++ one can perform many standard if-then functions using switches. My question is: when should I use switches in place of if-then sequences; and what are the advantages of using one or the other? Here's an example I found of an if-then statement being emulatable with switches if (x == 1) { co...
by zalzane
Tue Jun 09, 2009 5:33 pm UTC
Forum: Science
Topic: Project help?
Replies: 23
Views: 2143

Re: Project help?

diet coke + mentos is powerful to launch a liter bottle rocket at least 50 feet in the air with the correct setup the trick is to use an approximate proportion of mentos:liters of d-coke so you get the most yield from both of the reactants oh, and don't forget to crush the mentos so they have a larg...
by zalzane
Mon Jun 08, 2009 7:06 pm UTC
Forum: Science
Topic: Bending Newton's Third Law?
Replies: 14
Views: 2269

Re: Bending Newton's Third Law?

Newton's third law does apply for gravitational and magnetic forces. When the earth pulls you towards it, you also pull on the earth with the exact same amount of force. Likewise, a magnet that pushes against another one will also be pushed backwards. Thank you, this is the answer I was looking for.
by zalzane
Mon Jun 08, 2009 6:21 pm UTC
Forum: Science
Topic: Can a black hole ever be destroyed?
Replies: 62
Views: 5407

Re: Can a black hole ever be destroyed?

wait wouldn't antimatter have antimass?

WHY NOT
by zalzane
Mon Jun 08, 2009 6:19 pm UTC
Forum: Science
Topic: Where do mad scientists hang out?
Replies: 20
Views: 3421

Re: Where do mad scientists hang out?

they hang out at the xkcd science forums
by zalzane
Mon Jun 08, 2009 6:17 pm UTC
Forum: Science
Topic: Bending Newton's Third Law?
Replies: 14
Views: 2269

Bending Newton's Third Law?

I was just thinking, who says the equal and opposite reaction has to be the same force as the action?

Like... instead of an equal and opposite force being physical like its action, it could be gravitational or magnetic
by zalzane
Thu May 28, 2009 1:56 pm UTC
Forum: Coding
Topic: How to add a path for python to import modules from
Replies: 6
Views: 1443

Re: How to add a path for python to import modules from

Got it to work by editing the environ variable, thanks!
by zalzane
Thu May 28, 2009 12:04 am UTC
Forum: Coding
Topic: How to add a path for python to import modules from
Replies: 6
Views: 1443

Re: How to add a path for python to import modules from

Have you tried setting the PYTHONPATH environment variable? How would I go about doing this? I have never had a problem with import sys sys.path.append('path/to/module') import module Given you are accessing a module located at 'path/to/module/module.py' I haven't tried it for absolute paths (or on...
by zalzane
Wed May 27, 2009 6:52 pm UTC
Forum: Coding
Topic: How to add a path for python to import modules from
Replies: 6
Views: 1443

How to add a path for python to import modules from

I'm using an IDE called portablepython, and I'm trying to get it to search a folder I specify for modules. Since sys.path.append only works while the IDE is open and is cancelled when closed, I decided to look around in the source files for where the paths are defined. Here is what I get for sys.pat...
by zalzane
Fri May 22, 2009 2:56 am UTC
Forum: Coding
Topic: Problem with Euler problem #3 in python
Replies: 40
Views: 3366

Re: Problem with Euler problem #3 in python

OK, prime factorisation in a nutshell (sorry, I assumed you'd been taught this in school... it makes me sad that you weren't): Every positive integer can be uniquely broken down into a product of a bunch of prime numbers. For instance, 315 = 3×3×5×7. These prime factorisations has a few properties ...
by zalzane
Thu May 21, 2009 11:45 pm UTC
Forum: Coding
Topic: Problem with Euler problem #3 in python
Replies: 40
Views: 3366

Re: Problem with Euler problem #3 in python

Seriously? Algebra2 and no mention of primes ever? That's criminal. Are you in the US? I went to a US public school for K-12 and I think I remember primes being introduced shortly after we learned how to multiply. At least before middle school. I live in downtown LA, I was lucky to learn how to add...
by zalzane
Thu May 21, 2009 10:43 pm UTC
Forum: Coding
Topic: Problem with Euler problem #3 in python
Replies: 40
Views: 3366

Re: Problem with Euler problem #3 in python

Seruiously, go find the prime factors of 315 by hand, pen and paper only, no calculators. Do the same for 2310 while you're at it. Don't write any more code until you have, and know that I could do these in my head using the same algorithm I feed my computer. You should be able to as well. The prob...
by zalzane
Thu May 21, 2009 6:41 pm UTC
Forum: Coding
Topic: Problem with Euler problem #3 in python
Replies: 40
Views: 3366

Re: Problem with Euler problem #3 in python

I just wrote this up to simply find the primes and load them into a list, but it is taking forever to run and I cant find an infinite loop or mem leak: from __future__ import division def getgpf(x): position=1 subposition=1 primes=[] while position<(x/2): position+=1 isprime=True #not really, just a...
by zalzane
Thu May 21, 2009 6:32 pm UTC
Forum: Coding
Topic: Problem with Euler problem #3 in python
Replies: 40
Views: 3366

Re: Problem with Euler problem #3 in python

I second Berengal's post... if you wanted to prime factorise, say, 315, on pen and paper, what would you do? I would find out all of the factors of 315, then check which ones are prime, starting from the largest. That's exactly what I'm trying to get this script to do, unless there is some other wa...
by zalzane
Thu May 21, 2009 1:45 pm UTC
Forum: Coding
Topic: Problem with Euler problem #3 in python
Replies: 40
Views: 3366

Re: Problem with Euler problem #3 in python

If you start at floor(sqrt x), then every time you find a divisor d, you need to check both d and n/d for primality - and you'll have to check all the factors anyway, since the largest prime divisor could be the obtained by dividing by the smallest divisor (as it is in Phlip's example of 21) I'd re...
by zalzane
Thu May 21, 2009 5:32 am UTC
Forum: Coding
Topic: Problem with Euler problem #3 in python
Replies: 40
Views: 3366

Re: Problem with Euler problem #3 in python

1: Floats and number theory don't mix. Always go back to integers before doing anything. 2: Why are you assuming the greatest prime factor will be less than the square root of the number? I'm guessing that's what the point of where you initialise "top"... 3: "if (x/top)%2==1.0 and to...
by zalzane
Thu May 21, 2009 4:40 am UTC
Forum: Coding
Topic: Problem with Euler problem #3 in python
Replies: 40
Views: 3366

Problem with Euler problem #3 in python

I've been working at this one for about two days now, which is a considerable length of time when it took me only about 10 minutes for 1,2,4 and 5 This is the problem for those unfamiliar with projecteuler: What is the largest prime factor of the number 600851475143? Here's my code, I just can't fig...
by zalzane
Sat Apr 25, 2009 2:16 pm UTC
Forum: Coding
Topic: python program ideas for beginners?
Replies: 10
Views: 9864

Re: python program ideas for beginners?

I've been using the aforementioned project Euler and Dive Into Python, and the MIT intro to programming problems. Oh, and I wrote a little script to open the websites I use while working on it which I'll share for your perusal. def webHelp(): openDocs = input('website? (E)uler: ') import webbrowser...

Go to advanced search