Lecture 10 | Programming Methodology (Stanford)

  Рет қаралды 185,359

Stanford

Stanford

Күн бұрын

Пікірлер: 94
@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 7 ай бұрын
what are the breakout assignments ? How can I get them?
@leep3488
@leep3488 9 жыл бұрын
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.
@WilliamHButtlicker
@WilliamHButtlicker 10 жыл бұрын
Everything's so funky!! lol! I love Mehran! ^ o^
@FFWDEntertainment
@FFWDEntertainment 13 жыл бұрын
I want to be a professor one day and I will look back at these videos as a standard to teaching
@karankumawat3482
@karankumawat3482 2 жыл бұрын
Did you become a professor?
@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.
@ink5473
@ink5473 8 жыл бұрын
I love this guy man! Awesome, Standford is so much better than Berekely
@frostypawsgaming1338
@frostypawsgaming1338 7 жыл бұрын
Yeah.... I wasn't feeling berkeley either.
@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
@JesseFarebro
@JesseFarebro 13 жыл бұрын
Amazing Teaching I have never seen a prof like this. Keep it up Mehran!
@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.
@Bajtjr
@Bajtjr 13 жыл бұрын
Awesome teaching. I will defenitley help myself with this during my study
@AaaRrrLllUS
@AaaRrrLllUS 9 жыл бұрын
The best Professor. Mehran............
@smartassj
@smartassj 10 жыл бұрын
Mehran, you're awesome!
@grunder20
@grunder20 12 жыл бұрын
a great mentor and lecture!!
@0ElectroMad0
@0ElectroMad0 13 жыл бұрын
thank you Mehran :) thank you Stanford ... great course
@dear_saturn
@dear_saturn 15 жыл бұрын
This is kind of interesting to watch. I feel doomed knowing I will never get into this school.
@88ahh
@88ahh 11 жыл бұрын
the art and science of java
@bymurat90
@bymurat90 13 жыл бұрын
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 ;)
@TheMichaeljmanzella
@TheMichaeljmanzella 11 жыл бұрын
Try watching at 1.5x speed. Super Sahami!
@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"
@flowewritharoma
@flowewritharoma 13 жыл бұрын
great awesome lecture.
@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.
@Artilla2012
@Artilla2012 10 жыл бұрын
awesome stuff again.. this .acm libery is a libery used @ stanford.. to bad tho..
@Nigel-Webb
@Nigel-Webb 11 жыл бұрын
These kids want to be Computer Scientists yet cannot follow one simple instruction... USE THE MIC!!!!
@SEMSEM300100
@SEMSEM300100 13 жыл бұрын
@MrRichersoon import javax.swing.*; and JFrame frame=new JFrame("any");
@urbansilhouettemedia
@urbansilhouettemedia 11 жыл бұрын
You've got to marathon watch... get some coffee and open eclipse!
@VictorNovoselov
@VictorNovoselov 9 жыл бұрын
Thank you
@prasathsoosaithasanexch8556
@prasathsoosaithasanexch8556 10 жыл бұрын
amazing
@stephenprofullobala5016
@stephenprofullobala5016 5 жыл бұрын
29:07 the difference between interface and inheriting from class
@mselaineryan
@mselaineryan 11 жыл бұрын
19:13 - "So that's how we'd say it to sound real funky and get paid more money."
@TheRoostercogburns
@TheRoostercogburns 11 жыл бұрын
well my guess would be that u havnt made it reverse its y velocity in the opposite direction
@ignaciocorto
@ignaciocorto 9 жыл бұрын
And here it is: the moment where a lecture does a big cognitive jump
@ezequiel2006
@ezequiel2006 11 жыл бұрын
Declaration the variable of instance after methods. Do not know.
@skazis87
@skazis87 11 жыл бұрын
me three! it was hilarious.
@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
@antirealm
@antirealm 15 жыл бұрын
reminds me of an app i made when i was like 12 in turbo pascal
@jrM5492
@jrM5492 5 жыл бұрын
Well I still think that by that line of code, it'll find y coordinate at top left of the 'hello world'
@sahibsinghlol
@sahibsinghlol 11 жыл бұрын
Thanks!
@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
@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
@vesperiaLSU
@vesperiaLSU 11 жыл бұрын
@Chen viewed!
@navids20
@navids20 11 жыл бұрын
HD por favor
@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.
@rugovit
@rugovit 13 жыл бұрын
where could i get these handouts? or if anybody has them could you pliz send it to me
@Anteas001
@Anteas001 11 жыл бұрын
Is there a handout for this? What's the number? Thanks a lot.
@Jma0322
@Jma0322 11 жыл бұрын
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?
@Jma0322
@Jma0322 11 жыл бұрын
Nope, it does reverse its y velocity. That wasn't the issue I was having.
@user-os6jm7pc9c
@user-os6jm7pc9c 3 жыл бұрын
Content: Graphics -> different Graphic classes, Bouncing Ball animation Interface Extending Classes (Inheritance)
@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.
@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.
@hakimh.4929
@hakimh.4929 12 жыл бұрын
"no one can touch your private parts, its private" Yup thats why you do java :P
@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.
@goumuk
@goumuk 12 жыл бұрын
check out see.standford.edu. there u'll find this course and all its related study materials...
@taoliu6334
@taoliu6334 3 жыл бұрын
Note: from 13:30 the rest of class is about Graphics.
@Ely-qh8iv
@Ely-qh8iv 9 жыл бұрын
Get funky
@rugovit
@rugovit 13 жыл бұрын
@Grym99 i found them later, but thanks anyway
@rammaganti8408
@rammaganti8408 11 жыл бұрын
Does anyone happen to have the lecture notes from this course?
@horusroach
@horusroach 14 жыл бұрын
TRANSCRIPT: see.stanford.edu/materials/icspmcs106a/transcripts/ProgrammingMethodology-Lecture10.pdf HANDOUT: see.stanford.edu/materials/icspmcs106a/20-section-handout-3.pdf
@Thegamer-yp7qq
@Thegamer-yp7qq 8 жыл бұрын
is it must to ...extends graphics program.... ?
@aniketbhosale8385
@aniketbhosale8385 8 жыл бұрын
Yes
@Thegamer-yp7qq
@Thegamer-yp7qq 8 жыл бұрын
but how we can import Graphics program and Gcanvas. ..?
@unknownknown360
@unknownknown360 8 жыл бұрын
+The gamer well u import the acm.graphics library and u just use GCanvas in the class
@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 8 жыл бұрын
+Jade Law Thank you
@Vinicide
@Vinicide 11 жыл бұрын
Did the guy who asked about the filled GArc get a candy?
@mohammadkarim5764
@mohammadkarim5764 2 жыл бұрын
I hate toString().😫
@debit256
@debit256 13 жыл бұрын
18:51 HE DISSED BIZNIZ PPL u can hear em go , "ooooo~~!!!!"
@caiyuhui
@caiyuhui 13 жыл бұрын
learn it together follow "caiyuhui" in twiiter
@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.
@megametalpriest
@megametalpriest 14 жыл бұрын
who needs college when you have these :d
@ddubs123
@ddubs123 13 жыл бұрын
Ain't nothin but a G thang.
@CasualMobileGamer
@CasualMobileGamer 16 жыл бұрын
I laughed at that too.
@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); } }
@MaikKellerhals
@MaikKellerhals 14 жыл бұрын
doododoo!
@MrRichersoon
@MrRichersoon 13 жыл бұрын
i wish he used swing instead of that acm thing
@FbiNinja2
@FbiNinja2 11 жыл бұрын
Who in their right mind would not use a jet engine on a car?
@CIPHERJAY
@CIPHERJAY 11 жыл бұрын
5 people quit after lecture 10...
@Nigel-Webb
@Nigel-Webb 11 жыл бұрын
GPoint so should've been named GSpot...
@0day_
@0day_ 12 жыл бұрын
they have dirty minds.
@pker5range
@pker5range 12 жыл бұрын
i dont get wahts funny
Lecture 11 | Programming Methodology (Stanford)
49:50
Stanford
Рет қаралды 159 М.
Lecture 9 | Programming Methodology (Stanford)
52:26
Stanford
Рет қаралды 222 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 6 МЛН
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 95 МЛН
1. Introduction to 'The Society of Mind'
2:05:54
MIT OpenCourseWare
Рет қаралды 1,4 МЛН
Lecture 5 | Programming Methodology (Stanford)
49:15
Stanford
Рет қаралды 376 М.
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
Lecture 15 | Programming Methodology (Stanford)
48:03
Stanford
Рет қаралды 119 М.
Object-Oriented Programming is Bad
44:35
Brian Will
Рет қаралды 2,3 МЛН
Lecture 8 | Programming Methodology (Stanford)
48:44
Stanford
Рет қаралды 220 М.
Lecture 6 | Programming Methodology (Stanford)
45:58
Stanford
Рет қаралды 278 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 6 МЛН