| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 19:17:56 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090608185645
location: https://web.archive.org/web/20090608185645/https://github.com/grosser/programming_pearls/tree
server-timing: captures_list;dur=0.912281, exclusion.robots;dur=0.082133, exclusion.robots.policy;dur=0.070328, esindex;dur=0.010850, cdx.remote;dur=13.551661, LoadShardBlock;dur=211.973944, PetaboxLoader3.resolve;dur=48.739859, PetaboxLoader3.datanode;dur=123.505116
x-app-server: wwwb-app245-dc8
x-ts: 302
x-tr: 268
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app245; 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 19:17:57 GMT
content-type: text/html; charset=utf-8
content-length: 122
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Mon, 08 Jun 2009 18:56:44 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090608185645/https://github.com/grosser/programming_pearls/tree/master
x-archive-orig-x-runtime: 139ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 122
cache-control: max-age=1800
memento-datetime: Mon, 08 Jun 2009 18:56:45 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_20090608155830_crawl102-c/52_10_20090608185607_crawl101.arc.gz
server-timing: captures_list;dur=0.577560, exclusion.robots;dur=0.018643, exclusion.robots.policy;dur=0.008275, esindex;dur=0.010714, cdx.remote;dur=10.113888, LoadShardBlock;dur=257.980123, PetaboxLoader3.datanode;dur=294.594854, load_resource;dur=325.383705, PetaboxLoader3.resolve;dur=268.724670
x-app-server: wwwb-app245-dc8
x-ts: 301
x-tr: 624
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 19:17:57 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Mon, 08 Jun 2009 18:56:45 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 129ms
x-archive-orig-etag: "730682b69a0ba7ab31e66160b934e3ec"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 19675
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 08 Jun 2009 18:56:45 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_20090608155830_crawl102-c/52_10_20090608185607_crawl101.arc.gz
server-timing: captures_list;dur=2.233464, exclusion.robots;dur=0.019547, exclusion.robots.policy;dur=0.008117, esindex;dur=0.009720, cdx.remote;dur=7.600833, LoadShardBlock;dur=159.889706, PetaboxLoader3.datanode;dur=252.184768, PetaboxLoader3.resolve;dur=149.674451, load_resource;dur=249.760997
x-app-server: wwwb-app245-dc8
x-ts: 200
x-tr: 493
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 |
| Clone URL: |
git://github.com/grosser/programming_pearls.git
Give this clone URL to anyone.
git clone git://github.com/grosser/programming_pearls.git
|
grosser (author)
Mon Jun 01 06:15:29 -0700 2009
| 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!







