Re: postfix is dead

2020-07-13 Thread Pòl Hallen

myhostname = myhost.local

  really?


I changed the name of mail server :)


1) uid of postfix user
  id postfix


119


Are there any issues in the log?
journalctl _UID=


output of journalctl _UID=199 it's normal

thanks
--
Pol



Re: Using .XCompose

2020-07-13 Thread Ajith R
Hi David,

> And I assume they're not in the files that you wrote from scratch,
> like .XCompose. Would that be right?

Yes, I couldn't find any in my XCompose file and in the layout file.


> Kate appears to be a normal text editor. The third sentence of its
> official description (https://kate-editor.org/) says "Choose it for
> […], editing configuration files". It doesn't seem to me to be
> like writing text files in, say, Word (a word processor).

I am not sure I understand this correctly.  I know that Kate is plain text 
editor, not something like Word, if that is what you mean

> It would be nice not to get sidetracked by this, and to find out
> whether the way that the Indic Script input system (InScript) works is
> compatible with the composition of characters, which is the purpose of
> .XCompose. (I'm assuming that linux tries to give the >1billion people
> concerned an InScript system that's compatible with other platforms).

I tried thrice to send a reply to your previous message. Those messages are 
shown as being sent, but does not get delivered to me through debian list.
(Earlier, I got a message that there was a bounce and that I would be removed 
if it happens again. I don't know if I have been removed from the list or not.)
I want to repeat that my problem of .XCompose not working is not lmited to 
Indic scripts. It is happening with English too.
BTW, InScript is one layout among many layouts for the various Indian Scripts.


Thanks,
ajith



Network services fail on startup

2020-07-13 Thread Ross Boylan
I am having intermittent problems on startup in which network services do
not start properly, generally with messages suggesting the network
interface they need is not available. If I stop and start them after, they
will run.  I suspect this is a result of the interaction of systemd,
ifupdown, and a pre-up script that takes a while to execute.  But if I look
at things now it seems the dependencies in place should suffice.  Of
course, this is after I restarted it, and so perhaps the dependency is
added dynamically, too late to do any good.

I think what I need is for network-online.target not to be ready until
after the interfaces ifup controls are up, but I'm not sure how to do it.
Also not sure it's the problem, particularly since some information
indicates it already has such a dependency.

Details:

My main interface is controlled by /etc/network/interfaces that includes
allow-hotplug /enp*
iface enp5s0 inet static
   # etc

The interface has a pre-up script that has over 1,000 iptables add lines
for blacklists, and I suspect this is slowing things down enough to cause
trouble.  I was not having problems when the script was shorter.

This is a problem other have encountered:
https://unix.stackexchange.com/questions/209832/debian-systemd-network-online-target-not-working
https://unix.stackexchange.com/questions/257888/systemd-wait-for-network-interface-to-be-up-before-running-service

Various solutions are suggested, with a leading one being a dependency on
network-online.target.  But all my network services already have that
dependency.  For example,
# systemctl cat tftpd-hpa
# /run/systemd/generator.late/tftpd-hpa.service
# Automatically generated by systemd-sysv-generator

[Unit]
Documentation=man:systemd-sysv-generator(8)
SourcePath=/etc/init.d/tftpd-hpa
Description=LSB: HPA's tftp server
Before=multi-user.target
Before=multi-user.target
Before=multi-user.target
Before=graphical.target
After=remote-fs.target
After=network-online.target
Wants=network-online.target

tftpd-hpa is the service that fails most consistently.

# systemctl list-dependencies tftpd-hpa
Mon 13 Jul 2020 02:42:22 PM PDT
tftpd-hpa.service
● ├─system.slice
● ├─network-online.target
● │ ├─networking.service
● │ └─NetworkManager-wait-online.service
● └─sysinit.target
etc.
Notably absent from network-online.target's dependencies is anything
related to ifup.
However, ifup@enp5s0.service appears as an After dependency of
network-online.target when viewed another way:
# systemctl show network-online.target
Id=network-online.target
Names=network-online.target
Wants=NetworkManager-wait-online.service networking.service
WantedBy=tftpd-hpa.service nmbd.service hddtemp.service docker.service
mythtv-backend.service exim4.service hylafax.service smbd.service
inetd.service isc-dhcp-server.service
Conflicts=shutdown.target
Before=hylafax.service isc-dhcp-server.service smbd.service exim4.service
apt-daily.service rc-local.service apt-daily-upgrade.service
mythtv-backend.service apcupsd.service tftpd-hpa.service docker.service
inetd.service hddtemp.service shutdown.target nmbd.service
After=ifup@enp5s0.service network.target networking.service
NetworkManager-wait-online.service
Documentation=man:systemd.special(7)
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
Any suggestions?
Ideally I would not be tied to the interface name, so that if I plug the
network cable into another port things will still work.

Thanks.
Ross Boylan


Re: what calculator do you use?

2020-07-13 Thread The Wanderer
On 2020-07-13 at 20:56, David Wright wrote:

> On Mon 13 Jul 2020 at 19:02:38 (-0400), The Wanderer wrote:

>> ; pi(.9)
>> 3.1416
> 
> It appears to use the argument as an integral factor of the answer
> quoted. However, the last example seems wrong. The answer ought to be
> 3.14163, which is 34907 * 0.9. Was that a copy/paste failure?

Yes, apparently so. Sorry about that!


Based on a bit more digging, apparently calc does also have an atan()
function, which produces the arctangent of its argument; atan(1)*4 gives
3.14159265358979323848. Oddly, that last digit is not the same as what
'bc -l' gave from '4*a(1)' in Greg's demonstration; it looks like
atan(1) gives a value which is off in the very last displayed decimal
place from what Greg gave. I suspect that there is display rounding
involved on one side or the other.

atan() is of course more typing than a(), but it's also both arguably
more guessable (without already knowing function names) and definitely
more identifiable (in terms of recognizing what the function does from
the name), so there's a tradeoff.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: what calculator do you use?

2020-07-13 Thread David Wright
On Mon 13 Jul 2020 at 19:02:38 (-0400), The Wanderer wrote:
> On 2020-07-13 at 08:23, Greg Wooledge wrote:
> > On Mon, Jul 13, 2020 at 06:47:51AM -0400, The Wanderer wrote:
> > 
> >> In some contexts it could even need fewer; for example, calc (as
> >> shipped in Debian) provides the built-in function 'pi()', which
> >> takes a precision - expressed as a value between zero and one - and
> >> returns pi to that level of precision.
> > 
> > I do not understand this description.  How many decimal places do
> > you get for a precision of, say, 0.5?
> 
> (It turns out I got the specification of what the precision can be
> expressed as wrong, and "precision" may not be the correct term for it
> anyway; see below.)
> 
> I don't understand the full algorithm myself, but the output seems
> coherent:
> 
> $ calc
> C-style arbitrary precision calculator (version 2.12.7.2)
> Calc is open software. For license details type:  help copyright
> [Type "exit" to exit, or "help" for help.]
> 
> ; pi(.5)
> 3
> ; pi(.1)
> 3.1
> ; pi(.9)
> 2.7
> ; pi(.05)
> 3.15
> ; pi(.0005)
> 3.1415
> ; pi(.5)
> 3.1416
> ; pi(.1)
> 3.14159
> ; pi(.9)
> 3.1416
> 

It appears to use the argument as an integral factor of the answer
quoted. However, the last example seems wrong. The answer ought to be
3.14163, which is 34907 * 0.9. Was that a copy/paste failure?

[…]

> Also, it turns out that it accepts values >=1 and <=0 as well:
> 
> ; pi(5)
> 5
> ; pi(10)
> 0
> ; pi(50)
> 0
> ; pi(3)
> 3
> ; pi(4)
> 4
> ; pi(2)
> 4
> ; pi(-1)
> 3
> ; pi(0)
> zero epsilon value for pi
> 
> ; pi(1)
> 3

So it looks like the argument's sign is ignored.

> The results just aren't very useful.

Perhaps it's connected with the facility you mentioned earlier,
the option to present non-integer output in the form of a ratio
of two integers.

Cheers,
David.



XFCE4 - How to increase font size on applications?

2020-07-13 Thread hobie of RMN
Hi, Folks -

I'm running Linux buster with xce4 desktop.  Some applications come up
with font size too small for me to be able to read menu texts, etc.,
notably Libre programs and alsamixer, etc.  How can I ge3t larger fonts on
individual programs?



Re: how to install cherrytree?

2020-07-13 Thread kaye n
On Tue, Jul 14, 2020 at 5:34 AM Marco Möller <
ta...@debianlists.mobilxpress.net> wrote:

>
> In the past, on Debian/buster, I did this, not having encountered
> problems, but of course I cannot give you any warranty for your
> installation (! Note that my notes and experience is not for the most
> up-to-date version of cherrytree !):
>
> 1.) download the latest version of the required dependency which is no
> more in current stable or newer Debian repositories:
> https://packages.debian.org/stretch/amd64/python-gtksourceview2/download
>
> 2.) download the cherrytree *.deb package:
> https://www.giuspen.com/cherrytree/#downl
>
> 3.) install both packages with the following commands:
> apt --no-install-recommends --no-install-suggests install
> ./python-gtksourceview2_2.10.1-3_amd64.deb
> apt install ./cherrytree_0.38.10-0_all.deb
>
>
> Later on I moved to this solution, which I am currently running on
> Debian/testing: if you consider the usage of  flatpak  to be an option
> for you then could try it. Actually I recommend this over the first,
> above mentioned older solution.Keep in mind that using flatpak there
> will be install a "containerized, very well defined mini-linux
> environment" for you, which is then taken advantage of by the apps which
> you install (by a flatpak command) to run "inside" this flatpak base
> environment. The base flatpak installation and a first graphical app
> depending on Gtk, like cherrytree, will occupy some 2 GB of storage space.
>
> 1.) install  flatpak
> apt install flatpak
>
> 2.) install cherrytree as an flatpak app; this will automatically
> install also all the by cherrytree needed flatpak base environment
> components
> flatpak install flathub com.giuspen.cherrytree
>
> 3.) run and enjoy cherrytree
> flatpak run com.giuspen.cherrytree
>
> I am using cherrytree like this for a year now without having run into
> any trouble.
>

thanks friends!
-
kaye@laptop:~$  flatpak install flathub com.giuspen.cherrytree
Note that the directories
'/var/lib/flatpak/exports/share'
'/home/kaye/.local/share/flatpak/exports/share'
are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.
Looking for matches…
error: No remote refs found similar to ‘flathub’


if it matters, my system:
Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.4
Distro: Debian GNU/Linux 10 (buster)


Re: How do I report bug on Old machine via this New Laptop?

2020-07-13 Thread The Wanderer
On 2020-07-13 at 17:16, Paul Gerken wrote:

> Hi User,
> 
>apt-get install cups cups-client "foomatic-db*"  
> 
> fails with  foomatic-db-compressed-ppds  : Conflicts:   foomatic-db  Breaks:
> foomatic-db  
> 
>   Unable to correct problems, you have held broken packages.

That appears to be because it's not supposed to be possible to install
both of these two packages side-by-side.

They apparently both provide files that satisfy the same requirement,
such that having both of them present on the same running system
wouldn't make sense.

You'll need to narrow down your list of packages to be installed, by not
using the wildcard.

The list of package which that wildcard pattern would match can be
identified in a number of ways, but I just did it by the following:

$ apt-cache search foomatic | grep ^foomatic

(I'd expect 'apt-cache search ^foomatic' to do it, but apparently that
also matches the cups-filters package. I don't care enough to
investigate why at the moment.)

> How do I go about reporting this problem? w/o email on target Kali
> linux machine?

I did write out a fairly lengthy, step-by-step answer to this, but I
think the answer had started to become condescending and generally
unproductive, so I'm not going to include it here.

The short answer is that when you cancel an otherwise-complete bug
report from the 'reportbug' program, it saves the result into a file,
and you can take that file to another machine and (with a little work)
turn it into an E-mail that can be sent from there.

I use a similar method on my own computer, since although I do have the
ability to send E-mail from here, I can't do it from the command line or
via reportbug. I suspect I don't have a working SMTP configuration
defined anywhere those mail systems know how to access.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: what calculator do you use?

2020-07-13 Thread The Wanderer
On 2020-07-13 at 08:23, Greg Wooledge wrote:

> On Mon, Jul 13, 2020 at 06:47:51AM -0400, The Wanderer wrote:
> 
>> In some contexts it could even need fewer; for example, calc (as
>> shipped in Debian) provides the built-in function 'pi()', which
>> takes a precision - expressed as a value between zero and one - and
>> returns pi to that level of precision.
> 
> I do not understand this description.  How many decimal places do
> you get for a precision of, say, 0.5?

(It turns out I got the specification of what the precision can be
expressed as wrong, and "precision" may not be the correct term for it
anyway; see below.)

I don't understand the full algorithm myself, but the output seems
coherent:

$ calc
C-style arbitrary precision calculator (version 2.12.7.2)
Calc is open software. For license details type:  help copyright
[Type "exit" to exit, or "help" for help.]

; pi(.5)
3
; pi(.1)
3.1
; pi(.9)
2.7
; pi(.05)
3.15
; pi(.0005)
3.1415
; pi(.5)
3.1416
; pi(.1)
3.14159
; pi(.9)
3.1416

I generally just use something like 'pi(.0001)' (i.e., hold
down the 0 key for a while in between . and 1), and that produces all
the precision I could really care for. The limit that gets printed (at
least with default configuration) appears to be

; pi(.0001)
~3.14159265358979323846

and you can get that same visible result with a much shorter precision
value. I expect that there are configuration settings which will
increase the displayed precision, but I've never needed to find them.

Also, it turns out that it accepts values >=1 and <=0 as well:

; pi(5)
5
; pi(10)
0
; pi(50)
0
; pi(3)
3
; pi(4)
4
; pi(2)
4
; pi(-1)
3
; pi(0)
zero epsilon value for pi

; pi(1)
3

The results just aren't very useful.

>> The list of built-in functions in the bc man page is very short,
>> and doesn't include any such thing, so unless something has added
>> one without the man page getting updated anything that needs to use
>> pi is going to take more typing than with calc.
> 
> True.  But it's not a *huge* amount of typing.
> 
> unicorn:~$ bc -l

Yep - as soon as I saw someone point out what this flag did, I figured
this would be in there somewhere. (I didn't figure it out from looking
the flag up in the man page, but that's me.)

> bc 1.07.1
> Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free 
> Software Foundation, Inc.
> This is free software with ABSOLUTELY NO WARRANTY.
> For details type `warranty'. 
> 4*a(1)
> 3.14159265358979323844

Definitely convenient, but also requires knowing more about math than
I've managed to internalize over the decades to figure out. I would not
have thought of multiplying by the arctangent of 1 (or of anything) to
arrive at pi.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: Liste des IP des dépôts Debian

2020-07-13 Thread NoSpam

Bonsoir

Le 13/07/2020 à 19:07, Bernard Schoenacker a écrit :

- Mail original -

[...]
certes en faisant un host du domaine j'ai l'ip, mais elle semble
changer
tout les 2-3 jours.

[...]

bonjour,

pourquoi vouloir continuer de mouler sur son rocher alors que
la solution est très facile à trouver ?


voici ma solution :

-a) utiliser la liste officielle des dépots debian indiquants les domaines
-b) réaliser un scipt utilisant dig (dnsutils)
-c) extraite l'adresse IPv4


Bernard, le Monsieur dit que les adresses changent tous les 2~3 jours, 
en quoi ta solution est pérenne ?


--
Daniel



How do I report bug on Old machine via this New Laptop?

2020-07-13 Thread Paul Gerken
Hi User,

   apt-get install cups cups-client "foomatic-db*"  

fails with  foomatic-db-compressed-ppds  : Conflicts:   foomatic-db  Breaks:
foomatic-db  

  Unable to correct problems, you have held broken packages.

  unmet dependencies

 

Fri 7/10  installed Kali linux from USB, burned from
kali-linux-2020.2-installer-amd64  download of 7/7.

D/L on this laptop Intel i7  WIN7 machine that has email.  

Installed as Kali on different AMD Athalon 64x2 tower machine which has no
email on it.

 

Distro is  5.7.0-kali1-amd64 #1 SMP Debian 5.7.6-1kali2 (2020-07-01) x86_64
GNU /Linux

 

How do I go about reporting this problem? w/o email on target Kali linux
machine?

Which package is it against?  foomatic-db-compressed-ppds   OR   foomatic-db
??

New-ish to Linux, fast learning, have programmed in different O/S-s back to
1961.

 

More importantly, how do I go about fixing it? 

Or does someone else need to change the source and re-gen?

 

Tkx, Paul Gerken

 

 



Re: how to install cherrytree?

2020-07-13 Thread Marco Möller

On 13.07.20 22:42, kaye n wrote:

Hello Friends!
Having trouble installing cherrytree app.

/kaye@laptop:~$ sudo apt-get update/
[sudo] password for kaye:
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:4 https://download.virtualbox.org/virtualbox/debian buster InRelease
Fetched 51.9 kB in 6s (8,526 B/s)
Reading package lists... Done
/kaye@laptop:~$ sudo apt-get install cherrytree/
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cherrytree

thank you for your time!
by the way thank you for the calculator suggestions in my previous thread.



In the past, on Debian/buster, I did this, not having encountered 
problems, but of course I cannot give you any warranty for your 
installation (! Note that my notes and experience is not for the most 
up-to-date version of cherrytree !):


1.) download the latest version of the required dependency which is no 
more in current stable or newer Debian repositories:

https://packages.debian.org/stretch/amd64/python-gtksourceview2/download

2.) download the cherrytree *.deb package:
https://www.giuspen.com/cherrytree/#downl

3.) install both packages with the following commands:
apt --no-install-recommends --no-install-suggests install 
./python-gtksourceview2_2.10.1-3_amd64.deb

apt install ./cherrytree_0.38.10-0_all.deb


Later on I moved to this solution, which I am currently running on 
Debian/testing: if you consider the usage of  flatpak  to be an option 
for you then could try it. Actually I recommend this over the first, 
above mentioned older solution.Keep in mind that using flatpak there 
will be install a "containerized, very well defined mini-linux 
environment" for you, which is then taken advantage of by the apps which 
you install (by a flatpak command) to run "inside" this flatpak base 
environment. The base flatpak installation and a first graphical app 
depending on Gtk, like cherrytree, will occupy some 2 GB of storage space.


1.) install  flatpak
apt install flatpak

2.) install cherrytree as an flatpak app; this will automatically 
install also all the by cherrytree needed flatpak base environment 
components

flatpak install flathub com.giuspen.cherrytree

3.) run and enjoy cherrytree
flatpak run com.giuspen.cherrytree

I am using cherrytree like this for a year now without having run into 
any trouble.



If your host desktop environment is Plasma (KDE) and not Gtk (GNOME) 
based, then you may want to consider to also add Debian package 
xdg-desktop-portal-kde  to your KDE Plasma installation from the usual 
Debian repository with the usual apt command, so that GTK apps can use 
KDE dialogs, and also flatpak apps can access native KDE dialogs. etc.
I finally have kept a note stating the following concerning the 
xdg-desktop-portal-kde addition, although I cannot explain anywmore why 
I made this and kept the note on it:
export GTK_USE_PORTAL=1	  add this to the end of your ~/.profile 
assuming your system doesn't use either ~/.bash_profile or ~/.bash_login.


Good Luck! Marco.



Buenas tardes, respuesta ante brotes en la industria

2020-07-13 Thread Alejandra Gaona Rojas

Hola, buen día,

Te mando un cordial saludo deseando que estés muy bien.

Con la novedad que la semana pasada nos reincorporamos nuevamente a todas 
nuestras actividades y a esta “nueva normalidad” y decidimos hacerles exámenes 
de COVID-19 a la mitad de nuestro personal. Por instrucción de nuestro 
Director, se le pidió a todos nuestros colaboradores que si tenían algún tipo 
de síntoma o malestar no se presentaran a la planta y guardaran reposo en sus 
respectivas casas. Para los que sí se presentaron, iniciamos el día 1 
realizando 35 pruebas y afortunadamente no tuvimos ningún caso positivo, día 2 
realizamos 25 pruebas y tuvimos un resultado T1 (infección pasada con 
anticuerpos protectores más de 14 días), es decir se había presentado la 
enfermedad en el pasado y ya había generado anticuerpos, y en el día 3 
realizamos 15 pruebas y se tuvo un caso T2 positivo con apenas inicios de 
síntomas, se realizaron las medidas y los protocolos necesarios y se aisló a 
esta persona para su seguridad y la de sus compañeros. Esta semana vamos a 
estar 
 testeando a las demás personas que no se incorporaron en la primera semana con 
la finalidad de ir segmentando e incorporando poco a poco a todo nuestro 
personal. 

Estar detectando y aislando los posibles casos de COVID va a ser la única 
manera en que vamos a poder retomar nuestras operaciones de manera escalonada y 
segura. Actualmente estamos viviendo una etapa muy complicada en donde por lo 
menos conocemos a 1 persona que tuvo o tiene la enfermedad y no podemos evitar 
que la gente siga saliendo a la calle, pero lo que sí está en nuestras manos es 
tener controlada la situación dentro de la Organización evitando cualquier tipo 
de brote entre los empleados.

Te recomiendo estas pruebas que son las que nosotros utilizamos, cotizamos 
varias pero ninguna nos dio la confianza ni la seguridad hasta que finalmente 
dimos con estas que están autorizadas por COFEPRIS:

PRUEBAS RÁPIDAS COVID-19 EMPRESAS


Te deseo el mayor de los éxitos y cualquier cosa estamos en contacto.

Saludos,


Alejandra Gaona Rojas
Gerente de Desarrollo Humano
Organizational Technology México
+52 55 5420 1400 ext. 221
























Este boletín informativo tiene como objetivo generar valor en usted y en su 
Compañía. Si desea dejar de recibir este tipo de correo, conteste con la 
palabra BAJASPRUEBAS0192. 
O en su defecto haga click en el siguiente enlace: unsubscribe from this list



Re: postfix is dead

2020-07-13 Thread Henning Follmann
On Mon, Jul 13, 2020 at 09:12:28PM +0200, Pòl Hallen wrote:
> Hi folks :-)
> suddenly postfix is dead. Sometime after 1/2mins goes down... sometime
> doesn't start...
> 
> I already tried to reinstall with purge, delete config files, etc. but same
> problem...
> 
> help me please :)

We are here to help you help yourself.

For that we need more information.

> 
> here /etc/postfix/main.cf and above logs
> 
> compatibility_level = 2
> smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
> defer_unauth_destination
> myhostname = myhost.local
     really?

> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> mydestination = $myhostname, myhost, myhost.local, localhost.myhost.local,
> localhost
> relayhost =
> mynetworks = 127.0.0.0/8 [:::127.0.0.0]/104 [::1]/128
> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> recipient_delimiter = +
> inet_interfaces = all
> inet_protocols = all
> 
> 
> dpkg -l| grep postfix 3.1.14-0+deb9u1
> 
> 
> Jul 13 21:07:21 asia systemd[1]: Accepted new private connection.
> Jul 13 21:07:21 asia systemd[1]: Got message type=method_call sender=n/a
> destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1
> interface=org.freedesktop.systemd1.Manager member=StartUnit cookie=1
> reply_cookie=0 error=n/a
> Jul 13 21:07:21 asia systemd[1]: postfix.service: Trying to enqueue job
> postfix.service/start/replace
> Jul 13 21:07:21 asia systemd[1]: postfix.service: Installed new job
> postfix.service/start as 85531
> Jul 13 21:07:21 asia systemd[1]: postfix.service: Enqueued job
> postfix.service/start as 85531
> Jul 13 21:07:21 asia systemd[1]: Sent message type=method_return sender=n/a
> destination=n/a object=n/a interface=n/a member=n/a cookie=1 reply_cookie=1
> error=n/a
> Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a
> destination=n/a object=/org/freedesktop/systemd1
> interface=org.freedesktop.systemd1.Manager member=JobNew cookie=2
> reply_cookie=0 error=n/a
> Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a
> destination=n/a object=/org/freedesktop/systemd1
> interface=org.freedesktop.systemd1.Manager member=JobNew cookie=29554
> reply_cookie=0 error=n/a
> Jul 13 21:07:21 asia systemd[1]: Got message type=method_call sender=n/a
> destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1
> interface=org.freedesktop.systemd1.Manager member=GetUnit cookie=2
> reply_cookie=0 error=n/a
> Jul 13 21:07:21 asia systemd[1]: Sent message type=method_return sender=n/a
> destination=n/a object=n/a interface=n/a member=n/a cookie=3 reply_cookie=2
> error=n/a
> Jul 13 21:07:21 asia systemd[1]: postfix.service: Job postfix.service/start
> finished, result=done
> Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a
> destination=n/a object=/org/freedesktop/systemd1
> interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=4
> reply_cookie=0 error=n/a
> Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a
> destination=n/a object=/org/freedesktop/systemd1
> interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=29555
> reply_cookie=0 error=n/a
> Jul 13 21:07:21 asia systemd[1]: Got message type=method_call sender=n/a
> destination=org.freedesktop.systemd1
> object=/org/freedesktop/systemd1/unit/postfix_2eservice
> interface=org.freedesktop.DBus.Properties member=Get cookie=3 reply_cookie=0
> error=n/a
> Jul 13 21:07:21 asia systemd[1]: Sent message type=method_return sender=n/a
> destination=n/a object=n/a interface=n/a member=n/a cookie=5 reply_cookie=3
> error=n/a
> Jul 13 21:07:21 asia systemd[1]: Got disconnect on private connection.
>

These are not helpful at all.
Please gather a few information

1) uid of postfix user
 id postfix

2) now stop and start postfix
systemctl stop postfix
systemctl start postfix

Are there any issues in the log?
journalctl _UID=

Same thing for the cases when it went down.
Do the logs show anything?



-H

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



Re: how to install cherrytree?

2020-07-13 Thread Darac Marjal
On 13/07/2020 21:42, kaye n wrote:
> Hello Friends!
> Having trouble installing cherrytree app.
>
> /kaye@laptop:~$ sudo apt-get update/
> [sudo] password for kaye:
> Hit:1 http://security.debian.org/debian-security buster/updates
> InRelease      
> Hit:2 http://deb.debian.org/debian buster InRelease                  
>          
> Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
>          
> Hit:4 https://download.virtualbox.org/virtualbox/debian buster
> InRelease  
> Fetched 51.9 kB in 6s (8,526 B/s)                                    
>          
> Reading package lists... Done
> /kaye@laptop:~$ sudo apt-get install cherrytree/
> Reading package lists... Done
> Building dependency tree      
> Reading state information... Done
> E: Unable to locate package cherrytree
>
> thank you for your time!
> by the way thank you for the calculator suggestions in my previous thread.

https://packages.debian.org/search?keywords=cherrytree tells me that
cherrytree is currently only available in the stretch (oldstable) and
jessie (oldoldstable) suites.

https://tracker.debian.org/pkg/cherrytree tells me that cherrytree was
removed from Debian in 2017, here is the removal report:
https://tracker.debian.org/news/864463/cherrytree-removed-from-testing/

Now, that removal report isn't terribly clear. The removal reason
appears to be "Bug #867787: cherrytree: Changes sometimes not saved".
#867787 was a grave bug against cherrytree which, presumably, was not
fixed in time for a release, so the package was dropped (in other words,
it wasn't being maintained).

However, there is hope for it to return in the future,
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947338 also includes
the following:

> --- Reason ---
> RoQA; python2-only; depends on pygtk/gtksourceview, deprecated; upstream is 
> rewriting it in C++, so there's no hope for a py3k port
> --



signature.asc
Description: OpenPGP digital signature


how to install cherrytree?

2020-07-13 Thread kaye n
Hello Friends!
Having trouble installing cherrytree app.

*kaye@laptop:~$ sudo apt-get update*
[sudo] password for kaye:
Hit:1 http://security.debian.org/debian-security buster/updates InRelease

Hit:2 http://deb.debian.org/debian buster InRelease

Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]

Hit:4 https://download.virtualbox.org/virtualbox/debian buster InRelease
Fetched 51.9 kB in 6s (8,526 B/s)

Reading package lists... Done
*kaye@laptop:~$ sudo apt-get install cherrytree*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cherrytree

thank you for your time!
by the way thank you for the calculator suggestions in my previous thread.


Re: cat instructions | wrapper foo

2020-07-13 Thread Geert Stappers
On Sun, Jul 12, 2020 at 10:58:24PM +0200, Richard Lucassen wrote:
> On Sun, 12 Jul 2020 07:41:47 +0200
> Geert Stappers  wrote:
> 
> > Ik ben nu opzoek naar een "wrapper" die  foo het idee geeft dat
> > dat er wel standaard in is.  Dit zou dan werken:
> > 
> >cat instructions | wrapper foo
> > 
> > Wat is de echte naam van de wrapper?
> 
> expect?
> 
> $ apropos expect
> Expect (1) - programmed dialogue with interactive programs, Version 5

Oja, die tool is er ook.
Toen gezocht naar "prototypebouwer" en `autoexpect` gevonden.

Ja, daar kan ik wel wat mee.   Dankjewel


Groeten
Geert Stappers
-- 
Silence is hard to parse



Re: what calculator do you use?

2020-07-13 Thread Ben Caradoc-Davies

On 14/07/2020 03:39, Wolf Halton wrote:

I know you are looking for a GUI calculator app, however I would like to entice 
you with a CLI app that is easy to use, but will make your coworkers think you 
are secretly a computer expert.
I tend to use python3 in the terminal window. I open a terminal, type python or 
python3 in the command line. It lets me do relatively complex calculations, and 
makes easy copy/paste of the entire calculation where required
I use powershell in Windows the same way. Can just use the up-arrow to repeat 
similar calculations.
Python is a programming language and it’s pretty simple to set up all kinds of 
repetitive math quite easily, but you probably won’t need all the capability 
(at least at first).
4/5 (enter) gets you 0 which is good for estimating
but 4.0/5 gets you 0.8 like you probably expect


"Floor division" is the default in Python 2 (without "from __future__ 
import division"), but in Python 3, "true division" is the  default and 
there is a new "floor division" operator.


Python 2:

4 / 5 == 0
4.0 / 5 == 0.8

Python 3:

4 / 5 == 0.8
4 // 5 == 0

Project Jupyter  provides 
a rich set of tools and supports Python.


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: Using .XCompose

2020-07-13 Thread David Wright
On Mon 13 Jul 2020 at 18:45:45 (+), Ajith R wrote:
> Hi Greg,
> 
> > In it, there is a brief mention of some option you can toggle called
> > "Show Non-Printable Spaces", whose description is "Show/hide bounding
> > box around non-printable spaces."
> 
> Yes, though not very obvious, Kate does show the non breaking sapces with an 
> open box after selecting the option.

And I assume they're not in the files that you wrote from scratch,
like .XCompose. Would that be right?

Kate appears to be a normal text editor. The third sentence of its
official description (https://kate-editor.org/) says "Choose it for
[…], editing configuration files". It doesn't seem to me to be
like writing text files in, say, Word (a word processor).

It would be nice not to get sidetracked by this, and to find out
whether the way that the Indic Script input system (InScript) works is
compatible with the composition of characters, which is the purpose of
.XCompose. (I'm assuming that linux tries to give the >1billion people
concerned an InScript system that's compatible with other platforms).

Cheers,
David.



Re: what calculator do you use?

2020-07-13 Thread Ben Caradoc-Davies

On 13/07/2020 19:31, kaye n wrote:

Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
What do you guys use? I'm having trouble with Galculator.


Python 3 with the contents of the math module imported. I have this in 
my ~/.bashrc:


alias pyc="python3 -i -c \"from math import *\""

Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



postfix is dead

2020-07-13 Thread Pòl Hallen

Hi folks :-)
suddenly postfix is dead. Sometime after 1/2mins goes down... sometime 
doesn't start...


I already tried to reinstall with purge, delete config files, etc. but 
same problem...


help me please :)

here /etc/postfix/main.cf and above logs

compatibility_level = 2
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated 
defer_unauth_destination

myhostname = myhost.local
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = $myhostname, myhost, myhost.local, 
localhost.myhost.local, localhost

relayhost =
mynetworks = 127.0.0.0/8 [:::127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0  
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all


dpkg -l| grep postfix 3.1.14-0+deb9u1


Jul 13 21:07:21 asia systemd[1]: Accepted new private connection.
Jul 13 21:07:21 asia systemd[1]: Got message type=method_call sender=n/a 
destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1 
interface=org.freedesktop.systemd1.Manager member=StartUnit cookie=1 
reply_cookie=0 error=n/a
Jul 13 21:07:21 asia systemd[1]: postfix.service: Trying to enqueue job 
postfix.service/start/replace
Jul 13 21:07:21 asia systemd[1]: postfix.service: Installed new job 
postfix.service/start as 85531
Jul 13 21:07:21 asia systemd[1]: postfix.service: Enqueued job 
postfix.service/start as 85531
Jul 13 21:07:21 asia systemd[1]: Sent message type=method_return 
sender=n/a destination=n/a object=n/a interface=n/a member=n/a cookie=1 
reply_cookie=1 error=n/a
Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a 
destination=n/a object=/org/freedesktop/systemd1 
interface=org.freedesktop.systemd1.Manager member=JobNew cookie=2 
reply_cookie=0 error=n/a
Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a 
destination=n/a object=/org/freedesktop/systemd1 
interface=org.freedesktop.systemd1.Manager member=JobNew cookie=29554 
reply_cookie=0 error=n/a
Jul 13 21:07:21 asia systemd[1]: Got message type=method_call sender=n/a 
destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1 
interface=org.freedesktop.systemd1.Manager member=GetUnit cookie=2 
reply_cookie=0 error=n/a
Jul 13 21:07:21 asia systemd[1]: Sent message type=method_return 
sender=n/a destination=n/a object=n/a interface=n/a member=n/a cookie=3 
reply_cookie=2 error=n/a
Jul 13 21:07:21 asia systemd[1]: postfix.service: Job 
postfix.service/start finished, result=done
Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a 
destination=n/a object=/org/freedesktop/systemd1 
interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=4 
reply_cookie=0 error=n/a
Jul 13 21:07:21 asia systemd[1]: Sent message type=signal sender=n/a 
destination=n/a object=/org/freedesktop/systemd1 
interface=org.freedesktop.systemd1.Manager member=JobRemoved 
cookie=29555 reply_cookie=0 error=n/a
Jul 13 21:07:21 asia systemd[1]: Got message type=method_call sender=n/a 
destination=org.freedesktop.systemd1 
object=/org/freedesktop/systemd1/unit/postfix_2eservice 
interface=org.freedesktop.DBus.Properties member=Get cookie=3 
reply_cookie=0 error=n/a
Jul 13 21:07:21 asia systemd[1]: Sent message type=method_return 
sender=n/a destination=n/a object=n/a interface=n/a member=n/a cookie=5 
reply_cookie=3 error=n/a

Jul 13 21:07:21 asia systemd[1]: Got disconnect on private connection.

--
Pol



Re: what calculator do you use?

2020-07-13 Thread David Wright
On Mon 13 Jul 2020 at 11:39:40 (-0400), Wolf Halton wrote:
> I know you are looking for a GUI calculator app, however I would like to 
> entice you with a CLI app that is easy to use, but will make your coworkers 
> think you are secretly a computer expert. 
> I tend to use python3 in the terminal window. I open a terminal, type python 
> or python3 in the command line. It lets me do relatively complex 
> calculations, and makes easy copy/paste of the entire calculation where 
> required 
> I use powershell in Windows the same way. Can just use the up-arrow to repeat 
> similar calculations. 
> Python is a programming language and it’s pretty simple to set up all kinds 
> of repetitive math quite easily, but you probably won’t need all the 
> capability (at least at first).
> 4/5 (enter) gets you 0 which is good for estimating 
> but 4.0/5 gets you 0.8 like you probably expect

That looks to me like damning with faint praise.

I would say that python2 should never be used as an interactive
calculator precisely because most people will be using literals
most of the time, rather than variables.

Cheers,
David.



Re: Bullseye: Linker Can't Find libgps Library

2020-07-13 Thread Charles Curley
On Mon, 13 Jul 2020 20:28:59 +0200
Sven Joachim  wrote:

> Not really, the reason is that in Bullseye gcc now passes the
> --as-needed option to the linker to reduce unnecessary linking of
> libraries (and dependencies in the Debian package system).

Nice. Thanks for the clarification.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Using .XCompose

2020-07-13 Thread Ajith R
Hi Greg,

> In it, there is a brief mention of some option you can toggle called
> "Show Non-Printable Spaces", whose description is "Show/hide bounding
> box around non-printable spaces."

Yes, though not very obvious, Kate does show the non breaking sapces with an 
open box after selecting the option.

Thanks,
ajith






Re: Using .XCompose

2020-07-13 Thread Greg Wooledge
On Mon, Jul 13, 2020 at 06:24:58PM +, Ajith R wrote:
> I was trying to find if NBSP are getting added in my .XCompose file
> 
> I am using Kate. How can I accomplish that in Kate?

I googled .  The first result
didn't talk about them at all.  The second result was to a PDF which is
apparently their official documentation.
.

In it, there is a brief mention of some option you can toggle called
"Show Non-Printable Spaces", whose description is "Show/hide bounding
box around non-printable spaces."

I have no idea what they consider to be a "non-printable space".  You
could try it.

> > (I don't even know whether you're in a UTF-8 encoding, though, so
> > who knows whether those are even the correct bytes for an NBSP in>
> > your locale.  You're better off using \u00A0 instead.)
> 
> No, I don't want to use them. Just wanted to know if they were creeping into 
> my file.

I meant use in your bash + grep command.  The earlier attempts to use
$'\x00A0' or $'\x00\xA0' were not correct.



Re: Bullseye: Linker Can't Find libgps Library

2020-07-13 Thread Sven Joachim
On 2020-07-12 15:44 -0600, Charles Curley wrote:

> On Sun, 12 Jul 2020 22:04:54 +0200
> Sven Joachim  wrote:
>
>> I am rather surprised that it does, for I have learned that you always
>> need to put libraries to link with at the end of the gcc commandline,
>> i.e.
>>
>> gcc -Wall -ggdb -o gpsclient gpsclient.c -lm -lgps
>>
>> should work.
>
> Bingo.
>
> charles@white:~/versioned/gpsclient$ gcc -Wall -o gpsclient gpsclient.c -lm 
> -lgps
> gpsclient.c:72:2: warning: #warning Setting up for API version 9.0 [-Wcpp]
>72 | #warning Setting up for API version 9.0
>   |  ^~~
> charles@white:~/versioned/gpsclient$
>
> Worked correctly. Thank you. Interesting.
>
> This is a change from Buster, gcc (Debian 9.3.0-14) 9.3.0 versus gcc
> (Debian 8.3.0-6) 8.3.0. I conjecture the reason is so that gcc can
> accommodate multiple source files on one line, each with their own
> libraries. Something like:
>
> gcc -Wall -o snark foo.c -la -lb -lc bar.c -lb -lc -ld

Not really, the reason is that in Bullseye gcc now passes the
--as-needed option to the linker to reduce unnecessary linking of
libraries (and dependencies in the Debian package system).  According to
the binutils documentation,

,
| '--as-needed' causes a DT_NEEDED tag to only be emitted for a library
| that _at that point in the link_ satisfies a non-weak undefined symbol
| reference from a regular object file or, if the library is not found in
| the DT_NEEDED lists of other needed libraries, a non-weak undefined
| symbol reference from another needed dynamic library.  Object files or
| libraries appearing on the command line _after_ the library in question
| do not affect whether the library is seen as needed.
`

HTH,
Sven



Re: Using .XCompose

2020-07-13 Thread Ajith R
Hi Greg,


> I would imagine you were trying to pass a Unicode character.  If that's
> the case, you need the \u or \U form instead.
> 
> grep $'\u00A0' .XCompose
> 
> Unicode character 00A0 is a non-breaking space.  It's not clear whether
> that was your intention or not.


Yes, that was my intention

> > I noticed that there is $ sign before the search string, which I couldn't 
> > understand. I removed it and re-executed the new grep command grep '\x00A0' 
> > .XCompose. Now it doesn't return the line
> 
> Uh... you mean you *weren't* trying to grep for non-breaking spaces
> in your file using bash's $'...' quoting syntax?  You're just typing
> something you found at random on the Internet without understanding
> it?  That's pretty dangerous.

Yes, I was trying something that I didn't understand. However, it was not from 
the internet but given a pretty helpful person in this group.

>  might be good reading for you at
>  this point.
Thanks, will check it out.


> 6) The command grep "W" .XCompose | tr $'\xc2\xa0' \! returns 
> grep "W" .XCompose | tr $'\xc2\xa0' \!


> The two hex bytes c2 a0 are the UTF-8 encoding of a non-breaking space,
> so it *does* seem like you're chasing after non-breaking spaces for
> some reason

I was trying to find if NBSP are getting added in my .XCompose file

> If that's truly your goal, you might also want to pursue configuring
> your text editor to show them to you.  There are various ways to do
> that, depending on which text editor you use.

I am using Kate. How can I accomplish that in Kate?


> (I don't even know whether you're in a UTF-8 encoding, though, so
> who knows whether those are even the correct bytes for an NBSP in>
> your locale.  You're better off using \u00A0 instead.)

No, I don't want to use them. Just wanted to know if they were creeping into my 
file.

Thanks,
ajith




Re: what calculator do you use?

2020-07-13 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

HP-16C

Small, RPN, does base 2/8/10/16, floats, mildly programmable, bit shifts, etc.

There are, I'm told, clones available for Android and iOS.

--
Glenn English
-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBcBAEBCAAGBQJfDKGuAAoJEJ/XhjGCrIwyCUQIAKlSsd1VmUbFKTK3Hh9S
4gJOIM2Uj6m06QgRioN1PNeumdfzQMBnMQ8VUXJDO9vuIT4n1K1XGBgpRhYp
6U8/qOyHSovNU5UG1w4LaHqr5Ee0cYTgNFn31KxINKOk/1AIGuJ9VVzwO1XT
0qwyvHHuC/7IA19PTF/F7I2m1XaRM9Dai5Nlj/xOQ9prjuCs2kto0MeO1qU9
XlXZ3blcp4HpqSZjEhR8IV8ORs7iTlMX262u406C4Ahi1F79fUO0Gjj2mpHJ
ugatachLX0r9PYOZjPzK6E29kXmYUKvI5dqFvgf7UHhb+gGQci9iYq7ASeRv
qwLK2MkIsDg3UUrv6VxgSoA=
=xeCn
-END PGP SIGNATURE-



Re: what calculator do you use?

2020-07-13 Thread Thomas Schmitt
Hi,

Ed Redd wrote:
>   1+

We seem not to have any Turing machine emulator in Debian.


Eric S Fraga wrote:
> I should say that, if I really want a proper calculator experience, I'll
> pull out my HP-41C which is, incredibly, more than 40 years old and still
> working!  It's the last calculator I bought.

My first calculator still works too. It looks much like this, but yellowed
with minor stains:
  http://www.stefanv.com/calculators/aristo970/index.html


Have a nice day :)

Thomas



Re: what calculator do you use?

2020-07-13 Thread Nate Bargmann
* On 2020 13 Jul 02:32 -0500, kaye n wrote:
> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
> What do you guys use? I'm having trouble with Galculator.

I use the gnome-calculator as it's installed with Gnome.  It even sports
a console version called gcalccmd.

I like that previous results are available in a scrollback window and
can be brought back to the entry box with a click.  Either the result or
the formula can be recalled.  It has several modes and I mostly use it
in Basic mode.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819



signature.asc
Description: PGP signature


Re: what calculator do you use?

2020-07-13 Thread Cindy Sue Causey
On 7/13/20, Charles Curley  wrote:
> On Mon, 13 Jul 2020 15:31:10 +0800
> kaye n  wrote:
>
>> Correct me if I'm wrong, but I don't see any calculator app in my
>> Debian os. What do you guys use?
>
> apt-cache search calculator | sort | less -X


*BAM!* That's how I found galculator. Well, via the simplest part to
the left of the first pipe, anyway. I create my own themes out of
preexisting ones. ALL the keys become "invisible" on some of the other
calculators. I genuinely hate when that happens.

YES, it's fixable. There are some other "priorities" lined up in the
queue ahead of it... unfortunately. Just waiting on a delivery truck
this very second, actually.


> Does anybody read signatures any more?

I do! They're often the #LIFE of the party!

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with birdseed (because she's too klutzy to run with sharp objects) *



Re: Liste des IP des dépôts Debian

2020-07-13 Thread Bernard Schoenacker



- Mail original -
> De: "Grégory Bulot" 
> À: debian-user-french@lists.debian.org
> Envoyé: Lundi 13 Juillet 2020 16:40:17
> Objet: Liste des IP des dépôts Debian
> 
> Bonjour,
> 
> Sauf erreur et/ou mauvaise recherche de ma part, on ne connais la
> liste
> des ips des serveurs debian, exemple "ftp.fr.debian.org"
> 
> certes en faisant un host du domaine j'ai l'ip, mais elle semble
> changer
> tout les 2-3 jours.
> 
> Je dois, via l'équipe réseau de ma boite, ouvrir en sortit les ips
> (et
> j'insiste, les ips, pas les domaines), j'aimerais fournir une liste
> complète (ou tendre vers quelque chose de complet) mais je ne suis
> pas
> encore tombé dessus.
> 
> Vous avez ça ?
> 


bonjour,

pourquoi vouloir continuer de mouler sur son rocher alors que 
la solution est très facile à trouver ?


voici ma solution :

-a) utiliser la liste officielle des dépots debian indiquants les domaines
-b) réaliser un scipt utilisant dig (dnsutils)
-c) extraite l'adresse IPv4 

merci pour ton aimable attention

bien à toi
bernard



Re: AMD FirePro - second monitor

2020-07-13 Thread Jakob Miksch

I am using the standard display config tool from GNOME.

In the meanwhile I figured out that the second monitor actually works on 
a lower resolution. I do not understand why. This "fix" is not ideal, 
but for my use case acceptable.


I connected my two monitors with a laptop that is also running Debian, 
there everything works without problem - also on the highest possible 
resolution.


Thanks though for your response.


On 08.07.20 01:54, Zenaan Harkness wrote:

On Mon, Jul 06, 2020 at 10:57:05PM +0200, Jakob Miksch wrote:

Hello everybody,

I am running Debian "Sid" on a desktop PC with the "AMD ATI FirePro W5100"
graphics card. When I connect a second monitor, Debian recognizes it but the
monitor stays black. I can even move windows on it, but I cannot see them.

On the same computer is a Windows 10 partition on which the connection of both
monitors works without problem.

I have installed all drivers like described here
https://wiki.debian.org/AtiHowTo . I also tried to install the proprietary
driver from the AMD website. Everything without success.

Do you have any idea what the problem could be?

I am happy about any hint.
Thanks and best wishes,
Jakob


I assume you are using some version of RandR?

Try searching the packages for "randr".

I use "xrandr" for scripting, but also the XFCE desktop's normal settings dialog for 
"Monitors" which runs the xfce4-display-settings program.

Good lick,



--
Jakob Miksch
Geospatial Development
Website ׀ Twitter 
| GitHub 




Re: what calculator do you use?

2020-07-13 Thread Eric S Fraga
On Monday, 13 Jul 2020 at 14:48, Florent Rougon wrote:
> If you liked doing calculations as in the HP 48, try the orpie program
> in a terminal (Debian package of the same name)... or the x48 emulator
> on Linux (GUI, very impressive). 

Thanks for the suggestions.  I hate using the mouse so I'll skip the GUI
emulator... but orpie looks very interesting and could be quite useful
on my wee Gemini PDA in case I don't want to run Emacs.

I should say that, if I really want a proper calculator experience, I'll
pull out my HP-41C which is, incredibly, more than 40 years old and still
working!  It's the last calculator I bought.

Thanks again,
eric

-- 
Eric S Fraga via Emacs 28.0.50 & org 9.3.7 on Debian bullseye/sid



Re: what calculator do you use?

2020-07-13 Thread Gian Uberto Lauri
> "CC" == Charles Curley  writes:

CC> On Mon, 13 Jul 2020 09:51:53 +0200 "Gian Uberto Lauri"
CC>  wrote:

>> Either my trusty old HP48 or Emacs Calc. Both RPN machines.

CC> Or perhaps any one of several HP calculator emulators available on
CC> Debian.

I know they are there, but my HP48 does not eat "real estate" on the screen...

-- 
 /\   ___Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_   African word
  //--\| | \|  |   Integralista GNUslamicomeaning "I can
\/ coltivatore diretto di software   not install
 già sistemista a tempo (altrui) perso...Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO



Re: what calculator do you use?

2020-07-13 Thread Wolf Halton
I know you are looking for a GUI calculator app, however I would like to entice 
you with a CLI app that is easy to use, but will make your coworkers think you 
are secretly a computer expert. 
I tend to use python3 in the terminal window. I open a terminal, type python or 
python3 in the command line. It lets me do relatively complex calculations, and 
makes easy copy/paste of the entire calculation where required 
I use powershell in Windows the same way. Can just use the up-arrow to repeat 
similar calculations. 
Python is a programming language and it’s pretty simple to set up all kinds of 
repetitive math quite easily, but you probably won’t need all the capability 
(at least at first).
4/5 (enter) gets you 0 which is good for estimating 
but 4.0/5 gets you 0.8 like you probably expect

Wolf Halton 
Strategic Cybersecurity https://AtlantaCloudTech.com

> On Jul 13, 2020, at 03:31, kaye n  wrote:
> 
> 
> Hello Friends, 
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
> What do you guys use? I'm having trouble with Galculator.
> Thank you!
> 



Re: what calculator do you use?

2020-07-13 Thread Joe Pfeiffer
kaye n  writes:

> Hello Friends, 
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
> What do you guys use? I'm having trouble with Galculator.
> Thank you!

M-x calc, from inside emacs.



Re: what calculator do you use?

2020-07-13 Thread rhkramer
> rhkra...@gmail.com wrote:
> > From the command line: bc -l (the -l doesn't something useful (to me) but
> > I forget what ;-)

doesn't ==> does  -- I should learn to proofread all the time ;-)



Formation à la programmation sous Linux (Montpellier 29 juillet au 3 aout 2020)

2020-07-13 Thread Basile Starynkevitch
Je me suis proposé d'animer sur mes congés d'été 
https://montpellibre.fr/spip.php?article4875


--
Basile STARYNKEVITCH   == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France; 
(mobile phone: cf my web page / voir ma page web...)



Liste des IP des dépôts Debian

2020-07-13 Thread Grégory Bulot
Bonjour, 

Sauf erreur et/ou mauvaise recherche de ma part, on ne connais la liste
des ips des serveurs debian, exemple "ftp.fr.debian.org"

certes en faisant un host du domaine j'ai l'ip, mais elle semble changer
tout les 2-3 jours.

Je dois, via l'équipe réseau de ma boite, ouvrir en sortit les ips (et
j'insiste, les ips, pas les domaines), j'aimerais fournir une liste
complète (ou tendre vers quelque chose de complet) mais je ne suis pas
encore tombé dessus.

Vous avez ça ?


--

Mail non conforme à la netiquette
(https://fr.wikipedia.org/wiki/Netiquette)

Cordialement,
Grégory Bulot
Coaxis Hosting 0825 82 82 57



Re: what calculator do you use?

2020-07-13 Thread Celejar
On Mon, 13 Jul 2020 15:31:10 +0800
kaye n  wrote:

> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
> What do you guys use? I'm having trouble with Galculator.

What kind of trouble? If bugginess, you should file a bug report. I use
Galculator all the time (albeit for simple things), and it works fine.

Celejar



Re: what calculator do you use?

2020-07-13 Thread Charles Curley
On Mon, 13 Jul 2020 15:31:10 +0800
kaye n  wrote:

> Correct me if I'm wrong, but I don't see any calculator app in my
> Debian os. What do you guys use?

apt-cache search calculator | sort | less -X

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: what calculator do you use?

2020-07-13 Thread Charles Curley
On Mon, 13 Jul 2020 09:51:53 +0200
"Gian Uberto Lauri"   wrote:

> Either my trusty old HP48 or Emacs Calc. Both RPN machines.

Or perhaps any one of several HP calculator emulators available on
Debian.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Re: Re: problem with GeForce GTX 1050

2020-07-13 Thread David Bridgham
Greg Wooledge mailto:wooledg%40eeg.ccf.org>> wrote:

> Check the time stamp on the Xorg.0.log file.  You are probably reading
> the wrong one.

Indeed I was.  Thanks.


> Since Debian 9, there are *two* possible locations for the Xorg.0.log
> file:
>
> /var/log/   (if X was executed with root privileges)
> ~/.local/share/xorg/(if X was executed without root privs)

So I'm curious.  Since X is running before I log in, how does it know to
write the log file to my home directory?

And if this is a newer thing, it's puzzling that booting the newer
kernel causes X to write to /var/log while under the older kernel it
writes to my directory.




Re: what calculator do you use?

2020-07-13 Thread Florent Rougon
Eric S Fraga  wrote:

> Emacs Calc if using the computer, HP-48x simulator on my phone
> otherwise.

If you liked doing calculations as in the HP 48, try the orpie program
in a terminal (Debian package of the same name)... or the x48 emulator
on Linux (GUI, very impressive). More scripting-oriented, dc can be used
to compute in Reverse Polish Notation:

$ echo '3 5 + 2 / p' | dc
4
$

Regards

-- 
Florent



Re: what calculator do you use?

2020-07-13 Thread John Hasler
I usually have Octave open in a window.  I also often use bc.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: what calculator do you use?

2020-07-13 Thread Gian Uberto Lauri
> "kn" == kaye n  writes:

kn> Hello Friends, Correct me if I'm wrong, but I don't see any
kn> calculator app in my Debian os.  What do you guys use? I'm having
kn> trouble with Galculator.  Thank you!

Either my trusty old HP48 or Emacs Calc. Both RPN machines.

-- 
 /\   ___Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_   African word
  //--\| | \|  |   Integralista GNUslamicomeaning "I can
\/ coltivatore diretto di software   not install
 già sistemista a tempo (altrui) perso...Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO



Re: what calculator do you use?

2020-07-13 Thread Greg Wooledge
On Mon, Jul 13, 2020 at 06:47:51AM -0400, The Wanderer wrote:
> In some contexts it could even need fewer; for example, calc (as shipped
> in Debian) provides the built-in function 'pi()', which takes a
> precision - expressed as a value between zero and one - and returns pi
> to that level of precision.

I do not understand this description.  How many decimal places do you
get for a precision of, say, 0.5?

> The list of built-in functions in the bc man
> page is very short, and doesn't include any such thing, so unless
> something has added one without the man page getting updated anything
> that needs to use pi is going to take more typing than with calc.

True.  But it's not a *huge* amount of typing.

unicorn:~$ bc -l
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free 
Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
4*a(1)
3.14159265358979323844
scale=50
4*a(1)
3.14159265358979323846264338327950288419716939937508



Re: what calculator do you use?

2020-07-13 Thread Eric S Fraga
On Monday, 13 Jul 2020 at 07:22, rhkra...@gmail.com wrote:
> Maxima sound interesting (maybe because it reminds sounds a little bit like 
> mathmatica (sp?), so I may dig deeper into that and try it out.

Yes, maxima and mathematica are similar in that they are both symbolic
mathematics systems.  I use maxima all the time for solving systems of
algebraic equations and for calculus in teaching engineers.

-- 
Eric S Fraga via Emacs 28.0.50 & org 9.3.7 on Debian bullseye/sid



Re: what calculator do you use?

2020-07-13 Thread Greg Wooledge
On Mon, Jul 13, 2020 at 01:41:39PM +0200, Klaus Singvogel wrote:
> rhkra...@gmail.com wrote:
> > 
> > From the command line: bc -l (the -l doesn't something useful (to me) but I 
> > forget what ;-)
> 
> I'm using "bc -l" either.
> 
> "-l" is including the math lib, for functions like exp, sin, cos, etc.

This is correct.  The -l *also* sets the bc "scale" variable to 20,
meaning it calculates non-integer values to 20 decimal places.  Using
such a high precision is extremely important with certain calculations,
where using lower precision values would cause severe rounding errors,
which would accumulate and worsen quite dramatically.

unicorn:~$ echo 'e(1.4*l(500))' | bc -l
6005.62216990715616614180
unicorn:~$ echo 'scale=2; e(1.4*l(500))' | bc -l
5943.18

Never set a low scale value in bc.

If you don't want to see 20 digits after the decimal place, perform
rounding in a separate step.

unicorn:~$ printf '%.2f\n' "$(echo 'e(1.4*l(500))' | bc -l)"
6005.62



Re: Re: problem with GeForce GTX 1050

2020-07-13 Thread Greg Wooledge
On Sun, Jul 12, 2020 at 10:45:09AM -0400, David Bridgham wrote:
> Andrei POPESCU  > wrote:
> 
> > Check your Xorg.0.log, it should tell you what driver it is loading and 
> > might hint at why it's not using nouveau.
> 
> 
> Found something very odd when trying to do this.  When I boot the older
> kernel, the one that works, Xorg doesn't appear to write the log file. 
> The log file contains the kernel version number and it's never the older
> one.  I'd meant to compare the two to see where they differ.

Check the time stamp on the Xorg.0.log file.  You are probably reading
the wrong one.

Since Debian 9, there are *two* possible locations for the Xorg.0.log
file:

/var/log/   (if X was executed with root privileges)
~/.local/share/xorg/(if X was executed without root privs)

Before Debian 9, X was always run with root privileges, through the
use of a setuid wrapper.  Nowadays, that is not typically the case,
but it still *can* be in certain setups.  So it behooves you to check
both places.



Re: Using .XCompose

2020-07-13 Thread Greg Wooledge
On Sat, Jul 11, 2020 at 08:32:34PM +, davidson wrote:
> '!' marks the spot of nonbreaking spaces that made it into OP's first
> report of odd behavior, upon testing the white scissors XCompose rule:
> 
>   $ grep "WHITE SCISSORS"  d-u_xcompose_2020-07-08.nbsp | tr $'\xc2\xa0' \!
>  : "✄" U2704 
> # WHITE SCISSORS

Note that tr does not handle multi-character sequences.  If you pass
something like

tr abc xyz

It does *not* look for "abc" sequences and convert only those sequences.
Rather, it looks at single characters.  It converts 'a' to 'x', and 'b'
to 'y', and 'c' to 'z'.

The number of characters in the first pattern is supposed to match the
number of characters in the second pattern, so that there is a 1:1
mapping.

GNU tr also does not handle multi-byte *characters* correctly (which
violates POSIX -- it's a known bug).

So, your tr command actually converts all c2 bytes into ! and all a0
bytes into ! as well.  Not *just* c2a0 pairs.

Nevertheless, this is useful as a first pass approximation to say that,
hey, there *might* be a bunch of NBSPs here, and you should take a
closer look.

NBSPs most often result when someone gets lazy and pastes a line from
a web page or from a Microsoft Word/Excel document into a Unix
terminal or X11 application, instead of pasting just the characters
they actually want.  Web pages, especially *older* web pages, often
use NBSPs for primitive formatting.



Re: Using .XCompose

2020-07-13 Thread Greg Wooledge
On Sun, Jul 12, 2020 at 02:51:33PM +, Ajith R wrote:
> 5) execute grep $'\x00A0' .XCompose. All lines from the .XCompose file were 
> listed.

Bash's $'...' quoting allows several different forms, and you've used
the wrong one.  The \x is followed by *two* hex digits, to give a single
byte.  You've got $'\x00' which is a NUL byte.  Passing a NUL byte as
an argument to a command is equivalent to passing the empty string.

So, basically you have run

grep '' .XCompose

which, as you observed, gives you every line of the file.

I would imagine you were trying to pass a Unicode character.  If that's
the case, you need the \u or \U form instead.

grep $'\u00A0' .XCompose

Unicode character 00A0 is a non-breaking space.  It's not clear whether
that was your intention or not.

> I noticed that there is $ sign before the search string, which I couldn't 
> understand. I removed it and re-executed the new grep command grep '\x00A0' 
> .XCompose. Now it doesn't return the line

Uh... you mean you *weren't* trying to grep for non-breaking spaces
in your file using bash's $'...' quoting syntax?  You're just typing
something you found at random on the Internet without understanding
it?  That's pretty dangerous.

 might be good reading for you at
this point.

> 6) The command grep "W" .XCompose | tr $'\xc2\xa0' \! returns 
> grep "W" .XCompose | tr $'\xc2\xa0' \!

The two hex bytes c2 a0 are the UTF-8 encoding of a non-breaking space,
so it *does* seem like you're chasing after non-breaking spaces for
some reason

If that's truly your goal, you might also want to pursue configuring
your text editor to show them to you.  There are various ways to do
that, depending on which text editor you use.

(I don't even know whether you're in a UTF-8 encoding, though, so
who knows whether those are even the correct bytes for an NBSP in
your locale.  You're better off using \u00A0 instead.)



Re: Chromium randomly crashes

2020-07-13 Thread Alex Mestiashvili

On 7/13/20 10:30 AM, Toni Casueps wrote:
Not sure if I should report this to Chromium or to Debian, but I guess 
that packaging a new Chromium version could fix the problem
I updated (on Debian 10) to 83.0.4103.116-1~deb10u2 and after some 
minutes it crashes giving this log. It's difficult to tell when it 
happens as it's really random, just reading a page and scrolling down, 
the window disappears and the process ends, it could be after 2, 5, 10 
minutes... totally random:




https://lists.debian.org/debian-security-announce/2020/msg00129.html

Best,
Alex



Re: what calculator do you use?

2020-07-13 Thread Klaus Singvogel
rhkra...@gmail.com wrote:
> 
> From the command line: bc -l (the -l doesn't something useful (to me) but I 
> forget what ;-)

I'm using "bc -l" either.

"-l" is including the math lib, for functions like exp, sin, cos, etc.

"bc" can calculate with arbitrary precision length.

Ever wanted to calculate with long, long numbers (i.e.: 2^256) or want to
edit a long input line (i.e.: 1.99*12+3*2.49+7*.79*1.16... ), then try it.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: what calculator do you use?

2020-07-13 Thread Weaver
On 13-07-2020 17:31, kaye n wrote:
> Hello Friends, 
> 
> Correct me if I'm wrong, but I don't see any calculator app in my
> Debian os.
> 
> What do you guys use? I'm having trouble with Galculator.

Just plain `calculator'.
There are a few modes, depending on what you want to do, but part of the
Gnome set-up as far as I can remember, although you don't need to
install Gnome to get it.

-- 
`Religion is regarded by the common people as true,
by the wise as false,
and by the rulers as useful'.

— Lucius Annæus Seneca.

Terrorism, the new religion.

Registered Linux User: 554515



Re: what calculator do you use?

2020-07-13 Thread Anssi Saari
kaye n  writes:

> Hello Friends, 
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
> What do you guys use? I'm having trouble with Galculator.
> Thank you!

I used to have a simple alias for tcsh which just evaluated the command
line via awk, awk "BEGIN{ print $* }". But then, I haven't used tsch
since 2002 or so.

But still, with zsh I'm really doing the same thing, except in zsh it's
a combination of an alias and a function.



Re: what calculator do you use?

2020-07-13 Thread Reco
On Mon, Jul 13, 2020 at 06:47:51AM -0400, The Wanderer wrote:
> I've heard recommendation of bc before, but to date I've yet to
> encounter anything that makes it seem preferable over calc, and I'm
> curious what I'm missing.

Most probably you're missing nothing. I picked up bc years ago because
it's a build dependency for the kernel. It solves my needs, and I happen
to remember pi up to 8 digits so the lack of pi() function is not an
issue to me.

On a side note, "calc" is 4 letters, and "bc" is two :)

Reco



Re: what calculator do you use?

2020-07-13 Thread echo test
Hello,
   This may seems strange but I always use python in interactive mode. Just
type python3 or python without any file path. :D

Le lun. 13 juil. 2020 à 12:48, The Wanderer  a écrit :

> On 2020-07-13 at 06:01, Reco wrote:
>
> >   Hi.
> >
> > On Mon, Jul 13, 2020 at 03:31:10PM +0800, kaye n wrote:
> >> Hello Friends,
> >> Correct me if I'm wrong, but I don't see any calculator app in my
> Debian os.
> >
> > There are plenty, for all tastes. Try "apt search calculator".
> >
> >> What do you guys use? I'm having trouble with Galculator.
> >
> > bc, simple as that. Everything else requires more keystokes or a mouse.
>
> What about calc (currently in the package of that name, formerly in the
> package apcalc)? That being what I've used for over a decade now.
>
> Reading through the bc man page, it looks to me as if using calc it
> should take comparable numbers of keystrokes, aside from typing the name
> of the program itself.
>
> In some contexts it could even need fewer; for example, calc (as shipped
> in Debian) provides the built-in function 'pi()', which takes a
> precision - expressed as a value between zero and one - and returns pi
> to that level of precision. The list of built-in functions in the bc man
> page is very short, and doesn't include any such thing, so unless
> something has added one without the man page getting updated anything
> that needs to use pi is going to take more typing than with calc.
>
> calc also has the option to present non-integer output in the form of a
> ratio of two integers, which means you don't have to figure out manually
> what fraction a given result is; at a skim, I don't see indication that
> bc has comparable functionality.
>
> I've heard recommendation of bc before, but to date I've yet to
> encounter anything that makes it seem preferable over calc, and I'm
> curious what I'm missing.
>
> --
>The Wanderer
>
> The reasonable man adapts himself to the world; the unreasonable one
> persists in trying to adapt the world to himself. Therefore all
> progress depends on the unreasonable man. -- George Bernard Shaw
>
>


Re: what calculator do you use?

2020-07-13 Thread rhkramer
On Monday, July 13, 2020 06:38:41 AM Linux-Fan wrote:

> > On Lu, 13 iul 20, 15:31:10, kaye n wrote:
> > > Correct me if I'm wrong, but I don't see any calculator app in my
> > > Debian os.
> > > What do you guys use? I'm having trouble with Galculator.

> I use maxima (Debian package maxima) most of the time. It is easy enough to
> get started although I always fail to remember the syntax for more advanced
> things.

Ahh, a question I can answer (or, at least, express an opinion ;-)

From the command line: bc -l (the -l doesn't something useful (to me) but I 
forget what ;-)

As a gui: kcalc

Maxima sound interesting (maybe because it reminds sounds a little bit like 
mathmatica (sp?), so I may dig deeper into that and try it out.



Re: what calculator do you use?

2020-07-13 Thread The Wanderer
On 2020-07-13 at 06:01, Reco wrote:

>   Hi.
> 
> On Mon, Jul 13, 2020 at 03:31:10PM +0800, kaye n wrote:
>> Hello Friends,
>> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
> 
> There are plenty, for all tastes. Try "apt search calculator".
> 
>> What do you guys use? I'm having trouble with Galculator.
> 
> bc, simple as that. Everything else requires more keystokes or a mouse.

What about calc (currently in the package of that name, formerly in the
package apcalc)? That being what I've used for over a decade now.

Reading through the bc man page, it looks to me as if using calc it
should take comparable numbers of keystrokes, aside from typing the name
of the program itself.

In some contexts it could even need fewer; for example, calc (as shipped
in Debian) provides the built-in function 'pi()', which takes a
precision - expressed as a value between zero and one - and returns pi
to that level of precision. The list of built-in functions in the bc man
page is very short, and doesn't include any such thing, so unless
something has added one without the man page getting updated anything
that needs to use pi is going to take more typing than with calc.

calc also has the option to present non-integer output in the form of a
ratio of two integers, which means you don't have to figure out manually
what fraction a given result is; at a skim, I don't see indication that
bc has comparable functionality.

I've heard recommendation of bc before, but to date I've yet to
encounter anything that makes it seem preferable over calc, and I'm
curious what I'm missing.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: what calculator do you use?

2020-07-13 Thread Linux-Fan

Andrei POPESCU writes:


On Lu, 13 iul 20, 15:31:10, kaye n wrote:
> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian
> os.
> What do you guys use? I'm having trouble with Galculator.

qalc, the command line version of qalculate.


qalc and speedcrunch look nice, thanks for sharing :)

I use maxima (Debian package maxima) most of the time. It is easy enough to
get started although I always fail to remember the syntax for more advanced
things.

Here is a sample session (I actually have `alias maxima=maxima -q`):

$ maxima -q

(%i1) a: 2;
(%o1)  2
(%i2) a**10;
(%o2)1024
(%i3) sqrt(%o2);
(%o3) 32
(%i4) sqrt(2);
(%o4)   sqrt(2)
(%i5) %o4, numer;
(%o5)  1.414213562373095

It is possible to write scripts and batch-process them which allows
integrating maxima with other (text-based) tools. There are also GUI
frontends, but I did not find them a large improvement over the commandline
for Maxima. I even made a script to auto-replace Maxima variables in LaTeX
files, but it is not available online yet.

For spreadsheets and on low-end computers where maxima does not run quickly,
I prefer `sc-im` which is unfortunately not in Debian:
https://github.com/andmarti1424/sc-im

In case anybody wants an unofficial Debian package, I hacked one together
here: https://github.com/m7a/lp-sc-im

HTH
Linux-Fan

[...]


pgppYgUACdAok.pgp
Description: PGP signature


Re: what calculator do you use?

2020-07-13 Thread Reco
Hi.

On Mon, Jul 13, 2020 at 03:31:10PM +0800, kaye n wrote:
> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.

There are plenty, for all tastes. Try "apt search calculator".

> What do you guys use? I'm having trouble with Galculator.

bc, simple as that. Everything else requires more keystokes or a mouse.

Reco



Re: what calculator do you use?

2020-07-13 Thread Eric S Fraga
Emacs Calc if using the computer, HP-48x simulator on my phone
otherwise.
-- 
Eric S Fraga via Emacs 28.0.50 & org 9.3.7 on Debian bullseye/sid



Re: what calculator do you use?

2020-07-13 Thread Joe
On Mon, 13 Jul 2020 15:31:10 +0800
kaye n  wrote:

> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my
> Debian os. What do you guys use? I'm having trouble with Galculator.
> Thank you!

Galculator works for me, but I only do simple one-stage things with it.
If I need multi-stage, or repeated near-identical calculations, I use a
spreadsheet.

But I don't do many calculations, so if I used one of the command-line
options as most seem to do, I'd spend more time reading the man page
than actually calculating.

-- 
Joe



Chromium randomly crashes

2020-07-13 Thread Toni Casueps
Not sure if I should report this to Chromium or to Debian, but I guess that 
packaging a new Chromium version could fix the problem
I updated (on Debian 10) to 83.0.4103.116-1~deb10u2 and after some minutes it 
crashes giving this log. It's difficult to tell when it happens as it's really 
random, just reading a page and scrolling down, the window disappears and the 
process ends, it could be after 2, 5, 10 minutes... totally random:


Received signal 11 SEGV_MAPERR 7f018c158b47
#0 0x56027fcbe469 (/usr/lib/chromium/chromium+0x51f9468)
#1 0x56027fc1c193 (/usr/lib/chromium/chromium+0x5157192)
#2 0x56027fcbdff1 (/usr/lib/chromium/chromium+0x51f8ff0)
#3 0x7ff8b3e48730 (/usr/lib/x86_64-linux-gnu/libpthread-2.28.so+0x1272f)
#4 0x7ff8add51d48 (/usr/lib/x86_64-linux-gnu/libc-2.28.so+0x7fd47)
#5 0x7ff8add54a58 (/usr/lib/x86_64-linux-gnu/libc-2.28.so+0x82a57)
#6 0x7ff8add5656a __libc_malloc
#7 0x56027fcd5bee operator new()
#8 0x7ff8adfcb3cd std::__cxx11::basic_string<>::reserve()
#9 0x7ff8adfbf845 std::__cxx11::basic_stringbuf<>::overflow()
#10 0x7ff8adfc99cb std::basic_streambuf<>::xsputn()
#11 0x7ff8adfbab34 std::__ostream_insert<>()
#12 0x56027fcbe7b9 (/usr/lib/chromium/chromium+0x51f97b8)
#13 0x56027fcbe844 (/usr/lib/chromium/chromium+0x51f9843)
#14 0x56027fc2e9d2 (/usr/lib/chromium/chromium+0x51699d1)
#15 0x56027fc30b1e (/usr/lib/chromium/chromium+0x516bb1d)
#16 0x56027e39962a (/usr/lib/chromium/chromium+0x38d4629)
#17 0x56027e39967e (/usr/lib/chromium/chromium+0x38d467d)
#18 0x56027da3f98f (/usr/lib/chromium/chromium+0x2f7a98e)
#19 0x56027e353559 (/usr/lib/chromium/chromium+0x388e558)
#20 0x56027e35379e (/usr/lib/chromium/chromium+0x388e79d)
#21 0x56027e39ce67 (/usr/lib/chromium/chromium+0x38d7e66)
#22 0x56027e3c8ac2 (/usr/lib/chromium/chromium+0x3903ac1)
#23 0x56027e3c8d7e (/usr/lib/chromium/chromium+0x3903d7d)
#24 0x56027e39963f (/usr/lib/chromium/chromium+0x38d463e)
#25 0x56027e39967e (/usr/lib/chromium/chromium+0x38d467d)
#26 0x56027da3f98f (/usr/lib/chromium/chromium+0x2f7a98e)
#27 0x56027dcf6f53 (/usr/lib/chromium/chromium+0x3231f52)
#28 0x56027e021e22 (/usr/lib/chromium/chromium+0x355ce21)
#29 0x56027fdf1aff (/usr/lib/chromium/chromium+0x532cafe)
#30 0x56027fdf8274 (/usr/lib/chromium/chromium+0x5333273)
#31 0x56027fdf616d (/usr/lib/chromium/chromium+0x533116c)
#32 0x56027fdf4e2c (/usr/lib/chromium/chromium+0x532fe2b)
#33 0x56027fded913 (/usr/lib/chromium/chromium+0x5328912)
#34 0x56027fe0977b (/usr/lib/chromium/chromium+0x534477a)
#35 0x56027fe09a41 (/usr/lib/chromium/chromium+0x5344a40)
#36 0x56027fe09040 (/usr/lib/chromium/chromium+0x534403f)
#37 0x56027dcdfe26 (/usr/lib/chromium/chromium+0x321ae25)
#38 0x56027dcdf94c (/usr/lib/chromium/chromium+0x321a94b)
#39 0x56027dcdbd51 (/usr/lib/chromium/chromium+0x3216d50)
#40 0x56027dcd261b (/usr/lib/chromium/chromium+0x320d61a)
#41 0x56027dcc4f1b (/usr/lib/chromium/chromium+0x31fff1a)
#42 0x56027dcc4c03 (/usr/lib/chromium/chromium+0x31ffc02)
#43 0x56027dce39a6 (/usr/lib/chromium/chromium+0x321e9a5)
#44 0x56027fcdb28a (/usr/lib/chromium/chromium+0x5216289)
#45 0x7ff8b22619ba (/usr/lib/x86_64-linux-gnu/libevent-2.1.so.6.0.2+0x229b9)
#46 0x7ff8b2262537 event_base_loop
#47 0x56027fcdb510 (/usr/lib/chromium/chromium+0x521650f)
#48 0x56027fc7ac05 (/usr/lib/chromium/chromium+0x51b5c04)
#49 0x56027fc52a1d (/usr/lib/chromium/chromium+0x518da1c)
#50 0x56027dfbdd93 (/usr/lib/chromium/chromium+0x34f8d92)
#51 0x56027fc913f7 (/usr/lib/chromium/chromium+0x51cc3f6)
#52 0x56027fcce0ce (/usr/lib/chromium/chromium+0x52090cd)
#53 0x7ff8b3e3dfa3 start_thread
#54 0x7ff8addcb4cf clone
  r8: 0041  r9: 7ff88c30 r10: 7ff88cd991a0 r11: 
7ff88c80
 r12: 7ff88ce1dc20 r13: 0021 r14: 7ff88c20 r15: 
0041
  di: 7ff88c20  si: 0081  bp: 7f018c158b3f  bx: 

  dx: 0080  ax: 7f018c158b3f  cx: 7ff88cfe0770  sp: 
7ff896ff98c0
  ip: 7ff8add51d48 efl: 00010206 cgf: 002b0033 erf: 
0004
 trp: 000e msk:  cr2: 7f018c158b47
[end of stack trace]
Calling _exit(1). Core file will not be generated.



Re: what calculator do you use?

2020-07-13 Thread Ed Redd
  1+


On Mon, Jul 13, 2020, 2:31 AM kaye n  wrote:

> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian
> os.
> What do you guys use? I'm having trouble with Galculator.
> Thank you!
>
>


Re: what calculator do you use?

2020-07-13 Thread Michael Lange
Hi,

On Mon, 13 Jul 2020 15:31:10 +0800
kaye n  wrote:

> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my
> Debian os. What do you guys use? I'm having trouble with Galculator.
> Thank you!

if you want a simple gui calculator you might try xcalc from the package
x11-apps.

Regards

Michael



.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

The joys of love made her human and the agonies of love destroyed her.
-- Spock, "Requiem for Methuselah", stardate 5842.8



Re: what calculator do you use?

2020-07-13 Thread tomas
On Mon, Jul 13, 2020 at 03:31:10PM +0800, kaye n wrote:
> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.

Try, in a command line, "apt search calculator". I get 127 hits (of
course not all of them are a calculator app. Let's say a rough third
is. That leaves fourty calculators to choose from!).

> What do you guys use? I'm having trouble with Galculator.

Ah. Now we're talking. Given that broad choice, you will get reams of
answers, depending on people's preferences and needs. Your approach
will depend a lot on how you do such things. Test a few or ten of the
above options. Ask people for their experiences. Things like that.

My favourite one won't be in the above list: it's Emacs calc.
Unlimited precision, symbolic math, units, stack, trail -- and
seamless integration with my favourite text editor.

Cheers
-- t


signature.asc
Description: Digital signature


Re: what calculator do you use?

2020-07-13 Thread Marco Möller

On 13.07.20 09:31, kaye n wrote:

Hello Friends,
Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
What do you guys use? I'm having trouble with Galculator.
Thank you!



I prefer:  speedcrunch
Good Luck! Marco.



Re: what calculator do you use?

2020-07-13 Thread Brad Rogers
On Mon, 13 Jul 2020 15:31:10 +0800
kaye n  wrote:

Hello kaye,

>What do you guys use? I'm having trouble with Galculator.

Not that I use it often, but KCalc came as part of my KDE install.  Of
course, if KDE is not part of your install, it might need to pull in a
few dependencies.

There's also deepin-calculator.  which I've not even installed, never
mind try.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Let them go, set them free, let them be who they wanna be
Lovers Of Outrage - Penetration


pgp6RS_M52KHO.pgp
Description: OpenPGP digital signature


Re: what calculator do you use?

2020-07-13 Thread Andrei POPESCU
On Lu, 13 iul 20, 15:31:10, kaye n wrote:
> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
> What do you guys use? I'm having trouble with Galculator.

qalc, the command line version of qalculate.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: what calculator do you use?

2020-07-13 Thread Alex Mestiashvili

On 7/13/20 9:31 AM, kaye n wrote:

Hello Friends,
Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
What do you guys use? I'm having trouble with Galculator.
Thank you!



perl -E 'say eval(math expression)'

Math::XX modules for more complicated stuff :)

Best,
Alex



what calculator do you use?

2020-07-13 Thread kaye n
Hello Friends,
Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
What do you guys use? I'm having trouble with Galculator.
Thank you!