| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 05:48:08 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090626100133
location: https://web.archive.org/web/20090626100133/https://github.com/grosser/programming_pearls
server-timing: captures_list;dur=0.844179, exclusion.robots;dur=0.068602, exclusion.robots.policy;dur=0.055546, esindex;dur=0.009826, cdx.remote;dur=15.758511, LoadShardBlock;dur=157.477430, PetaboxLoader3.datanode;dur=89.043350, PetaboxLoader3.resolve;dur=30.246252
x-app-server: wwwb-app28-dc8
x-ts: 302
x-tr: 287
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app28; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Tue, 23 Dec 2025 05:48:09 GMT
content-type: text/html; charset=utf-8
content-length: 122
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Fri, 26 Jun 2009 10:01:32 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090626100133/https://github.com/grosser/programming_pearls/tree/master
x-archive-orig-x-runtime: 140ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 122
cache-control: max-age=1800
memento-datetime: Fri, 26 Jun 2009 10:01:33 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_10_20090626082654_crawl102-c/52_10_20090626095945_crawl101.arc.gz
server-timing: captures_list;dur=0.728182, exclusion.robots;dur=0.043702, exclusion.robots.policy;dur=0.019140, esindex;dur=0.011809, cdx.remote;dur=9.232699, LoadShardBlock;dur=109.372606, PetaboxLoader3.datanode;dur=133.080599, PetaboxLoader3.resolve;dur=108.913944, load_resource;dur=152.236896
x-app-server: wwwb-app28-dc8
x-ts: 301
x-tr: 309
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 23 Dec 2025 05:48:09 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Fri, 26 Jun 2009 10:01:33 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 182ms
x-archive-orig-etag: "6c4dc01904dc8242e5714caca1794a28"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 23544
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 26 Jun 2009 10:01:33 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_10_20090626082654_crawl102-c/52_10_20090626095945_crawl101.arc.gz
server-timing: captures_list;dur=1.174771, exclusion.robots;dur=0.100313, exclusion.robots.policy;dur=0.084478, esindex;dur=0.013967, cdx.remote;dur=10.683105, LoadShardBlock;dur=129.757081, PetaboxLoader3.datanode;dur=72.706151, PetaboxLoader3.resolve;dur=294.402197, load_resource;dur=287.687096
x-app-server: wwwb-app28-dc8
x-ts: 200
x-tr: 510
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
grosser's programming_pearls at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| Description: | eBook: Programming Pearls Rewritten in Ruby edit |
| Homepage: | edit |
| Public Clone URL: |
git://github.com/grosser/programming_pearls.git
Give this clone URL to anyone.
git clone git://github.com/grosser/programming_pearls.git
|
| Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:grosser/programming_pearls.git
|
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Feb 10 11:49:15 -0800 2009 | column 01, sorting in files + column 07-estimat... [grosser] |
| |
README.markdown | Mon Jun 01 06:15:29 -0700 2009 | micro readme update [grosser] |
| |
Rakefile | Sat Feb 07 05:16:12 -0800 2009 | only zip when needed... [grosser] |
| |
assets/ | Tue Mar 24 07:33:28 -0700 2009 | added pdf version, made css more printer-friendly [grosser] |
| |
helpers/ | Sun Jan 11 04:54:10 -0800 2009 | include benchmark by default, add 15 phrases, d... [grosser] |
| |
lib/ | Sat Mar 14 03:54:18 -0700 2009 | chapter 16, introduction, chapter 7 enhanced [grosser] |
| |
output/ | Tue Mar 24 07:33:28 -0700 2009 | added pdf version, made css more printer-friendly [grosser] |
This is my attempt to solve any ruby-solvable problem of programming pearl in as few, understandable, readable, max 120 character long lines of ruby (with emphasis on understandable and not 1-line-magic...)
Read it - Print it!
Download as PDF: output/output.pdf or as HTML: in output/output.zip, enjoy!
Contribute!
Not all chapters are complete, some problems are unsolved, some code surely can be simplified.
Organisation
- columns go into lib, each column has many tasks -> 1.rb, 2.rb
- no STDIN since that would complicate running the task
TODO
- there are some chapters missing
- add cover image (ruby necklace?)
- syntax highlighting (with js?)
- add statistics: how does readable code compare to wtf-code
Author
Michael Grosser
grosser.michael@gmail.com
Hereby placed under public domain, do what you want, just do not hold me accountable...
This feature is coming soon. Sit tight!











