Re: CVS commit: src/games/larn

2024-03-24 Thread Valery Ushakov
On Sun, Mar 24, 2024 at 21:21:39 +0200, Andrius V wrote: > Can you a bit clarify the meaning of "8 space tabs" This is what VT set up screen called "Set 8 Column Tabs", i.e. "set one tab every eight columns, starting at column 9" which was the default setting. https://vt100.net/docs/tp83/chapter

Re: CVS commit: src/games/larn

2024-03-24 Thread Andrius V
Hi, Can you a bit clarify the meaning of "8 space tabs", since file is not exactly following any completely defined pattern. Should I use tabs before multiline comment text (*^I^I) and align text between routine name and description, also remove all unnecessary whitespace characters? Attached refo

Re: CVS commit: src/games/larn

2024-03-23 Thread Valery Ushakov
On Sat, Mar 23, 2024 at 21:10:45 +, Andrius Varanavicius wrote: > Modified Files: > src/games/larn: io.c > > Log Message: > Attempt to fix descriptions of the routines in the initial comment block. Please, can you fix this to use 8 space tabs as the rest of the file does, as can be ver

Re: CVS commit: src/games/hack

2023-07-30 Thread David Holland
On Sun, Jul 30, 2023 at 09:23:22AM +, Masatake Daimon wrote: > Modified Files: > src/games/hack: hack.o_init.c > > Log Message: > hack(6): Fix a segfault that occurs when ASLR is enabled > > Prior to this change, savenames() would store "objects" in save files as a > blob, and re

Re: CVS commit: src/games/battlestar

2020-02-05 Thread Roy Marples
On 05/02/2020 21:28, Joerg Sonnenberger wrote: On Wed, Feb 05, 2020 at 08:11:54PM +, Santhosh Raju wrote: Module Name:src Committed By: fox Date: Wed Feb 5 20:11:54 UTC 2020 Modified Files: src/games/battlestar: parse.c Log Message: games/battlestar: Fix the -Werro

Re: CVS commit: src/games/battlestar

2020-02-05 Thread Joerg Sonnenberger
On Wed, Feb 05, 2020 at 08:11:54PM +, Santhosh Raju wrote: > Module Name: src > Committed By: fox > Date: Wed Feb 5 20:11:54 UTC 2020 > > Modified Files: > src/games/battlestar: parse.c > > Log Message: > games/battlestar: Fix the -Werror=restrict warning. > > Replace strcpy(

Re: CVS commit: src/games/wtf

2018-08-16 Thread Hisashi T Fujinaka
On Thu, 16 Aug 2018, Joerg Sonnenberger wrote: On Thu, Aug 16, 2018 at 02:18:37PM +, m...@netbsd.org wrote: On Thu, Aug 16, 2018 at 03:41:59PM +0200, Joerg Sonnenberger wrote: On Thu, Aug 16, 2018 at 01:31:04PM +, Maya Rashish wrote: Module Name:src Committed By: maya Date:

Re: CVS commit: src/games/wtf

2018-08-16 Thread Joerg Sonnenberger
On Thu, Aug 16, 2018 at 02:18:37PM +, m...@netbsd.org wrote: > On Thu, Aug 16, 2018 at 03:41:59PM +0200, Joerg Sonnenberger wrote: > > On Thu, Aug 16, 2018 at 01:31:04PM +, Maya Rashish wrote: > > > Module Name: src > > > Committed By: maya > > > Date: Thu Aug 16 13:31:

Re: CVS commit: src/games/wtf

2018-08-16 Thread maya
On Thu, Aug 16, 2018 at 03:41:59PM +0200, Joerg Sonnenberger wrote: > On Thu, Aug 16, 2018 at 01:31:04PM +, Maya Rashish wrote: > > Module Name:src > > Committed By: maya > > Date: Thu Aug 16 13:31:04 UTC 2018 > > > > Modified Files: > > src/games/wtf: wtf > >

Re: CVS commit: src/games/wtf

2018-08-16 Thread Joerg Sonnenberger
On Thu, Aug 16, 2018 at 01:31:04PM +, Maya Rashish wrote: > Module Name: src > Committed By: maya > Date: Thu Aug 16 13:31:04 UTC 2018 > > Modified Files: > src/games/wtf: wtf > > Log Message: > Try freebsd's pkg-info as well > > From John Hein, via Nikolai Lifanov. PR misc/52

Re: CVS commit: src/games/fortune/datfiles

2017-12-06 Thread Kamil Rytarowski
On 06.12.2017 17:58, Taylor R Campbell wrote: >> Date: Wed, 6 Dec 2017 16:41:27 +0800 (+08) >> From: Paul Goyette >> >>> Oh, and I'd also change "its canine barking" to "its barking," (note the >>> addition of a comma), which would make that sentence flow better, and >>> avoid the unnecessary re-u

Re: CVS commit: src/games/fortune/datfiles

2017-12-06 Thread Taylor R Campbell
> Date: Wed, 6 Dec 2017 16:41:27 +0800 (+08) > From: Paul Goyette > > > Oh, and I'd also change "its canine barking" to "its barking," (note the > > addition of a comma), which would make that sentence flow better, and > > avoid the unnecessary re-use of the word 'canine'. > > Hmmm, it'd be nice

Re: CVS commit: src/games/fortune/datfiles

2017-12-06 Thread Paul Goyette
On Wed, 6 Dec 2017, Tom Ivar Helbekkmo wrote: Tom Ivar Helbekkmo writes: "stop out journey" should be "stop our journey", and the last sentence should probably be "It seems that you care more about barking than the dog does, and more about winning the war with a lousy puppy than about reachin

Re: CVS commit: src/games/fortune/datfiles

2017-12-06 Thread Tom Ivar Helbekkmo
Tom Ivar Helbekkmo writes: > "stop out journey" should be "stop our journey", and the last sentence > should probably be "It seems that you care more about barking than the > dog does, and more about winning the war with a lousy puppy than about > reaching the destination quickly." Oh, and I'd a

Re: CVS commit: src/games/fortune/datfiles

2017-12-06 Thread Tom Ivar Helbekkmo
Kamil Rytarowski writes: > Add new fortune entry with a quote from Jozef Pilsudski diff -u -u -r1.66 -r1.67 --- games/fortune/datfiles/fortunes 18 Nov 2017 20:48:50 - 1.66 +++ games/fortune/datfiles/fortunes 5 Dec 2017 22:51:59 - 1.67 @@ -16220,3 +16220,15 @@ % I hav

Re: CVS commit: src/games/fortune/datfiles

2017-11-19 Thread Jaromír Doleček
I'd ask you to revert this nonsense. Jaromir 2017-11-18 21:48 GMT+01:00 Maya Rashish : > Module Name:src > Committed By: maya > Date: Sat Nov 18 20:48:50 UTC 2017 > > Modified Files: > src/games/fortune/datfiles: fortunes fortunes2 fortunes2-o.real > > Log Message: > Remo

Re: CVS commit: src/games/fortune/datfiles

2017-11-18 Thread John Nemeth
On Nov 18, 8:48pm, "Maya Rashish" wrote: } } Module Name: src } Committed By: maya } Date: Sat Nov 18 20:48:50 UTC 2017 } } Modified Files: } src/games/fortune/datfiles: fortunes fortunes2 fortunes2-o.real } } Log Message: } Remove a few offensive quotes, put in as many new quote

Re: CVS commit: src/games/fortune/datfiles

2017-11-18 Thread Paul Goyette
Given that the discussion on "add-one, remove-one" is still on-going and nowhere near a resolution, I really think that this commit should be reverted. At the very least, those entries that were removed need to be restored. On Sat, 18 Nov 2017, Maya Rashish wrote: Module Name:src Commi

Re: CVS commit: src/games/fortune/datfiles

2017-11-18 Thread Tom Ivar Helbekkmo
John Nemeth writes: > Log Message: > add quote about libraries offending everyone Nice! Thank you! -tih -- Most people who graduate with CS degrees don't understand the significance of Lisp. Lisp is the most important idea in computer science. --Alan Kay

Re: CVS commit: src/games/tetris

2017-03-21 Thread Joerg Sonnenberger
On Mon, Mar 20, 2017 at 06:05:27PM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Mon Mar 20 22:05:27 UTC 2017 > > Modified Files: > src/games/tetris: screen.c > > Log Message: > elide compiler stupidity. This sounds really wrong to me. What are

Re: CVS commit: src/games/atc

2015-07-28 Thread Valery Ushakov
On Tue, Jul 28, 2015 at 05:36:59 +, David Holland wrote: > On Sun, Jul 26, 2015 at 10:22:24PM +, Thomas Klausner wrote: > > Modified Files: > >src/games/atc: atc.6 > > > > Log Message: > > Use An in AUTHORS section. > > Shouldn't the uucp address be .Aq'd too? I don't think so.

Re: CVS commit: src/games/atc

2015-07-28 Thread Thomas Klausner
On Tue, Jul 28, 2015 at 05:36:59AM +, David Holland wrote: > On Sun, Jul 26, 2015 at 10:22:24PM +, Thomas Klausner wrote: > > Modified Files: > >src/games/atc: atc.6 > > > > Log Message: > > Use An in AUTHORS section. > > Shouldn't the uucp address be .Aq'd too? Or just plain re

Re: CVS commit: src/games/atc

2015-07-27 Thread David Holland
On Sun, Jul 26, 2015 at 10:22:24PM +, Thomas Klausner wrote: > Modified Files: > src/games/atc: atc.6 > > Log Message: > Use An in AUTHORS section. Shouldn't the uucp address be .Aq'd too? -- David A. Holland dholl...@netbsd.org

re: CVS commit: src/games/tetris

2015-06-13 Thread matthew green
"David A. Holland" writes: > Module Name: src > Committed By: dholland > Date: Sat Jun 13 04:15:51 UTC 2015 > > Modified Files: > src/games/tetris: tetris.c > > Log Message: > Fix the list of keys across the bottom so it fits on an 80-column screen > again. Fixes PR 49937. > > HI

Re: CVS commit: src/games/monop

2014-12-29 Thread Christoph Egger
Am 29.12.14 um 11:27 schrieb John Nemeth: > Module Name: src > Committed By: jnemeth > Date: Mon Dec 29 10:27:03 UTC 2014 > > Modified Files: > src/games/monop: cards.c > > Log Message: > PR/49513 - Henning Petersen -- tyop > > > To generate a diff of this commit: > cvs rdiff -u

Re: CVS commit: src/games/hunt/huntd

2014-03-29 Thread David Holland
On Fri, Mar 28, 2014 at 05:49:11PM +, Alan Barrett wrote: > Module Name: src > Committed By:apb > Date:Fri Mar 28 17:49:11 UTC 2014 > > Modified Files: > src/games/hunt/huntd: get_names.c > > Log Message: > If you are going to use memcpy instead of struct

Re: CVS commit: src/games/sail

2014-03-29 Thread David Holland
On Fri, Mar 28, 2014 at 05:53:47PM +, Alan Barrett wrote: > Modified Files: > src/games/sail: dr_2.c > > Log Message: > temp is a pointer, and tempmax, not sizeof(temp), is the length of > the buffer that it points to. Adjust a strlcat() call to suit. Oops, apparently my fault...

Re: CVS commit: src/games

2014-03-23 Thread Christos Zoulas
In article <20140323125252.gx20...@snowdrop.l8s.co.uk>, David Laight wrote: > >For instance with: > for (int i = 0; i < sizeof foo; i++) >it can't matter that the comparison is unsigned because 'i' can be >assumed to be non-negative (even if 'sizeof foo' is greater than MAXINT). But then y

Re: CVS commit: src/games

2014-03-23 Thread David Laight
On Sun, Mar 23, 2014 at 12:17:40AM +, David A. Holland wrote: > Module Name: src > Committed By: dholland > Date: Sun Mar 23 00:17:40 UTC 2014 > > Modified Files: > src/games: Makefile.inc > > Log Message: > Add note cautioning against bothering with WARNS=6 until gcc improves

Re: CVS commit: src/games/backgammon

2013-09-15 Thread David Holland
On Sat, Sep 14, 2013 at 01:56:27PM +0200, Joerg Sonnenberger wrote: > > > Modified Files: > > > src/games/backgammon/common_source: subs.c > > > src/games/backgammon/teachgammon: teach.c > > > > > > Log Message: > > > GC descr and helpm. > > > > What did we break in

Re: CVS commit: src/games/backgammon

2013-09-14 Thread Joerg Sonnenberger
On Sat, Sep 14, 2013 at 04:58:12AM +, David Holland wrote: > On Fri, Sep 13, 2013 at 08:46:50PM +, Joerg Sonnenberger wrote: > > Modified Files: > >src/games/backgammon/common_source: subs.c > >src/games/backgammon/teachgammon: teach.c > > > > Log Message: > > GC descr and he

Re: CVS commit: src/games/backgammon

2013-09-13 Thread David Holland
On Fri, Sep 13, 2013 at 08:46:50PM +, Joerg Sonnenberger wrote: > Modified Files: > src/games/backgammon/common_source: subs.c > src/games/backgammon/teachgammon: teach.c > > Log Message: > GC descr and helpm. What did we break in gcc WARNS such that it didn't catch these? It

Re: CVS commit: src/games/phantasia

2013-02-17 Thread Jared McNeill
I've updated the commit message for src/games/phantasia/Makefile r1.36 and src/games/adventure/Makefile r1.14 to clarify the issue: Workaround a toolchain issue by renaming the 'setup' host tool to 'mkdata' to make UAC happy when building with Cygwin. As described here -- http://msdn.microsof

Re: CVS commit: src/games/phantasia

2013-02-17 Thread Martin Husemann
On Sun, Feb 17, 2013 at 09:39:18AM -0500, Jared McNeill wrote: > permissions. Christos fixed this in bsd.hostprog.mk but the two culprits > in src/games don't use that mechanism (and should probably be fixed to do > so). I understand - but the point is: a cvs log refering to an unqualified acron

Re: CVS commit: src/games/phantasia

2013-02-17 Thread Jared McNeill
On Sun, 17 Feb 2013, Martin Husemann wrote: For those happy to never been exposed to this acronym: he is talking about the Windows User Annoyance Coolaid which campaigns with it's brother VUS (Keep virtualy all Users Stupid) to make expert users (defined as those users that grok the concept of a

Re: CVS commit: src/games/phantasia

2013-02-17 Thread Martin Husemann
On Sat, Feb 16, 2013 at 05:00:21PM +, Jared D. McNeill wrote: > Module Name: src > Committed By: jmcneill > Date: Sat Feb 16 17:00:21 UTC 2013 > > Modified Files: > src/games/phantasia: Makefile > > Log Message: > Rename 'setup' host tool to 'mkdata' to make UAC happen when bui

Re: CVS commit: src/games/fortune/datfiles

2012-12-08 Thread John Nemeth
On Apr 30, 5:29pm, David Holland wrote: } On Sat, Dec 08, 2012 at 10:38:10PM +, John Nemeth wrote: } > Modified Files: } >src/games/fortune/datfiles: fortunes2 } > } > Log Message: } > Add some quotes by Henry Ford, found at: } > } > http://www.goodreads.com/author/quotes/203714.H

Re: CVS commit: src/games/fortune/datfiles

2012-12-08 Thread David Holland
On Sat, Dec 08, 2012 at 10:38:10PM +, John Nemeth wrote: > Modified Files: > src/games/fortune/datfiles: fortunes2 > > Log Message: > Add some quotes by Henry Ford, found at: > > http://www.goodreads.com/author/quotes/203714.Henry_Ford surely the first and last of these are redun

Re: CVS commit: src/games/adventure

2012-10-12 Thread David Holland
On Fri, Oct 12, 2012 at 05:06:28PM +0400, Aleksej Saushev wrote: > > + for (pos = 0; pos < sizeof(fname - 1); pos++) { > > "sizeof(fname-1)"?? $#%@*!^$#!!@@! -- David A. Holland dholl...@netbsd.org

Re: CVS commit: src/games/adventure

2012-10-12 Thread Warner Losh
On Oct 12, 2012, at 7:06 AM, Aleksej Saushev wrote: > "David A. Holland" > writes: > >> Module Name: src >> Committed By:dholland >> Date:Fri Oct 12 10:38:53 UTC 2012 >> >> Modified Files: >> src/games/adventure: wizard.c >> >> Log Message: >> Pass -Wstrict-overfl

Re: CVS commit: src/games/adventure

2012-10-12 Thread Aleksej Saushev
"David A. Holland" writes: > Module Name: src > Committed By: dholland > Date: Fri Oct 12 10:38:53 UTC 2012 > > Modified Files: > src/games/adventure: wizard.c > > Log Message: > Pass -Wstrict-overflow. > > > To generate a diff of this commit: > cvs rdiff -u -r1.14 -r1.15 src/games

Re: CVS commit: src/games/sail

2011-08-25 Thread David Holland
On Thu, Aug 25, 2011 at 12:18:29PM -0400, Christos Zoulas wrote: > Modified Files: > src/games/sail: pl_7.c > > Log Message: > add printf attributes. please use __printflike() instead of __attribute__(__format__)... -- David A. Holland dholl...@netbsd.org

Re: CVS commit: src/games/atc

2011-02-15 Thread David Holland
On Tue, Feb 15, 2011 at 08:25:26AM +, Ignatios Souvatzis wrote: > Modified Files: > src/games/atc: update.c > > Log Message: > Bug fix: in a game with 26 planes, the last one to be allocated wouldn't > be allocated if it was the only eligible one. > From Jonathan David Amery via De

Re: CVS commit: src/games/boggle/boggle

2010-12-04 Thread Paul Goyette
I thought about that, but checked a couple other games, and they all hard-code the program name... So I just make boggle consistent with others. I'd be happy to fix boggle (and tetris and snake) to use getprogname(3) but not sure I want to sign up to check everything. :) On Sun, 5 Dec 2

Re: CVS commit: src/games/boggle/boggle

2010-12-04 Thread Joerg Sonnenberger
On Sun, Dec 05, 2010 at 04:11:52AM +, Paul Goyette wrote: > Module Name: src > Committed By: pgoyette > Date: Sun Dec 5 04:11:52 UTC 2010 > > Modified Files: > src/games/boggle/boggle: bog.c > > Log Message: > Since this game is installed as 'boggle', fix the usage() text to m

Re: CVS commit: src/games/factor

2010-05-16 Thread Jukka Ruohonen
On Sun, May 16, 2010 at 01:11:08PM +, Quentin Garnier wrote: > Honestly, I don't see anyone doing stricto sensu maths on a computer > limiting their tools to NetBSD'd games.tgz. Indeed. Maybe add some math book as a reference so that we can blame the author instead of each other from the algeb

Re: CVS commit: src/games/factor

2010-05-16 Thread David Holland
On Sun, May 16, 2010 at 10:49:22PM +0200, Martin Husemann wrote: > On Sun, May 16, 2010 at 07:30:54PM +, David Holland wrote: > > of which at least the 0 case is clearly incorrect... > > That obviously depends on the meaning you give the output, which is > not well defined in the man page

Re: CVS commit: src/games/factor

2010-05-16 Thread Aleksej Saushev
Joerg Sonnenberger writes: > On Mon, May 17, 2010 at 12:47:53AM +0400, Aleksej Saushev wrote: >> Joerg Sonnenberger writes: >> >> > On Sun, May 16, 2010 at 08:12:57PM +0400, Aleksej Saushev wrote: >> >> I have spent several years studying math and I say that this approach is >> >> wrong >> >>

Re: CVS commit: src/games/factor

2010-05-16 Thread Aleksej Saushev
Martin Husemann writes: > On Sun, May 16, 2010 at 07:30:54PM +, David Holland wrote: >> of which at least the 0 case is clearly incorrect... > > That obviously depends on the meaning you give the output, which is > not well defined in the man page and obviously a lot people around > here disa

Re: CVS commit: src/games/factor

2010-05-16 Thread Joerg Sonnenberger
On Mon, May 17, 2010 at 12:47:53AM +0400, Aleksej Saushev wrote: > Joerg Sonnenberger writes: > > > On Sun, May 16, 2010 at 08:12:57PM +0400, Aleksej Saushev wrote: > >> I have spent several years studying math and I say that this approach is > >> wrong > >> both in mathematical and procedural s

Re: CVS commit: src/games/factor

2010-05-16 Thread Martin Husemann
On Sun, May 16, 2010 at 07:30:54PM +, David Holland wrote: > of which at least the 0 case is clearly incorrect... That obviously depends on the meaning you give the output, which is not well defined in the man page and obviously a lot people around here disagree about. I would say the list of

Re: CVS commit: src/games/factor

2010-05-16 Thread Aleksej Saushev
Joerg Sonnenberger writes: > On Sun, May 16, 2010 at 08:12:57PM +0400, Aleksej Saushev wrote: >> I have spent several years studying math and I say that this approach is >> wrong >> both in mathematical and procedural sense. It is perfectly valid to count 0, >> +1 and -1 as prime numbers and thu

re: CVS commit: src/games/factor

2010-05-16 Thread matthew green
> I'm surprised to see so little common sense in all the discussions about > factor(6). The reasons why 1, -1 or negative numbers are not defined as i couldn't agree more. i don't even seen why it matters what the definition of "prime" is for this. irrespective of what a prime number is, "1"

Re: CVS commit: src/games/factor

2010-05-16 Thread David Holland
On Sun, May 16, 2010 at 04:30:45PM +0200, Martin Husemann wrote: > > [..] We should make > > our factor(6) compaible to the coreutils one, just in case POSIX picks > > it up in the next revision ;-} > > Just in case it's not clear from upthread (tech-userlevel): that > compatibility > mean

Re: CVS commit: src/games/factor

2010-05-16 Thread Joerg Sonnenberger
On Sun, May 16, 2010 at 08:12:57PM +0400, Aleksej Saushev wrote: > I have spent several years studying math and I say that this approach is wrong > both in mathematical and procedural sense. It is perfectly valid to count 0, > +1 and -1 as prime numbers and thus factor any finite ones, it just invo

Re: CVS commit: src/games/factor

2010-05-16 Thread Dennis den Brok
On 2010-05-16, David Laight wrote: > The definition of primality gets taken from that of the positive (or > non-negative integers) and applied more generally to other mathematical > objects - in particular 'fields'. > In field theory you need a definition that applies to any field, not > just the

Re: CVS commit: src/games/factor

2010-05-16 Thread Aleksej Saushev
Joerg Sonnenberger writes: > On Sun, May 16, 2010 at 02:10:35PM +0400, Aleksej Saushev wrote: >> Following the logic Joerg uses, one should reject all arguments to sqrt, >> asin, acos, atan, clog, casinh, cacosh, and other inverse functions just >> because they have more than one branch. In "fund

Re: CVS commit: src/games/factor

2010-05-16 Thread Aleksej Saushev
Joerg Sonnenberger writes: > On Sun, May 16, 2010 at 11:03:42AM +0400, Aleksej Saushev wrote: >> > Yes and it was quite interesting. >> >> I don't like your single-handed decision, referring to wiz or kristaps >> doesn't make honour to any of them (did Thomas present any arguments in >> public a

Re: CVS commit: src/games/factor

2010-05-16 Thread David Laight
On Sun, May 16, 2010 at 11:37:43AM +0200, Martin Husemann wrote: > On Sun, May 16, 2010 at 09:54:49AM +0100, David Laight wrote: > > The notion of 'primes' is valid in Z - the definition of a prime is a > > number that has no non-unit factors. > > Well, I only took the forced (for CS students) mat

Re: CVS commit: src/games/factor

2010-05-16 Thread Martin Husemann
On Sun, May 16, 2010 at 04:26:32PM +0200, Martin Husemann wrote: > [..] We should make > our factor(6) compaible to the coreutils one, just in case POSIX picks > it up in the next revision ;-} Just in case it's not clear from upthread (tech-userlevel): that compatibility means: - negative input c

Re: CVS commit: src/games/factor

2010-05-16 Thread Martin Husemann
On Sun, May 16, 2010 at 01:11:08PM +, Quentin Garnier wrote: > [..] The likely source for > input for factor(6) is a cut-and-paste, or the end of a pipeline > crunching some numbers. Sounds like quite a stretch from "common sense" to a pipeline of number crunching scripts with factor at the en

Re: CVS commit: src/games/factor

2010-05-16 Thread Quentin Garnier
On Sun, May 16, 2010 at 02:10:35PM +0400, Aleksej Saushev wrote: [...] > > So nothing about algebra stops you factoring negative numbers. > > However, since the 'prime factors' should be prime numbers, they > > shouldn't include -1, but maybe the smallest factor should be negative. > > While it ma

Re: CVS commit: src/games/factor

2010-05-16 Thread Joerg Sonnenberger
On Sun, May 16, 2010 at 11:03:42AM +0400, Aleksej Saushev wrote: > > Yes and it was quite interesting. > > I don't like your single-handed decision, referring to wiz or kristaps > doesn't make honour to any of them (did Thomas present any arguments in > public at all?). Essentially, you're using f

Re: CVS commit: src/games/factor

2010-05-16 Thread Joerg Sonnenberger
On Sun, May 16, 2010 at 02:10:35PM +0400, Aleksej Saushev wrote: > Following the logic Joerg uses, one should reject all arguments to sqrt, > asin, acos, atan, clog, casinh, cacosh, and other inverse functions just > because they have more than one branch. In "fundamental theory of mathematics" > b

Re: CVS commit: src/games/factor

2010-05-16 Thread Aleksej Saushev
Martin Husemann writes: > On Sun, May 16, 2010 at 09:54:49AM +0100, David Laight wrote: >> The notion of 'primes' is valid in Z - the definition of a prime is a >> number that has no non-unit factors. > > Well, I only took the forced (for CS students) math courses at university, > and it's been q

Re: CVS commit: src/games/factor

2010-05-16 Thread Aleksej Saushev
David Laight writes: > On Sat, May 15, 2010 at 09:22:39PM +, Joerg Sonnenberger wrote: >> >> Log Message: >> Follow the Fundamental Theory of Algebra. Disallow factorising of >> numbers less than 2 as it is not >> - naturally unique (negative numbers) >> - finite (0) >> - non-empty (1) > > T

Re: CVS commit: src/games/factor

2010-05-16 Thread Martin Husemann
On Sun, May 16, 2010 at 09:54:49AM +0100, David Laight wrote: > The notion of 'primes' is valid in Z - the definition of a prime is a > number that has no non-unit factors. Well, I only took the forced (for CS students) math courses at university, and it's been quite some time, but I would have de

Re: CVS commit: src/games/factor

2010-05-16 Thread David Laight
On Sat, May 15, 2010 at 09:22:39PM +, Joerg Sonnenberger wrote: > > Log Message: > Follow the Fundamental Theory of Algebra. Disallow factorising of > numbers less than 2 as it is not > - naturally unique (negative numbers) > - finite (0) > - non-empty (1) The 'Natural numbers (N)' are the po

Re: CVS commit: src/games/factor

2010-05-16 Thread Aleksej Saushev
Joerg Sonnenberger writes: > On Sat, May 15, 2010 at 09:44:34PM +, David Holland wrote: >> On Sat, May 15, 2010 at 09:22:39PM +, Joerg Sonnenberger wrote: >> > Modified Files: >> > src/games/factor: factor.6 factor.c >> > >> > Log Message: >> > Follow the Fundamental Theory of Alg

Re: CVS commit: src/games/factor

2010-05-15 Thread David Holland
On Sat, May 15, 2010 at 11:46:16PM +0200, Joerg Sonnenberger wrote: > > > Discussed with the kristaps and wiz > > > > Did you bother to read tech-userlevel before doing this? > > Yes and it was quite interesting. so you blithely ignored the conclusion? -- David A. Holland dholl...@netbsd

Re: CVS commit: src/games/factor

2010-05-15 Thread Joerg Sonnenberger
On Sat, May 15, 2010 at 09:44:34PM +, David Holland wrote: > On Sat, May 15, 2010 at 09:22:39PM +, Joerg Sonnenberger wrote: > > Modified Files: > >src/games/factor: factor.6 factor.c > > > > Log Message: > > Follow the Fundamental Theory of Algebra. Disallow factorising of > > n

Re: CVS commit: src/games/factor

2010-05-15 Thread David Holland
On Sat, May 15, 2010 at 09:22:39PM +, Joerg Sonnenberger wrote: > Modified Files: > src/games/factor: factor.6 factor.c > > Log Message: > Follow the Fundamental Theory of Algebra. Disallow factorising of > numbers less than 2 as it is not > - naturally unique (negative numbers) >

Re: CVS commit: src/games/larn

2010-04-24 Thread David Holland
On Sat, Apr 24, 2010 at 03:49:17PM +, Christos Zoulas wrote: >> Log Message: >> Handle the "diedtime" field of the player log (which is not the high >> scores file, the append-only log of all games) as int32_t instead of >> time_t. Log files from before the 64-bit time_t change can now be r

Re: CVS commit: src/games/larn

2010-04-24 Thread Christos Zoulas
In article <20100424005615.10d1117...@cvs.netbsd.org>, David A. Holland wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: dholland >Date: Sat Apr 24 00:56:14 UTC 2010 > >Modified Files: > src/games/larn: scores.c > >Log Message: >Handle the "diedtime" field of the player log

Re: CVS commit: src/games/canfield/cfscores

2010-01-03 Thread David Holland
On Fri, Jan 01, 2010 at 11:48:08PM +, Christos Zoulas wrote: > > > imo, lower case "usage" would be more consistent with other commands. > > > >Some grep usage suggests that lowercase outnumbers capitalized by a > >good margin, but there's still a healthy minority of capitalized usage > >m

Re: CVS commit: src/games/canfield/cfscores

2010-01-01 Thread Christos Zoulas
In article <20100101173538.ga17...@netbsd.org>, David Holland wrote: >On Fri, Jan 01, 2010 at 03:33:26PM +0100, Marc Balmer wrote: > > > if (argc > 2) { > > > - printf("Usage: cfscores -a | cfscores [user]\n"); > > > - exit(1); > > > + errx(1, "Usage: cfscores -a | cfsco

Re: CVS commit: src/games/canfield/cfscores

2010-01-01 Thread Marc Balmer
Am 01.01.2010 um 18:35 schrieb David Holland: > On Fri, Jan 01, 2010 at 03:33:26PM +0100, Marc Balmer wrote: >>> if (argc > 2) { >>> - printf("Usage: cfscores -a | cfscores [user]\n"); >>> - exit(1); >>> + errx(1, "Usage: cfscores -a | cfscores [user]"); >> >> i

Re: CVS commit: src/games/canfield/cfscores

2010-01-01 Thread David Holland
On Fri, Jan 01, 2010 at 03:33:26PM +0100, Marc Balmer wrote: > >if (argc > 2) { > > - printf("Usage: cfscores -a | cfscores [user]\n"); > > - exit(1); > > + errx(1, "Usage: cfscores -a | cfscores [user]"); > > imo, lower case "usage" would be more consistent wi

Re: CVS commit: src/games/canfield/cfscores

2010-01-01 Thread Marc Balmer
Am 01.01.2010 um 07:20 schrieb David A. Holland: > Module Name: src > Committed By: dholland > Date: Fri Jan 1 06:20:45 UTC 2010 > > Modified Files: > src/games/canfield/cfscores: cfscores.c > > Log Message: > Send error messages to stderr. Use errx/warnx, not printf. > > > To

Re: CVS commit: src/games/fortune/datfiles

2009-12-08 Thread Marc Balmer
Am 08.12.2009 um 11:13 schrieb Thomas Klausner: > Module Name: src > Committed By: wiz > Date: Tue Dec 8 10:13:39 UTC 2009 > > Modified Files: > src/games/fortune/datfiles: fortunes2 > > Log Message: > was disappointed that someone wrote disappointed with one 'p', so I fixed it.

Re: CVS commit: src/games/robots

2009-08-06 Thread David Holland
On Wed, Aug 05, 2009 at 03:34:09PM -0400, Christos Zoulas wrote: > don't use char values for functions that can return -1; chars are not always > signed. sorry, that was stupid. -- David A. Holland dholl...@netbsd.org