Lecture 10 | Programming Methodology (Stanford)

  Рет қаралды 186,072

Stanford

Stanford

Күн бұрын

Пікірлер: 95
@BigRed4231
@BigRed4231 12 жыл бұрын
I´ve almost completed the Breakout assignment, with no previous experience in programming until I started studying these videos from Stanford some months ago. It´s amazing what a good teacher and hunger for learning can do.
@johnbeal6592
@johnbeal6592 11 ай бұрын
what are the breakout assignments ? How can I get them?
@leep3488
@leep3488 10 жыл бұрын
The ball program is absolutely mind blowing when he ran it. The physics and nature of the bouncing was so lifelike. That was the best animation i have seen in my life of a ball bouncing.
@rockstarkate78
@rockstarkate78 10 жыл бұрын
This class is very rewarding. I feel happy when I figure out how to complete the assignments or the exercises in the book.
@jaimegarcia9088
@jaimegarcia9088 10 жыл бұрын
I agree. It feels great to overcome every new roadblock in the book (and in the Assignments). Seems like we're making the same progress btw; just saw your previous post in the last video. ;)
@rockstarkate78
@rockstarkate78 10 жыл бұрын
I got behind a little due to travel, but now I'm working on finishing the breakout assignment before moving on :)
@darrenallen773
@darrenallen773 10 жыл бұрын
Hello, I am just curious how you both have been making out? I am trying to go at this but sometimes a small problem can take hours of working our before I see it. I am currently looking for a group that would like to go along with this(may not apply to you guys, your progress may be done) Would either of you every be opposed to the odd question here and there, I understand if no but sometimes the problem is as easy to solve as ___can't be resolved, I wish he had gone over a few of the trouble shooting methods sometimes.:(
@bigdirtyoutdoors5186
@bigdirtyoutdoors5186 10 жыл бұрын
Darren Allen hey if you still want a study buddy i am also working onthese classes i just got to the breakout assignment myself.
@darrenallen773
@darrenallen773 10 жыл бұрын
I have yet to start trying it but the breakout assignment is the next thing I am going to try. Have you been following and doing the assignments in the book "the art and science of java " I was having some trouble on the questions about the random number generator and the strings.
@JesseFarebro
@JesseFarebro 13 жыл бұрын
Amazing Teaching I have never seen a prof like this. Keep it up Mehran!
@ink5473
@ink5473 9 жыл бұрын
I love this guy man! Awesome, Standford is so much better than Berekely
@frostypawsgaming1338
@frostypawsgaming1338 8 жыл бұрын
Yeah.... I wasn't feeling berkeley either.
@FFWDEntertainment
@FFWDEntertainment 14 жыл бұрын
I want to be a professor one day and I will look back at these videos as a standard to teaching
@karankumawat3482
@karankumawat3482 3 жыл бұрын
Did you become a professor?
@sujitroy4236
@sujitroy4236 2 ай бұрын
@@karankumawat3482😂😂
@AaaRrrLllUS
@AaaRrrLllUS 10 жыл бұрын
The best Professor. Mehran............
@Hjjayk
@Hjjayk 10 жыл бұрын
Mehran, you're awesome!
@dacherx
@dacherx 14 жыл бұрын
I like watching these with the transcription. The transcription also includes cut out part of the lecture where he talks about homework and section example.
@davdusmc
@davdusmc 11 жыл бұрын
Lecture 10, the first lecture with less than 100K hits as of 7/13 working on breakout and have read about 110 pages of the book looking forward to finishing and moving on to abstractions
@grunder20
@grunder20 13 жыл бұрын
a great mentor and lecture!!
@0ElectroMad0
@0ElectroMad0 13 жыл бұрын
thank you Mehran :) thank you Stanford ... great course
@Bajtjr
@Bajtjr 14 жыл бұрын
Awesome teaching. I will defenitley help myself with this during my study
@bymurat90
@bymurat90 14 жыл бұрын
First of all, I really adore him, by the way I just realized something in ' 42:27 ' it 's actually definition of being tired :-) Thank you so much Mehran ;)
@Dr.HassanMostafa
@Dr.HassanMostafa 4 жыл бұрын
there is something wrong here at 41:35 to center the y parameter of a GLabel, you have to "ADD" the canvas height to ascent of the label then divide them to 2 as the origin point is at the far left at the "BASELINE" not the far upper left point as in geometric shapes it gonna be like that .... double y = (getHeight() + label.getAscent()) / 2 .... note that the y axis direction is starting from above to bottom.
@dear_saturn
@dear_saturn 16 жыл бұрын
This is kind of interesting to watch. I feel doomed knowing I will never get into this school.
@taoliu6334
@taoliu6334 3 жыл бұрын
Note: from 13:30 the rest of class is about Graphics.
@stephenprofullobala5016
@stephenprofullobala5016 5 жыл бұрын
29:07 the difference between interface and inheriting from class
@flowewritharoma
@flowewritharoma 14 жыл бұрын
great awesome lecture.
@Grym99
@Grym99 13 жыл бұрын
@rugovit If you look in the desciption for the video, there's a link to "CS106A at Stanford Unversity:" Then click Handouts to the right side
@Twarter369
@Twarter369 14 жыл бұрын
In your init method add an event listener that when called runs your ACTUAL init method...or you can add "wait For Mouse Click"
@TheMichaeljmanzelda
@TheMichaeljmanzelda 11 жыл бұрын
Try watching at 1.5x speed. Super Sahami!
@88ahh
@88ahh 11 жыл бұрын
the art and science of java
@Dr.HassanMostafa
@Dr.HassanMostafa 4 жыл бұрын
I have bounced the ball many many times, Mehran is too cruel to not repeat the bouncing ball to these poor students. I can't imagine how they had resisted the urge to see it bouncing again. at 38:38
@prasathsoosaithasanexch8556
@prasathsoosaithasanexch8556 11 жыл бұрын
amazing
@user-os6jm7pc9c
@user-os6jm7pc9c 4 жыл бұрын
Content: Graphics -> different Graphic classes, Bouncing Ball animation Interface Extending Classes (Inheritance)
@SEMSEM300100
@SEMSEM300100 13 жыл бұрын
@MrRichersoon import javax.swing.*; and JFrame frame=new JFrame("any");
@Artilla2012
@Artilla2012 11 жыл бұрын
awesome stuff again.. this .acm libery is a libery used @ stanford.. to bad tho..
@SuperMasenka
@SuperMasenka 15 жыл бұрын
hey guys,im having a problem here when i run this applet..it says here the serializable class BouncingBall does not declare a static final version serialVersionUID field of type long... so i do one of this quick fixes(i tried all three of em) and applet still does not run how it should,someone help please
@ezequiel2006
@ezequiel2006 11 жыл бұрын
Declaration the variable of instance after methods. Do not know.
@TheRoostercogburns
@TheRoostercogburns 12 жыл бұрын
well my guess would be that u havnt made it reverse its y velocity in the opposite direction
@urbansilhouettemedia
@urbansilhouettemedia 11 жыл бұрын
You've got to marathon watch... get some coffee and open eclipse!
@ignaciocorto
@ignaciocorto 10 жыл бұрын
And here it is: the moment where a lecture does a big cognitive jump
@VictorNovoselov
@VictorNovoselov 9 жыл бұрын
Thank you
@phartatmisassa5035
@phartatmisassa5035 11 жыл бұрын
Bricks, could you center them? I got mine changing colors with pause(PAUSE_TIME) and setFillColor(Color.arg1) etc. I want to make a character dance and at the end of each "move" the resulting position of his body will leave some possible methods he can start from, and random generator will pick which method or "dance move" he will pick next, and in that way he will just keep on dancing pseudo-randomly.
@Anteas001
@Anteas001 12 жыл бұрын
Is there a handout for this? What's the number? Thanks a lot.
@skazis87
@skazis87 12 жыл бұрын
me three! it was hilarious.
@Jma0322
@Jma0322 12 жыл бұрын
I'm working on breakout and I added the bit of code he uses at 38:32 to keep the ball from going through the floor to improve the way the ball in breakout hits the paddle, but it just makes the ball appear below the paddle after hitting it. Anyone know why?
@erikid247
@erikid247 12 жыл бұрын
Anyone else have problem with making the Breakout problem, i can't get the Mouse listeneres to work. I think they are outdated
@jrM5492
@jrM5492 6 жыл бұрын
Well I still think that by that line of code, it'll find y coordinate at top left of the 'hello world'
@rugovit
@rugovit 13 жыл бұрын
where could i get these handouts? or if anybody has them could you pliz send it to me
@warnexus
@warnexus 13 жыл бұрын
i type the same code but it not accepting the BOUNCE_REDUCE. i get an error saying BOUNCE_REDUCE cannot resolve to a variable
@sahibsinghlol
@sahibsinghlol 11 жыл бұрын
hey, could you please tell me which book he's following? I skipped the initial 3-4 lectures, so dont really know.
@mselaineryan
@mselaineryan 11 жыл бұрын
19:13 - "So that's how we'd say it to sound real funky and get paid more money."
@SigmaChuck
@SigmaChuck 14 жыл бұрын
Does anybody have any clue how to implement a "type any key to begin" functionality to the breakout program? I'm working through this course on my own and I've completed the required portions of assignment 3 but would like to make the game more playable.
@sahibsinghlol
@sahibsinghlol 11 жыл бұрын
Thanks!
@Thegamer-yp7qq
@Thegamer-yp7qq 9 жыл бұрын
but how we can import Graphics program and Gcanvas. ..?
@unknownknown360
@unknownknown360 9 жыл бұрын
+The gamer well u import the acm.graphics library and u just use GCanvas in the class
@jimmypoopap
@jimmypoopap 11 жыл бұрын
Check here: stanford. edu /class/ cs106a/ These notes are from the 2013 class (current) that is not much different from the video class.
@vesperiaLSU
@vesperiaLSU 11 жыл бұрын
@Chen viewed!
@rammaganti8408
@rammaganti8408 11 жыл бұрын
Does anyone happen to have the lecture notes from this course?
@6502-Coder
@6502-Coder 11 жыл бұрын
These kids want to be Computer Scientists yet cannot follow one simple instruction... USE THE MIC!!!!
@Thegamer-yp7qq
@Thegamer-yp7qq 9 жыл бұрын
is it must to ...extends graphics program.... ?
@aniketbhosale8385
@aniketbhosale8385 8 жыл бұрын
Yes
@horusroach
@horusroach 14 жыл бұрын
TRANSCRIPT: see.stanford.edu/materials/icspmcs106a/transcripts/ProgrammingMethodology-Lecture10.pdf HANDOUT: see.stanford.edu/materials/icspmcs106a/20-section-handout-3.pdf
@Jma0322
@Jma0322 12 жыл бұрын
Nope, it does reverse its y velocity. That wasn't the issue I was having.
@karthick2229
@karthick2229 10 жыл бұрын
Really interesting one. but where can we get source code for this program(bouncing ball )? Anyone please help/
@MereLee
@MereLee 10 жыл бұрын
You really need to read the video descriptions/comments more often D: But to answer your question: see.stanford.edu/see/materials/icspmcs106a/handouts.aspx
@jadelaw709
@jadelaw709 10 жыл бұрын
it's on the see.stanford.edu website where the materials for the class are: see.stanford.edu/materials/icspmcs106a/21-bouncing-ball-example.pdf
@karthick2229
@karthick2229 10 жыл бұрын
MereLee thank you very much to MereLee and Jade Law . timely help .
@bogdanpanici5010
@bogdanpanici5010 9 жыл бұрын
+Jade Law Thank you
@antirealm
@antirealm 16 жыл бұрын
reminds me of an app i made when i was like 12 in turbo pascal
@mohammadkarim5764
@mohammadkarim5764 3 жыл бұрын
I hate toString().😫
@roysarit
@roysarit 12 жыл бұрын
check out see.standford.edu. there u'll find this course and all its related study materials...
@hakimh.4929
@hakimh.4929 12 жыл бұрын
"no one can touch your private parts, its private" Yup thats why you do java :P
@navids20
@navids20 12 жыл бұрын
HD por favor
@megametalpriest
@megametalpriest 14 жыл бұрын
who needs college when you have these :d
@Vinicide
@Vinicide 11 жыл бұрын
Did the guy who asked about the filled GArc get a candy?
@rugovit
@rugovit 13 жыл бұрын
@Grym99 i found them later, but thanks anyway
@karnanigam
@karnanigam 5 жыл бұрын
extends graphics program...? anyone!
@osmankhalil339
@osmankhalil339 5 жыл бұрын
download the acm package and include it to library path
@hetaeramancer
@hetaeramancer 2 жыл бұрын
@@osmankhalil339 isn't it deprecated now? i've downloaded the acm package and did the importing, i got nothing but errors.
@debit256
@debit256 13 жыл бұрын
18:51 HE DISSED BIZNIZ PPL u can hear em go , "ooooo~~!!!!"
@Ely-qh8iv
@Ely-qh8iv 9 жыл бұрын
Get funky
@caiyuhui
@caiyuhui 14 жыл бұрын
learn it together follow "caiyuhui" in twiiter
@FbiNinja2
@FbiNinja2 11 жыл бұрын
Who in their right mind would not use a jet engine on a car?
@ddubs123
@ddubs123 14 жыл бұрын
Ain't nothin but a G thang.
@MrRichersoon
@MrRichersoon 14 жыл бұрын
i wish he used swing instead of that acm thing
@MaikKellerhals
@MaikKellerhals 14 жыл бұрын
doododoo!
@CasualMobileGamer
@CasualMobileGamer 16 жыл бұрын
I laughed at that too.
@CIPHERJAY
@CIPHERJAY 11 жыл бұрын
5 people quit after lecture 10...
@SEMSEM300100
@SEMSEM300100 13 жыл бұрын
@MrRichersoon import javax.swing.*; and public class any{ public static void main(String[ ]args){ JFrame frame=new JFrame("any"); frame.setsize(300,300); frame.setvisiable(true); } }
@0day_
@0day_ 12 жыл бұрын
they have dirty minds.
@6502-Coder
@6502-Coder 11 жыл бұрын
GPoint so should've been named GSpot...
@pker5range
@pker5range 12 жыл бұрын
i dont get wahts funny
Lecture 11 | Programming Methodology (Stanford)
49:50
Stanford
Рет қаралды 160 М.
Lecture 12 | Programming Methodology (Stanford)
49:17
Stanford
Рет қаралды 223 М.
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
AT&T Archives: The UNIX Operating System
27:27
AT&T Tech Channel
Рет қаралды 2 МЛН
Richard Feynman: Can Machines Think?
18:27
Lex Clips
Рет қаралды 1,6 МЛН
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,7 МЛН
Lecture 9 | Programming Methodology (Stanford)
52:26
Stanford
Рет қаралды 222 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
How to Remember Everything You Read
26:12
Justin Sung
Рет қаралды 3,3 МЛН
Nobel Minds 2024
52:30
Nobel Prize
Рет қаралды 766 М.
Lecture 1: Introduction to Power and Politics in Today’s World
56:15
YaleCourses
Рет қаралды 3,2 МЛН