523 Topics
|
|
I am looking to buy a motherboard and I'm looking for lots of USB and sata ports, it should fit in this case -> item# N82E16811146077 on newegg.com and will work well with Linux for my main desktop, and a windows and SeamOS drives as well for gaming? Will this … |
|
i have installed nasm in ubuntu in linux but dont know how to and where to write code of assembly language and run my code please give me information as soon as possible. |
|
Can anyone please help me to convert the Pseudo code to python code? receiveFile () { lastblock := 0 newblock := 0 ; repeat repeat event := getFrameFromUDP(m) ; case event of data : newblock := getBlockNoFromFrame(m) ; transmitAckOverUDP(newblock) | timeout: transmitAckOverUDP(lastblock) esac until newblock==lastblock+1 ; lastblock = newblock ; … |
|
Hi, Below command will give the cpu and memory usage of process in terms of percentage. can we achieve same usin c/c++ API. ps -C <process name> -o %cpu,%mem | tail -n 2 |
|
Most common quiestion is: [quote]Is there any C++ GUI API?[/quote] My answer is MANY. There are many API's for making GUI applications. Here are some. [B] 1. WinAPI: (C based)(MFC is C++ based)[/B] [I]Its a great API and the best solution if you are windows programmer. First code will look … |
|
I am looking for log archival utility or approach which should be able to help me in based on below policy. (1) whenever log file (system.log) size >30859 or file is 3 day old then it should archive the same with new name system.log1 and again start the feeding the … |
|
Hi, i want to truncate the log file which is already in use ( log is getting appended) . After that i want to make sure log is still getting appeneded after performing truncate. I have been using below command for the same but don't see it is happening. truncate … |
|
Hello, I rebooted my server and it won't startup due to the below error, now server is not getting up, its throwing the below error and keep trying to connect to Oracle, so I am unable to access the server to free some space if its the issue as per … |
|
[Linux Mint] Linux Mint I'm following a book on Django and it has this -> https://hellowebapp.com/setup/ accompanying website. Take a look below at what I'm getting when I get to the "Start your Django project" section of the link. Here's a peak at my terminal input and feedback. (venv) user@mothership … |
|
File drop database if exists contacts create database contacts; use contacts; create table names ( ID mediumint not null auto_increment primary key, firstName varchar(20), lastName varchar(20) ); create table addresses ( ID mediumint not null auto_increment primary key, nameID mediumint not null, addr1 varchar(30), addr2 varchar(30), city varchar(30), state varchar(10), … |
|
Hi Dw. If there is anyone who knows how and which languagies are used to develop software's like word processing, Excel, Access, basically things like Office suite. I know Linux has their own different tools for office, as well as Microsoft as well and other OS have different Suites for … |
|
I've tinkered with php in the past but I'v also enjoyed playing around with python. I have been wanting to give python a try as a possible alternative to php but I haven't had much luck. All of the videos I find on the subject are about setting up Django … |
|
python3 pythonscript.py Traceback (most recent call last): File "pythonscript.py", line 1, in <module> import pysftp as sftp File "/usr/local/lib/python3.4/dist-packages/pysftp/__init__.py", line 12, in <module> import paramiko File "/usr/local/lib/python3.4/dist-packages/paramiko/__init__.py", line 30, in <module> from paramiko.transport import SecurityOptions, Transport File "/usr/local/lib/python3.4/dist-packages/paramiko/transport.py", line 32, in <module> from cryptography.hazmat.backends import default_backend ImportError: No module named … |
|
Hello DaniWeb Users; I'm not a good coder here please hold on me, My machine is linux ubuntu 14.04 and I install apache2 also the php5. I was trying to create a simple log in page here (no registration thing) So in mysql I just create 3 fields (user_id, username, … |
|
I'm volunteering for a non-profit organization based in Chicago that collects community support for global initiatives through the collection of digital signatures and related supporter created profiles & data. We often have to transfer large files, more than several gigabytes, to organizations located throughout the world. The problem is some … |
|
Hi all, I want to write a program in python to capture memory and cpu readings of a process which is running on linux server and save the readings in a tabular format to any .doc or .csv file. Got to know that 'top' command would give the cpu and … |
|
Hi, i still learning about python. Now i study learning convert ***bandwidth*** (**Byte**) from `ifconfig eth0`to **Kbps** The problem is, my pc using **os windows 7** not **linux/ubuntu** I dont know how to using command `ifconfig eth0` using win7. Any other way to solved this problem? |
|
Hi guys i'm trying to do a programm for school.I have to create something using " semaphore " and i solved it using "#include <sys/sem.h>". Now i'm trying to make this work on Windows 8.I have done many exercises here and they worked,but now there is a message of error: … |
|
I know there are a lot of people who are highly experienced in every discipline of IT industry in this forum. I want to buy a laptop, which will mostly be used for programming and computing. So, I would need one with speed, enough memory and high quality graphic specs … |
|
Hello, I'm new to perl and I'm trying to compile a perl code that I downloaded from web. I'm getting the below error. -------------------------------------------------------------------------------------------------------------------------- Can't locate docs/perlmod/DoxyDocs.pm in @INC (you may need to install the docs::perlmod::DoxyDocs module) --------------------------------------------------------------------------------------------------------------------------- Where do I download DoxyDocs module from for linux? Please help me … |
|
I keep getting "List index out of range" when trying to execute this code, but for the life of me I cannot figure out why, If anyone has any experience coding linux gDesklets this would help. File: StockWatcher.display [code] ... parser.dataSet = stockInfo.html ... [/code] stockInfo.html is an object containing … |
|
Hi, I am connected to my internet router and my satelite set-top box using TP HomePlugs. My desktop computer is on the first floor, while my router and set-top box are on the ground floor. Sometimes I loose connection to my router, but not my set-top box. The ethernet interface … |
|
Create a Perl Script, open 2 files store them an array and compare; then print the differences in a 3rd file using a loop? File 1: hope you're doing well thanks for visiting, please come again soon! File 2: glad you could visit, hope to see you soon! File 3: … |
|
Hi , Below is the code for printing even/odd numbers alternatively.But some how i am not able to achieve the result. I have seen a version with while loop http://www.bogotobogo.com/cplusplus/quiz_multithreading.php working perfect. But i would like to use one thread for printing one value instead of same thread running in … |
|
Hi How can I install and use pyinstaller under Kali linux I appricate your help with an example |
|
Hi all, Can someone please define what a build and release engineer is in a brief summary. I've googled this but still have no idea what the person in this industry would do. **A**: What is a build and release engineer. **B**: What is a build and release engineer expected … |
|
http://www.w3schools.com/php/php_forms.asp On the page above I read that GET variables are send via the url and POST variables are sent as an HTTP request. When I tried POST with a simple php script all of my POST variables were still in the URL which is what I was expecting for … |
|
I followed this site -> https://www.box.com/blog/how-to-debug-php-with-vim-and-xdebug-on-linux/ but I'm not having much luck. I followed the firections and my phpinfo() functions is showing that xdebug is up and running but I see don evidence of xdebug from within vim. I typed in my localhost url, localhost/mysite.php?XDEBUG_SESSION_START=1 and then wen to vim … |
|
I hot the following program from the book 'C++ For Dummies' but have two questions about it. First I compiled the program but I'm afraid to run because the memery created from the heap does not appear to me to get de-allocated. Am I correct in not wanting to run … |
|
Hello DaniWeb Users/Programmers, I don't know if I post this on the right thread but I already post in Linux and Unix Thread but the cause I try ask in here is because it is programming related. I am a window user but trying to use linux for some purpose. … |
The End.