76
Games / Re: Second Life
« on: June 25, 2013, 02:54:35 PM »
Created an account. From the videos on youtube I have seen, I'm expecting a mix between research, DeviantArt, Habbo and Garry's Mod.
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.
#node comparison system
class Node
attr_reader :response
def initialize(response = nil)
#should fix this bit
@response = response
@child_node = nil
@contents = nil
end
def learn(words,name = nil)
if(name)
@content_name = name
end
@contents = words.shift
if(words.size > 0)
@child_node = Node.new
@child_node.learn(words)
end
end
def compare(words)
@contents_compare = words.shift
if(@contents == @contents_compare)
if(@child_node)
return @child_node.compare(words)
else
return false if(words.size > 0)
return true
end
else
false
end
end
end
main_node = Node.new("Matched")
main_node.learn("HELLO".split(/\W+/),"test_nodes")
if(main_node.compare("HELLO".split(/\W+/)))
puts main_node.response
else
puts "No match."
end
I haven't seen it, I'll run a patrol again.Looking back through the posts on this thread. Somebody salvaged it.
might have been a good idea to get a usb 3.0 supported motherboard. also, how much did this cost you?I'm going to have one last look at the manual and see if there's anything (I thought I saw some jumper caps on some settings). I'm not bothered that one of the front ports doesn't work because of how much monies I spent on this PC.