Re: What happened to libre office?

2024-08-27 Thread Joseph Sinclair via PLUG-discuss

Minor item:
The command for libre office calc is "localc", not "libreoffice-calc" (which 
might explain why the command isn't found).
"man -k office" should list a few other options for you.

On 8/27/24 14:39, Michael via PLUG-discuss wrote:

  sudo apt install libreoffice-calc
[sudo] password for bmike1:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libreoffice-calc is already the newest version (4:24.2.5-0ubuntu0.24.04.2).
libreoffice-calc set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
bmike1@bmike1-desktop:~$ libreoffice-calc
libreoffice-calc: command not found

On Tue, Aug 27, 2024 at 5:36 PM Michael  wrote:


I started my computer then tried to start libreoffice but nothing
happened. So I opened a tty, typed in libreoffice, hit return/ and nothing
happened. No error. It just went to the next line. So I tried to reinstall
it and stuff installed. then I tried to open libreoffice-calc but it isn't
on the computer.





---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: What happened to libre office?

2024-08-27 Thread Joseph Sinclair via PLUG-discuss

You may wish to try the following to completely re-install libreoffice (just in 
case something got out of whack):
sudo apt install --reinstall libreoffice

On 8/27/24 14:39, Michael via PLUG-discuss wrote:

  sudo apt install libreoffice-calc
[sudo] password for bmike1:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libreoffice-calc is already the newest version (4:24.2.5-0ubuntu0.24.04.2).
libreoffice-calc set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
bmike1@bmike1-desktop:~$ libreoffice-calc
libreoffice-calc: command not found

On Tue, Aug 27, 2024 at 5:36 PM Michael  wrote:


I started my computer then tried to start libreoffice but nothing
happened. So I opened a tty, typed in libreoffice, hit return/ and nothing
happened. No error. It just went to the next line. So I tried to reinstall
it and stuff installed. then I tried to open libreoffice-calc but it isn't
on the computer.





---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: linux based hex editor

2023-12-09 Thread Joseph Sinclair via PLUG-discuss
I've used hexedit ('apt install hexedit' or 'dnf install hexedit').  It works 
well and is terminal-based keyboard driven.
The keymap takes a little getting used to, but once you've used it a while it 
works quite well.


On 2023-12-08 03:56 PM, greg zegan via PLUG-discuss wrote:
> Hello,  Follow up question.  What hex editor would you recommend?I am looking 
> at a few on flathub.thanks,Greg
> 
> 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: SD cards

2022-12-01 Thread Joseph Sinclair via PLUG-discuss
Specifications set minimum requirements, rarely does a specification set an 
actual maximum limit.
In this case, the specification requires that compliant hardware support *at 
least* the rates specified (within the defined optionality of the 
specification), but does not bar hardware from supporting higher rates or 
additional features, as long as the specification is met otherwise.
Most likely the manufacturer is quoting the maximum possible rate for their 
hardware under laboratory conditions and using carefully specified supporting 
hardware; rather than the real world conditions with various unknown additional 
hardware elements (e.g. a card reader) and environmental conditions.
Basically, you'll probably never see the maximum quoted data rate because some 
*other* hardware in the system probably won't support it (again, readers *can* 
support higher speeds, but most won't), but the card *could* deliver data at 
those rates in a theoretical perfect environment.
Most quoted rates do, somewhere in fine print and often only on their website, 
describe the basis for the claim.  With a little digging you can probably find 
the exact answer if you're curious enough.


On 2022-12-01 02:22 PM, Jim via PLUG-discuss wrote:
> I know this isn't really a linux question, but I don't know who else to ask 
> and I haven't yet found an answer online, but I'm still looking.
> 
> I'm looking at buying a micro sd card and have found some UHS -I cards that 
> advertize 180 MB/s read speeds and 130 MB/s write speeds,  I've also read 
> that UHS - I is supposed to have a maximum speed of 104 MB/s.  Are the card 
> makers guilty of false advertizing, or is there some way to get around the 
> 104 MB/s limit?
> 
> 
> thanks
> 
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: Software Portfolio

2022-11-30 Thread Joseph Sinclair via PLUG-discuss
Some thoughts that may help (in addition to the good advice from Keith, Steve, 
and David).
1. Working on some open source software in Github is a good place to build a 
"here is what I have done" portfolio.  Github has pretty good public analytics 
showing all your public commits and pull requests, as well as issues, reviews, 
etc... I've used github history to understand engineering skill, practice, and 
approach for both candidates and coworkers.
2. What to work on depends a lot on what you find interesting.  If you want to 
work on Java or other JVM languages (e.g. Scala), I can probably make some 
suggestions (ping me off-list for detail) for open source projects to work on; 
if you can be patient I might be able to provide some *light* guidance on some 
of those.
3. The extreme majority of companies are terrible at interviewing.  It's not 
entirely you that's bad at interviews; the company is probably about as 
competent interviewing software engineers as the average garden slug.
4. You can try an approach I've seen some people have good results with.  A 
number of companies have started using things like HackerRank to (foolishly in 
my opinion) "test" potential hires.  It's relatively simple to work through the 
"challenges" and "tutorials" on that site if you have time.  Completing the 
majority of those both makes it simple to pass these "test" interviews (whether 
you know how to design software or not), and can also produce a large 
visibility boost if you want to find work with one of the companies that use 
the service for hiring.

Side note (OT and rant, skip if not interested in curmudgeonly rants).
Using canned "code challenges" as a pass-fail "test" is about the stupidest way 
to vet software professionals ever.  High quality engineers are not faster 
programmers (and make no mistake, HackerRank is mostly based on "get the 
'correct' solution fast").  High quality engineers produce designs that meet 
requirements better, are more secure, perform better, are more reliable, and/or 
cost less to maintain and operate.  The fact is that people interviewing 
engineers don't know how to evaluate engineering skill so they fall back to 
"objective" tests, and end up filtering *out* the very people they want.
I want to be clear, asking a coding problem isn't bad; provided the goal is to 
listen and observe problem solving, however, not get a "right" answer.  Most 
people I interview never complete my coding problems; but I learn a lot about 
how they approach problem solving in the process.
What's the alternative, though?  I advocate dropping the "interrogation" style 
interview entirely.  If you have to dig and manipulate to get truth from the 
interviewee, then you should not hire them at all; they cannot be trusted.  
Focus on a clear, honest, open, adult conversation and mutual learning instead. 
 Ask questions about what the candidate can do, wants to do, interests, and 
expectations.  Learn, both directions, if and how the candidate may meet the 
needs of the business, and if the position offered will meet the needs and 
expectations of the candidate (not everyone wants every position, nor should 
they).
I have found, through hundreds of interviews, on both sides of the table, that 
an honest and open conversation is many times more successful than the typical 
approach.

On 2022-11-29 08:50 PM, trent shipley via PLUG-discuss wrote:
> (Lead buried in last two or three paragraphs.)
> 
> Hi,
> 
> I've been in software writing positions on-and-off since about 1999.  I
> spent a couple years teaching myself Oracle SQL and PERL in 1999 and 2000
> for a nice application in the phone industry, then I had a long bout of
> unemployment, with some false stats on contract programming positions along
> the way.  During that time I complimented my degrees, which included a math
> major, with an MS in Information Management (really IT management) and a
> certificate in programming from Rio Salado, a couple years programming
> software tests in VBS for Micro Focus UFT One--which ceased to be very
> challenging by the end of two years. Recently, I did a pre-apprenticeship
> program with a local company with a software developer apprenticeship
> program (TechOne IT)  which basically worked out to a slow-paced virtual
> boot camp in anticipation of an initial contingent placement/apprenticeship
> proper.
> 
> Right now my current employer (The Precisionists Inc)--which is specialized
> in semi-supported contingent employment for autistic, neurodiverse, and
> other disabled people (in that order) has me on the bench, but I'm close to
> getting a new position as a Python web developer ... for which, I could be
> more unqualified, but not much.
> 
> After lackluster success with the equivalent of more than an AS in CIS
> specializing in programming.  I have concluded I face a few obstacles.
> 
> 1.  I'm autistic, so I can't interview worth a damn.
> 2.a. There is a tremendous shortage of doctors and nurses, but no

Re: git can't read file

2022-11-24 Thread Joseph Sinclair via PLUG-discuss
Inline responses.

On 2022-11-24 01:28 AM, der.hans wrote:
> Am 03. Nov, 2022 schwätzte Joseph Sinclair via PLUG-discuss so:
> 
> moin moin,
> 
> Thanks for the response. I ran out of time before SeaGL to work this
> issue.
> 
> Finally able to get back to it.
> 
>> First step is remove the git.log file, run git gc, and see if the error
>> returns.  The missing file issue can be transient, but can also be a
>> case of file corruption; often due to using a remote filesystem that has
>> synchronization issues (e.g. SMB).
> 
> I did this backwards and ran git gc first, then deleted the file, then ran
> git gc again. Still getting an error.
> 
> 
> :) $ LANG=en_US git gc
> Enumerating objects: 84147, done.
> Counting objects: 100% (84147/84147), done.
> Delta compression using up to 24 threads
> Compressing objects: 100% (39727/39727), done.
> fatal: unable to read 68eb6d43932bb63c600911ef6592a522d6eda333
> fatal: failed to run repack
> :( 128 $ cat .git/gc.log error: pack-objects died of signal 11
> fatal: failed to run repack
> :) $ 
> 
>> If the error returns after removing the log file and rerunning git gc,
>> then you can look for that file in the .git folder structure and see if
>> there's a filesystem lock, file permission issue, or something similar
>> blocking git from reading and modifying the file.
> 
> Do you mean look at the objects file?

Each file in the objects folders is an item (file, typically) in the repo.  The 
filename in objects is a hash.
The files are a differential format.  You might check permissions (ls -l) and 
extended attributes (lsattr/chattr) on that file to see why git doesn't like 
that file.

> 
> I'd gotten an error earlier pointing to an object file.
> 
> 
> Komprimiere Objekte: 100% (39706/39706), fertig.
> error: inflate: data stream error (incorrect data check)
> error: Fehlerhaftes loses Objekt
> 'c3e7ea989038d655ba08765acad29d2110f845de'.
> fatal: Loses Objekt c3e7ea989038d655ba08765acad29d2110f845de (gespeichert
> in .git/objects/c3/e7ea989038d655ba08765acad29d2110f845de) ist beschädigt.
> fatal: failed to run repack
> 

This is a different error (different object) from the earlier error.  This 
time, instead of a file it cannot read, git is trying to rebuild the structure, 
and is finding a file with an invalid gzip encoding (usually resultant from a 
partial success on some earlier process, or failure reading from a remote 
filesystem)
From the look of things, something is messed up in that particular object file. 
 You might check which "real" file it represents, copy the (likely binary) file 
out of the repo, git rm the file, rerun git gc, then re-add the file to git.
If re-adding doesn't clear it up, perhaps push the repo to a different folder, 
remove this clone, then re-clone from the other folder (or, if you already have 
a remote, just push to the remote, remove the local, then re-clone from 
remote).  Sometimes that will clean up issues that don't respond to git gc.

Side note, git doesn't like binary files much.  It can handle them, but most 
git errors I see are related to binary files.  Also, don't ever run git on a 
remote filesystem, particularly samba (not sure if you are here, just noting 
this in passing); git operations seem to make remote filesystems very unhappy, 
and even a slight blip in filesystem driver can absolutely wreck the git repo 
structure.  I've seen a simple git fetch on a samba mount generate a few 
thousand samba error files, and utterly destroy the git repo (requiring a 
re-clone).


> 
> 
> :) $ pigz -d
> <.git/objects/c3/e7ea989038d655ba08765acad29d2110f845de | strings | head
> -20
> blob 333043117
> webmB
> t@=M
> Lavf58.20.100WA
> Lavf58.20.100D
> V_VP8
> A_OPUSV
> OpusHead
> COMMENTD
> {"t": "v", "c": "vp8", "s": 1615733905219805, "u": 1615733905231922}g
> ENCODERD
> Lavf58.20.100ss
> ENCODERD
> Lavc58.35.100 libvpxss
> COMMENTD
> {"t": "a", "c": "opus", "s": 1615733905219703, "u": 1615733905220216}ss
> DURATIOND
> 00:58:53.0
> DURATIOND
> 00:58:52.99400
> :) $ 
> 
> OpesHead along with ENCODERD and DURATIOND make me think this is for an
> audio or video file.
> 
> Perhaps the webmB indicates the type :).
> 
> Is e7ea989038d655ba08765acad29d2110f845de the checksum of a file? If so,
> how do I determine which file?
> 
> Seemingly, I can still check new work in, but I keep getting an error.
> 
> ciao,
> 
> der.hans
> 
>> On 2022-11-03 03:42 PM, der.hans via PLUG-discuss wrote:
>>> moin m

Re: git can't read file

2022-11-03 Thread Joseph Sinclair via PLUG-discuss
First step is remove the git.log file, run git gc, and see if the error 
returns.  The missing file issue can be transient, but can also be a case of 
file corruption; often due to using a remote filesystem that has 
synchronization issues (e.g. SMB).

If the error returns after removing the log file and rerunning git gc, then you 
can look for that file in the .git folder structure and see if there's a 
filesystem lock, file permission issue, or something similar blocking git from 
reading and modifying the file.


On 2022-11-03 03:42 PM, der.hans via PLUG-discuss wrote:
> moin moin,
> 
> I tried to get the error in English.
> 
> 
> $ LANG=en_US git add Infos.adoc
> $ LANG=en_US git commit Infos.adoc -m 'Infos zur Vortraege'
> Auto packing the repository in background for optimum performance.
> See "git help gc" for manual housekeeping.
> warning: The last gc run reported the following. Please correct the root
> cause
> and remove .git/gc.log.
> Automatic cleanup will not be performed until the file is removed.
> 
> fatal: kann 68eb6d43932bb63c600911ef6592a522d6eda333 nicht lesen
> fatal: failed to run repack
> 
> [master 783813fb6] Infos zur Vortraege
>  1 file changed, 47 insertions(+)
>  create mode 100644 Commerz/Fachpr�sentation/2022/Tux-Tage/Infos.adoc
> $
> 
> 
> fatal: can't read 68eb6d43932bb63c600911ef6592a522d6eda333
> 
> Any suggestions on how to find what that file is?
> 
> What I'm finding online make it seem like that might have been a temporary
> file that git cleaned up, but git didn't say anything about cleaning up a
> file.
> 
> Those error lines are in .git/gc.log and the hasn't changed in a few hours
> despite new commits. Is git just kicking those out to me no matter what
> because they're in the gc.log file? Do I just need to remove that and see
> if the problem goes away?
> 
> 
> $ cat
> .git/gc.log
> fatal: kann 68eb6d43932bb63c600911ef6592a522d6eda333 nicht lesen
> fatal: failed to run repack
> $
> 
> 
> ciao,
> 
> der.hans
> 
> 
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: Why "no such file" error ??

2022-10-12 Thread Joseph Sinclair via PLUG-discuss
I know it seems simple, but have you checked permissions to ensure the user ID 
running the script has both read and execute permission for the executable, and 
the extended attribute noexec is not set on the executable?
  I've seen that error when permissions are not quite as expected, or when 
extended attributes are set to prevent an action...
Another possibility that comes immediately to mind is whether there is a 
symbolic link in the path to the executable, symbolic links can get weird at 
times.
Third question, Did you copy over the binary, or recompile the program on this 
new machine?  If you did copy an existing binary, a recompile might be a good 
idea to rule out issues caused by ELF or glibc changes.

On 2022-10-12 03:18 PM, joe--- via PLUG-discuss wrote:
> Recently I purchased a used Thinkpad T460 and I did
> a fresh install of Linux Mint 20.1 that works ... except:
> 
> I also installed a "C" program called 'readin' that I have
> used successfully for more than 30 years on several Linux
> installs; but it does not work on on this Mint 20 install.
> 
> Instead, this error appears:
> "/home/joe/bin/readin: No such file or directory"
> 
> That is weird because 'readin' is actually present
> in my directory: /home/joe/bin
> 
> I have uploaded copies of the applicable files here:
> *** https://vsiq.com/data/count/ *** In one of the
> files named: why-no-such.pdf I have tried to explain
> and demo the problem.
> 
> Someone suggested replacing 'readin' with "read -n1"
> and that works in the small "count" example ...
> however, it does not work in most of the other important
> shell script applications in which I need 'readin' to work.
> 
> So the question remains, why that error message appears
> when the named file is actually present in /home/joe/bin?
> 
> ===
> 
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: Invalid Context= error

2022-09-26 Thread Joseph Sinclair via PLUG-discuss
I've seen things like this after an upgrade.  A couple items seem to be 
happening.
1) The Hebrew language package is missing a file hunspell expects.  Ubuntu 
installs a stack of languages on every upgrade, even if the original install 
removed them.  If you need Hebrew, you might want to manually reinstall, if you 
have no need of Hebrew, it might be easier to remove (and purge) it.
2) It looks like the Mint-Y icon theme is missing or moved.  Reinstalling the 
theme and/or switching to another theme, then switching back, should resolve 
these errors.

On 2022-09-26 10:53 AM, joe--- via PLUG-discuss wrote:
> Just did a fresh install of Mint 20.1 on one of
> my thinkpads and have a few issues to resolve:
> 
> On my other computer on the command line, I can
> type: kwrite file.txt and the file opens fine.
> 
> But on this new install, when I type the same,
> I see a long list of 50+ "Invalid Context" messages.
> Below is just a short example of the first dozen msgs:
> 
> Why and what can fix this?
> 
> joe@t460:~/bin$ kwrite file.txt
> qt5ct: using qt5ct plugin
> Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
> sonnet.plugins.hspell: HSpellDict::HSpellDict: Init failed
> qt5ct: D-Bus global menu: no
> Invalid Context= "Apps" line for icon theme:  
> "/usr/share/icons/Mint-Y/apps/16/"
> Invalid Context= "Apps" line for icon theme:  
> "/usr/share/icons/Mint-Y/apps/16@2x/"
> Invalid Context= "Mimetypes" line for icon theme:  
> "/usr/share/icons/Mint-Y/mimetypes/16/"
> Invalid Context= "Mimetypes" line for icon theme:  
> "/usr/share/icons/Mint-Y/mimetypes/16@2x/"
> Invalid Context= "Apps" line for icon theme:  
> "/usr/share/icons/Mint-Y/apps/22/"
> Invalid Context= "Apps" line for icon theme:  
> "/usr/share/icons/Mint-Y/apps/22@2x/"
> Invalid Context= "Apps" line for icon theme:  
> "/usr/share/icons/Mint-Y/apps/24/"
> Invalid Context= "Apps" line for icon theme:  
> "/usr/share/icons/Mint-Y/apps/24@2x/"
> Invalid Context= "Mimetypes" line for icon theme:  
> "/usr/share/icons/Mint-Y/mimetypes/24/"
> Invalid Context= "Mimetypes" line for icon theme:  
> "/usr/share/icons/Mint-Y/mimetypes/24@2x/"
> Invalid Context= "Apps" line for icon theme:  
> "/usr/share/icons/Mint-Y/apps/32/"
> Invalid Context= "Apps" line for icon theme:  
> "/usr/share/icons/Mint-Y/apps/32@2x/"
> [snipped]
> 
> ===
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: Boot up from cold boot no network

2022-09-23 Thread Joseph Sinclair via PLUG-discuss
I've discovered a similar issue just yesterday.  I hunted it down and found 
that the cause, for me at least, was in the static NetworkManager configuration.
NetworkManager configuration now marks *all* interfaces as unmanaged *except* 
WiFi and Cellular, basically all non-wireless interfaces are prevented from 
being activated.  Apparently some genius at Ubuntu decided nobody uses wired 
connections.
In /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf, check the 
line that starts with "unmanaged-devices".  If it reads as follows, consider 
modifying or commenting out the line.
unmanaged-devices=*,except=type:wifi,except=type:gsm,except=type:cdma

If you make changes, run "systemctl reload NetworkManager" to update the 
running daemon.


On 2022-09-23 12:04 PM, T Zack Crawford via PLUG-discuss wrote:
> I am very interested in the answer because my desktop does the same thing if 
> I tell it to hibernate, boot into my windows dual boot, and reboot back into 
> linux. I can regain network access again by hibernating again and booting 
> back into linux directly (no windows). Pretty annoying because it takes a 
> solid 2-5 minutes to shut down when hibernating. At least it still does the 
> job, just with delay.
> 
> This only happens if I try hibernating and then boot into windows (not full 
> shutdown, not hibernate and boot directly to linux). It has always happened 
> since I enabled hibernation (arch wiki instructions). Having Systemd restart 
> NetworkManager does nothing. Setting up a new network configuration with 
> networkmanager does not solve it. This is with my motherboard ethernet and my 
> wireless USB adapter. I spent some good energy trying to figure it out, but 
> never did.
> 
> 
> Did you update kernels today? What if you downgrade?
> 
> Put the solution as a boot script. Or at least bash profile instead of run 
> commands (otherwise it will run every time you spawn a terminal shell)
> 
> Sep 23, 2022 11:14:35 Jim via PLUG-discuss :
> 
>> A few months ago my Dell Optiplex 7010 running Ubuntu 20.04 started booting 
>> up without the network.  I'd reboot the machine and  the network was there.  
>> If I shut down the machine and turned it on again, no network.  I thought 
>> something was wrong with the built in ethernet adapter, so I bought a usb 
>> adapter, disabled the built in one and the problem went away until today.  
>> Now it's happening with the usb ethernet adapter.  Rebooting the machine 
>> fixes the problem gets the network up and running.  If I start with a cold 
>> boot and reboot at the grub screen, I get the network.  I have 3 SSDs and 2 
>> HDDs.  I have the same video card that I had before this problem first 
>> showed itself.  It's a GeForce GT 710.
>>
>> I looked online and found something telling of other people who have had 
>> this problem.  They disconnected video cards and went back to the built in 
>> video (display port), and removed hard drives that had been added later and 
>> this fixed the problem.  The ultimate solution was to replace the power 
>> supply.  I disconnected one SSD and the 2 HDDs.  I don't have anything that 
>> can use a display port, so I left the video card in place.  All I had 
>> connected were  2 SSDs.  One it boots from and my home directory is on the 
>> other.  The problem still showed itself when I booted the machine, so I shut 
>> down and plugged in everything again.  This thing has a 240 watt power 
>> supply.  Do power supplies go band in such a way they don't produce the 
>> amount of power they used to?
>>
>> Any ideas what it might be?  Is there a command that would tell the system 
>> to set up the network again?  If there is, I could put it in the .bashrc 
>> until I get this fixed.
>>
>> Thanks
>>
>> ---
>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: Gimp

2022-09-22 Thread Joseph Sinclair via PLUG-discuss
Mike,
  It looks like what you are trying to do is merge three photos with different 
exposures into a single photo with greater dynamic range.  That's usually 
described as High Dynamic Range, or HDR, exposure.
There are tutorials online for how to do that; a search for ["High Dynamic 
Range" GIMP] should bring good results.

On 2022-09-22 08:28 AM, Michael via PLUG-discuss wrote:
> what I mean is doing an interior shot (2 or 3  exposures) and making the
> window not blown out.
> 
> On Thu, Sep 22, 2022 at 11:21 AM Michael  wrote:
> 
>> How do I do real estate photos with gimp?--
>> :-)~MIKE~(-:
>>
> 
> 
> 
> 
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


plug-discuss@lists.phxlinux.org

2022-09-14 Thread Joseph Sinclair via PLUG-discuss
Looks like an attempt to create an alternative to the Linux kernel that is 
single process and has no users (check their github at 
https://github.com/nanovms/nanos and related https://github.com/nanovms/ops).
There may be some value to that, but things like CoreOS and Project Atomic make 
that value narrow.

Their approach is designed around a single-process approach that isn't common 
for modern server systems, including in containerized designs.
The NanoVM approach requires a full VM as well, which provides more 
cross-process isolation, but also dramatically increases overhead.
Even the simplest system usually requires at least a couple daemon processes to 
handle things like log shipping or process monitoring.  Sometimes other 
containers can fill those roles, but that doesn't work if each process is a 
full VM, rather than a container.

They seem to be doing well making this open-source (Apache 2.0), but it's not 
clear if the company is committed to remaining entirely on an open-development 
path.

Overall it seems somewhat niche, and they may find their business plan is not 
as effective as they hope.

On 2022-09-13 11:12 PM, greg zegan via PLUG-discuss wrote:
> Invest in NanoVMs
> 
> 
> | 
> | 
> |  | 
> Invest in NanoVMs
> 
> Invest today in NanoVMs. NanoVMs runs Linux software faster and safer than 
> Linux itself as unikernels.
>  |
> 
>  |
> 
>  |
> 
> Hello,  Has anyone ever heard of this project?What is the 
> potential?thanks,Greg
> 
> 
> 
> 
> 
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Domain Registering and Hosting/Website Funny Business

2022-07-22 Thread Joseph Sinclair via PLUG-discuss
TL;DR  Have your friend contact GoDaddy, ideally by logging into their existing 
account and contacting support from there, and request they delete all content 
as you no longer control the site and they no longer have any right to continue 
serving that content.

Most likely, the new owner simply didn't make any change to the name server 
entries when they bought it (domain gamblers tend to do that a lot).
Basically, the name still resolves to the same site host, and the purchaser is 
waiting for your friend to beg them to "return their domain" so as to keep the 
site (and presumably the business) running.
Some just kind of wait for contact, others will wait about 90 days, then send 
email to the website warning of a deadline and demanding heavy payment to not 
redirect it to a parking page or something similar.

A lot depends on who the host provider is.  If, as in this case, the host 
provider is the same as the domain provider (side note, don't do that in the 
future; always separate the two so nobody controls both but you), then you may 
have some issues, but at least in theory your friend can, at minimum, ask that 
the hosted content (which they still own and on which they hold copyright) be 
removed.
If the host provider is separate from the domain provider, then you could 
either arrange back payment and regain control, then point a new domain to the 
site, or ask the host to remove the content (again based on ownership and 
copyright).

In this case (with GoDaddy hosting both), I hope your friend has backups of the 
site and can redeploy elsewhere, and I hope GoDaddy does the right thing 
relatively quickly (sometimes they can be difficult in this regard).

This doesn't apply in your case, but one other, somewhat ugly, possibility does 
exist.  Some host providers use a domain challenge to identify the site owner 
if they lose access otherwise (they have you put a code in a dns record to 
prove you are you).
  Those are particularly pernicious as anyone with control of the domain 
actually can steal the site and content by claiming to have forgotten a 
password (which can result in theft of an entire business identity for purely 
online businesses, and is a form of identity theft).
  Always worth checking if your hosting provider uses that option, and ask them 
to either administratively disable that (permanently), or move to a different 
hosting provider (assuming you can).
   Note: Domain challenge to prove ownership of a domain, separate from 
ownership of the hosting account, is totally normal and reasonable, I'm 
referencing here using domain challenge to prove identity and ownership of the 
separate hosting account.

Hopefully that helps.

Joseph Sinclair

P.S. The domain origination date does not change unless the domain is returned 
to an unregistered state.  When a domain is auctioned, it is never 
"unregistered", the registration simply transfers after GoDaddy takes over the 
registration for non-payment.


On 2022-07-22 06:45 PM, Keith Smith via PLUG-discuss wrote:
> 
> 
> Hi,
> 
> I have a friend who owned http://www.nationwidedr.com/ .  It expired along 
> with his hosting while he was in the hospital.
> 
> I get the domain was available to be registered.
> 
> Here is the interesting part.  Somehow the new domain owner also was able to 
> get his WordPress website complete with all of his business content.  It 
> appears not to have been changed.
> 
> The other part is the domain shows it was registered in 2002, the original 
> date it was registered.  I thought when a domain expires and is re-registered 
> by another it will show it was original registered on that second date.  Am I 
> wrong?
> 
> Thoughts on how the new registrant got a hold of my friends WordPress website?
> 
> The domain and hosting were at GoDaddy.
> 
> Something seems fishy - am I wrong?
> 
> Thanks!!
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Should an opensource dev know Linux

2022-04-22 Thread Joseph Sinclair via PLUG-discuss
Call me biased, but, in my opinion, all software engineers (and 
programmers/coders too) should know, or be learning, *at least* enough about 
Linux to:
  edit and build their software at the command line
  configure and script an automated build (using a common tool like jenkins, 
Github actions, or any similar system)
  define a dockerfile and build a docker image with podman
  run a docker image with podman and CRI-O, runc, and/or Containerd.
That said, I find where I am now I have to allocate about a month+ for every 
new hire to learn at least that much, and most take much, much, longer (thanks 
to poor decisions by executive management we're mostly hiring junior devs, 
overseas, at the low end of the pay spectrum, though, so even base skills are 
pretty shallow).
Some know a bit of shell scripting and may be aware of Linux, but very few 
software engineers I encounter at work actually run Linux routinely.

As to the resume bit, depends on who is hiring.  If it's someone like me, it's 
going to help.  If it's some clueless MBA who has only ever used Windows and 
makes tech stack decisions based on the latest Microsoft .Net features, perhaps 
not.

On 2022-04-21 11:12 AM, Keith Smith via PLUG-discuss wrote:
> 
> 
> Hi,
> 
> I'm a PHP developer and always thought all opensource developers had at least 
> some knowledge of Linux.
> 
> Recently I watched a YouTube video that stated otherwise.  The presenter said 
> it is important to know Linux which will set one apart from the crowd.
> 
> I have been "messing"/"playing"/"working" with Linux since around 1998 or so. 
> Learned a lot and have a lot to learn.  Thought all opensource developers had 
> at least a fundamental understanding of Linux.
> 
> Is it true most do not know Linux?
> 
> And is it true that it is good, for a dev, to be able to put they have basic 
> familiarity of Linux  on their Resume?
> 
> Thanks in advance!!
> 
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Scripting/automation method/language

2022-01-07 Thread Joseph Sinclair via PLUG-discuss
A lot depends on complexity.
A few questions:
1) Is this easier to understand, or harder to understand as Bash
2) Is it more or less work to maintain as Bash versus a more general purpose 
language
3) What options exist for general purpose languages to accomplish the task

Depending on answers to these, you might stay with Bash, if it's not too hard 
to follow and not too much more work to maintain.
If you have large and/or complex processing, you might want to use something 
like Perl (which is a required core system dependency for most distributions), 
Awk, or Python.
Depending on other software routinely installed on the systems, you might also 
have the option to use Go, or anything that compiles to LLVM.
You might also find that Python is already installed; perhaps just with the 
binary named python3 or similar.  I don't know of too many distributions that 
don't require python currently.
You might also package the scripts with any required dependencies (languages 
like Python or larger toolsets like Ansible and Terraform) in a container, and 
run the contained package in open mode (e.g. like a flatpak) on the destination 
system.  This has the added advantage that these management scripts can be read 
in, executed, then removed cleanly as needed; reducing the need to keep yet 
another item up to date on the machines.


On 2022-01-07 11:21 AM, Seabass via PLUG-discuss wrote:
> Hello Linux folk.
> 
> I'm making some bash scripts, mostly for templating purposes.
> In the past, I've used bash scripts to make basic configs of systems.
> 
> Eventually I went to ansible, but came across trouble pushing to some OSs, as 
> they needed python installed to work with ansible, but was not installed by 
> default. (I might be misremembering the tool used if this is wrong, but this 
> doesn't matter too much)
> 
> I am asked the obvious question of "if you are templating entire files, why 
> aren't you using something *other* than bash like python?".
> 
> My answer was that my computer doesn't have python installed, and though I 
> know 
> most do, I don't want to force admins to install python (and get root 
> permissions and approval by the security team to install and etc...) to use 
> my 
> utility. I'd rather it be usable immediately, which means it will always be 
> usable if written in bash.
> 
> So I ask you admins and general users this: what do you think about this 
> situation?
> 
> Is it worth writing the program in python for possibly more readable and 
> easier 
> to write/maintain code?
> Or is shell scripting more worth it for the accessibility to any POSIX system 
> without need for extra work to install, run, then uninstall afterward any 
> other 
> scripting language?
> Is this situation rare?
> Or is the answer just going to be different dependent on what the scripts do?
> 
> What do you think?
> 
> 
> 
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: krita, acer, samsung

2021-10-12 Thread Joseph Sinclair via PLUG-discuss
Some things to note:
The NVMe drive in the Acer will significantly improve startup and disk access, 
it's about 4-5 times faster than an SSD.
The extra RAM in the Samsung, as well as the more capable i7 CPU, will make the 
general "feel" of the machine smoother and faster while in use.  The Samsung 
with the 8th gen i7 is not a good choice.

Ideally one would add an NVMe to the Samsung 12G ($120 gets you a Samsung 1TB 
NVMe in an 80mm M.2 form factor), but lacking that (I do not think the Samsung 
Ion, guessing that's the machine, has NVMe M.2 available)

All else being equal, I'd probably opt for the Samsung 12G, or the Acer if 
startup time is more important than working with larger art images.  Note that 
8G RAM (including O/S) limits drawings to about 8K resolution, max, at high 
color depth, and while that's good for screen, it might not do for anything 
intended to be seen on paper or canvas.

One other thing, It might be worth taking a look at the Wacom Cintiq panels if 
your wife is interested in high quality digital art.  It's a very good drawing 
tablet under a high quality (USB connected) screen that can attach to just 
about any laptop or desktop.
A bit pricey (16" is ~550; Wacom One 13" is ~400), but hard to beat for someone 
with significant skill or talent who is transitioning from Analog to the 
digital world.

On 2021-10-11 10:06 PM, der.hans via PLUG-discuss wrote:
> moin moin,
> 
> I picked up an Acer 2 in 1 with touchpad for kid. We really needed to
> finally replace the laptop that had been gravity tested a few times at the
> beginning of the pandemic.
> 
> First thing kidling wanted was to install Krita ( much disappointment that
> it wasn't on there by default ). Many hours have now been spent
> discovering how to use a stylus.
> 
> My wife is an analog artist, but likes what she's been seeing, so now I
> need two devices that can use stylii.
> 
> I had picked up the Acer from Woot and they immediately ran some Samsungs
> for less money. The Acer requires a little bit of a bios dance to get
> running with debian ( and a non-free ethernet driver ), but has otherwise
> been great and much better than the dell we're replacing.
> 
> A similarly priced Samsung is similar for features, but I don't really
> compare hardware specs anymore since I don't often buy hardware.
> 
> Acer:
> * 10th Gen Intel Core i5-1035G4
> * 8GB LPDDR4
> * 256GB NVMe
> 
> Samsung:
> * 8th Gen Intel Core i7-8565U
> * 16GB
> * 512GB SSD
> 
> There's also a Samsung for $200 less
> 
> 10th Generation Quad-Core i7-10510U 12GB DDR4 SDRAM
> 512GB SSD
> no USB C :(
> 
> I like the idea of more RAM, but the family doesn't really need that. They
> don't run containers and databases and test deployments on laptops. Seems
> a waste to me :).
> 
> They need pretty decent hardware ( we should have far less drop-testing as
> that lesson has been learned ), with a decent touchscreen that will work
> for a while. They do need computers they draw on rather than tablets they
> compute on. They will be running debian ( or derivative if we must ).
> 
> Links:
> 
> https://computers.woot.com/offers/acer-spin-5-convertible-laptop-3?ref=w_cnt_wp_3_6
> 
> https://computers.woot.com/offers/samsung-notebook-9-pro13-3-i7-2-in-1z?ref=w_cnt_wp_5_8
> 
> https://computers.woot.com/offers/samsung-galaxy-book-flip-fold-laptop?ref=w_cnt_wp_5_3
> 
> Also, an opportunity to podcast as root:
> 
> https://computers.woot.com/offers/sudotack-usb-streaming-podcast-pc-microphone-1?ref=w_cnt_wp_3_1
> 
> ciao,
> 
> der.hans



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Big Blue Button

2021-08-18 Thread Joseph Sinclair via PLUG-discuss
I would recommend taking a look at podman[1], runc[2], and/or CRI-O[3].
The docker image format is, more or less, compatible with OCI[4], so any given 
"docker" image should run under any of the OCI runtimes.

[1] https://podman.io/
[2] https://runc.io/
[3] https://cri-o.io/
[4] https://opencontainers.org/

On 2021-08-16 07:37 PM, Stephen Partington via PLUG-discuss wrote:
> I am tinkering about with my own BBB installation. I have had success with
> their docker container, but was hoping to build something that ran in LXC.
> Anyone using any sort of alternate front end and would like to point me at
> what they are using and the like?
> 
> 
> 
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Why I hate updates ... Thanks Michael ...

2021-03-13 Thread Joseph Sinclair via PLUG-discuss
Joe,
  I would recommend running a couple simple cleanups to get some space back for 
now.
Keep in mind this will be a temporary fix; you will run out of space again 
fairly quickly if you cannot remove some programs or otherwise permanently 
clear some space on the root partition.

Empty the trash/recycle folder
Remove old kernel versions (I recommend keeping the most recent two)
Remove less commonly used fonts
  sudo apt purge "fonts-kacst*" "fonts-khmeros*" fonts-lklug-sinhala 
fonts-guru-extra "fonts-nanum*" fonts-noto-cjk "fonts-takao*" 
fonts-tibetan-machine fonts-lao fonts-sil-padauk fonts-sil-abyssinica 
"fonts-tlwg-*" "fonts-lohit-*" fonts-beng-extra fonts-gargi fonts-gubbi 
fonts-gujr-extra fonts-kalapi "fonts-samyak*" fonts-navilu fonts-nakula 
fonts-orya-extra fonts-pagul fonts-sarai "fonts-telu*" "fonts-wqy*" 
"fonts-smc*" fonts-deva-extra fonts-sahadeva
Remove unnecessary apt files and unnecessary library dependencies
  sudo apt-get clean # this will gain a good amount of space, but it will fill 
back up with the next apt update or apt upgrade
  sudo apt-get autoremove --purge # this will remove packages leftover from 
other programs and no longer needed, --purge just makes sure the related 
configs and help files are also removed, cleaning up space in /usr/share and 
/usr/local/share

Check logs in /var/log, if there are some very large files (or a large number) 
that are compressed (old logs are typically compressed automatically), you 
might consider moving those to an archive folder in /home where you have plenty 
of space.  I don't recommend removing old logs arbitrarily.
Look at /tmp, /var/crash, /var/spool, /var/cache, etc...  See if there are 
large files you can move to a folder in /home or (/var/cache) remove.
  sudo du -ms /var/* | sort -n  # This will list folders in increasing size 
order, the largest at the bottom are good candidates to clean up, size is in 
megabytes, so anything over 500 is a good place to see if you can clean up.

Look at what you have installed (something like Synaptic helps here) and see if 
you can remove rarely used, but large, applications (use apt purge to remove 
them, so the config and support files are removed as well)
The typical Mint install includes a lot of software, some of that may be things 
you never use.  Try to find large applications (things like Evolution, or 
Banshee) that you do not use, and remove those.

As others have mentioned, you need a larger root partition eventually, but the 
steps above should help you clear enough space temporarily to limp along until 
you can accomplish a more permanent fix.

Hopefully that helps you get to a more stable state.

==Joseph++

P.S.
  This isn't relevant to Linux Mint 17, but is relevant to newer systems:
  Note that /var/log/journal often has a very large amount of old logs in 
modern systems.  This is the systemd journal, and has it's own commands for 
cleanup:
sudo journalctl --disk-usage # Show how much space the journal logs take 
up, in one of my systems this is over 6G.
sudo journalctl --rotate --vacuum-time=4weeks # rotate the journal files, 
and remove any older than 4 weeks; this will typically clear around 2-4G of 
space on systems that have been running a long time.
Note that you can also configure journald to rotate and remove old logs 
automatically, this is configured in /etc/systemd/journald.conf.  I recommend 
reading the relevant documentation before making changes there.

On 2021-03-13 02:23 PM, joe--- via PLUG-discuss wrote:
> Thanks Michael.
> 
> Yes, I do realize that I probably need to build a
> completely different system, but for now, I just
> have to find ways to keep my old system working.
> 
> Now, after a reboot, I have most everything working
> again, but for now, I mainly just need to find out
> how to unlock Libre Office documents.
> 
> 
> --
> On 2021-03-13 at 1:58 pm, Michael Butash via PLUG-discuss wrote:
>> This is why I stopped using physical partitions and LVM instead
>> entirely.
>>
>> If you fill your physical partition, it really doesn't like it, and
>> all hell breaks loose, as you see.  Boot from a boot cd, clear some
>> space, and reboot.
>>
>> Start with "sudo du -h --max-depth=1", figure out what is filling your
>> disk, and delete some.  Reboot.  Usually logs, updates, packages, etc
>> cruft - kill it all.
>>
>> When it's sane, move to a more agreeable FS structure, use LVM, I can
>> fill a disk and stay up, much less impact if/when this occurs.
>>
>> I break /var and /var/log into separate partitions always, these are
>> typically what fill and break.  Keep them separate with LVM's, much
>> happier to recover if any one fills up.  I normally keep /usr with
>> debians separate too, but arch installs hate this.  Also I keep /home
>> separate, as I fill this commonly, which breaks anything running in
>> userland if/when occurring.
>>
>> Funny, I do this because this is how we installed solaris this way
>> with slices like +

Re: C on Linux or all of Java?

2021-01-10 Thread Joseph Sinclair via PLUG-discuss
C and C++ are mostly used for shrink-wrap applications and libraries.  The 
Linux Kernel is still C and the Windows Kernel is mostly C++.
About 90% of business applications are Java.  It's the most widely used 
language and platform for web-based applications and microservices.  The Spring 
platform is very popular, but I'd actually recommend looking at Eclipse 
microprofile (microprofile.io, quarkus.io for a good implementation) for 
microservices, it's much lighter and faster.
Node.js is popular with "full stack" shops.  It's very quick to pick up, but 
extremely difficult to build non-trivial systems and maintain them.  The 
single-thread nature of the system and dealing with javascript async constructs 
can be particularly difficult.
  For desktop applications in JavaScript (not ideal, but some entities want 
this) there is the Electron framework.  Microsoft likes this a lot, and some 
major Microsoft applications, like MS Teams or VSCode, are written in Electron.
If you're looking to develop systems for Windows only (unlikely, but possible), 
then .Net and C# are widely used.
Mac is kind of a grab bag, but Objective-C is still pretty popular.

A lot depends on what one wants to learn and why.
  Just learn something?  Perhaps Java as it's very widely applicable.
  Learn something as a challenge?  C++, it's probably the hardest to learn to 
do well, and can build extremely complex systems.
  Learn something quickly useful?  Go, Python, or Node.js.  These are popular, 
quick to get started, but you have to be aware you can design yourself into a 
corner very quickly, and maintenance can get difficult.
  Transition from PHP to more general-purpose systems?  Go is a good place to 
start; it's designed from the ground up as a language for new or transitioning 
programmers.  It requires you follow very strict rules, including an enforced 
style guide, but it's also easier to write "correct" code than most 
alternatives.
Other goals might point to other alternatives, it all depends on the purpose.


On 2021-01-10 04:46 PM, Matt Graham via PLUG-discuss wrote:
> On 2021-01-10 15:52, Keith Smith via PLUG-discuss wrote:
>> I'm a PHP dev.  I am wondering about the value of learning C on Linux.
> 
> C is not generally used for new projects (other than libraries, C libraries 
> can work with any other language) these days.  Managing your own memory is 
> potentially faster than having things be garbage-collected, but it provides 
> an excellent way to shoot yourself in the foot because people are bad at 
> managing memory.  It'd teach you how much patience you have, and potentially 
> how slow PHP is by comparison, but I don't think it'd provide much value in 
> 2021.
> 
>> What would you recommend learning C on Linux or all of Java?
> 
> Neither.  No one's using Java for anything but Android applications now, and 
> Google are trying to push Kotlin for those.  Java is also a total PITA as it 
> pretends to be high-level while requiring almost as much boilerplate as C 
> does.[0]  wordpress is everywhere, so that'll guarantee employment for PHP 
> people despite the language being unfashionable.  node.js is everywhere now 
> for reasons which make no sense to me.  If you end up having to maintain 
> something half-assedly written in node.js, you will need some familiarity 
> with its weirdnesses.[1]  If you don't know node.js already, learn that.
> 
> IMHO, if you want to learn something old-school, go for C++ not C.  Classes 
> are sort of useful for real-world problems, and you now have the option to 
> use auto_ptr to ease memory management woes.
> 
> [0] Java is ~= COBOL translated to the 2000s.
> [1] node.js is ~= Perl translated to the 2010s.
> 
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: question about Java

2020-05-05 Thread Joseph Sinclair via PLUG-discuss
Ed, thanks for correcting me.  OpenJDK is GPLv2 with classpath, not GPLv3 as I 
had asserted earlier.

TL;DR: The technology isn't what makes (most) systems good or bad, the 
engineering is.

I like, and work with, Java, Javascript, Python, Go (granted, the style guide 
there is unpleasant), and C++.  I've even held my nose and worked on .net code 
a couple times.
I am familiar with several other options and toolsets (and really like some 
that just aren't quite popular enough for enterprise use, like Scala).
I've seen good engineering in most technologies, and bad engineering in all of 
them.

I've been creating systems with Java for a rather long time.  The only versions 
of OpenJDK I ever had issues with were 5 and 6, which lacked a couple of items 
that were closed-source and had to be replaced (in version 7 they were replaced 
with open re-implementations).
I've seen some code, written objectively incorrectly, that depends on internal 
API's of the JVM and, technically, violates the license terms as those classes 
are specifically called out as not licensed for use.  That software won't move 
from version to version well, or at all, because it's using internal details 
instead of published APIs.
I've also excoriated more than a few lazy-bum (I'm being extremely kind here) 
"programmers" who insist on using those internal API's because they cannot be 
bothered to take 10 minutes and look up the standard API equivalent (or bring 
in a common library for that functionality).

I've worked on a LOT of Java code, and while it's far from the only language I 
use (I currently work with 3 *regularly* at work), it's one of the most 
productive for me and most of my teams.
For modern cloud-native systems it's one of the best options in many 
situations. (although, please don't mention the abomination called Springboot; 
that's the real zombie godzilla that needs to die).

None of this is to say Java is somehow superior to all comers.  More this 
highlights that good engineering is far more important than the language or 
platform in most cases, and that even for the same language bad engineering or 
a bad platform choice can make a huge difference.

BTW, lest you think compatibility only works in demonstrations, I ran a test, 
just for funsies, on all 18 microservices we have in production to run these 
Java 8 or 11 systems on Java 14 (pipeline builds help here) and loaded them in 
dev containers to check compatibility.  None had any issues at all.  If we 
didn't have policy limitations to LTS versions, I'd probably upgrade them all 
to 14 in production, as it does improve several performance metrics by a bit.

Yes, there is a lot of lousy engineering in enterprise, but it doesn't matter 
what platform you pick.  Bad engineering happens, and tends to stick around a 
long time because it costs too much to redo.  That doesn't mean the 
foundational technologies are good or bad, only that the use of them was.

P.S.
I just took a quick look at JBidwatcher, I've seen worse code, but only in 
contests to write bad code.  That thing may meet a valuable need for people, 
but it is truly terrible from an engineering design standpoint, I'm not even a 
little surprised it is tied to very specific VM builds.
It uses internal JVM classes all over the place, even when there are better 
choices in the standard library.  It's almost like they designed it 
deliberately to prevent portability.


On 2020-05-05 08:01 AM, Michael Butash via PLUG-discuss wrote:
> I'll stand corrected with the versions of java, it's obviously not my
> thing, but simply put, I've never *ever* had openjdk work properly for
> anything Java that wasn't specifically built in openjdk.  I just don't
> bother with it usually as most everything is typically built/tested around
> Oracle and Oracle only.
> 
> This proved itself true last week firing up JBidwatcher on this system,
> only had openjdk, and wouldn't even launch with it.  I had to put oracle
> java on it to work still.
> 
> Most enterprise java apps I have seen in use in businesses require
> specific, usually outdated/insecure versions, never get updates because
> they break the apps, and rarely work on anything but the platforms they
> were built on, so I call bullocks on the compatibility play.  It sounds
> great in theory, but every practical application I've seen in use in
> enterprise ended up a bloody mess.
> 
> Much like Flash now, it's just a zombie that won't die, but should imho.
> 
> -mb
> 
> 
> On Mon, May 4, 2020 at 10:33 PM Joseph Sinclair via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
> 
>> Sorry, Michael, but this is complete bunk.
>>
>> On 2020-05-04 11:29 AM, Michael Butash via PLUG-discuss w

Re: question about Java

2020-05-04 Thread Joseph Sinclair via PLUG-discuss
Mike,
  You are running Java 11, which is the current Long Term Support version for 
Java, and preferred for most uses.

If you're running software that isn't horribly outdated and badly designed (and 
there is some of that) it will run on your install just fine.

If the ImageJ2 software is still talking about a transition from Java 6 (circa 
2006!) to Java 8 (circa 2014), they're sufficiently far behind as to be 
dangerous.  There are known unpatched vulnerabilities in Java 8 that make it 
unacceptable for use in a desktop environment.  That's part of why all of the 
distributions have replaced it with Java 11 by default.

You could upgrade to Java 14 for the very latest VM improvements, but it's not 
a particularly big deal unless you're writing Java software or running Java in 
the server realm.

On 2020-05-04 11:24 AM, Michael via PLUG-discuss wrote:
> Thanks for the tip!
> So then looking at it it looks as if I have Java 11 installed. Is that 
> correct?
> 
> apt search oracle jre
> ...
> i   openjdk-11-jre   - OpenJDK
> Java runtime, using Hotspot JIT
> p   openjdk-11-jre:i386  - OpenJDK
> Java runtime, using Hotspot JIT
> p   openjdk-11-jre-dcevm - Alternative
> VM for OpenJDK 11 with enhanced class redefinition
> p   openjdk-11-jre-dcevm:i386- Alternative
> VM for OpenJDK 11 with enhanced class redefinition
> i   openjdk-11-jre-headless  - OpenJDK
> Java runtime, using Hotspot JIT (headless)
> p   openjdk-11-jre-headless:i386 - OpenJDK
> Java runtime, using Hotspot JIT (headless)
> p   openjdk-11-jre-zero  - Alternative
> JVM for OpenJDK, using Zero
> p   openjdk-11-jre-zero:i386 - Alternative
> JVM for OpenJDK, using Zero
> p   openjdk-8-jre- OpenJDK
> Java runtime, using Hotspot JIT
> p   openjdk-8-jre:i386   - OpenJDK
> Java runtime, using Hotspot JIT
> p   openjdk-8-jre-dcevm  - Alternative
> VM for OpenJDK 8 with enhanced class redefinition
> p   openjdk-8-jre-dcevm:i386 - Alternative
> VM for OpenJDK 8 with enhanced class redefinition
> p   openjdk-8-jre-headless   - OpenJDK
> Java runtime, using Hotspot JIT (headless)
> p   openjdk-8-jre-headless:i386  - OpenJDK
> Java runtime, using Hotspot JIT (headless)
> p   openjdk-8-jre-zero   - Alternative
> JVM for OpenJDK, using Zero/Shark
> p   openjdk-8-jre-zero:i386  - Alternative
> JVM for OpenJDK, using Zero/Shark
> p   spamoracle   - statistical
> analysis spam filter based on Bayes' formula
> p   spamoracle:i386  - statistical
> analysis spam filter based on Bayes' formula
> v   spamoracle-byte  -
> v   spamoracle-byte:i386 -
> 
> On Mon, May 4, 2020 at 2:12 PM Michael Butash  wrote:
>>
>> OpenJDK and Oracle JRE are two very different beasts.  Most java software is 
>> developed against Oracle Java, and if so, rarely I find they ever work on 
>> OpenJDK.
>>
>> Look up switching to "oracle jre" on your system, Java 8 as they want.  I 
>> had to figure this out on my arch system recently, ubuntu should just have 
>> to install it, and switch the system to use it, just forget how now.  If 
>> nothing else, start with "apt search oracle jre".
>>
>> Nothing Java ever amounts to any good I've found after ~20 years of it, I 
>> try to use Java as little as possible, scorning any software and hardware 
>> (ahem, Cisco) that uses it still.  Anything Java behaves badly under linux 
>> for me, and the only thing java app I suffer is JBidwatcher for ebay sniping 
>> deals.  It behaves badly, randomly, but still the only darn thing I can find 
>> like it free.
>>
>> -mb
>>
>>
>> On Mon, May 4, 2020 at 9:50 AM Michael via PLUG-discuss 
>>  wrote:
>>>
>>> I want to download a program, ImageJ. I went to the download page and see:
>>>
>>> Unfortunately, due to the ongoing transition from Java 6 to Java 8,
>>> this download of "plain ImageJ2" cannot currently be updated to the
>>> latest Java-8-compatible version. See the Java 8 page for details. For
>>> the time being, we recommend using the Fiji distribution of ImageJ to
>>> stay current with updates.
>>>
>>> Curious as to what version of Java I have
>>>
>>> ~$ java -version
>>> openjdk version "11.0.7" 2020-04-14
>>> OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu218.04)
>>> OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu218.04,
>>> mixed mode, sharing)
>>>
>>> So they are a bit behind?
>>> --
>>> :-)~MIKE~(-:
>>> ---

Re: question about Java

2020-05-04 Thread Joseph Sinclair via PLUG-discuss
Sorry, Michael, but this is complete bunk.

On 2020-05-04 11:29 AM, Michael Butash via PLUG-discuss wrote:
> Again OpenJDK and OracleJRE are totally different - including version
> numbers.  If someone says "works with Java 8", they 99.9% of the time mean
> OracleJRE and their versions, and theirs only.

Oracle JRE or JDK is a repackaged OpenJDK build, and nothing more.  The version 
numbers are identical.  The code is identical.  The build process is identical. 
 The only thing you get with Oracle builds is the *option* to pay for Oracle 
commercial support.
In fact, any package in any Linux distro labeled OpenJDK is generally a 
packaging of the Oracle build, which is why OpenJDK 8 builds are no longer 
available easily, as Oracle pulled Java 8 to commercial-only support last year.

> 
> OpenJDK is only ever used with, well, I don't even know anymore, as
> everyone Open Source moved on to hate Java, Oracle, Larry Ellison, etc.
OpenJDK is, and has always been Open under GPL3
If you want fully open and community (or commercial from not-Oracle) builds of 
any recent Java version (8+) you can get those from adoptopenjdk.org, which is 
a consortium of large and small companies that are supporting continued open 
access to the GPL3 source code and builds of the Java system.
A huge amount of the internet is running OpenJDK, and a vast array of systems 
are transitioning to the adoptopenjdk builds simply to ensure continued access 
to support from multiple vendors.

> You can pretty safely remove/forget OpenJDK as an end-user at this point I
> think, unless something specifically mentions needing it.
If you're running Linux, and you need Java, you should be installing the 
OpenJDK package from your distribution, if nothing else to ensure continued and 
frequent updates along with the rest of the system.
If there is an option for adoptopenjdk for those packages, that's a good 
choice, but the builds from the distribution for Java are made from the 
official codebase that underpins all builds, including Oracle's.

> 
> -mb
> 

Joseph Sinclair

> 
> On Mon, May 4, 2020 at 11:24 AM Michael  wrote:
> 
>> Thanks for the tip!
>> So then looking at it it looks as if I have Java 11 installed. Is that
>> correct?
>>
>> apt search oracle jre
>> ...
>> i   openjdk-11-jre   - OpenJDK
>> Java runtime, using Hotspot JIT
>> p   openjdk-11-jre:i386  - OpenJDK
>> Java runtime, using Hotspot JIT
>> p   openjdk-11-jre-dcevm - Alternative
>> VM for OpenJDK 11 with enhanced class redefinition
>> p   openjdk-11-jre-dcevm:i386- Alternative
>> VM for OpenJDK 11 with enhanced class redefinition
>> i   openjdk-11-jre-headless  - OpenJDK
>> Java runtime, using Hotspot JIT (headless)
>> p   openjdk-11-jre-headless:i386 - OpenJDK
>> Java runtime, using Hotspot JIT (headless)
>> p   openjdk-11-jre-zero  - Alternative
>> JVM for OpenJDK, using Zero
>> p   openjdk-11-jre-zero:i386 - Alternative
>> JVM for OpenJDK, using Zero
>> p   openjdk-8-jre- OpenJDK
>> Java runtime, using Hotspot JIT
>> p   openjdk-8-jre:i386   - OpenJDK
>> Java runtime, using Hotspot JIT
>> p   openjdk-8-jre-dcevm  - Alternative
>> VM for OpenJDK 8 with enhanced class redefinition
>> p   openjdk-8-jre-dcevm:i386 - Alternative
>> VM for OpenJDK 8 with enhanced class redefinition
>> p   openjdk-8-jre-headless   - OpenJDK
>> Java runtime, using Hotspot JIT (headless)
>> p   openjdk-8-jre-headless:i386  - OpenJDK
>> Java runtime, using Hotspot JIT (headless)
>> p   openjdk-8-jre-zero   - Alternative
>> JVM for OpenJDK, using Zero/Shark
>> p   openjdk-8-jre-zero:i386  - Alternative
>> JVM for OpenJDK, using Zero/Shark
>> p   spamoracle   - statistical
>> analysis spam filter based on Bayes' formula
>> p   spamoracle:i386  - statistical
>> analysis spam filter based on Bayes' formula
>> v   spamoracle-byte  -
>> v   spamoracle-byte:i386 -
>>
>> On Mon, May 4, 2020 at 2:12 PM Michael Butash  wrote:
>>>
>>> OpenJDK and Oracle JRE are two very different beasts.  Most java
>> software is developed against Oracle Java, and if so, rarely I find they
>> ever work on OpenJDK.
>>>
>>> Look up switching to "oracle jre" on your system, Java 8 as they want.
>> I had to figure this out on my arch system recently, ubuntu should just
>> have to install it, and switch the system to use it, just forget how now.
>> If nothing else, start with "apt search oracle jre".
>>>
>>> Noth

Re: zoom test tonight

2020-04-08 Thread Joseph Sinclair via PLUG-discuss
Tried to connect, but it will not let me because the meeting is scheduled
for tomorrow.

On Wed, Apr 8, 2020, 17:07 der.hans via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> moin moin,
>
> we're going to test in zoom tonight, drop in if you'd like to help.
>
> zoom is requiring either a desktop app install or a browser addon. It
> does not work with a plain browser :(.
>
> zoom asks for a name and an email address, but doesn't verify either.
>
> https://zoom.us/j/990422062 @ 19:00
>
> ciao,
>
> der.hans
> --
> #  https://www.LuftHans.com   https://www.PhxLinux.org
> #  "Patriotism is supporting your country 100% of the time and your
> #  government when it deserves it." -- Mark Twain
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss