From: Michael Orlitzky <mjo@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Is Gentoo dead?
Date: Fri, 24 Apr 2020 17:23:36 -0400 [thread overview]
Message-ID: <af56ecf6-7607-efd2-78fb-c46ff03a9641@gentoo.org> (raw)
In-Reply-To: <eYhXUgDPoa0-EevywBCaJUhcruxdqZm0r8Nkm9EnuWYvB0DBqeyF5gs1MeueUHRDiPv7cVEVmViTlqwmDPli7-GsjZ9p4mLkDugKBkvOCPc=@protonmail.com>
On 4/23/20 2:14 PM, Caveman Al Toraboran wrote:
> On Wednesday, April 22, 2020 9:34 PM, Michael Orlitzky <mjo@gentoo.org> wrote:
>
>> Dependency resolution is indeed a (formally) hard problem. Solving the
>> traveling salesman problem is also hard. Solving the traveling salesman
>> problem while being punched in the face is even harder. When I complain
>> about portage being slow, what I mean is that I want to stop being
>> punched in the face so that I can concentrate all of my energy on the
>> underlying hard problem.
>
> any reason why is it a traveling salesman problem,
> and not just a tree walk with heuristics to handle
> exceptions (e.g. cycles)?
>
It's not outwardly a traveling salesman problem, but it's on the same
level of difficulty. If you look at RDEPEND in an ebuild, you'll see a
bunch of entries like
cat/pkg <= version
As the package manager recursively processes all of the ebuilds in the
dependency graph, you wind up with a goal like
maximize the versions of all installed packages
subject to
cat/pkg1 <= version1
cat/pkg1 > version2
cat/pkg2 >= version3
...
That looks a lot like a linear programming problem, but package versions
are discrete. So ignoring all of the details, it's believable that we
have an integer programming problem, which is NP-complete.
next prev parent reply other threads:[~2020-04-24 21:23 UTC|newest]
Thread overview: 158+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-21 16:58 [gentoo-user] Is Gentoo dead? Consus
2020-04-21 17:11 ` Ashley Dixon
2020-04-22 12:28 ` Alessandro Barbieri
2020-04-21 18:10 ` Rich Freeman
2020-04-21 18:33 ` Consus
2020-04-21 18:41 ` Rich Freeman
2020-04-21 18:48 ` Consus
2020-04-21 18:51 ` Ralph Seichter
2020-04-21 19:00 ` Consus
2020-04-22 0:09 ` Dale
2020-04-22 0:26 ` Rich Freeman
2020-04-22 1:49 ` Dale
2020-04-22 2:22 ` Rich Freeman
2020-04-22 2:55 ` Dale
2020-04-22 7:41 ` John Covici
2020-04-22 8:15 ` Dale
2020-04-22 12:15 ` John Covici
2020-04-22 12:53 ` Dale
2020-04-22 13:51 ` John Covici
2020-04-22 15:04 ` Dale
2020-04-22 15:20 ` John Covici
2020-04-22 15:26 ` Jack
2020-04-22 15:58 ` John Covici
2020-04-22 16:03 ` Michael Orlitzky
2020-04-22 17:14 ` Dale
2020-04-22 17:19 ` John Covici
2020-04-22 17:30 ` Michael Orlitzky
2020-04-23 0:15 ` John Covici
2020-04-23 1:57 ` Dale
2020-04-22 7:42 ` Philip Webb
2020-04-23 19:55 ` Steven Lembark
2020-04-24 1:22 ` Dale
2020-04-21 19:10 ` Neil Bothwick
2020-04-22 8:06 ` Consus
2020-04-23 19:46 ` Steven Lembark
2020-04-21 18:47 ` Peter Humphrey
2020-04-21 19:01 ` Consus
2020-04-21 20:27 ` Rich Freeman
2020-04-21 20:51 ` [gentoo-user] Gentoo Tinderboxes? Michael Jones
2020-04-21 22:01 ` Gregory Rudolph
2020-04-21 22:36 ` Michael Jones
2020-04-22 9:46 ` Peter Humphrey
2020-04-22 10:17 ` J. Roeleveld
2020-04-22 11:20 ` Neil Bothwick
2020-04-24 22:22 ` jdm
2020-04-26 15:25 ` Viktar Patotski
2020-04-22 14:35 ` Michael Jones
[not found] ` <20200423152135.77bb9a0c.lembark@wrkhors.com>
2020-04-23 20:57 ` Michael Jones
2020-04-21 23:05 ` Consus
2020-04-23 20:18 ` Steven Lembark
2020-04-22 15:22 ` [gentoo-user] Is Gentoo dead? Caveman Al Toraboran
2020-04-22 15:35 ` Michael Orlitzky
2020-04-22 16:07 ` Caveman Al Toraboran
2020-04-22 16:13 ` Michael Orlitzky
2020-04-22 16:14 ` [OBORONA-SPAM] " lego12239
2020-04-22 16:16 ` Michael Orlitzky
2020-04-22 16:31 ` [OBORONA-SPAM] " lego12239
2020-04-22 16:32 ` Michael Jones
2020-04-22 16:48 ` [OBORONA-SPAM] " lego12239
2020-04-22 17:03 ` Michael Jones
2020-04-24 12:35 ` Caveman Al Toraboran
2020-04-24 12:45 ` Rich Freeman
2020-04-24 16:07 ` Caveman Al Toraboran
2020-04-24 17:54 ` Michele Alzetta
2020-04-24 17:56 ` Michele Alzetta
2020-04-24 18:16 ` Caveman Al Toraboran
2020-04-22 16:17 ` Alessandro Barbieri
2020-04-22 16:24 ` Michael Jones
2020-04-22 16:28 ` Michael Orlitzky
2020-04-22 16:31 ` Michael Jones
2020-05-07 1:13 ` Caveman Al Toraboran
2020-05-07 1:43 ` Rich Freeman
2020-05-07 2:14 ` Caveman Al Toraboran
2020-05-07 2:35 ` Rich Freeman
2020-05-07 3:31 ` Dale
2020-05-07 3:50 ` Caveman Al Toraboran
2020-05-07 7:49 ` Michael
2020-05-07 8:26 ` [OBORONA-SPAM] " Neil Bothwick
2020-05-07 15:11 ` Dale
2020-05-07 15:41 ` Michael
2020-05-07 18:13 ` Dale
2020-05-07 4:26 ` [OBORONA-SPAM] " Caveman Al Toraboran
2020-04-22 16:26 ` [OBORONA-SPAM] " lego12239
2020-04-22 17:48 ` Alessandro Barbieri
2020-04-22 18:08 ` [OBORONA-SPAM] " lego12239
2020-04-22 18:19 ` Michael Orlitzky
2020-04-22 18:24 ` Michael Jones
2020-04-22 18:33 ` Michael Orlitzky
2020-04-22 19:15 ` Michael Jones
2020-04-22 19:19 ` Michael Orlitzky
2020-04-22 19:22 ` Michael Jones
2020-04-22 19:24 ` Michael Orlitzky
2020-04-23 8:45 ` [OBORONA-SPAM] " lego12239
2020-04-24 21:07 ` Michael Orlitzky
2020-04-24 22:30 ` lego12239
2020-04-23 8:31 ` [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] " lego12239
2020-04-23 8:52 ` lego12239
2020-04-23 8:59 ` Consus
2020-04-23 9:17 ` lego12239
2020-04-23 9:02 ` [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] " Dale
2020-04-23 9:26 ` lego12239
2020-04-23 9:44 ` Dale
2020-04-23 10:34 ` lego12239
2020-04-23 10:55 ` Dale
2020-04-24 20:48 ` Michael Orlitzky
2020-04-23 15:20 ` J. Roeleveld
2020-04-23 15:37 ` lego12239
2020-04-23 8:27 ` [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] " lego12239
2020-04-22 18:24 ` Consus
2020-04-22 18:38 ` Michael Orlitzky
2020-04-22 18:51 ` Consus
2020-04-23 8:24 ` [OBORONA-SPAM] " lego12239
2020-04-22 16:26 ` Jorge Almeida
2020-04-23 20:27 ` Steven Lembark
2020-04-24 9:22 ` [OBORONA-SPAM] " lego12239
2020-04-24 13:34 ` [gentoo-user] Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] " Grant Edwards
2020-04-24 18:05 ` [gentoo-user] " lego12239
2020-04-24 18:46 ` Grant Edwards
2020-04-24 21:19 ` lego12239
2020-04-24 16:30 ` [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [gentoo-user] " inasprecali
2020-04-24 17:37 ` Caveman Al Toraboran
2020-04-24 17:46 ` Robert Bridge
2020-04-24 18:08 ` [OBORONA-SPAM] " lego12239
2020-04-24 17:23 ` Ashley Dixon
2020-04-25 16:37 ` [OBORONA-SPAM] " Caveman Al Toraboran
2020-04-25 18:28 ` Ashley Dixon
2020-04-27 11:31 ` Kent Fredric
2020-04-27 15:57 ` lego12239
2020-04-28 15:33 ` Kent Fredric
2020-04-28 16:56 ` lego12239
2020-04-22 17:29 ` Dale
2020-04-22 17:34 ` Michael Orlitzky
2020-04-22 17:52 ` Dale
2020-04-23 18:14 ` Caveman Al Toraboran
2020-04-23 18:26 ` Michael Jones
2020-04-23 21:03 ` Alec Ten Harmsel
2020-04-23 23:55 ` Caveman Al Toraboran
2020-04-24 21:23 ` Michael Orlitzky [this message]
2020-04-26 14:23 ` Caveman Al Toraboran
2020-04-26 15:05 ` Michael Orlitzky
2020-04-23 20:10 ` Steven Lembark
2020-04-23 20:12 ` Consus
2020-04-22 8:58 ` Alexandru N. Barloiu
2020-04-22 14:29 ` Kent Fredric
2020-04-22 16:24 ` james
2020-04-25 18:04 ` Fernando Reyes
2020-04-25 18:30 ` Caveman Al Toraboran
2020-05-07 3:14 ` Pengcheng Xu
2020-05-07 3:39 ` Dale
2020-05-07 3:55 ` Pengcheng Xu
2020-05-07 5:23 ` Gerrit Kuehn
2020-05-07 14:21 ` hitachi303
2020-05-07 15:15 ` Dale
2020-05-07 15:19 ` Petr Vaněk
2020-05-07 15:23 ` Dale
2020-05-07 15:29 ` Petr Vaněk
2020-05-07 15:36 ` Dale
2020-05-07 15:04 ` james
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=af56ecf6-7607-efd2-78fb-c46ff03a9641@gentoo.org \
--to=mjo@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox