523 Topics

Member Avatar for
Member Avatar for lewashby

I get the following in my web browser when I try to connect to my mariaDB database. `Error!: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)` It also doesn't matter if I use mariaDB root or a regular users credentials, I get the same thing. The error above …

Member Avatar for lewashby
0
652
Member Avatar for lewashby

Linux Mint I logged into phpmyadmin and set the password option to 'no password' and now I can't log in. If I enter the password I was using I get this error -> `#1045 Cannot log in to the MySQL server` and if I don't user a password at all …

Member Avatar for cereal
0
4K
Member Avatar for v1shwa

Hello, I'm a python beginner & I'm learning it on my own. So, I've few (dumb) questions about it. - Where should I host a python project on linux? I'm sure there'd be multiple choices. So, Where would you host it & on what circumstances? - I understand that `virtualenv` …

Member Avatar for v1shwa
0
569
Member Avatar for Valmian

Hello, First of all, I'm sorry if my question seems silly, but I am very unfamiliar with Python. I am using a particular python code base which, in a Linux system, solves the problem I am working on (I am using Windows). A major part of the python code's task …

Member Avatar for Jim_9
0
16K
Member Avatar for ShiftLeft

I'm in the process of designing a console personal/business finance package for Linux. It's easy to identify the advantages of data abstraction through classes, but I'm not inclined to become proficient with STL or containers. Exception handling may become a consideration, but definitely memory allocation via "new". My own implementation …

Member Avatar for ShiftLeft
0
1K
Member Avatar for Hedge_1

Hey, I would like to greet you all. I am linux web server administrator webhosting industry. I believe we can dicusess more about us here, I expecting your kind cop-operation.

Member Avatar for ServerHedge
0
247
Member Avatar for iarpana

import java.io.*; public class testprog { public static void main(String args[]) throws IOException, InterruptedException { String command="find BEL/ -type f | wc -l"; Process p=Runtime.getRuntime().exec(command); p.waitFor(); BufferedReader reader=new BufferedReader(new InputStreamReader(p.getInputStream())); String line=reader.readLine(); while(line!=null) { System.out.println(line); line=reader.readLine(); } System.out.println("Done"); } } It's return null value. plz help me

Member Avatar for jwenting
0
240
Member Avatar for lewashby

I just installed phpmyadmin with `sudo apt-get install phpmyadmin` but now I can't figure out how to get it started. The installation did place a phpmyadmin directory in /etc/ but I don't have anything in /var/www/html/ . I installed this several years ago and it placed a start icon in …

Member Avatar for Ashley_9
0
288
Member Avatar for cppgangster

Hi there, I hope I could find help about plotting graphs. My problem is I have a device which alows me collect some data and transfer it throught USB. Then I will interpret that data using c or c++. I would like to plot such data on a window on …

Member Avatar for cppgangster
0
179
Member Avatar for Aeonix

Hi. Has anyone maybe found this miraculous software. That I could install on Windows/Linux machine (server) and client on my own computer let it be Windows/Linux. And have really great response time and quality? The server would be at 100Mbps, my connection would be at around 50Mbps. If my machine …

Member Avatar for rproffitt
0
2K
Member Avatar for lewashby

[Linux] When using gcc and or g++ is there a way I can have two output files, one with and one without debugging symbols in one gcc/++ command? I don't want to have to write `g++ --Wall program.cpp -o program`, then have to immediately run `g++ --Wall -g program.cpp -o …

Member Avatar for ipswitch
0
288
Member Avatar for lewashby

At my current job me and the rest of the staff that work in my area are uisng a lot of files that when opened look like PDF files but there not. They're actually .exe files and the the program that opens them is called Omni Form Mailable Filler. I've …

Member Avatar for Gribouillis
0
467
Member Avatar for myk45

Hi All, I am trying some experiments with pthread scheduling policies. I have a couple of apps and within all these apps, I set the thread policy to SCHED_RR and I set the priority to MAX - 1. Now, I see that the CPU utilization as reported by top for …

Member Avatar for iš_iš_iš
0
237
Member Avatar for lewashby

I just purchased an HP all in one printer and scanner but because I use Linux I can't scan directly to my desktop. As a result I'm having to scan to email and I just noticed that my picture file size was only 244 KB. That's seems small to me …

Member Avatar for rubberman
0
190
Member Avatar for fputs

How do you implement the open/close system calls on linux using C? What go's into the open file table? How do you create file's and delete file's?

Member Avatar for David W
0
185
Member Avatar for Steven N

Hello, for fun I have been learning both linux (Mint) and python3 as of late. I have finished a working code that scrapes yahoo for data and selects a series of stocks for me. Today I finished creating an apache2 server using linux. What I had hoped to do is …

Member Avatar for steven.rose.94
0
381
Member Avatar for Aeonix

Is there something I could put onto Linux LiveCD and run that will defragment entire harddrive? I know there's a lot of softwares that do that, but it results in something like: > **Fragmentation before:** 25% > **Fragmentation after:** 24.5% Might there be an application, that I could run on …

Member Avatar for rproffitt
0
199
Member Avatar for serenagrace

is there a way to develop an android app from a linux pc. because i couldnt pay the license fees of microsoft i decided to use linux. i am not a power user but i know html & css. so i have a couple of app ideas i would like …

Member Avatar for peter_budo
0
502
Member Avatar for printf

How do you boot into a primary parition or the FAT file-system in the first sector of the MBR? That's the error on the USB stick and the error say's that it can't mount the file on linux mint. The specific verion of FAT is either FAT 32 or FAT …

Member Avatar for sDJh
0
146
Member Avatar for getanshub4u

Any good beginner books on python? I want to learn python easy and fast.I have coded some basic programs in c,c++,Java. Wanna learn python for scripting in linux.

Member Avatar for dewhales
0
436
Member Avatar for elexender

Hi all, I have a question about file path in lunix. Since i pretty new to linux (im running ubuntu) i dont know how to give a correct file path to fopen command. I want to write some data to a usb drive. Let me show you how i would …

Member Avatar for Erkan_1
0
2K
Member Avatar for Gribouillis

4 hours after [my last post](https://www.daniweb.com/software-development/python/threads/497125/python-program-crashes-after-using-too-much-memory#post2175367) in [this thread](https://www.daniweb.com/software-development/python/threads/497125/python-program-crashes-after-using-too-much-memory), the python forum page says that the post was written by Raisefamous. I tried to empty my browser's cache (qupzilla in linux), but it didn't work. It is obviously a bug.

Member Avatar for Reverend Jim
0
238
Member Avatar for Reverend Jim

I have had this problem since I got the laptop last December. Video in full screen is erratic. In scenes where there is little motion there is no problem (or the problem exists but is not visible). The problem manifests as a horizontal "tear" about two inches down from the …

Member Avatar for Xlphos
0
502
Member Avatar for Tcll

been scouring google for nearly a month now trying to find something. now as the requirement grows, I need more help tryingto find something. Portable Python is what I'm currently using, but alot of my developers (including myself) don't like the Wine wrapper... Pyzo supports linux mac and win, but …

Member Avatar for Tcll
0
725
Member Avatar for Nikhilesh_1

Hi, I have a query ... I have changed php max_execution_time in **php.ini** to say 600 seconds. It worked on Windows platform. However the same code doesn't work in Linux redhat5. I even tried **ini_set('max_execution_time', 600);** in a php file but it still executes its default time that is **10 …

Member Avatar for diafol
0
249
Member Avatar for danila726

Hello everyone. I am new to c++ and I just wrote a program. I am on linux so just saying. This is the code. What keeps happening is all the commands just keep coming. here is an example. Welcome to the Calculator. Please enter your operation. addition Please enter your …

Member Avatar for Moschops
0
345
Member Avatar for dimiboy

hi after i got back my toshiba a205-s4587 laptop from toshiba after they changem my motherboard... now i found that 5 keys on the keyboard dont work (i checked them on live cd of linux too): home, pgup, pgdn, end, \ is there a way i can fix them myself? …

Member Avatar for sophia_smith
0
322
Member Avatar for Slavi

[Google's new look](https://com.google/) Microsoft announced that they are making their own Linux OS [MSDOS mobile](http://www.windowsphone.com/en-gb/store/app/ms-dos-mobile/8573c4a8-b9df-4409-90a6-dad2dc0b6b26)

Member Avatar for Slavi
0
491
Member Avatar for iamthwee

So I just got a mac mini, hopefully it will last a good 5-10 years, I need mac os for adobe cloud, it is untouchable at the minute, otherwise I would have spec'ed a small mini box wiped it and put linux on. But meh yeosemite icons look and feel …

Member Avatar for RobertHDD
0
279
Member Avatar for Kevin_17

I have a question is there any possibility for maken a script that you can see if computers are on in your network when you run the script for ex. ./ping.sh 54 62 62 , a script when you give as argument the last digit of the ip adres of …

Member Avatar for cereal
0
301

The End.