Justin Abrahms: Computer science fundamentals for self-taught programmers - PyCon 2014

  Рет қаралды 37,425

PyCon 2014

PyCon 2014

Күн бұрын

Пікірлер: 19
@dbseraph
@dbseraph 10 жыл бұрын
The example of binary search seems off. Why would you arbitrarily dump [a] or [b] just because x does not equal the mid point? Wouldn't you instead check if the mid point is greater or less than x and then continue accordingly?
@JohnBastardSnow
@JohnBastardSnow 10 жыл бұрын
He put either wrong or over-simplified example of the binary search. Usually it goes like you've said: if number > current_num_in_array: #jump middle left else if number < current_num_in_array: #jump middle right else: return current_num_in_array As you can see you will never actually have to compare if it equals ( == ) . If it's not greater or less, then it's obviously the result.
@JustinAbrahms
@JustinAbrahms 10 жыл бұрын
Hi Jon Wise . Thanks for correcting this. It was, in fact, an oversimplification. In words, I allude to using greater than / less than, but show equals.
@diek00
@diek00 10 жыл бұрын
Justin, are you going to post the powerpoint presentation? I am in the same boat as you, kinda. I first encountered Big O notation when I took an MIT course on python. And unfortunately they did not do the topic justice. I guess measuring complexity is common place for computer science classes, but not 2 year IT programs.
@JustinAbrahms
@JustinAbrahms 10 жыл бұрын
Hey Diek Kearney . The slides are at speakerdeck.com/pycon2014/computer-science-fundamentals-for-self-taught-programmers-by-justin-abrahms if you'd still like to see them. :)
@diek00
@diek00 10 жыл бұрын
Justin, thank you I appreciate it. I frequently mention your video in the python fb groups I belong to.
@JustinAbrahms
@JustinAbrahms 10 жыл бұрын
Diek Kearney Feel free to mention me directly, and I'm happy to answer questions.
@diek00
@diek00 10 жыл бұрын
I admin 4 FB groups, 1 a beginner python course from the UoM, 2 python groups, and a django group. In the range of 20000+ people combined and your Big O video gets lots mentions, with your name.
@bowenliu807
@bowenliu807 4 жыл бұрын
@@JustinAbrahms Hey Justin, thanks for your presentation. Could you elaborate on the part of your presentation where you concluded that 5x+9 is also O(n). Your explanation is based on how the lines will never touch. 5x + 9 won't touch kx, with k being a random number. How can that be good supporting evidence for 5x+9 to be O(n)? Thanks
@pascalfragnoud2846
@pascalfragnoud2846 5 жыл бұрын
I think this talk is missing something that would make everything much clearer, particularly the part where we ignore the "lesser" parts of the complexity: big O is about growth. This is why O(n) * O(1) in the exemple is simply O(n), O(1) doesn't change the growth rate of an algorithm's complexity. Visually, if you plot it, the line would simply move up a bit, its shape wouldn't change.
@Noturbusiness91
@Noturbusiness91 10 жыл бұрын
the "uhh" and "umm" every nano second 0.o
@MrBeiragua
@MrBeiragua 9 жыл бұрын
for i in range(0,1000000): print("Uhmmmmm")
@LiamWhan
@LiamWhan 9 жыл бұрын
+Mosco Monster If I'm not mistaken, this is the source of the WinME Kernel in its entirety
@MrBeiragua
@MrBeiragua 8 жыл бұрын
It works in python3 here.
@mlst3rg
@mlst3rg 8 жыл бұрын
do a "while True" loop instead
@ahmedsalama5069
@ahmedsalama5069 4 жыл бұрын
good material i think
@inspectormorse6711
@inspectormorse6711 9 жыл бұрын
Excellent talk. Thank you.
@vwwvwwwvwwwvwwvvwwvw
@vwwvwwwvwwwvwwvvwwvw 4 жыл бұрын
ah yes, the self-promotion talk
Alex Gaynor: Fast Python, Slow Python - PyCon 2014
36:11
PyCon 2014
Рет қаралды 62 М.
Why 95% of Self-Taught Programmers Fail (Honest Advice)
12:16
Andy Sterkowitz
Рет қаралды 410 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Ned Batchelder: Getting Started Testing - PyCon 2014
42:44
PyCon 2014
Рет қаралды 58 М.
Rust Functions Are Weird (But Be Glad)
19:52
Logan Smith
Рет қаралды 147 М.
Jeff Dean: AI will Reshape Chip Design - NeurIPS 2024
43:53
GradientSpills
Рет қаралды 4,5 М.
Losing your Loops Fast Numerical Computing with NumPy
30:31
PyCon 2015
Рет қаралды 81 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 424 М.
Bob Nystrom - Is There More to Game Architecture than ECS?
23:06
Roguelike Celebration
Рет қаралды 213 М.
The Ultimate Tier Programming Tier List | Prime Reacts
26:57
ThePrimeTime
Рет қаралды 524 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Greg Ward - How to Write Reusable Code - PyCon 2015
29:52
PyCon 2015
Рет қаралды 45 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН