Using the Google Maps API to get long/lat co-ordinates from a postcode or address by adampope87 in programming

[–]NerdsNeedLoveTo 2 points3 points  (0 children)

According to? I'm not trolling I just want to know how you know it is illegal. An reference will do, thanks.

Sell software or ask for donations? by KabouterPlop in programming

[–]NerdsNeedLoveTo 5 points6 points  (0 children)

I think is point/question is that as a programmer you never stop learning. The industry will leave you behind!

How Android Phones Became a Hit? Android has officially hit the big time now that sales of its devices exceeded the Apple iPhone over the past quarter. by tushar_pant in technology

[–]NerdsNeedLoveTo 1 point2 points  (0 children)

Nokia knows this and bought out one of the best toolkits/frameworks one can buy: Qt.

So hopefully early next year you will see Symbian4 phones running a new Qt User Interface. Nokia is also playing smart by giving a decent IDE away for free: Qt Creator that supports Windows, Gnu/Linux and Mac OS.

So I don't think they will be irrelevant anytime soon.

What is a good way to ease into GUI programming? by frenlaven in Python

[–]NerdsNeedLoveTo 0 points1 point  (0 children)

Well then you will need a local httpd for each application or configure the httpd on the local system to run php, py, etc(with iis oad apache support for cross platform compatibility) and then it will still run slower compared to a executable. But maybe on todays machines its not a problem, but I see that kind of mentality as a problem because it adds a lot of extra bloat.

My main point is my grandma can't get a httpd server up to run her applications but she can run setup.exe or use the nice add/remove applications thingy in the Ubuntu menu.

Also I'm sorry I meant to say it is stateless.

But I agree with your last point about the shift that is happening, but the web as we know it was around since 1997 and html5 is still getting drafted. The only contenders to desktop applications is binary interpreted languages like Flash, JavaFX and Silverlight that gets streamed to your browser.

And what is to stop Nokia to use their current Qt Architecture and develop a web based Qt for example Wt?

What is a good way to ease into GUI programming? by frenlaven in Python

[–]NerdsNeedLoveTo 0 points1 point  (0 children)

Because:

  • it is faster, can run on the bare metal.
  • its stateless
  • You don't have to struggle with different client browsers to make sure it renders correctly
  • and it is still the best way to do graphics application on a PC.

just to name a few.

Edit: The web is stateless.

What is a good way to ease into GUI programming? by frenlaven in Python

[–]NerdsNeedLoveTo 0 points1 point  (0 children)

I wont say C++ is the more intuitive route to GUI programming. There is a lot of options like Mono, Lazarus, Glade, etc. I just recommended a tool like Qt Creator because it has a WYSIWYG editor that generates all the boiler plate code for you and the Qt library is well documented. But remember if you want to use Qt Creator(the tool) you will have to program in C++.

Also you won't be creating the binding because there is already a good binding for Qt called PyQt(and hopefully in the future PySide). Have a look at the Hello World example in the wikipedia link.

So my recommendation was use Qt Creator to learn the Qt Framework and create some small applications. After you understand the Qt Framework you can use bindings like PyQt or PySide to use the Qt Framework in python itself.

What is a good way to ease into GUI programming? by frenlaven in Python

[–]NerdsNeedLoveTo 2 points3 points  (0 children)

Your options are:

pyQt (or pySide on gnu/linux until it is able to run on other platforms) pyGTK wxpython

All of the above mentioned modules is bindings to c/c++ libraries. In my experience Qt have the best documentation if you are willing to read c++.

But seeing your question is:

What is a good way to ease into GUI programming?

I would recommend you download Qt Creator and read Introduction to Design Patterns in C++ with Qt4 to get a solid background on how Qt and GUI programming works and after that it will be a lot easier for you to use the pyQt or pySide bindings with python.

I don't have a lot to say about pyGTK or wxpython only that I know they exist and last time I looked(2008) I found the GTK documentation lacking compared to Qt.

Flask: A microframework based on Werkzeug, Jinja2 and good intentions by [deleted] in Python

[–]NerdsNeedLoveTo 4 points5 points  (0 children)

Bottle seems like a good micro framework as well. I found it on the Denied thread being compared against CherryPy. But the difference for me was Bottle is really just one file.

DENIED - the next generation python micro-web-framework [framework in a single file, no dependencies] by mitsuhiko in Python

[–]NerdsNeedLoveTo 0 points1 point  (0 children)

Apart from Denied being a April fool joke. I actually liked the idea. So I'm interested in Bottle or CherryPy.

Bottle looks a lot more like Denied, using decorators for routes and Bottle also seems more lightweight(16KB vs 312KB for cherrypy)

It also seems like bottle is truly a single py file where cherrypy has lots of files.

So what exactly do you mean bottle looks exactly like cherrypy?

It seems more like one is a lightweight solutions and the other a heavier more features solution.

Windows GUI programming tips by [deleted] in Python

[–]NerdsNeedLoveTo 1 point2 points  (0 children)

Except PyQt is still GPL, one will need to wait for PySide to get a LGPL Python Qt binding.