I wish these courses concentrated more on design strategy and stuff like that instead of just giving a list of basic programming commands. All the stuff talked about in this lecture is stuff people can easily learn by just doing.
@xajin24 you need to download the acm package and import it to Eclipse so you can use it with this Course. Took me a while to figure it out, but if you need assistance, shoot me a message.
I have a huge smile on my face. I had a cool little robot called Karel in my mind over the new year break. Yet another huge inspiration from Stanford University. I feel compelled to start a blog to share all my favourites as a thank you. Just searched the domain. It's available. I will post the link(s) soon.
@michaeldcurry1 I guess they did the double y = (double)x/2; formula and the answer is wrong :/... All they had to do was add parenthesis around the x/2.
Professor Mehran is a very dedicated and great teacher I wished I had him as a teacher.Some teacher may be knows the material but do not have the way to presented in a simple way.Thanks for Stanford and Prof. Mehran
Professor Mehran is a very dedicated and great teacher I wished I had him as a teacher.Some teacher may be knows the material but do not have the way to presented in a simple way................................Thanks for Stanford and Prof. Mehran
I totally hated programming before, because I had a boring professor, but know I am starting to like it - because professor Mehran makes it fun, and that's what leaning is about: having fun.
The full textbook (704 pages) should be arriving in a few days, yay! So far I haven't had trouble with using the draft, though.
I get the logic behind them, but writing complicated Boolean expressions can get somewhat challenging, last night I had to break a few of them down on paper to be clear about what happens, but it's fun.
@Mr polymorphist - I like that comparison, very good way of putting it. All you need to do is sort out those unnecessary abbreviations, taking the "o" out of "not".. Jesus, how much time does that save you every day at the expense of everyone who has to read it. Have to decode it first. Jesus.
I've downloaded "all" of the needed software that Stanford offers, but I can't get any of the programs to work. I don't know much about eclipse, only what I've learned in this class. can someone help me out and tell me how to fix this? I'm guessing that eclipse can't find some of the files it needs to run the programs.
imgur.com /PtSl3.png
(youtube won't let me post the link unless i put a space between the slash, just remove it and past it in your browser so you can see what my problem is)
I've downloaded "all" of the needed software that Stanford offers, but I can't get any of the programs to work. I don't know much about eclipse, only what I've learned in this class. can someone help me out and tell me how to fix this? I'm guessing that eclipse can't find some of the files it needs to run the programs.
I've downloaded "all" of the needed software that Stanford offers, but I can't get any of the programs to work. I don't know much about eclipse, only what I've learned in this class. can someone help me out and tell me how to fix this? I'm guessing that eclipse can't find some of the files it needs to run the programs.
At around 1:55 Prof Mehran says that the remainder operatopr "%" doesnt work with double values. This is true in C/C++ but NOT in java. This is not to criticise the work done by the univ or the prof in any way coz they have done a real good job by putting this in public domain. I am just SCJP and this dude might be teaching java for so long. however, please check before putting any such credible info in the public domain. many ppl who shift frm C/C++ to java hv these misconceptions.
@renzyq19 point is nt abt usage.. actually if u know C/C++ u might even wanna know why the hell u studied java. Saying tht Java is good coz it works on all platforms is like saying anal sex is good coz it works on all genders. point is abt providing proper info abt anythng in a public domain. And for ur usage of "%" operator on floatng values. well, i hvnt myself used it yet. bt it might be used somewhere.... mebbe for angles (modulo 360) in graphics to calculate trigonometric functions.
@MrPolymorphist More than three billion devices uses java. Among them is a little smartphone OS called android. maybe you never heard of it? Java is broadly used in many things, but not so much in making games or applications. (There are some but not many uses of java on pc). Java is also used in webservices, sending data from one system to another. etc.
is there a big difference between the pdf version of "the art and sience of java" book and the full original version? Will i be able to complete the course and understand all the details with the pdf preliminary draft of the book, or will i miss alot of detail if i don't read the final example of the book?
I love this whole opencourseware movement. Mehran is better than any professor I had at school. I just noticed...Lecture 1 has close to 200,000 views while Lecture 28 only has around 8000. Kind of sad.
He says to throw your laptop away if you don't have a vertical bar symbol on a key, and then get mad at someone. Couldn't you just map the vertical bar to some key? Geez
These classes are only around 40 minutes? I starting watching these are around 4 am, its 8:10AM. I still could go for another hour or 2. But so far hasn't really said much I don't already know, but in a good way. I'm already advanced in PHP. The Java syntax is very similar to PHP btw. This video works great to consolidate what I already know on the methodology of programming.
oh by variables I meant, Array indexes. In php if you put $a[string] without the single quotes, it will assume $a['string'] and will still work, . but your error log will fill up fast. ereg is an example of a deprecated function, one should preg_match instead.
This comment has received too many negative votesshow
PHP is a scripting language.... Real programmers write Assembly code, good programmers write C++, newbies use Java or C#, beginners use a scripting language
Eh...Stanford? Any chance you could lend this guy to us for a while? You know, I haven't come across a CS class that was fun and instructive at the same time, and I've never got candy thrown at me for asking questions either, so...how much?? :-)
this guy has tremendous energy his work is even more hard than the engineers ....... talking and teaching 24x7 ...after reaching home he might be very quiet.....any way he teaches better than most of the teachers who take up teaching computer programming ...... also he adds some story while teaching some examples .....presents every topic in an interesting manner.....
boolean mind fucked
aquaizzy 2 hours ago
well don't accelerate particles to the speed of light lol
lordcenabeth 4 days ago
Can ANYONE see the screen at 9:35 ?
drjamx 1 week ago in playlist Course | Programming Methodology
15 divided by 2 is 7?
wtf
mrpraprith 1 week ago in playlist Course | Programming Methodology
@mrpraprith watch the video again, if you divide with integers, it throws away the decimal
micaht112233 1 week ago
@micaht112233
I know i was being funny.
mrpraprith 5 days ago
i MADE MY OWN KAREL WORLD AND PROGRAM (IM SURE YOU ALREADY HAVE)
mrpraprith 1 week ago in playlist Course | Programming Methodology
Candy from the sky? I WANT IT!
mrpraprith 1 week ago in playlist Course | Programming Methodology
Whoever disliked this is crazy, literally.
mrpraprith 1 week ago in playlist Course | Programming Methodology
I wish these courses concentrated more on design strategy and stuff like that instead of just giving a list of basic programming commands. All the stuff talked about in this lecture is stuff people can easily learn by just doing.
PktMma 3 weeks ago
working from eclipse, what is the library I need to add so I can use readInt()?
xajin24 1 month ago
@xajin24 you need to download the acm package and import it to Eclipse so you can use it with this Course. Took me a while to figure it out, but if you need assistance, shoot me a message.
kevlam585 3 weeks ago in playlist Course | Programming Methodology
Is it Possible to cast an Integer as a String?
TripodGRANNE 1 month ago
@TripodGRANNE You can convert an Integer to a String with the 'toString' method in the 'Integer' class.
Phl3xable 1 month ago in playlist SU Programming lectures
@TripodGRANNE Or you can use String.valueOf() method
AndrewBogus 1 month ago
@TripodGRANNE yeah You don;t even have to cast.You the + operator.
int num = 59;
String number59 = ""+num;
System.out.println(number59);
sesshoumaru3st 3 weeks ago in playlist Course | Programming Methodology
I have a huge smile on my face. I had a cool little robot called Karel in my mind over the new year break. Yet another huge inspiration from Stanford University. I feel compelled to start a blog to share all my favourites as a thank you. Just searched the domain. It's available. I will post the link(s) soon.
MyInfoMatrix 2 months ago
You couldn't wish for a better teacher. Genuine, passionate, comprehensive, clear & actually quite funny. Sahami is my hero.
MyInfoMatrix 2 months ago
this guy makes me LOVE programming ..i am learning like watching a movies in a cinema...thank you Mehran ....life is better with people like you...
ebrahimmohammed1982 2 months ago
You know, it would be nice if all the students used their microphone every time they asked a question...
cyvretech 2 months ago 2
its like a mixture of learning maths and a language at the same time! ... I NEVER thought id be doing that on my Christmas holidays!
zacbrown112 2 months ago
By each video i feel ... smarter !
selimdridi 2 months ago
Why are there dislikes on this vid? :S
michaeldcurry1 4 months ago in playlist cs106a 8
@michaeldcurry1 I guess they did the double y = (double)x/2; formula and the answer is wrong :/... All they had to do was add parenthesis around the x/2.
sesshoumaru3st 3 weeks ago in playlist Course | Programming Methodology
This has been flagged as spam show
Professor Mehran is a very dedicated and great teacher I wished I had him as a teacher.Some teacher may be knows the material but do not have the way to presented in a simple way.Thanks for Stanford and Prof. Mehran
1958marwan 5 months ago
Professor Mehran is a very dedicated and great teacher I wished I had him as a teacher.Some teacher may be knows the material but do not have the way to presented in a simple way................................Thanks for Stanford and Prof. Mehran
1958marwan 5 months ago
Runescape.
nathond1 5 months ago in playlist Course | Programming Methodology
@nathond1 :o
xVerbati 3 months ago in playlist Course | Programming Methodology
i love the ability to pause lectures, gives me time to daydream and think of some possibilities of using this without missing a thing
cooldrewg1 5 months ago
wow i love pokemon but i dont love this
PONY4LYFEHAHDERP 5 months ago
Great professor!
I totally hated programming before, because I had a boring professor, but know I am starting to like it - because professor Mehran makes it fun, and that's what leaning is about: having fun.
Great job!!
Peace out
Niels891 5 months ago 2
fantasy football
ff-winners
stockscience 6 months ago in playlist Course | Programming Methodology
...and why not Proffesor... 72 is an awesome number!!
Direcgen2 6 months ago
no time for questions.... but time for a story of boole! my physics teacher did this all the time and i loved it
16min5k 7 months ago in playlist Course | Programming Methodology
Can any one clear my doubt...At 24:45 student asks doubt and professor answers it,but i couldn get the sense of what they both are talking about..
benhenicraf 7 months ago
| |
First time ever used verticle bar key :D
MrValzen 8 months ago
@MrValzen Lol, Congratu|ations on your first |.
xVerbati 3 months ago
@MrValzen sameXD
zacbrown112 2 months ago
The full textbook (704 pages) should be arriving in a few days, yay! So far I haven't had trouble with using the draft, though.
I get the logic behind them, but writing complicated Boolean expressions can get somewhat challenging, last night I had to break a few of them down on paper to be clear about what happens, but it's fun.
Lemon77UG 8 months ago
@Lemon77UG which full texbook are you talking about? write the name or isbn number, i am also trying to learn java.
nepalihercules 8 months ago
@Lemon77UG Name and ISBN number please.
Cubuntu28 4 months ago
I can do logic gates in minecraft, but not this xD
MrAdnan252 8 months ago in playlist Course | Programming Methodology
damn, how many candies are there in that bag and where I can buy it?
thegreatestg 9 months ago in playlist Course | Programming Methodology
"Get your hands off my Pi"
jbwiden 9 months ago in playlist Course | Programming Methodology
damn the professor looks like the ultimate nerd
SubZeroJoe 9 months ago
LOL @ the kid that asked where the bar is on the keyboard!! LOL!! first time mehran declines to reward a question with candy
nati22 9 months ago 4
I thought stanford is for super geniuses, but even i understand this.
meesternadim 10 months ago
man java looks almost like c++! I am newbee!
mourajini 10 months ago
@Mr polymorphist - I like that comparison, very good way of putting it. All you need to do is sort out those unnecessary abbreviations, taking the "o" out of "not".. Jesus, how much time does that save you every day at the expense of everyone who has to read it. Have to decode it first. Jesus.
groovyfuncat 10 months ago
@groovyfuncat I think he did that because of character limit...
squidvis 7 months ago
'Cascading if'...does it mean that if my score is 90 I could still get a C?(if score>=70; printLn("C");
stringiamociLaMano 11 months ago
@stringiamociLaMano nope, cuz the first IF is true, so the program does what's inside this IF only and then it leaves the cascading if.
beleaf169 10 months ago
For those of you that may be having difficulty finding the || (vertical bar key), do
SHIFT+\
TheBerserkingYoYo 11 months ago
@TheBerserkingYoYo OR? || AND? && NOT? != x(Not x), your three basic logic ports.
meesternadim 10 months ago
I love Stanford`s theme music, sounds like Knight Rider.
pknyo 1 year ago 3
thanks a lot !
dorohanter 1 year ago
in what environment can i write these java programmes ?
dorohanter 1 year ago
@dorohanter eclipse
nath042 1 year ago
@dorohanter It's a Stanford version of Eclipse available here:
see.stanford.edu/see/materials/icspmcs106a/software.aspx
sdpwrns 1 year ago
@MrPolymorphist lol nice analogy ;)
xurok 1 year ago 3
There was a boy asked question on 5:18 and he didnot get candy bar
Poor little boy
georg0829 1 year ago 2
@mike478911 People most likely just view the first one in the series to see what it's like.
Either that or they just lose hope & give up!
JealY666 1 year ago
@tastingo88 yeah man youre right...
lp6288123 1 year ago
Someone water the mop? >.>
Thymonico 1 year ago
you need to make video on 480p
hitlirbifadn 1 year ago
Thanks, I'll try that
jesusminime14 1 year ago
I've downloaded "all" of the needed software that Stanford offers, but I can't get any of the programs to work. I don't know much about eclipse, only what I've learned in this class. can someone help me out and tell me how to fix this? I'm guessing that eclipse can't find some of the files it needs to run the programs.
imgur.com /PtSl3.png
(youtube won't let me post the link unless i put a space between the slash, just remove it and past it in your browser so you can see what my problem is)
jesusminime14 1 year ago
Comment removed
frosted1choko 1 year ago
@jesusminime14 you spelled GLabel wrong you scrub GLabel not Glabel duh
tj977531 1 year ago
This has been flagged as spam show
I've downloaded "all" of the needed software that Stanford offers, but I can't get any of the programs to work. I don't know much about eclipse, only what I've learned in this class. can someone help me out and tell me how to fix this? I'm guessing that eclipse can't find some of the files it needs to run the programs.
imgur.com /PtSl3.png
jesusminime14 1 year ago
I've downloaded "all" of the needed software that Stanford offers, but I can't get any of the programs to work. I don't know much about eclipse, only what I've learned in this class. can someone help me out and tell me how to fix this? I'm guessing that eclipse can't find some of the files it needs to run the programs.
jesusminime14 1 year ago
YOU ARE GREAT. Thanks a lot
I WISH JIMMYR.COM AND THE NEW BOSTON WERE LIKE YOU AS THEY ARE GOOD AND BROADLY.
sctoweett 1 year ago
doesn't the average sign also have a different name? I remember in one of my C++ books it was called something else.
GSCrepresentative 1 year ago
after watching this make me want quit working at McDonald
PhatQ45TT1 1 year ago 12
"get your hands off my PI" haha I lol'd
Vaughnlesterinoz 1 year ago
I love when he tries to wipe the board, it becomes crappier and crappier.. ;)
archrodney 1 year ago 3
At around 1:55 Prof Mehran says that the remainder operatopr "%" doesnt work with double values. This is true in C/C++ but NOT in java. This is not to criticise the work done by the univ or the prof in any way coz they have done a real good job by putting this in public domain. I am just SCJP and this dude might be teaching java for so long. however, please check before putting any such credible info in the public domain. many ppl who shift frm C/C++ to java hv these misconceptions.
MrPolymorphist 2 years ago
@MrPolymorphist but why would you want to use % with a double value?
renzyq19 1 year ago
@renzyq19 point is nt abt usage.. actually if u know C/C++ u might even wanna know why the hell u studied java. Saying tht Java is good coz it works on all platforms is like saying anal sex is good coz it works on all genders. point is abt providing proper info abt anythng in a public domain. And for ur usage of "%" operator on floatng values. well, i hvnt myself used it yet. bt it might be used somewhere.... mebbe for angles (modulo 360) in graphics to calculate trigonometric functions.
MrPolymorphist 1 year ago 26
@MrPolymorphist
not to insult your intelligence, but that comment raped my eyes, abbreviation is okay in moderation.
ferret0rouge 1 year ago
@ferret0rouge I think it was to be able to fit everything into the one comment. 10 months ago the character limit on comments was far lower.
Vaughnlesterinoz 11 months ago
@Vaughnlesterinoz I see, thanks for clearing that up =].
ferret0rouge 11 months ago
@MrPolymorphist Brilliant simile. Just brilliant.
FreeRSMembership4lyf 1 year ago
@MrPolymorphist Can anyone translate this into English?
MrPaulwithap 3 months ago in playlist Course | Programming Methodology
@MrPolymorphist More than three billion devices uses java. Among them is a little smartphone OS called android. maybe you never heard of it? Java is broadly used in many things, but not so much in making games or applications. (There are some but not many uses of java on pc). Java is also used in webservices, sending data from one system to another. etc.
ScientSmology 1 month ago
@MrPolymorphist Learn English before you try to learn computer programming.
SilkySmooth105 1 month ago
yeah!!!!! someone who knows both languages please explain. it sounds counter-intuitive to use % with a double value (to me).
bostonsheep 1 year ago
is there a big difference between the pdf version of "the art and sience of java" book and the full original version? Will i be able to complete the course and understand all the details with the pdf preliminary draft of the book, or will i miss alot of detail if i don't read the final example of the book?
Rasmusorum 2 years ago
I love this whole opencourseware movement. Mehran is better than any professor I had at school. I just noticed...Lecture 1 has close to 200,000 views while Lecture 28 only has around 8000. Kind of sad.
bcaldwellmusic 2 years ago 11
@bcaldwellmusic He's separating the boys from the men.
okeken 7 months ago
@bcaldwellmusic epic dropout rate
ScientSmology 1 month ago
abudaiyeh: should be
while (stillAlive()) { iWillLoveThisTeacher();
}
mattmanbowz 2 years ago 18
@mattmanbowz
True man! Sahami is awesome :D
cyvretech 2 months ago
can somebody provide a simple example in working code of the things taught here? a real life use of this stuff please
chilinerdyboy 2 years ago
i have just completed the asignment 1.
the assignment is too tough , may i have to submit it!!
hmk984 2 years ago
gr8 lecture again
no buddy tell me when to start hte assignment1 , as per the schedule i think the assignment is due , i am going to try it ......
thanks standford and u tube and evey one
hmk984 2 years ago 4
while (still a live)
{
I will love this teacher
:)
}
abudaiyeh 2 years ago 9
hahaha
v12345vtm 2 years ago
When I had a question I was kinda sad I didn't get a candy bar so I went to the store to buy me some skittles :(
MarkShore1 2 years ago 88
He says to throw your laptop away if you don't have a vertical bar symbol on a key, and then get mad at someone. Couldn't you just map the vertical bar to some key? Geez
pecolier 2 years ago
The symbol is called a pipe.
FrankRizzo6662 2 years ago
This comment has received too many negative votes show
why is he throwing candy around the class ? :P ...
QambarRaza 2 years ago
Watch all the videos noob
FrankRizzo6662 2 years ago
These classes are only around 40 minutes? I starting watching these are around 4 am, its 8:10AM. I still could go for another hour or 2. But so far hasn't really said much I don't already know, but in a good way. I'm already advanced in PHP. The Java syntax is very similar to PHP btw. This video works great to consolidate what I already know on the methodology of programming.
imperialcrypt 2 years ago
Comment removed
daniel1982 2 years ago
On 5 lines? I doubt it. Maby 10 E_notices. It depend how many variables you misspell and if your using deprecated functions.
imperialcrypt 2 years ago
oh by variables I meant, Array indexes. In php if you put $a[string] without the single quotes, it will assume $a['string'] and will still work, . but your error log will fill up fast. ereg is an example of a deprecated function, one should preg_match instead.
imperialcrypt 2 years ago
This comment has received too many negative votes show
PHP is a scripting language.... Real programmers write Assembly code, good programmers write C++, newbies use Java or C#, beginners use a scripting language
FrankRizzo6662 2 years ago
@FrankRizzo6662
sounds like you don't know that much about programming either.
let's say you wanna build a web page, that some user could see from any machine or device!
how would you implement that in Assembly
every language has it's own specifications
assembly : you use the low level features but yet its too architecture specific.
high level languages: gives a fine structured and abstracted programs instead of tons of commends to do a simple task
interpreted languages: platform independent
OsMinOsM 2 years ago
This comment has received too many negative votes show
You are an idiot who doesn't know shit about software engineering
FrankRizzo6662 2 years ago
yeah, great way to explain Cast. :)
whiterabbitpress 2 years ago 4
This dude is really great! he makes it fun to watch and makes it very understandable.
havefun85 2 years ago 9
mehran is madd :-))
reddis58 2 years ago 13
Awesome work stanford, making this free is just fantastic.
treeml 2 years ago 12
Eh...Stanford? Any chance you could lend this guy to us for a while? You know, I haven't come across a CS class that was fun and instructive at the same time, and I've never got candy thrown at me for asking questions either, so...how much?? :-)
weyrauch 2 years ago 6
I don't think Stanford actually owns him.
iamacyborg 2 years ago
thanks stanford, very good lectures!
wreckass 2 years ago 3
This has been flagged as spam show
31:45 "what happens if we divide by 0"
FUUUUUUUUUUUUUUUUUUUUUUUUUUU...
aboda7es 2 years ago
This has been flagged as spam show
wrong: OH SHI- is what happens.
stayhidden 2 years ago
mehran u Rock on always....;-)
sportivechild 2 years ago 15
this guy has tremendous energy his work is even more hard than the engineers ....... talking and teaching 24x7 ...after reaching home he might be very quiet.....any way he teaches better than most of the teachers who take up teaching computer programming ...... also he adds some story while teaching some examples .....presents every topic in an interesting manner.....
chrstnrnld 2 years ago 8
I would have liked to learn C with him. But I'm not Uni material!
nickeax 2 years ago 4
This has been flagged as spam show
if your not uni material, why would you be watching this lecture? Maybe you are better then you think you are...
treeml 2 years ago
I think anyone may watch these?
nickeax 2 years ago 2
I lost my interest in programming due to crappy teaching in my college and a tuition ...
prof mehran seems to bring that interest back..
Thanks for the lectures @ stanford. :D
X3QT0R 3 years ago 22
Couldn't agree more.
nabelnabel 2 years ago 7
I was the exact same.
skruuge 2 years ago 5
yea, hes awesome
billigerfusel 2 years ago 10
@X3QT0R He brings sexy back to programming
beneye1 9 months ago
Hilarious history lesson on boolean! :-)
smoothliquid 3 years ago 8