Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 23 Jan 2007
Offline Last Active Today, 08:51 AM

#5147648 Python 3 + Linux terminal

Posted by on 17 April 2014 - 08:47 AM

To open a new terminal from a python application you must start it in a new subprocess:


subprocess.Popen(['gnome-terminal', '-e'])
To communicate with the opened terminal you may want to use the pexpect library, it will help you write to the terminal stdin and get the terminal stdout.


That being said, I have no idea how you can retrieve an existing tty handle and write to its stdout.


Thanks for the pexpect library. It really help me in some of my ideas (ssh, for example).

#4958679 Am I "using" people?

Posted by on 13 July 2012 - 01:10 AM

You can go even as far as making it like a contest, some people would be happy to create something knowing that their creation was so good that it was included on the released game. Don't try to trick people, make it clear.

Yeah, I agree with this. And to be frank, you CAN make money out of other people content. Advertising on free blog that your provide the hosting is one of the example. Just make things clear.

#4864206 The dumbest products you've seen advertised

Posted by on 21 September 2011 - 08:09 AM

So basically what you and Zedz are saying is dumb people buy keyboards with stupid key layouts?

Back in around 2000 I had a keyboard with a 'power off' button on it, it wasn't a standard key and it was off to one side thus I never accidently hit it.

In short;
- Idea is sound
- People buy stupid implementations and then cry about it

Solution; don't be stupid and buy a bad product.

Nope. Mine was free with the PC. It wasn't long before I went out and buy a new, standard one. Let just say at those time (early 2000) I write a lot (in University) and I want my fingers easily access those usual button pg up / pg down, home end, insert delete not far from the arrow.

I did some google, and found this. Ah, the memories Posted Image


Does anyone know how to make the linked image smaller? I'm lost there....

edit: Oh wait, the forum automatically resize it Posted Image

Posted Image

#4816417 music videos with young boy

Posted by on 27 May 2011 - 07:38 AM

I watched Geboren um zu leben (), Love Generation ( ), and a music video (i forgot, want to search later) where a boy was riding bicycle before transforming with a guy in auto accident (red truck, i think).

and as a research, i want to watch more music videos where the central character are young boy/s. As usual, I did tried google. but this kind of thing rarely give out correct search result, since "music videos with kid", "music videos with young boy" are too generic.

so, if any of you remember watching music videos with a boy as the central character in the music video (it's okay whatever the song is), please post.

it's a bonus though if it's songs by adult instead of kid music (barney, sesame street etc).

REAL song by kids are OK though (such as tell me why by declan gabriath) (). Although i do prefer a music video that tells a story instead of just a kid singing around (but if that song is awesome, post anyway. i totally love 'farmer in the dell'. Posted Image.

Anyway, post away if you know anything. no need to put a link, just song title and performer is enough, although it's okay if you do. i'll do the rest. Thanks.

#4808827 Selling eternal life! Is anyone interested?

Posted by on 09 May 2011 - 10:09 PM

I'll pass. I'd rather go to heaven. I'm tired. Exhausted. Broken into million pieces already.

Please, god, pretty please... Posted ImagePosted ImagePosted ImagePosted Image

#4805562 What it takes to become an Indie?

Posted by on 02 May 2011 - 11:50 AM

There are other option too. You can be lone wolf and outsource other things. This way you don't have the problems of "company", constant salary etc (since you pay contractors per job). Music, for example.

#4791061 Would you choose another degree, if you had the choice?

Posted by on 27 March 2011 - 02:00 PM

i thought the smarter you are the better you are paid. it's either wrong country, or wrong planet. it was so bad to a point i'm thinking of getting MBA instead of MsC.

Nice to be paid well sure, nicer to have an interesting job though in my opinion.

I know, I know. But when the job is something like EA wife thingy, or this yearly contract, some will be dropped thingy like a post i read few minutes ago, bla bla bla, I was like, is it because that guy write (but not sign, of course, only boss do that) and receive checks ?

I think it's the mentality. Anyway, I'm quitting game dev, hanging here just for old time sake (been here since, like, 1998? even before Game Programmers Megasite and Game Programmes 99? merged).

Anyway, after being involvend in an accident, then warded for 5 day (stress related, not accident related), I think I've had enough of rat race. working on my own personal 3d animation project now.

#4788166 Do you think brain training works?

Posted by on 20 March 2011 - 12:55 AM

I can personally attest that speed reading does work. I increase my reading speed to 16 times normal human does. However, I cannot go as fast as the pro does. Interestingly, it about doing it right. We grow & trained reading an alphabet at a time, so our brain (and eye) stuck that way. But all those articles and research show that we can read by word (you know, the text that have jumbled letters, except at the start and end). Our brain can do this automatically, and fast. Then train yourself to read sentences instead of word by word.

Those that have high reading speed can read the whole paragraph at a time, but I cannot do this yet, but for me 16 times faster is enough.