Bug#822289: ITP: golang-github-docker-go-events -- Composable event distribution for Go

2016-04-22 Thread Potter, Tim (HPE Linux Support)
Package: wnpp
Severity: wishlist
Owner: Tim Potter 
X-Debbugs-CC: debian-devel@lists.debian.org, 
pkg-go-maintain...@lists.alioth.debian.org

* Package name: golang-github-docker-go-events
  Version : 0.0~git20160331.0.882f161-1
  Upstream Author : Stephen Day and Andrea Luzzardi
* URL : https://github.com/docker/go-events
* License : Apache-2.0
  Programming Lang: Go
  Description : Composable event distribution for Go

The go-events package implements a composable event distribution
package for Go. It was originally created to implement the
notifications in Docker Registry 2, but is now used in other
components of the Docker ecosystem.


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Guus Sliepen
On Fri, Apr 22, 2016 at 02:45:59PM +0200, Jakub Wilk wrote:

> > fp = fopen("/dev/urandom", "rb");
> > if (fp == NULL) {
> >   fprintf(stderr, "Error: Cannot open /dev/urandom.\n");
> 
> The error message doesn't say what the error was, or what program caused
> this error.

While we are at it, instead of opening /dev/urandom, use the getrandom()
function if it's available. The latter has more chance of working in
chroots that don't have a /dev.

-- 
Met vriendelijke groet / with kind regards,
  Guus Sliepen 


signature.asc
Description: Digital signature


Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Carlos Alberto Lopez Perez
On 22/04/16 14:48, Adam Borowski wrote:
> On Thu, Apr 21, 2016 at 11:11:39PM -0700, Rudi Cilibrasi wrote:
>> * Package name: flipcoin
>> * URL : https://github.com/rudi-cilibrasi/flipcoin
>>   Description : flip an adjustable coin for random exit status
>>
>> This command-line utility can be used to simulate a coin flip to get
>> a random exit status.  The probability of success is adjustable using
>> an optional command line parameter.
> [...]
>> This package is a useful core utility for shell scripts that need to
>> do things in a way that is decorrelated in time and infrequent. Usage is
>> simple at the shell prompt:
>>
>> if flipcoin ; then echo heads ; else echo tails ; fi
> 
> Sorry, but I don't believe that someone writing shell scripts is likely to
> not know one of many ways to do this, be it $RANDOM, perl, awk, or, if you
> really want to require something non-essential, rolldice.
> 
> Thus, please reconsider the point of packaging this.
> 
> 
> Meow!
>
Indeed. With bash:

flipcoin() { return $(($RANDOM % 2)); }

if flipcoin ; then echo heads ; else echo tails ; fi

:)



signature.asc
Description: OpenPGP digital signature


Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Jakub Wilk

* Anthony DeRobertis , 2016-04-22, 09:09:

memset(&maxInt, 0xff, sizeof(maxInt));

"maxInt = -1" is would be a more obvious way to write it, IMHO.

Both pale in comparison to UINT32_MAX, also found in .


Meh. The advantage of the existing code is that it doesn't repeat the 
size of valInt/maxInt anywhere. If you were going to give op on this 
nice property, you might as well get rid of maxInt completely, and 
instead of:


((double) maxInt)+1.0

write:

0x1P32



Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Anthony DeRobertis

On 04/22/2016 08:45 AM, Jakub Wilk wrote:



 memset(&maxInt, 0xff, sizeof(maxInt));


"maxInt = -1" is would be a more obvious way to write it, IMHO.


Both pale in comparison to UINT32_MAX, also found in .



Bug#822246: ITP: qt5ct -- Qt5 configuration tool

2016-04-22 Thread Lisandro Damián Nicanor Pérez Meyer
Package: wnpp
Severity: wishlist
Owner: "Lisandro Damián Nicanor Pérez Meyer" 

* Package name: qt5ct
  Version : 0.22
  Upstream Author : Ilya Kotov , 
* URL : https://sourceforge.net/projects/qt5ct
* License : BSD-2-clause
  Programming Lang: C++
  Description : Qt5 configuration tool

This program allows users to configure Qt5 settings like theme, fonts and
icons under a desktop envrionment/window manager without a suitable Qt
platform plugin.



Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Adam Borowski
On Thu, Apr 21, 2016 at 11:11:39PM -0700, Rudi Cilibrasi wrote:
> * Package name: flipcoin
> * URL : https://github.com/rudi-cilibrasi/flipcoin
>   Description : flip an adjustable coin for random exit status
> 
> This command-line utility can be used to simulate a coin flip to get
> a random exit status.  The probability of success is adjustable using
> an optional command line parameter.
[...]
> This package is a useful core utility for shell scripts that need to
> do things in a way that is decorrelated in time and infrequent. Usage is
> simple at the shell prompt:
> 
> if flipcoin ; then echo heads ; else echo tails ; fi

Sorry, but I don't believe that someone writing shell scripts is likely to
not know one of many ways to do this, be it $RANDOM, perl, awk, or, if you
really want to require something non-essential, rolldice.

Thus, please reconsider the point of packaging this.


Meow!
-- 
A tit a day keeps the vet away.



Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Jakub Wilk

Hi Rudi!

[When filing a bug, please use X-Debbugs-CC instead of plain CC, so that 
the copied person (or list) receives the message with bug number from 
the BTS.]


* Rudi Cilibrasi , 2016-04-21, 23:11:

* Package name: flipcoin
 Version : 1.0.0
 Upstream Author : Rudi Cilibrasi 
* URL : https://github.com/rudi-cilibrasi/flipcoin


Um, this page says "0 releases". Has 1.0.0 actually been released?

I'm an enthusiast of small programs that do one thing well. But I'd 
expect a program which is that short to be perfectly polished, and this 
one is not. Here's my review of this code:



 if (argc > 1)
   probability = atof(argv[1]);


No error handling... I'd expect to see an error message when the 
probability cannot be parsed, or it is out of range would be helpful, or 
there are too many arguments.



 memset(&maxInt, 0xff, sizeof(maxInt));


"maxInt = -1" is would be a more obvious way to write it, IMHO.


 fp = fopen("/dev/urandom", "rb");
 if (fp == NULL) {
   fprintf(stderr, "Error: Cannot open /dev/urandom.\n");


The error message doesn't say what the error was, or what program 
caused this error.



   exit(2);


This exit code should be documented in the manpage.


 if (fread(&valInt, 1, sizeof(valInt), fp) != sizeof(valInt)) {
   fprintf(stderr, "Error: Cannot read from /dev/urandom.\n");
   exit(2);


Same problems are above.


 return ((probability * ((double) maxInt)+1.0) < valInt);


This is off-by-one, making the return value slightly biased towards 0.

Both COPYING and LICENSE exist and they are identical. Surely one would 
be enough? :-)


There is no test suite...

All in all, I don't think this is mature enough to be uploaded to Debian 
at this time.


--
Jakub Wilk



Bug#822241: ITP: python-ufo2otf -- Take UFO font sources and generate OTF’s and webfonts

2016-04-22 Thread Pierre Rudloff
Package: wnpp
Severity: wishlist
Owner: Pierre Rudloff 

* Package name: python-ufo2otf
  Version : 0.2.2
  Upstream Author : Eric Schrijver 
* URL : https://github.com/fonts/ufo2otf
* License : BSD
  Programming Lang: Python
  Description : Take UFO font sources and generate OTF’s and webfonts

Ufo2otf is a command line utility that takes UFO font sources and generates
OTF’s and webfonts.

This package could be useful in order to build packages for fonts that are
distributed in UFO format.
It is also quite useful for web developpers that need to build webfonts.



Bug#822226: ITP: pyzo -- Interactive editor for scientific Python

2016-04-22 Thread Ghislain Antony Vaillant
Package: wnpp
Severity: wishlist
Owner: Ghislain Antony Vaillant 

* Package name: pyzo
  Version : 4.1
  Upstream Author : the Pyzo development team
* URL : http://www.pyzo.org/
* License : BSD
  Programming Lang: Python
  Description : Interactive editor for scientific Python

Long-Description:
 Pyzo is a free and open-source computing environment based on Python. If
 you’re used to e.g. Matlab, Pyzo can be considered a free alternative.
 Essentially, Pyzo is a Python IDE, that plays well with conda to manage your
 Python packages (though it works with any Python interpreter), and has a
 website to help newcomers on their way. The IDE is aimed at interactivity and
 simplicity, and consists of an editor, a shell, and a set of tools to help
 the programmer in various ways.

This project results in the merge of the pyzolib and iep projects, which are
both packaged and currently maintained by myself under the Debian Science
umbrella. Once the new pyzo application is packaged, both iep and pyzolib
should be removed, since they are no longer actively maintained upstream.