This is a modal.
-Gumby modals are easy to make using Toggles & Switches. The .modal class already has the required styles which you can open and close using Toggles & Switches.
- - -diff --git a/new-racket-web/.gitignore b/new-racket-web/.gitignore index 3df341b7b6..ec79affdb7 100644 --- a/new-racket-web/.gitignore +++ b/new-racket-web/.gitignore @@ -1,50 +1,7 @@ -# Numerous always-ignore extensions -*.bak -*.diff -*.err -*.orig -*.log -*.rej -*.swo -*.swp -*.vi -.sass-cache - -# OS or Editor folders -.DS_Store -._* -Thumbs.db -.cache -.project -.settings -.tmproj -nbproject -*.sublime-project -*.sublime-workspace - -# Dreamweaver added files -_notes -dwsync.xml - -# Komodo -*.komodoproject -.komodotools - -# Espresso -*.esproj -*.espressostorage - -# Rubinius -*.rbc - -# Folders to ignore -.hg -.svn -.CVS -.idea - -output -*/compiled compiled/ -web/out *~ +\#* +.#* +.DS_Store +*.bak +TAGS diff --git a/new-racket-web/Makefile b/new-racket-web/Makefile deleted file mode 100644 index 9ed09b404d..0000000000 --- a/new-racket-web/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -all: index.rkt - r index.rkt > index2.html - diff --git a/new-racket-web/README.md b/new-racket-web/README.md deleted file mode 100644 index 465950f5d8..0000000000 --- a/new-racket-web/README.md +++ /dev/null @@ -1,4 +0,0 @@ -New Racket Web Page -=================== - -This is a revision of the existing Racket web page, based on the Gumby framework. diff --git a/new-racket-web/TODO b/new-racket-web/TODO deleted file mode 100644 index 2235609ff1..0000000000 --- a/new-racket-web/TODO +++ /dev/null @@ -1,7 +0,0 @@ -* Mention stackoverflow -* Research page? -* People page -* RacketCon page -* Fix arrows/code for small widths -* More code snippets -* Add "Help" page? diff --git a/new-racket-web/apple-touch-icon-precomposed.png b/new-racket-web/apple-touch-icon-precomposed.png deleted file mode 100644 index 6373f48316..0000000000 Binary files a/new-racket-web/apple-touch-icon-precomposed.png and /dev/null differ diff --git a/new-racket-web/apple-touch-icon.png b/new-racket-web/apple-touch-icon.png deleted file mode 100644 index d3ba013330..0000000000 Binary files a/new-racket-web/apple-touch-icon.png and /dev/null differ diff --git a/new-racket-web/bower.json b/new-racket-web/bower.json deleted file mode 100644 index 1f36b654bc..0000000000 --- a/new-racket-web/bower.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "gumby", - "version": "2.3.4", - "main": ["./js/libs/gumby.min.js", "./css/gumby.css"] -} diff --git a/new-racket-web/build-web b/new-racket-web/build-web deleted file mode 100755 index 17debda813..0000000000 --- a/new-racket-web/build-web +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -PLTHOME="/home/scheme/plt" -WEBSRC="collects/meta/web" # relative to PLTHOME -SRCDIR="$HOME/src/plt/$WEBSRC" # empty => use code in PLTHOME -DIFFTO="/tmp/w" # empty => no diffing -WEBDIR="/home/scheme/web" -export GIT_DIR="$HOME/src/plt/.git" # for tag info -EXTRA="$HOME/work/iplt/web/all.rkt" -export KNOWN_MIRRORS_FILE="/home/scheme/known-mirror-urls" # to poll mirrors - -# Build from here, to here -HERE="$(cd $(dirname "$0"); pwd)" -SRCDIR="$HERE/web" -WEBDIR="$HERE/output" -PLTHOME="$HOME/src/plt" -WEBSRC="pkgs/plt-services/meta/web" -DIFFTO="/tmp/nw" -# PLTHOME="/home/scheme/plt"; SRCDIR="" - -# clear - -if [ "x$SRCDIR" != "x" ]; then - echo -n "Copying web sources from $SRCDIR" - mv "$PLTHOME/$WEBSRC" "$PLTHOME/$WEBSRC.orig" - cp -a "$SRCDIR" "$PLTHOME/$WEBSRC" - echo "" -fi -cleanup() { - if [ -d "$PLTHOME/$WEBSRC.orig" ] && [ "x$SRCDIR" != "x" ]; then - echo -n "Restoring web sources" - rm -rf "$PLTHOME/$WEBSRC" - mv "$PLTHOME/$WEBSRC.orig" "$PLTHOME/$WEBSRC" - echo "" - fi -} -trap cleanup 0 3 9 15 - -EXE="$PLTHOME/bin/racket" -if [ ! -x "$EXE" ]; then EXE="$PLTHOME/racket/bin/racket"; fi -if [ ! -x "$EXE" ]; then - echo "racket executable not found" 2>&1; cleanup; exit 1; -fi - -"$EXE" -l meta/web/build -- \ - --local --extra "$EXTRA" --force --output "$WEBDIR" "$@" \ -|| { cleanup; exit 1; } - -symlinks2files() { - find "$1" -type l | - while read F; do - L="`readlink \"$F\"`" - rm "$F" - echo "$L" > "$F...symlink" - done -} -files2symlinks() { - find "$1" -type f -name "*...symlink" | - while read F; do - L="`cat \"$F\"`" - rm "$F" - F="${F%%...symlink}" - ln -s "$L" "$F" - done -} -if [ "x$DIFFTO" != "x" ]; then - echo "---- diff ----" - symlinks2files "$DIFFTO" - symlinks2files "$WEBDIR" - diff -rq "$DIFFTO" "$WEBDIR" 2>& 1 \ - | grep -v "^Only in .*captcha[0-9].jpg...symlink$" \ - | grep -v "httpd/bug-report-captcha and .* differ$" \ - | grep -v "bugs/index.html and .* differ$" \ - | grep -v "internal/build.html and .* differ" - files2symlinks "$DIFFTO" - files2symlinks "$WEBDIR" - echo "--------------" -fi - -cleanup diff --git a/new-racket-web/config.rb b/new-racket-web/config.rb deleted file mode 100644 index 0fb7f414a8..0000000000 --- a/new-racket-web/config.rb +++ /dev/null @@ -1,33 +0,0 @@ -# Require any additional compass plugins here. - -# Tell compass where to find local extensions -# If you followed directions and ran 'gem install modular-scale' comment the next two lines out: -extensions_dir = "sass/extensions" - -Compass::Frameworks.register('modular-scale', :path => File.expand_path("#{extensions_dir}/modular-scale")) - -# Uncomment these to use regular Ruby gems. -# require 'modular-scale' -# require 'sassy-math' - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "css" -sass_dir = "sass" -images_dir = "img" - -# You can select your preferred output style here (can be overridden via the command line) :nested or :expanded or :compact or :compressed: -output_style = :compact - -# To enable relative paths to assets via compass helper functions. Uncomment: -# relative_assets = true - -# To disable debugging comments that display the original location of your selectors. Uncomment: -line_comments = false - - -# If you prefer the indented syntax, you might want to regenerate this -# project again passing --syntax sass, or you can uncomment this: -# preferred_syntax = :sass -# and then run: -# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass diff --git a/new-racket-web/css/style.css b/new-racket-web/css/style.css deleted file mode 100644 index d63bb01c39..0000000000 --- a/new-racket-web/css/style.css +++ /dev/null @@ -1,22 +0,0 @@ -/* -We highly recommend you use SASS and write your custom styles in sass/_custom.scss. -However, this blank file is available if you prefer -*/ - - body { background: url(img/loud.png) center 60% no-repeat fixed; } - - .modal h2, .modal .btn { margin: 10px 0 0px; } - .navbar div ul li a:hover { background: #292929; } - - #growboxes { margin-top: 10pt; } - .panetitle { color: red; font-size: 120%; margin-bottom: 4pt } - - pre.codesnip { font-size: 140%; } - - .wide_only { display: block; } - .narrow_only { display: none; } - -@media only screen and (max-width: 767px) { - .wide_only { display: none; } - .narrow_only { display: block; } -} \ No newline at end of file diff --git a/new-racket-web/demo.html b/new-racket-web/demo.html deleted file mode 100755 index de98664a03..0000000000 --- a/new-racket-web/demo.html +++ /dev/null @@ -1,1119 +0,0 @@ - - - - - - - - -
- - - - - -940px
-60px
-860px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-140px
-780px
-140px
-140px
-140px
-140px
-140px
-140px
-220px
-700px
-220px
-220px
-220px
-220px
-300px
-620px
-300px
-300px
-300px
-380px
-540px
-460px
-460px
-Columns pushed right by 'x'
-11 Columns Push 1
-60px
-10 Columns Push 1
-10 Columns Push 2
-60px
-9 Columns Push 2
-9 Columns Push 3
-60px
-8 Columns Push 3
-8 Columns Push 4
-60px
-7 Columns Push 4
-7 Columns Push 5
-60px
-6 Columns Push 5
-6 Columns Push 6
-60px
-5 Columns Push 6
-5 Columns Push 7
-60px
-4 Columns Push 7
-4 Columns Push 8
-60px
-3 Col Push 8
-3 Col Push 9
-60px
-2 - Push 9
-2 - Push 10
-60px
-60px
-60px
-Centered Columns
-11 Columns
-10 Columns
-9 Columns
-8 Columns
-7 Columns
-6 Columns
-5 Columns
-4 Columns
-3 Columns
-2 Columns
-1 Col
-Responsive 16 Column Grid
-940px
-40
-880px
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-100px
-820px
-100px
-100px
-100px
-100px
-100px
-100px
-100px
-100px
-160px
-760px
-160px
-160px
-220px
-160px
-160px
-220px
-700px
-220px
-220px
-220px
-220px
-280px
-640px
-280px
-340px
-280px
-340px
-580px
-340px
-220px
-340px
-400px
-520px
-400px
-100px
-400px
-460px
-460px
-Columns pushed right by 'x'
-15 Columns Push 1
-40px
-14 Columns Push 1
-14 Columns Push 2
-40px
-13 Columns Push 2
-13 Columns Push 3
-40px
-12 Columns Push 3
-12 Columns Push 4
-40px
-11 Columns Push 4
-11 Columns Push 5
-40px
-10 Columns Push 5
-10 Columns Push 6
-40px
-9 Columns Push 6
-9 Columns Push 7
-40px
-8 Columns Push 7
-8 Columns Push 8
-40px
-7 Columns Push 8
-7 Columns Push 9
-40px
-6 Columns Push 9
-6 Columns Push 10
-40px
-5 Columns Push 10
-5 Columns Push 11
-40px
-4 Columns Push 11
-4 Columns Push 12
-40px
-3 Col Push 12
-3 Col Push 13
-40px
-2 - Push 13
-2 - Push 14
-40px
-40px
-40px
-Centered Columns
-15 Columns
-14 Columns
-13 Columns
-12 Columns
-11 Columns
-10 Columns
-9 Columns
-8 Columns
-7 Columns
-6 Columns
-5 Columns
-4 Columns
-3 Columns
-2 Columns
-1 Col
-Skip to drawers and open top one
-This is my awesome paragraph text, it is the base style/size for paragraph text. We love 16px for body copy as it provides for a more consistent cross browser experience. It is also digitally equivalent to to 12pt standard set in print design. We also love the golden ratio, all of the type set here is based off of that deliciously elegant ratio. Enjoy!
-This is my awesome paragraph text, it is the base style/size for paragraph text. We love 16px for body copy as it provides for a more consistent cross browser experience. It is also digitally equivalent to to 12pt standard set in print design. We also love the golden ratio, all of the type set here is based off of that deliciously elegant ratio. Enjoy!
-This is my awesome paragraph text, it is the base style/size for paragraph text. We love 16px for body copy as it provides for a more consistent cross browser experience. It is also digitally equivalent to to 12pt standard set in print design. We also love the golden ratio, all of the type set here is based off of that deliciously elegant ratio. Enjoy!
-This is my awesome paragraph text, it is the base style/size for paragraph text. We love 16px for body copy as it provides for a more consistent cross browser experience. It is also digitally equivalent to to 12pt standard set in print design. We also love the golden ratio, all of the type set here is based off of that deliciously elegant ratio. Enjoy!
-This is my awesome paragraph text, it is the base style/size for paragraph text. We love 16px for body copy as it provides for a more consistent cross browser experience. It is also digitally equivalent to to 12pt standard set in print design. We also love the golden ratio, all of the type set here is based off of that deliciously elegant ratio. Enjoy!
-This is my awesome paragraph text, it is the base style/size for paragraph text. We love 16px for body copy as it provides for a more consistent cross browser experience. It is also digitally equivalent to to 12pt standard set in print design. We also love the golden ratio, all of the type set here is based off of that deliciously elegant ratio. Enjoy!
-This is my awesome paragraph text, it is the base style/size for paragraph text. We love 16px for body copy as it provides for a more consistent cross browser experience. It is also digitally equivalent to to 12pt standard set in print design. We also love the golden ratio, all of the type set here is based off of that deliciously elegant ratio. Enjoy!
-This is my awesome paragraph text, it is the base style/size for paragraph text. We love 16px for body copy as it provides for a more consistent cross browser experience. It is also digitally equivalent to to 12pt standard set in print design. We also love the golden ratio, all of the type set here is based off of that deliciously elegant ratio. Enjoy!
-Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.
-Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.
-Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.
-Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio.
- -Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.
- -Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.
-Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.
-Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.
-Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.
-Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.
-Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.
-Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio.
-- Open Top Drawer -
- - -Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Unstyled skip link. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante.
-Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis.
-Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Unstyled skip link. Vestibulum non ante.
- -- Top of page -
- -- Skip to 240px -
-All icons are (class="icon-*")
--Uses a hash table to record previously seen lines. You can run this program in DrRacket, but it makes more sense from the command line. - -
- -
-To run the example, install Racket, start DrRacket, paste the example
-program into the top area in DrRacket, and click the Run
-button. Alternatively, save the program to a file and run racket
on
-the file.
-
-Form and function names in the code are hyperlinked to -documentation, so click on them for more information. -
--#lang racket ; Simple web scraper -(require net/url net/uri-codec) -(define (let-me-google-that-for-you str) - (let* ([g "http://www.google.com/search?q="] - [u (string-append g (uri-encode str))] - [rx #rx"(?<=<h3 class=\"r\">).*?(?=</h3>)"]) - (regexp-match* rx (get-pure-port (string->url u))))) --
-Add a call to let-me-google-that-for-you
to get a list of search
-results.
-
-To run the example, install Racket, start DrRacket, paste the example
-program into the top area in DrRacket, and click the Run
-button. Alternatively, save the program to a file and run racket
on
-the file.
-
-Form and function names in the code are hyperlinked to -documentation, so click on them for more information. -
--#lang racket -;; Report each unique line from stdin -(let ([saw (make-hash)]) - (for ([line (in-lines)]) - (unless (hash-ref saw line #f) - (displayln line)) - (hash-set! saw line #t))) -- - - - - -
-#lang racket ; Simple web scraper -(require net/url net/uri-codec) -(define (let-me-google-that-for-you str) - (let* ([g "http://www.google.com/search?q="] - [u (string-append g (uri-encode str))] - [rx #rx"(?<=<h3 class=\"r\">).*?(?=</h3>)"]) - (regexp-match* rx (get-pure-port (string->url u))))) --
Racket version 5.3.5 has been released.
-Racket videos are now available.
-RacketCon 2013 will be in September in Boston.
--Draw more pictures or -build a web server from scratch. Racket includes both -batteries and a programming environment, -so get started! -
-Racket's -interactive mode -encourages experimentation, and quick scripts easily compose into -larger systems. Small scripts and large systems both benefit from -native-code JIT compilation. -When a system gets too big to keep in your head, you can add -static types.
-Extend Racket whenever you need to. -Mold it to better suit your tasks without sacrificing -interoperability with existing -libraries and without having to modify the -tool chain. When less is more, you can -remove parts of a language or start over and build a new one.
-Whether you're just starting out, want to know more about -programming language applications or models, -looking to expand your horizons, or ready to dive into -research, Racket can help you become a better programmer -and system builder.
-Quick: - An Introduction to Racket with - Pictures - gives you a taste of Racket. -
- -More: - Systems Programming with Racket - dives - much deeper and much faster, showing how to build a complete - continuation-based web server.
- -Guide: - Racket starts with a tutorial on Racket basics, and then it - describes the rest of the Racket language. -
-- Reference: - Racket provides comprehensive coverage of all of Racket. -
- -Continue: - Web Applications in Racket - describes how to use the - Racket web - server to build dynamic web applications. -
- -Package - Management explains how to install - packages, and how to - build and distribute your own.
-RacketCon — the annual - Racket meeting, coming up in September. Previously - in 2012 - and 2011.
- -Blog - — announcements, helpful hints, and thoughtful rants.
-Twitter -— short bits of Racket news.
-Mailing lists - — discussion for using and developing Racket.
-IRC — -Chat in the #racket channel on -freenode.net — an informal -discussion channel for all things related to Racket. -(Browse the logs.)
- -People — -The people behind Racket.
-Code - — the Racket source code on GitHub.
-Wiki — -Useful pages - include Intro - Projects - and Videos, - including tutorials, interviews, and more.
-Snapshot builds — -The freshest versions of Racket.
- -Bug reports — -File, query and maybe fix existing reports.
- -A principled approach to program design
-Learn Racket and programming, one game at a time
-Foundations of programming languages
-Lightweight automation for semantics
--Uses a hash table to record previously seen lines. You can run this program in DrRacket, but it makes more sense from the command line. - -
- -
-To run the example, install Racket, start DrRacket, paste the example
-program into the top area in DrRacket, and click the Run
-button. Alternatively, save the program to a file and run racket
on
-the file.
-
-Form and function names in the code are hyperlinked to -documentation, so click on them for more information. -
--#lang racket ; Simple web scraper -(require net/url net/uri-codec) -(define (let-me-google-that-for-you str) - (let* ([g "http://www.google.com/search?q="] - [u (string-append g (uri-encode str))] - [rx #rx"(?<=<h3 class=\"r\">).*?(?=</h3>)"]) - (regexp-match* rx (get-pure-port (string->url u))))) --
-Add a call to let-me-google-that-for-you
to get a list of search
-results.
-
-To run the example, install Racket, start DrRacket, paste the example
-program into the top area in DrRacket, and click the Run
-button. Alternatively, save the program to a file and run racket
on
-the file.
-
-Form and function names in the code are hyperlinked to -documentation, so click on them for more information. -
--#lang racket -;; Report each unique line from stdin -(let ([saw (make-hash)]) - (for ([line (in-lines)]) - (unless (hash-ref saw line #f) - (displayln line)) - (hash-set! saw line #t))) -- - - - - -
-#lang racket ; Simple web scraper -(require net/url net/uri-codec) -(define (let-me-google-that-for-you str) - (let* ([g "http://www.google.com/search?q="] - [u (string-append g (uri-encode str))] - [rx #rx"(?<=<h3 class=\"r\">).*?(?=</h3>)"]) - (regexp-match* rx (get-pure-port (string->url u))))) --
Racket version 5.3.5 has been released.
-Racket videos are now available.
-RacketCon 2013 will be in September in Boston.
--Draw more pictures or -build a web server from scratch. Racket includes both -batteries and a programming environment, -so get started! -
-Racket's -interactive mode -encourages experimentation, and quick scripts easily compose into -larger systems. Small scripts and large systems both benefit from -native-code JIT compilation. -When a system gets too big to keep in your head, you can add -static types.
-Extend Racket whenever you need to. -Mold it to better suit your tasks without sacrificing -interoperability with existing -libraries and without having to modify the -tool chain. When less is more, you can -remove parts of a language or start over and build a new one.
-Whether you're just starting out, want to know more about -programming language applications or models, -looking to expand your horizons, or ready to dive into -research, Racket can help you become a better programmer -and system builder.
-Quick: - An Introduction to Racket with - Pictures - gives you a taste of Racket. -
- -More: - Systems Programming with Racket - dives - much deeper and much faster, showing how to build a complete - continuation-based web server.
- -Guide: - Racket starts with a tutorial on Racket basics, and then it - describes the rest of the Racket language. -
-- Reference: - Racket provides comprehensive coverage of all of Racket. -
- -Continue: - Web Applications in Racket - describes how to use the - Racket web - server to build dynamic web applications. -
- -Package - Management explains how to install - packages, and how to - build and distribute your own.
-RacketCon — the annual - Racket meeting, coming up in September. Previously - in 2012 - and 2011.
- -Blog - — announcements, helpful hints, and thoughtful rants.
-Twitter -— short bits of Racket news.
-Mailing lists - — discussion for using and developing Racket.
-IRC — -Chat in the #racket channel on -freenode.net — an informal -discussion channel for all things related to Racket. -(Browse the logs.)
- -People — -The people behind Racket.
-Code - — the Racket source code on GitHub.
-Wiki — -Useful pages - include Intro - Projects - and Videos, - including tutorials, interviews, and more.
-Snapshot builds — -The freshest versions of Racket.
- -Bug reports — -File, query and maybe fix existing reports.
- -A principled approach to program design
-Learn Racket and programming, one game at a time
-Foundations of programming languages
-Lightweight automation for semantics
-940px
-60px
-860px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-60px
-140px
-780px
-140px
-140px
-140px
-140px
-140px
-140px
-220px
-700px
-220px
-220px
-220px
-220px
-300px
-620px
-300px
-300px
-300px
-380px
-540px
-460px
-460px
-Columns pushed right by 'x'
-11 Columns Push 1
-60px
-10 Columns Push 1
-10 Columns Push 2
-60px
-9 Columns Push 2
-9 Columns Push 3
-60px
-8 Columns Push 3
-8 Columns Push 4
-60px
-7 Columns Push 4
-7 Columns Push 5
-60px
-6 Columns Push 5
-6 Columns Push 6
-60px
-5 Columns Push 6
-5 Columns Push 7
-60px
-4 Columns Push 7
-4 Columns Push 8
-60px
-3 Col Push 8
-3 Col Push 9
-60px
-2 - Push 9
-2 - Push 10
-60px
-60px
-60px
-Centered Columns
-11 Columns
-10 Columns
-9 Columns
-8 Columns
-7 Columns
-6 Columns
-5 Columns
-4 Columns
-3 Columns
-2 Columns
-1 Col
-Responsive 16 Column Grid
-940px
-40
-880px
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-40
-100px
-820px
-100px
-100px
-100px
-100px
-100px
-100px
-100px
-100px
-160px
-760px
-160px
-160px
-220px
-160px
-160px
-220px
-700px
-220px
-220px
-220px
-220px
-280px
-640px
-280px
-340px
-280px
-340px
-580px
-340px
-220px
-340px
-400px
-520px
-400px
-100px
-400px
-460px
-460px
-Columns pushed right by 'x'
-15 Columns Push 1
-40px
-14 Columns Push 1
-14 Columns Push 2
-40px
-13 Columns Push 2
-13 Columns Push 3
-40px
-12 Columns Push 3
-12 Columns Push 4
-40px
-11 Columns Push 4
-11 Columns Push 5
-40px
-10 Columns Push 5
-10 Columns Push 6
-40px
-9 Columns Push 6
-9 Columns Push 7
-40px
-8 Columns Push 7
-8 Columns Push 8
-40px
-7 Columns Push 8
-7 Columns Push 9
-40px
-6 Columns Push 9
-6 Columns Push 10
-40px
-5 Columns Push 10
-5 Columns Push 11
-40px
-4 Columns Push 11
-4 Columns Push 12
-40px
-3 Col Push 12
-3 Col Push 13
-40px
-2 - Push 13
-2 - Push 14
-40px
-40px
-40px
-Centered Columns
-15 Columns
-14 Columns
-13 Columns
-12 Columns
-11 Columns
-10 Columns
-9 Columns
-8 Columns
-7 Columns
-6 Columns
-5 Columns
-4 Columns
-3 Columns
-2 Columns
-1 Col
-