Re: Which takes priority, ipv4, or ipv6?

2023-04-01 Thread Tim Woodall

On Tue, 28 Mar 2023, Andy Smith wrote:


Thirdly, if no special handling is in use then your operating
system chooses which address to use. There's an RFC for that, and
all of that is configured in /etc/gai.conf on Debian. The default
behaviour is to try IPv6 first.



The default differs from RFC 3484

See the comment in gai.conf

If you are using ULA then ipv4 will be chosen in preference.


I have configured an ipv6 tunnel.

The op doesn't say how this is configured but ULAs often appear around
tunnels.

uncomment the first five lines here to do what RFC3484 suggests.
#label ::1/128   0
#label ::/0  1
#label 2002::/16 2
#label ::/96 3
#label :::0:0/96 4
#label fec0::/10 5
#label fc00::/7  6
#label 2001:0::/32   7

Tim



Re: /libfreenect/build/wrappers/python/freenect3.c:747:10: fatal error: numpy/arrayobject.h: File or directory not found

2023-04-01 Thread Mario Marietto
Hello.

I have installed these packages on Debian 11 :

freenect/stable,now 1:0.5.3-2 amd64 [installed]
libfreenect-bin/stable,now 1:0.5.3-2 amd64 [installed, automatic]
libfreenect-demos/stable,now 1:0.5.3-2 amd64 [installed]
libfreenect-dev/stable,now 1:0.5.3-2 amd64 [installed]
libfreenect-doc/stable,stable,now 1:0.5.3-2 all [installed, automatic]
libfreenect0.5/stable,now 1:0.5.3-2 amd64 [installed, automatic]

What I really like to do is to choose the kinect xbox 360 as a mic. I find
it very comfortable to talk without having a mic in my mouth. I can use it
to send voice messages to my whatsapp and Telegram friends. I've already
done the same with the kinect 2 that I have attached to my Jetson nano and
it worked. But on the Jetson Nano I have installed Ubuntu 20.04. So,I would
like to know...what's still missing on Debian,after having installed the
packages that you see above ? Because I don't see any Xbox NUI Sensor
Analog Surround 4.0 on the XFCE pulseaudio addon (instead,it is present on
Ubuntu 20.04). Thanks.

On Sun, Apr 2, 2023 at 1:18 AM Kushal Kumaran  wrote:

> On Sat, Apr 01 2023 at 10:42:11 PM, Mario Marietto 
> wrote:
> > Hello.
> >
> > I'm trying to compile libfreenect because I want to use my kinect xbox
> 360
> > on Debian 11. I'm following the tutorial that I've found here :
> >
>
> libfreenect is already packaged in debian.  Is there a reason you're
> building from source?  It seems like quite a complex package to build.
> If you must, consider taking a look at the existing debian packaging for
> hints.
>
> > snipped numpy/cython errors
>
> --
> regards,
> kushal
>
>

-- 
Mario.


Re: /libfreenect/build/wrappers/python/freenect3.c:747:10: fatal error: numpy/arrayobject.h: File or directory not found

2023-04-01 Thread Kushal Kumaran
On Sat, Apr 01 2023 at 10:42:11 PM, Mario Marietto  
wrote:
> Hello.
>
> I'm trying to compile libfreenect because I want to use my kinect xbox 360
> on Debian 11. I'm following the tutorial that I've found here :
>

libfreenect is already packaged in debian.  Is there a reason you're
building from source?  It seems like quite a complex package to build.
If you must, consider taking a look at the existing debian packaging for
hints.

> snipped numpy/cython errors

-- 
regards,
kushal



/libfreenect/build/wrappers/python/freenect3.c:747:10: fatal error: numpy/arrayobject.h: File or directory not found

2023-04-01 Thread Mario Marietto
Hello.

I'm trying to compile libfreenect because I want to use my kinect xbox 360
on Debian 11. I'm following the tutorial that I've found here :

https://github.com/OpenKinect/libfreenect

here :

https://itsourcecode.com/modulenotfounderror/no-module-named-numpy-core-_multiarray_umath-solved/

here :

https://github.com/lava/matplotlib-cpp/issues/46

this is what I did :


# python3 --versionPython 3.8.10# /usr/bin/python3 --versionPython
3.8.10marietto@marietto:/mnt/zroot2/zroot2/libfreenect/build# sudo
cmake .. -L -DBUILD_PYTHON3=ON -DPython3_EXACTVERSION=3.8.10
-DCYTHON_EXECUTABLE=/usr/bin/cython3 -DBUILD_REDIST_PACKAGE=OFF
-DPYTHON_INCLUDE_DIR=/usr/local/lib/python3.8/dist-packages/numpy/core/include--
Operating system is Linux-- Got System Processor x86_64-- Linux x86_64
Detected-- libfreenect will be installed to /usr/local-- Headers will
be installed to /usr/local/include/libfreenect-- Libraries will be
installed to /usr/local/lib-- Found libusb-1.0:--  - Includes:
/usr/include/libusb-1.0--  - Libraries:
/usr/lib/x86_64-linux-gnu/libusb-1.0.soTraceback (most recent call
last):  File "/usr/local/lib/python3.8/numpy/core/__init__.py", line
23, in from . import multiarray  File
"/usr/local/lib/python3.8/numpy/core/multiarray.py", line 10, in
from . import overrides  File
"/usr/local/lib/python3.8/numpy/core/overrides.py", line 6, in
from numpy.core._multiarray_umath import
(ModuleNotFoundError: No module named
'numpy.core._multiarray_umath'During handling of the above exception,
another exception occurred:Traceback (most recent call last):  File
"", line 1, in   File
"/usr/local/lib/python3.8/numpy/__init__.py", line 141, in 
from . import core  File
"/usr/local/lib/python3.8/numpy/core/__init__.py", line 49, in
raise ImportError(msg)ImportError: IMPORTANT: PLEASE READ
THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!Importing the numpy
C-extensions failed. This error can happen formany reasons, often due
to issues with your setup or how NumPy wasinstalled.We have compiled
some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.htmlPlease
note and check the following:  * The Python version is: Python3.8 from
"/usr/local/bin/python3.8"  * The NumPy version is: "1.24.2"and make
sure that they are the versions you expect.Please carefully study the
documentation linked above for further help.Original error was: No
module named 'numpy.core._multiarray_umath'-- Configuring done
(0.6s)-- Generating done (0.0s)CMake Warning:  Manually-specified
variables were not used by the project:PYTHON_INCLUDE_DIR--
Build files have been written to:
/mnt/zroot2/zroot2/libfreenect/build-- Cache
valuesBUILD_AS3_SERVER:BOOL=OFFBUILD_CPACK_DEB:BOOL=OFFBUILD_CPACK_RPM:BOOL=OFFBUILD_CPACK_TGZ:BOOL=OFFBUILD_CPP:BOOL=ONBUILD_CV:BOOL=OFFBUILD_C_SYNC:BOOL=ONBUILD_EXAMPLES:BOOL=ONBUILD_FAKENECT:BOOL=ONBUILD_OPENNI2_DRIVER:BOOL=OFFBUILD_PYTHON:BOOL=OFFBUILD_PYTHON2:BOOL=OFFBUILD_PYTHON3:BOOL=ONBUILD_REDIST_PACKAGE:BOOL=OFFCMAKE_BUILD_TYPE:STRING=CMAKE_INSTALL_PREFIX:PATH=/usr/localCYTHON_EXECUTABLE:FILEPATH=/usr/bin/cython3LIBUSB_1_INCLUDE_DIR:PATH=/usr/include/libusb-1.0LIBUSB_1_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libusb-1.0.soPython2_EXACTVERSION:STRING=Python3_EXACTVERSION:STRING=3.8.10marietto@marietto:/mnt/zroot2/zroot2/libfreenect/build#
sudo makeAlready have audios.bin[  0%] Built target firmware[ 16%]
Built target freenect[ 32%] Built target freenectstatic[ 35%] Built
target freenect-camtest[ 39%] Built target freenect-wavrecord[ 42%]
Built target freenect-glview[ 46%] Built target freenect-regview[ 50%]
Built target freenect-hiview[ 53%] Built target freenect-chunkview[
57%] Built target freenect-micview[ 60%] Built target freenect_sync[
64%] Built target freenect-regtest[ 67%] Built target
freenect-tiltdemo[ 71%] Built target freenect-glpclview[ 78%] Built
target fakenect[ 83%] Built target fakenect-record[ 87%] Built target
freenect_sync_static[ 91%] Built target freenect-cppview[ 94%] Built
target freenect-cpp_pcview[ 96%] Building C object
wrappers/python/CMakeFiles/cython3_freenect.dir/freenect3.c.o/mnt/zroot2/zroot2/libfreenect/build/wrappers/python/freenect3.c:747:10:
fatal error: numpy/arrayobject.h: File o directory non esistente  747
| #include "numpy/arrayobject.h"  |
^compilation terminated.make[2]: ***
[wrappers/python/CMakeFiles/cython3_freenect.dir/build.make:80:
wrappers/python/CMakeFiles/cython3_freenect.dir/freenect3.c.o] Errore
1make[1]: *** [CMakeFiles/Makefile2:741:
wrappers/python/CMakeFiles/cython3_freenect.dir/all] Errore 2make: ***
[Makefile:136: all] Errore 2

-- 
Mario.


Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread rhkramer
On Saturday, April 01, 2023 10:22:24 AM debian-u...@howorth.org.uk wrote:
> rhkra...@gmail.com wrote:
> > I don't remember the name of the utility that I used to use in the
> > Microsoft world, but it was very nice in showing changes within lines
> > or paragraphs, using underline and crossout (wrong name).

> It sounds like you're describing the way Microsoft Word displays
> differences between versions. 

Yes, exactly.  (But there was also a non-Microsoft utility that did (just 
about) the same thing.)

> I believe LibreOffice will do something
> very much the same.

Good to know, I'll have to try that some time.  (I do most of my writing in an 
editor these days.)

-- 
rhk 

(sig revised 20230312 -- modified first paragraph, some other irrelevant 
wordsmithing)

| No entity has permission to use this email to train an AI. 



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread debian-user
rhkra...@gmail.com wrote:
> On Friday, March 31, 2023 11:37:30 PM Susmita/Rajib wrote:
> > Suppose I wrote a book book1.txt. I then send it to an editor who
> > corrects the initial mistakes, altering some lines while doing so,
> > renaming to another file book2.txt.
> > 
> > When I receive the editor's correction, I don't accept them
> > straightaway, but based on his suggestions I change my book1 and
> > edit and alter it further. Diff helps in comparing the two draft
> > editions.
> > 
> > This one cycle could again be repeated.  
> 
> > I checked wdiff and also dwdiff. But they are very bland
> > and very complicated to handle as dwdiff uses a lot of braces with +
> > and - signs, but doesn't present the two files side by side for
> > intuitive/visual comparison.  
> 
> Thanks for the reply!
> 
> I don't remember the name of the utility that I used to use in the
> Microsoft world, but it was very nice in showing changes within lines
> or paragraphs, using underline and crossout (wrong name).  
> 
> Just to create an example, suppose I changed the previious paragraph
> to say "I never used in Linux:" then that utility would show
> something like what I show below.
> 
> Aside: I'm not sure I can show crossout in an email, so will precede
> and end it with "-".
> 
> The utility also showed a vertical line at the beginning of either a
> line or paragraph that had changed.
> 
> I don't remember the name of the utility that I used to use in the
> Microsoft world, but it was very nice in showing changes within lines
> or paragraphs, using underline and crossout (wrong name).  
> 
> 
> | I don't remember the name of the utility that I *never used in
> Linux:* -used to use in the Microsoft world-, but it was very nice in
> showing changes within lines or paragraphs, using underline and
> crossout (wrong name).  

It sounds like you're describing the way Microsoft Word displays
differences between versions. I believe LibreOffice will do something
very much the same.

> I found that very useful for generally text based documents like
> specifications and contracts.
> 
> It did have trouble "resynchronizing" -- I mean, for example, if a
> section of text was not changed but moved a fair distance (for some
> definition of "fair") it often showed that as a deletion of the text
> from the original location and insertion of the (unchaged) text in a
> new location (which wasn't necessarily all bad).
> 
> IIRC, there was another problem that I characterized as trouble with 
> resynchronizing, but, atm, I can't recall any details.
> 
> When I moved to Linux, I looked for a similar utility, and the
> closest I could find (at the time -- possibly 20 years ago) was wdiff.
> 
> I hope you find wnat you're looking for (or maybe even something
> better ;-)
> 



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread rhkramer
On Saturday, April 01, 2023 09:07:47 AM rhkra...@gmail.com wrote:
> On Friday, March 31, 2023 11:37:30 PM Susmita/Rajib wrote:
> I don't remember the name of the utility that I used to use in the
> Microsoft world, but it was very nice in showing changes within lines or
> paragraphs, using underline and crossout (wrong name).

Ahh, some things are coming back to me (it is interesting getting old -- among 
other things, I'm remembering things from long ago that I had forgotten -- I 
sort of wonder if that is a slow motion version of my life flashing before my 
eyes which might mean I'm in deep trouble ;-)

Anyway, I now remember that there were at least two ways that I found to do 
that in the Microsoft world -- one was a standalone utility, which name I 
still don't remember, but the other was a feature built into Microsoft Word 
(at least in the versions I used 20 to 30 years ago).

I don't know if [Libre | Open] Office has a similar feature.

Far aside: I am remembering that I once wrote a literate program (ala Knuth) 
in Microsoft Word (and it worked) -- I could (easily compile it from the Word 
document, or view it with or without the "literacy".  Unfortunately, the 
client company went out of business before the program was put in service.  
(Wouldn't you be worried if you remembered something like that ;-)

-- 
rhk 

(sig revised 20230312 -- modified first paragraph, some other irrelevant 
wordsmithing)

| No entity has permission to use this email to train an AI. 



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread rhkramer


On Friday, March 31, 2023 11:37:30 PM Susmita/Rajib wrote:
> Suppose I wrote a book book1.txt. I then send it to an editor who
> corrects the initial mistakes, altering some lines while doing so,
> renaming to another file book2.txt.
> 
> When I receive the editor's correction, I don't accept them
> straightaway, but based on his suggestions I change my book1 and edit
> and alter it further. Diff helps in comparing the two draft editions.
> 
> This one cycle could again be repeated.

> I checked wdiff and also dwdiff. But they are very bland
> and very complicated to handle as dwdiff uses a lot of braces with +
> and - signs, but doesn't present the two files side by side for
> intuitive/visual comparison.

Thanks for the reply!

I don't remember the name of the utility that I used to use in the Microsoft 
world, but it was very nice in showing changes within lines or paragraphs, 
using underline and crossout (wrong name).  

Just to create an example, suppose I changed the previious paragraph to say "I 
never used in Linux:" then that utility would show something like what I show 
below.

Aside: I'm not sure I can show crossout in an email, so will precede and end 
it with "-".

The utility also showed a vertical line at the beginning of either a line or 
paragraph that had changed.

I don't remember the name of the utility that I used to use in the Microsoft 
world, but it was very nice in showing changes within lines or paragraphs, 
using underline and crossout (wrong name).  


| I don't remember the name of the utility that I *never used in Linux:* -used 
to use in the Microsoft world-, but it was very nice in showing changes within 
lines or paragraphs, using underline and crossout (wrong name).  

I found that very useful for generally text based documents like specifications 
and contracts.

It did have trouble "resynchronizing" -- I mean, for example, if a section of 
text was not changed but moved a fair distance (for some definition of "fair") 
it often showed that as a deletion of the text from the original location and 
insertion of the (unchaged) text in a new location (which wasn't necessarily 
all bad).

IIRC, there was another problem that I characterized as trouble with 
resynchronizing, but, atm, I can't recall any details.

When I moved to Linux, I looked for a similar utility, and the closest I could 
find (at the time -- possibly 20 years ago) was wdiff.

I hope you find wnat you're looking for (or maybe even something better ;-)

-- 
rhk 

(sig revised 20230312 -- modified first paragraph, some other irrelevant 
wordsmithing)

| No entity has permission to use this email to train an AI. 



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread Nate Bargmann
I prefer vimdiff.

- 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: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread Max Nikulin

On 01/04/2023 14:59, DdB wrote:

In fact, unfortunately, i did not understand the necessity to wrap the
output, as i am happily using the synchronised scrollbar (inside meld)
in such cases, but ofc, that may not fit your use case.


If it is prose text formatted as a line per paragraph then wrapped lines 
become a must have feature. I do not use such approach, but sometimes I 
use :wrap command in vimdiff. I tried meld several years ago, but I 
found no reason to use it instead of vim. Out of curiosity I have tried 
"meld wrap line" in a search engine and got a couple of stackoverflow 
questions. Answers recommend Meld → Preferences → Editor → Enable text 
wrapping.


I believe that an editor is suited much better than a viewer for 
reviewing of edited version of text. Certainly changes should be tracked 
in a version control system.




Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread davidson

On Sat, 1 Apr 2023 davidson wrote:

The "colors" are control sequences, instructions for terminal
emulators conforming to a standard. Terminals understand them to mean
"now paint glyphs red" or "now make them bold" or "now stop doing all
that fancy stuff" etc.


Erm, what I meant to say is that the instructions are for conforming
terminals.

And a terminal *emulator* knows what they mean, because it is an
emulator of terminals.

--
Hackers are free people. They are like artists. If they are in a good
mood, they get up in the morning and begin painting their pictures.
-- Vladimir Putin



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread davidson

On Sat, 1 Apr 2023 Susmita/Rajib wrote:

[   ...   ]
Try

icdiff file1 file2 | less -R

and report back.
[   ...   ]

Yes, it worked. Worked better than the code-line with " | more".
Mouse-scrolling working both ways. So really thank you.

My need should have been fulfilled so far as the purpose of the
present thread is concerned. But I have another immediately related
query: how could I capture the output from the code-line with all
its colours to a file on the HDD?


The "colors" are control sequences, instructions for terminal
emulators conforming to a standard. Terminals understand them to mean
"now paint glyphs red" or "now make them bold" or "now stop doing all
that fancy stuff" etc.


Then repeated invoking the line won't be required.  "> file.txt"
drops all colours.


You do not tell us what application you are using to view the file
contents. If it is not a terminal application, it might well fail to
independently implement for your delightful spectation the ECMA-48 set
graphics control sequences.

Applications that transparently pass such sequences to a terminal
permit it to paint the glyphs as the control sequences direct.

 $ icdiff file1 file2 > pretty_diff
 $ less -R pretty_diff # Still pretty?

--
Believe you do in the church, not in front of the computer, when
we see the output we can conclude ourself. -- deloptes



FAQ mensuelle pour la liste de discussion debian-user-french

2023-04-01 Thread Jean-Philippe MENGUAL

Bonjour à tous,

Debian-user-french est une liste de discussion visant à aider les 
utilisateurs de Debian et à faciliter les discussions sur des sujets 
liés à Debian.


Voici quelques lignes directrices qui peuvent aider à expliquer comment 
fonctionne la liste :


* La langue de la liste est le français. Il existe d'autres listes pour 
les autres langues (par exemple, debian-users-italian).


* La liste est un canal de communication de Debian. À ce titre, elle est 
soumise au code de conduite des listes de diffusion ainsi qu'à celui 
général.


  https://www.debian.org/MailingLists/#codeofconduct
  https://www.debian.org/code_of_conduct

* Cette liste a un trafic relativement important. Il se peut donc que 
vous deviez attendre un peu avant d'obtenir une réponse, veuillez être 
patient. Merci de répondre à la liste car les conversations privées ne 
profitent pas aux autres utilisateurs ou lecteurs des archives de la liste.


* L'aide et les conseils sont fournis par des bénévoles sur leur temps 
libre. Il arrive que des opinions divergentes s'expriment.


* Veuillez essayer de rester dans le thème. Les discussions hors sujet 
ne sont pas bienvenues ici. Les discussions partisanes, politiques, 
religieuses ou culturelles ne sont pas souhaitables sur cette liste. La 
communauté Debian est internationale, ne pensez pas que les autres 
seront d'accord avec vos idées, ni qu'ils voudront même les lire sur une 
liste Debian.


* Une question revient de temps en temps sur presque toutes les listes :

  « J'ai fait quelque chose de mal ou mis des détails personnel dans un 
message. Pourriez-vous le supprimer s'il vous plaît ? »


En pratique, c'est impossible : les listes sont archivée, voire dans le 
cache de Google et autres.


Malheureusement, nous ne pouvons pas faire grand-chose pour vous assurer 
que toutes les copies sur Internet de votre message seront supprimées. 
Le fait de le demander ne peut qu'attirer encore plus l'attention (c'est 
l'effet Streisand documenté ici : 
https://fr.wikipedia.org/wiki/Effet_Streisand


Un problème ?
=

Toute plainte sur un comportement inadapté doit être adressée à l'équipe 
communautaire e Debian  (idéalement en anglais, 
mais on peut traiter le français).


Un comportement inadapté sur la liste peut conduire à un avertissement, 
mais en cas de récidive, il peut amener à un banissement temporaire 
voire permanent du contrevenant.


--
Jean-Philippe MENGUAL
Debian Developer non uploading
Community team member
Accessibility team member
debian-l10n-french team member
President of Debian France non-profit organization



Monthly FAQ for Debian-user list (unmodified 1/4/2023)

2023-04-01 Thread Andrew M.A. Cater
Debian-user is a mailing list provided for support for Debian users,
and to facilitate discussion on relevant topics. 

Some guidelines which may help explain how the list works:

* The language on this mailing list is English. There may be other mailing 
  lists that are language-specific, for example, debian-user-french 

* It is common for users to be redirected here from other lists, for example,
  from debian-project. It is also common for people to be posting here when 
  English is not their primary language. Please be considerate.

* The list is a Debian communication forum. As such, it is subject to both 
  the Debian mailing list Code of Conduct and the main Debian Code of Conduct
  https://www.debian.org/MailingLists/#codeofconduct
  https://www.debian.org/code_of_conduct

* This is a fairly busy mailing list and you may have to wait for an
  answer - please be patient. Please post answers back to the list so
  others can benefit; private conversations don't benefit people who
  may be following along on the list or reading the archives later.

* Help and advice on this list is provided by volunteers in their own time.
  It is common for there to be different opinions or answers provided.

 * Please try to stay on topic. Arguments for the sake of it are not
   welcome here. Partisan political / religious / cultural arguments
   do not belong here either. Debian's community is world wide; do not
   assume others will agree with your views or need to read them on a
   Debian list.

* There is an FAQ on the Debian wiki derived from some questions asked on this
  list at https://wiki.debian.org/FAQsFromDebianUser

* One question that comes up on almost all Debian lists from time to time
  is of the form:

  "I have done something wrong / included personal details in an email.
   Could you please delete my name / details / remove the mail"

Practically, this is impossible: the mailing lists are archived, potentially
cached by Google and so on.

Unfortunately, there is nothing much we can do to ensure that all copies
anywhere on the Internet are deleted. Asking to do this may only serve to
draw further attention - the so-called "Streisand effect"
See:  https://en.wikipedia.org/wiki/Streisand_effect

Problems?
=

Complaints about inappropriate behaviour should be referred to the
Debian Community Team .

Inappropriate behaviour on the list may lead to warnings; repeated bad
behaviour may lead to temporary or permanent bans for offenders.



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread Susmita/Rajib
To: debian-user@lists.debian.org
Subject: Re: Which Diff tool could I use for visually comparing
two text files where Word Wrap is possible?
From: 
Date: Sat, 1 Apr 2023 10:14:44 +0200
Message-id: 
In-reply-to: <[]
CAEG4cZUXaUAxG=0zlwpxuy44x9rtf7tnewvgfuddmzq7ile...@mail.gmail.com>
References:


<[] caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>
<[] CAEG4cZVrPz=aZN6C0V0J3EPYMrH=UGkWcbVCc8xY=31ff_p...@mail.gmail.com>
<[] CAEG4cZUXaUAxG=0zlwpxuy44x9rtf7tnewvgfuddmzq7ile...@mail.gmail.com>

On Sat, Apr 01, 2023 at 12:10:27PM +0530, Susmita/Rajib wrote:
[   ...   ]
> Strange, isn't it, Mr. Tomas? They named the project as OpenAI.

Perhaps (quite probably) the original authors dreamt of some
openness. Then, big Microsoft money flowed in.

Those things happen time and again. Remember when Google had
"do no evil" as motto?

Yes, I have a problem with the Android ecosystem, closed source and
the restrictions on the synthetic speech binary. I remember that I had
talked about the libttspico0 package, the svox binary and the
pico2wave program generating good quality TTS.

I have an intuitive belief that if the phonemes are broken down
further into sub-phonemes like it is done in differential calculus,
into tiny 횫s, then the natural voices could well be possible even in
Debian across the board. But I am not a programmer. So I can't
translate my intuition into a real binary.

[   ...   ]
> Would
> like to know the aspects on "... Besides, it's being used in very
> free-software unfriendly ways, but this
> is a whole different story."

I'm not going into big depths here. One use of OpenAI's software,
though, has been discussed in this list: Github Copilot (a Microsoft
product). It uses all the software published under Github (even
that published under copyleft licenses) without even helping the
users to follow the license the software is coming from.

Microsoft says this is no problem. On the other hand, they don't
train Copilot with their own proprietary software (they seem to
see a problem there).

I'm convinced that they are trying to dilute the significance
of copyleft licenses. I don't think that's their main thrust,
but they see that as a collateral benefit.

This is, in my eyes, hostile to free software.

Cheers
-- 
t

[   ...   ]

Thank you, Mr. Tomas. You have given me a direction to find out more.
Yes, Doze's "proprietary"-ty is troublesome. One day I might repackage
free air as cleaned, pure air and charge you for it.

Thank you and best wishes,
Rajib
Etc.



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread Susmita/Rajib
To: debian-user@lists.debian.org
Subject: Re: Which Diff tool could I use for visually comparing
two text files where Word Wrap is possible?
From: davidson 
Date: Sat, 1 Apr 2023 07:34:39 + (UTC)
Message-id: <[] alpine.deb.2.21.2304010734350.15...@azone.org>
In-reply-to: <[]
caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>
References:


<[] caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>

Dear Mr. Davidson, thank you for your reply. My lines are interspersed
in between your lines to maintain their relevance.

[   ...   ]
"Didn't work." A remarkably inarticulate non-description, and
uncharacteristic of our honored declaimant.
[   ...   ]
Wow! What exposition! But the inspiration to address my senior
user-group members thus is felt from within, not merely rhetorical.
You all, who guide me so well with your insights and experiences, are
truly my leaders and seniors in the present field. And indeed, I shall
forever remain a novice in these matters.


[   ...   ]
Try

 icdiff file1 file2 | less -R

and report back.
[   ...   ]

Yes, it worked. Worked better than the code-line with " | more".
Mouse-scrolling working both ways. So really thank you.

My need should have been fulfilled so far as the purpose of the
present thread is concerned. But I have another immediately related
query:  how could I capture the output from the code-line with all its
colours to a file on the HDD? Then repeated invoking the line won't be
required.  "> file.txt" drops all colours.

Thank you, my leaders and seniors on the debian-user group for the
support that you have provided.

Best wishes,
Rajib B
Etc.



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread tomas
On Sat, Apr 01, 2023 at 12:10:27PM +0530, Susmita/Rajib wrote:
> To: debian-user@lists.debian.org
> Subject: Re: Which Diff tool could I use for visually comparing
> two text files where Word Wrap is possible?
> From: 
> Date: Sat, 1 Apr 2023 07:56:24 +0200
> Message-id: <[] zcfhibipctx8o...@tuxteam.de>
> In-reply-to: <[]
> caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>
> References:
> 
> 
> <[] caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>
> 
> On Sat, Apr 01, 2023 at 09:07:30AM +0530, Susmita/Rajib wrote:
> 
> [...]
> 
> > The above limitations directs me to suggest to Debian Teams across all
> > Mailing Lists and the Board to have GPT4 added to extend
> > functionalities of GNU-Linux systems [...]
> 
> GPT is not free software, so it can't be included in Debian.
> 
> Besides, it's being used in very free-software unfriendly ways, but this
> is a whole different story.
> 
> Cheers
> -- 
> t
> 
> 
> [ ... ]
> 
> Strange, isn't it, Mr. Tomas? They named the project as OpenAI.

Perhaps (quite probably) the original authors dreamt of some
openness. Then, big Microsoft money flowed in.

Those things happen time and again. Remember when Google had
"do no evil" as motto?

> Would
> like to know the aspects on "... Besides, it's being used in very
> free-software unfriendly ways, but this
> is a whole different story."

I'm not going into big depths here. One use of OpenAI's software,
though, has been discussed in this list: Github Copilot (a Microsoft
product). It uses all the software published under Github (even
that published under copyleft licenses) without even helping the
users to follow the license the software is coming from.

Microsoft says this is no problem. On the other hand, they don't
train Copilot with their own proprietary software (they seem to
see a problem there).

I'm convinced that they are trying to dilute the significance
of copyleft licenses. I don't think that's their main thrust,
but they see that as a collateral benefit.

This is, in my eyes, hostile to free software.

Cheers
-- 
t


signature.asc
Description: PGP signature


OT: Live-Build creator with GUI?

2023-04-01 Thread Hans
Hi folks, 

I am looking for a live-build creation tool with a gui. 

The goal is, easily to click any software I want to use (even packages of 
thiurd parties) and then get a fully for my purposes customized live-file.
And it must be run with debian and usinng debian.

Yes, I could use live-build in the commandline (like I do witk kali linux).

I do NOT want to decide, which windowmanager, but maybe I want to decide which 
of the windowmangers are beein installed.

And yes, I know, there are live-build meta-packages for different 
windowmanagers available.

In short:

I dicovered "live-magic" which is no more available, I also discovered 
"cubic", but this can not be installed on debian, except I am running bookworm 
(which I do not want to run).

Does anyone know a live-build-gui, which is running in debian (NOT Ubuntu!!!), 
with ready to install packages for debian/bullseye and free and open-source?

If there is none, this information would also be appreciated.

Thank you for any help.

Best regards

Hans




Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread DdB
Am 01.04.2023 um 05:37 schrieb Susmita/Rajib:
> Dear Mr. DdB:
> I fondly remember my interaction with you some time during May 2022.
> Perhaps you have overlooked that I needed text wrapping for diff. I
> have checked the synaptic screenshot for meld, have installed and
> tried it. But it too suffers from the lack of text wrapping function.
> For huge text files it is thus problematic. Is a text wrap option
> available? Am I missing something?

Thank you, Sir, for your exquisite feedback. From what i read, your
problem found a resolution suiting your needs, which i refrain from
reading as an aprils fool prank. ;-)

In fact, unfortunately, i did not understand the necessity to wrap the
output, as i am happily using the synchronised scrollbar (inside meld)
in such cases, but ofc, that may not fit your use case. Sorry for that.


Happy diffing
DdB



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread davidson

On Sat, 1 Apr 2023 Susmita/Rajib wrote:

My illustrious team leaders and senior debian-user list-members,

[trimmed: admirably comprehensive description of OPs use-case]

Diff helps in comparing the two draft editions.


It does indeed do what it was designed to do.


Dear Mr. l0f4r0:
that pointer, 
https://unix.stackexchange.com/questions/537418/how-to-make-text-wrap-with-diff-y;
indeed helped and led me to icdiff which is
wonderful. Unfortunately, for two very large text files, the
terminal truncates the beginning and just highlights the end
sections of the files.


As you have discovered, if you do not pipe output to a pager, it will
not be paged.


Icdiff didn't work with " | less".


"Didn't work." A remarkably inarticulate non-description, and
uncharacteristic of our honored declaimant.

Try

 icdiff file1 file2 | less -R

and report back.


But it sure worked with " | more".

Similarly, with diff -y <(fold -s -w72 file1) <(fold -s -w72 file2) -W
200, the beginning is truncated and only the end is displayed. And
yes, it works with " | more". But it is bland.


"Bland" is not a bug. If "spicy" is a requirement for your
professional tools, my sympathy dwindles to a trickle.


Without colours differences can't be spotted so easily.


One gets the feeling that you find colors very helpful. Sounds like a
requirement to me. Say so prominently:

"I require differences to be highlighted in vibrant color."

[trimmed: copious acknowledgments]

Bottom line is: icdiff is wonderful, but from a terminal it becomes
limited. Can;t a good programmer have icdiff ported to GUI?


In its present form its output can be piped to other utilities, such
as the pagers more, less, and most.

This is compositionality, which multiplies the usefulness of a
tool. Toolmakers appreciate this, as do intelligent tool users.


It would be the best solution available for me, and for people like
me.

[rest trimmed]

If you are in the business of producing and processing text, it might
be more productive for you to invest more time in learning how to take
professional advantage of unix text-processing tools, and to spend
less time trying to tell the rare developer that may peruse
debian-user what they ought to develop for you.

--
Hackers are free people. They are like artists. If they are in a good
mood, they get up in the morning and begin painting their pictures.
-- Vladimir Putin



Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread David
On Sat, 2023-04-01 at 12:10 +0530, Susmita/Rajib wrote:
>     To: debian-user@lists.debian.org
>     Subject: Re: Which Diff tool could I use for visually comparing
> two text files where Word Wrap is possible?
>     From: 
>     Date: Sat, 1 Apr 2023 07:56:24 +0200
>     Message-id: <[] zcfhibipctx8o...@tuxteam.de>
>     In-reply-to: <[]
> caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>
>     References:
> 
> 
> <[] 
> caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>
> 
> On Sat, Apr 01, 2023 at 09:07:30AM +0530, Susmita/Rajib wrote:
> 
> [...]
> 
> > The above limitations directs me to suggest to Debian Teams across
> > all
> > Mailing Lists and the Board to have GPT4 added to extend
> > functionalities of GNU-Linux systems [...]
> 
> GPT is not free software, so it can't be included in Debian.

Russia is currently developing an equivalent, so it may pay to keep an
eye on that. They have already developed an equivalent to ChatGPT.
Cheers!





Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread Susmita/Rajib
To: debian-user@lists.debian.org
Subject: Re: Which Diff tool could I use for visually comparing
two text files where Word Wrap is possible?
From: 
Date: Sat, 1 Apr 2023 07:56:24 +0200
Message-id: <[] zcfhibipctx8o...@tuxteam.de>
In-reply-to: <[]
caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>
References:


<[] caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com>

On Sat, Apr 01, 2023 at 09:07:30AM +0530, Susmita/Rajib wrote:

[...]

> The above limitations directs me to suggest to Debian Teams across all
> Mailing Lists and the Board to have GPT4 added to extend
> functionalities of GNU-Linux systems [...]

GPT is not free software, so it can't be included in Debian.

Besides, it's being used in very free-software unfriendly ways, but this
is a whole different story.

Cheers
-- 
t


[ ... ]

Strange, isn't it, Mr. Tomas? They named the project as OpenAI. Would
like to know the aspects on "... Besides, it's being used in very
free-software unfriendly ways, but this
is a whole different story."
You could write to me privately, as this forum shouldn't be used for
our discussions on the issue.
Best wishes,
Rajib



How to get rid of the synaptic message (mentioned below) at the end of installing a package?

2023-04-01 Thread Susmita/Rajib
My illustrious team leaders and senior debian-user list-members,

My present Debian system installed from "Official Debian GNU/Linux
Live 11.6.0 lxde 2022-12-17T11:46"

While installing a package I receive this following message:

W: Download is performed unsandboxed as root as file
'/root/.synaptic/tmp//tmp_sh' couldn't be accessed by user '_apt'. -
pkgAcquire::Run (13: Permission denied)

What should I do to address this report or stop receiving this
message? It doesn't appear to be a harmful report so far as my system
is concerned. My user-id can't access root report, I guess. But any
advice would be welcome.

Best wishes,
Rajib B
Etc.