Re: 01/01: nginx: berlin: Disable narinfo caching altogether.

2018-06-22 Thread Mark H Weaver
Hi Ludovic,

l...@gnu.org (Ludovic Courtès) writes:

> Mark H Weaver  skribis:
>
>> l...@gnu.org (Ludovic Courtès) writes:
>>
>>> civodul pushed a commit to branch master
>>> in repository maintenance.
>>>
>>> commit 8379ba4119e51151d93589a6ef57cb159d94e9f2
>>> Author: Ludovic Courtès 
>>> Date:   Thu Jun 21 11:41:06 2018 +0200
>>>
>>> nginx: berlin: Disable narinfo caching altogether.
>>> 
>>> This is a followup to ebbe4c7f402b6d9cf9c6c2ecf120f49697ab2c49.
>>> 
>>> * hydra/nginx/berlin-locations.conf (.narinfo): Disable caching.
>>> * hydra/nginx/berlin.conf: Remove 'proxy_cache_path' directive
>>> for narinfos.
>>
>> What's the rationale for this change?
>
> From commit ebbe4c7f402b6d9cf9c6c2ecf120f49697ab2c49:
>
> Somehow nginx appeared to be caching narinfos for longer than needed,
> which defeated the atime-based cache eviction strategy of 'guix
> publish'.
>
> In this case, I noticed on berlin that nginx was caching 404s for
> narinfos longer than expected, for reasons I could not elucidate.  Plus
> there’s this atime story.

Although you didn't mention it here, I now remember one reason why it's
a problem for narinfos to be in the cache longer than expected: because
if a narinfo is available but the corresponding NAR isn't, it causes
problems on the client side.  If that's still the case, then it
certainly justifies this change.

  Thanks,
Mark



[PATCH] scripts: gc: Report size in MiBs instead of bytes.

2018-06-22 Thread Taylan Kammer
Thoughts?

I'm quite out of the loop and would appreciate if someone told me where
to best push this if it's OK. :-)

>From 4742df4c050fdcfd6caa76baa2c191f5adaa2a30 Mon Sep 17 00:00:00 2001
From: Taylan Kammer 
Date: Fri, 22 Jun 2018 21:55:26 +0200
Subject: [PATCH] scripts: gc: Report size in MiBs instead of bytes.

* guix/scripts/gc.scm (guix-gc): Show info in MiBs not bytes.
---
 guix/scripts/gc.scm | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/guix/scripts/gc.scm b/guix/scripts/gc.scm
index e4ed7227f..3ec2d76b1 100644
--- a/guix/scripts/gc.scm
+++ b/guix/scripts/gc.scm
@@ -199,10 +199,10 @@ Invoke the garbage collector.\n"))
 ;; Attempt to have at least SPACE bytes available in STORE.
 (let ((free (free-disk-space (%store-prefix
   (if (> free space)
-  (info (G_ "already ~h bytes available on ~a, nothing to do~%")
-free (%store-prefix))
+  (info (G_ "already ~h MiBs available on ~a, nothing to do~%")
+(/ free 1024 1024) (%store-prefix))
   (let ((to-free (- space free)))
-(info (G_ "freeing ~h bytes~%") to-free)
+(info (G_ "freeing ~h MiBs~%") (/ to-free 1024 1024))
 (collect-garbage store to-free)
 
   (with-error-handling
@@ -234,10 +234,10 @@ Invoke the garbage collector.\n"))
  (ensure-free-space store free-space))
 (min-freed
  (let-values (((paths freed) (collect-garbage store min-freed)))
-  (info (G_ "freed ~h bytes~%") freed)))
+  (info (G_ "freed ~h MiBs~%") (/ freed 1024 1024
 (else
  (let-values (((paths freed) (collect-garbage store)))
-  (info (G_ "freed ~h bytes~%") freed))
+  (info (G_ "freed ~h MiBs~%") (/ freed 1024 1024)))
 ((delete)
  (delete-paths store (map direct-store-path paths)))
 ((list-references)
-- 
2.17.1


Taylan


Re: [bootstrappable] M2-Planet latest release

2018-06-22 Thread Jan Nieuwenhuizen


> Today I proud to announce M2-Planet version 0.2.0
> https://github.com/oriansj/M2-Planet
> The world's simplest C compiler

Congratulations, and wonderful!

I guess it's ready now to bootstrap mes.c, the world most bootstrap-ready
Scheme interpreter?

> https://github.com/oriansj/mescc-tools
> or via any C compiler that supports only 60% of the features of M2-Planet 

> Able to be bootstrapped from a trivial Macro-assembler and hex2-linker
> (which when hand made are under 3KB total)
> which can be found here:
> https://github.com/oriansj/mescc-tools
> or via any C compiler that supports only 60% of the features of M2-Planet 

And very bootstrappable!

janneke

-- 
Jan Nieuwenhuizen  | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com



New Brazilian Portuguese PO file for 'guix' (version 0.15.0)

2018-06-22 Thread Translation Project Robot
Hello, gentle maintainer.

This is a message from the Translation Project robot.

A revised PO file for textual domain 'guix' has been submitted
by the Brazilian Portuguese team of translators.  The file is available at:

http://translationproject.org/latest/guix/pt_BR.po

(We can arrange things so that in the future such files are automatically
e-mailed to you when they arrive.  Ask at the address below if you want this.)

All other PO files for your package are available in:

http://translationproject.org/latest/guix/

Please consider including all of these in your next release, whether
official or a pretest.

Whenever you have a new distribution with a new version number ready,
containing a newer POT file, please send the URL of that distribution
tarball to the address below.  The tarball may be just a pretest or a
snapshot, it does not even have to compile.  It is just used by the
translators when they need some extra translation context.

The following HTML page has been updated:

http://translationproject.org/domain/guix.html

If any question arises, please contact the translation coordinator.

Thank you for all your work,

The Translation Project robot, in the
name of your translation coordinator.





New template for 'guix-packages' made available

2018-06-22 Thread Translation Project Robot
Hello, gentle maintainer.

This is a message from the Translation Project robot.  (If you have
any questions, send them to .)

A new POT file for textual domain 'guix-packages' has been made available
to the language teams for translation.  It is archived as:

http://translationproject.org/POT-files/guix-packages-0.15.0.pot

Whenever you have a new distribution with a new version number ready,
containing a newer POT file, please send the URL of that distribution
tarball to the address below.  The tarball may be just a pretest or a
snapshot, it does not even have to compile.  It is just used by the
translators when they need some extra translation context.

Below is the URL which has been provided to the translators of your
package.  Please inform the translation coordinator, at the address
at the bottom, if this information is not current:

https://lepiller.eu/files/guix-0.15.0-pre1tp.tar.gz

We can arrange things so that translated PO files are automatically e-mailed
to you when they arrive.  Ask at the address below if you want this.

Thank you for all your work,

The Translation Project robot, in the
name of your translation coordinator.





New template for 'guix' made available

2018-06-22 Thread Translation Project Robot
Hello, gentle maintainer.

This is a message from the Translation Project robot.  (If you have
any questions, send them to .)

A new POT file for textual domain 'guix' has been made available
to the language teams for translation.  It is archived as:

http://translationproject.org/POT-files/guix-0.15.0.pot

Whenever you have a new distribution with a new version number ready,
containing a newer POT file, please send the URL of that distribution
tarball to the address below.  The tarball may be just a pretest or a
snapshot, it does not even have to compile.  It is just used by the
translators when they need some extra translation context.

Below is the URL which has been provided to the translators of your
package.  Please inform the translation coordinator, at the address
at the bottom, if this information is not current:

https://lepiller.eu/files/guix-0.15.0tp.tar.gz

We can arrange things so that translated PO files are automatically e-mailed
to you when they arrive.  Ask at the address below if you want this.

Thank you for all your work,

The Translation Project robot, in the
name of your translation coordinator.





New template for 'guix-manual' made available

2018-06-22 Thread Translation Project Robot
Hello, gentle maintainer.

This is a message from the Translation Project robot.  (If you have
any questions, send them to .)

A new POT file for textual domain 'guix-manual' has been made available
to the language teams for translation.  It is archived as:

http://translationproject.org/POT-files/guix-manual-0.15.0.pot

Whenever you have a new distribution with a new version number ready,
containing a newer POT file, please send the URL of that distribution
tarball to the address below.  The tarball may be just a pretest or a
snapshot, it does not even have to compile.  It is just used by the
translators when they need some extra translation context.

Below is the URL which has been provided to the translators of your
package.  Please inform the translation coordinator, at the address
at the bottom, if this information is not current:

https://lepiller.eu/files/guix-0.15.0-pre1tp.tar.gz

We can arrange things so that translated PO files are automatically e-mailed
to you when they arrive.  Ask at the address below if you want this.

Thank you for all your work,

The Translation Project robot, in the
name of your translation coordinator.





RE: [bootstrappable] Re: M2-Planet latest release

2018-06-22 Thread Orians, Jeremiah (DTMB)
> Looks nice!  How do it compare to tcc?  (http://www.tinycc.org/)

Well at only 1,607 lines of code:
an order of magnitude smaller
less dependencies
simpler build
less complete support for c99
No optimization phase
No preprocessor (nor need for one)
Doesn't support // line comments

Generally what you'd expect for a compiler optimized for bootstrapping bigger 
compilers

-Jeremiah
Cell phone: (517) 896-2948
On Signal and Riot





M2-Planet latest release

2018-06-22 Thread Orians, Jeremiah (DTMB)
Today I proud to announce M2-Planet version 0.2.0 
https://github.com/oriansj/M2-Planet 
The world's simplest C compiler with support for:
structs with sizeof support
anonymous unions (inside of structs)
arrays
Inline assembly
Gotos
for, while and do loops with optional breaks bitshifting bitwise operations 
escaped strings Passable function pointers Written and self-hosting in a lovely 
C99 subset optional dwarf footers (thanks to mescc-tools blood-elf) allowing 
for objdump and gdb to play nicely and 100% deterministic output

Able to be bootstrapped from a trivial Macro-assembler and hex2-linker (which 
when hand made are under 3KB total) which can be found here:
https://github.com/oriansj/mescc-tools 
or via any C compiler that supports only 60% of the features of M2-Planet



hydra.gnu.org now provides substitutes for ‘guix pull’

2018-06-22 Thread Ludovic Courtès
Hello Guix,

Yesterday Clément and I discussed on IRC what it would take for Hydra to
build build-aux/hydra/guix-modular.scm (i.e., the derivations that
correspond to ‘guix pull’.)  Clément rightly suggested that it was a
matter of removing ‘--fresh-auto-compiled’ from hydra-eval-guile-jobs¹,
which I did, and it works:

  https://hydra.gnu.org/jobset/guix/modular/

The job runs infrequently so far, but we can try to increase the
frequency and see if poor hydra.gnu.org keeps up.

Ludo’.

¹ https://github.com/NixOS/hydra/blob/master/src/script/hydra-eval-guile-jobs.in



Re: M2-Planet latest release

2018-06-22 Thread Pierre Neidhardt
Looks nice!  How do it compare to tcc?  (http://www.tinycc.org/)

-- 
Pierre Neidhardt

Everyone has a purpose in life.  Perhaps yours is watching television.
- David Letterman


signature.asc
Description: PGP signature