Re: [PLUG] Arduino issue

2016-09-24 Thread Neal
OS? Language? SD card access library? Version numbers? :-)

It's been too long since I Arduio-anything'ed to have any specific hints up
my sleeve regarding environment etc. I'll take a stab or two from a
hardware point of view. I have no clue as to what SD card read/erase/write
cycle times might be, so some of the following may not apply.

Is it at all possible you (or another thread) is polling the RTC or
servicing RTC interrupts while the read/modify/write is occurring? Assuming
the RTC is also an SPI device it might disrupt the SD card update
operation, likely made up of discrete read + modify/erase + write
operations. This will typically take on the order of milliseconds, at least
with "classic" SPI/I2C EEPROM/NVRAM chips.

Even if it worked as-is I'd strongly suggest keeping the string in RAM, and
only write a copy of it to the SD card after each update. Take proper care
to re-init the RAM copy from SD card at start-up, etc.

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


Re: [PLUG] Arduino issue

2016-09-24 Thread Russell Senior
> "Denis" == Denis Heidtmann  writes:

Denis> I am developing a logging program.  The Arduino is a Uno R2.  It
Denis> has an ATAfruit SD shield w/ RTC.  For testing purposes I record
Denis> data once per second.  When I am finished testing I will be
Denis> taking data much less frequently, although there might be random
Denis> times when a few data points are only one second apart.

Denis> I convert the data ( a long; two strings, 3 ints) to a string in
Denis> CSV format.  But often not all the data gets assembled into the
Denis> string.  It seems that the += operation does not append the
Denis> string to be added.

Denis> I removed the references to the SD card and the failures went
Denis> away, or so it seems.  I need to run it for a longer time, but
Denis> before I removed the SD stuff the problem showed up in two to
Denis> four seconds.  So let's assume that the issue was the SD writing.

Denis> How might I go about exploring this issue?

Can you post the relevant code?


-- 
Russell Senior, President
russ...@personaltelco.net
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Arduino issue

2016-09-24 Thread Bill Barry
On Sep 24, 2016 4:57 PM, "Denis Heidtmann" 
wrote:
>
> I am developing a logging program.  The Arduino is a Uno R2.  It has an
> ATAfruit SD shield w/ RTC.  For testing purposes I record data once per
> second.  When I am finished testing I will be taking data much less
> frequently, although there might be random times when a few data points
are
> only one second apart.
>
> I convert the data ( a long; two strings, 3 ints) to a string in CSV
> format.  But often not all the data gets assembled into the string.  It
> seems that the += operation does not append the string to be added.
>

Try simplifying things. Just write out the long and see if that works. If
so move to the ints, etc and see if you can find out if one of the
individual datum is causing the problem.

Bill

> I removed the references to the SD card and the failures went away, or so
> it seems.  I need to run it for a longer time, but before I removed the SD
> stuff the problem showed up in two to  four seconds.  So let's assume that
> the issue was the SD writing.
>
> How might I go about exploring this issue?
>
> Thanks,
> -Denis
> ___
> 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


[PLUG] Arduino issue

2016-09-24 Thread Denis Heidtmann
I am developing a logging program.  The Arduino is a Uno R2.  It has an
ATAfruit SD shield w/ RTC.  For testing purposes I record data once per
second.  When I am finished testing I will be taking data much less
frequently, although there might be random times when a few data points are
only one second apart.

I convert the data ( a long; two strings, 3 ints) to a string in CSV
format.  But often not all the data gets assembled into the string.  It
seems that the += operation does not append the string to be added.

I removed the references to the SD card and the failures went away, or so
it seems.  I need to run it for a longer time, but before I removed the SD
stuff the problem showed up in two to  four seconds.  So let's assume that
the issue was the SD writing.

How might I go about exploring this issue?

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


Re: [PLUG] Gkrellmd on RPi

2016-09-24 Thread Don Buchholz
To see what ports are open for communication, try using something like  
"netstat -an -A inet".  (On the road, so no system with man pages available.  
If I botched the area, you'll have to read the manpage.).  'lsof' might be 
useful, if you can give it a PID as an argument ...

On September 24, 2016 4:17:32 PM PDT, Chuck Hast  wrote:
>No, that was the first thng I tried, you have to set it up. Funny thing
>is
>that I
>can run gkrellmd on a linux box and reach out to it from the RPi, but I
>can
>not get to gkrellmd on the RPi. I can see gkrellmd running in TOP but I
>am
>wondering if it is reading the config file.
>
>
>On Sat, Sep 24, 2016 at 1:44 AM, Tom 
>wrote:
>
>> Firewall on Pi?
>>
>> Can you connect to gkrellmd locally?
>> If yes, look at Pi's system logs to see if the firewall is dropping
>> your gkrellm client connection requests.
>>
>> T
>>
>> On Thu, 2016-09-22 at 23:21 -0700, Chuck Hast wrote:
>> > Folks,
>> > I have been trying to run gkrellmd on some RPi's. But when I try to
>> > connect
>> > to the gkrellmd daemon, I get "broken server connection" I have
>> > installed
>> > gkrellmd on some other Linux machines here and I am able to connect
>> > to
>> > those and view the gkrellm output. Indeed I gan go from the RPi to
>> > the
>> > laptops/desktops and I can connect to the gkrellmd in all.
>> >
>> > Gkrellmd is running on the RPi's I can see it in TOP. I just can
>not
>> > connect to it. Any ideas?
>> > ___
>> > 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
>>
>
>
>
>-- 
>
>Chuck Hast  -- KP4DJT --
>Glass, five thousand years of history and getting better.
>The only container material that the USDA gives blanket approval on.
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Gkrellmd on RPi

2016-09-24 Thread Chuck Hast
No, that was the first thng I tried, you have to set it up. Funny thing is
that I
can run gkrellmd on a linux box and reach out to it from the RPi, but I can
not get to gkrellmd on the RPi. I can see gkrellmd running in TOP but I am
wondering if it is reading the config file.


On Sat, Sep 24, 2016 at 1:44 AM, Tom  wrote:

> Firewall on Pi?
>
> Can you connect to gkrellmd locally?
> If yes, look at Pi's system logs to see if the firewall is dropping
> your gkrellm client connection requests.
>
> T
>
> On Thu, 2016-09-22 at 23:21 -0700, Chuck Hast wrote:
> > Folks,
> > I have been trying to run gkrellmd on some RPi's. But when I try to
> > connect
> > to the gkrellmd daemon, I get "broken server connection" I have
> > installed
> > gkrellmd on some other Linux machines here and I am able to connect
> > to
> > those and view the gkrellm output. Indeed I gan go from the RPi to
> > the
> > laptops/desktops and I can connect to the gkrellmd in all.
> >
> > Gkrellmd is running on the RPi's I can see it in TOP. I just can not
> > connect to it. Any ideas?
> > ___
> > 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
>



-- 

Chuck Hast  -- KP4DJT --
Glass, five thousand years of history and getting better.
The only container material that the USDA gives blanket approval on.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Another reason to NOT buy HP

2016-09-24 Thread Rich Shepard
On Sat, 24 Sep 2016, King Beowulf wrote:

>> HP just made it impossible to use third-party ink in its printers
> --snip---

> Also, over the decades, I've had mixed experiences with 3rd-party ink.
> For lasers, in an FDA CGMP regulated pharmaceutical lab, HP cartridges
> on good archival paper were always superior. The front office used
> cheaper generics where the fused ink tended to flake off the page. For
> inkjets, generic cartridges tended to clog more often and the ink tended
> to bleed on the page.

   FWIW, I buy refilled HP laser cartridges for both the LJ-5 monochome and 
2550L
color at Cartridge World and they've all worked great for me. My inkjet
experience (with an large format HP deskjet) was not happy because I used it
infrequently and the print heads would clog. Heads and color cartridges were
separate and cost $75 each; that's an expensive replacement cost.

   Ed's correct that many of us print infrequently. I'll stick with my old HP
laser printers as long as I can.

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


Re: [PLUG] Web site URL points to localhost

2016-09-24 Thread jim karlock
That is actually a well recognized economic fallacy. What it leaves 
out is the fact that that money could have been spent on other things 
that would improve our lives, instead of replacing perfectly good 
things with no net benefit.

That is why many people oppose "alternative" energy - it will waste 
the billions we spent on our perfectly OK current power system with 
new. While that money would be better spent improving our lives, 
bringing people out of poverty, building new roads, or feeding our families.

Unfortunately most politicians don't have a clue about this or other 
economic concepts.

thanks
JK




At 08:57 AM 9/24/2016, Denis Heidtmann wrote:
>On Fri, Sep 23, 2016 at 8:20 PM, Russell Johnson  wrote:
>
> >
> > ...
> > Just as law enforcement won't eliminate or curtail, or in a lot of
> > instances prosecute these crimes because the gain to the economy is much
> > more than the losses incurred.
> >
>
>
>If true, this is an example of why I could never understand economics.  If
>I set fire to a bunch of buildings, the economy improves since all those
>fire fighters, demolition and construction workers are now employed.  Let's
>become the richest country in the world by setting fire to all our cities!
>Econ-logic.
>
>-Denis
>___
>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


[PLUG] Lotus 123 gone...

2016-09-24 Thread Michael Robinson
I'm migrating my father from Windows 98SE to Windows 7 32 bit edition.  
  To prepare for this, I've copied all of his Jazz disks as best I  
could to an SSD and to a slackware based file server.  I also copied  
all of his zip disks to the same fileserver and SSD.  If the Iomega  
drives have to go for Windows 7, so be it.  Lotus is no more and
there is no official version for Windows 7.  Ouch, what about his data  
that worked with Lotus 123 Release 5???

He has a bernoulli drive too, but he doesn't want to flip over to the  
slackware command line to mount and umount
bernoulli disks.  Windows 98SE doesn't support bernoulli drives  
apparently.  Working through about 38 good zip disks and 18 good Jazz  
disks was no picnic at all.  I'd like to get the bernoulli drive off  
of the file server.
Honestly, I'm questioning whether having removable media drives on his  
file server is particularly useful?

Anyone know if Libreoffice Calc will open Dad's Lotus files?  Do they  
need to be converted?
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Another reason to NOT buy HP

2016-09-24 Thread King Beowulf
On 09/24/2016 02:54 AM, jim karlock wrote:
> from: 
> http://www.zdnet.com/article/hp-just-made-it-impossible-to-use-third-party-ink-in-its-printers/
> 
> 
> HP just made it impossible to use third-party ink in its printers
> 
> HP silently disabled the ability to use third-party printer ink 
> cartridges in its HP Officejet printer lines.
> 
--snip---

Yes and no re: purchase of HP printers. I find that HP has historically
provided excellent Linux support via HPLIP and CUPS.  I would hate to
give that up.  print-scan-fax with GUI push button ease is nice.

Also, over the decades, I've had mixed experiences with 3rd-party ink.
For lasers, in an FDA CGMP regulated pharmaceutical lab, HP cartridges
on good archival paper were always superior. The front office used
cheaper generics where the fused ink tended to flake off the page. For
inkjets, generic cartridges tended to clog more often and the ink tended
to bleed on the page.

So to save $17, I should buy a new printer, and donate the old one to
Free Geek? Use cheap ink for my archival photopaper? No thanks.

And how much do we REALLY print these days?  If its for a job, that's a
business expense so the final cartridge cost is $0.  I haven't paid
out-of-pocket for ink in nearly 9 years.  If it's for home, use the best
materials for archival grade storage.  Digital degrades, etc, but good
paper and ink lasts millennia.

Then again there is this:
http://www.epson.com/cgi-bin/Store/jsp/Landing/ecotank-super-tank-printers.do?ref=van:us-ecotank

No ink needed for up to 2 yrs, no ink cartridges to replace, but these
printers aren't cheap starting at $300 or so.  Epson has a spotty record
for Linux drivers and support.

Just my 2 cents,
-Ed

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


Re: [PLUG] Setting display colors

2016-09-24 Thread King Beowulf
On 09/24/2016 07:52 AM, Rich Shepard wrote:
>In /etc/DIR_COLORS directories should be displayed in yellow (DIR 01;33).
> However, on my laptop they're displayed in blue (color 34). No file type in
> DIR_COLORS is specified as 34 so I have no idea why directories are
> displayed in blue rather than yellow.
> 
>There's nothing in ~/.bashrc or ~/.bash_profile with a file display color 
> of
> 34.
> 
>Thoughts on where to look are needed.
> 
> TIA,

If the LS_COLORS variable doesn't quite match /etc/DIR_COLORS, look for
a '.dir_colors' file in the $HOME directory.  This will override the one
in /etc.  That's the only place I can think of where user specific
colors are set.  Also, it' standard practice NOT to edit /etc/DIR_COLORS
but to

cat /etc/DIR_COLORS > $HOME/.dir_colors

and edit that one, lest updates break your color scheme.

Have Fun!
-Ed

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


Re: [PLUG] Setting display colors

2016-09-24 Thread Rich Shepard
On Sat, 24 Sep 2016, Rich Shepard wrote:

>   Yes, there is, as I write in my message. And, in /etc/DIR_COLORS the
> specification for directory colors is 33 (yellow), but directories are
> displayed in blue with the ls command.

   Sorry that I did not clearly explain the situation.

   In all hosts, /etc/DIR_COLORS is modified so that when files are listed
all directories display in yellow for contrast with the black terminal
background. For some reason, in my laptop, directories display in the
default dark blue (34) despite having the color specified as yellow (33) in
/etc/DIR_COLORS.

   I'd like to understand why color specifications are not being followed.

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


Re: [PLUG] Setting display colors

2016-09-24 Thread Rich Shepard
On Sat, 24 Sep 2016, Dale Snell wrote:

> Check in /etc.  There should be a DIR_COLORS file there.

Dale,

   Yes, there is, as I write in my message. And, in /etc/DIR_COLORS the
specification for directory colors is 33 (yellow), but directories are
displayed in blue with the ls command.

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


Re: [PLUG] Setting display colors

2016-09-24 Thread Dale Snell
On Sat, 24 Sep 2016 07:52:29 -0700 (PDT), in message
alpine.LNX.2.11.1609240748060.16601@localhost, Rich Shepard wrote:

>In /etc/DIR_COLORS directories should be displayed in yellow (DIR
> 01;33). However, on my laptop they're displayed in blue (color 34).
> No file type in DIR_COLORS is specified as 34 so I have no idea why
> directories are displayed in blue rather than yellow.
> 
>There's nothing in ~/.bashrc or ~/.bash_profile with a file
> display color of 34.
> 
>Thoughts on where to look are needed.

Check in /etc.  There should be a DIR_COLORS file there.

--Dale

-- 
"Have a place for everything and keep the thing somewhere else;
this is not advice, it is merely custom."  -- Mark Twain
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Web site URL points to localhost

2016-09-24 Thread Rich Shepard
On Sat, 24 Sep 2016, Denis Heidtmann wrote:

> If true, this is an example of why I could never understand economics. If
> I set fire to a bunch of buildings, the economy improves since all those
> fire fighters, demolition and construction workers are now employed. Let's
> become the richest country in the world by setting fire to all our cities!
> Econ-logic.

   A cynic might apply the same logic to vehicle accidents. There's lot of
economic stimulus that follows an accident.

Rich

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


Re: [PLUG] Web site URL points to localhost

2016-09-24 Thread Denis Heidtmann
On Fri, Sep 23, 2016 at 8:20 PM, Russell Johnson  wrote:

>
> ...
> Just as law enforcement won't eliminate or curtail, or in a lot of
> instances prosecute these crimes because the gain to the economy is much
> more than the losses incurred.
>


If true, this is an example of why I could never understand economics.  If
I set fire to a bunch of buildings, the economy improves since all those
fire fighters, demolition and construction workers are now employed.  Let's
become the richest country in the world by setting fire to all our cities!
Econ-logic.

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


[PLUG] Setting display colors

2016-09-24 Thread Rich Shepard
   In /etc/DIR_COLORS directories should be displayed in yellow (DIR 01;33).
However, on my laptop they're displayed in blue (color 34). No file type in
DIR_COLORS is specified as 34 so I have no idea why directories are
displayed in blue rather than yellow.

   There's nothing in ~/.bashrc or ~/.bash_profile with a file display color of
34.

   Thoughts on where to look are needed.

TIA,

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


[PLUG] Another reason to NOT buy HP

2016-09-24 Thread jim karlock
from: 
http://www.zdnet.com/article/hp-just-made-it-impossible-to-use-third-party-ink-in-its-printers/


HP just made it impossible to use third-party ink in its printers

HP silently disabled the ability to use third-party printer ink 
cartridges in its HP Officejet printer lines.

By 
Steven 
J. Vaughan-Nichols for Between the 
Lines | September 20, 2016 -- 19:29 GMT (12:29 PDT) | Topic: 
Hardware
Recommended Content:

White
 
Papers: Practical Options for Deploying Small Server Rooms and Micro 
Data Centers
Small server rooms and branch offices are typically unorganized, 
unsecure, hot, unmonitored, and space constrained. These conditions 
can lead to system downtime or, at the very least, lead to "close 
calls" that get management's attention. Practical...
Read
 
more
* 
116
 

* 1020
* 125

It's an old business model. You sell razors cheaply and then you make 
your profit from selling expensive blades. 
Hewlett-Packard (HP), and other printer 
companies, have been using the 
razor/blade 
model for years. Now, they've taken it to a new level. HP, according 
to the Dutch ink seller, 123inkt.nl, is 
deliberately making it impossible for you to use refurbished ink 
cartridges in HP 
Officejet printers.

The ink in this HP printer costs more than any other element within it.

Guess what? They're right.

While HP took its time getting back to me, I tried a third-party ink 
cartridge in my 
HP
 
OfficeJet Pro 8610. Sure enough, it didn't work. Instead, I was 
informed that the ink cartridge was damaged. I was unable to print a 
single page.

Since then, HP has gotten back to me. The company's official statement said:

Beginning in 2015, HP implemented updates to the firmware related to 
the security chip in HP OfficeJet, OfficeJet Pro and OfficeJet Pro X 
printers that maintains secure communications between the cartridge 
and the printer. The purpose of this update is to protect HP's 
innovations and intellectual property. These printers will continue 
to work with refilled or re-manufactured cartridges with an Original 
HP security chip. Other cartridges may not function. In many cases 
this functionality was installed in the HP printer and in some cases 
it has been implemented as part of an update to the printer's firmware.

Innovations? Intellectual property? It's a printer, not a nuclear submarine.

What HP really wants, of course, is to make more money.

This is not the first time, not will it be the last, that HP has gone 
after companies offering users a cheap deal on printer ink.

More than a decade ago, HP, Epson, and Canon were all trying to use 
smart
 
chips to keep users from using refilled ink cartridges. Since then, 
HP has 
sued 
companies for violating their printer cartridges patents.

How
 
Network Automation Helps Make IT Agile

Monitor device configurations to avoid preventable network errors. 
Download a free trial of SolarWinds Network Configuration Manager 

Re: [PLUG] Gkrellmd on RPi

2016-09-24 Thread Tom
Firewall on Pi?

Can you connect to gkrellmd locally?
If yes, look at Pi's system logs to see if the firewall is dropping
your gkrellm client connection requests.

T

On Thu, 2016-09-22 at 23:21 -0700, Chuck Hast wrote:
> Folks,
> I have been trying to run gkrellmd on some RPi's. But when I try to
> connect
> to the gkrellmd daemon, I get "broken server connection" I have
> installed
> gkrellmd on some other Linux machines here and I am able to connect
> to
> those and view the gkrellm output. Indeed I gan go from the RPi to
> the
> laptops/desktops and I can connect to the gkrellmd in all.
> 
> Gkrellmd is running on the RPi's I can see it in TOP. I just can not
> connect to it. Any ideas?
> ___
> 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