523 Topics

Member Avatar for
Member Avatar for lewashby

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 …

Member Avatar for rproffitt
0
395
Member Avatar for rsu

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.

Member Avatar for yahya_3
0
6K
Member Avatar for mile_1

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 ; …

Member Avatar for rubberman
0
401
Member Avatar for can-mohan

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

Member Avatar for can-mohan
0
4K
Member Avatar for jan1024188

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 …

Member Avatar for sreenivasula
1
110K
Member Avatar for can-mohan

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 …

Member Avatar for JamesCherrill
0
388
Member Avatar for can-mohan

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 …

Member Avatar for tinstaafl
0
245
Member Avatar for fo2sh

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 …

Member Avatar for JamesCherrill
0
2K
Member Avatar for lewashby

[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 …

Member Avatar for lewashby
0
544
Member Avatar for lewashby

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), …

Member Avatar for cereal
0
535
Member Avatar for Mr.M

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 …

Member Avatar for rubberman
0
192
Member Avatar for lewashby

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 …

Member Avatar for lewashby
0
1K
Member Avatar for lewashby

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 …

Member Avatar for Gribouillis
0
2K
Member Avatar for zelrick

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, …

Member Avatar for cereal
0
694
Member Avatar for Will_8

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 …

Member Avatar for Chris_37
0
494
Member Avatar for mailtosarach

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 …

Member Avatar for Gribouillis
0
307
Member Avatar for Lazarus777

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?

Member Avatar for Lazarus777
0
274
Member Avatar for Tidra

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: …

Member Avatar for rproffitt
0
258
Member Avatar for eliy

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 …

Member Avatar for rproffitt
0
541
Member Avatar for nikhil_7

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 …

Member Avatar for 2teez
0
486
Member Avatar for eniacpx

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 …

Member Avatar for Gribouillis
0
5K
Member Avatar for it@61@sec

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 …

Member Avatar for it@61@sec
0
339
Member Avatar for mindy053

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: …

Member Avatar for Reverend Jim
-1
237
Member Avatar for clife

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 …

Member Avatar for clife
0
188
Member Avatar for tony75
Member Avatar for tony75
0
6K
Member Avatar for Thea1950

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 …

Member Avatar for rubberman
0
94
Member Avatar for lewashby

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 …

Member Avatar for cereal
0
362
Member Avatar for lewashby

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 …

Member Avatar for lewashby
0
337
Member Avatar for lewashby

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 …

Member Avatar for rubberman
0
393
Member Avatar for zelrick

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. …

Member Avatar for Stuugie
0
404

The End.