user-pic

Ben Bullock

  • Website: www.lemoda.net/
  • About: Perl user since about 2006, I have also released some CPAN modules.
Subscribe to feed Recent Actions from Ben Bullock

  • C.-Y. Fung commented on Perl Weekly Challenge 93: Max Points and Sum Path

    > that the points of a straight line have to be immediate neighbors and that the lines can only be horizontal, vertical or diagonal. ...

    Hi Ben. Similar to Laurent, I also implemented a solution under a similar interpretation of "straight line(s)".

    As I remember, the event organizer, Mohammad, has expressed that participants can implement a script as the coders preferred whatever reasonable.

    I did my choice due to the two reasons.

    The first is that the two examples provided are the diagonal lines with integral-coordinate points.

    The second r…

  • laurent_r commented on Perl Weekly Challenge 93: Max Points and Sum Path

    Hi Ben, I basically agree with C.-Y. Fung's answer. My method definitely doesn't look for points like (0,0), (1,2), (2,4). As I said in the introduction part, it appears that the given co-ordinates will be integers, that the points of a straight line have to be immediate neighbors (i.e. no gaps between them) and that the lines can only be horizontal, vertical or diagonal. Points like (0,0), (1,2), (2,4) don't fit this bill.

  • C.-Y. Fung commented on From a Reflection on The Weekly Challenge 092 Task 1

    Thank you Ben!

  • C.-Y. Fung commented on From a Reflection on The Weekly Challenge 092 Task 1

    > ...it's actually quite a well-known problem.

    Thank you Ben again. Haha I don't mind about the tone; every stuff in a knowledge domain for a beginner is fresh-new.

  • Toby Inkster commented on Mood Lighting

    The way I currently have it, one cycle takes about 20 minutes; it's very subtle and slow, so a video would not be especially interesting.

    I'll try filming a faster sequence with more contrast between the colours though.

Subscribe to feed Responses to Comments from Ben Bullock

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.