Re: [Factor-talk] MinGW

2009-05-30 Thread Doug Coleman
Ricardo, Thank you for reporting this problem. I've applied a similar patch to factor.sh: +MINGW32*) OS=winnt;; Please let me know if it doesn't work. Doug On May 29, 2009, at 9:46 PM, Ricardo Boccato Alves wrote: +MINGW32_NT-6.0) OS=winnt;;

Re: [Factor-talk] Digits of Pi

2009-05-30 Thread Slava Pestov
Hi Peter, Take a look at the implementation in extra/benchmark/pidigits/, it's a bit cleaner. Slava On Fri, May 29, 2009 at 11:04 PM, Peter Salvi vuk...@yahoo.com wrote: Hi, after spending a few nights reading Factor code, I've decided to try my hand at writing some code myself. I selected

Re: [Factor-talk] Pull Request

2009-05-30 Thread Slava Pestov
Good job, a fast JSON parser would be very useful to have. I have two suggestions for your code: - You should remove the old PEG parser from the source. There is no point keeping it around if your version is faster. - Don't use with-datastack as a workaround for making your code pass the

Re: [Factor-talk] list

2009-05-30 Thread Slava Pestov
On Fri, May 29, 2009 at 11:03 PM, Hugh Aguilar hugoagui...@rosycrew.com wrote: I'm aware of unit testing, having read about it in a book: Foundations of Agile Python Development (Jeff Younker). I don't have much experience with it in any language though (I'm learning Python simultaneously with

Re: [Factor-talk] Digits of Pi

2009-05-30 Thread Peter Salvi
Slava Pestov sl...@... writes: Take a look at the implementation in extra/benchmark/pidigits/, it's a bit cleaner. Thanks, didn't realize that it was already done. Peter -- Register Now for Creativity and

Re: [Factor-talk] Pull Request

2009-05-30 Thread Samuel Tardieu
Slava == Slava Pestov sl...@factorcode.org writes: Slava Good job, a fast JSON parser would be very useful to have. Indeed, it will speed up the couchdb vocabulary as well. Sam -- Samuel Tardieu -- s...@rfc1149.net -- http://www.rfc1149.net/

[Factor-talk] voting simulation

2009-05-30 Thread Hugh Aguilar
Thanks for the pointers to books on voting systems; I'll look into them. BTW, you are correct that PV means plurality voting, not preferential voting. Personally, I call it tribal voting because it tends to segregate people into tribes (liberals versus conservatives, etc.), with each tribe