Recently in Programming Category

CPAN authors sample

| No Comments | No TrackBacks

I wanted to get some CPAN authors sample. Not everyone as there are too much (> 8000). So I've created this two on-liners to get the CPAN authors whose module is packaged for Debian:

apt-cache search perl | perl -lane 'next if $_ !~ m/^lib(.+?)-perl\s/; $m=$1; $m=~s/-/::/g; print $m;' > /tmp/deb-perl.txt

zcat ~/.cpan/sources/modules/02packages.details.txt.gz | perl -MIO::Any -lae 'my %x; BEGIN { %x=map { $_ => 1 } split "\n", IO::Any->slurp("/tmp/deb-perl.txt") }; while (<>) { @F=split /\s+/; $m = lc $F[0]; if ($x{$m}) { (undef,undef,$a)=split "/", $F[2]; print $a; }; }' | sort | uniq | xargs echo

And here is the result (842 out of 8270 total):

AAR ABARCLAY ABH ABIGAIL ABLUM ABW ACOBURN ADAMK ADAMSON ADEO ADIE AEPAGE AFF AFN AGENT AGIERTH AGROLMS AGRUNDMA AGUL AIZVORSKI AJGOUGH AJPEACOCK AJUNG AKSTE ALEXMV ALEXP ALIAN ALLENDAY AMBS AMNESIAC AMS ANDK ANDREIN ANDREMAR ANDREWF ANDYA ANNO AORR APEIRON APERSAUD APLEINER APOCAL APPEL ARAK ARANDAL AREGGIORI AREIBENS ARISTOTLE ARJAY ARODLAND ARTHAS ARUNBEAR ASH ATOURBIN AUDREYT AUFFLICK AUTRIJUS AVAR AVIF AWESTHOLM AWRIGLEY AZAWAWI AZED BALDUR BARBIE BBB BBC BBEAUSEJ BBENNETT BBIRTH BCHOATE BDFOY BETTELLI BFAIST BHOLZMAN BIGJ BIGPRESH BINGOS BINKLEY BJKUIT BJOERN BLHOTSKY BLILBURNE BLOONIX BMC BOBTFISH BOOK BORISZ BORUP BOUMENOT BPEDERSE BPGN BPOSTLE BPOWERS BRAAM BRADFITZ BRAMBLE BRIANSKI BRICAS BRUCEK BRUMLEVE BSDZ BSUGARS BTROTT BURAK BUREADO BWARFIELD BZAJAC CADE CAPTTOFU CAUGUSTIN CBARRATT CCPRO CEBJYRE CERNEY CEVANS CFAERBER CFRANKS CFRETER CGILMORE CGRAU CHAMAS CHANG-LIU CHANSEN CHLIGE CHM CHOCOLATE CHOLET CHORNY CHROMATIC CHSTROSS CINE CJM CKERNER CKRAS CLACO CLAESJAC CLEISHMAN CLINTDW CLKAO CMOORE CMUNGALL CODECHILD CODEHELP COG CONKLIN COOK CORION CORLISS COSIMO COWENS CPB CRAKRJACK CRAZYDJ CREAMYG CRENZ CVICENTE CWEST CYING DAGOLDEN DAMOG DANBERR DANBOO DANIEL DANKOGAI DANPEDER DAPATRICK DARREN DAVEBAIRD DAVECROSS DAVIDCYL DBP DBRIAN DCANTRELL DCLINTON DCONWAY DCOPPIT DDICK DDUMONT DESPAIR DGOLD DHAGEMAN DIBERRI DIOCLES DJERIUS DJR DLAND DLUX DMAKI DMEGG DMOW DMUEY DOM DOMM DONEILL DORMANDO DOUGM DOUGW DOY DPARIS DPAVLIN DPRICE DROLSKY DRRHO DRTECH DSB DSCHWEI DSKOLL DSTAAL DSTUART DTOWN DTRISCHUK DUNCS DURIST DWHEELER DWRIGHT EBASSI EBHANSSEN EBOHLMAN ECALDER ECOCODE EDAVIS EDD EDECA EDPRATOMO EESTABROO EHOOD EIJABB EISEN ELIZABETH ELLIOTJS ELMEX ERYQ ESM ESSKAR ESUMMERS EVDB EVO EWILHELM EXIFTOOL EXOBUZZ EXODIST FANGLY FAYLAND FDALY FDESAR FERREIRA FERRENCY FGLOCK FIMM FITZNER FLETCH FLORA FLUFFY FOOF FOTANGO FRAJULAC FRANCKC FREQUENCY FREW FRODWITH FTASSIN FUSINV FVULTO FWILES GAAS GABOR GAISSMAI GAM GARNACHO GAVINC GBACON GBARR GBJK GBROWN GDSL GEOFFR GETTY GFUJI GGOEBEL GIRAFFED GLOVER GMCHARLT GMPASSOS GNUSTAVO GOMOR GPHAT GRAHAMC GRANTM GRICHTER GRODITI GROMMEL GSAR GTERMARS GUGOD GUIDO GUIMARD GWARD GWILLIAMS GWOLF GWYN GYEPI HACKER HANK HARDAKER HARTZELL HAYASHI HBENGEN HDIAS HEMBREED HINRIK HIO HMBRAND HORNBURG IAMCAL IAN IBB IGUTHRIE IKEBE ILMARI ILTZU ILYAM ILYAZ IMACAT IMALPASS INGY IROBERTS ISHIGAKI ISTERIN ITUB IVAN IVSOKOLOV IZUT JABLKO JALDHAR JAMADAM JAMES JAMESGOL JANPAZ JARW JASLONG JASONK JASONS JAW JAWNSY JAYBONCI JBAZIK JBISBEE JBURNETT JCZEUS JDHEDDEN JDPORTER JDUNCAN JEB JEF JEFFA JEFFMOCK JENDA JESSE JESUS JETTERO JEZRA JFITZ JGMYERS JGOLDBERG JGOULAH JHAR JHI JHOBLITT JHORWITZ JIMT JJNAPIORK JJORDAN JJORE JJSCHUTZ JKAMPHAUS JKEENAN JKIM JLAPEYRE JLATHAN JLAVOLD JMACFARLA JMCNAMARA JMEHNLE JMGDOC JMM JMORRIS JMS JNH JOESUF JOEY JONATHAN JOSEPHW JOSERODR JOSHUA JPEACOCK JPIERCE JPRIT JQUELIN JRED JRENNIE JREY JROBINSON JROCKWAY JROGERS JSHIRLEY JSIRACUSA JSMITH JSTENZEL JSTOWE JSWARTZ JUERD JV JWALT JWU JZUCKER KAKE KAMENSKY KANE KARASIK KASEI KAWASAKI KAZUHO KCK KCLARK KEN KENSHAN KENTNL KGALINSKY KGB KGRENNAN KILINRAX KIMRYAN KJOHNSON KMACLEOD KMELTZ KMX KNIGHT KNOK KOOS KORTY KRAEHE KRAIH KROKI KROW KRUSCOE KTHAKORE KUBOTA KURIANJA KWILLIAMS KWITKNR KWMAK LAMMEL LARRYSH LARSLUND LBAXTER LBROCARD LCONS LDACHARY LDS LEAKIN LEGART LEIFJ LEIRA LEMBARK LENDL LIMAONE LINDNER LLAP LMASARA LMC LUISMUNOZ LUKEC LUNARTEAR LUNATIC LUSOL LYOKATO MACGYVER MADGHOUL MAKAMAKA MAMAWE MANOWAR MANU MARCEL MARKJ MARKLE MARKOV MARKPF MARKSTOS MARKUSB MART MATISSE MATTIASH MATTLAW MAXB MBARBON MCAST MCMAHON MCNEWTON MDOOTSON MDXI MEHNER MERGL MERLYN MEWP MFROST MGRABNAR MHARNISCH MHOSKEN MHX MICB MIGO MIKEM MIKER MIKEWONG MILA MINGYILIU MIRK MIROD MISHIKAL MISHOO MIVKOVIC MIYAGAWA MIZZY MJCARMAN MJD MJEVANS MJEWELL MJP MKODERER MKUTTER MLEHMANN MMIMS MNAGUIB MNOONING MOCONNOR MOGAAL MORITZ MORTY MPIOTR MRA MRAMBERG MRASH MRDVT MROGASKI MRSAM MSCHILLI MSCHOUT MSCHWARTZ MSCHWERN MSERGEANT MSHELOR MSISK MSTEVENS MSTPLBG MSTROUT MTHURN MUIR MVERB MVORL MWARD MYSOCIETY NCLEATON NEELY NEILW NEVESENIN NEZUMI NI-S NICOLAW NIDS NIKC NIKIP NIKOLAY NJH NKH NKUITSE NOG NPEREZ NUFFIN NWETTERS NWIGER OALDERS OCTO OGASAWARA OLAF OLIMAUL OLIVER OLIVIERT OLLY OMEGA OPERA OVID PAJAS PALLOTRON PARDUS PAULG PCIMPRICH PDEEGAN PDENIS PDWARREN PEGI PENMA PEPE PERIGRIN PERRIN PERSICOM PETDANCE PETEF PETEK PEVANS PHAYLON PHISH PHOENIX PHRED PIJLL PINYAN PIP PJCJ PJF PKENT PLAVEN PLOBBES PMEVZEK PMH PMISON PMKANE PMQS PODMASTER POTYL PRATZLAFF PRAVUS PRBRENAN PRYAN PVANDRY RAM RANI RATCLIFFE RATTLER RAZINF RBERJON RBOW RBS RCAPUTO RCH RCLAMP RDB RDF REATMON REDTREE REHSACK RENEEB REYNOLDS RFRANKEL RGARCIA RGIERSIG RHANDOM RHANSON RIBASUSHI RIZEN RJBS RJOOP RJRAY RKHILL RKITOVER RKOBES RKRIMEN RMBARKER RMCFARLA ROAM ROBIN ROBM ROCKY ROKR ROLAND RONAN ROODE ROSCH ROSULEK RPETTETT RRA RRWO RSAVAGE RSCHUPP RSN RSOLIV RSPIER RUZ RVA RYBSKEJ SACAVILIA SALVA SAMPO SAMTREGAR SAMV SAPER SARTAK SBECK SBURKE SCANNELL SCHNUECK SCHUBIGER SCHWIGON SCOTT SCOTTW SCR SDOWD SERGEY SEWI SFINK SHERZODR SHEVEK SHLOMIF SIFUKURT SIMON SIMONFLK SIMONW SISYPHUS SIXAPART SJCARBON SJQUINNEY SJSZ SKA SLANNING SMCCAM SMCKAY SMRZ SMUELLER SNOWHARE SOENKE SONNEN SPADIX SPADKINS SPANG SPEEVES SPROUT SQUIRREL SREZIC SRSHAH SSCOTTO SSOTKA STBEY STEPHANB STEPHENCA STEVAN STEVE STEVENC STIGMATA STRUAN STRZELEC SUKRIA SULLR SUMMER SUNGO SUNNAVY SWALTERS SWHITAKER SWMCD SYP SZABGAB SZBALINT TAKERU TAKESHIGE TANIGUCHI TBONE TCHINCHOW TEEJAY TELS TEVERETT THALJEF THEPLER THINC THOR TIMA TIMB TIMBRODY TINITA TJENNESS TJMATHER TKURITA TLINDEN TMOERTEL TMONROE TMTM TMURRAY TNGUYEN TOBEYA TODDR TOKUHIROM TOMI TOMSON TOMZO TONVOON TONYC TPABA TPEDERSE TPG TREY TRIDDLE TRIPIE TSCH TSIBLEY TSUCCHI TURNERA TURNERJW TURNSTEP TVIERLING TWH TYEMQ TYPESTER ULPFR UMEMOTO UNOBE UNRTST URI VIDUL VIPUL VIY VPARSEVAL VPIT WADG WILLMOJG WINKO WITTEN WMCKEE WPMOORE WROSS WRW WYANT XERN XMATH XSAWYERX YANICK YANNK YENYA YEWENBIN YOSHIDA YUMPY YVES YVESAGO ZEFRAM ZENSPIDER ZEV

Where to put files?

| No Comments | No TrackBacks

Here are some variants that I've seen so far.

  1. Careful people that are afraid to spoil the system use:

    • /usr/local
    • /var/local
    • /opt
  2. Crazy people have always an original place to hide files in:

    • /usr/local64
    • /usr/local/64
    • /usr/local/local
    • /shared
    • /corp
    • /data
    • ...
  3. Linux distributions put files according to the Filesystem Hierarchy Standard.

Some years ago I belonged to the first group and I was putting everything into /usr/local to be sure that there is just my stuff. Today I belong to the second one... I use /data for my laptop. Which is not so great idea, but it is my laptop and no one ever will have to (won't even be able) to touch it, so it is my mess. Some of the other ones like /corp, /shared and /usr/local64 I have to use at $work, because it is ops decision or a historical reason (sniff, sniff).

I hope one day I'll further evolve to work according to the standards. Tiding-up my mess would be the easy part of the journey...

Specifications?

| No Comments | No TrackBacks

Some people say that specifications are useless. That they never reflect the reality, that by the time of being done they are out-dated and people should just rush out, start coding and start working. I found this nice quote:

In preparing for battle I have always found that plans are useless, but planning is indispensable.
--Dwight D. Eisenhower

That was my missing piece to the argumentation. May be the specs at the end are "not so accurate", but at the time of writing them, the idea has to be exercised, questioned, the missing gaps filled in, all details understood and the goal clearly defined.

Joel shows that StackOverflow is (||was?) running on 2 servers (+1 backup) using C# and SQL Server. Impressive :-) seek to 24:56 to see the full performance+tech table.

There is also a Perl+Perl6 mentioned in this talk, seek to 38:00 to hear the #1 thing you should never do...

Tag cloud search

| No Comments | No TrackBacks

This was an old idea and I finally found enough toits to finish it. Basically besides normal key words searching, one can use a tag cloud to help find alternatives. Here are some examples:

By clicking on any of the links in the cloud the keyword/tag is added to the search string. On the top there are "+" and "-" that can be selected before selecting a tag. The selected "+" or "-" will be added in front of the keyword to force inclusion of exclusion of a keyword in the search result documents.

Only time and some usage will tell if it will be useful or not. Let's see.

@@ -1,25 +1,25 @@
-diff -Naur a/DhMakePerl.pm b/DhMakePerl.pm
---- a/DhMakePerl.pm	2010-02-15 17:28:42.000000000 +0100
-+++ b/DhMakePerl.pm	2010-02-15 17:17:55.000000000 +0100
+diff -Naur DhMakePerl.orig/DhMakePerl.pm DhMakePerl/DhMakePerl.pm
+--- DhMakePerl.orig/DhMakePerl.pm	2010-02-19 13:36:58.000000000 +0100
++++ DhMakePerl/DhMakePerl.pm	2010-02-22 18:40:12.000000000 +0100
 @@ -65,6 +65,8 @@
  use WWW::Mechanize ();
  use YAML           ();
  use version qw( qv );
 +use Debian::Apt::PM;
 +our $aptpm = Debian::Apt::PM->new();
  
  # TODO:
  # * get more info from the package (maybe using CPAN methods)
-@@ -1132,8 +1134,12 @@
+@@ -1131,9 +1133,11 @@
+             $dep = Debian::Dependency->new( 'perl',
                  $self->nice_perl_ver( $dep_hash->{$module} ) );
          }
-         elsif ($apt_contents) {
+-        elsif ($apt_contents) {
 -            $dep = $apt_contents->find_perl_module_package( $module,
 -                $dep_hash->{$module} );
-+            #$dep = $apt_contents->find_perl_module_package( $module,
-+            #    $dep_hash->{$module} );
++        else {
 +            my $info = $aptpm->find($module, $dep_hash->{$module});
 +            if ($info and $info->{'min'}) {
 +                $dep = Debian::Dependency->new( $info->{'min'}->{'package'}, $info->{'min'}->{'version'} );
 +            }
          }

This is really hard to read and understand...

Systems that Never Stop

| No Comments | No TrackBacks

Thanks to Yuval Kogman for pointing out this great talk - Systems that Never Stop (and Erlang).

Does anyone knows of a Perl MVC implementation that is based on some event loop? Having non-blocking IO (filesystem/database) in web request handling would be nice to have. That will enable to have just one process per CPU. The IO is the only reason why "one process is NOT enough for every CPU"

Beyond the key-value model

| No Comments | No TrackBacks
redis-logo.png

Redis - A persistent key-value database with built-in net interface written in ANSI-C for Posix systems. ... see all the commands supported by Redis to get the first feeling

Looks interesting.

Pages

About this Archive

This page is an archive of recent entries in the Programming category.

Perl is the previous category.

Quote is the next category.

Find recent content on the main index or look in the archives to find all content.