Re: [PLUG] Java errors

2023-10-06 Thread Michael Ewan
ed on who > >knows what criteria. > > > >In Xubuntu it appears that the installed Javas include JB-Java-jdk8.d. > >On that the net leads me to openjdk8, and more links. The TreeForm app > >there just runs, and I can't tell what Java it's actually using. > >

Re: [PLUG] Java errors

2023-10-01 Thread Michael Ewan
hoosing. > This software requires Java 1.4.2 or higher to run. The Java > runtime can be downloaded from the Java Website. > > Michael Ewan dijo: > >Your start script may be calling for a specific path rather than a > >relative path in your JRE.

Re: [PLUG] Java errors

2023-09-30 Thread Michael Ewan
Your start script may be calling for a specific path rather than a relative path in your JRE. Also try using OpenJDK instead of Oracle Java. Do a text search in your source code for that path. On Sat, Sep 30, 2023 at 2:13 PM John Jason Jordan wrote: > I have a little application for drawing

Re: [PLUG] New CUPS, ancient printers

2023-09-29 Thread Michael Ewan
A tiny bit of history for those that may not have been around then. Richard Stallman started the FSF and the whole open source movement because he could not fix printing issues due to closed source drivers. https://en.wikipedia.org/wiki/Richard_Stallman#cite_note-freeasinfreedom-Chap1-25 On Fri,

Re: [PLUG] Change hard drive FS

2023-09-19 Thread Michael Ewan
I am glad you have not had any problems. I have had the opposite experience with ext4 but never a problem with xfs, hence my suggestion. On Tue, Sep 19, 2023 at 1:25 PM Rich Shepard wrote: > On Tue, 19 Sep 2023, Michael Ewan wrote: > > > You will ultimately have problems with a co

Re: [PLUG] Change hard drive FS

2023-09-19 Thread Michael Ewan
You will ultimately have problems with a corrupted file system with ext4, almost guaranteed. Xfs is a much more robust file system but if you do not trust it, then try zfs or btrfs. On Sun, Sep 17, 2023 at 6:26 AM Rich Shepard wrote: > A while ago, when I had backup issues with the logical

Re: [PLUG] No Speaker for September yet, anybody want to or have a lead?

2023-09-03 Thread Michael Ewan
Remind me why we had a problem with the PSU venue, was it access to the building, i.e. someone with an ID card to let folks in after hours? Just curious now that I am a staff employee at PSU. On Sun, Sep 3, 2023 at 3:47 AM Russell Senior wrote: > We think we should defer you until a later date

Re: [PLUG] looking for a 3d surface plotting program (besides gnuplot)

2023-08-12 Thread Michael Ewan
Python and Pandas, then there are several graphing libraries to use, such as Bokeh or Seaborn. Seaborn will give you great looking visualizations, Bokeh adds an interactive interface. https://seaborn.pydata.org/ http://bokeh.org/ On Sat, Aug 12, 2023 at 5:42 AM Rich Shepard wrote: > On Fri, 11

Re: [PLUG] Replacing github public key

2023-08-03 Thread Michael Ewan
That file name mismatch would be a problem. On Thu, Aug 3, 2023 at 3:56 AM Russell Senior wrote: > > "Rich" == Rich Shepard writes: > > Rich> -rw--- 1 rshepard users 1766 Jul 31 07:16 id_rsa.github > Rich> -rw-r--r-- 1 rshepard users 406 Jul 31 07:16 id_rsa_github.pub > > I

Re: [PLUG] Github question

2023-07-31 Thread Michael Ewan
personal account. On Mon, Jul 31, 2023 at 3:13 PM Rich Shepard wrote: > On Mon, 31 Jul 2023, Michael Ewan wrote: > > > How does one delete a GitHub account? I have one from my previous > employer > > that I need to delete and use a previous personal (school) account. > > L

[PLUG] Github question

2023-07-31 Thread Michael Ewan
How does one delete a GitHub account? I have one from my previous employer that I need to delete and use a previous personal (school) account.

Re: [PLUG] SSD swap partition and/or swap file

2023-07-29 Thread Michael Ewan
A slight correction to the sar command line from my previous email. Sar will give you an average, if you want high resolution real time data, then run sar with a time argument, such as 'sar -B 5' for a report every 5 seconds. On Fri, Jul 28, 2023 at 4:05 PM Keith Lofstrom wrote: > Question

Re: [PLUG] SSD swap partition and/or swap file

2023-07-29 Thread Michael Ewan
There is a difference between swap and paging, but both use the "swap" space. Modern memory management and cheap ram have mostly done away with swapping however paging happens all the time. The best thing to do is install sar if not already installed via 'apt-get install sysstat'. Sar will give

Re: [PLUG] Help with weird device errors

2023-07-16 Thread Michael Ewan
ht change the behavior. > > On Sat, Jul 15, 2023, 22:23 Michael Ewan wrote: > > > I did think of removing the floppy in BIOS, but the question still > presents > > itself, why do I get errors when accessing a mounted disk? > > > > On Sat, Jul 15, 2023 at 10:15 PM

Re: [PLUG] Help with weird device errors

2023-07-15 Thread Michael Ewan
able-dev-fd0-floppy > > -- > Russell > > On Sat, Jul 15, 2023 at 9:28 PM Michael Ewan > wrote: > > > > I am setting up a file server, currently Ubuntu Server 22.04. I have > three > > 1TB data disks, two act normally, the third is telling me there are > err

[PLUG] Help with weird device errors

2023-07-15 Thread Michael Ewan
I am setting up a file server, currently Ubuntu Server 22.04. I have three 1TB data disks, two act normally, the third is telling me there are errors on the floppy device. Could someone shed some light on this? Thanks. The disks are in an LVM volume group, the logical volumes are specified as

Re: [PLUG] Ubuntu messed up LO!

2023-06-26 Thread Michael Ewan
Synaptic, Apt, or whatever all use dpkg under the covers. Do 'dpkg --list' to see what is installed. Make a list of things you want to remove, i.e. 'dpkg --list | grep 'somepattern' > files.txt Then use 'dpkg deinstall' or 'dpkg -r' for each package you want to remove, you can gang them up on

Re: [PLUG] A hardware issue [UPDATE]

2023-06-15 Thread Michael Ewan
Most times to repair a system partition, you will need to boot from a USB stick, then run fsck on the damaged partition. You can simply check the condition with 'sudo fsck /dev/sda1'. On my Linux Mint box I was able to umount, fsck, and mount the /boot/efi. In your case it would be sudo umount

Re: [PLUG] Question on a quick CLI program for validating a csv file

2023-05-21 Thread Michael Ewan
That AWK method seems overly complicated when Python or even Perl CSV libraries will do that already, and is much easier to implement and read later. On Sun, May 21, 2023 at 1:11 PM Russell Senior wrote: > >

Re: [PLUG] Question on a quick CLI program for validating a csv file

2023-05-21 Thread Michael Ewan
Another way in Python is to use the CSV library and read the data line by line, checking the data quality each step. The CSV library will handle different delimiters, quoted fields, and variable fields. #!/usr/bin/env python3 import csv with open('file.csv', 'r') as infile: # reader

Re: [PLUG] Question on a quick CLI program for validating a csv file

2023-05-20 Thread Michael Ewan
Use Python and Pandas. import pandas as pd df = pd.read_csv('filename', sep=',') print(df.head()) print(df.shape) # then do a boat load more operations on your data On Sat, May 20, 2023 at 5:37 PM American Citizen wrote: > Hello all: > > I am using the xsv program for most csv file operations

Re: [PLUG] git not recognizing 'branch' command [FIXED]

2023-05-04 Thread Michael Ewan
git branch -r command does the command on the remote repo, everything else works local. For example git branch lists the branches on the local repo git branch -r lists the branches on the remote repo On Thu, May 4, 2023 at 3:53 PM Rich Shepard wrote: > On Thu, 4 May 2023, c wrote: > > > What

Re: [PLUG] Renaming file with back slashes and spaces

2023-05-04 Thread Michael Ewan
Ha! I completely missed that Richard was quoting the \ chars. On Thu, May 4, 2023 at 10:01 AM Russell Senior wrote: > The filename does NOT have backslashes, just spaces. The backslashes are > displayed to *quote* the spaces. That is, show that the spaces are part of > the filename instead of

Re: [PLUG] Renaming file with back slashes and spaces

2023-05-04 Thread Michael Ewan
Do an 'ls -b' to see if there are any 8-bit characters in the name. You can also do 'mv Topo*pdf user-guide.pdf' On Thu, May 4, 2023 at 8:39 AM Rich Shepard wrote: > I have a file from an agency in which words are sepatated by back slashes > and spaces. Wrapping the name in double quotes (as

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Michael Ewan
Also, ssh can silently fail to connect if the permissions are too loose. On Wed, Apr 26, 2023, 6:19 AM Rich Shepard wrote: > On Wed, 26 Apr 2023, Jeffrey Borcean wrote: > > > 0600 / -rw--- > > Thanks, Jeffrey. I did not find this with my web searches. > > Rich >

Re: [PLUG] rsync command syntax

2023-04-15 Thread Michael Ewan
Doing rsync in cron you might add the --log-file=filename option On Sat, Apr 15, 2023, 9:58 AM Vince Winter wrote: > If you have a trailing / on src, it will only copy contents. If you leave / > off on src, it copy the directory. > > -a is archive mode. Which is likely fine unless you need

Re: [PLUG] rsync command syntax

2023-04-15 Thread Michael Ewan
Yes. However, compression (z) is not necessary when on the same machine. Compression is only effective on a slow network connection. On Sat, Apr 15, 2023 at 8:17 AM Rich Shepard wrote: > I want to write a cron job for root to copy the daily backup from > /media/bkup1/ to /media/bkup2/. Is this

Re: [PLUG] External drive issue

2023-03-24 Thread Michael Ewan
it). On Fri, Mar 24, 2023 at 11:44 AM Rich Shepard wrote: > On Fri, 24 Mar 2023, Michael Ewan wrote: > > > Note, mkfs.xfs is done on the raid1 disk set, not on the individual > drives. > > Michael, > > Got it. I'm seriouly considering formatting both with xfs, instal

Re: [PLUG] External drive issue

2023-03-24 Thread Michael Ewan
Note, mkfs.xfs is done on the raid1 disk set, not on the individual drives. On Fri, Mar 24, 2023 at 11:10 AM Rich Shepard wrote: > On Fri, 24 Mar 2023, Michael Ewan wrote: > > > Do not use EXT4, it will cause you problems down the road. Use xfs > > instead, it has higher reli

Re: [PLUG] External drive issue

2023-03-24 Thread Michael Ewan
In my experience, using lvm2 to mirror your disks should work for you and be the easiest to recover since each disk has a copy of the vg description, then vgscan will find your configuration for you. Skip using md unless you need multipath access to a device. On Fri, Mar 24, 2023 at 9:36 AM Rich

Re: [PLUG] External drive issue

2023-03-24 Thread Michael Ewan
Do not use EXT4, it will cause you problems down the road. Use xfs instead, it has higher reliability and better performance. On Fri, Mar 24, 2023 at 9:24 AM Rich Shepard wrote: > On Thu, 23 Mar 2023, Rich Shepard wrote: > > > I turned off the desktop and removed the power cord to replace the

Re: [PLUG] Venue for next month ...

2023-03-05 Thread Michael Ewan
If you can find a member at Intel or a sponsor there, the auditoriums are free to use and are outside the security area. The Hawthorne Farms site is ideal since it is on the MAX line. Of course that implies people will want to travel to Hillsboro. On Sat, Mar 4, 2023 at 10:04 PM Russell Senior

Re: [PLUG] Alternative Meeting Locations

2023-01-24 Thread Michael Ewan
The Beaverton city library has some nice meeting facilities. It is also fairly close to the Beaverton Transit Center for access from downtown PDX or Hillsboro. On Tue, Jan 24, 2023 at 4:05 PM Dick Steffens wrote: > > Have "we" looked into holding in-person meetings at one of the area >

Re: [PLUG] Question on Linux Firewalls (and hardware)

2023-01-19 Thread Michael Ewan
That hardware should be sufficient. I was running a firewall on an old Pentium 4 box for some time, it is still sitting here waiting to be reinstalled. The firewall I used was Untangle, it is free for personal use, with extended features costing. Untangle is Debian based but supplied as an

Re: [PLUG] question on finding a good html editor

2022-12-30 Thread Michael Ewan
You could try vscode, it has extensive support for editing HTML and has extensions that can be added for preview. Not exactly WYSIWYG, but might work for you. I have not used vscode in this way, but I do use it for Python development on Linux. On Wed, Dec 28, 2022 at 12:01 PM American Citizen

Re: [PLUG] Comparing 2 files and printing lines that are different

2022-12-29 Thread Michael Ewan
There is also meld (graphical) that allows you to view changes and also apply one side or the other. On Wed, Dec 28, 2022 at 11:15 PM wrote: > On Wed, 28 Dec 2022 16:38:50 + > Ben Koenig wrote: > > > > > Diff could definitely work here but comm seems to directly address what > I want

Re: [PLUG] Remind or Tkremind

2022-12-20 Thread Michael Ewan
Have you considered Google calendar? You could set a recurring event and a notice that goes to email, and your phone. On Mon, Dec 19, 2022 at 8:37 PM John Jason Jordan wrote: > I need an little application that will pop up a reminder on the same > day of every month, and crucially, *leave it

Re: [PLUG] Linux laptop recommendations?

2022-12-18 Thread Michael Ewan
A friend of mine worked at System76, a total Linux geek, and said they were very good laptops. On Sun, Dec 18, 2022 at 5:16 PM David Fleck wrote: > My ThinkPad E531 is showing signs of age and the effects of one too many > beverages spilled onto the keyboard, and I am now seriously looking for

Re: [PLUG] PLUG Venue Options

2022-11-23 Thread Michael Ewan
Get in touch with sriram.ramkris...@intel.com, he has a lot of big name contacts in the Linux community. On Tue, Nov 22, 2022 at 11:33 PM Russell Senior wrote: > On Tue, Nov 8, 2022, 23:51 Russell Senior > wrote: > > > Okay, to follow up with results of my poll (now that several days have > >

Re: [PLUG] a question regarding something like nohup or disown

2022-11-08 Thread Michael Ewan
Somebody may have a better idea, but knowing you may lose the session you generally would want to start any jobs with nohup and make sure any output of the job is sent to log files for later processing when you check and see the job has ended. You might consider a job execution framework such as

Re: [PLUG] PLUG Venue Options

2022-11-03 Thread Michael Ewan
The 54, 56, or 61 buses stop there. On Thu, Nov 3, 2022 at 11:08 AM Michael Dexter wrote: > All, > > I have spent months inquiring about the future of PSU as a PLUG venue > and have nothing conclusive. > > I know that public transportation is important to many of you. > > Please advise if this

Re: [PLUG] Brave browser: clear cache

2022-10-18 Thread Michael Ewan
In Brave 1.44 under Settings --> Privacy and Security --> Clear Browsing Data, there are several checkboxes for what you want to delete, history, cache, cookies, etc. On Tue, Oct 18, 2022 at 10:00 AM Rich Shepard wrote: > On Tue, 18 Oct 2022, Jason Barnett wrote: > > > Settings --> Privacy

Re: [PLUG] Off topic but not sure who to ask

2022-09-22 Thread Michael Ewan
I had to call Comcast once about a connection problem. They started with the script, I interrupted and said I was a Senior Systems Programmer at Intel Corporation, please just tell me what you want me to test and I will do that. The response was great, "thank goodness, someone intelligent, lets

Re: [PLUG] Gnumeric users here?

2022-09-10 Thread Michael Ewan
Agreed, the spreadsheet should just work. I was offering an alternative that may give you more functionality. On Sat, Sep 10, 2022 at 11:15 AM Rich Shepard wrote: > On Sat, 10 Sep 2022, Michael Ewan wrote: > > > Depending on your programming skill, you might want to use Python, >

Re: [PLUG] Gnumeric users here?

2022-09-10 Thread Michael Ewan
Depending on your programming skill, you might want to use Python, Jupyter-Lab, and Mito instead. https://towardsdatascience.com/the-mito-jupyterlab-extension-a-spreadsheet-that-generates-python-b25d2c447d48 On Sat, Sep 10, 2022 at 10:55 AM Rich Shepard wrote: > I've re-started using gnumeric

Re: [PLUG] memory and swap not recovered after program kill - some questions

2022-08-28 Thread Michael Ewan
I tell my students that kill -9 is evil and to not use it (except when everything else fails). Kill -9 cannot be handled in the program, it kills the program immediately leaving open files, memory allocations, swap space, and all kinds of other stuff like child processes laying around. You are

Re: [PLUG] Need help backing up my data

2022-07-15 Thread Michael Ewan
Are you using a USB3 drive and a USB3 port, the speed of the interface is what I would think of first. On Fri, Jul 15, 2022 at 8:41 AM Mark Phillips wrote: > I have an Ubuntu 18.04 system with two drives in an lvm with one logical > root partition. I am trying to back up the contents of the

Re: [PLUG] Evi Nemeth Re: Brainfart ... PLUG cookbooks

2022-05-13 Thread Michael Ewan
>In 2001, Dr. Nemeth retired to her sailboat and sailed the >world - a long long way from her CU-Boulder professorship. >In June 2013, she and the crew of the vintage yacht Niña >were lost in a huge storm in the Tasman Sea between New >Zealand and Australia. Sigh. I knew Evi personally, we

Re: [PLUG] Brave Browser?

2022-02-15 Thread Michael Ewan
I use it both at home and at work (to avoid tracking plugins). I like that it has ad blocking out of the box, and most desirable security features on by default. On Mon, Feb 14, 2022 at 2:49 PM Dick Steffens wrote: > Is anybody using the Brave browser? > > Good? Bad? Indifferent? > > -- >

Re: [PLUG] Logical volumes: use disk or partition?

2022-02-11 Thread Michael Ewan
By disappear I meant no longer visible, you have to do the vgscan and vgchange for the logical volumes to become visible. Some distro do this automatically for you. On Fri, Feb 11, 2022 at 12:20 PM Rich Shepard wrote: > On Fri, 11 Feb 2022, Michael Ewan wrote: > > > The st

Re: [PLUG] Logical volumes: use disk or partition?

2022-02-11 Thread Michael Ewan
The steps involved are pvcreate, vgscan, vgcreate, and lvcreate. The pvcreate operation labels the disks for use in a volume group. Do not use the UUID. The vgscan operation finds the pv labels. The vgcreate operation takes those disks and adds them to a volume group. So... pvcreate /dev/sdc1

Re: [PLUG] Resolved: Recommended video editor

2022-01-22 Thread Michael Ewan
Kdenlive non-linear editor is what I settled on for casual video editing (this from a total noob so try it for yourself). It does not depend on installing a bunch of KDE components, it only needs flatpack. On Sat, Jan 22, 2022 at 12:29 PM Dick Steffens wrote: > On 1/21/22 10:02 PM, Michael

Re: [PLUG] Setting up RAID1 on two 1G disks

2022-01-05 Thread Michael Ewan
If you are going with LVM you really do not need mdadm. On the other hand if you build a mirror with mdadm you do not need LVM for just the mirror disk, the device the mdadm provides is good enough to create a file system. For a file system I highly recommend XFS, it is way more robust and way

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Michael Ewan
tr is your friend tr '\013' '\n' < old_file > new_file this will probably work also tr '\r' '\n' < old_file > new_file On Mon, Aug 12, 2019 at 2:28 PM Rich Shepard wrote: > I have large (~111M) .csv data files exported from a Microsoft Access > database. Each file is one large block of text