Re: [PLUG] Using GitHub Download

2015-07-11 Thread Rich Shepard
On Fri, 10 Jul 2015, Nat Taylor wrote:

> Read the README.md file that comes with the project.  If you scroll down
> its going to be printed out on the screen, too, at the bottom of the list
> of files.

Nat,

   Yes, the first thing I did was read the README.md file. And I don't use
Rstudio (which seems aimed more for Microsoft users than linux users; it
offers no more -- for me -- than does emacs with ess).

> You're going to need git installed, you can install it in memory using the
> package manager of the liveCD if its not included, otherwise install it on
> your linux machine first, and you are also going to need gcc (I think) and
> the dependencies listed in the next section: Build the book

   Er, gcc comes with every linux distribution, and there's no 'second'
machine here.

> You can build the pdf by cloning this repo and running make:

   Aha! That's what I suspected was the case. The only stackexchange thread I
found pointed to the presence of the all-inclusive .zip file so that's what
I did.

   Will install git just for this type of situation. I use subversion so have
never looked at git.

> If you use RStudio, you can press Cmd/Ctrl + Shift + B to run make.

   Don't ... and won't.

Thanks,

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Rich Shepard
On Fri, 10 Jul 2015, Denis Heidtmann wrote:

> Short of a new computer, any ideas?

Denis,

   The hard drive is fine, which makes me wonder if the power supply is
getting flaky or a fan is not sufficiently cooling the CPU.

   I've had 2 power supply failures, but so long ago I don't recall the
symptoms until they completely failed.

   Depending on the computer's age, a new one using the same hard drive might
be the least frustrating, and time-consuming, option.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Robert Citek
On Fri, Jul 10, 2015 at 9:42 PM, Jim Garrison  wrote:
> On 7/10/2015 8:00 PM, Denis Heidtmann wrote:
 This time I used e2fsck -fvp /dev/sda1 from the Ubuntu 12.04 live CD.  No
 errors found.
>
> How is your disk partitioned? /dev/sda1 may not be the
> damaged partition.

To show us the disk partitions, run this:

$ cat /proc/partitions

And to show us the mounted filesystems, run this:

$ df -mTPl -x tmpfs -x devtmpfs

Regards,
- Robert
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-11 Thread Robert Citek
On Sat, Jul 11, 2015 at 5:57 AM, Rich Shepard  wrote:
>Will install git just for this type of situation. I use subversion so have
> never looked at git.

git takes a bit of getting used to if coming from CVS or subversion.
But once understood, it's quite a nice VCS.

Regards,
- Robert
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Denis Heidtmann
On Sat, Jul 11, 2015 at 6:10 AM, Robert Citek 
wrote:

> On Fri, Jul 10, 2015 at 9:42 PM, Jim Garrison  wrote:
> > On 7/10/2015 8:00 PM, Denis Heidtmann wrote:
>  This time I used e2fsck -fvp /dev/sda1 from the Ubuntu 12.04 live
> CD.  No
>  errors found.
> >
> > How is your disk partitioned? /dev/sda1 may not be the
> > damaged partition.
>
> To show us the disk partitions, run this:
>
> $ cat /proc/partitions
>
> And to show us the mounted filesystems, run this:
>
> $ df -mTPl -x tmpfs -x devtmpfs
>
> Regards,
> - Robert


I was planning on running e2fsck on sda2 and sda5 later today.  Here are
the results of your suggested commands:

parents@R2D4:~$  cat /proc/partitions
major minor  #blocks  name

   80  488386584 sda
   81  482809446 sda1
   82  1 sda2
   855574523 sda5
  1101048575 sr0


parents@R2D4:~$ df -mTPl -x tmpfs -x devtmpfs
Filesystem Type 1048576-blocks   Used Available Capacity Mounted on
/dev/sda1  ext3 464095 229728210793  53% /


parents@R2D4:~$ sudo fdisk -l
[sudo] password for parents:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d3a6a

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *  63   965618954   482809446   83  Linux
/dev/sda2   965618955   976768064 55745555  Extended
/dev/sda5   965619018   976768064 5574523+  82  Linux swap / Solaris

-Denis
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Galen Seitz
On 07/11/15 07:48, Denis Heidtmann wrote:
> I was planning on running e2fsck on sda2 and sda5 later today.  Here are
> the results of your suggested commands:
> 
> parents@R2D4:~$  cat /proc/partitions
> major minor  #blocks  name
> 
>80  488386584 sda
>81  482809446 sda1
>82  1 sda2
>855574523 sda5
>   1101048575 sr0
> 
> 
> parents@R2D4:~$ df -mTPl -x tmpfs -x devtmpfs
> Filesystem Type 1048576-blocks   Used Available Capacity Mounted on
> /dev/sda1  ext3 464095 229728210793  53% /
> 
> 
> parents@R2D4:~$ sudo fdisk -l
> [sudo] password for parents:
> 
> Disk /dev/sda: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x000d3a6a
> 
>Device Boot  Start End  Blocks   Id  System
> /dev/sda1   *  63   965618954   482809446   83  Linux
> /dev/sda2   965618955   976768064 55745555  Extended
> /dev/sda5   965619018   976768064 5574523+  82  Linux swap / Solaris

OK, so you only have one disk partition that is being used as a
filesystem.  sda2/sda5 is an extended partition that is being used as
swap.  Given that you have successfully run fsck on sda1, it would seem
the problem lies elsewhere.

I'd still recommend giving the cabling and fans a check.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-11 Thread Nat Taylor
I took it as a challenge and tried installing
the dependencies in arch Linux, but it was a pain translating the packages
and I didn't care that much.  Looks like you're golden on an apt based
distribution
 On Jul 11, 2015 6:44 AM, "Robert Citek"  wrote:

> On Sat, Jul 11, 2015 at 5:57 AM, Rich Shepard 
> wrote:
> >Will install git just for this type of situation. I use subversion so
> have
> > never looked at git.
>
> git takes a bit of getting used to if coming from CVS or subversion.
> But once understood, it's quite a nice VCS.
>
> Regards,
> - Robert
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-11 Thread Rich Shepard
On Sat, 11 Jul 2015, Nat Taylor wrote:

> I took it as a challenge and tried installing the dependencies in arch
> Linux, but it was a pain translating the packages and I didn't care that
> much. Looks like you're golden on an apt based distribution

   Goodie for those on an apt-based distribution. Slackware ain't.
Howsomever, slackbuilds.org has "smartgit (6.5.8), a commercial desktop git
client that provides a free non-commercial use license." Required jdk (which
is installed and used by a couple of other applications, including JabRef
and jGnash). Think I'll give it a try.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Denis Heidtmann
On Sat, Jul 11, 2015 at 8:15 AM, Galen Seitz  wrote:

> On 07/11/15 07:48, Denis Heidtmann wrote:
> > I was planning on running e2fsck on sda2 and sda5 later today.  Here are
> > the results of your suggested commands:
> >
> > parents@R2D4:~$  cat /proc/partitions
> > major minor  #blocks  name
> >
> >80  488386584 sda
> >81  482809446 sda1
> >82  1 sda2
> >855574523 sda5
> >   1101048575 sr0
> >
> >
> > parents@R2D4:~$ df -mTPl -x tmpfs -x devtmpfs
> > Filesystem Type 1048576-blocks   Used Available Capacity Mounted on
> > /dev/sda1  ext3 464095 229728210793  53% /
> >
> >
> > parents@R2D4:~$ sudo fdisk -l
> > [sudo] password for parents:
> >
> > Disk /dev/sda: 500.1 GB, 500107862016 bytes
> > 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
> > Units = sectors of 1 * 512 = 512 bytes
> > Sector size (logical/physical): 512 bytes / 512 bytes
> > I/O size (minimum/optimal): 512 bytes / 512 bytes
> > Disk identifier: 0x000d3a6a
> >
> >Device Boot  Start End  Blocks   Id  System
> > /dev/sda1   *  63   965618954   482809446   83  Linux
> > /dev/sda2   965618955   976768064 55745555  Extended
> > /dev/sda5   965619018   976768064 5574523+  82  Linux swap /
> Solaris
>
> OK, so you only have one disk partition that is being used as a
> filesystem.  sda2/sda5 is an extended partition that is being used as
> swap.  Given that you have successfully run fsck on sda1, it would seem
> the problem lies elsewhere.
>
> I'd still recommend giving the cabling and fans a check.
>
>
> galen
>

If it is fans, it would have to be slow starting, since the failures have
always been on starting from a cold machine.  That should be easy to
check.  Cabling:  Everything is inside the case, so there should be only a
few to wiggle and plug/unplug.  Then the test will be waiting for a
failure.  The absence of an immediate failure does not mean a fix.

What about the power supply?  I replaced it Sept 2014 (Antec EA380D).

Could the MB or processor be the issue?  Flaky capacitor somewhere?
Impossible to find if so.

-Denis
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download [RESOLVED]

2015-07-11 Thread Rich Shepard
On Fri, 10 Jul 2015, Rich Shepard wrote:

>   An update to a 5-year-old book is being written with code available on
> the project's github page. The author asks for feedback on the developing
> second edition, and I need to learn how to use the subject of the book
> (ggplot2 for R graphics).

   Turns out that I don't need to learn or use ggplot2; the lattice package
will work just as well with the knitr module that allows R code to be
embedded in LaTeX/LyX documents. When the document is compiled, the R code
is compiled first and the results are included within the LaTeX/LyX
document. This saves cutting-and-pasting and provide guidance on using R to
analyze data to those reading the document.

   It's interesting that all the knitr documents I've read, including Xuihi's
book, mention only R's base graphics and Hadley Wickham's ggplot2. That's
why I thought I needed an additional graphics package.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Bill Barry
On Sat, Jul 11, 2015 at 12:40 PM, Denis Heidtmann
 wrote:
>
> If it is fans, it would have to be slow starting, since the failures have
> always been on starting from a cold machine.  That should be easy to
> check.  Cabling:  Everything is inside the case, so there should be only a
> few to wiggle and plug/unplug.  Then the test will be waiting for a
> failure.  The absence of an immediate failure does not mean a fix.
>
> What about the power supply?  I replaced it Sept 2014 (Antec EA380D).
>
> Could the MB or processor be the issue?  Flaky capacitor somewhere?
> Impossible to find if so.
>

Which version of grub are you using?   What does
grub-probe -V
say?
It looks like an error message from the old legacy grub. It might be
having problems rebooting with the drives changing names between
reboots. If it is the old grub, your problems might be fixed by
upgrading grub to grub2.

Bill
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Bill Barry
On Sat, Jul 11, 2015 at 1:09 PM, Bill Barry  wrote:

>
> Which version of grub are you using?   What does
> grub-probe -V
> say?
> It looks like an error message from the old legacy grub. It might be
> having problems rebooting with the drives changing names between
> reboots. If it is the old grub, your problems might be fixed by
> upgrading grub to grub2.
>
> Bill

Another possibility is that you have two disk, one of which has an old
version of grub on it and occasionally your system is trying to boot
from the disk with the old grub on it. This can be fixed by installing
the correct grub on all the disks. Make sure you have booted correctly
to your normal working system and run
sudo dpkg-reconfigure grub-pc
choose the defaults until you get to the screen for Grub install
devices: and put a check mark in front of all the disks /dev/sda ,
/dev/sdb, not the partitions /dev/sda1 etc.

Bill
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Denis Heidtmann
On Sat, Jul 11, 2015 at 1:09 PM, Bill Barry  wrote:

> On Sat, Jul 11, 2015 at 12:40 PM, Denis Heidtmann
>  wrote:
> >
> > If it is fans, it would have to be slow starting, since the failures have
> > always been on starting from a cold machine.  That should be easy to
> > check.  Cabling:  Everything is inside the case, so there should be only
> a
> > few to wiggle and plug/unplug.  Then the test will be waiting for a
> > failure.  The absence of an immediate failure does not mean a fix.
> >
> > What about the power supply?  I replaced it Sept 2014 (Antec EA380D).
> >
> > Could the MB or processor be the issue?  Flaky capacitor somewhere?
> > Impossible to find if so.
> >
>
> Which version of grub are you using?   What does
> grub-probe -V
> say?
> It looks like an error message from the old legacy grub. It might be
> having problems rebooting with the drives changing names between
> reboots. If it is the old grub, your problems might be fixed by
> upgrading grub to grub2.
>
> Bill
>

grub-probe (GRUB) 1.99-21ubuntu3.17

It is  the old grub.  But why /how would the drive change names?  I have
two drives, but one,  used to store backups, is always powered off except
once per week when I do backups, and it is only turned on after the system
is booted.

-Denis
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Denis Heidtmann
On Sat, Jul 11, 2015 at 1:37 PM, Bill Barry  wrote:

> On Sat, Jul 11, 2015 at 1:09 PM, Bill Barry  wrote:
>
> >
> > Which version of grub are you using?   What does
> > grub-probe -V
> > say?
> > It looks like an error message from the old legacy grub. It might be
> > having problems rebooting with the drives changing names between
> > reboots. If it is the old grub, your problems might be fixed by
> > upgrading grub to grub2.
> >
> > Bill
>
> Another possibility is that you have two disk, one of which has an old
> version of grub on it and occasionally your system is trying to boot
> from the disk with the old grub on it. This can be fixed by installing
> the correct grub on all the disks. Make sure you have booted correctly
> to your normal working system and run
> sudo dpkg-reconfigure grub-pc
> choose the defaults until you get to the screen for Grub install
> devices: and put a check mark in front of all the disks /dev/sda ,
> /dev/sdb, not the partitions /dev/sda1 etc.
>
> Bill
>

You can see from my other answer that there is only one disk powered when
booting.

Other than bringing my system into the 21st century, is there a benefit in
changing to Grub 2?  Will the procedure you outline do that for my system
which has the old grub?

Thanks,

-Denis
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] What CMS to use ?

2015-07-11 Thread Pete Lancashire
It is time for me to start putting stuff on my website. One section will be
litterly 1,000s of scanned magazines, catalogs etc, Then another topics of
interest, musings etc.

On Fri, Jul 10, 2015 at 3:51 PM, Louis Kowolowski 
wrote:

> If you go with something that is PHP based, be careful. There are *lots*
> of exploits for PHP.
>
> What kind of requirements do you have?
>
>
> > On Jul 10, 2015, at 12:18 PM, Nat Taylor  wrote:
> >
> > You can read about them here: http://www.opensourcecms.com/
> >
> > IMO, WordPress simplest, drupal is super powerful and extensible, and
> > joomla has a pretty admin interface.
> > …
> > ___
> > PLUG mailing list
> > PLUG@lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
>
> --
> Louis Kowolowskilou...@cryptomonkeys.org
> 
> Cryptomonkeys:
> http://www.cryptomonkeys.com/ 
>
> Making life more interesting for people since 1977
>
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Bill Barry
On Sat, Jul 11, 2015 at 2:27 PM, Denis Heidtmann
 wrote:
>> >
>>
>> Which version of grub are you using?   What does
>> grub-probe -V
>> say?
>> It looks like an error message from the old legacy grub. It might be
>> having problems rebooting with the drives changing names between
>> reboots. If it is the old grub, your problems might be fixed by
>> upgrading grub to grub2.
>>
>> Bill
>>
>
> grub-probe (GRUB) 1.99-21ubuntu3.17
>
> It is  the old grub.  But why /how would the drive change names?  I have
> two drives, but one,  used to store backups, is always powered off except
> once per week when I do backups, and it is only turned on after the system
> is booted.
>
1.99..  is the new grub so no need to upgrade, but that error message
"Error 16: Inconsistent file system structure."
is a legacy-grub error message.
You can see it here
http://www.gnu.org/software/grub/manual/legacy/grub.html#Stage2-errors

For some reason there is a remnant of the old grub hanging around on
your system and occasionally your system is trying to boot from it.
You might diagnose the problem by running sudo bootinfoscript
http://sourceforge.net/projects/bootinfoscript/
and looking at the RESULTS.TXT file it creates.

Or you could just try reinstalling grub to see if that will fix it.
sudo dpkg-reconfigure grub-pc

or

sudo grub-install /dev/sda

Bill
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Firefox again

2015-07-11 Thread John Jason Jordan
Firefox 38.0 on Xubuntu 14.04.1, up to date. 

I used to have an URL bar and a smaller search bar in the same toolbar.
Suddenly my URL bar is missing; that is, what was the URL bar has become
a larger search bar. I no longer have any way to tell what URL I am on.
If someone thought this was an improvement I'd like to find him so I
can explain some things, non-verbally.

Does anyone know how to get the URL bar back?
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using GitHub Download

2015-07-11 Thread Nat Taylor
you could try it in an ubuntu or debian docker container on your slackware
desktop.
And slackware should DEFINITELY have git baked in somehow.  Here it is.
http://packages.slackware.com/?r=slackware-current&p=git-2.3.5-i486-1.txz


On Sat, Jul 11, 2015 at 10:57 AM, Rich Shepard 
wrote:

> On Sat, 11 Jul 2015, Nat Taylor wrote:
>
> > I took it as a challenge and tried installing the dependencies in arch
> > Linux, but it was a pain translating the packages and I didn't care that
> > much. Looks like you're golden on an apt based distribution
>
>Goodie for those on an apt-based distribution. Slackware ain't.
> Howsomever, slackbuilds.org has "smartgit (6.5.8), a commercial desktop
> git
> client that provides a free non-commercial use license." Required jdk
> (which
> is installed and used by a couple of other applications, including JabRef
> and jGnash). Think I'll give it a try.
>
> Rich
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug