Page 1 of 1 [ 14 posts ] 

Fuzzy
Veteran
Veteran

User avatar

Joined: 30 Mar 2006
Age: 53
Gender: Male
Posts: 5,223
Location: Alberta Canada

13 Sep 2009, 2:41 pm

What is yours? Reply and press control V

Mine:
> import pygame
> import Image
> from pygame.locals import *
> import sys
>
> import opencv
> #this is important for capturing/displaying images
> from opencv import highgui
>
> camera = highgui.cvCreateCameraCapture(0)
> def get_image():
> im = highgui.cvQueryFrame(camera)
> #convert Ipl image to PIL image
> return opencv.adaptors.Ipl2PIL(im)
>
> fps = 30.0
> pygame.init()
> window = pygame.display.set_mode((320,240))
> pygame.display.set_caption("WebCam Demo")
> screen = pygame.display.get_surface()
>
> while True:
> events = pygame.event.get()
> for event in events:
> if event.type == QUIT or event.type == KEYDOWN:
> sys.exit(0)
> im = get_image()
> pg_img = pygame.image.frombuffer(im.tostring(), im.size, im.mode)
> screen.blit(pg_img, (0,0))
> pygame.display.flip()
> pygame.time.delay(int(1000 * 1.0/fps))


_________________
davidred wrote...
I installed Ubuntu once and it completely destroyed my paying relationship with Microsoft.


TheSpecialKid
Velociraptor
Velociraptor

User avatar

Joined: 30 Aug 2008
Age: 35
Gender: Male
Posts: 432
Location: Denmark

13 Sep 2009, 2:59 pm

First of all... What is my, what?
And, what do you mean by: "Reply and press control V", ohhh.. wait... I've got it now... Never mind..

But still... What does: ""I spent an interesting evening recently with a grain of salt." -Mark V Shaney " means?

And now you already know what mine is..: "I spent an interesting evening recently with a grain of salt." -Mark V Shaney
And before that it was: "gracie films" (search on youtube)



Fuzzy
Veteran
Veteran

User avatar

Joined: 30 Mar 2006
Age: 53
Gender: Male
Posts: 5,223
Location: Alberta Canada

13 Sep 2009, 3:15 pm

Mark V Shaney is a bot and the comment is a mashup from several different sentences.

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

Paste your clipboards folks! Lets see what you have.


_________________
davidred wrote...
I installed Ubuntu once and it completely destroyed my paying relationship with Microsoft.


POWA
Tufted Titmouse
Tufted Titmouse

User avatar

Joined: 7 Feb 2008
Age: 33
Gender: Male
Posts: 38

13 Sep 2009, 3:56 pm

Here goes!

Ctr+v says "I really don't understand that counter argument. People will steal the games and play them, but they won't buy them (as evidenced on any bit torrent site, lots of downloaders). This is because the game isn't very good? People will play bad games for free, and steal them, but they will only pay for new, innovative, good games?"

I found this as a comment on some article about PC piracy and decided to save it to a textfile on my hardrive. I won't go into details why, as that would likley de-rail the topic

Please note that this was not intetional. I copied that at least 3 hours ago.

Btw Fuzzy, what is that? code? :)



Fuzzy
Veteran
Veteran

User avatar

Joined: 30 Mar 2006
Age: 53
Gender: Male
Posts: 5,223
Location: Alberta Canada

13 Sep 2009, 4:34 pm

Yeah, thats a dumb argument for stealing games.

Yes, its python code copied from a forum. I was looking for a way to program my web cam to take timed shots every 20 seconds.


_________________
davidred wrote...
I installed Ubuntu once and it completely destroyed my paying relationship with Microsoft.


Klint
Veteran
Veteran

User avatar

Joined: 3 Sep 2009
Gender: Male
Posts: 889
Location: United States

13 Sep 2009, 4:34 pm

http://www.youtube.com/watch?v=oewk8TX6KSs

The intro to Battlezone II: Combat Commander

An FPS/RTS from 1999.

I'll just embed the video though...

[youtube]http://www.youtube.com/watch?v=oewk8TX6KSs[/youtube]



pakled
Veteran
Veteran

User avatar

Joined: 12 Nov 2007
Age: 68
Gender: Male
Posts: 7,015

13 Sep 2009, 4:48 pm

Funny, all mine does is paste...;)

btw- Ctrl+v also does the same thing in 'Vi'...;)



Orwell
Veteran
Veteran

User avatar

Joined: 8 Aug 2007
Age: 36
Gender: Male
Posts: 12,518
Location: Room 101

13 Sep 2009, 4:56 pm

pakled wrote:
Funny, all mine does is paste...;)

btw- Ctrl+v also does the same thing in 'Vi'...;)

I thought "p" was the command to paste ("put") something done in Vi(m). I suppose ctrl+v could have the same effect, but that goes against the spirit of vim and makes it more like escape-meta-alt-control-shift

I keep my clipboard meticulously clear at all times, just like my browser history and even the operations history on my calculator. Call it paranoia, call it OCD, but I almost never leave a trace of my activity anywhere.


_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH


TheSpecialKid
Velociraptor
Velociraptor

User avatar

Joined: 30 Aug 2008
Age: 35
Gender: Male
Posts: 432
Location: Denmark

13 Sep 2009, 5:57 pm

I'v disabled browser history here for various reasons.
Main reason is that I don't like firefox 3's new address-bar.

So I started disabling history, later on I was still annoyed, so I downloaded oldbar, but never re-enabled history :lol:
I'm pretty glad for having it disabled now.



computerlove
Veteran
Veteran

User avatar

Joined: 10 Jul 2006
Age: 125
Gender: Male
Posts: 5,791

13 Sep 2009, 6:29 pm

several stuff (I'm using Jumpcut):

1.- Caballero
2.- The Push Pin Graphic: A Quarter Century of Innovative Design & Illustration
3.- Penguin by Design: A Cover Story 1935-2005
4.- (sin éxito)
5.- Tim Gough
6.- ---

meanings:
1: a friend
2 and 3: books
4: ?
5: illustrator
6: a gif more suitable for the random thread :oops:


_________________
One of God's own prototypes. Some kind of high powered mutant never even considered for mass production. Too weird to live, and too rare to die.


computerlove
Veteran
Veteran

User avatar

Joined: 10 Jul 2006
Age: 125
Gender: Male
Posts: 5,791

13 Sep 2009, 6:30 pm

TheSpecialKid wrote:
I'v disabled browser history here for various reasons.
XXX, for what else


_________________
One of God's own prototypes. Some kind of high powered mutant never even considered for mass production. Too weird to live, and too rare to die.


TheSpecialKid
Velociraptor
Velociraptor

User avatar

Joined: 30 Aug 2008
Age: 35
Gender: Male
Posts: 432
Location: Denmark

13 Sep 2009, 6:37 pm

See, that is actually not among the reasons. But good guess.
It's because I search around for: "autism", "aspergers", and alot of combinations with those words in it, and I'm a little paranoia about if anyone should find these.



richie
Supporting Member
Supporting Member

User avatar

Joined: 9 Jan 2007
Age: 67
Gender: Male
Posts: 30,142
Location: Lake Whoop-Dee-Doo, Pennsylvania

14 Sep 2009, 6:41 pm

C :P ngrats!! !Image

I had just congratulated Tim_Tex on his latest post count post..... :roll:


_________________
Life! Liberty!...and Perseveration!!.....
Weiner's Law of Libraries: There are no answers, only cross references.....
My Blog: http://richiesroom.wordpress.com/


pakled
Veteran
Veteran

User avatar

Joined: 12 Nov 2007
Age: 68
Gender: Male
Posts: 7,015

17 Sep 2009, 2:53 pm

errata - it's Alt+P that pastes, not control.
2nd errata - the Commands that correspond in Vi and Windows don't include the one I mentioned
3rd errata - did I spell 'errata' right?...;)