On 2021-01-13, n952162 wrote:
> Hello. In python3, how do you do this?
Please explain what "this" is trying to accomplish, and we can tell
you how to do it in Python3. Are you trying to convert from Unicode to
Latin1 and back to Unicode?
Python 3.8.6 (default, Jan 2 2021, 20:25:58)
[GCC
On 2021-01-08, Grant Edwards wrote:
> I've noticed that when linking an applicatoin I now get warnings like this:
>
> /usr/lib/gcc/[...]/x86_64-pc-linux-gnu/bin/ld: skipping incompatible
> /usr/lib/libpthread.so when searching for -lpthread
> /usr/lib/gcc/[...]/x86_64-pc-l
something up back when updating the profile from 17.0 to 17.1?
--
Grant
On 2020-12-29, Walter Dnes wrote:
> On Tue, Dec 29, 2020 at 05:11:36PM +0200, Andreas K. Huettel wrote
>> Hi Walter,
>>
>> > "-pch -roaming -sendmail -spell -tcpd -udev -udisks -unicode -upower
>> > -xinerama"
>>
>> mostly out of curiosity, why do you want to disable unicode support
>> here?
utf8 has effectively become the standard encoding
> over the past years.
I switched to a "unicode enabled" install many years ago, and I'm
about as much the "cranky old Unix guy" as you can get: I think that
mutt in an xterm qualifies as "GUI email client".
--
Grant
ingle kernel) to 20 lines (a couple different
kernels). What's complex is the auto-magical, AI-driven,
devs-know-better-thab-you grub configuration generator systems that
various distros use to generate config files that are hundreds of
lines long and yet refuse to do what you want.
--
Grant
boot time might be
slightly slower that way, it won't affect performance after that.
I think...
--
Grant
On 2020-12-21, Peter Humphrey wrote:
> What does the team think is the best way to get WiFi going? Is
> wpa-supplicant a good idea?
I've never used anything else.
> That's what the handbook recommends, but I think I remember
> something like wicd being better.
Better how?
--
Grant
;>
>> So, I just wonder: "Is it a bug or a feature?"
>>
>> And where exactly can one configure it?
>
> Are you using systemd? In contrast to OpenRC, systemd launches X11 on
> the current TTY:
Not any more. The default profile now launches X11 on the current TTY
even if you're using OpenRC.
--
Grant
behavior of the X server running on tty6/7/whatever. I don't know if
there's a way to get that behavior while still running non-root X.
--
Grant
e
difference. There's no electrnics involved, and it always "just
works". HDMI->VGA involves a lot of electronics and my experience with
them is not great.
--
Grant
On 2020-12-16, Grant Edwards wrote:
>> Hm..., did I use wrong stage?
>>
>> stage3-i686-20201116T214503Z.tar.xz
>>
>> AMD FX(tm)-8150 Eight-Core Processor
>
> Yes, that is the wrong stage3. It's for 32-bit processors. You want a
> 64-bit amd64 one. You'
ge?
>
> stage3-i686-20201116T214503Z.tar.xz
>
> AMD FX(tm)-8150 Eight-Core Processor
Yes, that is the wrong stage3. It's for 32-bit processors. You want a
64-bit amd64 one. You're also running a 32-bit kernel instead of a
64-bit one.
If I were you, I'd start over from scratch.
--
Grant
the case. Instructions sometiems go away from one
CPU generation to the next.
--
Grant
On 2020-12-14, the...@sys-concept.com wrote:
> I'm having similar problem as "n952162" upgrading an old (last updated
> 1.8-year ago)
If I were youe, I'd just reinstall after 1.8 years. Updating is going
to take way, way more work.
--
Grant
apters. The ones
I have work OK with an NVidia video card's DP outputs, but not with
the DP output on my Intel i5 motherboard.
--
Grant
On 2020-12-14, the...@sys-concept.com wrote:
> On 12/13/2020 09:05 PM, Grant Edwards wrote:
>> On 2020-12-14, the...@sys-concept.com wrote:
>>
>>> I removed "vfat" boot partition and created/change it to ext2
>>>
>>> But now when i try
core.img
If you ever need to update grub, you'll have to unlock that file using
'chattr -i'.
--
Grant
ore regularly, you're probably
going to keep running into situations like this. They will require a
methodical approach, a good understanding of how portage works, and
will end up taking up more of your time that would updating once a
week.
--
Grant
so about half
of the time. :)
--
Grant
On 2020-12-11, Grant Edwards wrote:
> On 2020-12-11, Jack wrote:
>> On 12/10/20 11:20 PM, the...@sys-concept.com wrote:
>>> How to prevent PC from shutdown when running when power button is pressed?
>>> Is it a function in a BIOS or OS?
>
>> You could always u
.
That seems like the simple, obvious solution to me.
--
Grant
if that gets you the desired results.
--
Grant. . . .
unix || die
kb.cert.org/vuls/id/332928/
You're right. You have to adjust the ImageMagick config files to allow
converting to pdf. AFAICT, it's safe as long as you trust the input
you're converting. I figure photos I've taken are OK.
--
Grant
e
hardware in our system.
> If not, you only need a live-cd/usb/... and rebuild the kernel and
> any drivers your new system needs.
> It's not MS Windows that might try to load incompatible drivers and
> ends up with a blue-screen.
Well, the screen doesn't turn blue, but it's possible the kernel won't
even boot.
--
Grant
thing in-between.
> If it would come up, what would need to be (re)emerged, as a
> minimum?
The minimum would be "nothing".
--
Grant
>
> pdfunite scan1.pdf scan2.pdf scanned.pdf
There's no need for the two-step process:
$ convert scan1.png scan2.png scanned.pdf
--
Grant
P.S. You might also be interested in some of the feeds that Team Cymru
has to offer. I think they are more friendly to scripted querying.
Link - IP to ASN Mapping Service
- https://team-cymru.com/community-services/ip-asn-mapping/
--
Grant. . . .
unix || die
e a number of WhoIs servers get fairly upset if they
think they are being scripted against.
So ... space out the queries and save the output for future re-use.
You might be correct, Grant. Putting the IP's in apache .config file
could be more efficient, instead of .htaccess file.
;-)
--
Grant.
; database is based on similar sources the hole project is
not a reliable control method.
GeoIP is ... nebulous. You need to consider if you want to proceed with
imperfect (or completely wrong data).
--
Grant. . . .
unix || die
would be more efficient, storing the data somewhere
outside of Apache and having it check that -or- putting the data in the
config / .htaccess file(s).
--
Grant. . . .
unix || die
/ REDIRECT to an alternate port that is a
different virtual host that serves up a 403 page.
--
Grant. . . .
unix || die
on the system?
--
Grant. . . .
unix || die
t
road. At that point, I usually just start uninstlling stuff until
emerge is willing to do the update. You sometimes learn the hard why
which packages you absolutely can't remove to try to make emerge
happy. For example, removing dev-lang/python is a bad idea.
--
Grant
On 2020-12-06, Grant Edwards wrote:
> On 2020-12-06, Arve Barsnes wrote:
>
>> If you have not completed the world update yet, all those are probably
>> still installed as 3.7 packages. You could try updating all those to
>> 3.8 only first, if you have not done the world
On 2020-12-06, Arve Barsnes wrote:
> On Sun, 6 Dec 2020 at 21:25, Grant Edwards wrote:
>> > emerge -cpv python:3.7 will show you what is keeping 3.7
>>
>> Something's wrong.
>>
>> That lists 43 packages. I checked the first few, and none of them req
On 2020-12-06, Neil Bothwick wrote:
> On Sun, 6 Dec 2020 20:01:27 - (UTC), Grant Edwards wrote:
>
>> I updated one of my systems a day or two ago, and Python 3.7 went away
>> as expected. Today, I'm updating another system and it is rebuilding
>> tons of stuff to t
TS="python3_8* (-pypy3) -python3_6 -python3_7*
-python3_9 (-python2_7%*)" 0 KiB
[...]
Total: 109 packages (12 upgrades, 1 new, 96 reinstalls), Size of downloads:
924,708 KiB
How do I figure out why setuptools_scm is being built with the Python
3.7 target?
There are no python targets specified in /etc/portage/*
--
Grant
On 2020-12-04, tastytea wrote:
> On 2020-12-04 17:39-0000 Grant Edwards
> wrote:
>> [...]
>>
>> I used to use 'python-updater' to take care of that, but it's
>> gone. What are we supposed to use in its place?
>>
>> Are we just supposed to manu
gone. What are we supposed to use in its place?
Are we just supposed to manually re-emerge various python modules over
the next few weeks as we stumble across failures?
--
Grant
On 11/26/20 6:56 PM, Grant Edwards wrote:
After trying to think of reasons to use sendmail, I beganto wonder if
it still supports bang-routing and UUCP as a transport mechanism. A
bit of googling seems to indicate that it does.
Yes. I have used this a few times in the last 18 months. Mostly
asons to use sendmail, I beganto wonder if
it still supports bang-routing and UUCP as a transport mechanism. A
bit of googling seems to indicate that it does.
So there's one thing (that I do understand) that can be done with
sendmail that can't (AFAICT) be done with the usual replacements.
--
Grant
On 11/25/20 9:02 PM, Grant Edwards wrote:
O'Reilly's_Sendmail_ 4th Edition (the bat book), has 1312 pages and
weighs four pounds.
There is actually a much smaller book than the quintessential Bat book
that is multiple orders of magnitude. IM(ns)HO the Sendmail
Installation and Operation
On 11/25/20 9:09 PM, Grant Edwards wrote:
Ah, that's another devine mystery. I believe that the small size of
a sendmail config file, when compared to the number of malfunctions
it can create violates several basic tenants of information theory. I
think the explanation involves extra
On 11/25/20 9:47 PM, Grant Taylor wrote:
That is supported. You will need to set up a map and tell Sendmail how
to use it. It's not difficult. But it's been so long that I don't
remember exactly how to do it. It's another define(...) or feature(...)
line and adding entries to the file
o do it. It's another define(...) or feature(...)
line and adding entries to the file they reference.
--
Grant. . . .
unix || die
mall size of a
sendmail config file, when compared to the number of malfunctions it
can create violates several basic tenants of information theory. I
think the explanation involves extra dimensions that normal software
can't access.
--
Grant
ty or widespread animosity.
O'Reilly's _Sendmail_ 4th Edition (the bat book), has 1312 pages and
weighs four pounds.
Head up the river if you must, but don't get out of the boat.
--
Grant
On 2020-11-25, Neil Bothwick wrote:
> On Wed, 25 Nov 2020 19:43:04 - (UTC), Grant Edwards wrote:
>
>> > Rename one of the directories and see if you can still boot :)
>>
>> That may not be a valid test. If grub is using a blocklist to locate
>> second
oot :)
That may not be a valid test. If grub is using a blocklist to locate
secondary files, renaming the directory that contains those files
won't bother grub at all. Even rm'ing the files and directory might
not cause problems until the disk blocks of interest get reused by new
files.
--
Grant
On 2020-11-25, Neil Bothwick wrote:
> On Wed, 25 Nov 2020 16:04:26 - (UTC), Grant Edwards wrote:
>
>> > I'm not sure chainloading would work as that requires a drive
>> > definition from which to load the boot sector.
>>
>> I thought that's what
On 2020-11-25, Neil Bothwick wrote:
> On Wed, 25 Nov 2020 15:20:04 - (UTC), Grant Edwards wrote:
>
>> > "GRUB 2 can read files directly from LVM and RAID devices."
>>
>> That was certainly the behavior described [...]
>>
>> But that
b's "lvm" module do, and how does it read the
>> >> distro's .cfg files from the LVM volumes in which the various distros
>> >> are installed?
>
> That was my thinking, that the kernel/initramfs was reading the LVs but
> Grant mentioned the lvm module for
On 2020-11-24, Neil Bothwick wrote:
> On Tue, 24 Nov 2020 19:04:20 - (UTC), Grant Edwards wrote:
>
>> In grub, does chainloading an LVM virtual partition work the same as
>> chainloading a "real" partition?
>
> I suspect not as GRUB will be reading the menu
e. However, that assumes
that the distro uses grub, and that the .cfg file is compatible with
the "master" grub executables. I'd rather not rely on that assumption
and just do chainloading like I always have.
In grub, does chainloading an LVM virtual partition work the same as
chainloading a "real" partition?
--
Grant
On 2020-11-24, Neil Bothwick wrote:
> On Tue, 24 Nov 2020 16:38:59 - (UTC), Grant Edwards wrote:
>
>> > But actual partitions?
>>
>> Yes. Each with a separate Linux distro installed.
>>
>> Perhaps you can do that with a volume manager instead of par
On 2020-11-24, Jack wrote:
> I only have two or three such distros I use for testing, but I have
> each in a VirtualBox machine. For me, spinning up a VM is easier
> than a real reboot.
I don't trust VMs when testing drivers for PCI cards or applicatoins
that use raw Ethernet.
--
Grant
On 2020-11-24, Neil Bothwick wrote:
> On Tue, 24 Nov 2020 15:01:35 - (UTC), Grant Edwards wrote:
>
>> > Can you imagine an fstab with 22 partitions? Doesn't bear thinking
>> > about.
>>
>> Yes. I have one with 12 and often wish it had more.
>>
ou could of course, have 12 (or
22) different hard drives that you swap in/out of the machine, but
that's tiresome and expensive.
--
Grant
seems to me that writing sed scripts would be a huge waste of time
-- and I'm somebody who _does_ write (short) sed scripts occasionally.
--
Grant Edwards grant.b.edwardsYow! I was making donuts
at and now
On 2020-11-14, Jude DaShiell wrote:
> On Sat, 14 Nov 2020, Grant Edwards wrote:
>
>> Date: Sat, 14 Nov 2020 17:30:51
>> From: Grant Edwards
>> Reply-To: gentoo-user@lists.gentoo.org
>> To: gentoo-user@lists.gentoo.org
>> Subject: [gentoo-user] Re: gento
mean above. What is a "distribution ISO"?
--
Grant Edwards grant.b.edwardsYow! WHO sees a BEACH BUNNY
at sobbing on a SHAG RUG?!
gmail.com
documented anywhere (I stumbled across the info in a home-theater
forum). On my other LG, that doesn't work (there appears to be no way
to eliminate overscan).
--
Grant Edwards grant.b.edwardsYow! Is it clean in other
On 2020-10-29, Michael wrote:
> Heh! I recall horror stories of compiling linmodem to get it to work and
> every other version would fail to initialize the modem leaving me with no
> Internet connection. Yes, the good old days, you know - when sometimes in
> the
> evenings we would
fresh off the assembly line.
--
Grant
On 2020-10-14, antlists wrote:
> On 14/10/2020 19:58, Grant Edwards wrote:
>> On 2020-10-14, antlists wrote:
>>
>>> Does your mobo support NVMe drives? Just be aware my mobo is crap in
>>> that it says it supports two graphics cards, NVMe, etc, but if yo
uple of SATA ports, or whatever. Bit of a PoS in
> that regard.
I think that's pretty common. NVMe uses PCI-express channels that are
often shared with one of the PCI-express "slots" on the motherboard.
As a result you can't use both at the same time.
--
Grant
almost 30 years. I've never seen
a new Ethernet driver enabled by default.
--
Grant
as always worked for me. By default it will _show_ you
new drivers, but they're disabled by default. If you're paying
attention, you can disable the a whole submenu full of
new-but-disabled drivers and save a bunch of time.
> But it is annoying when configuring a new version of a working kernel.
Yep.
--
Grant
It also seems to refuse to run from the command line via xinit or
startx, so I had to install a "display manager", which I find to be
useless bloat.
Next time I won't bother with lxqt and the associated bloat, I'll just
install openbox and tint2.
--
Grant
s options and configuration variables seemed
to be inconsistent, confusing, and often different considerably from
one distro to the next and from one version to the next. I find it far
easier to just edit grub.cfg.
--
Grant
rEFInd. All are in portage and easy to set up in a
> way that is shocking to anyone used to GRUB.
Grub's actually quite easy to set up if you skip all the auto-magical
stuff and just manually create a grub.cfg file.
--
Grant
On 2020-10-05, Grant Edwards wrote:
[on a B450 tomahawk]
> It appears that I have a total of 6 USB hubs on the motherboard:
>
> $ lsusb
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 006 D
are plugged into a USB3 header and not one of the 10-pin
USB2 headers?
--
Grant
On 2020-10-02, Dale wrote:
> I dunno. I tested the installer thing when it was first announced
> years ago. It failed to install. It kept getting hung somewhere but
> with no output that I could find, I didn't know what was wrong or
> what to fix.
Isn't that how automated installers are
On 2020-10-02, Dale wrote:
> I was talking about the Gentoo installer.
Huh. Didn't know there was one. Is this it?
https://blogs.gentoo.org/chrisadr/2018/05/02/installer-a-basic-gentoo-system-anyone-can-install/
k step-by-step and
expect it to work (IIRC, something to do with chroot?). There were
fairly simple work-arounds, but it took time to figure out what was
wrong and what to do about it.
--
Grant
ifficult, and you may have to futz with things to get updated
(e.g. remove a package or two, update, then reinstall the removed
packages). It's sometimes not obvious how to proceed.
If you wait a year or two, it's often less work to reinstall from
scratch than it is to figure out how to get through all the pending
updates.
--
Grant
On 2020-09-29, Grant Edwards wrote:
> I'm having a peculiar problem with ftdi_sio. With one particular
> device, on one particular computer, the ftdi_sio driver always
> disconnects immedately (5-10ms) after connecting:
Never mind...
The Digilent application (waveforms) installs a
On 2020-09-29, Grant Edwards wrote:
> Other FTDI devices work fine on this machine. The Digilent device
> above works fine on other Gentoo machines with the same kernel
> version.
Booting the "problem" machine from systemrescuecd and plugging in the
Digilent device also works
HS USB-UART/FIFO IC
...
Other FTDI devices work fine on this machine. The Digilent device
above works fine on other Gentoo machines with the same kernel
version.
Any ideas on how to determine why the ftdi_sio driver is disconnecting?
--
Grant
On 2020-09-14, Ashley Dixon wrote:
> On Mon, Sep 14, 2020 at 01:00:53AM -0000, Grant Edwards wrote:
>> $ pdftk
>> Done. Input errors, so no output created.
>
> Have you tried running with increased verbosity? Perhaps these "input errors"
> will be
Some time in the past month or two, pdftk has completely stopped
working. No matter what file I point it to or what commands I try, I
always get the message
$ pdftk
Done. Input errors, so no output created.
If the file doesn't actually exist, I do get the expected error:
$ pdftk
her than install a virtual package.
--
Grant
n-interactively.
I'd be happy with a simple message when used with --ask that says a
virtual package has pulled in "X" by default, but "Y or Z" could also
satisfy that virual.
If I don't like the default, I can answer "N", do a one-shot install
of my preference, and try again.
--
Grant
On 2020-09-08, Matt Connell (Gmail) wrote:
> On Tue, 2020-09-08 at 19:56 +0000, Grant Edwards wrote:
>> Ah, so I should have installed rust-bin _without_ adding it to the
>> world file so that when the last package requiring rust gets removed,
>> rust will get removed by
On 2020-09-08, Neil Bothwick wrote:
> There is a way, uninstall rust. virtual/rust requires only one of rust
> and rust-bin, if both are installed it will take rust meaning rust-bin
> gets depcleaned. If only one is installed, the virtual will take that. If
> neither is install, the virtual will
ng/rust-bin installed.
When I subsequently ran "emerge --depclean --ask" it wanted to unmerge
dev-lang/rust-bin.
I had to manually unmerge dev-lang/rust to get rid of it (which then
prevented --depclean from trying to unmerge rust-bin).
--
Grant
guages that would produce professional results for a newbie,
we now have PHP: ith which even professionals get amateur results.
Even though I've been programming in PHP off and on for ten years, I'm
still never sure what's going to happen...
--
Grant
> >Any tips here guys? Is there some kind of an audit process I can go
> >through periodically to help ensure I'm safe?
> >
> >
> >On Fri, Aug 28, 2020 at 8:52 AM Grant wrote:
> >>
> >> I noticed some strange behavior recently which has since gon
Any tips here guys? Is there some kind of an audit process I can go
through periodically to help ensure I'm safe?
On Fri, Aug 28, 2020 at 8:52 AM Grant wrote:
>
> I noticed some strange behavior recently which has since gone away.
> From a security standpoint, if root is hacked
to protect
my email.
Or said another way, I'm not sure what else I could do that would not
also apply to a co-lo server.
My VPS provider does offer the ability to access a console so I could
use full encrypted system.
--
Grant. . . .
unix || die
n to other, complementary
experimentation, as long as it is published.
Grant Taylor, do not let it go to your head, but I agree with most
of what you write in Gentoo User.
Me? I'm just an idiot on the Internet with some things to say.
Sometimes they happen to be true. Ideally, you know (or learn) enoug
keys (because they are on an
encrypted disk), then the contents of the transmission should be fairly
secure.
--
Grant. . . .
unix || die
, OS level or more nefarious, can
access things.
--
Grant. . . .
unix || die
offerings for, at least, US Gov level requirements).
Yep.
--
Grant. . . .
unix || die
not do so in the last 20 years were resolved by engaging the ISP
and ... politely ... getting them to knock it off. Inbound can be more
tricky. But even inbound HTTP(S) was subject to the same problems.
Actually, inbound HTTP(S) was more of a problem than other ports.
--
Grant. . . .
unix || die
I'll take all input, but will make my (funding) decision, in a focus,
quick strategy.
I'm happy to participate. My preference would be to use a VPS / VM
(which I can provide) and allow others to take advantage of the Pis that
are on offer.
--
Grant. . . .
unix || die
I noticed some strange behavior recently which has since gone away.
>From a security standpoint, if root is hacked I suppose there's no way
to know, but if not can I use root to determine whether my user is
still secure?
e
for not including encryption when he developed HTML and HTTP.
--
Grant. . . .
unix || die
501 - 600 of 5173 matches
Mail list logo