Re: Very small fonts on 4K monitor [solved]

2023-06-30 Thread jeremy ardley



On 1/7/23 10:27, Stefan Monnier wrote:

I think you'll want to read things like

 https://wiki.debian.org/MonitorDPI



That's a rather old reference and not particularly relevant to Debian 12 
/ Bookworm, and certainly not relevant to Mate desktop. It also doesn't 
fix the problem with Google Chrome where the font in the address bar is 
microscopic as well as the icons on that line. That is something 
specific to Google Chrome.


As an aside, a second side-effect of using the NVidia driver is an 
increase in the width on window edges you can click when you are 
dragging to resize.


Using the Nouveau driver and Mate the selection width was exactly 1 
pixel and very difficult to click. ( Quite how the driver affects the 
selection width is completely unclear to me ! )


With the Nvidia driver the edge selection is now sufficiently broad and 
it's easy to resize windows.



Jeremy



Re: Very small fonts on 4K monitor [solved]

2023-06-30 Thread Stefan Monnier
> I recently upgraded my display to a 4K monitor.
[...]
> I had the immediate problem that most text was almost too small
> to view.

I think you'll want to read things like

https://wiki.debian.org/MonitorDPI


-- Stefan



Very small fonts on 4K monitor [solved]

2023-06-30 Thread jeremy ardley

I recently upgraded my display to a 4K monitor.

I am running it with a new instance of Debian 12 under the Mate desktop, 
though I think the problem happens with other desktops.


I had the immediate problem that most text was almost too small to view. 
This occurred in many different applications and especially Google Chrome.


There are a variety of tweaks you can do to adjust the font sizes for 
applications and for Mate defaults. None are really satisfactory and for 
Google Chrome it was impossible to increase the microscopic size of the 
text in the address bar and the size of the adjacent icons.


I did a fair bit of research and tried the various chrome 'cheats' but 
with little or no  effect.


There is however an easy fix that I discovered. Ditch Nouveau!

I put in the Nvidia driver for my board and instantly almost all the 
font problems were solved. In fact I had to go back and undo all the 
font overrides I had in order to get an easily usable desktop.


This may well work with AMD graphics cards as well, but I've not tested it.


Jeremy




Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
>> Well if you were prepared to type a search for
>> computational linguistics software into google, you would
>> find several free tools available for linux listed on pages
>> such as
>>
>> https://martinweisser.org/corpora_site/comp_ling_resources.html
>
> Indeed, that page has 4 hits for Unix and 3 for Linux.
>
>> https://www.sil.org/linguistics/linguistics-software
>
> Ditto 1 hit for Unix and 19 (!) for Linux.
>
> So, a total of 5 Unix hits and 22 Linux, all in all 27 hits,
> possible duplicates not subtracted.

Ah, if you are not into this field, making sense of those
lists of software is like searching for a microchip in
a supercomputer ...

But I did find a Debian package (metapackage) named
science-linguistics:

$ aptitude show science-linguistics
Package: science-linguistics
Version: 1.14.2
State: not installed
Priority: optional
Section: metapackages
Maintainer: Debian Science Team 

Architecture: all
Uncompressed Size: 43.0 k
Depends: science-config (= 1.14.2), science-tasks (= 1.14.2)
Recommends: apertium, apertium-lex-tools, artha, cg3, collatinus, dimbl, frog,
hfst, hfst-ospell, irstlm, libcld2-dev, link-grammar, lttoolbox,
mbt, mbtserver, python3-pynlpl, r-cran-lexrankr, r-cran-snowballc,
timbl, timblserver, ucto, uctodata, wordnet
Suggests: apertium-af-nl, apertium-apy, apertium-arg, apertium-arg-cat,
  apertium-bel, apertium-bel-rus, apertium-br-fr, apertium-ca-it,
  apertium-cat, apertium-cat-srd, apertium-crh, apertium-crh-tur,
  apertium-cy-en, apertium-dan, apertium-dan-nor, apertium-en-ca,
  apertium-en-es, apertium-en-gl, apertium-eo-ca, apertium-eo-en,
  apertium-eo-es, apertium-eo-fr, apertium-es-ast, apertium-es-ca,
  apertium-es-gl, apertium-es-it, apertium-es-pt, apertium-es-ro,
  apertium-eu-en, apertium-eu-es, apertium-fr-ca, apertium-fr-es,
  apertium-fra, apertium-fra-cat, apertium-hbs, apertium-hbs-eng,
  apertium-hbs-mkd, apertium-hbs-slv, apertium-hin, apertium-id-ms,
  apertium-is-sv, apertium-isl, apertium-isl-eng, apertium-ita,
  apertium-kaz, apertium-kaz-tat, apertium-mk-bg, apertium-mk-en,
  apertium-mlt-ara, apertium-nno, apertium-nno-nob, apertium-nob,
  apertium-oc-ca, apertium-oc-es, apertium-oci, apertium-pol,
  apertium-pt-ca, apertium-pt-gl, apertium-rus, apertium-separable,
  apertium-sme-nob, apertium-spa, apertium-spa-arg, apertium-srd,
  apertium-srd-ita, apertium-swe, apertium-swe-dan, apertium-swe-nor,
  apertium-szl, apertium-tat, apertium-tur, apertium-ukr, apertium-urd,
  apertium-urd-hin, frogdata, giella-sme, libcg3-dev, libfolia-dev,
  libmbt0-dev, libticcutils2-dev, libtimbl3-dev, libtimbl4-dev,
  libtimblserver2-dev, libucto1-dev, python3-nltk,
  python3-snowballstemmer, python3-streamparser, python3-thinc,
  python3-timbl, r-cran-nlp, r-cran-tm, sequitur-g2p, spacy, travatar,
  wnsqlbuilder
Description: Debian Science Linguistics packages
 This metapackage is part of the Debian Pure Blend "Debian Science" and
 installs packages related to Linguistics.
Homepage: https://wiki.debian.org/DebianScience/
Tags: field::linguistics, role::metapackage, suite::debian

-- 
underground experts united
https://dataswamp.org/~incal



Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
debian-user wrote:

> Well if you were prepared to type a search for computational
> linguistics software into google, you would find several
> free tools available for linux listed on pages such as
>
> https://martinweisser.org/corpora_site/comp_ling_resources.html

Indeed, that page has 4 hits for Unix and 3 for Linux.

> https://www.sil.org/linguistics/linguistics-software

Ditto 1 hit for Unix and 19 (!) for Linux.

So, a total of 5 Unix hits and 22 Linux, all in all 27 hits,
possible duplicates not subtracted.

-- 
underground experts united
https://dataswamp.org/~incal



Re: Out of Range Monitor Problim

2023-06-30 Thread Stephen P. Molnar
The problem is solved. Apparently the PCI card had a loose connector, so 
I replaced it.


As soon as  adjust the resolution it'll be back to normal.

Many thanks to all that answered by request for help.

On 6/29/2023 4:09 PM, Felix Miata wrote:

Stephen P. Molnar composed on 2023-06-29 15:15 (UTC-0400):


All components were purchased from tho Microcenter herein Columbus.
It could, in fact, connect to a TV on the LAN in the same room, But now
I get form the TV: Computer No signal is it on?

Not a good sign. :( Did you turn the TV on, and to the correct input, before
turning on the PC? Some TVs don't like being late to the boot. So do some GPUs.


inxi -GSaz, in safe mode, returns-  bash: inxi: command not found

If network is working, sudo apt install inxi will install it, but because
Bullseye's inxi is a broken antique, better to do the following as root:

cd /usr/local/bin && wget -O inxi smxi.org/inxi && chmod +x inxi
from:
https://smxi.org/docs/inxi-installation.htm#inxi-manual-install

to get the much improved current version. Inxi -Gaz is the best there is for
providing basic graphics troubleshooting info.


cat for both logs returns:  no such file or directory

Bad sign. I never use Wayland, so can't be sure what if any logging it does that
ordinary people can locate. Xorg should have left an old one in either location 
if
there is no current one. I think Wayland leaves its stuff in the journal:



Let me pose a hypothetical - Would installing Debian 12 on a different
drive boot. or would I (most likely) muck-up the entire computer?

It's possible to muck up what you have, but if you remove the current drive and
install the different one and Bookworm, it might be your best way forward. If 
the
installer can't work either, it would be near certain you've acquired a hardware
problem, hopefully easily resolved with a graphics card swap if you can locate 
one
to try without too much trouble. What to look for might depend on what you have 
in
there now. NVidia as good at giving people headaches like you have. Intel only
just began (after more than two decades of not) providing discrete graphics 
cards.
So hopefully you could get hands on a PCIe AMD card made less than 10 years ago 
to
try.

Simply starting the Bookworm installer, if it starts at all, might say a lot.


--
Stephen P. Molnar, PhD
https://insilicochemistry.net
(614)-312-7528
Skype: smolnar1



Re: cannot install odcb mariadb in bookworm

2023-06-30 Thread john doe

On 6/30/23 00:11, John Covici wrote:

Hi.  I am trying to install odcb-mariadb in bookworm.  It was fine in
bullseye, but in bookworm I get the following error:
Unpacking odbc-mariadb (3.1.15-3) over (3.1.15-3) ...
Setting up odbc-mariadb (3.1.15-3) ...
odbcinst: SQLInstallDriverEx failed with Unable to find component
name.
dpkg: error processing package odbc-mariadb (--configure):

How to fix?



The best way to having it being fixed is to file a bug report!

--
John Doe



Re: FOSS tool to do general stats from text indata

2023-06-30 Thread debian-user
Emanuel Berg  wrote:
> Nicholas Geovanis wrote:
> 
> > Those books teach and discuss some of the software that's
> > used. I doubt you will find them in debian's repositories.
> > Of course you can do plenty of computational linguistics
> > with perl or python which you already have.
> >
> > What is a "regular expression" which is at the heart of perl
> > and python? An expression which conforms to a certain type
> > of grammar. Perl and python are used directly for analyzing
> > text (any old language). You are learning basic
> > computational linguistics.  
> 
> Okay, but if there isn't a tool readily available I think this
> is a window for a bunch of young programmers that feel the
> need to show their skills. It could be a degree project in
> Computer Science even, unless the Computational Linguistics
> guys have their own degree projects. If so, they can borrow
> FOSS and CLI from us and we'd get the tool as well when they
> are done, that would be a fair trade IMO :)

Well if you were prepared to type a search for computational
linguistics software into google, you would find several free tools
available for linux listed on pages such as

https://martinweisser.org/corpora_site/comp_ling_resources.html
https://www.sil.org/linguistics/linguistics-software

and other pages contining reviews of such software, so perhaps you
could start there rather than writing your own?



Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
>> A basic search finds this web tool: 
>>
>> https://www.usingenglish.com/resources/text-statistics/
>
> I didn't get it to work in Emacs-w3m, be it lack of JavaScript
> support or something else. Anyway the page and tool claims to
> do this:
>
>   Total Word Count
>   Total Word Count (Excluding Common Words)
>   Number of Different Words
>   Different Words (Excluding Common Words)
>   Number of Paragraphs
>   Number of Sentences
>   Words per Sentence
>   Number of Characters (all)
>   Number of Characters (a-z)
>   Characters per Word
>   Syllables
>   Syllables per Word
>
> Sure, if one had a CLI tool doing that, I would say it's
> certainly a good start!

I have now tried it from a smartphone and it works great, It
does what I say (quote) above but actually much more and more
interesting things are analyzed and outputted as well,
including diagrams.

Alas, some output is not available unless one pays for the
enhanced version - I suppose that makes it shareware, as we
said in the 90s - but it still does a lot in its
current state.

-- 
underground experts united
https://dataswamp.org/~incal



Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
Nicholas Geovanis wrote:

> Those books teach and discuss some of the software that's
> used. I doubt you will find them in debian's repositories.
> Of course you can do plenty of computational linguistics
> with perl or python which you already have.
>
> What is a "regular expression" which is at the heart of perl
> and python? An expression which conforms to a certain type
> of grammar. Perl and python are used directly for analyzing
> text (any old language). You are learning basic
> computational linguistics.

Okay, but if there isn't a tool readily available I think this
is a window for a bunch of young programmers that feel the
need to show their skills. It could be a degree project in
Computer Science even, unless the Computational Linguistics
guys have their own degree projects. If so, they can borrow
FOSS and CLI from us and we'd get the tool as well when they
are done, that would be a fair trade IMO :)

-- 
underground experts united
https://dataswamp.org/~incal



Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Nicholas Geovanis
On Fri, Jun 30, 2023, 10:32 AM Emanuel Berg  wrote:

> Nicholas Geovanis wrote:
>
> > If you have python programming skills, you might
> > consider NLTK
> 
>  Unbelievable if there are no such tools anywhere already,
>  but I don't have one either so maybe there aren't then?
> >>>
> >>> There's a big subject called computational linguistics.
> >>> They have some specialized tools for what they call corpus
> >>> analysis. Because you mentioned statistics you threw
> >>> everyone off :-) And I really like R.
> >>
> >> Okay, so now we are getting somewhere. The technical term
> >> and scientific field of this activity is known as
> >> computational linguistics, and the guys that do that do
> >> corpus analysis. Sweet!
> >
> > Two standard text books are Foundations of Computational
> > Linguistics by R Hausser, and Computational Linguistics: An
> > Introduction by R Grishman.
> >
> > Syntactical analysis of human and artificial (programming)
> > languages is well known. But how do you attach meaning to
> > the symbols? Semantics. How do you identify style and
> > emphasis? These are the kind of starting points for
> > computational linguistics.
>
> Okay, but do we have software in the Debian repositories, or
> anywhere else in the Unix and FOSS world for that matter, so
> we can try it out in practice?
>

Those books teach and discuss some of the software that's used. I doubt you
will find them in debian's repositories. Of course you can do plenty of
computational linguistics with perl or python which you already have.

What is a "regular expression" which is at the heart of perl and python? An
expression which conforms to a certain type of grammar. Perl and python are
used directly for analyzing text (any old language). You are learning basic
computational linguistics.

-- 
> underground experts united
> https://dataswamp.org/~incal
>
>


Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
Joel Roth wrote:

> A basic search finds this web tool: 
>
> https://www.usingenglish.com/resources/text-statistics/

I didn't get it to work in Emacs-w3m, be it lack of JavaScript
support or something else. Anyway the page and tool claims to
do this:

  Total Word Count
  Total Word Count (Excluding Common Words)
  Number of Different Words
  Different Words (Excluding Common Words)
  Number of Paragraphs
  Number of Sentences
  Words per Sentence
  Number of Characters (all)
  Number of Characters (a-z)
  Characters per Word
  Syllables
  Syllables per Word

Sure, if one had a CLI tool doing that, I would say it's
certainly a good start!

> Otherwise, I think you'll have to write your own -- or hire
> someone (like me :^) to write one for you.

I have to squeeze the money out of my political organizations
first ...

-- 
underground experts united
https://dataswamp.org/~incal



Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
Nicholas Geovanis wrote:

> If you have python programming skills, you might
> consider NLTK

 Unbelievable if there are no such tools anywhere already,
 but I don't have one either so maybe there aren't then?
>>>
>>> There's a big subject called computational linguistics.
>>> They have some specialized tools for what they call corpus
>>> analysis. Because you mentioned statistics you threw
>>> everyone off :-) And I really like R.
>>
>> Okay, so now we are getting somewhere. The technical term
>> and scientific field of this activity is known as
>> computational linguistics, and the guys that do that do
>> corpus analysis. Sweet!
>
> Two standard text books are Foundations of Computational
> Linguistics by R Hausser, and Computational Linguistics: An
> Introduction by R Grishman.
>
> Syntactical analysis of human and artificial (programming)
> languages is well known. But how do you attach meaning to
> the symbols? Semantics. How do you identify style and
> emphasis? These are the kind of starting points for
> computational linguistics.

Okay, but do we have software in the Debian repositories, or
anywhere else in the Unix and FOSS world for that matter, so
we can try it out in practice?

-- 
underground experts united
https://dataswamp.org/~incal



Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Nicholas Geovanis
On Fri, Jun 30, 2023, 8:32 AM Emanuel Berg  wrote:

> Nicholas Geovanis wrote:
>
> >>> If you have python programming skills, you might consider
> >>> NLTK
> >>
> >> Unbelievable if there are no such tools anywhere already,
> >> but I don't have one either so maybe there aren't then?
> >>
> >
> > There's a big subject called computational linguistics.
> > They have some specialized tools for what they call corpus
> > analysis. Because you mentioned statistics you threw
> > everyone off :-) And I really like R.
>
> Okay, so now we are getting somewhere. The technical term and
> scientific field of this activity is known as computational
> linguistics, and the guys that do that do corpus
> analysis. Sweet!
>

Two standard text books are Foundations of Computational Linguistics by R
Hausser, and Computational Linguistics: An Introduction by R Grishman.

Syntactical analysis of human and artificial (programming) languages is
well known. But how do you attach meaning to the symbols? Semantics. How do
you identify style and emphasis? These are the kind of starting points for
computational linguistics.

-- 
> underground experts united
> https://dataswamp.org/~incal
>
>


Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
Nicholas Geovanis wrote:

>>> If you have python programming skills, you might consider
>>> NLTK
>>
>> Unbelievable if there are no such tools anywhere already,
>> but I don't have one either so maybe there aren't then?
>>
>
> There's a big subject called computational linguistics.
> They have some specialized tools for what they call corpus
> analysis. Because you mentioned statistics you threw
> everyone off :-) And I really like R.

Okay, so now we are getting somewhere. The technical term and
scientific field of this activity is known as computational
linguistics, and the guys that do that do corpus
analysis. Sweet!

-- 
underground experts united
https://dataswamp.org/~incal



Re: Monitor Problem???

2023-06-30 Thread David Wright
On Fri 30 Jun 2023 at 01:27:57 (-0400), Felix Miata wrote:
> Stephen P. Molnar composed on 2021-01-03 06:58 (UTC-0400):
> 
> > My main computer runs  Debian Buster and is displaying some unusual 
> > behavior.
> 
> > The monitor is blanking, without warning, at random times, and restoring 
> > the screen  while I working. There is no warning, nor does the computer 
> > seem to be overheating (I continuously monitor the temperature).
> 
> > I rather suspect that it may be a hardware problem. I keep the software 
> > up to date.
> 
> This 30 month old issue smells a lot like the current one. Do you still have 
> a KVM
> switch hooked up to the M5 A97 R2.0's GPU? I don't see a solution in that 
> thread
> on https://lists.debian.org/debian-user/2021/01/threads.html .

Back then, the OP appeared to use "hardwired" differently from how
I would. I've never seen a monitor that could be hardwired to
anything: all have had sockets on the back. Ditto personal computers.

My monitor with the flickering colours was firmly attached with
screwed-down D plugs. That doesn't guarantee electrical reliability
of the individual pins.

OTOH I've only experienced Out of Range complaints when guessing
the settings for a new (to me) monitor/TV.

Cheers,
David.



Re: Desole sthml !

2023-06-30 Thread ptilou
Le jeudi 29 juin 2023 à 17:10:04 UTC+2, ptilou a écrit :
> Slt, 
> 
> Je vais a la biblio je lis les magazine … 
> 
> Aller plus haut, je m’etale … 
> Au 1 first flore ! 
> 
> Puis l’envie me prend d’essayer un pc de la biblio loger sur le compte d’une 
> absente, ca marche debian aussi, par contre une meutes m’expliquer de me 
> logger avec mon compte, et bien avec mon compte cela ne marche pas ! 
> 
> Il on changer le systeme quand il a bugue en septembre ou en octobre … 
> 
> Vraiment on aime ces attention …. 
> 
> Une Europe sans discrimination numerique avec libre choix de tpus un chacun 
> et non des demis personnalite juridique, comme certain semble le mettre en 
> oeuvre dans des organisations qui sont responsable de faire respecter ces 
> RegleS ! 
> 
> cc 
> 

Je m’excuse ce message est destine a debat …
> — 
> Ptilou 
> Mais vous etes fou ? 
> Oh oui !