Log in to check your private messages
Rive's Programming Thread of Doom
Page Previous  1, 2, 3 ... 6, 7, 8 ... 11, 12, 13  Next
 
Post new topic   Reply to topic    Rebels Forum Index » General Discussion View previous topic :: View next topic  
 PostPosted: Tue Nov 03, 2009 6:16 am Reply with quote  
Message
  Darth Acheron
Sith Emperor
Sith Emperor

Joined: 08 Jan 2006
Posts: 20177


Location: The Sith Temple

Rive Caedo wrote:
Dakoth wrote:
.....Did you just insinuate that we've never heard of remainders?!

I insinuated you had heard of remainders - but had never heard of an operation called modulo to specifically obtain them - and had, most likely, never used a remainder for doing any useful work Smile


Remainder theorem ?
_________________


Time to start again.


View user's profile Send private message Visit poster's website AIM Address MSN Messenger

 PostPosted: Tue Nov 03, 2009 8:41 am Reply with quote  
Message
  Rive Caedo
Jedi Grand Master
Jedi Grand Master

Joined: 02 Dec 2005
Posts: 8525


Location: Kallibann

Fair enough, I suppose, if you used that. I can't recall ever using that back in the day (though I do remember things like completing the square, factoring, and quadratic formulas).

Still, my only point was that I highly doubted either of you had run into modular arithmetic and its applications yet.
Wikipedia wrote:
Modular arithmetic is referenced in number theory, group theory, ring theory, knot theory, abstract algebra, cryptography, computer science, chemistry and the visual and musical arts.

Usually anything with "theory" after it isn't taught at the high school level Laughing

We're interested in the computer science applications, obviously. Though I'm edging our lessons here far more towards the "computer" than the "science".

But, just for fun, let's take a look at the "Introduction to Computer Science" course at MIT

Things in cyan we've already talked about to some degree, things in bold are things I intend to talk about before saying "alright, that's as far as I feel confident teaching - and it's enough for you to do a ton with this project."
MIT wrote:
1 Goals of the course; what is computation; introduction to data types, operators, and variables
2 Operators and operands; statements; branching, conditionals, and iteration
3 Common code patterns: iterative programs
4 Decomposition and abstraction through functions; introduction to recursion
5 Floating point numbers, successive refinement, finding roots
6 Bisection methods, Newton/Raphson, introduction to lists
7 Lists and mutability, dictionaries, pseudocode, introduction to efficiency
8 Complexity; log, linear, quadratic, exponential algorithms
9 Binary search, bubble and selection sorts
10 Divide and conquer methods, merge sort, exceptions
11 Testing and debugging
12 More about debugging, knapsack problem, introduction to dynamic programming
13 Dynamic programming: overlapping subproblems, optimal substructure
14 Analysis of knapsack problem, introduction to object-oriented programming
15 Abstract data types, classes and methods
16 Encapsulation, inheritance, shadowing


So, if we keep at this, by the end of what I intend you should - hopefully - be able to walk into a Computer Science class and get a 40% or so on a test - without even hearing one lecture Razz

"Recursion" might be the last topic we talk about. It's very, very useful - but it's also a hard concept to grasp for most people. Lots of things can go wrong Smile
_________________

May The Force Be With Us, Always


View user's profile Send private message Visit poster's website

 PostPosted: Tue Nov 03, 2009 2:43 pm Reply with quote  
Message
  Dakoth
Senior Jedi Council Member
Senior Jedi Council Member

Joined: 31 Jan 2006
Posts: 11492


Location: Arkua

Yay!  I hate all things quadratic!
_________________
Audi famam illius                                    Aftershock.


View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger

 PostPosted: Tue Nov 03, 2009 10:36 pm Reply with quote  
Message
  Darth Acheron
Sith Emperor
Sith Emperor

Joined: 08 Jan 2006
Posts: 20177


Location: The Sith Temple

Well I don't need to care about it anymore because I've finished Maths. Wink
_________________


Time to start again.


View user's profile Send private message Visit poster's website AIM Address MSN Messenger

 PostPosted: Wed Nov 04, 2009 1:04 am Reply with quote  
Message
  Scion
Gray Jedi Master
Gray Jedi Master

Joined: 14 Jan 2006
Posts: 3214


Location: Dakoth's Empire

I'd try to post but I can't get to the actual programming of Eclispe.  Kind of sad really.
_________________


View user's profile Send private message AIM Address

 PostPosted: Wed Nov 04, 2009 1:12 am Reply with quote  
Message
  Rive Caedo
Jedi Grand Master
Jedi Grand Master

Joined: 02 Dec 2005
Posts: 8525


Location: Kallibann

Scion wrote:
I'd try to post but I can't get to the actual programming of Eclispe.  Kind of sad really.

Have you looked at Day 3 in the first post?
After discussing Strings for a moment, it gives a step-by-step tutorial on getting a Java program done in Eclipse.
_________________

May The Force Be With Us, Always


View user's profile Send private message Visit poster's website

 PostPosted: Wed Nov 04, 2009 1:39 am Reply with quote  
Message
  Scion
Gray Jedi Master
Gray Jedi Master

Joined: 14 Jan 2006
Posts: 3214


Location: Dakoth's Empire

Thanks, I missed that in the jumble.  I am attempting your challenge posthaste.
_________________


View user's profile Send private message AIM Address

 PostPosted: Wed Nov 04, 2009 10:29 am Reply with quote  
Message
  Darth Acheron
Sith Emperor
Sith Emperor

Joined: 08 Jan 2006
Posts: 20177


Location: The Sith Temple

No new lesson?
_________________


Time to start again.


View user's profile Send private message Visit poster's website AIM Address MSN Messenger

 PostPosted: Wed Nov 04, 2009 1:54 pm Reply with quote  
Message
  Rive Caedo
Jedi Grand Master
Jedi Grand Master

Joined: 02 Dec 2005
Posts: 8525


Location: Kallibann

I was planning to post a long one about Objects and Classes today. But Dragon Age sort of consumed all my time >_<

So, Day 6 has been posted, but it's just another quick concept like yesterday.

But, also like yesterday, it's an important one since they show up all over the place Very Happy
_________________

May The Force Be With Us, Always


View user's profile Send private message Visit poster's website

 PostPosted: Wed Nov 04, 2009 6:15 pm Reply with quote  
Message
  Dakoth
Senior Jedi Council Member
Senior Jedi Council Member

Joined: 31 Jan 2006
Posts: 11492


Location: Arkua

Got it.
_________________
Audi famam illius                                    Aftershock.


View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger

 PostPosted: Thu Nov 05, 2009 12:36 am Reply with quote  
Message
  Rive Caedo
Jedi Grand Master
Jedi Grand Master

Joined: 02 Dec 2005
Posts: 8525


Location: Kallibann

Alright, I managed to resist the allure of Dragon Age and get up Day 7 with the Class/Object/Method stuff.

This is a definitely a wide topic, but I tried to get it as concisely and simple as I could.

Feel free to ask "Well what if..." questions if you have them (for instance, "what if an object has multiple constructors?") and I'll try to answer them as best I can.

Tomorrow I can either ask you to write a small program of your own utilizing custom classes/objects or we can look at some more examples, if you don't feel ready for that.
_________________

May The Force Be With Us, Always


View user's profile Send private message Visit poster's website

 PostPosted: Thu Nov 05, 2009 4:16 am Reply with quote  
Message
  Darth Acheron
Sith Emperor
Sith Emperor

Joined: 08 Jan 2006
Posts: 20177


Location: The Sith Temple

Huzzah! It's all starting to come together. Very Happy

I won't be home much tomorrow, so perhaps could the lesson stretch out onto Saturday as well? (Friday for you) so I have a chance to figure it all out and not have another lesson waiting for me. Gives you time for Dragon Age too. Wink
_________________


Time to start again.


View user's profile Send private message Visit poster's website AIM Address MSN Messenger

 PostPosted: Thu Nov 05, 2009 11:54 am Reply with quote  
Message
  Rive Caedo
Jedi Grand Master
Jedi Grand Master

Joined: 02 Dec 2005
Posts: 8525


Location: Kallibann

Perhaps I'll just make a quick paragraph or two about another side topic (like if statements and for loops). Perhaps interfaces. They're extremely simple (once you understand classes) and we'll probably use some.
_________________

May The Force Be With Us, Always


View user's profile Send private message Visit poster's website

 PostPosted: Fri Nov 06, 2009 5:20 pm Reply with quote  
Message
  Dakoth
Senior Jedi Council Member
Senior Jedi Council Member

Joined: 31 Jan 2006
Posts: 11492


Location: Arkua

That was a blit more complex, but I think I understood it pretty well.  It would help if we did some more hands on stuff soon, I think.
_________________
Audi famam illius                                    Aftershock.


View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger

 PostPosted: Sat Nov 07, 2009 12:41 am Reply with quote  
Message
  Rive Caedo
Jedi Grand Master
Jedi Grand Master

Joined: 02 Dec 2005
Posts: 8525


Location: Kallibann

Dakoth wrote:
It would help if we did some more hands on stuff soon, I think.

I'll try to whip up two or three small classes that interact with eachother - then define a new class for you to add that'll interact with the ones I already made.

That way you can look at a working example of some class/object interaction - and then expand on it.

Which is really the mid-range end goal for the "assistants" on this project anyway Smile

In other news, I've been looking into how to do some sprite animation and such. I don't have a full grasp on it yet, but I did manage to take someone's code for a working "Space Invaders" game and modify it so that instead of just moving your ship from left to right you could move it in any of the eight cardinal/intermediate directions.

... Then I made the ship shoot its laser backwards...

It may have taken me thirty years - but I finally got to rain some death from above on those slimy alien scum! Razz


_________________

May The Force Be With Us, Always


View user's profile Send private message Visit poster's website

Post new topic   Reply to topic    Rebels Forum Index » General Discussion

Page 7 of 13
All times are GMT
Page Previous  1, 2, 3 ... 6, 7, 8 ... 11, 12, 13  Next

Display posts from previous:

  

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
Jedi Knights 2 by Scott Stubblefield


The Star Wars Combine Banner Exchange