Re: Anti-malware for my personal Debian workstation?

2020-04-11 Thread Andrei POPESCU
On Sb, 11 apr 20, 19:06:59, l0f...@tuta.io wrote:
> 
> I understand most of you respondents don't use anti-malware at all. A 
> good hygiene or other kind of solutions like system hardening 
> (AppArmor, SELinux) are way more efficient.
> 
> NB : I've been told SELinux is so complex, people eventually let it 
> drop... Do you all succeed in configuring & using it? ;)

Didn't even try, I just take whatever Debian does by default.
 
> Do you follow any guide or tool to help you in hardening your Linux 
> distro?
> I've used Lynis for the audit part, it's nicely done. What do you 
> think about it?

Any such tool you are using has to be regularly updated as well and by 
definition is built on the assumptions of the developers of what is 
(not) necessary for me. This can easily lead to a false sense of 
security.

> Anti-malware on Windows is common/best practice. However, as we are 
> discussing it here, things seem to be different with Linux. I don't 
> really think Linux is intrinsically more secure than Windows nowadays 
> (a vulnerability remains as such) but I really think Linux ecosystem 
> is. Here are some reasons that could explain that according to me:
>
> * Most softwares are downloaded through official preconfigured 
> repositories. Users are less prone to download malware on suspicions 
> websites

There are sufficient tutorials advising to download random scripts and 
run with root privileges.

> * Updates are easier as well because tracked/centralized through 
> repositories themselves for the most part. On Windows you need to 
> check Windows Update + Windows Store + each application individually

Would be the same on Debian if you chose to install additional software 
with some other package manager and debs downloaded from whatever 
website.

> * Linux users are globally more tech-savvy so they take care more 
> about their systems

This is just a side effect of Linux being much less common on typical[1] 
desktop / laptop systems.

> * Open source is more common on Linux (community-based) than Windows 
> (money-based) so theoretically anyone competent enough could view the 
> source by oneself and spot a malovelent behavior (/!\ in practice this 
> is not so easy, see what happened with OpenSSL / HeartBleed)

You probably mean Linus's law[2]. Unfortunately the reverse is true as 
well: without sufficient eyeballs there will be many bugs.

If something like Heartbleed can happen to a widely deployed software 
imagine what is probably hidden in all the software with a much smaller 
user-base and almost no active maintenance.

> * Linux desktops are less exposed : it's more lucrative for black hats 
> to target Windows users with malware (see desktop marketshares). 
> However this is only half of an argument because Linux server 
> marketshares are quite the opposite!
>
> * Until some years ago, I would have added that Linux is more secured 
> by design (least privilege, compartmentalization) than Windows but I 
> think this is not so true now, Windows has cought up apparently...
>
> => What is your opinion?

In my opinion any system can be made very secure, but not 100%.

The given/chosen hardware and software can make some things easier while 
making others more difficult.

The FLOSS ecosystem has a slight cultural advantage: less reliance on 
tools to stop and/or detect malware. Instead the vulnerability is 
(hopefully) found and patched.

This advantage is partially due to Microsoft's security practices in the 
past. While these have improved significantly in recent years some 
practices are difficult to change and will probably only disappear 
together with the desktops and laptops[3].

[1] not including Chromebooks
[2] https://en.wikipedia.org/wiki/Linus%27s_law
[3] fortunately when new types of devices like smartphones and tablets 
were introduced the hardware and software makers used the opportunity to 
also introduce better security models and practices, unfortunately 
together with an entire class of new privacy issues.

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


signature.asc
Description: PGP signature


Re: Sound issues on ThinkPad X220T (Lenovo)

2020-04-11 Thread riveravaldez
On 4/11/20, riveravaldez  wrote:
> On 4/11/20, riveravaldez  wrote:
>> Hi,
>>
>> I would like to know what's the proper way to solve this. I'm on an
>> updated debian-testing installation (with pulseaudio installed and
>> working, but the problem seems to be previous, i.e., in ALSA, because
>> pavucontrol doesn't show the soundcard in its correspondent tab).
>>
>> I can get audio from audacity and audacious as long as I choose
>> manually the proper soundcard in its options, but not from other
>> programs (e.g., firefox, mplayer, etc.), which I suppose use the
>> default soundcard.
>>
>> Strangely, 'speaker-test -c2' doesn't produce a sound. But 'sudo
>> speaker-test -c2' works flawlessly. (The idea to check that came from
>> [1].)
>>
>> I already tested (following [2]):
>>
>> $ sudo alsactl init
>> Found hardware: "HDA-Intel" "Conexant CX20590"
>> "HDA:14f1506e,17aa21db,0013 HDA:80862805,80860101,0010"
>> "0x17aa" "0x21db"
>> Hardware is initialized using a generic method
>>
>> But nothing changed after reboot. (Though, the CX20590 is the working
>> choice for audacious/audacity.)
>>
>> I have this info:
>>
>> $ cat /proc/asound/cards
>>  0 [PCH]: HDA-Intel - HDA Intel PCH
>>   HDA Intel PCH at 0xf252 irq 35
>>
>> $ lspci -v
>> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
>> Family High Definition Audio Controller (rev 04)
>>  Subsystem: Lenovo 6 Series/C200 Series Chipset Family High Definition
>> Audio Controller
>>  Flags: bus master, fast devsel, latency 0, IRQ 35
>>  Memory at f252 (64-bit, non-prefetchable) [size=16K]
>>  Capabilities: 
>>  Kernel driver in use: snd_hda_intel
>>  Kernel modules: snd_hda_intel
>>
>> Any other info I could provide?
>> What should I do?
>>
>> BTW, JACK also fails to work, with these messages:
>>
>> 20:59:14.349 Reiniciar estadísticas.
>> 20:59:14.356 Cambios en las conexiones ALSA.
>> Cannot connect to server socket err = No existe el fichero o el
>> directorio
>> Cannot connect to server request channel
>> jack server is not running or cannot be started
>> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
>> skipping unlock
>> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
>> skipping unlock
>> 20:59:31.365 JACK está iniciándose...
>> 20:59:31.366 /usr/bin/jackd -v -dalsa -r48000 -p512 -n2 -Xseq -D
>> -Chw:PCH,0 -Phw:PCH,0
>> Cannot connect to server socket err = No existe el fichero o el
>> directorio
>> Cannot connect to server request channel
>> jack server is not running or cannot be started
>> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
>> skipping unlock
>> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
>> skipping unlock
>> 20:59:31.382 JACK se inició con PID=3144.
>> no message buffer overruns
>> no message buffer overruns
>> no message buffer overruns
>> jackdmp 1.9.12
>> Copyright 2001-2005 Paul Davis and others.
>> Copyright 2004-2016 Grame.
>> Copyright 2016-2017 Filipe Coelho.
>> jackdmp comes with ABSOLUTELY NO WARRANTY
>> This is free software, and you are welcome to redistribute it
>> under certain conditions; see the file COPYING for details
>> JACK server starting in realtime mode with priority 10
>> self-connect-mode is "Don't restrict self connect requests"
>> Jack: JackPosixThread::StartImp : create non RT thread
>> Jack: JackPosixThread::ThreadHandler : start
>> Jack: capture device hw:PCH,0
>> Jack: playback device hw:PCH,0
>> Jack: apparent rate = 48000
>> Jack: frames per period = 512
>> Jack: JackDriver::Open capture_driver_name = hw:PCH,0
>> Jack: JackDriver::Open playback_driver_name = hw:PCH,0
>> Jack: Check protocol client = 8 server = 8
>> Jack: JackEngine::ClientInternalOpen: name = system
>> Jack: JackEngine::AllocateRefNum ref = 0
>> Jack: JackLinuxFutex::Allocate name = jack_sem.1000_default_system val =
>> 0
>> Jack: JackEngine::NotifyAddClient: name = system
>> Jack: JackGraphManager::SetBufferSize size = 512
>> Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
>> Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
>> Jack: JackDriver::SetupDriverSync driver sem in flush mode
>> audio_reservation_init
>> Acquire audio card Audio0
>> creating alsa driver ...
>> hw:PCH,0|hw:PCH,0|512|2|48000|0|0|nomon|swmeter|-|32bit
>> ATTENTION: The playback device "hw:PCH,0" is already in use. Please
>> stop the application using it and run JACK again
>> Jack: JackDriver::Close
>> Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0
>> Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
>> Jack: JackEngine::ClientInternalClose ref = 0
>> Jack: JackEngine::ClientCloseAux ref = 0
>> Jack: JackGraphManager::RemoveAllPorts ref = 0
>> Released audio card Audio0
>> audio_reservation_finish
>> Jack: ~JackDriver
>> Cannot initialize driver
>> Jack: no message buffer overruns
>> Jack: JackPosixThread::Stop
>> Jack:

Re: Sound issues on ThinkPad X220T (Lenovo)

2020-04-11 Thread riveravaldez
On 4/11/20, riveravaldez  wrote:
> Hi,
>
> I would like to know what's the proper way to solve this. I'm on an
> updated debian-testing installation (with pulseaudio installed and
> working, but the problem seems to be previous, i.e., in ALSA, because
> pavucontrol doesn't show the soundcard in its correspondent tab).
>
> I can get audio from audacity and audacious as long as I choose
> manually the proper soundcard in its options, but not from other
> programs (e.g., firefox, mplayer, etc.), which I suppose use the
> default soundcard.
>
> Strangely, 'speaker-test -c2' doesn't produce a sound. But 'sudo
> speaker-test -c2' works flawlessly. (The idea to check that came from
> [1].)
>
> I already tested (following [2]):
>
> $ sudo alsactl init
> Found hardware: "HDA-Intel" "Conexant CX20590"
> "HDA:14f1506e,17aa21db,0013 HDA:80862805,80860101,0010"
> "0x17aa" "0x21db"
> Hardware is initialized using a generic method
>
> But nothing changed after reboot. (Though, the CX20590 is the working
> choice for audacious/audacity.)
>
> I have this info:
>
> $ cat /proc/asound/cards
>  0 [PCH]: HDA-Intel - HDA Intel PCH
>   HDA Intel PCH at 0xf252 irq 35
>
> $ lspci -v
> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
> Family High Definition Audio Controller (rev 04)
>   Subsystem: Lenovo 6 Series/C200 Series Chipset Family High Definition
> Audio Controller
>   Flags: bus master, fast devsel, latency 0, IRQ 35
>   Memory at f252 (64-bit, non-prefetchable) [size=16K]
>   Capabilities: 
>   Kernel driver in use: snd_hda_intel
>   Kernel modules: snd_hda_intel
>
> Any other info I could provide?
> What should I do?
>
> BTW, JACK also fails to work, with these messages:
>
> 20:59:14.349 Reiniciar estadísticas.
> 20:59:14.356 Cambios en las conexiones ALSA.
> Cannot connect to server socket err = No existe el fichero o el directorio
> Cannot connect to server request channel
> jack server is not running or cannot be started
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
> skipping unlock
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
> skipping unlock
> 20:59:31.365 JACK está iniciándose...
> 20:59:31.366 /usr/bin/jackd -v -dalsa -r48000 -p512 -n2 -Xseq -D
> -Chw:PCH,0 -Phw:PCH,0
> Cannot connect to server socket err = No existe el fichero o el directorio
> Cannot connect to server request channel
> jack server is not running or cannot be started
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
> skipping unlock
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
> skipping unlock
> 20:59:31.382 JACK se inició con PID=3144.
> no message buffer overruns
> no message buffer overruns
> no message buffer overruns
> jackdmp 1.9.12
> Copyright 2001-2005 Paul Davis and others.
> Copyright 2004-2016 Grame.
> Copyright 2016-2017 Filipe Coelho.
> jackdmp comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
> JACK server starting in realtime mode with priority 10
> self-connect-mode is "Don't restrict self connect requests"
> Jack: JackPosixThread::StartImp : create non RT thread
> Jack: JackPosixThread::ThreadHandler : start
> Jack: capture device hw:PCH,0
> Jack: playback device hw:PCH,0
> Jack: apparent rate = 48000
> Jack: frames per period = 512
> Jack: JackDriver::Open capture_driver_name = hw:PCH,0
> Jack: JackDriver::Open playback_driver_name = hw:PCH,0
> Jack: Check protocol client = 8 server = 8
> Jack: JackEngine::ClientInternalOpen: name = system
> Jack: JackEngine::AllocateRefNum ref = 0
> Jack: JackLinuxFutex::Allocate name = jack_sem.1000_default_system val = 0
> Jack: JackEngine::NotifyAddClient: name = system
> Jack: JackGraphManager::SetBufferSize size = 512
> Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
> Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
> Jack: JackDriver::SetupDriverSync driver sem in flush mode
> audio_reservation_init
> Acquire audio card Audio0
> creating alsa driver ...
> hw:PCH,0|hw:PCH,0|512|2|48000|0|0|nomon|swmeter|-|32bit
> ATTENTION: The playback device "hw:PCH,0" is already in use. Please
> stop the application using it and run JACK again
> Jack: JackDriver::Close
> Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0
> Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
> Jack: JackEngine::ClientInternalClose ref = 0
> Jack: JackEngine::ClientCloseAux ref = 0
> Jack: JackGraphManager::RemoveAllPorts ref = 0
> Released audio card Audio0
> audio_reservation_finish
> Jack: ~JackDriver
> Cannot initialize driver
> Jack: no message buffer overruns
> Jack: JackPosixThread::Stop
> Jack: JackPosixThread::ThreadHandler : exit
> JackServer::Open failed with -1
> Jack: Succeeded in unlocking 82280346 byte memory area
> Jack: JackShmMem::delet

X framebuffer problem on AMD Picasso

2020-04-11 Thread Paul Scott

Hi,

I haven't posted for a long time!

I just successfully did my first UEFI installation.

It's a new AMD machine with.  X is failing to start.  I have solved a 
number of related problems within online information including finding 
the firmware-amd-graphics package.  I can't easily post log contents 
from that machine since it doesn't have email installed yet.


I am now at:

open /dev/dri/card0: no such file...

What I find online refers to the firmware problems I think I have solved.

TIA for any ideas,

Paul





Re: using Webex from Stretch

2020-04-11 Thread Carl Fink

On 4/11/20 3:02 PM, Kleene, Steven (kleenesj) wrote:

On Friday, April 10, 2020 7:57 PM, Carl Fink wrote:


I'm also sure it would work in a virtual Windows session, if you happen to
have one around.

I do have a virtualbox Windows, but it's XP (one excuse being that it will
still drive an 18-year-old printer I like).  I tried to connect to Webex from
the virtual XP with Firefox 43.  Not surprisingly, Webex wanted me to upgrade
my OS (and not to Buster, presumably).


I don't think anyone has tested, but you could try ReactOS
(https://www.reactos.org).

Of if you happen to have an Android or iOS device, they
work fine.

--
Carl Fink   nitpick...@nitpicking.com

Read my blog at blog.nitpicking.com.  Reviews!  Observations!



Re: using Webex from Stretch

2020-04-11 Thread Kleene, Steven (kleenesj)
On Friday, April 10, 2020 7:57 PM, Carl Fink wrote:

> I'm also sure it would work in a virtual Windows session, if you happen to
> have one around.

I do have a virtualbox Windows, but it's XP (one excuse being that it will
still drive an 18-year-old printer I like).  I tried to connect to Webex from
the virtual XP with Firefox 43.  Not surprisingly, Webex wanted me to upgrade
my OS (and not to Buster, presumably).


From: Carl Fink 
Sent: Friday, April 10, 2020 7:57 PM
To: debian-user@lists.debian.org
Subject: Re: using Webex from Stretch

On 4/10/20 3:49 PM, Kleene, Steven (kleenesj) wrote:
> I got what I needed yesterday, given that I didn't want to speak anyway.  I'm
> grateful for all the help here.  Now I need to read up on how to initiate a
> Webex conference (maybe from my wife's Windows box) so that I can do testing
> whenever I want.  And I need to locate a working microphone.

There is at least some success reported running Webex within Wine:
https://appdb.winehq.org/objectManager.php?sClass=application&iId=16455

I'm also sure it would work in a virtual Windows session, if you happen
to have
one around.

--
Carl Fink   nitpick...@nitpicking.com

Read my blog at blog.nitpicking.com.  Reviews!  Observations!




Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Gene Heskett
On Saturday 11 April 2020 19:14:22 John Hasler wrote:

> Joe writes:
> > And I live in the easternmost London Borough. So much for accuracy.
> > My ISP's national HQ is in Sheffield, but where the hell Washington
> > comes from, I don't know.
>
> GeoIP usually (though not always) puts me in Elk Mound because that's
> where the CenturyLink concentrator that I connect to is located.
>
> Before the exhaustion of the IPv4 space (and before classless routing)
> you could always tell what country and what ISP an IP was in by
> inspection.  ISPs tended to distribute IPs hierarchically and
> geographically internally, so it didn't take too much research to
> develop fairly reliable databases.  Classless routing plus the buying
> and selling of small blocks of IPs has destroyed that relationship.
> It's also exploding the routing tables.

And I have discovered a way to have a fixed IPv4 address. My router's mac 
which I have cloned into a second emergency router, is how they assign 
an ipv4 address to me, net result has been a fixed dns address, so I am 
now on my 3rd 5 year registration of a namecheap address with 
geneslinuxbox.net.  So you can click on the link in my sig, and get this 
machine for the last 11 or 12 years w/o me haveing to pay for the much 
higher dynamic address I really am.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread rhkramer
On Saturday, April 11, 2020 04:09:46 PM Curt wrote:
> On 2020-04-11, rhkra...@gmail.com  wrote:
> > On Saturday, April 11, 2020 11:48:00 AM Curt wrote:
> >> BTW, I fed my IP address to this site
> >> 
> >>  https://www.maxmind.com/en/locate-my-ip-address
> >> 
> >> and it nails my location approximately within a 50 meter radius (I
> >> entered the latitudinal and longitudinal coordinate output into Google's
> >> search engine, which brings up the spot in their Maps app).
> >> 
> >> I found this surprising (in my vast ignorance).
> > 
> > Do you have your own static IP, or do you use an IP from your ISP?
> 
> Yes.

Did I ask the wrong question?  I don't understand -- you have both?



Sound issues on ThinkPad X220T (Lenovo)

2020-04-11 Thread riveravaldez
Hi,

I would like to know what's the proper way to solve this. I'm on an
updated debian-testing installation (with pulseaudio installed and
working, but the problem seems to be previous, i.e., in ALSA, because
pavucontrol doesn't show the soundcard in its correspondent tab).

I can get audio from audacity and audacious as long as I choose
manually the proper soundcard in its options, but not from other
programs (e.g., firefox, mplayer, etc.), which I suppose use the
default soundcard.

Strangely, 'speaker-test -c2' doesn't produce a sound. But 'sudo
speaker-test -c2' works flawlessly. (The idea to check that came from
[1].)

I already tested (following [2]):

$ sudo alsactl init
Found hardware: "HDA-Intel" "Conexant CX20590"
"HDA:14f1506e,17aa21db,0013 HDA:80862805,80860101,0010"
"0x17aa" "0x21db"
Hardware is initialized using a generic method

But nothing changed after reboot. (Though, the CX20590 is the working
choice for audacious/audacity.)

I have this info:

$ cat /proc/asound/cards
 0 [PCH]: HDA-Intel - HDA Intel PCH
  HDA Intel PCH at 0xf252 irq 35

$ lspci -v
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
Family High Definition Audio Controller (rev 04)
Subsystem: Lenovo 6 Series/C200 Series Chipset Family High Definition
Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 35
Memory at f252 (64-bit, non-prefetchable) [size=16K]
Capabilities: 
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

Any other info I could provide?
What should I do?

BTW, JACK also fails to work, with these messages:

20:59:14.349 Reiniciar estadísticas.
20:59:14.356 Cambios en las conexiones ALSA.
Cannot connect to server socket err = No existe el fichero o el directorio
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
skipping unlock
20:59:31.365 JACK está iniciándose...
20:59:31.366 /usr/bin/jackd -v -dalsa -r48000 -p512 -n2 -Xseq -D
-Chw:PCH,0 -Phw:PCH,0
Cannot connect to server socket err = No existe el fichero o el directorio
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
skipping unlock
20:59:31.382 JACK se inició con PID=3144.
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: capture device hw:PCH,0
Jack: playback device hw:PCH,0
Jack: apparent rate = 48000
Jack: frames per period = 512
Jack: JackDriver::Open capture_driver_name = hw:PCH,0
Jack: JackDriver::Open playback_driver_name = hw:PCH,0
Jack: Check protocol client = 8 server = 8
Jack: JackEngine::ClientInternalOpen: name = system
Jack: JackEngine::AllocateRefNum ref = 0
Jack: JackLinuxFutex::Allocate name = jack_sem.1000_default_system val = 0
Jack: JackEngine::NotifyAddClient: name = system
Jack: JackGraphManager::SetBufferSize size = 512
Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackDriver::SetupDriverSync driver sem in flush mode
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:PCH,0|hw:PCH,0|512|2|48000|0|0|nomon|swmeter|-|32bit
ATTENTION: The playback device "hw:PCH,0" is already in use. Please
stop the application using it and run JACK again
Jack: JackDriver::Close
Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0
Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
Jack: JackEngine::ClientInternalClose ref = 0
Jack: JackEngine::ClientCloseAux ref = 0
Jack: JackGraphManager::RemoveAllPorts ref = 0
Released audio card Audio0
audio_reservation_finish
Jack: ~JackDriver
Cannot initialize driver
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: JackPosixThread::ThreadHandler : exit
JackServer::Open failed with -1
Jack: Succeeded in unlocking 82280346 byte memory area
Jack: JackShmMem::delete size = 0 index = 0
Jack: ~JackDriver
Jack: Succeeded in unlocking 1187 byte memory area
Jack: JackShmMem::delete size = 0 index = 1
Jack: Cleaning up shared memory
Jack: Cleaning up files
Jack: Unregistering server `default'
Failed to open server

Re: Improving performance: RAM or CPU speed

2020-04-11 Thread John Hasler
David Wright writes:
> What sort of upgrade? Just the regular security fixes (which seem to
> be quite frequent recently), or point-releases, or what?  And what
> parts of your profile do you lose? Bookmarks, cookies (like the ones
> you might want to keep for logins) or what?

Upstream releases (these evidently happen about every fifteen minutes
but I only upgrade every few months or so).

I don't lose anything.  I just have to go through a silly song and dance
to import my old profile (which took a bit of research to discover as I
have never made use of the multiple profiles feature).  It's not clear
to me why importing profiles when upgrading should require any user
input, especially when there is only one profile.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Improving performance: RAM or CPU speed

2020-04-11 Thread John Hasler
I wrote:
> What Firefox version?  I used to see frequent Firefox crashes
> (apparently memory leaks: my system is always up) but that stopped a few
> years ago (though the irritation of that has been replaced by the
> irritation of being required to create a new profile every time I
> upgrade Firefox).

deloptes writes:
> but you can also import and activate your old profile

That's what I'm talking about.  The process consists essentially of
creating a new profile and importing the old one into it.  A pointless
song and dance that Firefox could do automatically in the background.
At the very least they could offer a simple dialog along the lines of
"Which of these old profiles do you wish to import?"

There was no warning when they started doing this.  The first time it
hit I was told that I should import my old profile via my nonexistent
"Firefox account".  Not going to happen.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread John Hasler
Joe writes:
> And I live in the easternmost London Borough. So much for accuracy. My
> ISP's national HQ is in Sheffield, but where the hell Washington comes
> from, I don't know.

GeoIP usually (though not always) puts me in Elk Mound because that's
where the CenturyLink concentrator that I connect to is located.

Before the exhaustion of the IPv4 space (and before classless routing)
you could always tell what country and what ISP an IP was in by
inspection.  ISPs tended to distribute IPs hierarchically and
geographically internally, so it didn't take too much research to
develop fairly reliable databases.  Classless routing plus the buying
and selling of small blocks of IPs has destroyed that relationship.
It's also exploding the routing tables.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Command line tool to report free/used per partition

2020-04-11 Thread David Wright
On Sat 11 Apr 2020 at 11:53:33 (-0500), Richard Owlett wrote:
> On 04/11/2020 10:51 AM, David Wright wrote:
> > On Sat 11 Apr 2020 at 10:21:16 (-0500), Richard Owlett wrote:
> > > I've a laptop dedicated to comparing space used by different install
> > > options.
> > > 
> > > I need a command line tool report on spaced actually used on each
> > > partition. Gparted reports that by default, but I need a command line
> > > tool.
> > 
> > df for disk space free, du for disk usage. For the latter, you
> > probably want -b, -s and -x and root.
> 
> For my current needs, du is too fine grained.

If fine-grained means precision, use eg -BMB for MB.
If fine-grained means detailed, use -d 0.

# du -b -xd 1 /
49152   /tmp
4096/srv
4096/mnt
16384   /lost+found
446484870   /var
8523624668  /usr
116154651   /boot
8198/media
20937   /home
4096/opt
541017  /root
10712618/etc
9097629043  /
# du -BMB -xd 1 /
1MB /tmp
1MB /srv
1MB /mnt
1MB /lost+found
474MB   /var
9123MB  /usr
117MB   /boot
1MB /media
1MB /home
1MB /opt
1MB /root
25MB/etc
9739MB  /
# 

# du -b -xd 0 /
9097629043  /
# du -BMB -xd 0 /
9739MB  /
# 

> My current vision includes cataloging the number of items returned by
> "apt-mark showmanual" and space occupied by the installed system.
> 
> I have not selected all the metrics I wish to compare.

Cheers,
David.



Re: New RAM, does Debian has a tool to benchmark?

2020-04-11 Thread David Christensen

On 2020-04-11 02:45, Tixy wrote:

On Fri, 2020-04-10 at 20:01 -0700, David Christensen wrote:

My laptop is maxed out at 2 GB.  If I open more than a few browser
windows with heavy JavaScript, the computer slows to a snail's pace.


Would the amount of RAM affect browser JavaScript performance? Is that
due to JIT compiler results not being able to be cached or something
like that? I've just assumed slow performance it due to CPU throughput.


I use Xfce and have installed the CPU Graph and System Load Manager 
panel plug-ins.  I use Firefox and have installed the Privacy Badger, 
HTTS Everywhere, and NoScript plug-ins.  When things get bad, everything 
is pegged -- both CPU cores at 100%, memory usage at 100%, swap usage at 
100%.  It took about five minutes to open the context menu and close 
Firefox.



David



Re: Improving performance: RAM or CPU speed

2020-04-11 Thread 0...@caiway.net
On Sat, 11 Apr 2020 10:21:42 -0500
John Hasler  wrote:


> What Firefox version?  I used to see frequent Firefox crashes
> (apparently memory leaks: my system is always up) but that stopped a
> few years ago (though the irritation of that has been replaced by the
> irritation of being required to create a new profile every time I
> upgrade Firefox)

My firefox profile is never lost.
 
I copy my .mozilla directory and take that with me to another town.
On the PC there I replace my .mozilla directory and start firefox:

Result:
Everything is restored: history, bookmarks, settings, logins/passwords, 
even the open tabs.

When I return to my town I take with me my new up to date .mozilla
directory.

Firefox is a very convenient browser nowadays.

I do not take my entire home directory with me, for some reasons.

PS. I believe you have to use the same version of firefox on both
machines for this to work.



Re: Anti-malware for my personal Debian workstation?

2020-04-11 Thread Joe
On Sat, 11 Apr 2020 19:06:59 +0200 (CEST)
l0f...@tuta.io wrote:


> 
> Anti-malware on Windows is common/best practice. However, as we are
> discussing it here, things seem to be different with Linux. I don't
> really think Linux is intrinsically more secure than Windows nowadays
> (a vulnerability remains as such) but I really think Linux ecosystem
> is. 

My feeling is that running as root is considered an extreme no-no in
Linux (probably apart from the toy distros) and it is this that makes
Linux viruses non-viable. There just aren't enough infectable targets.
(Most) Linux users are horrified by the thought of surfing the Web with
root privileges, most Windows users are not even aware that their
computers can be run at one of two privilege levels (many more with the
business/professional versions).

Even today, with a new Windows 10 installation, the first user is given
root privileges by default, and no advice is offered about demoting the
user to unprivileged later.

About fifteen years ago, I used to help out on a Small Business Server
newsgroup (later web forum) and I was amazed at how sloppy many other
helpers (including MCSEs, which I wasn't) were as regards security.
What really didn't help was the need for each user of a workstation to
open the Office applications for the first time with root privileges,
otherwise some initialisations didn't happen. Lazy admins just gave all
the new users root privileges for a week or two to let them sort it out.
You can't win against that kind of mindset.

-- 
Joe



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Joe
On Sat, 11 Apr 2020 15:48:00 - (UTC)
Curt  wrote:

> On 2020-04-11, Anil F Duggirala  wrote:
> >> > 
> >> > Perhaps it simply looks up your IP address. Would I be right in
> >> > thinking that you are located in your DC?  
> >> So. I right now physically in the beautiful city of Cali, Colombia.
> >> And
> >> Gnome Maps is showing my location precise to about a 10 meter
> >> radius of
> >> my actual location. That is my concern. Location Services are Off
> >> and have never been turned on on this machine.
> >>   
> > I should not have said a 10 meter radius, thats not fair. I would
> > say, always, within a 50 meter radius. Which imo is pretty precise
> > for IP based location.
> >  
> 
> BTW, I fed my IP address to this site
> 
>  https://www.maxmind.com/en/locate-my-ip-address
> 
> and it nails my location approximately within a 50 meter radius (I
> entered the latitudinal and longitudinal coordinate output into
> Google's search engine, which brings up the spot in their Maps app).
> 
> I found this surprising (in my vast ignorance). 
> 

That one places me in South Norwood, which is at least in the correct
city.

-- 
Joe



Re: Improving performance: RAM or CPU speed

2020-04-11 Thread David Wright
On Sat 11 Apr 2020 at 10:21:42 (-0500), John Hasler wrote:
> rhkramer writes:
> > When I have as few as 10 to 15 tabs open on the Firefox on my Jessie
> > system, Firefox crashes (I mentioned in a previous post in this thread
> > having a thousand or more tabs "open" in Firefox on Wheezy with
> > minimal problems -- yes occasional crashes (maybe once every 2 to 4
> > weeks?), but I couldn't come near that on Jessie, and I expect the
> > same problem on Buster.
> 
> What Firefox version?  I used to see frequent Firefox crashes
> (apparently memory leaks: my system is always up) but that stopped a few
> years ago (though the irritation of that has been replaced by the
> irritation of being required to create a new profile every time I
> upgrade Firefox).

What sort of upgrade? Just the regular security fixes (which seem to
be quite frequent recently), or point-releases, or what?
And what parts of your profile do you lose? Bookmarks, cookies (like
the ones you might want to keep for logins) or what?

It's just that I've been using the same two profiles (two users) for
years. I've copied them from machine to machine as my principal
workstation has changed, and I copy them to other machines so that
I don't have to find lots of websites I use fairly regularly. (They
gradually diverge, of course, from the canonical copy on my principal
workstation.)

Some of the files in the profiles are pretty ancient and obviously
were converted into other formats but not cleaned up. I mean, what
do these do?

  1592146 Jul  8  2013 urlclassifier.pset
 54059008 Jul  8  2013 urlclassifier3.sqlite
 7099 Feb 25  2013 sessionstore-2.js
   101823 Jan 14  2013 xpti.dat
   151170 Jan 14  2013 compreg.dat
 1024 May  7  2012 old-pluginreg.dat
29034 Apr 18  2012 sessionstore-1.js
16384 Aug 22  2011 secmod.db

Cheers,
David.



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Curt
On 2020-04-11, rhkra...@gmail.com  wrote:
> On Saturday, April 11, 2020 11:48:00 AM Curt wrote:
>> BTW, I fed my IP address to this site
>> 
>>  https://www.maxmind.com/en/locate-my-ip-address
>> 
>> and it nails my location approximately within a 50 meter radius (I
>> entered the latitudinal and longitudinal coordinate output into Google's
>> search engine, which brings up the spot in their Maps app).
>> 
>> I found this surprising (in my vast ignorance).
>
> Do you have your own static IP, or do you use an IP from your ISP?
>

Yes.





Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card

2020-04-11 Thread Felix Miata
Is firmware-amd-graphics installed?
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread rhkramer
On Saturday, April 11, 2020 11:48:00 AM Curt wrote:
> BTW, I fed my IP address to this site
> 
>  https://www.maxmind.com/en/locate-my-ip-address
> 
> and it nails my location approximately within a 50 meter radius (I
> entered the latitudinal and longitudinal coordinate output into Google's
> search engine, which brings up the spot in their Maps app).
> 
> I found this surprising (in my vast ignorance).

Do you have your own static IP, or do you use an IP from your ISP?



Re: Improving performance: RAM or CPU speed (was: Re: New RAM, does Debian has a tool to benchmark?)

2020-04-11 Thread deloptes
rhkra...@gmail.com wrote:

> RAM is still (to me) the most cost effective upgrade to an existing
> system.

yes this is true, but the bottle neck could be the cache or the disk IO. If
you have slow disk, RAM can be advantage. If it is the cache, may be it is
time to upgrade the system (cpu and/or mainboard).

For me personally the most impressive boost was the SSD. I do not have any
CPU or RAM hungry applications - except when compiling but this is done on
a server, so the desktop is not affected. 8GB RAM is sufficient for the
desktop. If I put another 4 or 8 it will consume them with time as well.
This is what modern Linux kernel does. It will free memory whenever it
needs. But I would not have big addvantage.
On the PC I call "the server" I started with 16, but because of running
virtualizations I upgraded to 32.







Re: Improving performance: RAM or CPU speed

2020-04-11 Thread deloptes
John Hasler wrote:

> What Firefox version?  I used to see frequent Firefox crashes
> (apparently memory leaks: my system is always up) but that stopped a few
> years ago (though the irritation of that has been replaced by the
> irritation of being required to create a new profile every time I
> upgrade Firefox).

but you can also import and activate your old profile

https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles





Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card

2020-04-11 Thread Martin
Thank you Jörg.
So I followed the instructions here as AMD GPU from what I read should
support my Radeon 520 Mobile
https://wiki.debian.org/AMDGPUDriverOnStretchAndBuster2

But I have problems with the installation of both versions 19.3 and
19.5. My kernel is 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13)
x86_64 GNU/Linux
Since there is no linux-headers-5.4.0-4-amd64 package I assume I need
linux-headers-5.4.0-4-common but installation still fails.

The make.log says:
/var/lib/dkms/amdgpu/19.30-934563/build/include/kcl/kcl_drm.h:6:10:
fatal error: drm/drmP.h: Datei oder Verzeichnis nicht gefunden / File
or directory not found

libdrm-dev is installed.
I'm confused why it says "Building initial module for 5.5.0-1-amd64"
while I don't have that kernel installed.

sudo dpkg -i amdgpu-dkms_19.30-934563_all.deb
(Lese Datenbank ... 176749 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von amdgpu-dkms_19.30-934563_all.deb ...

--
Deleting module version: 19.30-934563
completely from the DKMS tree.
--
Done.
Entpacken von amdgpu-dkms (19.30-934563) über (19.30-934563) ...
amdgpu-dkms (19.30-934563) wird eingerichtet ...
Loading new amdgpu-19.30-934563 DKMS files...
Building for 5.4.0-4-amd64 5.5.0-1-amd64
Building for architecture amd64
Module build for kernel 5.4.0-4-amd64 was skipped since the
kernel headers for this kernel does not seem to be installed.
Building initial module for 5.5.0-1-amd64
Error! Bad return status for module build on kernel: 5.5.0-1-amd64 (amd64)
Consult /var/lib/dkms/amdgpu/19.30-934563/build/make.log for more information.
dpkg: Fehler beim Bearbeiten des Paketes amdgpu-dkms (--install):
 »installiertes amdgpu-dkms-Skript des Paketes
post-installation«-Unterprozess gab den Fehlerwert 10 zurück
Fehler traten auf beim Bearbeiten von:
 amdgpu-dkms


I'm not sure why xrandr command you refer to specifically. This one?
xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x46 cap: 0xb, Source Output, Sink Output, Sink
Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel

Regards,
Martin

On Sat, 11 Apr 2020 at 13:48, Jörg-Volker Peetz  wrote:
>
> Try it without any /etc/X11/xorg.conf file and read the Debian Stretch part in
> the Debian wiki. What's the output of the "xrandr" commands listed in the 
> wiki?
>
> Regards,
> Jörg.
>



Re: Command line tool to report free/used per partition

2020-04-11 Thread Felix Miata
Richard Owlett composed on 2020-04-11 10:21 (UTC-0500):

> I need a command line tool

apropos
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Joe
On Sat, 11 Apr 2020 15:32:31 - (UTC)
Curt  wrote:

> On 2020-04-11,   wrote:
> >
> > On Sat, Apr 11, 2020 at 09:49:50AM -0500, Anil F Duggirala wrote:
> >
> > [...]
> >  
> >> I should not have said a 10 meter radius, thats not fair. I would
> >> say, always, within a 50 meter radius. Which imo is pretty precise
> >> for IP based location.  
> >
> > Just for kicks, I entered my external IP address into
> > https://geoip.com/ and it misses me by roughly 3km.  
> 
> I wanted to try this myself but got a 
> 
>  403 Permission Denied
>  You do not have permission for this request 
> 
> 


It's a bit flaky. Here is whatismyip.com:

City: Sheffield
State: England

Sheffield is a city well into the North of England.

Here's geoip.com:

United Kingdom
ENG
England
Washington

50.9049
-0.40649

This isn't the original Washington, which is in East Anglia, this is a
tiny village near the south coast of England.

And I live in the easternmost London Borough. So much for accuracy. My
ISP's national HQ is in Sheffield, but where the hell Washington comes
from, I don't know.

-- 
Joe








Re: Command line tool to report free/used per partition

2020-04-11 Thread Richard Owlett

On 04/11/2020 11:49 AM, David Wright wrote:

On Sat 11 Apr 2020 at 11:07:40 (-0500), Richard Owlett wrote:

On 04/11/2020 10:22 AM, to...@tuxteam.de wrote:

On Sat, Apr 11, 2020 at 10:21:16AM -0500, Richard Owlett wrote:

I've a laptop dedicated to comparing space used by different install
options.

I need a command line tool report on spaced actually used on each
partition. Gparted reports that by default, but I need a command
line tool.


df


Thank you.
Gparted had led me to a unwarranted assumption of expecting
information about both mounted and unmounted partitions.


I think that was explained to you in
https://lists.debian.org/debian-user/2019/01/msg01112.html
when you last revisited this topic a year ago.


Debian keeps requiring me to think ;}


That whole thread might be worth reviewing.


Yepp. I recently copied it to it's own sub-folder in my email directory.



I perhaps misunderstood that by your having dedicated a laptop to this
project, you might be requiring the sort of precision that only du
(on a mounted filesystem) could give you.


The laptop is dedicated to the project to prevent collateral damage from 
experiments gone awry. It doesn't even have internet access.




Cheers,
David.








Re: Anti-malware for my personal Debian workstation?

2020-04-11 Thread Thomas Schmitt
Hi,

l0f...@tuta.io wrote:
> I don't really
> think Linux is intrinsically more secure than Windows nowadays (a
> vulnerability remains as such) but I really think Linux ecosystem is.

This might be a merciful misperception. To my theory, free virus producers
are just much better programmers than those of MS-Windows malware.

  "When you do things right, people won’t be sure you’ve done anything
   at all." - Futurama


Have a nice day :)

Thomas



Re: Anti-malware for my personal Debian workstation?

2020-04-11 Thread l0f4r0
Hi,

Thank you everybody for your answers.

I understand most of you respondents don't use anti-malware at all. A good 
hygiene or other kind of solutions like system hardening (AppArmor, SELinux) 
are way more efficient.

NB : I've been told SELinux is so complex, people eventually let it drop... Do 
you all succeed in configuring & using it? ;)

Do you follow any guide or tool to help you in hardening your Linux distro?
I've used Lynis for the audit part, it's nicely done. What do you think about 
it?

Anti-malware on Windows is common/best practice. However, as we are discussing 
it here, things seem to be different with Linux. I don't really think Linux is 
intrinsically more secure than Windows nowadays (a vulnerability remains as 
such) but I really think Linux ecosystem is. Here are some reasons that could 
explain that according to me:
* Most softwares are downloaded through official preconfigured repositories. 
Users are less prone to download malware on suspicions websites
* Updates are easier as well because tracked/centralized through repositories 
themselves for the most part. On Windows you need to check Windows Update + 
Windows Store + each application individually
* Linux users are globally more tech-savvy so they take care more about their 
systems
* Open source is more common on Linux (community-based) than Windows 
(money-based) so theoretically anyone competent enough could view the source by 
oneself and spot a malovelent behavior (/!\ in practice this is not so easy, 
see what happened with OpenSSL / HeartBleed)
* Linux desktops are less exposed : it's more lucrative for black hats to 
target Windows users with malware (see desktop marketshares). However this is 
only half of an argument because Linux server marketshares are quite the 
opposite!
* Until some years ago, I would have added that Linux is more secured by design 
(least privilege, compartmentalization) than Windows but I think this is not so 
true now, Windows has cought up apparently...
=> What is your opinion?

Thank you & Best regards,
l0f4r0



Re: Command line tool to report free/used per partition

2020-04-11 Thread Richard Owlett

On 04/11/2020 10:51 AM, David Wright wrote:

On Sat 11 Apr 2020 at 10:21:16 (-0500), Richard Owlett wrote:

I've a laptop dedicated to comparing space used by different install
options.

I need a command line tool report on spaced actually used on each
partition. Gparted reports that by default, but I need a command line
tool.


df for disk space free, du for disk usage. For the latter, you
probably want -b, -s and -x and root.

Cheers,
David.


For my current needs, du is too fine grained.
My current vision includes cataloging the number of items returned by 
"apt-mark showmanual" and space occupied by the installed system.


I have not selected all the metrics I wish to compare.

Thank you





Re: Command line tool to report free/used per partition

2020-04-11 Thread David Wright
On Sat 11 Apr 2020 at 11:07:40 (-0500), Richard Owlett wrote:
> On 04/11/2020 10:22 AM, to...@tuxteam.de wrote:
> > On Sat, Apr 11, 2020 at 10:21:16AM -0500, Richard Owlett wrote:
> > > I've a laptop dedicated to comparing space used by different install
> > > options.
> > > 
> > > I need a command line tool report on spaced actually used on each
> > > partition. Gparted reports that by default, but I need a command
> > > line tool.
> > 
> > df
> 
> Thank you.
> Gparted had led me to a unwarranted assumption of expecting
> information about both mounted and unmounted partitions.

I think that was explained to you in
https://lists.debian.org/debian-user/2019/01/msg01112.html
when you last revisited this topic a year ago.

> Debian keeps requiring me to think ;}

That whole thread might be worth reviewing.

I perhaps misunderstood that by your having dedicated a laptop to this
project, you might be requiring the sort of precision that only du
(on a mounted filesystem) could give you.

Cheers,
David.



Re: Command line tool to report free/used per partition

2020-04-11 Thread tomas
On Sat, Apr 11, 2020 at 11:07:40AM -0500, Richard Owlett wrote:
> On 04/11/2020 10:22 AM, to...@tuxteam.de wrote:
> >On Sat, Apr 11, 2020 at 10:21:16AM -0500, Richard Owlett wrote:
> >>I've a laptop dedicated to comparing space used by different install
> >>options.
> >>
> >>I need a command line tool report on spaced actually used on each
> >>partition. Gparted reports that by default, but I need a command
> >>line tool.

Less distant to gparted would be sfdisk. It'll let you access
disk partition tables. But it's not automatic either. And then
there's blkid, which will make educated guesses at which block
devices are out there (results might depend on you being root,
some cache states and perhaps moon phase ;-)

Cheers
-- t


signature.asc
Description: Digital signature


Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Curt
On 2020-04-11, Brad Rogers  wrote:
>
> On Sat, 11 Apr 2020 15:48:00 - (UTC)
> Curt  wrote:
>
> Hello Curt,
>
>>BTW, I fed my IP address to this site
>> https://www.maxmind.com/en/locate-my-ip-address
>
> That puts my IP in West Sussex.  Still a long way off from where I am.
> Based on where my ISP connection is located, I think.
>

I guess it depends, then. On what, exactly, I dunno. 



Re: Command line tool to report free/used per partition

2020-04-11 Thread Richard Owlett

On 04/11/2020 10:22 AM, to...@tuxteam.de wrote:

On Sat, Apr 11, 2020 at 10:21:16AM -0500, Richard Owlett wrote:

I've a laptop dedicated to comparing space used by different install
options.

I need a command line tool report on spaced actually used on each
partition. Gparted reports that by default, but I need a command
line tool.


df

Cheers
-- t



Thank you.
Gparted had led me to a unwarranted assumption of expecting information 
about both mounted and unmounted partitions.

Debian keeps requiring me to think ;}





Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Curt
On 2020-04-11,   wrote:
>
> Note that I'm not recommending that site. It was just one
> hit in the search engine.

I found another outfit that nailed me within a 50 meter radius (if that
demonstrates anything).


 https://www.maxmind.com/en/geoip-demo

I'm not recommending these people either, BTW.

> Cheers


-- 




Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Brad Rogers
On Sat, 11 Apr 2020 15:32:31 - (UTC)
Curt  wrote:

Hello Curt,

>I wanted to try this myself but got a 
>
> 403 Permission Denied
> You do not have permission for this request 

Worked for me.

Apparently, I'm on top of Nelson's Column (London, England).  In
reality, I'm about 160 miles west(ish) of there.  I surmise the location
is based purely on the postal town of my ISP.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
If you ain't sticking your knives in me, you will be eventually
Monsoon - Robbie Williams


pgprWEQJ7VWuj.pgp
Description: OpenPGP digital signature


Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Brad Rogers
On Sat, 11 Apr 2020 15:48:00 - (UTC)
Curt  wrote:

Hello Curt,

>BTW, I fed my IP address to this site
> https://www.maxmind.com/en/locate-my-ip-address

That puts my IP in West Sussex.  Still a long way off from where I am.
Based on where my ISP connection is located, I think.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Makes you wonder how the other half die
Devil Inside - INXS


pgpcbGHbfP2m3.pgp
Description: OpenPGP digital signature


Re: Command line tool to report free/used per partition

2020-04-11 Thread David Wright
On Sat 11 Apr 2020 at 10:21:16 (-0500), Richard Owlett wrote:
> I've a laptop dedicated to comparing space used by different install
> options.
> 
> I need a command line tool report on spaced actually used on each
> partition. Gparted reports that by default, but I need a command line
> tool.

df for disk space free, du for disk usage. For the latter, you
probably want -b, -s and -x and root.

Cheers,
David.



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread tomas
On Sat, Apr 11, 2020 at 03:32:31PM -, Curt wrote:
> On 2020-04-11,   wrote:
> >
> > On Sat, Apr 11, 2020 at 09:49:50AM -0500, Anil F Duggirala wrote:
> >
> > [...]
> >
> >> I should not have said a 10 meter radius, thats not fair. I would say,
> >> always, within a 50 meter radius. Which imo is pretty precise for IP
> >> based location.
> >
> > Just for kicks, I entered my external IP address into https://geoip.com/
> > and it misses me by roughly 3km.
> 
> I wanted to try this myself but got a 
> 
>  403 Permission Denied
>  You do not have permission for this request 

Note that I'm not recommending that site. It was just one
hit in the search engine.

Cheers
-- t


signature.asc
Description: Digital signature


Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Curt
On 2020-04-11, Anil F Duggirala  wrote:
>> > 
>> > Perhaps it simply looks up your IP address. Would I be right in
>> > thinking that you are located in your DC?
>> So. I right now physically in the beautiful city of Cali, Colombia.
>> And
>> Gnome Maps is showing my location precise to about a 10 meter radius
>> of
>> my actual location. That is my concern. Location Services are Off and
>> have never been turned on on this machine.
>> 
> I should not have said a 10 meter radius, thats not fair. I would say,
> always, within a 50 meter radius. Which imo is pretty precise for IP
> based location.
>

BTW, I fed my IP address to this site

 https://www.maxmind.com/en/locate-my-ip-address

and it nails my location approximately within a 50 meter radius (I
entered the latitudinal and longitudinal coordinate output into Google's
search engine, which brings up the spot in their Maps app).

I found this surprising (in my vast ignorance). 



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Curt
On 2020-04-11,   wrote:
>
> On Sat, Apr 11, 2020 at 09:49:50AM -0500, Anil F Duggirala wrote:
>
> [...]
>
>> I should not have said a 10 meter radius, thats not fair. I would say,
>> always, within a 50 meter radius. Which imo is pretty precise for IP
>> based location.
>
> Just for kicks, I entered my external IP address into https://geoip.com/
> and it misses me by roughly 3km.

I wanted to try this myself but got a 

 403 Permission Denied
 You do not have permission for this request 


> Cheers
> -- t
>




Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Curt
On 2020-04-11, Anil F Duggirala  wrote:
>
> This is precisely my issue. I set Location Services to Off in Gnome
> settings. And then a Gnome app, like Gnome Maps, provides me with my
> location. If you can advise me on how to report this to the Gnome

At what level of granularity (country/city/neighborhood/street)? 

I don't know how precise a geolocation by IP address could be where
you're residing in Columbia, given the ISP you use, and maybe other
factors upon which that precision depends.

Sorry for the unwarranted assumption this was the same machine as your
Night Light machine!

> people or to the relevant Debian team, I would gladly do so.
> thank you,
>
>


-- 




Re: Command line tool to report free/used per partition

2020-04-11 Thread tomas
On Sat, Apr 11, 2020 at 10:21:16AM -0500, Richard Owlett wrote:
> I've a laptop dedicated to comparing space used by different install
> options.
> 
> I need a command line tool report on spaced actually used on each
> partition. Gparted reports that by default, but I need a command
> line tool.

df

Cheers
-- t


signature.asc
Description: Digital signature


Re: Improving performance: RAM or CPU speed

2020-04-11 Thread John Hasler
rhkramer writes:
> When I have as few as 10 to 15 tabs open on the Firefox on my Jessie
> system, Firefox crashes (I mentioned in a previous post in this thread
> having a thousand or more tabs "open" in Firefox on Wheezy with
> minimal problems -- yes occasional crashes (maybe once every 2 to 4
> weeks?), but I couldn't come near that on Jessie, and I expect the
> same problem on Buster.

What Firefox version?  I used to see frequent Firefox crashes
(apparently memory leaks: my system is always up) but that stopped a few
years ago (though the irritation of that has been replaced by the
irritation of being required to create a new profile every time I
upgrade Firefox).
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Command line tool to report free/used per partition

2020-04-11 Thread Richard Owlett
I've a laptop dedicated to comparing space used by different install 
options.


I need a command line tool report on spaced actually used on each 
partition. Gparted reports that by default, but I need a command line tool.


TIA



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Reco
Hi.

On Sat, Apr 11, 2020 at 09:28:51AM -0500, Anil F Duggirala wrote:
> On Fri, 2020-04-10 at 17:51 +0300, Reco wrote:
> > Hi.
> > 
> > On Fri, Apr 10, 2020 at 08:24:41AM -0500, Anil Felipe Duggirala
> > wrote:
> > > On Thu, Apr 9, 2020, at 11:16 AM, John Hasler wrote:
> > > > It's just looking up your IP.  The method isn't reliable (it
> > > > usually
> > > > puts me on the other side of the state) but it works more often
> > > > than
> > > > not.
> > > 
> > > I don't believe this is the case.
> > 
> > The software behaviour does not depend on one's beliefs.
> > 
> > $ apt show gnome-maps | grep Dep
> > Depends: ... libgeocode-glib0 (>= 3.16.2) ...
> > 
> > $ apt-show libgeocode-glib0 | grep ^Desc
> > Description: geocoding and reverse geocoding GLib library using
> > Nominatim
> > 
> > And the source of geocode-glib shows the actual server they're using:
> > 
> > GeocodeNominatim *
> > geocode_nominatim_get_gnome (void)
> > {
> > GeocodeNominatim *backend;
> > 
> > G_LOCK (backend_nominatim_gnome_lock);
> > backend = g_weak_ref_get (&backend_nominatim_gnome);
> > if (backend == NULL) {
> > backend = geocode_nominatim_new ("https://nominatim.gnome.org
> > ",
> >  "zeesha...@gnome.org");
> > g_weak_ref_set (&backend_nominatim_gnome, backend);
> > }
> > G_UNLOCK (backend_nominatim_gnome_lock);
> > 
> > return backend;
> > }
>
> Could you tell me if this code, by connecting to this service is
> getting my location simply by using my IP address?

Answering "yes" here would be a gross oversimplification.
Answering "no" here would be a deviation from the truth.

I'd say it this way:

1) Your instance of GNOME Maps connects to nominatim.gnome.org by using
https. Your local IP address does not matter here, as long as the
connection gets established.

2) Due to the way your home network is made (it's called NAT), nobody
sees your computer IP but your router (or the router provided to you by
your ISP).

3) What's nominatim.gnome.org is seeing is the IP that's used by your
ISP for outbound connections on your behalf. It may be the same IP
that's your router is using for the WAN port, it may be different.

4) If you're interested what is your outbound ip - I suggest you to use
some Internet service like https://www.whatismyip.org/ . 

IP from pt 3 is enough to pinpoint your location with the country
precision at worst, city precision at best, and by the very definition
of what's happening here this information is available to you (via GNOME
Maps) and to the nominatim.gnome.org.

I do not GNOME Maps so I cannot comment on if it's possible to disable
this feature without rebuilding GNOME Maps from the source.


> > > Is there any way I could check to see exactly where Gnome Maps is
> > > getting the location from?
> > 
> > Being the GNOME software? The source is the only way to get sure.
> > I'd check tcp:443 connections to 8.43.85.23.
> > 
> There is a connection to that IP address and it starts when I open
> Gnome Maps (I think it connects to a different port though, Im a newbie
> though)

It's so called "ephemeral" port that's used on your side for the TCP
connection, and it's the usual thing.

What's important here is that confirms that GNOME Maps is using
aforementioned library for the purposes of establishing your location
regardless of the GNOME privacy setting.

Personally I see it as a privacy violation, but someone may see such
(mis)feature as a crucial function of GNOME Maps. In any case, a bug
report with the severity of "minor" can not do any harm, so I suggest
you to install "reportbug-gtk" package and report your findings in a
"gnome-maps" package to Debian's bugtracker.

Reco

[1] https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=gnome-maps



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread John Hasler
Anil writes:
> Location Services are set to Off

This may mean that requests for location service by a browser or a script
started by a browser will be declined, the intent being to prevent your
location from being given out to Web sites.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread tomas
On Sat, Apr 11, 2020 at 09:49:50AM -0500, Anil F Duggirala wrote:

[...]

> I should not have said a 10 meter radius, thats not fair. I would say,
> always, within a 50 meter radius. Which imo is pretty precise for IP
> based location.

Just for kicks, I entered my external IP address into https://geoip.com/
and it misses me by roughly 3km.

Cheers
-- t


signature.asc
Description: Digital signature


Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Anil F Duggirala
> > 
> > Perhaps it simply looks up your IP address. Would I be right in
> > thinking that you are located in your DC?
> So. I right now physically in the beautiful city of Cali, Colombia.
> And
> Gnome Maps is showing my location precise to about a 10 meter radius
> of
> my actual location. That is my concern. Location Services are Off and
> have never been turned on on this machine.
> 
I should not have said a 10 meter radius, thats not fair. I would say,
always, within a 50 meter radius. Which imo is pretty precise for IP
based location.




Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Anil F Duggirala
On Sat, 2020-04-11 at 10:33 +0300, Andrei POPESCU wrote:
> On Vi, 10 apr 20, 08:24:41, Anil Felipe Duggirala wrote:
> > I don't know if somehow ISPs here have a more detailed (precise 
> > location) database based on IP, or if that is possible at all.
> 
> As far as I can tell it depends a lot on the ISP.
> 
> My current one apparently maintains its database down to city
> level... 
> and then allocates those IPs dynamically all over the country :) 
> 
> My previous ISP was allocating pseudo-static IPs with location as 
> accurate as city area.
> 
Regarding the precision of location. I do believe it might depend on
the ISPs and the country those ISPs are in (there must be laws
regarding this). I am saying that in Colombia, the ISPs have a very
detailed location map based on IP. I am a newbie and do not know a lot
about this.
thank you,



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread tomas
On Sat, Apr 11, 2020 at 09:37:34AM -0500, Anil F Duggirala wrote:
> On Fri, 2020-04-10 at 17:51 +0200, to...@tuxteam.de wrote:

[...]

> > Perhaps just a misunderstanding, and Gnome simply calls
> > "geolocation" [...]
> > I just don't know.

> Just fyi. I am on a machine with a newly installed Debian. No settings
> have been altered (including Location Services :Off). And I am
> connected to my apartments wifi and have not connected to any other
> network.

I believe you :)

I wasn't implying anything -- I was just musing about how complexity
tends to kill understandability. It's somewhat disheartening how we
do and promote free software to have users in control, and then, by
just piling gadget upon gadget we make that goal more difficult.

I have no idea on how to solve that.

Cheers
-- tomás


signature.asc
Description: Digital signature


Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Anil F Duggirala
On Thu, 2020-04-09 at 09:48 -0500, David Wright wrote:
> On Thu 09 Apr 2020 at 07:49:46 (-0500), Anil F Duggirala wrote:
> > I am running Gnome 3 in Debian Buster. I am wondering why, even
> > though
> > my Location Services are set to Off (and has always been set to
> > Off),
> > when  I enter the Gnome Maps application, it determines and shows
> > my
> > location on the map.
> 
> Perhaps it simply looks up your IP address. Would I be right in
> thinking that you are located in your DC?
So. I right now physically in the beautiful city of Cali, Colombia. And
Gnome Maps is showing my location precise to about a 10 meter radius of
my actual location. That is my concern. Location Services are Off and
have never been turned on on this machine.



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Anil F Duggirala
On Fri, 2020-04-10 at 17:51 +0200, to...@tuxteam.de wrote:
> On Fri, Apr 10, 2020 at 03:35:01PM -, Curt wrote:
> > On 2020-04-10, Reco  wrote:
> > > On Fri, Apr 10, 2020 at 03:14:33PM -, Curt wrote:
> > > > On 2020-04-10, Reco  wrote:
> > > > > The software behaviour does not depend on one's beliefs.
> > > > 
> > > > It does and can quite often depend on *user configuration*,
> > > > though, and the OP I
> > > > believe has informed us he has *turned off* geolocation
> > > > services.
> > > 
> > > And GNOME Maps has this neat library as a dependency that can use
> > > geolocation regardless of the said setting.
> > 
> > So you're saying that Gnome Maps *uses* the geolocation library
> > even in
> > the case of a user who has explicitly turned that "feature" off in
> > his
> > privacy settings, in blatant disregard of those settings?
> > 
> > That is really an egregious bug, then, and should be reported. 
> 
> Perhaps just a misunderstanding, and Gnome simply calls
> "geolocation" to call into whatever API thingmajig your
> smartphone offers to query the GPS+plus+cell-tower position
> determination Rube Goldbergism? Falling back to Ip based
> guessing when that fails (or is disallowed)?
> 
> I just don't know.
> 
> Cheers
> -- tomás

Just fyi. I am on a machine with a newly installed Debian. No settings
have been altered (including Location Services :Off). And I am
connected to my apartments wifi and have not connected to any other
network.





Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Anil F Duggirala
On Fri, 2020-04-10 at 15:35 +, Curt wrote:
> On 2020-04-10, Reco  wrote:
> > On Fri, Apr 10, 2020 at 03:14:33PM -, Curt wrote:
> > > On 2020-04-10, Reco  wrote:
> > > > The software behaviour does not depend on one's beliefs.
> > > 
> > > It does and can quite often depend on *user configuration*,
> > > though, and the OP I
> > > believe has informed us he has *turned off* geolocation services.
> > 
> > And GNOME Maps has this neat library as a dependency that can use
> > geolocation regardless of the said setting.
> 
> So you're saying that Gnome Maps *uses* the geolocation library even
> in
> the case of a user who has explicitly turned that "feature" off in
> his
> privacy settings, in blatant disregard of those settings?
> 
> That is really an egregious bug, then, and should be reported. 
> 

This is precisely my issue. I set Location Services to Off in Gnome
settings. And then a Gnome app, like Gnome Maps, provides me with my
location. If you can advise me on how to report this to the Gnome
people or to the relevant Debian team, I would gladly do so.
thank you,



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Anil F Duggirala
On Fri, 2020-04-10 at 14:27 +, Curt wrote:
> The paradox or enigma here might be the fact that the OP complained
> in
> this forum that his Night Light feature had gotten his location
> rather
> wrong by what we can only assume was the same, IP-based method
> (before he
> presumably manually fed the app his exact longitudinal and
> latitudinal
> coordinates). Which leads you to wonder whether Night Light might
> be sharing that user-provided data with Maps.

No Curt. This is not the case, this is a different machine, with a new
Debian install. No location data has been provided by me and Location
Services have been turned off all of the time.



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Anil F Duggirala
On Fri, 2020-04-10 at 17:51 +0300, Reco wrote:
>   Hi.
> 
> On Fri, Apr 10, 2020 at 08:24:41AM -0500, Anil Felipe Duggirala
> wrote:
> > On Thu, Apr 9, 2020, at 11:16 AM, John Hasler wrote:
> > > It's just looking up your IP.  The method isn't reliable (it
> > > usually
> > > puts me on the other side of the state) but it works more often
> > > than
> > > not.
> > 
> > I don't believe this is the case.
> 
> The software behaviour does not depend on one's beliefs.
> 
> $ apt show gnome-maps | grep Dep
> Depends: ... libgeocode-glib0 (>= 3.16.2) ...
> 
> $ apt-show libgeocode-glib0 | grep ^Desc
> Description: geocoding and reverse geocoding GLib library using
> Nominatim
> 
> And the source of geocode-glib shows the actual server they're using:
> 
> GeocodeNominatim *
> geocode_nominatim_get_gnome (void)
> {
> GeocodeNominatim *backend;
> 
> G_LOCK (backend_nominatim_gnome_lock);
> backend = g_weak_ref_get (&backend_nominatim_gnome);
> if (backend == NULL) {
> backend = geocode_nominatim_new ("https://nominatim.gnome.org
> ",
>  "zeesha...@gnome.org");
> g_weak_ref_set (&backend_nominatim_gnome, backend);
> }
> G_UNLOCK (backend_nominatim_gnome_lock);
> 
> return backend;
> }
Could you tell me if this code, by connecting to this service is
getting my location simply by using my IP address?

> > Is there any way I could check to see exactly where Gnome Maps is
> > getting the location from?
> 
> Being the GNOME software? The source is the only way to get sure.
> I'd check tcp:443 connections to 8.43.85.23.
> 
There is a connection to that IP address and it starts when I open
Gnome Maps (I think it connects to a different port though, Im a newbie
though)




Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Anil F Duggirala
On Fri, 2020-04-10 at 15:47 +0200, to...@tuxteam.de wrote:
> On Fri, Apr 10, 2020 at 08:24:41AM -0500, Anil Felipe Duggirala
> wrote:
> > On Thu, Apr 9, 2020, at 11:16 AM, John Hasler wrote:
> > > It's just looking up your IP.  The method isn't reliable (it
> > > usually
> > > puts me on the other side of the state) but it works more often
> > > than
> > > not.
> > > 
> > I don't believe this is the case.
> 
> You are, of course, entitled to your beliefs. The source is
> over there:
> 
>   https://gitlab.gnome.org/GNOME/gnome-maps/
> 
> I might have had a look, but browsing the repo requires a
> javascript-enabled browser, which I refuse to do unless I'm
> forced to. And at the moment I can't be bothered cloning the
> whole repo to convince you :-)
> 
> At this point, your beliefs and those of two-three other
> people just differ ;-D
> 
> Cheers
> -- t


I actually now believe you are all right. It is getting my location
based on my IP, I believe this because I don't know of any other easy
way of getting my location. I am on a laptop that does not have a gps
device, nor is it connected to some kind of phone network.
My question remains, why is a Gnome app not respecting the settings I
am inputing in Gnome? (Location Services: Off)
thank you,



Re: Improving performance: RAM or CPU speed (was: Re: New RAM, does Debian has a tool to benchmark?)

2020-04-11 Thread rhkramer
On Saturday, April 11, 2020 09:39:06 AM deloptes wrote:
> rhkra...@gmail.com wrote:
> > I think my bottleneck these days is again RAM

> Look at the L1 L2 L3 cache. Many people underestimate this
> 
> here are two examples from different pcs
> 
> # lscpu | grep cache
> L1d cache:   16K
> L1i cache:   64K
> L2 cache:2048K
> L3 cache:8192K
> 
> 
> # lscpu | grep cache
> L1d cache:   32K
> L1i cache:   32K
> L2 cache:256K
> L3 cache:6144K

Thanks for the reply -- interesting.  

Two of my machines (Wheezy and Buster) don't have L3 cache, my Jessie machine 
does.

I see varying definitions / explanations of L3 cache -- some say it is on the 
CPU die, and some say it is on the motherboard (but, in either case, one level 
further away from the CPU(s) (mcow).)

And, also in either case, not easy to upgrade short of replacing the CPU or 
motherboard.

RAM is still (to me) the most cost effective upgrade to an existing system.

(I guess I could mention that I don't play games, so video performance is not 
a key for me (and, when I do / did play. games, video performance was not a 
key -- games like FreeCiv and such).

I am considering a new machine at this time, a laptop with a good docking 
system (I'm looking for one with a USB-C port) so that I can easily undock it 
and take it to meetings, but use it at home for development with GCC 8 (or 
high 7) -- I want to do some work on a program (scintilla) that now uses 
features of C++ versions 11, 14, and 17.  (And I was thinking of taking the 
laptop to meetings where I might get help, but who knows when any such 
meetings will take place again.)

(I actually bought a machine (mail order that advertised a USB-C port but have 
to return it as it doesn't have a USB-C port.)

I guess I should say that I don't have objectional performance with any of the 
machines I have -- well, maybe I should take that back -- I keep the Wheezy 
system as my daily driver for several reasons -- including laziness, but also 
it seems better performance with kmail and firefox.

When I have as few as 10 to 15 tabs open on the Firefox on my Jessie system, 
Firefox crashes (I mentioned in a previous post in this thread having a 
thousand or more tabs "open" in Firefox on Wheezy with minimal problems -- yes 
occasional crashes (maybe once every 2 to 4 weeks?), but I couldn't come near 
that on Jessie, and I expect the same problem on Buster.

I guess that is all related to Wirth's law (and variations, Gates', ...).



Re: Improving performance: RAM or CPU speed (was: Re: New RAM, does Debian has a tool to benchmark?)

2020-04-11 Thread deloptes
rhkra...@gmail.com wrote:

> I think my bottleneck these days is again RAM, on my daily driver I have
> 16 GB, but sometimes have 1000 or more tabs "open" in Firefox (on Wheezy).
> ("Open" is a little misleading -- occasionally Firefox crashes.  When it
> does, I restart it and choose the option to restore all tabs (or whatever
> it says), the old tabs show up with their names, but the content from
> those URLS is not actually loaded (or fetched) until I click on one of
> those tabs to view it again.

Look at the L1 L2 L3 cache. Many people underestimate this

here are two examples from different pcs

# lscpu | grep cache
L1d cache:   16K
L1i cache:   64K
L2 cache:2048K
L3 cache:8192K


# lscpu | grep cache
L1d cache:   32K
L1i cache:   32K
L2 cache:256K
L3 cache:6144K





Pacote Planilhas de Calculos Cartas e Contratos Totalmente Prontas e Editaveis

2020-04-11 Thread Marcos Sena
Olá, Tudo Bem? Me Chamo Marcos Sena. 
Sou Empresario e Contador, sei que Leva Tempo para Criar 
Planilhas Novas.
Durante Anos, Venho Criando e Juntando Planilhas e Cartas e 
Contratos Word e Resolvi Montar um "Super Pacote" para que
Você possa BAIXA-LO.

São Mais de (12.769) Arquivos Totais

As Planilhas Estão Segmentadas Por Áreas e as Cartas e Contratos 
estão por Assuntos.
VAMOS OLHAR ALGUNS EXEMPLOS?

<<<>>>
- Fluxo de Caixa Diário - Previsto x Realizado
- Fluxo de Caixa Mensal - Previsto x Realizado
- Controle de Estoque
- Controle de pagamentos
- Controle Financeiro
- Controle de pedido de material de escritório
- Cadastro de Clientes
- Cadastro de Empresas
- Planilhas contas a pagar
- Análise de Balanços
- Análise Gráfica
- Apuração do PIS
- Binomial
- Calcular Preço Venda Veículo
- Calculo de apuração de ICMS e IPI
- Calculo de Bebidas
- Calculo de Comissão de Vendas
- Cálculo de Férias
- Cálculo de Salário Líquido
- Controle de Conta Bancaria
- Controle de faltas de empregados
- Controle de pagamentos
+ 10.108 Planilhas Excel

<<<>>>
- Agradecimentos e Condolências
- Ao Amigo
- Ao Cliente
- Ao Professor
- Bancárias
- Cartas de Cobranças
- Cartas de Reclamação
- Contratos
- Declarações
- Emprego
- Escrituras
- Esporte
- Estatutos
- Felicitações
- Imobiliários
- Memorando
- Modelos de Currículos
- Procurações
- Propostas
- Telegrama
- Viagem
- Recibos
+ 2.617 Cartas e Contratos

--ESSA OFERTA ENCERRARÁ HOJE MEIA NOITE--
De R$ 89,90 Nas Últimas Horas Tudo está Saindo Por: (R$67,90)
Site Oficial: www.planilhaexcel2019.com.br

Este e-mail está sendo enviado por(Marcos Sena) 
Para:debian-user@lists.debian.org
Para informações de preços atualizados,visite o link do produto 
no site.
Não havendo interesse em receber o informativo, por gentileza 
Clique Aqui: www.sairagora.com.br Para Remover
<20200411061826.76d95966d249d...@fersant.bhz.br>



Improving performance: RAM or CPU speed (was: Re: New RAM, does Debian has a tool to benchmark?)

2020-04-11 Thread rhkramer
On Saturday, April 11, 2020 05:45:56 AM Tixy wrote:
> On Fri, 2020-04-10 at 20:01 -0700, David Christensen wrote:
> > My laptop is maxed out at 2 GB.  If I open more than a few browser
> > windows with heavy JavaScript, the computer slows to a snail's pace.
> 
> Would the amount of RAM affect browser JavaScript performance? Is that
> due to JIT compiler results not being able to be cached or something
> like that? I've just assumed slow performance it due to CPU throughput.

Back in the old days (when I found my computers slower than I liked), I found 
that adding more RAM was usually a better approach to improving performance 
than getting a faster CPU.  Not sure how to quantify that, but I like to have 
at least 12 GB in any computer I use.

That was especially true when CPUs started to reach the point (around 3 GHz., 
iirc) that their improvement in speed slowed down.  (But it was also true 
before that.)

If I had a computer that I was dissatisfied with the performance, I would 
definitely add RAM to try to get up to 16 GB or so.  Only then would I think 
about getting a faster CPU.

Aside: The idea of extra cores sounds good to me, but I don't know how much 
software actually takes advantage of this (or if the OSs / kernels) are 
typically smart enough to distribute tasks across multiple cores -- I hope 
they are, but really haven't been paying attention.

I think my bottleneck these days is again RAM, on my daily driver I have 16 
GB, but sometimes have 1000 or more tabs "open" in Firefox (on Wheezy).  
("Open" is a little misleading -- occasionally Firefox crashes.  When it does, 
I restart it and choose the option to restore all tabs (or whatever it says), 
the old tabs show up with their names, but the content from those URLS is not 
actually loaded (or fetched) until I click on one of those tabs to view it 
again.

(Actually sort of a nice feature -- it lets me keep easy access to lots of 
pages without filling up RAM.)



Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card

2020-04-11 Thread Jörg-Volker Peetz
Try it without any /etc/X11/xorg.conf file and read the Debian Stretch part in
the Debian wiki. What's the output of the "xrandr" commands listed in the wiki?

Regards,
Jörg.



Re: New RAM, does Debian has a tool to benchmark?

2020-04-11 Thread Tixy
On Fri, 2020-04-10 at 20:01 -0700, David Christensen wrote:
> My laptop is maxed out at 2 GB.  If I open more than a few browser 
> windows with heavy JavaScript, the computer slows to a snail's pace.

Would the amount of RAM affect browser JavaScript performance? Is that
due to JIT compiler results not being able to be cached or something
like that? I've just assumed slow performance it due to CPU throughput.

-- 
Tixy



Re: apache 2.4 configuration

2020-04-11 Thread Joe
On Sat, 11 Apr 2020 07:34:20 +
"Russell L. Harris"  wrote:

> On Mon, Apr 06, 2020 at 12:43:58PM +0100, Joe wrote:
> >Localhost is the machine running Apache. The normal IP address for it
> >is 127.0.0.1, though there are others. It isn't an Apache thing,
> >it's a networking thing. It's referred to in network configuration
> >as 'lo'.
> >
> >If you install Apache2.X on Debian, do nothing else at all, and enter
> >just 'localhost' in a web browser address window (running on the same
> >machine as Apache) then you will see the Apache 2 Debian Default
> >Page, at /var/www/html/index.html which basically shows that Apache
> >is running, and gives a few details about configuration.
> >
> >If you can see this page, or whatever you may have replaced it with,
> >then Apache is running, which is half the problem solved. Always
> >check this first if you have problems (I leave this page in place,
> >despite the encouragement to replace it) as Apache is quite fussy,
> >and will refuse to run under some conditions. If it's not running,
> >check /var/log/apache2/error.log for the reason.  
> 
> Joe, I thank you for the explanation.  Because "localhost" did not
> display the Apache2 Debian default page, I began by reinstalling
> Apache, whereupon the page was displayed.
> 
> Next, I checked the local file with my alias declarations, and in it I
> found an error.  Then I checked the configuration file in
> "/etc/apache2/conf-available" which points to the local file.
> 
> After enabling the pointer file, "systemctl reload apache2" failed to
> restart Apache.  But systemctl suggested I run "journalctl -xe", and
> journalctl pinpointed the line number with the error.  I also looked
> at "/var/log/apache2/error.log", but it was not as helpful.
> 
> I quickly found the remaining problem (a dot rather than a hyphen in a
> file name), and now things are running right.  So at last I can return
> to the tutorial.  Again, thanks.
> 
> RLH
> 

You're welcome.

-- 
Joe



Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card

2020-04-11 Thread Martin
Thank you Jörg-Volker,
I have been trying around quote long but I have not managed to make my
Radeon card show up for xarand as described here:
https://wiki.archlinux.org/index.php/PRIME#XRandR_specifies_only_1_output_provider



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Curt
On 2020-04-11, Andrei POPESCU  wrote:
>
> On Vi, 10 apr 20, 08:24:41, Anil Felipe Duggirala wrote:
>>
>> I don't know if somehow ISPs here have a more detailed (precise
>> location) database based on IP, or if that is possible at all.

It would be interesting to know if there is an appreciable difference in
precision between Maps and Night Light before you fixed the latter's
imprecision (about which you complained in another thread here) by
presumably feeding it manually your latitudinal and longitudinal
coordinates. Because one would assume both apps would use the same IP
method to locate the user for the case of a user whose geolocation
services have been toggled off (or never toggled on) in his privacy
settings.

Of course, David W. is right (and also Wright!) to say we don't know
what you mean, exactly---at what level of granularity is Maps locating
you precisely (country/city/neighborhood/street/apartment
building/etc...)?

Rather than positing some egregious violation of user configuration on
the part of Maps, I was theorizing in an earlier post that a precision
on its part that couldn't be explained by simply inference from your IP
address might possibly be explained by Night Light sharing the
coordinates you provided it not long ago (if indeed you did do that, as
you never stated this explicitly, either). Whether that would be a bug
or not remains unclear to me.

> As far as I can tell it depends a lot on the ISP.
>
> My current one apparently maintains its database down to city level...=20
> and then allocates those IPs dynamically all over the country :)=20
>
> My previous ISP was allocating pseudo-static IPs with location as=20
> accurate as city area.
>
> Kind regards,
> Andrei
> --=20
> http://wiki.debian.org/FAQsFromDebianUser
>
> --dsd7ekpr465t763f
> Content-Type: application/pgp-signature; name="signature.asc"
>
>
> --dsd7ekpr465t763f--
>
>


-- 




Re: apache 2.4 configuration

2020-04-11 Thread Russell L. Harris

On Mon, Apr 06, 2020 at 12:43:58PM +0100, Joe wrote:

Localhost is the machine running Apache. The normal IP address for it
is 127.0.0.1, though there are others. It isn't an Apache thing, it's a
networking thing. It's referred to in network configuration as 'lo'.

If you install Apache2.X on Debian, do nothing else at all, and enter
just 'localhost' in a web browser address window (running on the same
machine as Apache) then you will see the Apache 2 Debian Default Page,
at /var/www/html/index.html which basically shows that Apache is
running, and gives a few details about configuration.

If you can see this page, or whatever you may have replaced it with,
then Apache is running, which is half the problem solved. Always check
this first if you have problems (I leave this page in place, despite the
encouragement to replace it) as Apache is quite fussy, and will refuse
to run under some conditions. If it's not running, check
/var/log/apache2/error.log for the reason.


Joe, I thank you for the explanation.  Because "localhost" did not
display the Apache2 Debian default page, I began by reinstalling
Apache, whereupon the page was displayed.

Next, I checked the local file with my alias declarations, and in it I
found an error.  Then I checked the configuration file in
"/etc/apache2/conf-available" which points to the local file.

After enabling the pointer file, "systemctl reload apache2" failed to
restart Apache.  But systemctl suggested I run "journalctl -xe", and
journalctl pinpointed the line number with the error.  I also looked
at "/var/log/apache2/error.log", but it was not as helpful.

I quickly found the remaining problem (a dot rather than a hyphen in a
file name), and now things are running right.  So at last I can return
to the tutorial.  Again, thanks.

RLH



Re: geolocation services disabled and Gnome maps

2020-04-11 Thread Andrei POPESCU
On Vi, 10 apr 20, 08:24:41, Anil Felipe Duggirala wrote:
>
> I don't know if somehow ISPs here have a more detailed (precise 
> location) database based on IP, or if that is possible at all.

As far as I can tell it depends a lot on the ISP.

My current one apparently maintains its database down to city level... 
and then allocates those IPs dynamically all over the country :) 

My previous ISP was allocating pseudo-static IPs with location as 
accurate as city area.

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


signature.asc
Description: PGP signature