Re: basilisk-browser

2018-10-19 Thread mick crane

On 2018-10-19 07:58, Dominik George wrote:

> [1] https://github.com/jasperla/openbsd-wip/issues/86


Seriously? They forbid linking against libraries if their code is not
shipped with their sources?

That also seems like a security nightmare in the making.

Mozilla themselves weren't even *that* ridiculous, were they?



I'm not understanding what "Official branding" refers to in that 
exchange.

If anyone has the time to explain.

mick




--
Key ID4BFEBB31



Re: basilisk-browser

2018-10-19 Thread Reco
Hi.

On Fri, Oct 19, 2018 at 08:58:07AM +0200, Dominik George wrote:
> >> > [1] https://github.com/jasperla/openbsd-wip/issues/86
> 
> Seriously? They forbid linking against libraries if their code is not shipped 
> with their sources?
> 
> That also seems like a security nightmare in the making.
> 
> Mozilla themselves weren't even *that* ridiculous, were they?

Ridiculous or not, but stable's firefox-esr contains their own private
version of NSS - [1]. Same for the thunderbird.
But they try to keep it sane, so at least firefox does not embed
'correct' version of GTK3, for example.

[1] 
https://packages.debian.org/search?searchon=contents&keywords=libsoftokn3.so&mode=exactfilename&suite=stable&arch=any

Reco



Re: basilisk-browser

2018-10-19 Thread Reco
Hi.

On Fri, Oct 19, 2018 at 08:26:20AM +0100, mick crane wrote:
> On 2018-10-19 07:58, Dominik George wrote:
> > > > > [1] https://github.com/jasperla/openbsd-wip/issues/86
> > 
> > Seriously? They forbid linking against libraries if their code is not
> > shipped with their sources?
> > 
> > That also seems like a security nightmare in the making.
> > 
> > Mozilla themselves weren't even *that* ridiculous, were they?
> > 
> 
> I'm not understanding what "Official branding" refers to in that exchange.
> If anyone has the time to explain.

It's the same as Mozilla's branding - [1].
Either you build the software the way upstream wants, or you lose the
right to call resulting software its official name (Palemoon in this
case).
Debian project was able to negotiate this with Mozilla some years ago.
In the case of Palemoon - well, OpenBSD project won't a Palemoon port in
a foreseable future.

Reco

[1] https://lwn.net/Articles/676799/



Re: basilisk-browser

2018-10-19 Thread Gene Heskett
On Friday 19 October 2018 00:24:43 Ben Finney wrote:

> Doug  writes:
> > On 10/18/2018 04:49 AM, Reco wrote:
> > > Palemoon means extremely hostile upstream - [1].
> > >
> > > [1] https://github.com/jasperla/openbsd-wip/issues/86
> >
> > I would like to know what you mean by "extremely hostile upstream"
>
> Reco anticipated your wish to know, and provided a concrete example of
> the hostility. Did you read the discussion at that URL?

So did I, and it no longer exists on my system(s). It had worked well, 
about a year ago, but no updates and it was slowly falling apart.

I did goto their site a couple months ago looking for updates, and 
kindest I could say was that I went away insulted. W/o dl-ing any 
updates. That license (then) wasn't gpl-v2 or later, by a heck of a long 
row of apple trees. And I sure don't recall clicking thru anything like 
that originally. If I did, oldtimers has officially set in. :(

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: basilisk-browser

2018-10-19 Thread Gene Heskett
On Friday 19 October 2018 03:26:20 mick crane wrote:

> On 2018-10-19 07:58, Dominik George wrote:
> >>> > [1] https://github.com/jasperla/openbsd-wip/issues/86
> >
> > Seriously? They forbid linking against libraries if their code is
> > not shipped with their sources?
> >
> > That also seems like a security nightmare in the making.
> >
> > Mozilla themselves weren't even *that* ridiculous, were they?
>
> I'm not understanding what "Official branding" refers to in that
> exchange.
> If anyone has the time to explain.
>
> mick

I certainly have time to read it in that event.


-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: basilisk-browser

2018-10-19 Thread mick crane

On 2018-10-19 11:23, Reco wrote:

Hi.

On Fri, Oct 19, 2018 at 08:26:20AM +0100, mick crane wrote:

On 2018-10-19 07:58, Dominik George wrote:
> > > > [1] https://github.com/jasperla/openbsd-wip/issues/86
>
> Seriously? They forbid linking against libraries if their code is not
> shipped with their sources?
>
> That also seems like a security nightmare in the making.
>
> Mozilla themselves weren't even *that* ridiculous, were they?
>

I'm not understanding what "Official branding" refers to in that 
exchange.

If anyone has the time to explain.


It's the same as Mozilla's branding - [1].
Either you build the software the way upstream wants, or you lose the
right to call resulting software its official name (Palemoon in this
case).
Debian project was able to negotiate this with Mozilla some years ago.
In the case of Palemoon - well, OpenBSD project won't a Palemoon port 
in

a foreseable future.

Reco

[1] https://lwn.net/Articles/676799/


that's what -ESR is about then

thanks

--
Key ID4BFEBB31



masqmail error

2018-10-19 Thread Pierre Frenkiel

hi,
after a system upgrade, I'm no more able to send mails with masqmail.
my masqmail.conf contains lines like

   online_routes.gmail_gmail = "/etc/masqmail/gmail_gmail.route"

Nevetheless, I get error messages like this one:

 var 'online_routes.gmail_gmail' not (yet) known, ignored

has anybody an idea on how to fix that?

best regards,
--
Pierre Frenkiel



Re: basilisk-browser

2018-10-19 Thread Roberto C . Sánchez
On Fri, Oct 19, 2018 at 12:28:16PM +0300, Reco wrote:
> 
> Ridiculous or not, but stable's firefox-esr contains their own private
> version of NSS - [1]. Same for the thunderbird.
> But they try to keep it sane, so at least firefox does not embed
> 'correct' version of GTK3, for example.
> 

That is very frustrating because there was a time when those
Mozilla-related packages used the system libnss.  Modifying the system
libnss to include an additional cetificate authority was the closest I
could get to deploying an internal CA within a network of Debian
machines (similar to how a Windows admin can push a CA to a bunch of
Windows machines via GPO).

However, they switched to bundled libnss at some point and my choices
became either rebuild each Mozilla-related package (FF, TB, etc.) or
have users manually install the CA.  Rebuilding those packages wasn't
worth the trouble.

It is really frustrating as this is one of those nagging inconveniences
(the lack of a standardized system-wide certificate store that is
actually used by all applications) of Linux that seems like it really
should have been resolved by now.

Regards,

-Roberto
-- 
Roberto C. Sánchez



Why does sound encoded with mencoder crackle in debian stretch but not in buster?

2018-10-19 Thread Markus Grunwald
I'm transcoding some TV Series with mencoder. I wrote a script where the
core is:

mencoder 1.ts -o 1.avi -passlogfile /tmp/tmp.VQ6WZm1tSo/pass.log
-demuxer lavf -nosub -vf softskip,harddup -aspect 16:9 -aid 0 -oac lavc
-lavcopts acodec=ac3:abitrate=128 -ovc x264 -x264encopts
pass=1:bitrate=800:nointerlaced:force_cfr:frameref=3:mixed_refs:bframes=4:b_adapt=2:b_pyramid=normal:weight_b:weightp=1:direct_pred=auto:aq_mode=1:me=umh:me_range=16:subq=7:nombtree:psy_rd=0.8,0.2:chroma_me:trellis=1:cabac:deblock:8x8dct:partitions=p8x8,b8x8,i8x8,i4x4:nofast_pskip:nodct_decimate:threads=auto:keyint=250:keyint_min=25

This is probably the only interesting part for this post:

-oac lavc -lavcopts acodec=ac3:abitrate=128

I wrote that script on my laptop, a debian buster machine. Everything is
fine here. But when I let the script run on the machine where all the
recordings are stored (a debian stretch machine), the sound is
disturbed. Some kind of ~6Hz crackle. Video is ok.

IMHO it has to do with some different version of a binary or library.
That's why I tried it with different audio encoder:

-oac mp3lame -lameopts preset=medium

Still the same.

The versions for mencoder differ a tiny bit on both machines:

ii  mencoder   2:1.3.0-6amd64MPlayer's Movie Encoder
ii  mencoder   2:1.3.0-8+b4 amd64MPlayer's Movie Encoder

But the differences seem quite minor:

https://metadata.ftp-master.debian.org/changelogs//main/m/mplayer/mplayer_1.3.0-8_changelog

Any ideas how I get that working on the stretch machine?
-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



Re: Why does sound encoded with mencoder crackle in debian stretch but not in buster?

2018-10-19 Thread Dan Ritter
On Fri, Oct 19, 2018 at 04:09:19PM +0200, Markus Grunwald wrote:
> I'm transcoding some TV Series with mencoder. I wrote a script where the
> core is:
> 
> mencoder 1.ts -o 1.avi -passlogfile /tmp/tmp.VQ6WZm1tSo/pass.log
> -demuxer lavf -nosub -vf softskip,harddup -aspect 16:9 -aid 0 -oac lavc
> -lavcopts acodec=ac3:abitrate=128 -ovc x264 -x264encopts
> pass=1:bitrate=800:nointerlaced:force_cfr:frameref=3:mixed_refs:bframes=4:b_adapt=2:b_pyramid=normal:weight_b:weightp=1:direct_pred=auto:aq_mode=1:me=umh:me_range=16:subq=7:nombtree:psy_rd=0.8,0.2:chroma_me:trellis=1:cabac:deblock:8x8dct:partitions=p8x8,b8x8,i8x8,i4x4:nofast_pskip:nodct_decimate:threads=auto:keyint=250:keyint_min=25
> 
> This is probably the only interesting part for this post:
> 
> -oac lavc -lavcopts acodec=ac3:abitrate=128
> 
> I wrote that script on my laptop, a debian buster machine. Everything is
> fine here. But when I let the script run on the machine where all the
> recordings are stored (a debian stretch machine), the sound is
> disturbed. Some kind of ~6Hz crackle. Video is ok.
> 
> IMHO it has to do with some different version of a binary or library.
> That's why I tried it with different audio encoder:
> 
> -oac mp3lame -lameopts preset=medium
> 
> Still the same.

Does 
-oac copy
do the same thing?

-dsr-



Re: Why does sound encoded with mencoder crackle in debian stretch but not in buster?

2018-10-19 Thread Markus Grunwald
Hello Dan,

> Does
> -oac copy
> do the same thing?
No, that works!

Strange.


-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



An appropriate directory search tool?

2018-10-19 Thread Richard Owlett

The "MATE Search Tool" comes close.

It can:
  Select a starting directory.
  Search for a specific extension.
  Search for a keyword in file content.

It cannot:
   Search ONLY the specified directory.
   Return files that DO NOT contain a keyword.

I suspect what I want would most likely be what I'm looking for.
"ls" can search by extension and stay in specified directory.
It cannot include/exclude keywords.

My immediate problem involves only a couple dozen files so manual search 
is feasible.


Suggestions?
TIA







Re: An appropriate directory search tool?

2018-10-19 Thread Andy Smith
Hello,

On Fri, Oct 19, 2018 at 10:00:25AM -0500, Richard Owlett wrote:
> The "MATE Search Tool" comes close.
> 
> It can:
>   Select a starting directory.
>   Search for a specific extension.
>   Search for a keyword in file content.
> 
> It cannot:
>Search ONLY the specified directory.
>Return files that DO NOT contain a keyword.

"grep", sometimes in combination with "find" or one of its
alternates like "ack" or "ag", can do everything you specify above.

If after reading the manual you are having trouble working out how,
I would suggest posting your specific requirement and I'm sure
someone can supply a correct invocation.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: An appropriate directory search tool?

2018-10-19 Thread Roberto C . Sánchez
On Fri, Oct 19, 2018 at 10:00:25AM -0500, Richard Owlett wrote:
> The "MATE Search Tool" comes close.
> 
> It can:
>   Select a starting directory.
>   Search for a specific extension.
>   Search for a keyword in file content.
> 
> It cannot:
>Search ONLY the specified directory.
>Return files that DO NOT contain a keyword.
> 
> I suspect what I want would most likely be what I'm looking for.
> "ls" can search by extension and stay in specified directory.
> It cannot include/exclude keywords.
> 
> My immediate problem involves only a couple dozen files so manual search is
> feasible.
> 
> Suggestions?

I recommend 'find' run from the terminal.

For example, I have a directory tree full of files like shell scripts,
Perl scripts, and also XML documents and their Russian translations.  To
find the XML documents that are not Russian translations, I can do this:

find . -name '*.xml' -a \! -name '*_ru.xml'

Read that as "find, the current director, files named *.xml and not
named *_ru.xml."

It also supports an amazing array of conditions, like newer/older than,
same/different permissions, size, etc.

Regards,

-Roberto
-- 
Roberto C. Sánchez



Re: An appropriate directory search tool?

2018-10-19 Thread Roberto C . Sánchez
On Fri, Oct 19, 2018 at 11:12:30AM -0400, Roberto C. Sánchez wrote:
> On Fri, Oct 19, 2018 at 10:00:25AM -0500, Richard Owlett wrote:
> > The "MATE Search Tool" comes close.
> > 
> > It can:
> >   Select a starting directory.
> >   Search for a specific extension.
> >   Search for a keyword in file content.
> > 
I missed your keyword search requirement.

> > It cannot:
> >Search ONLY the specified directory.
> >Return files that DO NOT contain a keyword.
> > 
> > I suspect what I want would most likely be what I'm looking for.
> > "ls" can search by extension and stay in specified directory.
> > It cannot include/exclude keywords.
> > 
> > My immediate problem involves only a couple dozen files so manual search is
> > feasible.
> > 
> > Suggestions?
> 
> I recommend 'find' run from the terminal.
> 
> For example, I have a directory tree full of files like shell scripts,
> Perl scripts, and also XML documents and their Russian translations.  To
> find the XML documents that are not Russian translations, I can do this:
> 
> find . -name '*.xml' -a \! -name '*_ru.xml'
> 
I would modify the above command like this:

find . -name '*.xml' -a \! -name '*_ru.xml' -exec grep -Hn 
'2003-2005' {} \;

> Read that as "find, the current director, files named *.xml and not
> named *_ru.xml."
> 
Which would then change the reading to "find, the current director,
files named *.xml and not named *_ru.xml that contains the string
'2003-2005'." (the -Hn options to grep tell it to display
the file name and line number of each match)

> It also supports an amazing array of conditions, like newer/older than,
> same/different permissions, size, etc.
> 
> Regards,
> 
> -Roberto
> -- 
> Roberto C. Sánchez
> 

-- 
Roberto C. Sánchez



Re: An appropriate directory search tool?

2018-10-19 Thread tomas
On Fri, Oct 19, 2018 at 10:00:25AM -0500, Richard Owlett wrote:
> The "MATE Search Tool" comes close.
> 
> It can:
>   Select a starting directory.
>   Search for a specific extension.
>   Search for a keyword in file content.
> 
> It cannot:
>Search ONLY the specified directory.
>Return files that DO NOT contain a keyword.
> 
> I suspect what I want would most likely be what I'm looking for.
> "ls" can search by extension and stay in specified directory.
> It cannot include/exclude keywords.
> 
> My immediate problem involves only a couple dozen files so manual
> search is feasible.
> 
> Suggestions?

This would be 'find' (ok, with some little help from 'grep'). Hands down.

The man page can be a bit... intimidating, so I'd suggest to begin with
little examples and return to the man page from time to time until you
got the knack. Then it is worth it. Every bit.

To help you get started, I cooked up something implementing your "It
cannot" above. Here's the (commented) shell session:

  # Set lab rats up:
  tomas@trotzki:~$ mkdir d1 d1/d2
  tomas@trotzki:~$ cd d1
  tomas@trotzki:~/d1$ for f in f1 f2 f4 f6 d2/f1 d2/f2 ; do echo "hello world" 
> $f ; done
  tomas@trotzki:~/d1$ for f in f3 f5 d2/f3 ; do echo "wello horld" > $f ; done
  # Find all files containing the string "hell", limiting search
  # to one level of subdirectories (i.e. current dir, i.e. "d1"):
  tomas@trotzki:~/d1$ find . -maxdepth 1 -type f \( -exec grep -q "hell" {} \; 
-o -print \)
  ./f5
  ./f3
  # Same, but dropping the limit to one level:
  tomas@trotzki:~/d1$ find . -type f \( -exec grep -q "hell" {} \; -o -print \)
  ./d2/f3
  ./f5
  ./f3

Hope that tickled your curiosity :-)

Cheers
-- t


signature.asc
Description: Digital signature


Re: An appropriate directory search tool?

2018-10-19 Thread Greg Wooledge
On Fri, Oct 19, 2018 at 05:21:30PM +0200, to...@tuxteam.de wrote:
> This would be 'find' (ok, with some little help from 'grep'). Hands down.
> 
> The man page can be a bit... intimidating, so I'd suggest to begin with
> little examples and return to the man page from time to time until you
> got the knack. Then it is worth it. Every bit.

There's also .



Re: Why does sound encoded with mencoder crackle in debian stretch but not in buster?

2018-10-19 Thread Dan Ritter
On Fri, Oct 19, 2018 at 04:48:17PM +0200, Markus Grunwald wrote:
> Hello Dan,
> 
> > Does
> > -oac copy
> > do the same thing?
> No, that works!
> 
> Strange.

No, no, it means that you have successfully identified the
source of the problem as being ffmpeg's audio conversion.

On the other hand, it also gives you a workaround: original
audio is rarely an unsupported format and is rarely a major
component of the file size, so why not use it?

-dsr-



Re: An appropriate directory search tool?

2018-10-19 Thread tomas
On Fri, Oct 19, 2018 at 11:29:13AM -0400, Greg Wooledge wrote:
> On Fri, Oct 19, 2018 at 05:21:30PM +0200, to...@tuxteam.de wrote:
> > This would be 'find' (ok, with some little help from 'grep'). Hands down.
> > 
> > The man page can be a bit... intimidating [...]

> There's also .

Had a short look at it. Definitely recommended.

Cheers
-- t


signature.asc
Description: Digital signature


Re: An appropriate directory search tool?

2018-10-19 Thread David Wright
On Fri 19 Oct 2018 at 10:00:25 (-0500), Richard Owlett wrote:
> The "MATE Search Tool" comes close.
> 
> It can:
>   Select a starting directory.
>   Search for a specific extension.
>   Search for a keyword in file content.
> 
> It cannot:
>Search ONLY the specified directory.
>Return files that DO NOT contain a keyword.
> 
> I suspect what I want would most likely be what I'm looking for.
> "ls" can search by extension and stay in specified directory.
> It cannot include/exclude keywords.
> 
> My immediate problem involves only a couple dozen files so manual
> search is feasible.

Recalling https://lists.debian.org/debian-user/2018/09/msg00228.html
as others have said, get familiar with find.

I keep a number of potted searches for different occasions as the
syntax can be a bit overwhelming. Here are a few:

find . -type f | while read file ; do bash-function "$file"; done # avoid using 
exec
find . -type f -exec chmod a-wx {} \;
find . -type f -size 1234c -print | less # size in bytes
find . -type f -mmin -1440 -print | less # one day
find . -type f -exec file {} \; | less
find . -type f -name \*ly -printf '%TY-%Tm-%Td %TT %f\n' | cut --complement -b 
20-30 | sort
find . -type f -name \*ly -exec grep -Z -l -i 'x' {} \; | sort -z | xargs -0 
less # display files
find . -type f -name \*ly -exec grep -H -i 'x' {} \; | sort | less # display 
lines

Cheers,
David.



Re: An appropriate directory search tool?

2018-10-19 Thread Greg Wooledge
On Fri, Oct 19, 2018 at 10:48:42AM -0500, David Wright wrote:
> find . -type f -exec chmod a-wx {} \;

For this one, you probably want to replace \; with + to get the efficiency
boost, which would be pretty significant here.  You probably wrote this
one a long time ago.

> find . -type f | while read file ; do bash-function "$file"; done # avoid 
> using exec

This one has a few minor bugs.  It will fail on filenames that contain
newlines, or backslashes, or trailing whitespace, or leading whitespace.
It can be corrected, although sadly the corrected version is a bit uglier.

find . -type f -print0 | while IFS= read -rd '' file; do bash-function "$file"; 
done

> find . -type f -name \*ly -printf '%TY-%Tm-%Td %TT %f\n' | cut --complement 
> -b 20-30 | sort

This one looks like a variant of my "rlart" function:

rlart() {
  find "${1:-.}" -type f -printf '%T@,%TY-%Tm-%Td,%TT,%p\0' |
  sort -zn |
  while IFS=, read -rd '' _ day time path; do
printf '%s %s %s\n' "$day" "${time%.*}" "$path"
  done
}

I give a detailed explanation of an earlier iteration of that one on
 for those who are
interested in that sort of thing.  The explicit comma delimiters were
added more recently, to avoid losing trailing whitespace.



Re: Mate Main menu question

2018-10-19 Thread songbird
J.W. Foster wrote:
...
> I have the stable Mate desktop installed along with Gnome. The main menu do=
> es not show any applications. It occurred after an update some time ago. I =
> simply prefer the Mate desktop tpo=C2=A0Gnome. Anyon know how to get the ap=
> plications into the main menu??Thanks!

  have you reinstalled any of the mate files and any
menu files?

  that's where i'd start...

  $ dpkg -l | grep mate
  $ dpkg -l | grep menu

  see what those list and try reinstalling them.

  my list will be different because i'm running testing/unstable...


  songbird



Re: An appropriate directory search tool?

2018-10-19 Thread songbird
Richard Owlett wrote:
...
> I suspect what I want would most likely be what I'm looking for.
> "ls" can search by extension and stay in specified directory.
> It cannot include/exclude keywords.
>
> My immediate problem involves only a couple dozen files so manual search 
> is feasible.
>
> Suggestions?

  use and indexing system for text files.  use find for 
file names.

  there are already existing indexing/lookup systems
out there but i'm not looking for them...  that's your
homework.  ;)


  songbird



firefox palemoon waterfox baselisk problem, not on chromium

2018-10-19 Thread arne
Hi, 
While browsing on stock updated Debian stretch I get several times a
day:

Secure Connection Failed

The connection to www.google.com was interrupted while the
page was loading.

The page you are trying to view cannot be shown because the
authenticity of the received data could not be verified. 

Please
contact the website owners to inform them of this problem.

---
I don't think  a message from me to google will solve this problem.

---
I get this message several times a day, for any website,
and the pages are not loaded.

Tried a lot of things I found on internet, most of them from several
years ago. None of them helped.

Disabled all my add-ons, did not help.

Reset my browsers in a maiden state, did not help.

By-passed my proxies, did not help.

Those sites all load OK in Chromium, but I do not like this browser.

Strange thing, when I retry 2-80 times the pages get loaded.

I use Tab Mix Plus Mozilla add-on to reload every 2 seconds until the
pages load.


In short:
Secure Connection Failed

Any ideas what can be the solution?

Thanks!



Re: basilisk-browser

2018-10-19 Thread Ben Finney
Dominik George  writes:

> >> > [1] https://github.com/jasperla/openbsd-wip/issues/86
>
> Seriously? They forbid linking against libraries if their code is not
> shipped with their sources?

They don't forbid that.

What they forbid is redistributing the modified work with the Pale Moon
branding.

http://www.palemoon.org/redist.shtml>

> That also seems like a security nightmare in the making.
> Mozilla themselves weren't even *that* ridiculous, were they?

It is true that the Pale Moon trademark policy is more restrictive than
what occurred with the Firefox trademark restrictions.

-- 
 \   “The best is the enemy of the good.” —Voltaire, _Dictionnaire |
  `\Philosophique_ |
_o__)  |
Ben Finney



perl; Trying to get File::stat to work

2018-10-19 Thread Martin McCormick
I am a member of a perl discussion list but it seems to have gone
away so I hope somebody here can give me an idea as to why the
stat function is not working.

Create a file called testfile in your working directory
and then run the following perl script:

#!/usr/bin/perl -w
use strict;
use warnings::unused;
use File::stat;
use File::Spec;

my $last_update_time;

$last_update_time = ( stat("testfile") )[9];
printf("%d\n",$last_update_time);

As this stands, it should print a 10 or so digit number
representing the number of seconds since Midnight UTC on January
1 of 1970.  What it actually does is to not set the variable and
you get the "Use of uninitialized variable" squawk with no
value assignment to the variable.

The [9] referrs to the ninth element in an array which
should be the time stamp.

Thanks for any suggestions.

Martin McCormick WB5AGZ



Re: basilisk-browser

2018-10-19 Thread fmneto

On 2018-10-19 23:19, Ben Finney wrote:

Dominik George  writes:


>> > [1] https://github.com/jasperla/openbsd-wip/issues/86

Seriously? They forbid linking against libraries if their code is not
shipped with their sources?


They don't forbid that.

What they forbid is redistributing the modified work with the Pale Moon
branding.


   Honestly they can do whatever they want. What's really obnoxious is 
to open a ticket on somebody else's git and *start* it by saying "You 
WILL do this and that", without even trying to establish some kind of 
dialogue.


--Francisco



Re: perl; Trying to get File::stat to work

2018-10-19 Thread Bob McGowan
It looks like this has to do with mixing the usage of the "native" stat 
of Perl with the "object" version from File::stat.


The 'stat' from File::stat returns a reference to an object, which has 
the stuff you're wanting, tucked away internally as object variables.  
You need to do:


    use File::stat;

    $statRef = stat('testfile');

    $mtime = $statRef->mtime ()

Hoping this helps.

Bob

On 10/19/18 7:47 PM, Martin McCormick wrote:

I am a member of a perl discussion list but it seems to have gone
away so I hope somebody here can give me an idea as to why the
stat function is not working.

Create a file called testfile in your working directory
and then run the following perl script:

#!/usr/bin/perl -w
use strict;
use warnings::unused;
use File::stat;
use File::Spec;

my $last_update_time;

$last_update_time = ( stat("testfile") )[9];
printf("%d\n",$last_update_time);

As this stands, it should print a 10 or so digit number
representing the number of seconds since Midnight UTC on January
1 of 1970.  What it actually does is to not set the variable and
you get the "Use of uninitialized variable" squawk with no
value assignment to the variable.

The [9] referrs to the ninth element in an array which
should be the time stamp.

Thanks for any suggestions.

Martin McCormick WB5AGZ



Re: firefox palemoon waterfox baselisk problem, not on chromium

2018-10-19 Thread Reco
Hi.

On Sat, Oct 20, 2018 at 02:16:57AM +0200, arne wrote:
> By-passed my proxies, did not help.
> 
> Those sites all load OK in Chromium, but I do not like this browser.
> 
> Strange thing, when I retry 2-80 times the pages get loaded.
> 
> I use Tab Mix Plus Mozilla add-on to reload every 2 seconds until the
> pages load.
> 
> 
> In short:
> Secure Connection Failed
> 
> Any ideas what can be the solution?

A better question would be - what's the actual problem.
'Secure Connection Failed' can refer to many things, such as
certificate/domain mismatch, certificate expiration, wrong TLS protocol
version etc.
Any Modern Browser™ hides these details from you, so Firefox (for
instance) itself is hardly suited for the troubleshooting.

So I propose this for starters:

openssl s_client -connect www.google.com:443

Reco