recherche ressources libres pour photographe professionnel

2019-07-30 Thread Bernard Schoenacker
bonjour,

j'avais en tête un site anglophone recensant
les logiciels libres utilisables par des 
professionnels (photographes) et qui 
contiennent des témoignages, mais je n'arrive
plus à le trouver ...


merci pour votre aimable attention
bien à vous
Bernard



Re: How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Gary Dale

On 2019-07-30 6:51 p.m., Cousin Stanley wrote:

Gary Dale wrote:


Unfortunately none of those options are 1080i.

I've tried all of the 1920x1080
and they all end up being progressive scan.


   Running raspbian here on a rpi3b+
   currently using a 22in LG hdmi monitor.

   screen resolution is 1920x1080 @ 96dpi

   The raspi-config resolution menu
   offers 2 1920x1080 options 

 CEA mode 16 1920x1080 60Hz 16:9

 CEA mode 31 1920x1980 50Hz 16:10

   I  don't  remember using these options myself
   when I first set it up, but that doesn't mean
   that I didn't 

   In 10 days I'll be 73 years old
   and the wet-ware memory
   ain't what it used to be  :-)

   I've also used a Philips 43in TV hdmi port
   with this particular rpi3b+ and do recall
   an odd occasional prompt about screen res
   that would resolve itself with an OK click
   but otherwise display was fine.

I'm not that much younger than you but different TVs can have different 
issues. Mine's a Panasonic 42" Plasma. The issue isn't getting a prompt 
about screen resolution but rather about getting anything to display.


In your case CEA modes 16 & 31 are 1080p. Mode 16 is 60Hz while 31 is 
50Hz. Since Philips is a European brand, it probably has no trouble with 
either frequency.


Left to its own devices, my Pi4B will end up in 640x480. When I let it 
default, all I get are 640x480 and 720x480 resolution options. By adding 
a lot of lines to /boot/config.txt, I can get it to go into a 1920x1080p 
mode that my TV can't sync to. However I can use VNC or SSH to the 
desktop and open a terminal to set it to CEA mode 5, which is 1080i.


At that point, I can see a long list of DMT modes, which are progressive 
scan so far as I can see.


This is one of my biggest complaints about the people who design these 
things: 1080i is an international broadcast standard. Every device 
intended to potentially output to an HDTV should be able to handle 1080i 
automatically. It shouldn't be left to the device user to struggle to 
get it to work.





Re: How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Cousin Stanley
Gary Dale wrote:

> Unfortunately none of those options are 1080i. 
> 
> I've tried all of the 1920x1080 
> and they all end up being progressive scan.
> 

  Running raspbian here on a rpi3b+ 
  currently using a 22in LG hdmi monitor.

  screen resolution is 1920x1080 @ 96dpi

  The raspi-config resolution menu
  offers 2 1920x1080 options  

CEA mode 16 1920x1080 60Hz 16:9

CEA mode 31 1920x1980 50Hz 16:10

  I  don't  remember using these options myself
  when I first set it up, but that doesn't mean
  that I didn't 

  In 10 days I'll be 73 years old
  and the wet-ware memory 
  ain't what it used to be  :-)

  I've also used a Philips 43in TV hdmi port
  with this particular rpi3b+ and do recall
  an odd occasional prompt about screen res
  that would resolve itself with an OK click
  but otherwise display was fine.


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona



Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread Celejar
On Mon, 29 Jul 2019 13:57:25 +0300
Reco  wrote:

...

> WPA2's (that's your conventional WiFi standard) secure configuration is
> fiendishly difficult. 

I take your point, but "fiendishly difficult"? I think you're
exaggerating.

> You have beacon frames that are broadcasted without any encryption.

True, but is there any evidence that this constitutes a security risk?

> You have authentication frames that can be intercepted (so WPA
> passphrase can be bruteforced).

Lots of things (such as TLS, ssh) can theoretically be brute forced -
the question is whether such brute forcing is sufficiently practical to
be a threat. I have seen nothing to indicate that properly configured
WPA2 can be realistically brute forced.

> You have several encryption algorithms, but:
> a) They are not equally good.

Of course not - they never are ;) The trick is to pick a good one, and
for wifi, that's WPA2 using AES.

> b) You may have a hardware that lack support for a good ones.

I suppose, but my impression is that most hardware from the last few
years is fine.

Celejar



Re: xsane: incoherent behaviours

2019-07-30 Thread Pierre Frenkiel

On Tue, 30 Jul 2019, Brian wrote:


The outputs of 'scanimage -L' from each machine were asked for. They
provide information you have not given.

--
Brian.


 hi brian,
 I thought that they don't provide more information than what I wrote 
previously,

 (on my desktop(buster) and my laptop (amd64/stretch), both devices are listed.
 on my wife's laptop(amd64/stretch), only the laserjet)

 but if you want them, here they are

 my desktop:
device `hpaio:/net/HP_LaserJet_MFP_M227-M231?ip=192.168.1.41' is a 
Hewlett-Packard HP_LaserJet_MFP_M227-M231 all-in-one
   device `hpaio:/net/laserjet_mfp_m227-m231?ip=192.168.1.41=false' is a 
Hewlett-Packard laserjet_mfp_m227-m231 all-in-one
   device `hpaio:/net/envy_photo_7100_series?ip=192.168.1.200=false' is a 
Hewlett-Packard envy_photo_7100_series all-in-one

 my laptop:
   device `hpaio:/net/laserjet_mfp_m227-m231?ip=192.168.1.41=false' is a 
Hewlett-Packard laserjet_mfp_m227-m231 all-in-one
   device `hpaio:/net/envy_photo_7100_series?ip=192.168.1.200=false' is a 
Hewlett-Packard envy_photo_7100_series all-in-one

 my wife's laptop:
   device `hpaio:/net/HP_LaserJet_MFP_M227-M231?zc=NPIBDD3AA' is a 
Hewlett-Packard HP_LaserJet_MFP_M227-M231 all-in-one

 I would be glad if that helps you to explain what happens.
 I specially don't understand why she doesn't see the envy.

 Anyway, thank you for your help.

best regards,
--
Pierre Frenkiel



Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread David Wright
On Tue 30 Jul 2019 at 20:25:11 (+0100), Joe wrote:
> On Tue, 30 Jul 2019 14:15:44 -0500 David Wright  
> wrote:
> > 
> > ¹ Ignorance of the law is no defence, but it can be expensive
> > to obtain something like the building regs in the UK.
> 
> Whereas your local library should have a current copy of the Wiring
> Regulations. I rewired my first house at sixteen, courtesy of the
> library's Regulations.

Small town, USA: I pop into the code office and have a chat.
But it's all downloadable, and very dry.

Cheers,
David.



Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread David Wright
On Tue 30 Jul 2019 at 15:41:50 (-0400), Michael Stone wrote:

[snip]

> Why would having different phases on different circuits be a problem?
> It's pretty common IMO, because you want the load balanced between
> them. (Unless the concern is that the crazy UK circuit loops will get
> crosswired?) In general 3 phase is only used for dedicated equipment
> circuits, but that's because not many portable appliances need that
> much power.

[In the UK] Because ordinary people get shocks from, for example,
table lamps when they change the bulbs, legacy unshrouded plug pins
when pulling them out of sockets, frayed cords, 101 other reasons.
240v is not usually lethal.

But the big problem is any scenario by which two phases come into
proximity, and you can make up any number of these. Lighting and
wall power in the same room. Vacuuming down the stairs, finishing
on another floor. Using an inspection lamp when looking at a large
appliance that's broken down. Any of these will yield a 415v shock
hazard if two phases are involved.

Cheers,
David.



Re: updmap-user: command not found

2019-07-30 Thread Rodolfo Medina
David Wright  writes:

> On Mon 29 Jul 2019 at 19:56:32 (-), Curt wrote:
>> On 2019-07-29,   wrote:
>> >
>> > (this is an oldstable Debian).
>> >
>> > Perhaps the thing you're looking for is simply spelt "updmap"?
>> 
>> 
>> curty@einstein:~$ apt-cache show texlive-base  | grep -i updmap
>>  updmap-map --
>> 
>> So simply spelt 'updmap-map', I guess.
>
> On stretch, it seems it's just updmap


Thanks all, that seems to be the case...

Rodolfo



Re: xsane: incoherent behaviours

2019-07-30 Thread Brian
On Tue 30 Jul 2019 at 18:54:46 +0200, Pierre Frenkiel wrote:

>  Brian wrote:
>  what does scanimage -L ...
> 
>  hi Brian,
>  (sorry for the delay)
>  on my desktop(buster) and my laptop (amd64/stretch), both devices are listed.
>  on my wife's laptop(amd64/stretch), only the laserjet, and as I said scanning
>  works...
>  Then, the problem is not with the device, but with the xsane version of
>  Debian. What is rather difficult to understand is why the 2 laptops which
>  seem to have the same config behave so differently.
> 
>  Can anybody explain that ?

The outputs of 'scanimage -L' from each machine were asked for. They
provide information you have not given.

-- 
Brian.



Re: Easiest way to do VGA to Text

2019-07-30 Thread David Christensen

On 7/30/19 10:01 AM, Martin McCormick wrote:

I've been trying to do the impossible, more like the
impractical, for some time now so I need a knowledge infusion.

I want to be able to read the VGA output of a computer,
do OCR on it and have ASCII text.

As a computer user who happens to be blind, one of the
most frustrating issues is the fact that except for expensive
servers, none of these boxes output any machine readable text
when booting up or in setup mode such as when the coin cell that
powers the CMOS BIOS gives up the ghost and one needs to do a
setup on it, etc.

It seems as though we may have reached one milestone in
that one can buy a usb frame grabber that spits out UVC
webcam-style video.  The representative of the company which
makes the device  told me that most common flavors of VGA cards
produce signals that would work with the device but some odd-ball
cards won't work with it which makes sense.

Assuming most will work, what one would have is frame
after frame of digitized video.  If this is a setup screen, the
only thing likely to be changing until you do something is the
cursor may be blinking otherwise, it's going to be pretty stable.

You'd have one frame of video to do the OCR on and then
one does something such as hit the Tab or one of the arrow keys
and then you grab another frame and read it and so forth.

Are there any free projects out there which take the raw
video as input and output text as output since the frame grabber
is just the beginning of the beast and then you have to convert
it to text and maybe some method of determining where the
highlight as in cursor position is so as to know what one is
about to select?

Needless to say, but saying it anyway to avoid confusion,
one would have the frame grabber and text engine on a different
working debian computer since the sick one isn't capable of doing much
until the BIOS gets set correctly.

I have 4 older PC's that generally work well running
debian but Right now, 3 of them need varying degrees of attention
to their BIOS setups as Dell motherboards and possibly other
brands will occasionally modify their boot sequences for some
reason and the only way one can boot from a CDROM is to get in to
the BIOS setup and yank the boot order back to one where the CD
drive is ahead of the hard drive or put an unbootable hard drive
in.  Six or eight months later, one will suddenly discover that
the boot sequence has fallen back to  the useless one where the
floppy drive is first, followed by the hard drive followed by the
CDROM.

Martin McCormick WB5AGZ


What about using a computer whose CMOS Setup utility is accessible via 
the serial port?  This article indicates the Dell 2450 is capable:


http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/rhl-biosserial.html


David



Re: How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Gary Dale

On 2019-07-30 4:44 p.m., Cousin Stanley wrote:

Gary Dale wrote:



Raspian uses a /boot/config.txt file to control video modes
but this is failing in my case.

It refuses to output 1080i unless I set that mode
from the command line.

However, when I do that, I lose the ability to adjust the overscan
that the config.txt provides.

Without that ability, I lose a lot of the desktop,
including the task/menu bar.


   If you haven't already you might try 

   $ sudo raspi-config

 > Advanced Options > Resolution

   This provides a long drop-down menu
   to select from.

Unfortunately none of those options are 1080i. I've tried all of the 
1920x1080 and they all end up being progressive scan.




Re: How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Cousin Stanley
Gary Dale wrote:

> 
> Raspian uses a /boot/config.txt file to control video modes
> but this is failing in my case. 
> 
> It refuses to output 1080i unless I set that mode 
> from the command line. 
> 
> However, when I do that, I lose the ability to adjust the overscan 
> that the config.txt provides. 
> 
> Without that ability, I lose a lot of the desktop, 
> including the task/menu bar.
> 

  If you haven't already you might try  

  $ sudo raspi-config 

> Advanced Options > Resolution

  This provides a long drop-down menu
  to select from.


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona



Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread Michael Stone

On Tue, Jul 30, 2019 at 02:15:44PM -0500, David Wright wrote:

On Tue 30 Jul 2019 at 08:49:43 (-0400), Michael Stone wrote:

On Mon, Jul 29, 2019 at 08:46:36PM -0500, David Wright wrote:
> On Mon 29 Jul 2019 at 18:00:25 (-0400), Gene Heskett wrote:
> > On Monday 29 July 2019 17:26:17 ghe wrote:
> > > On 7/29/19 1:57 PM, David Wright wrote:
> > > > Irrelevant in a domestic setting: it's illegal to have more than one
> > > > phase in an ordinary house.
> > >
> > > FYI, and significantly OT:
> > >
> > > I don't think that's true in the US.
>
> IIRC Joe's in the UK. 3-phase there is lethal. 1 is bad enough.

Domestic 3 phase is common in much of the world, including
(specifically) the UK. There's nothing illegal about it, it's just
prohibitively expensive if (as in most of the US) 3 phase isn't
already provisioned. (E.g., in my area many people would need to eat
the cost of more than a quarter mile of new poles and wires if they
wanted 3 phase, and there's basically zero advantage unless you're
trying to run industrial electric motors in your house for some
reason.)


[snip]

Perhaps someone living in the UK who actually has more than one phase
in use in their home could give some details of how it's dealt with.

In Europe they do commonly have 3 phase supplies 


I did a cursory check and found UK manufacturers of things like 
3 phase domestic stoves and assumed they were used in the UK. It seems 
that they're for use elsewhere in EU, so I'll withdraw that 3 phase is 
common in UK.



but I think that's
partly because they have lower current ratings on the phases.
I can't speak for what their wiring regulations are like, but I
suspect that only one phase is used for general wiring, with
dedicated circuits to items like ranges. Even if you were to put
different phases on different floors, you have the stairs to
consider.


Why would having different phases on different circuits be a problem? 
It's pretty common IMO, because you want the load balanced between them. 
(Unless the concern is that the crazy UK circuit loops will get 
crosswired?) In general 3 phase is only used for dedicated equipment 
circuits, but that's because not many portable appliances need that much 
power.




Estas en Riesgo por Ciberataques

2019-07-30 Thread Abigail Medina
México es el tercer país con más ciberataques a nivel mundial, siete de cada 10 
empresas mexicanas han experimentado un incidente relacionado con seguridad 
informática. Ejemplo de lo anterior es el caso registrado en abril de 2018, 
cuando cinco entidades bancarias mexicanas fueron hackeadas a través de su 
plataforma SPEI, produciendo una pérdida aproximada de 400 millones de pesos.
​
Dados estos alarmantes números, un experto hacker israelí estará dando un 
taller sobre seguridad informática totalmente en español este 5, 6 y 7 de 
Septiembre en la CDMX, para enseñar las mejores técnicas y habilidades del 
mundo en seguridad informática, y pueda dormir tranquilo sabiendo que su 
negoció no perderá esos 400 millones por ciberataques.

¿Le gustaría participar?

Llame al 01800 942 6324 para pedir el Temario PDF sin compromiso o escribanos a 
esta dirección especificando su Nombre, Teléfono y Dirección de email y le haré 
llegar el archivo.

Abigail Medina
Líder de Proyectos





































detenga la recepción de estas invitaciones respondiendo con la palabra BAJA en 
el asunto.


Re: Easiest way to do VGA to Text

2019-07-30 Thread john doe
On 7/30/2019 7:01 PM, Martin McCormick wrote:
>
>   I have 4 older PC's that generally work well running
> debian but Right now, 3 of them need varying degrees of attention
> to their BIOS setups as Dell motherboards and possibly other
> brands will occasionally modify their boot sequences for some
> reason and the only way one can boot from a CDROM is to get in to
> the BIOS setup and yank the boot order back to one where the CD
> drive is ahead of the hard drive or put an unbootable hard drive
> in.  Six or eight months later, one will suddenly discover that
> the boot sequence has fallen back to  the useless one where the
> floppy drive is first, followed by the hard drive followed by the
> CDROM.
>

Why not "simply" deconnecting the hdd  once booted reconnecting it?
Granted, it's clearly not ideal! :)

--
John Doe



Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread Joe
On Tue, 30 Jul 2019 14:15:44 -0500
David Wright  wrote:


> 
> ¹ Ignorance of the law is no defence, but it can be expensive
> to obtain something like the building regs in the UK.

Whereas your local library should have a current copy of the Wiring
Regulations. I rewired my first house at sixteen, courtesy of the
library's Regulations.

-- 
Joe



Re: Easiest way to do VGA to Text

2019-07-30 Thread deloptes
Martin McCormick wrote:

> I have 4 older PC's that generally work well running
> debian but Right now, 3 of them need varying degrees of attention
> to their BIOS setups as Dell motherboards and possibly other
> brands will occasionally modify their boot sequences for some
> reason and the only way one can boot from a CDROM is to get in to
> the BIOS setup and yank the boot order back to one where the CD
> drive is ahead of the hard drive or put an unbootable hard drive
> in.  Six or eight months later, one will suddenly discover that
> the boot sequence has fallen back to  the useless one where the
> floppy drive is first, followed by the hard drive followed by the
> CDROM.

I have not heard so far of working OCR free under linux. I would buy
commercial software that can work as screen reader. You can pipe the images
from the linux PC to that software and hear the text.

This is not only the OCR part, but also the reading and what I have seen
under Linux is all BS. There were very good projects 10-15y ago, but I have
not heard of a break through in any of them. For example ViaVoice a STT
program used to run on linux and was dropped when IBM and Phillips stopped
the project cause DARPA stopped the funding. Festival is good as TTS, but
is far away from commercial quality and so on. 

Making a good reader program is very complex and sophisticated thing and
there are many unsolved problems to deal with. This means you can not just
OCR the screen and dump it to the reader - you must preprocess it and often
go to semantics, which makes it pretty difficult.

If you have time to waste, keep us posted of your progress. Last time I did
research on the topic was 10+y ago, when I wrote my thesis on dialogue
systems, so please, correct me if I am wrong and if there is a useful
software out there. Honestly I doubt it, cause people massively got dumber
in the past 10y, of course except the readers of this list :)

best regards





Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread David Wright
On Tue 30 Jul 2019 at 08:49:43 (-0400), Michael Stone wrote:
> On Mon, Jul 29, 2019 at 08:46:36PM -0500, David Wright wrote:
> > On Mon 29 Jul 2019 at 18:00:25 (-0400), Gene Heskett wrote:
> > > On Monday 29 July 2019 17:26:17 ghe wrote:
> > > > On 7/29/19 1:57 PM, David Wright wrote:
> > > > > Irrelevant in a domestic setting: it's illegal to have more than one
> > > > > phase in an ordinary house.
> > > >
> > > > FYI, and significantly OT:
> > > >
> > > > I don't think that's true in the US.
> > 
> > IIRC Joe's in the UK. 3-phase there is lethal. 1 is bad enough.
> 
> Domestic 3 phase is common in much of the world, including
> (specifically) the UK. There's nothing illegal about it, it's just
> prohibitively expensive if (as in most of the US) 3 phase isn't
> already provisioned. (E.g., in my area many people would need to eat
> the cost of more than a quarter mile of new poles and wires if they
> wanted 3 phase, and there's basically zero advantage unless you're
> trying to run industrial electric motors in your house for some
> reason.)

My observation has always been that where 3 phases reach from the
street to the cut out in the house, only one is connected to the
meter, and the others are left unconnected. Perhaps they're changing
the rules.¹ It might be safe to use another phase for something that
people have no access to, like an instant water heater, but I've
only seen that sort of arrangement in communal blocks, which is not
really domestic. Even an electric shower only takes about 40A, and
the fuse is typically 100A. But I guess in an old house with old
wiring, they might need to plumb in a special circuit.

Perhaps someone living in the UK who actually has more than one phase
in use in their home could give some details of how it's dealt with.

In Europe they do commonly have 3 phase supplies but I think that's
partly because they have lower current ratings on the phases.
I can't speak for what their wiring regulations are like, but I
suspect that only one phase is used for general wiring, with
dedicated circuits to items like ranges. Even if you were to put
different phases on different floors, you have the stairs to
consider.

¹ Ignorance of the law is no defence, but it can be expensive
to obtain something like the building regs in the UK.

Cheers,
David.



Re: Retour d'expérience sur la geo-localisation par iptables

2019-07-30 Thread Haricophile
Le mardi 30 juillet 2019 à 13:57 +0200, Ph. Gras a écrit :
> Si le trafic est effectivement destiné à être circonscrit à une zone
> géographique spécifiée, il conviendrait plutôt d'exclure toutes les
> zones à l'exception de la zone cible. On peut le faire efficacement
> dans la configuration de son serveur Web, et pour un MTA je ne
> sais pas… Mais c'est très restrictif : pour l'utilisateur, interdit de
> partir en vacances à l'étranger ! Peut-être pour une école, alors ?

D'autant que le VPN est à la mode... je me demande si identifier les
plages d'IP n'est pas beaucoup plus productif que la géolocalisation
sans avoir les outils d'espionnage généralisés qui vont avec...

Bref, banir les pays entiers c'est plutôt pour moi une méthode qui
fleure bon la nostalgie des temps passés, ainsi qu'une manière très peu
subtile et avec des effets secondaire potentiellement importants pour
résoudre ce genre de problème.




Re: Easiest way to do VGA to Text

2019-07-30 Thread john doe
On 7/30/2019 8:12 PM, Stefan Monnier wrote:
>>  As a computer user who happens to be blind, one of the
>> most frustrating issues is the fact that except for expensive
>> servers, none of these boxes output any machine readable text
>> when booting up or in setup mode such as when the coin cell that
>> powers the CMOS BIOS gives up the ghost and one needs to do a
>> setup on it, etc.
>
> Actually, cheap little boxes like the BananaPi (and the legion of
> similar SBCs) do output via a serial line, so you might want to try
> that route.
>
> They're also pleasantly low-noise and fairly power-efficient.
>

For a fanless solution the 'apu' from 'pcengines' are not that bad.

--
John Doe



Re: Easiest way to do VGA to Text

2019-07-30 Thread Stefan Monnier
>   As a computer user who happens to be blind, one of the
> most frustrating issues is the fact that except for expensive
> servers, none of these boxes output any machine readable text
> when booting up or in setup mode such as when the coin cell that
> powers the CMOS BIOS gives up the ghost and one needs to do a
> setup on it, etc.

Actually, cheap little boxes like the BananaPi (and the legion of
similar SBCs) do output via a serial line, so you might want to try
that route.

They're also pleasantly low-noise and fairly power-efficient.


Stefan



Re: Easiest way to do VGA to Text

2019-07-30 Thread Dan Ritter
Martin McCormick wrote: 
>   I've been trying to do the impossible, more like the
> impractical, for some time now so I need a knowledge infusion.
> 
>   I want to be able to read the VGA output of a computer,
> do OCR on it and have ASCII text.
> 
>   As a computer user who happens to be blind, one of the
> most frustrating issues is the fact that except for expensive
> servers, none of these boxes output any machine readable text
> when booting up or in setup mode such as when the coin cell that
> powers the CMOS BIOS gives up the ghost and one needs to do a
> setup on it, etc.

The parts that you will need:

- a video capture device. I don't know about VGA input, but I do
  know that HDMI video capture devices can be had for prices
  ranging from $25 to $250 or so.

- transformation from video to still images can be done via the
  package imagemagick

- OCR can be done with the package tesseract-ocr


In future, if you can arrange to buy used server hardware
instead of desktop-class machines, you'll have access to various
IPMI (DRAC, ILO) serial console systems which include BIOS
access.

-dsr-



Re: How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Judah Richardson
I've never gotten that to work reliably either. Good luck.

On Tue, Jul 30, 2019, 11:43 Gary Dale  wrote:

> I'm posting a Pi question to this list because I believe I need a Debian
> answer. The Raspian answers have been failing me - see
>
> https://raspberrypi.stackexchange.com/questions/101144/how-can-i-get-my-new-raspberry-pi-4b-to-output-1080i-video?noredirect=1#comment167120_101144
> for the details.
>
> Raspian uses a /boot/config.txt file to control video modes but this is
> failing in my case. It refuses to output 1080i unless I set that mode
> from the command line. However, when I do that, I lose the ability to
> adjust the overscan that the config.txt provides. Without that ability,
> I lose a lot of the desktop, including the task/menu bar.
>
> I believe I should be able to deal with this by using xorg.conf and/or
> xrandr settings but it's been a long time since I've had to deal with
> that. Can anyone point me to some good, up to date, how to for setting a
> display to 1080i with overscan adjustments?
>
>


Easiest way to do VGA to Text

2019-07-30 Thread Martin McCormick
I've been trying to do the impossible, more like the
impractical, for some time now so I need a knowledge infusion.

I want to be able to read the VGA output of a computer,
do OCR on it and have ASCII text.

As a computer user who happens to be blind, one of the
most frustrating issues is the fact that except for expensive
servers, none of these boxes output any machine readable text
when booting up or in setup mode such as when the coin cell that
powers the CMOS BIOS gives up the ghost and one needs to do a
setup on it, etc.

It seems as though we may have reached one milestone in
that one can buy a usb frame grabber that spits out UVC
webcam-style video.  The representative of the company which
makes the device  told me that most common flavors of VGA cards
produce signals that would work with the device but some odd-ball
cards won't work with it which makes sense.

Assuming most will work, what one would have is frame
after frame of digitized video.  If this is a setup screen, the
only thing likely to be changing until you do something is the
cursor may be blinking otherwise, it's going to be pretty stable.

You'd have one frame of video to do the OCR on and then
one does something such as hit the Tab or one of the arrow keys
and then you grab another frame and read it and so forth.

Are there any free projects out there which take the raw
video as input and output text as output since the frame grabber
is just the beginning of the beast and then you have to convert
it to text and maybe some method of determining where the
highlight as in cursor position is so as to know what one is
about to select?

Needless to say, but saying it anyway to avoid confusion,
one would have the frame grabber and text engine on a different
working debian computer since the sick one isn't capable of doing much
until the BIOS gets set correctly.

I have 4 older PC's that generally work well running
debian but Right now, 3 of them need varying degrees of attention
to their BIOS setups as Dell motherboards and possibly other
brands will occasionally modify their boot sequences for some
reason and the only way one can boot from a CDROM is to get in to
the BIOS setup and yank the boot order back to one where the CD
drive is ahead of the hard drive or put an unbootable hard drive
in.  Six or eight months later, one will suddenly discover that
the boot sequence has fallen back to  the useless one where the
floppy drive is first, followed by the hard drive followed by the
CDROM.

Martin McCormick WB5AGZ



xsane: incoherent behaviours

2019-07-30 Thread Pierre Frenkiel

 Brian wrote:
 what does scanimage -L ...

 hi Brian,
 (sorry for the delay)
 on my desktop(buster) and my laptop (amd64/stretch), both devices are listed.
 on my wife's laptop(amd64/stretch), only the laserjet, and as I said scanning
 works...
 Then, the problem is not with the device, but with the xsane version of
 Debian. What is rather difficult to understand is why the 2 laptops which
 seem to have the same config behave so differently.

 Can anybody explain that ?

best regards,
--
Pierre Frenkiel



How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Gary Dale
I'm posting a Pi question to this list because I believe I need a Debian 
answer. The Raspian answers have been failing me - see 
https://raspberrypi.stackexchange.com/questions/101144/how-can-i-get-my-new-raspberry-pi-4b-to-output-1080i-video?noredirect=1#comment167120_101144 
for the details.


Raspian uses a /boot/config.txt file to control video modes but this is 
failing in my case. It refuses to output 1080i unless I set that mode 
from the command line. However, when I do that, I lose the ability to 
adjust the overscan that the config.txt provides. Without that ability, 
I lose a lot of the desktop, including the task/menu bar.


I believe I should be able to deal with this by using xorg.conf and/or 
xrandr settings but it's been a long time since I've had to deal with 
that. Can anyone point me to some good, up to date, how to for setting a 
display to 1080i with overscan adjustments?




3 phase power (was Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread rhkramer
I was trained as an electrical engineer, and I'd love to be able to clarify 
the situation, I'm not sure I can without using far too many words.

3 phase power (around the world as far as I know) consists of (usually) 3 
wires carrying electrical power at a given frequency (in the US, 60 Hz., in 
some other countries 50 Hz., and, once upon a time (and maybe still in some 
places (including at one time parts of the US (or industries therein) at 25 
hz.

A fourth wire may be a neutral wire (grounded or not), and there may be a 5th 
wire as a safety ground).

The key thing is that those hot wires are carrying power that is 120 degrees 
out of phase with the other two wires.  (One of the key advantages of this 
arrangement is that it makes it easy to create a rotating magnetic field which 
is the key thing that makes lots of motors work (there are DC motors and 
single phase motors that work on somewhat different approaches).

Most residential power in the US is created using a single phase transformer 
(so called because (1) it only takes power from one of the 3 phases mentioned 
above and (2) darn -- it's a bitch getting old.  The secondary of that 
transformer is center tapped with the center tap almost always grounded, such 
that the other two taps from the secondary both produce 120 volts (RMS 
nominal), but out of phase with each other by 180 degrees.

From the standpoint of the English language (at least the common American 
dialects), I see nothing inherently wrong with calling those two hot wires 
(the non-grounded end taps) as phases, because, they are, indeed, 180 degrees 
out of phase, but that is not the common terminology.

More commonly it is just called (or what I call it) 240/120 volt single phase 
power.  If you need 120 volts, you connect from one hot tap to the center tap.  
If you need 240 volts, you connect to the two end / hot taps.

I have seen diagrams in NEC code books for a different arrangement to get 120 
volt 3 phase power, but I don't recall ever actually encountering that in real 
life.  In that case, iirc, 120 volt loads are connected from a hot tap to the 
neutral wire (the 4th wire of the 3 phase arrangement), and you get 
(nominally) 208 volts (RMS) connecting phase to phase.  I have seen things 
like motors that were rated like 240 / 208 volts (or something like that).

I hope this is at least somewhat helpful.

On Tuesday, July 30, 2019 10:26:23 AM David Wright wrote:
> On Tue 30 Jul 2019 at 14:30:50 (+0200), Matthew Crews wrote:
> > On 7/29/19 12:57 PM, David Wright wrote:
> > > On Mon 29 Jul 2019 at 20:43:04 (+0100), Joe wrote:
> > >> On Mon, 29 Jul 2019 10:26:14 -0500 John Hasler  
wrote:
> > >>> They don't have to be on the same branch circuit: just on the same
> > >>> "phase"[1].  There is probably a gadget available that bridges the
> > >>> signal between phases.
> > >>> 
> > >>> [1] They aren't really phases but everyone calls them that.
> > >> 
> > >> They are in my country. 3-phase, 240V RMS each phase to neutral, 415V
> > >> RMS between phases.
> > > 
> > > Irrelevant in a domestic setting: it's illegal to have more than one
> > > phase in an ordinary house. Houses will have one phase each, so you'll
> > > share your phase with various neighbours scattered along the street.
> > 
> > How do you figure?
> 
> As I pointed out elsewhere, "my country" is the UK where domestiv
> voltages are twice those in the US. There are people who run small
> workshops where they have managed to install 3 phase supplies. If
> you read up their accounts, most of them are operating very much at
> the edge of legality with respect to building regs, planning laws
> (US zoning) and running businesses in domestic premises. I never
> got the impression that enforcement in this area was thorough.
> 
> In large residential blocks, you get 3 phase supplied to the block,
> but they're typically split so that individual floors in a block
> of flats will all be on one phase. But you're bound to get exceptions:
> for example, our house was temporarily (over a year) connected to
> supplies from two different streets so running a vacuum cleaner across
> the bridge could be mixing phases. However, that was at US voltages,
> not UK ones.
> 
> > In the US most 240V outlets are 3 phase, and they are
> > relatively common. You need them for most ovens, washing machines, and
> > electric cars.
> 
> I'm not sure where you get that impression, but I suspect it's from
> counting pins on the appliance plugs. But look at the plate on the
> back of the appliance or the installation leaflet and you'll see
> they're 240v and they just take both 110v hot lines from both sides
> of the breaker box. That's two pins; the third is neutral and the
> fourth is earth. Obsolete 3-pin appliances have earth and neutral
> combined on a single pin.
> 
> For cars, that makes them charge at level 2 (level 1 is through a
> normal 110v outlet, so slow). As for washing machines, in my
> experience, most here are hot and cold 

Re: Retour d'expérience sur la geo-localisation par iptables

2019-07-30 Thread Pierre Malard


> Le 30 juil. 2019 à 13:57, Ph. Gras  a écrit :
> 
> Salut la liste !
> 
>> En combinant iptable avec le résultat d’un :
>>  whois ${IP} | grep '^country:FR'
>> par exemple. Mais cela risque de ralentir sensiblement le processus…
> 
> D'après ce que j'ai vu, ce n'est pas tellement le pays qui pose problème dans 
> le sens où il existe énormément de zombies partout,
> que le type de requêtes effectuées… et là, on est ramené au classicisme du 
> problème précédent !
> 
> Ceci dit, j'ai en effet constaté des zones géographiques potentiellement 
> casse-pieds, dès qu'une tension géopolitique se fait jour,
> Mais ça ne dure que le temps que le contexte s'apaise et que la situation 
> revienne à la normale.

Effectivement, chez nous, ce sont ces adresses :
  - ^[^@]+@(.*\.)?eu$
  - ^[^@]+@(.*\.)?press$
  - ^[^@]+@(.*\.)?co\.ua$
  - ^[^@]+@(.*\.)?co\.za$
  - ^[^@]+@(.*\.)?biz\.ua$
  - ^[^@]+@(.*\.)?oicp\.net$
  - ^[^@]+@(.*\.)?icu$
qui sont systématiquement rejetées.
C’est souvent les services mails et DNS qui sont ciblés mais aussi les services 
Web (http, https).

Dans ce cas, selon le service, j’ai mis en place un petit outil très drastique 
qui, combiné avec Fail2ban, blacklist systématiquement les emm…  dans une base 
de donnée automatiquement après 10 tentatives répétée sur le même service. Ça 
évite certains lourdingues mais pas tous. Par exemple beaucoup d’adresses 
Amazon… qui changent souvent d'IP (no comments sur le sérieux du prestataire). 
Cela oblige quand même à une vérification régulière, histoire de ne pas bloquer 
un correspondant de bonne foi (faux positif).
Si ça vous intéresse, faites un tour sur :

https://www.cybernaute.ch/bannir-definitivement-ip-bannies-frequemment-fail2ban/

Ce système a au moins l’avantage de ne pas trop ralentir le traitement mais il 
faut bien savoir qu’il n’existe aucun système efficace à 100%.

> 
>>> 
>>> J'envisage de protéger quelques serveurs par des règles iptables rejetant 
>>> des requêtes ne provenant pas de certains pays.
> 
> Si le trafic est effectivement destiné à être circonscrit à une zone 
> géographique spécifiée, il conviendrait plutôt d'exclure toutes les
> zones à l'exception de la zone cible. On peut le faire efficacement dans la 
> configuration de son serveur Web, et pour un MTA je ne
> sais pas… Mais c'est très restrictif : pour l'utilisateur, interdit de partir 
> en vacances à l'étranger ! Peut-être pour une école, alors ?
> 
>>> 
>>> Comme ces serveurs sont à destination de clients français, j'ai en tête de 
>>> rejeter la terre entière sauf la France et quelques pays où des clients 
>>> passeraient leurs vacances.
>>> 
>>> Qui a déjà utilisé dans Debian un module déterminant le pays à partir d'une 
>>> IP ?
>>> Quel retour d'expérience ?
>>> Avec la rareté des adresses IPv4 et j'imagine, la revente de plages entre 
>>> opérateurs divers, une telle détection fonctionne-t-elle correctement pour 
>>> la France ?
>>> Comment s'opère la mise à jour des règles ?
> 
> 
> J'ai développé deux extensions Wordpress utilisant la géolocalisation, avec 
> envoi d'un message dans les logs en cas d'anomalie.
> 
> Mais elle me sert uniquement comme élément d'information et pas de 
> discrimination. Pour ce qui concerne le mailing, je reçois des
> notifications via le protocole DMARC et j'effectue des sondages incluant une 
> géolocalisation, mais c'est purement informatif.
> 
> Pour traiter la géolocalisation, il faut une table établissant la 
> correspondance entre les IP et leur distribution spatiale. Donc l'analyse
> des données par le logiciel qui reçoit l'information. Les tables doivent être 
> mises à jour régulièrement.
> 
> Ce qui implique fatalement un ralentissement du processus, comme l'indique 
> Pierre.
> 
> Bonne journée,
> 
> Ph. Gras

--
Pierre Malard

  « La mondialisation de l'économie a, « en moyenne », eu pour conséquence
 l'augmentation du niveau de vie « moyen ».
 Un homme avec la tête dans un four et les jambes dans un congélateur a,
 « en moyenne », une température corporelle idéale... »
 Philippe Val - France Inter 09/04/2001
   |\  _,,,---,,_
   /,`.-'`'-.  ;-;;,_
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)   πr

perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-.  ;-;;,_:  |,A-  ) )-,_. ,\ 
(  `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'  `-'"'"'\_): 
24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--



signature.asc
Description: Message signed with OpenPGP


Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread David Wright
On Tue 30 Jul 2019 at 14:30:50 (+0200), Matthew Crews wrote:
> On 7/29/19 12:57 PM, David Wright wrote:
> > On Mon 29 Jul 2019 at 20:43:04 (+0100), Joe wrote:
> >> On Mon, 29 Jul 2019 10:26:14 -0500 John Hasler  wrote:
> >>
> >>> They don't have to be on the same branch circuit: just on the same
> >>> "phase"[1].  There is probably a gadget available that bridges the
> >>> signal between phases.
> >>>
> >>> [1] They aren't really phases but everyone calls them that.
> >>
> >> They are in my country. 3-phase, 240V RMS each phase to neutral, 415V
> >> RMS between phases.
> > 
> > Irrelevant in a domestic setting: it's illegal to have more than one
> > phase in an ordinary house. Houses will have one phase each, so you'll
> > share your phase with various neighbours scattered along the street.
> 
> How do you figure?

As I pointed out elsewhere, "my country" is the UK where domestiv
voltages are twice those in the US. There are people who run small
workshops where they have managed to install 3 phase supplies. If
you read up their accounts, most of them are operating very much at
the edge of legality with respect to building regs, planning laws
(US zoning) and running businesses in domestic premises. I never
got the impression that enforcement in this area was thorough.

In large residential blocks, you get 3 phase supplied to the block,
but they're typically split so that individual floors in a block
of flats will all be on one phase. But you're bound to get exceptions:
for example, our house was temporarily (over a year) connected to
supplies from two different streets so running a vacuum cleaner across
the bridge could be mixing phases. However, that was at US voltages,
not UK ones.

> In the US most 240V outlets are 3 phase, and they are
> relatively common. You need them for most ovens, washing machines, and
> electric cars.

I'm not sure where you get that impression, but I suspect it's from
counting pins on the appliance plugs. But look at the plate on the
back of the appliance or the installation leaflet and you'll see
they're 240v and they just take both 110v hot lines from both sides
of the breaker box. That's two pins; the third is neutral and the
fourth is earth. Obsolete 3-pin appliances have earth and neutral
combined on a single pin.

For cars, that makes them charge at level 2 (level 1 is through a
normal 110v outlet, so slow). As for washing machines, in my
experience, most here are hot and cold fill, whereas the UK has
gazillions of cold fill. I would hate to pay for heating up a
top-loading cold fill washing machine with electricity.

That's not to say there are no 3-phase supplies in the US, but
I've never come across them. As they're still 110v, you wouldn't
see any difference as a visitor, of course. But you have a problem
with 240v items like those above, because the voltage between any
two hot lines is only just over 200v. As I say, I've not knowingly
encountered it; perhaps the woman in Austin TX has. People who've
spent all their lives here might know more.

Cheers,
David.



Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread Gene Heskett
On Tuesday 30 July 2019 08:30:50 Matthew Crews wrote:

> On 7/29/19 12:57 PM, David Wright wrote:
> > On Mon 29 Jul 2019 at 20:43:04 (+0100), Joe wrote:
> >> On Mon, 29 Jul 2019 10:26:14 -0500 John Hasler  
wrote:
> >>> They don't have to be on the same branch circuit: just on the same
> >>> "phase"[1].  There is probably a gadget available that bridges the
> >>> signal between phases.
> >>>
> >>> [1] They aren't really phases but everyone calls them that.
> >>
> >> They are in my country. 3-phase, 240V RMS each phase to neutral,
> >> 415V RMS between phases.
> >
> > Irrelevant in a domestic setting: it's illegal to have more than one
> > phase in an ordinary house. Houses will have one phase each, so
> > you'll share your phase with various neighbours scattered along the
> > street.
>
> How do you figure? In the US most 240V outlets are 3 phase, and they
> are relatively common. You need them for most ovens, washing machines,
> and electric cars.

I'm 84, and have yet to see a 3 phase line into a house. ALL 3 wire 
housedrops are 240-252 volts center tapped with the centertap grounded 
at the butt-wrap on the can carrying pole and bare to the house 
weatherhead, and usually serving as the messenger wire for the other 2 
hot wires. We do not consider that the 180 degree electrical phase makes 
a separate phase. Houses are equipt with service boxes that use both of 
these hot lines so on average the neutral current is balanced and quite 
low when everything is turned on.

And I've never seen a 240 volt washing machine on the sales floor here.

Any electric car that needed 3 phase to charge would be silly and would 
quickly be bankrupt, no one is going to buy a $35k Tesla when he finds 
the garage pluggin to charge it costs him another $20k.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Laptop pour Debian

2019-07-30 Thread Haricophile
Le lundi 29 juillet 2019 à 11:32 +0200, ajh-valmer a écrit :
> Quand à la consommation de la batterie, entre une CG dédiée,
> ou intégrée au processeur, y a t-il une telle différence ?

Oui, très clairement. Mais on ne peut pas avoir le beurre et  l'argent
du beurre sauf avec les doubles chipset qui posent d'autres problèmes.
Après en dehors de la conso, il y a la capacité de la batterie. Quand la
batterie est clipsable, il y a parfois des batteries grandes capacitées
et la possibilité d'avoir 2 batteries ce qui rajoute un peu de frais a
court terme et de poids dans le sac mais résoud la plupart des problèmes
d'autonomie.

> D'autant que la dédiée permet de choisir un mode consommation
> réduite, 
> par moins de luminosité.

Il suffit d'éteindre l'ordi et ça ne consomme plus du tout... dis moi
quelle est la chose qui te pose un problème et je t'expliquerait comment
t'en passer. C'est vraiment ton argument de trop alors que les autres
sont tout a fait pertinents.

Plaisanterie mise à part "le fin" c'est surtout de la fragilité et de
"l'obsolescence programmée" plus rapidement, et une manière de faire du
nouveau avec des nouveaux emballages. Je n'ai jamais compris ça
d'ailleurs, autant le poids est important, autant je n'aime pas "le fin"
et "le look" (à ne pas confondre avec le design).

Quand on ne cherche pas le top des performances "jeux-multimédia", on
trouve de bonnes affaires en occase dans les gammes "pro" (et pas
fines), qui ont généralement des gros atouts comme un boitier plus
solides (les charnières...) une bonne connectique, des meilleurs
composants en qualité, et 2 emplacements disques pour faire du raid ou
autre chose. Et il y a pas mal d'entreprises qui font tourner leur
matériel rapidement, 2 à 4ans max sur des machine potentiellement
utilisables > 10 ans si on en prend soin.






Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread John Hasler
 Matthew writes:
> In the US most 240V outlets are 3 phase...

They are 240 V center-tap grounded.  That is what is provisioned to most
residences in the USA, usually from a single-phase transformer on a pole
(or on a pad if distribution is underground).  120 V branch circuits are
distributed equally between the two 120 V lines in the breaker panel.
Electricians incorrectly refer two the two 120 V lines as phases and the
grounded conductor as the neutral.

Three phase is perfectly legal if you are willing to pay for it,
though.  
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Laptop pour Debian

2019-07-30 Thread Haricophile
Le dimanche 28 juillet 2019 à 18:55 +0200, ajh-valmer a écrit :
> Ekimia Bionic ultrabook 15 pouces Ubuntu Linux
> Carte graphique intel HD 620 
> 
> Cher pour un portable à carte graphique non dédiée,
> intégrée au processeur qui peut prendre 1Go de RAM.

J'ai toujours trouvé que ces trucs étaient pour les puristes. Ils ne
sont jamais arrivé à avoir un modèle économique permettant d'avoir des
prix compétitifs. Par contre, on est sûr ne ne pas avoir de trojan
préinstallé dans le firmware, donc il y a des cas où le prix et la
performance ne sont pas les premiers critères. Ça peut parfois être
vital, au sens propre du terme.





Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread Michael Stone

On Mon, Jul 29, 2019 at 08:46:36PM -0500, David Wright wrote:

On Mon 29 Jul 2019 at 18:00:25 (-0400), Gene Heskett wrote:

On Monday 29 July 2019 17:26:17 ghe wrote:
> On 7/29/19 1:57 PM, David Wright wrote:
> > Irrelevant in a domestic setting: it's illegal to have more than one
> > phase in an ordinary house.
>
> FYI, and significantly OT:
>
> I don't think that's true in the US.


IIRC Joe's in the UK. 3-phase there is lethal. 1 is bad enough.


Domestic 3 phase is common in much of the world, including 
(specifically) the UK. There's nothing illegal about it, it's just 
prohibitively expensive if (as in most of the US) 3 phase isn't already 
provisioned. (E.g., in my area many people would need to eat the cost of 
more than a quarter mile of new poles and wires if they wanted 3 phase, 
and there's basically zero advantage unless you're trying to run 
industrial electric motors in your house for some reason.)


On Tue, Jul 30, 2019 at 02:30:50PM +0200, Matthew Crews wrote:

How do you figure? In the US most 240V outlets are 3 phase, and they are
relatively common. You need them for most ovens, washing machines, and
electric cars.


That's split single phase, not 3 phase.



Re: Fwd: nemo crashes with no error [in Stretch]

2019-07-30 Thread deb




On 7/28/19 11:21 AM, Curt wrote:

On 2019-07-28, deb  wrote:

(Just trying this one again. No one else has seen this?)



on Debian Stretch 9.8 to 9.9 --has anyone else run into nemo just flat
out crashing?


Martin ran into it.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869165




Thank you Curt.

There's at least stuff there for me to dig into.

:)



Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread John Hasler
Erik writes:
> Here in Australia we also have only "240v", generally closer to 230v
> nowadays, and domestic 3 phase is no big deal, just a couple of
> thousand dollars more, as it's just a 3 phase cable, 3 fuses on the
> pole instead of 1...

In low density areas in the USA there isn't always three-phase on the
pole.  The substation that our feeder is on is about eight miles away
and about halfway here one phase turns down a side road to feed some
other farms.  To get three-phase I'd have to pay Excel to string the
missing wire.  The line is also 7 KV so I'd have to pay for two more
transformers.

At our place in Minneapolis, on the other hand, there was 240
three-phase on the pole fed from a set of transformers at the end of the
block. I could have had three-phase in the house just by paying for the
wire.  Of course, any rf I had put on the house wiring would have gone
to every house on the block...
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread Matthew Crews
On 7/29/19 12:57 PM, David Wright wrote:
> On Mon 29 Jul 2019 at 20:43:04 (+0100), Joe wrote:
>> On Mon, 29 Jul 2019 10:26:14 -0500 John Hasler  wrote:
>>
>>> They don't have to be on the same branch circuit: just on the same
>>> "phase"[1].  There is probably a gadget available that bridges the
>>> signal between phases.
>>>
>>> [1] They aren't really phases but everyone calls them that.
>>
>> They are in my country. 3-phase, 240V RMS each phase to neutral, 415V
>> RMS between phases.
> 
> Irrelevant in a domestic setting: it's illegal to have more than one
> phase in an ordinary house. Houses will have one phase each, so you'll
> share your phase with various neighbours scattered along the street.

How do you figure? In the US most 240V outlets are 3 phase, and they are
relatively common. You need them for most ovens, washing machines, and
electric cars.



signature.asc
Description: OpenPGP digital signature


Re: Stream m3u8 not supported by network music player

2019-07-30 Thread Kevin DAGNEAUX

Le 30/07/2019 à 13:04, john doe a écrit :

Hi,

I listen to a webradio for which I have a direct URL but my network
music players do not support the 'm3u8' format.
I'm thinking to convert in realtime this m3u8 stream to a supported
stream (mp3), is it the best way forward or is there a better approach?
If it is the best way forward, how would I go about it?

Obviously, asking for a compatible stream would be ideal but if I find a
way to do it on my own I could also apply this method to other stream.

I'd like to only do it with Debian packages.

Any help is appreciated.

--
John Doe


Hi John,

You can play and/or trancode your stream using VLC.

VLC is availlable in Debian's repos.

<>

Re: Retour d'expérience sur la geo-localisation par iptables

2019-07-30 Thread Ph. Gras
Salut la liste !

> En combinant iptable avec le résultat d’un :
>   whois ${IP} | grep '^country:FR'
> par exemple. Mais cela risque de ralentir sensiblement le processus…

D'après ce que j'ai vu, ce n'est pas tellement le pays qui pose problème dans 
le sens où il existe énormément de zombies partout,
que le type de requêtes effectuées… et là, on est ramené au classicisme du 
problème précédent !

Ceci dit, j'ai en effet constaté des zones géographiques potentiellement 
casse-pieds, dès qu'une tension géopolitique se fait jour,
Mais ça ne dure que le temps que le contexte s'apaise et que la situation 
revienne à la normale.

>> 
>> J'envisage de protéger quelques serveurs par des règles iptables rejetant 
>> des requêtes ne provenant pas de certains pays.

Si le trafic est effectivement destiné à être circonscrit à une zone 
géographique spécifiée, il conviendrait plutôt d'exclure toutes les
zones à l'exception de la zone cible. On peut le faire efficacement dans la 
configuration de son serveur Web, et pour un MTA je ne
sais pas… Mais c'est très restrictif : pour l'utilisateur, interdit de partir 
en vacances à l'étranger ! Peut-être pour une école, alors ?

>> 
>> Comme ces serveurs sont à destination de clients français, j'ai en tête de 
>> rejeter la terre entière sauf la France et quelques pays où des clients 
>> passeraient leurs vacances.
>> 
>> Qui a déjà utilisé dans Debian un module déterminant le pays à partir d'une 
>> IP ?
>> Quel retour d'expérience ?
>> Avec la rareté des adresses IPv4 et j'imagine, la revente de plages entre 
>> opérateurs divers, une telle détection fonctionne-t-elle correctement pour 
>> la France ?
>> Comment s'opère la mise à jour des règles ?


J'ai développé deux extensions Wordpress utilisant la géolocalisation, avec 
envoi d'un message dans les logs en cas d'anomalie.

Mais elle me sert uniquement comme élément d'information et pas de 
discrimination. Pour ce qui concerne le mailing, je reçois des
notifications via le protocole DMARC et j'effectue des sondages incluant une 
géolocalisation, mais c'est purement informatif.

Pour traiter la géolocalisation, il faut une table établissant la 
correspondance entre les IP et leur distribution spatiale. Donc l'analyse
des données par le logiciel qui reçoit l'information. Les tables doivent être 
mises à jour régulièrement.

Ce qui implique fatalement un ralentissement du processus, comme l'indique 
Pierre.

Bonne journée,

Ph. Gras


Re: Stream m3u8 not supported by network music player

2019-07-30 Thread Celejar
On Tue, 30 Jul 2019 13:04:10 +0200
john doe  wrote:

> Hi,
> 
> I listen to a webradio for which I have a direct URL but my network
> music players do not support the 'm3u8' format.

Which network players? VLC and mpv, for example, apparently do support
m3u8 playlists:

https://www.lifewire.com/m3u8-file-2621956

[and the manpage for mpv mentions m3u8]

> I'm thinking to convert in realtime this m3u8 stream to a supported

m3u8 is not a stream format, but a playlist format:

https://en.wikipedia.org/wiki/M3U

> stream (mp3), is it the best way forward or is there a better approach?
> If it is the best way forward, how would I go about it?
> 
> Obviously, asking for a compatible stream would be ideal but if I find a
> way to do it on my own I could also apply this method to other stream.
> 
> I'd like to only do it with Debian packages.
> 
> Any help is appreciated.
> 
> --
> John Doe

Celejar



Re: Stream m3u8 not supported by network music player

2019-07-30 Thread Henning Follmann
On Tue, Jul 30, 2019 at 01:04:10PM +0200, john doe wrote:
> Hi,
> 
> I listen to a webradio for which I have a direct URL but my network
> music players do not support the 'm3u8' format.
> I'm thinking to convert in realtime this m3u8 stream to a supported
> stream (mp3), is it the best way forward or is there a better approach?
> If it is the best way forward, how would I go about it?
> 
> Obviously, asking for a compatible stream would be ideal but if I find a
> way to do it on my own I could also apply this method to other stream.
> 
> I'd like to only do it with Debian packages.
> 
> Any help is appreciated.
> 
> --
> John Doe
>


m3u or m3u8 are playlist files. These are not streams.
Most likely the webadmin screwed that up and assigned the
wrong mime type. However there is an easy fix.
Download (save as) this m3u file, open it with any
text editor and extract the url for the stream from that
file.

-H

-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread Erik Christiansen
On 29.07.19 20:46, David Wright wrote:
> On Mon 29 Jul 2019 at 18:00:25 (-0400), Gene Heskett wrote:
> > On Monday 29 July 2019 17:26:17 ghe wrote:
> > 
> > > On 7/29/19 1:57 PM, David Wright wrote:
> > > > Irrelevant in a domestic setting: it's illegal to have more than one
> > > > phase in an ordinary house.
> > >
> > > FYI, and significantly OT:
> > >
> > > I don't think that's true in the US.
> 
> IIRC Joe's in the UK. 3-phase there is lethal. 1 is bad enough.

Here in Australia we also have only "240v", generally closer to 230v
nowadays, and domestic 3 phase is no big deal, just a couple of thousand
dollars more, as it's just a 3 phase cable, 3 fuses on the pole instead
of 1, and then what you want to cram in your switchboard. Good for a big
aircon in a big house on a 43°C day. (110°F)

People who have it and a nice big PV array on the roof are allowed to
feed much more power back into the grid than someone with only one
phase. Now that the feed-in tariff is better, some consumers have close
to zero electricity bill, despite using grid power at night. (Much
cheaper than batteries.)

Should have no power-line signal leakage on my new build, it's off-grid,
with a mile to the nearest neighbour. ;-)

Erik



Stream m3u8 not supported by network music player

2019-07-30 Thread john doe
Hi,

I listen to a webradio for which I have a direct URL but my network
music players do not support the 'm3u8' format.
I'm thinking to convert in realtime this m3u8 stream to a supported
stream (mp3), is it the best way forward or is there a better approach?
If it is the best way forward, how would I go about it?

Obviously, asking for a compatible stream would be ideal but if I find a
way to do it on my own I could also apply this method to other stream.

I'd like to only do it with Debian packages.

Any help is appreciated.

--
John Doe



Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread deloptes
Dan Ritter wrote:

> These operate at extremely low speed and are generally a
> terrible choice.
> 
> However, you have a history of trying to avoid the good
> decisions that people steer you towards, so I encourage you to
> give Bluetooth a miss entirely and go for an infrared LAN with
> a ceiling reflector.

:D hahahaha - this made my day - good one (y)



Re: Retour d'expérience sur la geo-localisation par iptables

2019-07-30 Thread Pierre Malard
Salut,

En combinant iptable avec le résultat d’un :
whois ${IP} | grep '^country:FR'
par exemple. Mais cela risque de ralentir sensiblement le processus…

> Le 30 juil. 2019 à 09:38, Olivier  a écrit :
> 
> Bonjour,
> 
> J'envisage de protéger quelques serveurs par des règles iptables rejetant des 
> requêtes ne provenant pas de certains pays.
> 
> Comme ces serveurs sont à destination de clients français, j'ai en tête de 
> rejeter la terre entière sauf la France et quelques pays où des clients 
> passeraient leurs vacances.
> 
> Qui a déjà utilisé dans Debian un module déterminant le pays à partir d'une 
> IP ?
> Quel retour d'expérience ?
> Avec la rareté des adresses IPv4 et j'imagine, la revente de plages entre 
> opérateurs divers, une telle détection fonctionne-t-elle correctement pour la 
> France ?
> Comment s'opère la mise à jour des règles ?
> Suggestions ?
> 
> Slts

--
Pierre Malard

   « Si, comme le disait le général de Gaulle, la France n'avait pas été la
   France... on peut logiquement penser que tous les français auraient été
   des étrangers » ;-)
   
Pierre Dac
   |\  _,,,---,,_
   /,`.-'`'-.  ;-;;,_
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)   πr

perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-.  ;-;;,_:  |,A-  ) )-,_. ,\ 
(  `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'  `-'"'"'\_): 
24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--



signature.asc
Description: Message signed with OpenPGP


Retour d'expérience sur la geo-localisation par iptables

2019-07-30 Thread Olivier
Bonjour,

J'envisage de protéger quelques serveurs par des règles iptables rejetant
des requêtes ne provenant pas de certains pays.

Comme ces serveurs sont à destination de clients français, j'ai en tête de
rejeter la terre entière sauf la France et quelques pays où des clients
passeraient leurs vacances.

Qui a déjà utilisé dans Debian un module déterminant le pays à partir d'une
IP ?
Quel retour d'expérience ?
Avec la rareté des adresses IPv4 et j'imagine, la revente de plages entre
opérateurs divers, une telle détection fonctionne-t-elle correctement pour
la France ?
Comment s'opère la mise à jour des règles ?
Suggestions ?

Slts


ffmpeg in buster: encoding on hardware

2019-07-30 Thread Reco
Dear list,

Buster changed some things, and one of those is the version of ffmpeg
and its features. Note that I'm talking about ffmpeg binary here, not
libraries.

In stretch, ffmpeg provided "nvenc" hardware acceleration (NVIDIA
proprietary cards only), that really shortened encoding times.
In buster, "nvenc" is gone. Ok, it was non-free, so it had it coming. I
accept it.

The question is - what's the NVIDIA-specific replacement of nvenc in
buster? Free software preferred.

Rebuilding ffmpeg with CUDA SDK is something I'd like to avoid.

Reco



Re: Wireless home LAN - WiFi vs Bluetooth?

2019-07-30 Thread Joe
On Mon, 29 Jul 2019 20:46:36 -0500
David Wright  wrote:

> On Mon 29 Jul 2019 at 18:00:25 (-0400), Gene Heskett wrote:
> > On Monday 29 July 2019 17:26:17 ghe wrote:
> >   
> > > On 7/29/19 1:57 PM, David Wright wrote:  
> > > > Irrelevant in a domestic setting: it's illegal to have more
> > > > than one phase in an ordinary house.  
> > >
> > > FYI, and significantly OT:
> > >
> > > I don't think that's true in the US.  
> 
> IIRC Joe's in the UK. 3-phase there is lethal. 1 is bad enough.
> 

Yes. I'm not an electrician, the only time I've encountered it was at
an exhibition, I think in Bahrain, where a number of British companies
shared a stand. A three-phase cable with a box on the end was dangled
into our stand, along with a request to balance the loads as best we
could. The other people were all too cowardly to touch the thing, and I
was the youngest there (it was about forty years ago) so I ended up
wiring it. Carefully. No, it wasn't live at the time, but everyone who
has built an exhibition stand knows how reliable the organisers'
electricians are, and how power comes and goes without warning...

-- 
Joe