[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Skotty

11/9/2006 6:45:00 AM

Alright, can somebody point me to a guide that doesn't leave me all
kinds of confused?
For instance.
def thingHere(self, params)
@params = so and so

I guess I just don't "get it" I mean I do, I'm inches away but there are
still a ton of hurdles I need to get over, like...thinking correctly for
instance.

Somebody please help me. Haha

--
skt

shyguyfrenzy@gmail.com
"I sing a song, falling upon deaf ears; unsung."


24 Answers

Paul Lutus

11/9/2006 7:00:00 AM

0

skt wrote:

> Alright, can somebody point me to a guide that doesn't leave me all
> kinds of confused?
> For instance.
> def thingHere(self, params)
> @params = so and so
>
> I guess I just don't "get it" I mean I do, I'm inches away but there are
> still a ton of hurdles I need to get over, like...thinking correctly for
> instance.

There is a lot of free, terrific information available to help you learn
Ruby, but you need to be patient and take it a step at a time.

--
Paul Lutus
http://www.ara...

Skotty

11/9/2006 7:29:00 AM

0

Once again, I think you all kindly for your quick response to my "quick"
question.
I need to be patient, but for me it's all or nothing. I WANT to learn
this, but these frustrating little roadblocks are driving me crazy.

I understand you can define them as self as well?
example
def self(username, pass, etc, etc)
@username = blah
@pass = blah
and so forth?
Vihan Pandey wrote:
> Hi,
>
> Alright, can somebody point me to a guide that doesn't leave me all
>> kinds of confused?
>> For instance.
>> def thingHere(self, params)
>> @params = so and so
>
>
> i can understand the confusion for somebody trying programming / a new
> programming language for the first time. There are as Paul very
> rightly said
> ``a lot of free, terrific information available to help you learn
> Ruby" and
> ``you need to be patient and take it a step at a time".
>
> If your question is for an extremely simple(albeit a slightly outdated
> page)
> tutorial you can check this out :
>
> http://www.math.umd.edu/~dcarrera...
>
> If you are having specific difficulties on what @some_thing is then
> please
> read
> this :
>
> http://www.math.umd.edu/~dcarrera...chp_04/classes.html
>
> Basic knowledge of simple Object Oriented concepts would help as well.
>
> It would be prudent for you try all the examples and the exercises. It
> requires some time and commitment, but then what doesn't to get things
> right
> :-)
>
> Regards,
>
> - vihan
>


--
skt

shyguyfrenzy@gmail.com
"I sing a song, falling upon deaf ears; unsung."


Robert Klemme

11/9/2006 10:19:00 AM

0

On 09.11.2006 08:28, skt wrote:
> Once again, I think you all kindly for your quick response to my "quick"
> question.
> I need to be patient, but for me it's all or nothing. I WANT to learn
> this, but these frustrating little roadblocks are driving me crazy.
>
> I understand you can define them as self as well?

I do not know whether you can - actually I never bothered to try it out.
Since "self" is special it is a bad idea to use it for method or
variable names. My 0.02EUR

robert

Hugh Sasse

11/9/2006 10:32:00 AM

0

Richard Conroy

11/9/2006 11:21:00 AM

0

On 11/9/06, skt <shyguyfrenzy@gmail.com> wrote:
> Alright, can somebody point me to a guide that doesn't leave me all
> kinds of confused?

The Little Book of Ruby:
http://www.sapphiresteel.com/IMG/pdf/LittleBook...

It explains the complete basics. Assumes little on the part of the
user. You will quickly exhaust its usefulness, but as a bootstrap
guide for beginners its invaluable.

You can then wean yourself onto quick references like this:
http://www.zenspider.com/Languages/Ruby/Qui...

And you should have enough foundation level stuff to make your
own programs, or follow the examples and content in some of
the main books.

David Vallner

11/9/2006 12:04:00 PM

0

skt wrote:
> Once again, I think you all kindly for your quick response to my "quick"
> question.
> I need to be patient, but for me it's all or nothing. I WANT to learn
> this, but these frustrating little roadblocks are driving me crazy.
>
> I understand you can define them as self as well?
> example
> def self(username, pass, etc, etc)
> @username = blah
> @pass = blah
> and so forth?

You're skipping past concepts, trying to get working code without
actually knowing one bit of what you're doing. Down on the caffeine, and
maybe tell us what programming experience you have already, if any?

Things will get much easier if you have some which other people can
establish analogues to, and if not, there's resources which are targeted
at first-time programmers that take a different approach than ones aimed
at people who already know other object-oriented programming languages.

My guess is that you don't have any experience with OO programming at
all, and are trying to follow the wrong material.

Also, dropping code snippets that make no sense and abuse "etc" and
"blah" isn't really helping anyone.

David Vallner

James Gray

11/9/2006 1:42:00 PM

0

On Nov 9, 2006, at 6:04 AM, David Vallner wrote:

> You're skipping past concepts, trying to get working code without
> actually knowing one bit of what you're doing. Down on the
> caffeine, and
> maybe tell us what programming experience you have already, if any?
>
> Things will get much easier if you have some which other people can
> establish analogues to, and if not, there's resources which are
> targeted
> at first-time programmers that take a different approach than ones
> aimed
> at people who already know other object-oriented programming
> languages.
>
> My guess is that you don't have any experience with OO programming at
> all, and are trying to follow the wrong material.
>
> Also, dropping code snippets that make no sense and abuse "etc" and
> "blah" isn't really helping anyone.

I find the abusive tone of this message equally unhelpful. There no
need for you to answer a question here, if it bothers you.

James Edward Gray II

Ross Bamford

11/9/2006 2:37:00 PM

0

On Thu, 2006-11-09 at 21:04 +0900, David Vallner wrote:

> Also, dropping code snippets that make no sense and abuse "etc" and
> "blah" isn't really helping anyone.

Much like the growing trend of programmers trying to (t/pr)each English.
Most unhelpful. If you can't read it, skip it, I say.

--
Ross Bamford - rosco@roscopeco.REMOVE.co.uk


frenchy

11/5/2010 12:00:00 PM

0

On Nov 4, 8:23 pm, David Gersic <usenet_spam_t...@zaccaria-
pinball.com> wrote:
> The first SS game(s) didn't do anything like an attract mode. My World
> Cup, for example, just sits there lit up just like its EM predecessors.>>

Earliest Bally SS I've had was Eight Ball, which has a rudimentary
attract of the 15 pool ball inserts sequentially all lighting up and
then starting over. It's actually a quaint little touch to the game
that I liked. Not sure what earlier Bally games had something
similar, or if they just left the lamps where they were at game over.

KenH

11/5/2010 12:59:00 PM

0

On Nov 5, 4:59 am, frenchy <mf101...@msn.com> wrote:
> On Nov 4, 8:23 pm, David Gersic <usenet_spam_t...@zaccaria-
>
> pinball.com> wrote:
> > The first SS game(s) didn't do anything like an attract mode. My World
> > Cup, for example, just sits there lit up just like its EM predecessors.>>
>
> Earliest Bally SS I've had was Eight Ball, which has a rudimentary
> attract of the 15 pool ball inserts sequentially all lighting up and
> then starting over.  It's actually a quaint little touch to the game
> that I liked.  Not sure what earlier Bally games had something
> similar, or if they just left the lamps where they were at game over.

This is really interesting. Thanks for all the posts, everyone. I
found this very small bit of info on IPDB about Bow and Arrow, which
would have been a very early SS, and a very early, 'beginning' of the
more substantial attract mode we know and love.

"The lights for the center target and the top kick-out hole rotate
even in Game Over mode, unlike the EM version. "

I don't know if any of the early Bally employees are on RGP that could
comment on this, but I was envisioning something like this happening
at the factory (this is pure speculation, and probably 99% wrong)....

(developer running out on the floor, after hours of trial and error,
making lights flash, maybe all at once, maybe blowing fuses on some
failed attempts, then experimenting with more interesting patterns,
and so on) "hey guys, come look at this!". (game is now flashing all
lights in engaging, fun, interesting patterns, etc). "wow, that's
really neat, that would make me want to put a quarter in and play"
"ops are going to love this" "this is going to kill the EM market"
etc...

And it did make me want to play. I remember, as a kid, not being able
to pass a machine without a *strong* urge to play, and in no small
part, due to the beautiful attract mode.

I have to mention a couple of my favorite attract features. In Space
Station and Space Shuttle, the flickering rocket engines--so simple,
but it is such a wonderful detail--I almost get choked up thinking
that someone cared enough to take the time to program this incredibly
engaging light display. Also love the rotating space station lights,
and on Space Shutte, the spelling of S-P-A-C-E S-H-U-T-T-L-E on the
bonus lights.