Quick Options

NSFW Content:
Listing Mode:
Coloring Style:
Animations:

◀ Quick Options    Login    Register
X Greetings! You are not currently logged in, but please don't let that stop you from voting up any videos you like. :)

obama,google,computer,science,bubble,sort Obama Knows His Computer Science

Obama Knows His Computer Science

posted by hixsonj 1 year 9 months 2 weeks ago • 6634 views
tags: 
embed
email
bookmarks (0)
playlists (0)

Obama fields a question intended for a Google interviewee and gives a surprisingly knowledgeable answer.

GREAT DESIGNS FROM VIDEOSIFT'S T-SHIRT STORE
Support VideoSift - Buy a Shirt! Use coupon code SIFTFALL09 at checkout to save an additional 20% now!
Classy As Fuck T-Shirt
Classy As Fuck
Power Turns Me On T-Shirt
Power Turns Me On
When I Grow Up T-Shirt
When I Grow Up

Comments subscribe to this feed
..yeah, but Gore Invented the Internet!, and he didn't win...

well.., ok, so he won, but you know what I mean.


written by grinter  | 1 year 9 months 2 weeks ago | CH
 13  | flag spam (0)
So for those of us less intelligent then Obama, what is a bubble sort? (At least thats what I think was said)


written by raddishs  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
I might not be a Computer Science major, but I do have a masters of wiki:ing!

http://en.wikipedia.org/wiki/Bubble_sort


written by Lithic  | 1 year 9 months 2 weeks ago | CH
 3  | flag spam (0)
Is there more of this?


written by dag  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
Full version here, about an hour long.


written by winkler1  | 1 year 9 months 2 weeks ago | CH
 5  | flag spam (0)
upvote cos i've litrally written part of an essay a few days ago on bubble sort vs other sorting techniques. and i like obama anyhow


written by sirex  | 1 year 9 months 2 weeks ago | CH
 2  | flag spam (0)
Wouldn't this be a dupe of that full one? *discuss


written by MarineGunrock  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
This video is being sent to Sift Talk for discussion - discuss requested by MarineGunrock.


written by siftbot  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
nope - this one was posted first - *return


written by jonny  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
Returning this video from Sift Talk - return requested by jonny.


written by siftbot  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
If its not a total duplicate why even complain about it ? A short clip of an interview is totally differant then the whole thing. It obviously highlights something very interesting. Boo the dupe fairys.


written by 8266  | 1 year 9 months 2 weeks ago | CH
 3  | flag spam (0)
Sorry. I didn't take the time to check the dates.

>> ^DrPawn:
If its not a total duplicate why even complain about it ? A short clip of an interview is totally differant then the whole thing. It obviously highlights something very interesting. Boo the dupe fairys.


Because a dupe is a dupe is a fucking dupe. Just because it's a shorter clip doesn't make the other content disappear.


written by MarineGunrock  | 1 year 9 months 2 weeks ago | CH
 -1  | flag spam (0)
(agree with DrPawn; ex. a clip from Conan is different from posting an entire episode of Conan that contains that clip at 23minutes in)


written by bamdrew  | 1 year 9 months 2 weeks ago | CH
 2  | flag spam (0)
New Obama campaign slogan...


- OBAMA'08 -
We've got spies at Google


written by bamdrew  | 1 year 9 months 2 weeks ago | CH
 2  | flag spam (0)
Meh it's like late night talk show interviews where they give the illusion of spontanaiety (for the lulz) but you know they rehearsed it beforehand.


written by Roofles  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
DrPawn, bamdrew -

from the FAQ [emphasis added]:
Duplicates will be *discarded. A duplicate video is one which contains content already on VideoSift in a published, queued, personal queued, or dead video submission. Minor changes in content, like a few additional insignificant seconds of video or alternate background music, will still be considered dupes.
If you want the rule changed to make an exception for short bits from existing long posts, then post to Sift Talk to get some discussion going. But please don't flaunt this rule, as it will inevitably lead to this kind of fiasco.


written by jonny  | 1 year 9 months 2 weeks ago | CH
 1  | flag spam (0)
Discarding this post - discard requested by member jonny.


written by siftbot  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
Sorry guys. Didn't mean to post this as a "fucking" dupe. Just thought it was a funny clip. Some people might not want to watch a 20 minute interview and would just rather see this funny bit.


written by hixsonj  | 1 year 9 months 2 weeks ago | CH
 2  | flag spam (0)
Um.... *geek!


written by Krupo  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
Adding video to channels (Geek) - requested by Krupo.


written by siftbot  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
We're going to have to *save this someone. *discuss


written by Krupo  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
This video is being sent to Sift Talk for discussion - discuss requested by Krupo.


written by siftbot  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
Flagging this for an administrative un-discard command. I would just burn a promote on it but I don't have one available right now.

Video is not a dupe because it was published on Feb 15th (the other vid was published on Feb 16th).

Goldies, please be careful when firing off discards, thanks.


written by Krupo  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
Also, not to complicate the issue here (accidental discard), but short clips of very long videos that cut to the heart of a longer matter have a long-standing exemption from being called dupes.

Poster child - http://www.videosift.com/video/Ralph-Wiggum-is-a-Unitard


written by Krupo  | 1 year 9 months 2 weeks ago | CH
 1  | flag spam (0)
My bad folks - I did not intend to discard this. I didn't realize a blockquoted invocation would get carried out, nor did I even particularly notice the '*' in the quote. I'll promote this back tomorrow when I have the power point available again.

Krupo - if that is the case, then it needs to be added to the FAQ.

[edit] bamdrew, re: your example - full episodes of conan shouldn't be getting posted anyway. The general point is well taken though.


written by jonny  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
*return fixed


written by dag  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
Returning this video from Sift Talk - return requested by dag.


written by siftbot  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
Fine dupe fairys are all over the place. I dont agree this is a dupe as defined by the rule.

I watched both vidoes. And the first is about a 15 minute bore fest.

Dupe fairys, I respectfully disagree with why this video has to be deleted. I see your point that it violates the rules. I just differ in the interpretation of duplicate content when this video clearly brings something "new" even if the new is only it highlights Obamas computer literacy.


written by 8266  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
He must of been given the answer ahead of time.


written by 8266  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
Pawn, you're missing the point: It's not a dupe because it was posted first.

And don't be immature and get all YouTube on us by calling us "dupe fairies" just because we like to adhere to the rules. It's what sets this site above the rest.


written by MarineGunrock  | 1 year 9 months 2 weeks ago | CH
 2  | flag spam (0)
Bubble sort is a pretty basic form of algorithm, so it shouldn't really be too surprising he knows about it as long as he's shown at least some kind of interest on the related subjects.

Basically what I'm trying to say is it's impressive but not the so-impressive-he-must-have-been-told-ahead-of-time impressive.


written by lertad  | 1 year 9 months 2 weeks ago | CH
 2  | flag spam (0)
I was hoping he'd have a little more to say about it, but nice.


written by thehelix  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
>> ^jonny:
My bad folks - I did not intend to discard this. I didn't realize a blockquoted invocation would get carried out, nor did I even particularly notice the ' ' in the quote. I'll promote this back tomorrow when I have the power point available again.

Krupo - if that is the case, then it needs to be added to the FAQ.

[edit] bamdrew, re: your example - full episodes of conan shouldn't be getting posted anyway. The general point is well taken though.


LOL, I didn't realize the discard was in the quote. Yeah, treat the * like a live bullet around all words at all times. Sorry for harshing on you.

Regarding the exception, it's a Sift Convention. As we're all aware, laws and rules can either be handed down as a formal written policy, or in something more akin to a tradition.

The Unitard Convention or more of the latter, and the reasoning behind it is buried in the Sift's comment database. We can always google is out if we really need it.

Thanks for the fix dag.


written by Krupo  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
good times!


written by bamdrew  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
It is a cute answer, but not indicative of much computer knowledge.

What do you all think would be the best answer?

Off the top, without knowing the answer to "efficient how?" or "sorted how?" I vote R-B tree.

On the other hand if "efficient" means minimum memory usage, you would probably have to go bubble sort.


written by dgandhi  | 1 year 9 months 2 weeks ago | CH
 1  | flag spam (0)
There is never a good reason to do a Bubble Sort. The only reason anyone ever learns it is because it is used as an "easy" introduction to writing algorithms in Computer Science 101 courses. Bubble Sort just happens to be a brute-force method that mimics the way some people would manually sort a random list of integers given unlimited time and paper. At the very least, for a O(n^2) algorithm, you can go with Insertion Sort which is guaranteed to perform faster or equal given the same data set, with the same amount of memory usage.

As for the actual algorithm that would be used, Quicksort is probably the most obvious choice, although they did not specify what their sorting goal was, so "It depends." is probably a fine answer.


written by HaricotVert  | 1 year 9 months 2 weeks ago | CH
 1  | flag spam (0)
I'm so gay for Obama.


written by dag  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
The full version is more than
a few additional insignificant seconds of video
when compared with just the clip. Clearly, neither is a dupe.


written by messenger  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
>> ^HaricotVert:
There is never a good reason to do a Bubble Sort. The only reason anyone ever learns it is because it is used as an "easy" introduction to writing algorithms in Computer Science 101 courses.


Bubblesort is not always the wrong answer. For instance if "efficient" means using only 32Million bits RAM, two 32bit registers (plus the hacky use of an execution counter), and a few dozen lines of assembly, you can't really implement anything else. The answer is based on the constraints.

That being said, now that I think about it, loading and dumping an R-B tree is logically equivalent to quicksort, which does seem like the best general solution.


written by dgandhi  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
The question about how to sort a million 3 digit integers is interesting and misleading.

The best way is not to sort them at all but count them!

So you could store the entire sorted data set in one object oriented variable, lets call it dataset.

dataset.999=25
dataset.998=22
dataset.997=18
....

This means that there were 25 3 digit intergers that were equal to 999 and 22 that were equal to 998.

The dataset would require only a 1000 integers to store.


written by 8266  | 1 year 9 months 2 weeks ago | CH
 2  | flag spam (0)
Bill Belichick must be his new Campaign Manager.


written by deedub81  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
DrPawn is right. The big O for sorting algorithms is typically calculated for real numbers. If you're using integers, especially a small range of integers, just count them in linear time.


written by rychan  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
>> ^DrPawn:
The question about how to sort a million 3 digit integers is interesting and misleading.


I think he said 32bit integers, not 3 digit integers. Radix sort, or in the absence of associated data, simple counting, as you suggest, would be very bigO efficient in that case.


written by dgandhi  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
Man, gunrock is pretty pissed about dupes. Damn.


written by Lolthien  | 1 year 9 months 2 weeks ago | CH
 0  | flag spam (0)
*doublepromote *bubblesort


written by dag  | 1 year 6 months ago | CH
 0  | flag spam (0)
Double-Promoting this video back to the front page; last published Saturday, February 16th, 2008 12:13am PST - doublepromote requested by dag.


written by siftbot  | 1 year 6 months ago | CH
 0  | flag spam (0)
i read all this stuff and links about duping, then i finally watched this video... it's just a set-up joke and typically executed.

grin @ "dupe fairies" and related funniness.


written by vairetube  | 1 year 6 months ago | CH
 0  | flag spam (0)
BO would make an excellent clerk at Best Buy.

President...not so much.


written by 9516  | 1 year 6 months ago | CH
 0  | flag spam (0)
lol, that was great


written by syncron  | 1 year 6 months ago | CH
 0  | flag spam (0)
obama = *election08


written by calvados  | 1 year 6 months ago | CH
 0  | flag spam (0)
Adding video to channels (Election08) - requested by calvados.


written by siftbot  | 1 year 6 months ago | CH
 0  | flag spam (0)
Submit Comment

Connect with Facebook
          - OR -
log in or register to submit new comment


who voted for this video
hixsonj  - siftbot x97

Obama Knows His Computer Science Related Videos

This Kid in Mumbai Knows His Languages!

Genetic Algorithm solves Traveling Salesman problem

Ivy League Computer Science parody of Minority Report

Friends O' the Sift
Top 15 Sifters of All Time
1. Zifnab  (55080 votes)
2. arvana  (46611 votes)
3. dystopianfuturetoday  (44348 votes)
4. kronosposeidon  (40991 votes)
5. NetRunner  (39967 votes)
6. blankfist  (37555 votes)
7. ant  (35643 votes)
8. Farhad2000  (31861 votes)
9. mintbbb  (31859 votes)
10. rasch187  (30914 votes)
11. eric3579  (30608 votes)
12. Issykitty  (27396 votes)
13. mlx  (21768 votes)
14. deputydog  (21145 votes)
15. Fedquip  (20930 votes)
Top 15 Sifters of the Past Week
1. arvana  (787 votes)
2. MikesHL13  (407 votes)
3. oxdottir  (267 votes)
4. dystopianfuturetoday  (264 votes)
5. rasch187  (260 votes)
6. necrontyr  (252 votes)
7. Throbbin  (206 votes)
8. deathcow  (200 votes)
9. Sagemind  (175 votes)
10. longde  (166 votes)
11. gwiz665  (158 votes)
12. Duckman33  (153 votes)
13. demon_ix  (150 votes)
14. brycewi19  (139 votes)
15. JesseoftheNorth  (139 votes)