Stefano Mtangoo 455 Senior Poster

Here is one from vpython docs

from visual import *

floor = box (pos=(0,0,0), length=4, height=0.5, width=4, color=color.blue)
ball = sphere (pos=(0,4,0), radius=1, color=color.red)
ball.velocity = vector(0,-1,0)
dt = 0.01

while 1:
    rate (100)
    ball.pos = ball.pos + ball.velocity*dt
    if ball.y < ball.radius:
        ball.velocity.y = abs(ball.velocity.y)
    else:
        ball.velocity.y = ball.velocity.y - 9.8*dt
Stefano Mtangoo 455 Senior Poster
Stefano Mtangoo 455 Senior Poster

There is a module that is imported that is on wxDemo DIR. I don't remember well but it is something like run
You should modify that

Stefano Mtangoo 455 Senior Poster

Dan08 and Sravan (Members of Daniweb) did a Pymailer program which implements the all functions. Please consult them (PMing or Emailing them) and will may be give you more instructions

Stefano Mtangoo 455 Senior Poster

Is that a web application? How do you run it or at least how users access it? via web browser? Locally? As far as I know, TG is web framework and wxPython is GUI toolkit for Desktop app.

Stefano Mtangoo 455 Senior Poster

I have got it. Now I have wxPython and Matplotlib
How about Vpython?

Stefano Mtangoo 455 Senior Poster

I know of Django as alternative to TG
they are frameworks for developing apps with Python
www.djangoproject.com

Stefano Mtangoo 455 Senior Poster

simple command does the job (I was testing and it worked)

urpmi gcc
urpmi codeblocks

Stefano Mtangoo 455 Senior Poster

I got netbeans/JDK up and running
Thanks guys

Stefano Mtangoo 455 Senior Poster

I cannot see matplotlib in repo. Is there a way out?

Stefano Mtangoo 455 Senior Poster

Thanks guys! Installing netbeans now

Stefano Mtangoo 455 Senior Poster

Please help me to setup my development enviroment on Mandriva 2010. I used to MINGW and Codeblocks then Codelite. So I would be happy to have some IDE full bundled with GCC. I have googled but nope, nothing comes.

Iam posting at codeblocks forum too :)

Stefano Mtangoo 455 Senior Poster

Uh! you won Peter, hands down ;)
I thought that because Bennet commented

Stefano Mtangoo 455 Senior Poster

After gazillion seconds of search, I found that Aria2 and curl are both buggy. I changed to wget and it is progressing now.
Thanks alot. Now after updating I will try the suggestions above.

I know that you have Mandriva, so what IDE/Editor do you use?

Stefano Mtangoo 455 Senior Poster

Thanks Peter, let me see!

Stefano Mtangoo 455 Senior Poster

Backed up my data and re installed.
No repos were there

urpmq --list-url

reported nothing. I used easyrpmi and added only PLF. Cant get main repos. So I will try with these to see if I can get wxPython and others

Stefano Mtangoo 455 Senior Poster

I see Joomla na drupal works well, which one is simpler for mimicking

Stefano Mtangoo 455 Senior Poster

Wasn't JBennet who zapped that stubborn Spam?
Then Somebody hijacked his account!

Stefano Mtangoo 455 Senior Poster

IDLE will work with Linux and so will DrPython and Geany.

I don't remember to have tried Geany, how does it do?
How Fast is Eclipse/Pydev in Linux? Anyone using or have experience with PIDA?

Thanks Vega for good suggestions

Stefano Mtangoo 455 Senior Poster

You may have to configure your package sources. Also, I recommend the gnome version because I found that it was much faster than the KDE version (still, I can run KDE apps).

Thanks Grobouillis!
as I said, I have to fix something that went wrong during add/remove of some packages. Internet went off and I cannot login So, I have to wait until I fix that

Stefano Mtangoo 455 Senior Poster

Reputation point for that J :clapp hands:
Spams are choking!

Stefano Mtangoo 455 Senior Poster

Aha! I use KDE (I'm KDE fan), and I was updating my update failed now it keep me asking login and I get no where :sad:
I'm trying to fix that and I will then try your option. Before It crashed, I wasn't able to see them under programming! I have to fix it first....very sad

Stefano Mtangoo 455 Senior Poster

it have but only Python 2.6.4 no modules!
May be I too new bee to recognize the trick behind :)

Stefano Mtangoo 455 Senior Poster

Where is best JSP tutoriall, at least best for you?
I will appreciate also downloadable for offline use. I'm extremely noob to JSP but I know some java

Stefano Mtangoo 455 Senior Poster

Hi all,
I just fired Mandriva 2010 from my external HDD. I need to run PHP IDE and PHP/MySQL server running. I'm new to Linux so I need guide from you guys
Thanks

Stefano Mtangoo 455 Senior Poster

Duh! I'm now using Linux from my external HDD again.
Please suggest a good IDE for me
Thanks

Stefano Mtangoo 455 Senior Poster

Hi,
Iam now using Mandriva from external HDD and want to install my development tools. I need to install wxPython, Matplotlib, and some other packages. How to do that in Mandriva?

Stefano Mtangoo 455 Senior Poster

Hi all,
I Just connected to internet booting from my USB external HDD which have Mandriva 2010 installed. I need to set it up for may Regular programming. So help me to Install JDK and Eclipse. I'm right now checking Sun.com but I know there are Java people using Linux here. Please help me!

Stefano Mtangoo 455 Senior Poster

Hi all,
Back then I was writting my own login/register system and I have halted developing it due to time constraints. I will be happy to resume later. Here I am asking for Open source secure and safe login/register system that I can Incorporate in my CMS. I want to concentrate on Templating/Paging/Contents & Pages management instead of Securing my login/register system

Should I copy from some CMS? If so what do you suggest: Drupal? Joomla? PHPBB? or what?

Thanks alot!

Stefano Mtangoo 455 Senior Poster

Thanks guys

Stefano Mtangoo 455 Senior Poster

> How I go about getting documentantion?

Any JDBC tutorial out there should be good enough to get you started. The only difference would be the way the SQL driver is loaded. This would be a good start.

So If I have understand well, JDBC is standard and doesn't differ that is MYSQL JDBC code can be used in PostGreSQL JDBC except they will differ in the way you load driver right? If so, Java designers won hands down :)

Stefano Mtangoo 455 Senior Poster

Bravo for making Python software!
Have you heard of this?

Stefano Mtangoo 455 Senior Poster

try VIDLE that comes with vpython

Stefano Mtangoo 455 Senior Poster

Ok I have the .jar file. How do I add to easy eclipse and call imports? Just as I will do for SWT? I decided to take the first option. How I go about getting documentantion?

Stefano Mtangoo 455 Senior Poster

Ooh! BTW,
I have never used subprocess so bear with me in this ideaic stage :)

Stefano Mtangoo 455 Senior Poster

Hi guys,
I have always wanted to write MP3 encoder in Python. I heard of Py-lame but I have never had hands on it and it is, to me a myth.

Ok after trying thinking in ctypes, I thought the best way would be using lame.exe and subprocess. But as I'm thinking of it, I hate black screen. I want to use my own GUI using wxPython. So, is it possible to use subprocess without having black screen? Also getting encoding progress and nicely display it on progress bar?

What do you suggest buddies? Thanks alot ;)

Stefano Mtangoo 455 Senior Poster

but I'm also working on my own JS library!.

Are you going to release it to public?

Stefano Mtangoo 455 Senior Poster

You seem to be potential candidate for this forum

Stefano Mtangoo 455 Senior Poster

Well, then, Google for SQLite JDBC Driver. There is one out there. It is not a Type 4.0 Driver (AFAIK), however.

I found a lot of confusing things. I don't understand what you mean by type 4. Can you link me to the best option? Google seems to confuse me on this :confused:

Stefano Mtangoo 455 Senior Poster

Cakephp, Gedit, jQuery, Aptana.

How difficult is CakePHP?
I'm about to dump Aptana because I cannot have code completion for some PHP functions (mysql_based) and also no JQuery intellisense in PHP editor. It turns me off. Have you manages past that?

Stefano Mtangoo 455 Senior Poster

It was for anybody I did confuse.
Thanks

Stefano Mtangoo 455 Senior Poster

I love to learn the hard way i.e with real world examples. I thought to make MP3 Player, but I changed mind and now I want to make small SQLIte driven app. How do you manipulate SQLite with Java?

I'm googling to see if I will catch noobish things :-/

Stefano Mtangoo 455 Senior Poster

>2. What is your favorite GUI library
I equally dislike all of the ones I've tried.

So you don't use GUI or WinAPI? What about linux?

>3. What is library that you often use?
The standard library.

I should have said What is non standard library that you often use?

>4. Anything related?
You couldn't think of any more specific questions, so you left it to us? :icon_rolleyes:

Yeah! I thought there must be something related I didn't knew, strange is it? :twisted:

Stefano Mtangoo 455 Senior Poster

How difficult is learning Smarty, at least comparered to your beloved Rain TPL?

Stefano Mtangoo 455 Senior Poster

It is by P.B Mahapatra called Programming C++
I wonder why he uses it!

Stefano Mtangoo 455 Senior Poster

Thanks ardav. Just curious why do you love Prototype and not JQuery, at least the first in your mind?

Stefano Mtangoo 455 Senior Poster

Its true ardav, but new things comes out and bumping years old forum isn't beautiful

diafol commented: Fair point - you're right +5
Stefano Mtangoo 455 Senior Poster

I'm curious what you Developer uses:
1. What is your favorite IDE
2. What is your favorite GUI library
3. What is library that you often use?
4. Anything related?

Stefano Mtangoo 455 Senior Poster

So there is no performance penalty, just loose cross platform-ity?
and will exe need JRE as Jar do?

Stefano Mtangoo 455 Senior Poster

Here are other Buzzwords I met today
1. Difference between Template class and template functions. Me I don't see except one is class and other is function

2. How to best use try, throw and catch

BTW, I found the book I'm reading the Author used void main :)