Re: [gentoo-user] Scanning double sided documents and printing them the same.

2020-12-09 Thread Dale
the...@sys-concept.com wrote:
> On 12/09/2020 05:46 PM, the...@sys-concept.com wrote:
>> On 12/09/2020 05:09 PM, Dale wrote:
>>> Howdy,
>>>
>>> I have a flatbed scanner.  It's a old HP 4570.  I been using Skanlite to
>>> scan pictures etc and it does a great job.  On occasion tho I have a
>>> double sided document.  I know how to scan them, scan one side, flip
>>> over and scan the back.  That's easy enough.  How do I print them the
>>> same way tho?  Sometimes I use it like a copying machine basically. 
>>> Scan in, then print.  I'm not quite sure how to print the double sided
>>> stuff in one go tho. 
>>>
>>> If someone does the same as me, can you share how you print them two
>>> sided?  My printer is duplex so I just need to import both sides and
>>> tell it to print.  I'm just not sure what software does that and makes
>>> it easy.
>>>
>>> Thoughts??
>>>
>>> Dale
>>>
>>> :_)  :-) 
>>>
>> Do you use XSane  to scan it?  You setup the printer in Setup menu under
>> "Copy" and scan in duplex mode.  If you printer is setup by default to
>> print duplex it will print it correctly, in duplex.  If not you will get
>> two pages, it prints directly to a printer (the print windows doesn't
>> pop-up).
>>
>> I suggest to scan it first to a document and print it in duplex.
> Correction. You have mentioned it is a flatbed scanner so you can not
> scan in duplex mode.  Just create "multipage document" scan both sides,
> save it and you should be able to print it in duplex mode.  I mostly use
> PDF format for documents.
>
>
>


Since I was wanting to get a copy made somewhat quick, I used
Libreoffice, LOo, to do it a bit ago.  Thing is, it takes a bit to get
it to size correctly.  It wants to shrink it and it is stubborn about
doing it that way.  I just don't know of a easier way so I asked.  I
figure there is a tool for this. 

I have XSane installed but only used it a couple times.  Skanlite was so
much quicker and easier to use that I stuck with it.  I tried XSane and
I see a option for multi-page documents.  I may play with that and see
how it does. 

Another reason I'd like to be able to do this, pictures with names etc
on the back.  It would be nice to get both the front and back of those. 
Just need a easy tool to do it with.  Maybe I can get XSane to do this
too. 

Still open to ideas.  Thanks for the info tho.  ;-D

Dale

:-)  :-) 



Re: [gentoo-user] Scanning double sided documents and printing them the same.

2020-12-09 Thread thelma
On 12/09/2020 05:46 PM, the...@sys-concept.com wrote:
> On 12/09/2020 05:09 PM, Dale wrote:
>> Howdy,
>>
>> I have a flatbed scanner.  It's a old HP 4570.  I been using Skanlite to
>> scan pictures etc and it does a great job.  On occasion tho I have a
>> double sided document.  I know how to scan them, scan one side, flip
>> over and scan the back.  That's easy enough.  How do I print them the
>> same way tho?  Sometimes I use it like a copying machine basically. 
>> Scan in, then print.  I'm not quite sure how to print the double sided
>> stuff in one go tho. 
>>
>> If someone does the same as me, can you share how you print them two
>> sided?  My printer is duplex so I just need to import both sides and
>> tell it to print.  I'm just not sure what software does that and makes
>> it easy.
>>
>> Thoughts??
>>
>> Dale
>>
>> :_)  :-) 
>>
> 
> Do you use XSane  to scan it?  You setup the printer in Setup menu under
> "Copy" and scan in duplex mode.  If you printer is setup by default to
> print duplex it will print it correctly, in duplex.  If not you will get
> two pages, it prints directly to a printer (the print windows doesn't
> pop-up).
> 
> I suggest to scan it first to a document and print it in duplex.

Correction. You have mentioned it is a flatbed scanner so you can not
scan in duplex mode.  Just create "multipage document" scan both sides,
save it and you should be able to print it in duplex mode.  I mostly use
PDF format for documents.




Re: [gentoo-user] Scanning double sided documents and printing them the same.

2020-12-09 Thread thelma
On 12/09/2020 05:09 PM, Dale wrote:
> Howdy,
> 
> I have a flatbed scanner.  It's a old HP 4570.  I been using Skanlite to
> scan pictures etc and it does a great job.  On occasion tho I have a
> double sided document.  I know how to scan them, scan one side, flip
> over and scan the back.  That's easy enough.  How do I print them the
> same way tho?  Sometimes I use it like a copying machine basically. 
> Scan in, then print.  I'm not quite sure how to print the double sided
> stuff in one go tho. 
> 
> If someone does the same as me, can you share how you print them two
> sided?  My printer is duplex so I just need to import both sides and
> tell it to print.  I'm just not sure what software does that and makes
> it easy.
> 
> Thoughts??
> 
> Dale
> 
> :_)  :-) 
> 

Do you use XSane  to scan it?  You setup the printer in Setup menu under
"Copy" and scan in duplex mode.  If you printer is setup by default to
print duplex it will print it correctly, in duplex.  If not you will get
two pages, it prints directly to a printer (the print windows doesn't
pop-up).

I suggest to scan it first to a document and print it in duplex.



[gentoo-user] Scanning double sided documents and printing them the same.

2020-12-09 Thread Dale
Howdy,

I have a flatbed scanner.  It's a old HP 4570.  I been using Skanlite to
scan pictures etc and it does a great job.  On occasion tho I have a
double sided document.  I know how to scan them, scan one side, flip
over and scan the back.  That's easy enough.  How do I print them the
same way tho?  Sometimes I use it like a copying machine basically. 
Scan in, then print.  I'm not quite sure how to print the double sided
stuff in one go tho. 

If someone does the same as me, can you share how you print them two
sided?  My printer is duplex so I just need to import both sides and
tell it to print.  I'm just not sure what software does that and makes
it easy.

Thoughts??

Dale

:_)  :-) 



Re: [gentoo-user] cannot emerge chromium 89.0.4343.0

2020-12-09 Thread David Haller
Hello,

On Wed, 09 Dec 2020, John Covici wrote:
>On Wed, 09 Dec 2020 11:20:06 -0500, Mark Knecht wrote:
[..]
>FAILED: obj/v8/v8_base_without_compiler/intl-objects.o 
[..] -O2 -pipe -c ../../v8/src/objects/intl-objects.cc -o 
obj/v8/v8_base_without_compiler/intl-objects.o
>../../v8/src/objects/intl-objects.cc:52:28: error: static assertion failed: v8 
>is required to build with ICU 68 and up
>   52 | V8_MINIMUM_ICU_VERSION <= U_ICU_VERSION_MAJOR_NUM,

The wording though is, ahm, backwards. You need dev-libs/icu >= 68.0,
which is still unstable. Or set '-system-icu' as useflag.

HTH,
-dnh

-- 
printk(KERN_DEBUG "adintr: Why?\n");
linux-2.6.19/sound/oss/ad1848.c



Re: [gentoo-user] cannot emerge chromium 89.0.4343.0

2020-12-09 Thread Matt Connell (Gmail)
On Wed, 2020-12-09 at 12:58 -0500, John Covici wrote:
> is there something I should change?

The system-icu use flag is set by default.  You may want to unset it
and try again: "www-client/chromium -system-icu" in a package.use file.

As Michael suggested, performing a @world update first couldn't hurt
either.

Alternatively, how much memory does this system have?  Trying to build
Chromium with fewer than 16GB of memory available may be difficult,
even with -j1, in my experience.




Re: [gentoo-user] cannot emerge chromium 89.0.4343.0

2020-12-09 Thread John Covici
On Wed, 09 Dec 2020 12:39:16 -0500,
Michael wrote:
> 
> [1  ]
> On Wednesday, 9 December 2020 17:31:29 GMT John Covici wrote:
> > On Wed, 09 Dec 2020 11:20:06 -0500,
> > 
> > Mark Knecht wrote:
> > > [1  ]
> > > 
> > > On Wed, Dec 9, 2020 at 8:16 AM John Covici  wrote:
> > > > Hi.  In my latest update I cannot emerge Chromium 89.0.4343.0.  I am
> > > > finding it very hard to tell even where the error is, so I am asking
> > > > for help to figure this out.  I am attaching the entire build log to
> > > > this message because someone smarter than myself may be able to tell
> > > > me what is happpening here.
> > > > 
> > > > Thanks in advance for any suggestions.
> > > > 
> > > > --
> > > > Your life is like a penny.  You're going to lose it.  The question is:
> > > > How do
> > > > you spend it?
> > > > 
> > > >  John Covici wb2una
> > > >  cov...@ccs.covici.com
> > > 
> > > Down near the bottom it says (something like - I cannot copy it for some
> > > reason) v8_base_without_compiler/intl-objects failed.
> > > 
> > > It seems V8 is Google's Javascript stuff.
> > > 
> > > Building with -j1 would likely fail exactly where the problem is. I think
> > > it's building with -j2 which means this error is 1 back.
> > > 
> > > No idea how to solve.
> > 
> > OK, here it is with -j1, still not sure where the exact error is:
> 
> I think it complains about the internationalisation components for unicode - 
> are you building it with USE="+system-icu"?  Perhaps without it the bundled 
> code will work better.  Or, run a @world update first and then come back to 
> it 
> in case everything falls in line and completes without an error.

the only chromium related use flag I have is
>=net-libs/nodejs-13.7.0-r1 inspector

Otherwise I am using the defaults -- is there something I should
change?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot emerge chromium 89.0.4343.0

2020-12-09 Thread Michael
On Wednesday, 9 December 2020 17:31:29 GMT John Covici wrote:
> On Wed, 09 Dec 2020 11:20:06 -0500,
> 
> Mark Knecht wrote:
> > [1  ]
> > 
> > On Wed, Dec 9, 2020 at 8:16 AM John Covici  wrote:
> > > Hi.  In my latest update I cannot emerge Chromium 89.0.4343.0.  I am
> > > finding it very hard to tell even where the error is, so I am asking
> > > for help to figure this out.  I am attaching the entire build log to
> > > this message because someone smarter than myself may be able to tell
> > > me what is happpening here.
> > > 
> > > Thanks in advance for any suggestions.
> > > 
> > > --
> > > Your life is like a penny.  You're going to lose it.  The question is:
> > > How do
> > > you spend it?
> > > 
> > >  John Covici wb2una
> > >  cov...@ccs.covici.com
> > 
> > Down near the bottom it says (something like - I cannot copy it for some
> > reason) v8_base_without_compiler/intl-objects failed.
> > 
> > It seems V8 is Google's Javascript stuff.
> > 
> > Building with -j1 would likely fail exactly where the problem is. I think
> > it's building with -j2 which means this error is 1 back.
> > 
> > No idea how to solve.
> 
> OK, here it is with -j1, still not sure where the exact error is:

I think it complains about the internationalisation components for unicode - 
are you building it with USE="+system-icu"?  Perhaps without it the bundled 
code will work better.  Or, run a @world update first and then come back to it 
in case everything falls in line and completes without an error.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] cannot emerge chromium 89.0.4343.0

2020-12-09 Thread Mark Knecht
On Wed, Dec 9, 2020 at 8:16 AM John Covici  wrote:
>
> Hi.  In my latest update I cannot emerge Chromium 89.0.4343.0.  I am
> finding it very hard to tell even where the error is, so I am asking
> for help to figure this out.  I am attaching the entire build log to
> this message because someone smarter than myself may be able to tell
> me what is happpening here.
>
> Thanks in advance for any suggestions.
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>  John Covici wb2una
>  cov...@ccs.covici.com

Down near the bottom it says (something like - I cannot copy it for some
reason) v8_base_without_compiler/intl-objects failed.

It seems V8 is Google's Javascript stuff.

Building with -j1 would likely fail exactly where the problem is. I think
it's building with -j2 which means this error is 1 back.

No idea how to solve.

HTH,
Mark


Re: [gentoo-user] apache blocking access based country

2020-12-09 Thread Michael
On Wednesday, 9 December 2020 07:03:17 GMT Remco Rijnders wrote:
> On Tue, Dec 08, 2020 at 11:18:49PM -0700, thelma wrote in
> 
> <94662af9-b159-65ca-371d-1521ab4fa...@sys-concept.com>:
> >Steve, suggested a good alternative database of IP's with two letter
> >country beside them.  It can be sorted by country in a spreadsheet. This
> >16MB file would seem like an ideal solution; but checking is it is
> >missing 212.114.17 number I've checked earlier from the other source.
> >The number 212.114.16 correctly identified as "FR" (France).
> >
> >deny from 212.114.16.0/24
> >deny from 212.114.17.0/24
> >
> >The dbip-country-lite-2020-12.csv lists:
> >212.114.10.0 212.114.15.255  RU
> >212.114.16.0 212.114.31.255  FR
> >212.114.32.0 212.114.49.39   DE
> 
> Just wanted to point out that "212.114.17.0/24" is included in the
> "212.114.16.0   212.114.31.255  FR" entry you show, so it doesn't seem to be
> missing at all. For reasons of efficiency, it is preferable to have blocks
> listed that are bigger than /24's if they roll up to bigger blocks per
> country.

The above can be written as 212.114.16.0/20 in CIDR block notation.

Unwelcome website visitors are difficult to block, without incurring some 
processing penalty and consequently cause undesirable latency for legitimate 
visitors.

As has already been commented a network/firewall level solution, which drops 
connections before they arrive at apache is more efficient, because it avoids 
putting any load on the webserver application itself.

Apache configuration files in /etc are loaded in RAM and as long as there is 
enough memory will be much faster than having to parse .htaccess files for 
each and every page/visitor.

The geoip solution works better when only a few countries are allowed to 
connect and everyone else is dropped.  However, botnets can use VPNs or 
anonymising proxy servers to bypass such restrictions.  Also, IP subnets 
change all the time, so geoip addresses have to be refreshed regularly.

Depending on the website design there are various php and other scripts which 
function similar to fail2ban, when a visitor tries unsuccessfully to 
authenticate repeatedly.  The sensitivity of the trigger can be adjusted for 
the number of failed attempts and the time the failed IP address is blocked 
for.  I guess such a script could be deployed along with some firewall geoip 
block to minimise the load on the webserver.

signature.asc
Description: This is a digitally signed message part.