Grokbase Groups Perl golf
FAQ

Search Discussions

416 discussions - 2,537 posts

  • Continuing the thread from Jan 2007 after more than five years, the famous "Hospelian Arabic to Roman Transform" aka HART, as played by Ton in the Fonality Christmas golf challenge, has been ...
    Andrew SavigeAndrew Savige
    Dec 25, 2012 at 7:04 am
    Jan 2, 2013 at 9:26 pm
  • Hi all, there's a new Golf server called Anarchy Golf, which supports Perl (perl-5.12.4) and many other languages: http://golf.shinh.org/ One feature of it is that the solutions are revealed after a ...
    Shlomi FishShlomi Fish
    Dec 26, 2011 at 9:13 am
    Dec 26, 2011 at 9:13 am
  • One more: http://www.perlmonks.org/?node_id=903641 Cheers /-\
    Andrew SavigeAndrew Savige
    May 14, 2011 at 6:54 am
    May 18, 2011 at 9:01 pm
  • This series is now complete with the addition of two bonus episodes: * http://www.perlmonks.org/?node_id=811919 (Part V) * http://www.perlmonks.org/?node_id=814900 (Part VI) For nostalgia buffs, ...
    Andrew SavigeAndrew Savige
    Jan 2, 2010 at 7:42 pm
    Jan 2, 2010 at 7:42 pm
  • this was an attempt to make a password generator that creates the same ASCII password every time, given an arbitrary string. (basically 1 password per website) this is what i have so far: echo ...
    Eric WaguespackEric Waguespack
    Oct 9, 2009 at 9:59 pm
    Oct 10, 2009 at 3:38 am
  • I needed to remove blank-line-separated chunks of code from a text file if those chunks contained any lines which were 'too long'. So in glorious hyper-verbose mode, I did the following: ...
    Phil CarmodyPhil Carmody
    Jun 24, 2009 at 1:02 pm
    Jun 25, 2009 at 12:53 pm
  • I've finally completed a series of four articles on code golf, entitled "The golf course looks great, my swing feels good, I like my chances": * http://www.perlmonks.org/?node_id=759963 (Part I) * ...
    Andrew SavigeAndrew Savige
    May 10, 2009 at 7:52 am
    May 11, 2009 at 11:15 am
  • We need dollar-free golf! In order to answer the question "what ratio of words in the SOWPODS wordlist share no letters in common with the word mackerel?", I quickly threw this together: perl -ne ...
    Phil CarmodyPhil Carmody
    Apr 26, 2009 at 8:18 am
    Apr 27, 2009 at 9:36 am
  • Hi, y'all, Can anyone beat 55 on this? I don't know if we ever did it as a challenge. Should I search for it in the book? -- Jasper
    JasperJasper
    Jun 17, 2008 at 10:44 am
    Jun 17, 2008 at 10:44 am
  • I used perl "v5.8.5 built for i386-linux-thread-multi". My data: ##################### File:color.txt chartreuse deeppink goldenrod lightblue dodgerblue darkgoldenrod My scripts: ...
    Zhu ShanshanZhu Shanshan
    Jun 12, 2008 at 4:00 am
    Jun 12, 2008 at 1:15 pm
  • Has anyone been golfing the google challenges? I've got the robot one to around 74 characters (not including the 'use Math::BigInt' :)) The other one didn't seem all that interesting in comparison.. ...
    JasperJasper
    May 27, 2008 at 11:28 am
    May 30, 2008 at 9:07 am
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Keep On Swinging" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Great Chain ...
    Peter JohnckePeter Johncke
    Apr 14, 2008 at 5:55 am
    Apr 14, 2008 at 5:55 am
  • I saw this on sci.math, and thought "one liner" ;-) I even think a DP non-recursive approach should be quite quick. Keeping the output in the logical order might cost a few strokes. #!/usr/bin/perl ...
    Phil CarmodyPhil Carmody
    Nov 15, 2007 at 1:06 pm
    May 19, 2008 at 3:59 pm
  • Hey, I'm looking for a list of the polish golfs, with rules and test programs, but kernelpanic.pl, where I expected to find them, seems reluctant to give them up. I'm just organizizing a little ...
    JasperJasper
    Jul 17, 2007 at 1:14 pm
    Jul 17, 2007 at 1:14 pm
  • Say I had a string satisfying /^[A-Z_]{6}$/, but not equal to '______' and I wish to extract from that the 1 or 2 letters which are closest to the n-th character in the string. Is there a simple ...
    Phil CarmodyPhil Carmody
    Jun 27, 2007 at 12:46 pm
    Jun 28, 2007 at 10:53 am
  • http://www.theregister.co.uk/2007/02/02/myspace_spoofers_sue/ the same Mr Kamkar? -- Jasper
    JasperJasper
    Feb 2, 2007 at 11:14 am
    Feb 2, 2007 at 11:14 am
  • http://www.fonality.com/golf/ They are sneakily using it for recruiting (read the rules), but in compensation it seems to have real prizes. -- "Sometimes a hacker has a problem, and he thinks to ...
    Ton HospelTon Hospel
    Dec 25, 2006 at 7:32 pm
    Feb 14, 2007 at 3:54 am
  • Currently the file below renames files by changing spaces to underscores. usage: find | ./file_name_fixer.pl how could it be shortened up? I would eventually like to modify it so that it will will ...
    Eric WaguespackEric Waguespack
    Mar 24, 2006 at 11:33 pm
    Mar 30, 2006 at 10:56 am
  • Hi, I just discovered this, and do not know if it's commonly used in golf (it's been a long time since I last played): if you only need a single hash in your script, you can use the symbol table ...
    Philippe 'BooK' BruhatPhilippe 'BooK' Bruhat
    Mar 23, 2006 at 10:40 pm
    Apr 2, 2006 at 10:21 am
  • It seems that Python golf tournaments have started: http://www.pycontest.net/ except they don't call it golf, instead describing it as "shortest python coding contest". What I think is the first ...
    Andrew SavigeAndrew Savige
    Feb 8, 2006 at 7:45 pm
    Feb 16, 2006 at 12:54 am
  • I can't see any activity since some time here. Have I lost you? Have you stopped playing? neko -- neko@greenie.muc.de Simone Demmel Muenchen (Germany) Fax.: 089/356 550 25 ...
    Neko (Simone Demmel)Neko (Simone Demmel)
    Jan 18, 2006 at 10:54 pm
    Mar 16, 2006 at 9:39 am
  • Actually, I'm just trying to work out why: '^'.(grep$_[$_],1..@_)[0] ..wouldn't always win if it got executed first. ~ Bruce
    Bruce PrestonBruce Preston
    Oct 18, 2005 at 12:32 pm
    Oct 19, 2005 at 3:12 am
  • Is PerlWar alpha working? How can I play? I want to play! I tried uploading an agent and I'm not sure if it worked. Looks like the game is stuck on iteration 3. -- Paul Baker "Yes, we did produce a ...
    Paul BakerPaul Baker
    Oct 17, 2005 at 3:55 pm
    Oct 18, 2005 at 1:36 pm
  • After way too long in the making, I am proud to announce that a first beta of Perlwar is finally available to the public. "Glad to hear that. But what is PerlWar?" PerlWar is loosely inspired by the ...
    Yanick ChampouxYanick Champoux
    Oct 17, 2005 at 1:52 am
    Oct 18, 2005 at 1:00 am
  • Yep, your eyes does not deceive you. We have actually started a new golf here at http://terje2.perlgolf.org I hope there still is some perl golfers out there itching for a new challenge. The task ...
    Terje KristensenTerje Kristensen
    Sep 9, 2005 at 7:15 am
    Sep 23, 2005 at 6:41 pm
  • There's a new Perl Mini-Golf Circle at kernelpanic.pl: http://kernelpanic.pl/perlgolf-list.mx It started today and ends at 16-Aug. Regards, Shlomi Fish ...
    Shlomi FishShlomi Fish
    Aug 9, 2005 at 11:42 am
    Aug 17, 2005 at 9:59 am
  • Hello All! Three months before, the book on perlgolf has started. Now you can download it from http://terje2.perlgolf.org/~golf-info/Book.html Hope you'll like it. -- Mtv Europe
    Mtv EuropeMtv Europe
    Jul 2, 2005 at 5:08 pm
    Jul 16, 2005 at 12:59 pm
  • 'twould be good to consult some golfers on what they would find helpful. (No, I'm not joking.)
    Yitzchak Scott-ThoennesYitzchak Scott-Thoennes
    May 5, 2005 at 12:15 am
    May 5, 2005 at 11:45 am
  • Minus another char: perl -pi -e 's//< /e;eof||redo' in.file
    Johnson, Roy R SIEPJohnson, Roy R SIEP
    Mar 10, 2005 at 7:07 pm
    Mar 11, 2005 at 8:46 am
  • Traditional way: perl -i -ne 'unshift@_,$_;eof&&print@_' in.file ----------------------------------------------------------------- http://gbg.bg/search - Изпробвайте още сега най-добрата българска ...
    Vidul PetrovVidul Petrov
    Mar 10, 2005 at 7:06 pm
    Mar 10, 2005 at 7:06 pm
  • A new article on Perl Golf has appeared at PM: http://www.perlmonks.org/?node_id=437032 Someone has enquired about the true identity of Ton Hospel and I didn't really know how to answer. /-\ Find ...
    Andrew SavigeAndrew Savige
    Mar 8, 2005 at 11:08 am
    Mar 11, 2005 at 9:46 am
  • I threw this together last night just for fun, and I reckon that it could probably be made pretty tiny; particularly if the numeric command-line arguments were ditched and turned into constants (24 ...
    Phil CarmodyPhil Carmody
    Jan 7, 2005 at 8:48 am
    Jan 7, 2005 at 8:48 am
  • Hi all, At work, I had to write a little subroutine that took the vertices of a rectilinear polygon, decomposed it into rectangles and returned their vertices. My solution is pretty long. I thought ...
    Ala QumsiehAla Qumsieh
    Oct 26, 2004 at 5:57 pm
    Oct 26, 2004 at 5:57 pm
  • Golfers, Please excuse the non-perl nature of this question. It's golf coding question but in Excel not perl so LAMP's in the audience can press delete now :-). I'm hoping some of you aliens out ...
    McGlinchy, AlistairMcGlinchy, Alistair
    Oct 26, 2004 at 12:58 pm
    Oct 28, 2004 at 4:40 pm
  • History records that Alan Shepard of Earth was the first to play golf on the moon in 1971, closely followed by Ton Hospel of Betelgeuse in 1974.(1) If you want to play golf on Saturn, I just noticed ...
    Andrew SavigeAndrew Savige
    Oct 15, 2004 at 7:56 am
    Oct 15, 2004 at 7:56 am
  • Hello all, new perlgolf has started: http://kernelpanic.pl/perlgolf-view.mx?id=41 Sorry for posting this message so late, I had technical problems :-) There are still 2 days left, and if someone ...
    Maciej MisiakMaciej Misiak
    Sep 27, 2004 at 5:09 pm
    Sep 27, 2004 at 5:09 pm
  • Well, Belfast was a bit of a let-down from the golfer's POV, not least because the organizers had forgotten to buy name badges, so identifying people was difficult. Honza Pazdziora and Phillipe ...
    JasperJasper
    Sep 20, 2004 at 11:04 am
    Sep 20, 2004 at 3:19 pm
  • Golfers, This list has been a tad quiet for a while so I thought I'd throw in a golfy puzzle. For some reason the keys on my keyboard temporarily rearranged themselves today and a quick one-liner I ...
    McGlinchy, AlistairMcGlinchy, Alistair
    Sep 1, 2004 at 7:34 pm
    Sep 14, 2004 at 8:52 pm
  • Just wondering if I'll be putting any faces to names from this list in Belfast in a few weeks. I'll be there, but then it's my home town, too, so I'd be bad not to show up. -- Jasper
    JasperJasper
    Aug 30, 2004 at 9:48 pm
    Aug 30, 2004 at 9:48 pm
  • http://kernelpanic.pl/perlgolf-view.mx?id=40 see you there... szeryf
    SzeryfSzeryf
    Aug 25, 2004 at 6:05 am
    Aug 25, 2004 at 6:05 am
  • Chandeliers & Crystal glass works of Art Looking for a brilliant crystal chandelier or crystal glass-related merchandise? Than we have just what you're looking for. Our Czech crystal products and ...
    InfoInfo
    Aug 24, 2004 at 7:24 pm
    Aug 24, 2004 at 7:24 pm
  • Hello All! New golf "Tennis Scoresheet" has started, thanks to TopMach: http://terje2.perlgolf.org/~pgas/score.pl?func=rules&hole=67 -- Mtv Europe
    Mtv EuropeMtv Europe
    Aug 10, 2004 at 7:25 pm
    Aug 17, 2004 at 3:12 pm
  • As I anticipate being unable to decipher any of the winning solutions, I'd be much obliged if some of you better-than-median folks would post an ungolfed Alternate solution illustrating your ...
    Johnson, Roy R SIEPJohnson, Roy R SIEP
    Aug 3, 2004 at 4:36 pm
    Aug 3, 2004 at 10:06 pm
  • Hello, All! Mtve, I thought the following short (and quite obfuscated) entry was particularly brilliant. I wanted it to be shorter so it could be the winning entry... -lp ...
    RileyRiley
    Aug 2, 2004 at 3:25 pm
    Aug 3, 2004 at 11:59 am
  • It struck me as a good idea that the minimum score should float, instead of being a constant 5. I suggest 100/number of participants. The idea is that in a contest where very few accomplish a working ...
    Johnson, Roy R SIEPJohnson, Roy R SIEP
    Jul 30, 2004 at 4:27 pm
    Aug 1, 2004 at 8:04 am
  • version 5 - I am pretty stupid -- Jasper
    JasperJasper
    Jul 30, 2004 at 12:02 pm
    Jul 30, 2004 at 12:02 pm
  • {in= <<EOF,out= <<EOF}, 1114 0 0 2025 1 1 3003 2 2 EOF 0000 I am probably being stupid, but isn't 3323 a solution to this test as well as 0000? -- Jasper
    JasperJasper
    Jul 30, 2004 at 9:24 am
    Jul 30, 2004 at 9:24 am
  • I wonder if we'll set a record for the number of entries for tri.pl Looking good so far. -- Jasper
    JasperJasper
    Jul 29, 2004 at 3:49 pm
    Jul 30, 2004 at 1:35 pm
  • Hello All! Thanks to Riley (o0lit3), two new golfs have started: - easy one http://terje2.perlgolf.org/~pgas/score.pl?func=rules&hole=66 - hard one ...
    Mtv EuropeMtv Europe
    Jul 27, 2004 at 8:21 pm
    Jul 27, 2004 at 8:21 pm
  • Here is a solution to the Rush Hour quiz using the Games::LMSolve module. It isn't golfized or anything, and was not too optimized - I just wanted to see if I can solve it using it. Regards, Shlomi ...
    Shlomi FishShlomi Fish
    Jul 24, 2004 at 1:53 pm
    Jul 24, 2004 at 1:53 pm
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupgolf @
categoriesperl
discussions416
posts2,537
users194
websiteperlgolf.sourceforge.net

Top users

Perl-golf: 240 posts Yanick1: 154 posts Andrew Savige: 150 posts Stephen Turner: 128 posts Dave Hoover: 119 posts Eugene van der Pijll: 99 posts Phil Carmody: 64 posts Rick Klement: 64 posts Keith C. Ivey: 59 posts Mtv Europe: 56 posts Jasper McCrea: 55 posts Eugene van der Pijll: 49 posts Andrew Savige: 48 posts Terjek: 47 posts Michael W Thelen: 47 posts Jonathan E. Paton: 44 posts Adam Spiers: 43 posts Chris Dolan: 41 posts Stefan `Sec` Zehl: 40 posts Jasper: 37 posts
show more