394 Discussion / Question Topics

Remove Filter
Member Avatar for Stefano Mtangoo

Vega had nailed a "Starting Python" thread. I though there should be a place for proposing intermediate and advanced projects so that one can have something to do to improve their skills more. Especially for those who don't do alot of math enough to get the challenges of project eura …

Member Avatar for lrh9
0
6K
Member Avatar for Stefano Mtangoo

Hi, I have Object that performs not only registration/Login but also manages users after the log in. Does it make sense to store object of that class in session or I should only store userID on session and use that to Query DB? My Object will contain user details (Full …

Member Avatar for Stefano Mtangoo
0
110
Member Avatar for Stefano Mtangoo

Hi, please help me with error. I want to run simple project below. I have a lot of errors below and don't know how to fix it. I use GCC port (Mingw) [CODE=C++]#include "mysql/my_global.h" #include "mysql/mysql.h" #include <stdio.h> int main(int argc, char **argv) { printf("MySQL client version: %s\n", mysql_get_client_info()); } …

Member Avatar for Stefano Mtangoo
0
3K
Member Avatar for Stefano Mtangoo

Hi, I was thinking of writing simple Code editor pad like GEdit or Notepad++ but only for PHP and SQL. Now it is for hobby, so I want to use scintilla on wxWidgets and avoid wxWidgets component (purposely). So I was asking what are steps to write such pad. Also …

Member Avatar for Stefano Mtangoo
0
135
Member Avatar for Stefano Mtangoo

I'm doing a project and would like to hear your opinions. I want to make Integrated library system and I want to have these folders 1. classes - where all classes will be stored 2. templates - where all templates will be stored 3. admin - where admin files will …

Member Avatar for Stefano Mtangoo
0
122
Member Avatar for Stefano Mtangoo

If I'm not mistaken using library that is GPLed will force your app to go GPL. Is there a way to get away with MySQL GPL licence and use it in closed source (Not necessarily commercial)? Two scenarios here: 1. libmysqlclient is linked dynamically 1. libmysqlclient is linked statically Thanks!

Member Avatar for Stefano Mtangoo
0
452
Member Avatar for Stefano Mtangoo

Kind: HP ProBook 4510s hi all, I last time switched off my laptop after using it on projector. i disconnected projector fine, then turn it off normal. Then next day I turned on and screen was black and blue light at power button as usual. I decided that I would …

Member Avatar for Stefano Mtangoo
0
102
Member Avatar for Stefano Mtangoo

a apart fro SQL injection what are risks to comsider when querying database? What are risks when uploading files other than limiting some extensions (like exe's)?

Member Avatar for Stefano Mtangoo
0
117
Member Avatar for Stefano Mtangoo

Hi All, after almost a year, I'm back to Pythoning again! Now I want to setup my Ubuntu Box with LAMPP to work with Django. In PHP I just put my files in www folder and there it is! Please help me setup Django sites. Thanks and Happy new year …

0
57
Member Avatar for Stefano Mtangoo

forgive me buddies if it is childish question, I cannot find good tutorial explaining it. So bear with me. My questions are, how does forward declaration differ from normal include which I'm used to? Also, where do we use it and what are limitation of the two? Lastly is there …

Member Avatar for Narue
0
107
Member Avatar for Stefano Mtangoo

I need to make inspection of my code to Optimise it. Which profiler do you use and recommend? I use CodeLite IDE with GCC Compile (MinGW on windows) and wxWidgets for all GUI stuffs Thanks

Member Avatar for daviddoria
0
86
Member Avatar for Stefano Mtangoo

Hi, I know this is not PHP issue but we here writes a lot of database SQL querries so I hope for a help. I have a bible script that is supposed to query the scriptures between two intervals. My table is named Bible and have columns: ID (int), Book …

Member Avatar for Stefano Mtangoo
0
369
Member Avatar for Stefano Mtangoo

I know many will start with ODBC, but slow down ;) I have searched for ODBC and all I find is UnixODBC. Is this the same as ODBC? Also how stable it is? I will be happy to know some apps/companies behind it! I need support for MySQL, PostGreSQL, DB2, …

Member Avatar for Stefano Mtangoo
0
149
Member Avatar for Stefano Mtangoo

I was finding Database schema for CMS that are already there (Drupal, Joomla et al) but not yet succeeded. I would be happy if anybody points me to it. I want to adopt for my uses, droping this and adding that! Thanks

Member Avatar for hielo
0
226
Member Avatar for Stefano Mtangoo

Hi, I have a complex C++ code with gui. Each major gui division is independent class. Now these classes must 'talk' sometimes in operations like copy from division A and paste in division B. So I need to pass some pointers from one class to another. I was thinking of …

Member Avatar for Stefano Mtangoo
0
105
Member Avatar for Stefano Mtangoo

Hi, I have decided to learn C# and since I have good knowledge of C++, I hope it would be easy. I have faced an error I dont understand. It says [COLOR="Red"]Polygon' does not contain a constructor that takes '1' arguments (CS1729)[/COLOR] AFAICS, all is well and constructor does take …

Member Avatar for Stefano Mtangoo
0
199
Member Avatar for Stefano Mtangoo

Now, heading might be a bit misleading. If that is the case forgive me as I cannot think of best heading! i have database of books, that is e-books. Each table have page number and contents (to simulate true book). The problem is, I have to search for a word …

Member Avatar for Stefano Mtangoo
0
92
Member Avatar for Stefano Mtangoo

Hi there, I need to block port 80 (HTTP for internet). Is there a way to block give socket? Thanks!

Member Avatar for sheva249
0
817
Member Avatar for Stefano Mtangoo

There are many decent sites for C++. However, some of Dev, including me, works most of the time offline. So I need to have one for reference. If anyone knows a decent one then please post a link Thanks

Member Avatar for onoffon
0
150
Member Avatar for Stefano Mtangoo

1. [URL="https://wiki.ubuntu.com/MaverickMeerkat/TechnicalOverview"]Overview[/URL] 2. [URL="https://blueprints.launchpad.net/ubuntu/maverick/+specs"]Features[/URL] Waiting for 10.10 :)

Member Avatar for richieking
0
162
Member Avatar for Stefano Mtangoo

I haven't noticed this until I tried it today and boom! Compiler complained: [COLOR="Red"] error: constructors cannot be declared virtual[/COLOR] Why then Constructor is not okay while destructor is, in such as class as this? Thanks [CODE=C++]class MyAbstractClass{ public: virtual MyAbstractClass(std::string username, std::string password)=0; virtual ~MyAbstractClass(std::string username, std::string password)=0; virtual …

Member Avatar for Stefano Mtangoo
0
574
Member Avatar for Stefano Mtangoo

Seeing we can do it with structs, why do we need classes? See the code and quote from [URL="http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=/com.ibm.xlcpp8a.doc/language/ref/cplr054.htm"]Link[/URL] [QUOTE="IBM Developer"]The C++ class is an extension of the C language structure. Because the only difference between a structure and a class is that structure members have public access by default …

Member Avatar for LordNemrod
0
102
Member Avatar for Stefano Mtangoo

Hello All, I want to make a CD/DVD Library where by an admin can do all the operations while any other norma user can do limited operations (simply browsing and searching). I'm still organizing and doing simple design and I need your opinions on this: 1. What is the best …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for Stefano Mtangoo

Hi, I have a page where I include another page passed via url Url is something like [B][url]http://www.daniweb.com/newthread.jsp?page=24[/url][/B] and I get the variable as [CODE=JAVA]String thePage = request.getParameter("page") ;[/CODE] Now I want to include it in my page and the code below doesn't work. I have googled and I cannot …

Member Avatar for Stefano Mtangoo
0
198
Member Avatar for Stefano Mtangoo

Hi, I'm trying to develop application with separation of UI/BL/DAL. I have read a lot of theories and I'm trying to develop a blue print for my application. I have no problem in UI thing. But I have problem with designing Data Access Layer. It will basically be a SQLite …

Member Avatar for Stefano Mtangoo
0
910
Member Avatar for Stefano Mtangoo

Hi, I have abstract base class with some kids deriving from it. I want its kids to be concrete classes But I don't want to implement the all methods of the class. I'm trying to find a trick to go around doing this and I'm running out of thought on …

Member Avatar for Stefano Mtangoo
0
130
Member Avatar for Stefano Mtangoo

When you think of Media player, you need beautiful look n feel. I know GIMP can do alot. But Skin in wxPthon? I don't think it is possible. So I thought and thought then I came with this Idea. Create panel with Image as background and then Load wxBitmaps and …

Member Avatar for Beat_Slayer
0
457
Member Avatar for Stefano Mtangoo

I'm looking for if I can add C# to my toolbox. However there is something which is not clear. I know C# is interpreted language, but can't get it when it comes to learning It. I would like to learn Mono, but then, how does it differ with M$'s? Where …

Member Avatar for ddanbe
0
97
Member Avatar for Stefano Mtangoo

Hi anyone who knows good and documented CHM library? There is [URL="http://www.jedrea.com/chmlib/"]chmlib [/URL]which is X-platform but I cant find documentation or example. Is it hard to write cross platform CHM reader library. Just reading, no writting Thanks

0
52
Member Avatar for Stefano Mtangoo

Hi to all, is there any place i can download MSDN Library for VB 6.0? I really need it! with regards!

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for Stefano Mtangoo

Hi, Please help me spot where I go wrong. I cannot understand why the error. The Code with error and full error are below. Thanks Error:[COLOR="Red"] loaddll.cpp:6: error: invalid conversion from 'void*' to 'void (*)(wxString)'[/COLOR] lines 5, 6 and 7 [CODE=C++]typedef void (*helloSteve)(wxString);//takes string and Shows it! helloSteve myFunc = …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for Stefano Mtangoo

Hi All, I have a question that I cannot figure out. I have DLL that will export class and some C functions. Should I enclose both definition (.cpp) and Implementation(.h) with extern C? something like below? myfunc.h [CODE=C++] class TestClass{ //some stuffs here }; extern "C" { void myFunc(int x, …

Member Avatar for Stefano Mtangoo
0
223
Member Avatar for Stefano Mtangoo

I have been Out of real pythoning for a while. My favorite Toolkit is wxpython but It have a huge size due to monolithic nature. So even with simple app, it swells! I was looking if I can have any size difference with Other GUI toolkit, PyGTK! Hope someone will …

Member Avatar for Stefano Mtangoo
0
293
Member Avatar for Stefano Mtangoo

Hello, I need to load JQuery UI tabs ajax call. I have made tabs and works well with my projects. I have problem in using ajax to reload one of the tabs using ajax call. When user select another thing in Drop down menu I have no way to reload …

Member Avatar for Stefano Mtangoo
0
105
Member Avatar for Stefano Mtangoo

Just a curious Question, Is there a way of putting Vpython in wxpython as we do in case of wx.MediaCtrl and other stuffs?

Member Avatar for isabel puchoc
0
433
Member Avatar for Stefano Mtangoo

I have tried whatever I can but i'm yet to find a definition I can understand. Would anyone try to "educate" me on what is enterprise java beans?

Member Avatar for Stefano Mtangoo
0
121
Member Avatar for Stefano Mtangoo

Hi Guys, I need to make remote app control via network where I can lock a computer and terminate all applications running. currently I don't have any technical direction on how to lock and terminate. I have no problem where to start on network and sockets! please point me to …

Member Avatar for Stefano Mtangoo
0
638
Member Avatar for Stefano Mtangoo

Hi, I'm beginning JDBC and I'm conversant in SQL. But I need to Connect to database and that where the problem lies. All I have done is adding mysql/j connector Jar to Netbeans project and wrote code below to test. It cannot connect to database. Also IDE throws error: [CODE=JAVA] …

Member Avatar for Stefano Mtangoo
0
490
Member Avatar for Stefano Mtangoo

Hi friends, I need to work with an application that exposes SNMP interface. I have googled to check SNMP in general but I find it difficult a bit. I know in HTTP you send request and get response and with the two you can play around. I have never done …

Member Avatar for Stefano Mtangoo
0
124
Member Avatar for Stefano Mtangoo

Hi buddies, I have a project that I need to be plugin based. I have never done that before and I have intermediate C++ knowledge. I have googled and found a lot of links including [URL="http://www.abstraction.net/ViewArticle.aspx?articleID=67"]this one[/URL]. It is helpful and I don't know if I understand well. Here is …

Member Avatar for Stefano Mtangoo
0
342
Member Avatar for Stefano Mtangoo

I know it sounds stupid but I want to try this with the kind of for (not the norma for i=0 i<9; i++) but the other one with arraylist. is this possible? If yes please help me match data types Thanks [CODE=JAVA] import java.util.ArrayList; import java.util.List; /** * Created by …

Member Avatar for Stefano Mtangoo
0
129
Member Avatar for Stefano Mtangoo

Hi again, After a defeat in Linux in other post (which I'm still finding a way), I have decided to give a shot in windows. However it produces DLL fine and I can use LoadLibrary(). I need it to produce .a file for static linking. How do i do it? …

Member Avatar for Stefano Mtangoo
0
258
Member Avatar for Stefano Mtangoo

In simple terms, to write windows DLL I have to define DllMain and do switch stuffs and then export functions using __declspec(dllexport). If I'm right the question comes what about linux? I want to write it in ubuntu box and I'm stucked! How do Coding DLLs differ from .SO? Thanks!

Member Avatar for Stefano Mtangoo
0
144
Member Avatar for Stefano Mtangoo

I have seen a lot of ***unit: JUnit, PHPUnit et al. Bu what on earth are they for in practical? Why do we need it? Thanks!

Member Avatar for ~s.o.s~
0
90
Member Avatar for Stefano Mtangoo

Hi, I'm learning making CMS. As you can see, I cannot do everything from scratch. So I request anyone with code in his codebase that works fine on paging or knows practical code to point me. I want to page my articles once are more than let say 10 Cheers …

Member Avatar for Stefano Mtangoo
1
127
Member Avatar for Stefano Mtangoo

I want to use JDBC with apache's pooling library. I can't find easy tutorial/example to follow. Please help me get it up and running. I have it downloaded and I watch at it puzzled :)

Member Avatar for Stefano Mtangoo
0
93
Member Avatar for Stefano Mtangoo

Hi there, Is there anyone here using NB platform to develop applications? Anyone using former Matisse GUI builder in NB 6.8? I can't see it in my IDE!

Member Avatar for Stefano Mtangoo
0
71
Member Avatar for Stefano Mtangoo

Hi guys, I have been away Python for long now. I need to brush with small project that will be downloading images from give url. I give url and it crawls through all pages in give location and its subfolders and download image. Now two challenges: 1. Crawl through all …

Member Avatar for Tech B
0
199
Member Avatar for Stefano Mtangoo

Hi buddies, I need to pass data among servlets and I find it very hard. What I have so far is passing it via session variable but that crashes my app now and then and seem to be bad approach. How do you transfer data among servlets without crashing the …

Member Avatar for Stefano Mtangoo
0
79
Member Avatar for Stefano Mtangoo

I was infected by Mabezat virus/worm. I have managed to remove infection and have succeeded. However it have left my firewall and Automatic update disabled. It have also removed searchbox (See attached Image). Please suggest the way out. I cannot even Install Comodo firewall:(

Member Avatar for Stefano Mtangoo
0
126

The End.