Re: guix package --search slow ?

2019-05-15 Thread Giovanni Biscuolo
Hello Ludovic, Ludovic Courtès writes: [...] > We could probably improve the cold-cache timings by adding synopses and > descriptions to the package cache that ‘guix pull’ builds in > ~/.config/guix/current/lib/guix/package.cache, but that would also make > that cache bigger. Not sure if it’s

Re: guix package --search slow ?

2019-05-15 Thread zimoun
Hi, My bad ! On Wed, 15 May 2019 at 15:34, Ludovic Courtès wrote: > The warm-cache timings are comparable though, which I think is good. > :-) `aptitude search` is not equivalent to `guix package --search` but to `guix package --list-available`. The `aptitude` equivalence should be `aptitude s

[BLOG] custom kernel config

2019-05-15 Thread Efraim Flashner
I've cleaned up the blog post a bit and run it through a spell checker. I'm unsure about Linux-Libre vs linux-libre, regarding talking about the kernel and the package. I think I glossed over it well enough that I didn't actually get a custom kernel up and running on my laptop, but for the purpose

Re: guix package --search slow ?

2019-05-15 Thread Pierre Neidhardt
zimoun writes: >> For Emacs users, it's what helm-system-packages does. It implements its >> own names+synopses cache. helm-system-packages takes some seconds on >> first start to build the cache; after that you get instant live search! :) > > You are doing ads for your package ;-) Helm, what

Re: guix package --search slow ?

2019-05-15 Thread zimoun
Hi Pierre, On Wed, 15 May 2019 at 16:08, Pierre Neidhardt wrote: > > > Another idea would be to have some kind of simple search which only > > includes the package name and maybe the synopsis. > > For Emacs users, it's what helm-system-packages does. It implements its > own names+synopses cache.

Re: guix package --search slow ?

2019-05-15 Thread zimoun
On Wed, 15 May 2019 at 15:48, Jonathan Brielmaier wrote: > > On 5/15/19 3:34 PM, Ludovic Courtès wrote: > > We could probably improve the cold-cache timings by adding synopses and > > descriptions to the package cache that ‘guix pull’ builds in > > ~/.config/guix/current/lib/guix/package.cache, bu

Re: guix package --search slow ?

2019-05-15 Thread zimoun
Hi, On Wed, 15 May 2019 at 15:34, Ludovic Courtès wrote: > > For the record, commit 94aeec0aef03ab44e41bfc3e77c3b623cb3d607c, shortly > before 1.0, make ‘guix search’ faster (as in less CPU usage.) Six time faster the commit message claims ;-) Awesome how only 2 lines change things. > The cold

Re: guix package --search slow ?

2019-05-15 Thread zimoun
Hi, On Wed, 15 May 2019 at 04:22, Meiyo Peng wrote: > > I remember "guix package --search" has always been pretty fast since > this patch series of Ludovic is merged into guix: > https://lists.gnu.org/archive/html/guix-patches/2019-01/msg00254.html. > > Before that, "guix package --search" is slo

Re: guix package --search slow ?

2019-05-15 Thread Jonathan Brielmaier
On 5/15/19 3:34 PM, Ludovic Courtès wrote: > We could probably improve the cold-cache timings by adding synopses and > descriptions to the package cache that ‘guix pull’ builds in > ~/.config/guix/current/lib/guix/package.cache, but that would also make > that cache bigger. Not sure if it’s worth

Re: Update on 1.0.1

2019-05-15 Thread Mathieu Othacehe
Hey Ludo, > #1 may have a simple fix. #2 less so. WDYT, Mathieu? #1 may have a simple fix but it would require to have the output of "connmanctl services" (as you requested) to better understand why the name is #f. Plus I cannot find a way to create a network with an empty SSID. So we could

Re: guix package --search slow ?

2019-05-15 Thread Ludovic Courtès
Hi zimoun, zimoun skribis: > Your machine is probably faster than mine ;-) For the record, commit 94aeec0aef03ab44e41bfc3e77c3b623cb3d607c, shortly before 1.0, make ‘guix search’ faster (as in less CPU usage.) > $ time guix package --search=numpy > real0m7.353s > user0m1.256s > sys

Re: guix package --search slow ?

2019-05-15 Thread Ricardo Wurmus
zimoun writes: > Your machine is probably faster than mine ;-) I ran this on a Thinkpad T60 with an Intel Core2 CPU (T7600) @ 2.33GHz. > Yes, once the cache is warm, then it is faster. > By "All following invocations" you mean a search for a non related > previous one. Right? I meant: the ve

Re: Update on 1.0.1

2019-05-15 Thread Ludovic Courtès
Hello Guix! AFAICS the main installation-related issues have now been fixed. Please build an ISO image of the installer and give it a try in a VM or on the bare metal! https://www.gnu.org/software/guix/manual/en/html_node/Building-the-Installation-Image.html To try install from the ISO image

Re: Update on 1.0.1

2019-05-15 Thread Giovanni Biscuolo
Hi Ludovic, Ludovic Courtès writes: > Giovanni Biscuolo skribis: [...] >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35655 >> (Installer: mount error using btrfs on already formatted partition) > > Looks like this one should be fixed! If you want, you’re welcome to > build the image and g

Re: guix package --search slow ?

2019-05-15 Thread zimoun
Dear, On Wed, 15 May 2019 at 04:22, Meiyo Peng wrote: > > zimoun writes: > > > When searching packages with `guix search`, it appears to me slow; > > especially compared to `aptitude` of Debian. > > ... > > What should be done to improve the search speed? > > I remember "guix package --search" ha

Re: guix package --search slow ?

2019-05-15 Thread zimoun
On Tue, 14 May 2019 at 22:17, Ricardo Wurmus wrote: > > For me this command > > time guix package --search=python-numpy > > when run for the first time takes > > real 0m4.729s > user 0m1.332s > sys 0m0.815s > > All following invocations finish in about a second: > > real 0m1.469s >

Content addressable store

2019-05-15 Thread Gábor Boskovits
On IRC at May. 14. 2019, the topic of content addressable store idea was discussed. This is also discussed here: page 143 of https://nixos.org/~eelco/pubs/phd-thesis.pdf (or 135) on the intentional model and https://github.com/NixOS/nix/issues/296. Thanks for the links roptat. So, after reading