Quote from: Ganstaquay5000 on June 26, 2009, 04:12:26 pm
Hello, I'm back. Finals are over and I just found out that I don't have to go to summer school. So now I'm ready to get back to making your music...
XD
Congrats! ^_^
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Quote from: Ganstaquay5000 on June 26, 2009, 04:12:26 pm
Hello, I'm back. Finals are over and I just found out that I don't have to go to summer school. So now I'm ready to get back to making your music...
Quote from: LurkerKoetsu on June 25, 2009, 03:43:16 pm
If you forget everything and you start this moment anew.
1. You wont need to know anything is behind you. You have rationale. That allows you to actually examine your enviroment. If you're in a lit room and there are shadows, you'll assume.
2. If you forget everything you wont forget EVERYTHING. A baby doesn't know crap but it does know how to scream, it knows that something is wrong when its hungry, it knows something feels wrong when it uses the bathroom. It knows that light is bright.
3. The first thing you think someone would do when they wake up in a place they don't know is look around. So yeah, even if they forget where they are.. kinda pointless to say well they wont know what's around them.
Quote from: Longfellow on June 25, 2009, 08:25:50 amQuote from: Branden on June 24, 2009, 11:59:43 pm
I don't care what you say, Seox. I do infact believe the government, and whoever else is involved, has not figured out how to travel to other palnets beyond our solar system.
And, if you ment "travel to planets in our solar system", get that out of this topic, because this is about Extraterrestrial Life, traveling to our planet. So clearly, any talk about traveling to another planet SHOULD be about planets beyond our solar system.
Your logic is epic fail. Srsly. We have no proof that we are the only planet in this solar system with intelligent life, or that there are onlyNineEight Planets. For all we know, there could be eleven.
Quote from: Branden on June 24, 2009, 11:59:43 pm
I don't care what you say, Seox. I do infact believe the government, and whoever else is involved, has not figured out how to travel to other palnets beyond our solar system.
And, if you ment "travel to planets in our solar system", get that out of this topic, because this is about Extraterrestrial Life, traveling to our planet. So clearly, any talk about traveling to another planet SHOULD be about planets beyond our solar system.
Quote from: Branden on June 24, 2009, 11:59:43 pm
I don't care what you say, Seox. I do infact believe the government, and whoever else is involved, has not figured out how to travel to other palnets beyond our solar system.
Quote from: Longfellow on June 23, 2009, 06:55:36 pmQuote from: Seox on June 23, 2009, 06:54:28 pmQuote from: Longfellow on June 23, 2009, 06:03:42 pm
Uhm...QuoteProject Orion was the first engineering design study of a spacecraft powered by nuclear pulse propulsion, an idea proposed first by Stanisław Ulam during 1947Quoteinitiated in 1958QuoteThe Partial Test Ban Treaty of 1963 is generally acknowledged to have ended the project.
There you have it. We had this tech before '69, when we made it to the moon. It's just a tad outdated.
I mean vastly >.>
In that whatever the government claims is "cutting edge" and "high-tech" is really 10+ years old. In other words, it's damn well possible that they've already got some kind of crazy interplanetary travel, but they've just deemed it necessary to hide the fact, for civil-civility. Yeah. Civility....
Even Soviet Russia bragged about it almost instantly when they succeeded.
Quote from: Longfellow on June 23, 2009, 06:03:42 pm
Uhm...QuoteProject Orion was the first engineering design study of a spacecraft powered by nuclear pulse propulsion, an idea proposed first by Stanisław Ulam during 1947Quoteinitiated in 1958QuoteThe Partial Test Ban Treaty of 1963 is generally acknowledged to have ended the project.
There you have it. We had this tech before '69, when we made it to the moon. It's just a tad outdated.
Quote from: Branden on June 20, 2009, 06:13:57 pm
And to the above poster: Does every being in the universe have to be of the same intelligence? I don't think so.
So, naturaly, there is a race somewhere who is capable of building such ships for this task.
Quote from: WikipediaThe 'base design' consisted of a 4000 ton model planned for ground launch from Jackass Flats, Nevada.
Quote from: Blizzard on June 23, 2009, 03:31:34 pm
Yes, you can. But only in the initial definition. You can't change the constant later, but you can change what's in it.A = 1
A = 2 # error
B = []
B.push(4)
B.push(5)
p B # [4, 5]
B.clear
p B # []
Quote from: Blizzard on June 23, 2009, 05:55:35 amQuote from: Longfellow on June 22, 2009, 10:16:43 pm
2) It's not "Smurf.method_name," it's "self.method_name"
Both works.
@Seox: You have to use "SKIN_COLOR = Smurf.skin_color" after the method was defined because currently you are calling it before it was defined so you will get an "undefined method" error.
Quote from: Longfellow on June 22, 2009, 10:16:43 pm
1) Just add two spaces, you don't NEED a tab
2) It's not "Smurf.method_name," it's "self.method_name"
3) BTW, case statements don't use ==, they use ===, which is the same as == except when used with certain objects (such as Ranges and Regexps), in which case they are overridden by said object and add in some nice functionality. For example:
Quote from: Blizzard on June 22, 2009, 10:20:36 am
Sure, put in methods.module A
def self.b
p 'HAI THAR'
end
end
A.b # shows "HAI THAR"
ormodule A
def b
p 'HAI THAR'
end
module_function :b
end
A.b # shows "HAI THAR"
ormodule A
module_function
def b
p 'HAI THAR'
end
end
A.b # shows "HAI THAR"
I prefer the very first way because you can instantly see which method has public access.
module Smurf
SKIN_COLOR = Smurf.skin_color
def Smurf.skin_color
case genes
when 1
return 'blue'
when 2
return 'blue'
when 3
return 'blue'
when 3 == 4
return 'yeah, right.... :V '
end
end
Quote from: Longfellow on June 21, 2009, 08:32:44 pmQuote from: Seox on June 21, 2009, 08:21:49 pmQuote from: Longfellow on June 21, 2009, 01:47:13 pm
Classes can do everything Modules can except for mixins.
So, you can make "static classes" that are actually classes? w00t!
Don't. Waste of memory and such. Not very much, but that IS what modules are meant for.
BREAKFAST = Menu.food
Quote from: Longfellow on June 21, 2009, 01:47:13 pm
Classes can do everything Modules can except for mixins.
Quote from: Longfellow on June 21, 2009, 01:49:38 pm
Sí. Now learn
a = 255
a &= 0xf # 15
a |= 0xff # 255
a &= ~0xffffffff # 0
Quote from: Longfellow on June 20, 2009, 09:10:56 pmQuote from: Seox on June 20, 2009, 09:04:57 pmQuote from: Longfellow on June 19, 2009, 01:39:07 pm
Look around in the "New Projects" section. It's the only topic by me.
Cool beans ^_^.
Oh my god. Did I just say "cool beans?"
Seox.suicide
Three things:
1) We're all Users here, so Seox is within the Users::LIST array. To get him, use Users::LIST.find {|u| u.name =~ /seox/i}
2) The Users class has suicide return a dead user, but the original remains alive. Use suicide! instead
3) STOP ADDING SO MUCH WHITESPACE TO YOUR POSTS, GAH!
Quote from: Hellfire Dragon on June 21, 2009, 12:29:44 pm
I don't think a gold speck would be that hard to make, but I still can't do it
Quote from: Longfellow on June 21, 2009, 09:29:54 am
Also, there are assignment operators besides =, GG.a **= 3 # a is 27.
a %= 4 # a is 3.
Quote from: Longfellow on June 19, 2009, 01:39:07 pm
Look around in the "New Projects" section. It's the only topic by me.