- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
55 Posted Topics
I'm learning nodejs(and I like it!). I tried to figure out how to have shorter alias for `console.log` and I found out that I can use `var cout=console.log` and use `cout('[string]')` from then on. Then when I wanted to use `process.stdout.write` and I tried to make a short alias for … | |
In [this page](https://uwsgi.readthedocs.io/en/latest/WSGIquickstart.html), the first example of using python with uwsgi is the following code: def application(env, start_response): start_response('200 OK', [('Content-Type','text/html')]) return [b"Hello World"] As you can see, there is this `start_response` function which is provided by uwsgi, which is similar to all those things that framewroks like django provide … | |
I want to associate a REST API end point to two urls, "manager" and "manager/". So I added two path entries in the urlpatterns with these urls. But it seems something that can be handled with some kind of configuration. Is there such a configuration with django? thanks | |
I'm trying to run a project that uses Django and uWSGI in a Docker container. But I'm new to Docker and uWSGI so I'm not quite sure how I'm supposed to do it. At first I build the project with the below command: docker build -t saleor . Then I … | |
I'm just learning web development using nodejs and so I need to choose some frameworks to work with. I really like hapi and want to use it. But I also need something to build the view of the website. Some choices are quasar, vuetify, react, etc. But I really don't … ![]() | |
Apache Cordova is a framework that lets you build mobile applications using HTML5, CSS and Javascript for different mobile platforms. But because the applications you build with this framework live in a layer on the top of the native development tools of the targeted platform, they're slower than equivalent applications … | |
I want to learn web programming with Java. I'm using eclipse neon with tomcat 8.5.13. My question is do these tools support asynchronous programming and server push technologies or should I use other tools? Thanks | |
Is it possible to use import for third party modules in Python? How? Thanks | |
Hi I wanna start working with ASP.NET with C# but want to do it in ubuntu. I have installed mono and XSP2 but have some problems and questions. The instructions I followed for installing XSP2 is [this page](http://www.howtogeek.com/howto/ubuntu/run-aspnet-applications-on-ubuntu-for-developers/). But when I type "sudo apt-get install asp.net2-examples" in terminal, I get: … | |
I want to connect my Lenovo Ideapad S510p(Windows8) to the WiFi network of my TP-LINK modem-router. But the laptop does not finds no WiFi network although I can get it with my cellphone and connect to it. I checked the DHCP leases list of my modem and laptop's mac address … | |
Hi I just installed SciPy stack on Ubuntu 14.04. Then I installed python-pyglet. For testing it, I tried the following in python 2.7.6 interactive mode: from sympy import symbols,Plot,sin x=symbols('x') Plot(5*sin(x**3)+x**2) But the only result is « [0] : x ** 2 + 5 * sin(x ** 3), 'mode=cartesian' » … | |
I have an Avision FB1200 scanner and want to install it on windows 8 but I can't. I installed its driver which was on its CD but nothing happened. Then I tried repairing it through the same install file but there was an error message about the file "C:\windows\scanner\avsetup.dll". When … | |
Hi In some movies,it is shown that somebody has a file on a flash memory which is a threat to some criminal and when the criminal takes the flash memory using some kind of a trick or another s\he checks the file and makes sure the file is not copied.I … | |
I just downloaded [Python for S60 2.0.0](http://en.wikipedia.org/wiki/Python_for_S60).The instructions say that for using it,I should open PyS60 Application Packager but it complains:«No module named tkFileDialog». I'm using Python3.3.2 And I should say that I know Python for S60 is really old and outdated and that maybe the problem,so I will appreciate … | |
I'm using windows 8 and I wanna know can I cross compile a C++ program for symbian Belle?How? Thanks | |
I've read that C# compiler's name is csc.exe I have MonoDevelop3 And can't find a file with that name. Also can find nothing which looks like a compiler in MonoDevelop's directories. The documentations didn't help too. Could you help? Thanks | |
I wanna know how can I read a string from input which contains spaces and by string,I mean a string class object. thanks | |
I think its more than a year that I ask my questions about programming in this forum.Looks like its the time that I help a little too. So I wanna put my best here.I hope it'll help some one. Still I'll appreciate any suggestion. Another point,It was my first time … | |
I know C++ well and have written some programs in it but when I look at a program's code,I can't understand it.I wanna know is there a place where I can learn to write real world programs?Sth like a C++ certification? thanks | |
I wanted to have a vector<string> and a vector<double> in my class so I used forward declarations below: [CODE=c++] class string; template <typename T> class vector; [/CODE] But I recieve the error: [ICODE]field 'varname' has incomplete type[/ICODE] for both vector<string> and vector<double> variables. I searched internet for this error but … | |
I know the how to fill a magic square but there is a problem in the code. The algorithm is like below: 1-Put number 1 at the second column of first row. 2-Put the next number one upper row and one behind column. 3-If the cell mentioned in the last … | |
Hi I know it may seem like a homework question.But I have to ask it.I wanna build a site but have problem with the page design.You know I don't know enough HTML to get exactly what I want.Also I can't use page design softwares because they don't support farsi.So I … | |
Mybe its not the proper place to ask it but I don't know a more proper place. I wanna download SFML but the links in its official website and sourceforge do not work. maybe its because i'm from iran but if its not the case,I wanna ask for a proper … | |
Hi I've heard in some places that it is possible to write programs in several languages but I have no idea how.Could someone explaint about it? thanks | |
Hi all people I've written program below for a physics problem. [CODE]#include <iostream> #include <conio.h> #include <math.h> #define g 9.8342998109761958158459616185564 using namespace std; long double theta(unsigned long int n,unsigned long int N){ return (M_PI/2)-n*(M_PI/(2*N)); } long double V(unsigned long int n,unsigned long int N,unsigned long int h){ if(n!=0){ long double … | |
Hi I'm trying to write a heap data structure but I have no idea how to do this.Could Someone help? thanks | |
Hi I want to know how can I make my database that the user can add a field to a table from a form or sth? thanks | |
Hi all I have some questions 1-Is an API just a set of functions that let you do sth easier that using the things that make up the API,directly?If yes so and API must be able to be compiled in every IDE but you can see that Qt's API needs … | |
Hi people Could someone tell me what is the difference between runtime and compiletime polymorphism? thanks alot | |
good time people I have a code like the one below: [code=c++] #include <vector> #include <stdio.h> #include "mymath.h" using namespace std; int main(){ int n; char a='y'; do{ cout<<"\n----------------------------------------\n"; cout<<"Enter a number for prime factorization : "; cin>>n; cout<<"\n----------------------------------------\n"; int *result=pfact(n); for(int i;result[i][0]!=0;++i){ if(result[i+1][0]!=0) cout<<result[i][0]<<"^"<<result[i][1]<<"*"; else cout<<result[i][0]<<"^"<<result[i][1]<<"=";} cout<<n; cout<<"\n----------------------------------------\n"; cout<<"Do … ![]() | |
Hi I really need help It is a homework for just four days later. want someone to write two programs for me: 1-A program that converts a decimal number to hexadecimal 2-A program that generates the output below using loops: | |
Hi I have two questions? 1-Is the quality of a picture related to its number of pixels?(I know its not related to c++) 2-Is it possible to work with individual pixels of a picture via c++? thanks | |
Hi pals I have three qestions 1-Is it possible to overload {} operator? 2-What is the benefit of using function objects other than functions? 3-How can i access CPU serial number and such a things? | |
Hi I have 4 questions 1-Is it right that when you learn assembly you learn machine language,too?How? 2-What makes a programming language feature OS dependent? 3-Does Assembly have OS dependent feature?what about HLA? 4-How can i write an OS independent program(bootable programs)? thanks alot | |
Hi men could you introduce or even upload a PDF for me to learn x86 assembly language. thanks a lot | |
Hi I just finished reading C++ the complete reference by herb schildt (almost a quarter ago)so i feel i can program in c++ but i don't know what to write.could you give me some problems that their answers involve a lot of c++ features? thanks a lot | |
Hi Could you explain a little about the topic? thanks | |
Hi people Can someone introduce me a website or e-book (but not a book) that explains each windows API function or data type or...one-by-one? thanks | |
Hey I want a code for a please wait with dots in front of it (writes some and delete them and starts again) or a / or \ that rounds. thanks | |
Hey men is it possible to build your own operator with your own definition and your own symbol for every type? | |
Hello I wanna ask is it possible to to us vb for building a program's GUI and c++ for its coding? | |
Hey men When i wanna run the code below,i get the famouse [I]don't send[/I] message and i use code::blocks 8.02 [CODE]#include <conio.h> #include <iostream> using namespace std; int main(){ int start,end; double a[start-end][2],p[start-end]; cout<<"Enter a number to begin with : "; cin>>start; cout<<"Enter a number to finish with : "; … | |
Hi ladies and gentle men I wanna use bloodshed dev-c++ 4.9.9.2 but when i wanna launch it,before anything happens,a dialog box comes up and says: [QUOTE]There doesn't seem to be GNU Make file in PATH or in Dev-c++'s Bin path.Please make sure that you have GNU Make and adjust Bin … | |
Hi men 1-I wanna ask that how an OP works.I mean you install and launch a software on an OP.But you launch an OP on what.and how is programming an OP? 2-How can i define a function that the number of its parameters is infinite. 3-The difference of programming for … | |
Hello may someone put the sha1 or md5 source code here? thanks | |
Hey men I'm using ubuntu 8.04.1.when I wanna compile a c++ source code with gcc,it says: gcc:error trying to exec 'cc1plus':execvp:no such file or directory | |
Well my question is obvious. I want to ask is it possible to write superscribe or subscribes in python ? thanks! | |
Hi Excuse me but i came again Can someone learn me how to work with py2exe? thanks | |
Hello Is it possible to Create a new character in C++? and then can we use it in in other softwars like word and such programs that you can write something in them? thanks a lot. |
The End.