Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2021 16:38:59 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Piotr Kubaj <pkubaj@anongoth.pl>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 981564583497 - main - net/cjdns: fix build on powerpc64*
Message-ID:  <YXmAowfCz1P7P2bq@FreeBSD.org>
In-Reply-To: <YXlg7IMwniDx32C%2B@KGPE-D16>
References:  <202110261848.19QImqrt031580@gitrepo.freebsd.org> <YXj02W6rRXC0ZSTA@FreeBSD.org> <YXlg7IMwniDx32C%2B@KGPE-D16>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 27, 2021 at 04:23:40PM +0200, Piotr Kubaj wrote:
> Not really:
> > os.cpus()
> []
> > Math.floor((os.cpus() == [] ? 1 : cpus.length) * 1.25)
> Uncaught ReferenceError: cpus is not defined
> > Math.floor((os.cpus() == 0 ? 1 : cpus.length) * 1.25)
> 1

This gets just funnier and funnier.  Like I said, the sooner JS
dies, the better.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YXmAowfCz1P7P2bq>