182 Solved Topics

Remove Filter
Member Avatar for lewashby

ERROR 1054 (42S22): Unknown column 'Firstname' in 'field list' I'M gettin the above error when I enter: mysql> insert into people (fname, lname) -> VALUES (Firstname, Lastname); Here's the table: mysql> desc people; +-------------+-------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------------+-------------+------+-----+---------+-------+ | fname …

Member Avatar for Dani
0
13K
Member Avatar for lewashby

Linux Mint So I'm trying to learn French but I'm running into some complications when it comes to finding a good keyboard layout. Here are the layouts that I've tried so far: English (US) English (international Alt Gr dead keys) English (UK, international with dead keys) English (UK, extended WinKeys) …

Member Avatar for Gribouillis
0
901
Member Avatar for lewashby

I'm wanting to build a new computer but I'm having trouble, it's been a long time since I've built one and my head is starting to spin just looking at the options for motherboards. So you know what I'm working with this is my empty tower -> NZXT Source 210 …

Member Avatar for rproffitt
0
705
Member Avatar for lewashby

My brother has a Windows 10 laptop. I use Linux so I'm a little out of the loop when it comes to Windows. He's having problems and wants me to wipe it out and re-install it. Will I need to load the OS onto a USB drive first? If so …

Member Avatar for Reverend Jim
0
656
Member Avatar for lewashby

I have a router in one room of my house and wires running through the house into my bedroom where it's connected to a switch that further connected to several different computers in my room. What I am wanting to know is how the traffic flows from one computer to …

Member Avatar for rproffitt
0
429
Member Avatar for lewashby

I have recently discovered that my music directory and the micro sd card that's in my hand held media player (iBasso DX50) are not in sync, I don't have any idea how that could have happened. There are songs in both my music directory that are that are not on …

Member Avatar for rproffitt
0
488
Member Avatar for lewashby

I recently purchased Terra-Master F4-220 but I can not sign in via ssh. I thing is I don't think it's on the TM end, I think it's on my debian server's end. When I do try and connect this is what I get. $ssh root@192.168.1.2 /etc/ssh/ssh_config: line 55: Bad configuration …

Member Avatar for rproffitt
0
3K
Member Avatar for lewashby

I've downloaded the file "qt-unified-windows-x86-3.0.0-online.exe" and installed Qt and I've also downloaded and unpacked the file "PyQt5_gpl-5.9.zip". I'm using Python 3.6 but I can't figure out where to drop the extracted PyQt5 files. I can't find a Python directory anywhere on my C: drive except for under my home directory. …

Member Avatar for lewashby
0
684
Member Avatar for lewashby

Today I just put a new SSD in my desktop. I did have a little trouble booting up the OS because I had plugged the DVI into the wrong port, when I couldn't see the monitor I did end up turning off the computer several times before I finally found …

Member Avatar for Gribouillis
0
620
Member Avatar for lewashby

I've been using rsync and or luckybackup for a while now to sync my desktop's music library to my micro sd card for my digital music player. Today I noticed that my music player wasn't showing one of my albums so I've started investigating and I've found that it's not …

Member Avatar for rproffitt
0
2K
Member Avatar for lewashby

A while back I built a computer with an Asus motherboard, a SSD, and two milk creates for a cheap case, and I had Xubuntu installed on it. I have tried to install Xubuntu on it again several times today but it always fails to create the partitions. I keep …

Member Avatar for rproffitt
0
452
Member Avatar for lewashby

I have been downloading old kid's readio stories and trying to burn them onto mp3 CDs for my daughter. The problem is that when she plays the CDs on the mp3 CD player in her room the tracks are not in order. I have edited the meta-data and labeld every …

Member Avatar for lewashby
0
272
Member Avatar for lewashby

I recent created a .vimrc file in my home directory because in addition to syntax highlighting and auto indention I also wanted my tabs to be four columns wide and to be tabs and not spaces but now that I have my file setup I am unable to use backspace …

Member Avatar for Benjamin_17
0
619
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
555
Member Avatar for lewashby

`grep -v "#EXTINF:" All.m3u | sed 's#../##'g` I'm using the line above to try and make the playlists that I export from Banshee compatible with my digital music player. When I run the sed portion of this script I'm trying to remove the portion of the path up to where …

Member Avatar for rubberman
0
343
Member Avatar for lewashby

I just purchased an 240 GB SSD for my older Toshiba Satellite. I would rather not go through trying to save the files from the HDD and install the Linux Mint Debian Edition and then move all the files back, I would like to just be able to clone the …

Member Avatar for rubberman
0
494
Member Avatar for lewashby

Linux Mint (Ubuntu). I'm looking for a way to encrypt some of my external HDDs. I was looking this option over -> https://www.howtoforge.com/tutorial/encrypt-your-data-with-encfs-on-ubuntu/ but I'm not sure how well this would work. I read this on the top portion of the site -> "It is a pass-through filesystem, not an …

Member Avatar for Reverend Jim
0
452
Member Avatar for lewashby

I have an older Toshiba Satellite laptop with Linux Mint OS installed. It pretty old and it's starting to show as it's getting slower. It's got a bigger screen and it's even got the num pad on the right of the keyboard in addetion to the numbers at the top. …

Member Avatar for lewashby
0
466
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
546
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

My brothers laptop recently died, I believe due to a failed hard drive because when you turned it on you couldn't get out of the BIOS. I unscrewed the laptop's bottom from it's keyboard and replaced the hard drive but now it won't even turn on at all, I can't …

Member Avatar for lewashby
0
326
Member Avatar for lewashby

I'm reading 'C++ For Dummies 7th Edu' and I'v ran into this little snipet that's confusing me. BOOK You can add const-ness, however, as in the following void fn(char* pName) { // declare following is allowed even though // declared Student(const char*) Student s(pName); // ...do whatever... } The function …

Member Avatar for lewashby
0
267
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
659
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 lewashby

garrett@mint-desktop /var/www/html/udemy/php-oop/gallery/backups $ tar --exclude-tag-all=backups -cf lesson20.tar ../* tar: Removing leading `../' from member names I have an empty file called backups in my backups directory to keep the tar file from trying to backup itself. Does anyone know why I'm getting this output? -> `tar: Removing leading ../' from …

Member Avatar for Gribouillis
0
461
Member Avatar for lewashby

The php/html file I am working on is laid out in this way. <?php // connect to DB $connection ?> html html html <?php foreach($connection-query($sql) as $row) do stuff ?> I'm getting the error 'Invalid argument supplied for foreach()' when I run this page. Can I not break out of …

Member Avatar for lewashby
0
507
Member Avatar for lewashby

Linux Mint 17 I have recently download the SFML library but I don't know where to put the files. There is a lib directory and an include directory. The lib directory appears to have a lot of sym links in it. garrett@mint-desktop ~/Desktop/SFML-2.3.2/lib $ ls -l total 904 lrwxrwxrwx 1 …

Member Avatar for mike_2000_17
0
408
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
291
Member Avatar for lewashby

In an php/html document could I create a loop to create html table rows as long as there is a rows to be read from a MySQL database table? I could then populate the html table with the data but I first need to know if I can make a …

Member Avatar for lewashby
0
3K
Member Avatar for lewashby

I just purchased an HP Envy 5642. I can print to it from Linux without a problem but I don't see a way to scan. When I hit scan on the printer it tells me to turn on the appropriate HP application in Windows which I am not running. I …

Member Avatar for Gribouillis
0
561
Member Avatar for lewashby

My head is starting to hurt just thinking about all the possabilities and impossabilities of mixing html and css with php and I'd like to understand how's this works. I did a php project for a guy one time and I came close to shooting myself in the face and …

Member Avatar for almostbob
0
363
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
301
Member Avatar for lewashby

#include <iostream> #include <stdlib.h> #include <cstring> #include <stack> using namespace std; #define MAX_CHARS 100 int main(int argc, char* argv[]) { char input_str[MAX_CHARS + 1], *p; stack<double> num_stack; int c; double a, b, n; cout << "Enter RPN string: "; cin.getline(input_str, MAX_CHARS); p = strtok(input_str, " "); while(p) { c = …

Member Avatar for Suzie999
0
262
Member Avatar for lewashby

Two of my USB sticks have stopped auto mounting. I can still mount them manually by running `mount | grep /dev/sd` and then looking for the device name to mount from but that's having to go a little out of the way. Not all USB stick have stopped auto mounting, …

Member Avatar for Gribouillis
0
103
Member Avatar for lewashby

When I want to sync my music directory to my SDcard I use the command `rsync -a --delete /home/garrett/Music /media/garrett/6BF6-AC8A` and everything works just fine. I got tired of typing all that in every time so I placed that command in the script ~/bin/music-sync and this is what the file …

Member Avatar for rch1231
0
481
Member Avatar for lewashby

I'm reading the book 'C++ Without Fear 2nd Edu' and I'm a little confused on the subject of shallow copies. The book says the problems can arise if you make a shallow copy of an object and something happens to the original, goes out of scope, is deleted, etc... I …

Member Avatar for Moschops
1
170
Member Avatar for lewashby

#include <iostream> #include <cstring> using namespace std; class String { private: char *ptr; public: String(); String(char* s); ~String(); operator char*() { return ptr; } int operator==(const String &other); }; int main() { String a("STRING 1"); String b("STRING 2"); cout << "The value of a is: " << endl; cout << …

Member Avatar for NathanOliver
0
201
Member Avatar for lewashby

#!/usr/bin/env python3 tm = open('./timemachine.txt', 'r') Dict = {} for line in tm: line = line.strip() line = line.translate('!"#$%&'()*+-./:;<=>?@[\\]^_`{|}~') line = line.lower() List = line.split(' ') for word in List: if word in Dict: count = Dict[word] count += 1 Dict[word] = count else: Dict[word] = 1 for word, count …

Member Avatar for vegaseat
0
2K
Member Avatar for lewashby

I just built my first computer and instlled headless on it. When I boot it up there are a few problems on the black and white screen with all the BS. It usually starts but it takes forever. All the parts are right out of the box via amazon and …

Member Avatar for CimmerianX
0
279
Member Avatar for lewashby

#include <iostream> #include <string> #include <stdlib.h> #include <cstring> using namespace std; class Fraction { private: int num, den; // numerator & demoninator public: Fraction() { set(0, 1); } Fraction(int n, int d) { set(n, d); } void set(int n, int d) { num = n; den = d; normalize(); } …

Member Avatar for Ion_1
0
493
Member Avatar for lewashby

I'm looking for a good printer/scanner that works well with Linux, any suggestions on brands and models? Thanks.

Member Avatar for mike_2000_17
0
205
Member Avatar for lewashby

[Linux & gcc] I'm taking C courses and pluralsight.com and I'm both getting an error with a program I got from one of their videos as well as having some trouble understanding something in the code #include <stdio.h> #include <ctype.h> int main() { char message[] = "Hello world!"; for(char *p …

Member Avatar for TalhaMoazSarwar
0
213
Member Avatar for lewashby

I'm trying to install CentOS on my Linux Mint desktop through Oracle's VirtualBox. The instalation screen says it's installing to sda1 and that's it's mount points are /boot -> 500 MB, / -> 5.02GB, & 614 MB. Is this safe or is there a chance this is going to mess …

Member Avatar for lewashby
0
309
Member Avatar for lewashby

[Linux] I have had a hard time understanding pointers beyond a simple array step through and modifying one address at a time. When I get into pointers to C-structures, C++-objects and classes my head starts to hurt. And that's just to name a few. I find the C syntax `*++p` …

Member Avatar for mike_2000_17
0
433
Member Avatar for lewashby

If you're creating a media server how do you control if the files are pushed out via tcp or udp? Or is that a client thing? I'm currently building a headless Debian media server and I was wonsering how that words. As far as streaming videos in my house either …

Member Avatar for Traevel
0
598
Member Avatar for lewashby

When I delete files on any given file system like hard drives that I have mounted to my system or USB stick I get a directory that usualy named '.Trash-1000'. How does that directory work? Do I need to manually delete the .Trash-1000 directory because it might remain taking up …

Member Avatar for rubberman
0
346
Member Avatar for lewashby

In the following program it says that there is a conflict between my getline and the getline in stdio.h. I understand what it's saying because stdio.h has it's own getline function. What's confusing me is that this is the program that my programming book (The C Programming Language) is giving …

Member Avatar for deceptikon
0
180
Member Avatar for lewashby

I was using the Linux Mint Flawless media server to host all my movie rips as .mkv files but I decided to go with a standard no GUI Debian server instead. I set up an NFS server to host my files with the most likely client to be my Western …

Member Avatar for lewashby
0
365
Member Avatar for lewashby

[Linux] Mint I wrote the following code from an SDL book I have and it seems to be building just fine but when I go to run the program I get this error -> "Launch failed, Binary not found." I used Eclipse as my IDE and the setting are adjusted …

Member Avatar for tinstaafl
0
272
Member Avatar for lewashby

I have I Brother Laser printer and it seems to be pring everytying just fine. But when I go print some property listings from a realesate company it all the sudden will not print at all and I get the following error. -> There was a problem processing documents 'flexmls'(job …

Member Avatar for lewashby
0
218

The End.