Re: gEDA-user: Perl

2011-05-28 Thread Karl Hammar
wpd: ... I stopped liking perl when I learned why this script didn't do what I expected it to do: Don't expect too much. Every computer system/os/language has their own strange things/visions/words that does not mean what you expect them to. #!/usr/bin/perl -w my @array = (1, 2, 3, 4, 5, 6,

Re: gEDA-user: Fixing the attribute censorship bug

2011-05-28 Thread Kai-Martin Knaak
John Doty wrote: Usage: gnetlist -m censor_fix.scm (other gnetlist args) For use with gsch2pcb and a project file put censor_fix.scm to the local path and call like this: gsch2pcb --gnetlist-arg -m censor-fix.scm project.g2p based on feedback from Kai-Martin, here's an improved version:

Re: gEDA-user: pcjc2 tessellation

2011-05-28 Thread Russell Shaw
On 16/05/11 22:59, Russell Shaw wrote: On 16/05/11 19:26, Peter Clifton wrote: On Mon, 2011-05-16 at 15:54 +1000, Russell Shaw wrote: From pcjc2/src/borast/borast-bentley-ottmann.c, i used some functions to make a small test program to see how bo_contour_to_traps() works. The code is mostly

Re: gEDA-user: Perl

2011-05-28 Thread Dave McGuire
On 5/27/11 10:55 PM, John Doty wrote: My intro to Perl was about 20 years ago, when one of my Japanese colleagues asked me to bring a couple of copies of the Perl book over, because it was unavailable in Japan. So, I bought them at Quantum Books. I read one of them on the long plane flight. My

Re: gEDA-user: Task list for: Solving the light/heavy symbol problem

2011-05-28 Thread Kai-Martin Knaak
Mike Bushroe wrote: (snip) but could the 'packet' of data also have choices for alternate naming in the schematic of pins with multiple uses? Is this supposed to configure individual pins? Or is it more like whole ranges of pins used either as analog input or as digital output? I think, we

Re: gEDA-user: Task list for: Solving the light/heavy symbol problem

2011-05-28 Thread John Griessen
On 05/28/2011 10:01 AM, Dave McGuire wrote: This is my opinion, speaking as a professional developer of both hardware and software: Scheme was a good choice for gEDA, and it should be left alone. The chosen implementation of Scheme, guile, may not be the best tool for the job right now, but

Re: gEDA-user: Perl

2011-05-28 Thread Karl Hammar
Karl: wpd: ... #!/usr/bin/perl -w my @array = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11); print length(@array), \n; ... Maybe things have changed since then, but I spent way too much time being confused by this. If you really want to understand why this prints 2, look at this: $ perl -e

Re: gEDA-user: pcjc2 tessellation

2011-05-28 Thread Russell Shaw
On 29/05/11 00:46, Russell Shaw wrote: On 16/05/11 22:59, Russell Shaw wrote: On 16/05/11 19:26, Peter Clifton wrote: On Mon, 2011-05-16 at 15:54 +1000, Russell Shaw wrote: From pcjc2/src/borast/borast-bentley-ottmann.c, i used some functions to make a small test program to see how