[racket-dev] intro videos
Frustrated by what I'm seeing on khanacademy.org, I've now recorded 8 *short* videos on getting started programming in DrRacket. http://www.youtube.com/playlist?list=PLD0EB7BC8D7CF739A It gets through about half of the first page of HtDP 2e. I'm trying to stress those things--interface details, understanding error messages--that are a better fit for video. Comments welcome. John smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] [plt] Push #23009: master branch updated
On Wed, Jul 13, 2011 at 12:08 PM, stamo...@racket-lang.org wrote: ;; we assume indexes are 2 bits shorter than fixnums ;; We're generating a reference to fixnum? rather than calling it, so ;; we're safe from fixnum size issues on different platforms. -(define (index? x) (and (fixnum? x) (= x 0) (fixnum? (* x 4 +(define (index? x) + (and (fixnum? x) (unsafe-fx= x 0) (fixnum? (unsafe-fx* x 4 How is this possibly ok? If `x' is (/ MAX_FIXNUM 2), then this code has no semantics. -- sam th sa...@ccs.neu.edu _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] intro videos
On Jul 13, 2011, at 12:16 PM, John Clements wrote: Frustrated by what I'm seeing on khanacademy.org, I've now recorded 8 *short* videos on getting started programming in DrRacket. http://www.youtube.com/playlist?list=PLD0EB7BC8D7CF739A I've started adding some videos to picturingprograms.org (under Worked Exercises). So far they're mostly to illustrate the desired behavior of an animation assignment, but I plan to also do some whose main purpose is to demonstrate the design recipe. See http://picturingprograms.com/worked-exercises/aug2010/ Comments welcome. I'll take a look. I too would appreciate comments :-) Stephen Bloch sbl...@adelphi.edu _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
[racket-dev] Racket DMG improvements
I've been told that some DMG installers of OSX add a symlink to /Applications so it's easy to drag the application in there. IIUC, these things should be added: * A symlink to /Applications so if I drag the above into it it will get copied into the system's application folder * Some OSX magic that makes sure that the Racket folder and the symlink are in known positions, and the window gets opened at a known size, * Some more magic places an image in the background, something that looks like: [] To install Racket drag [ ] [ Racket ] the Racket folder into [ Apps] [] your Applications folder [ symlink ] If there's anyone who can write the shell code that starts with a folder that has just the Racket directory, and gets to the above, I'll add it to the installer generation script. (I'm assuming that a script is needed, for resource forks or whatever? Please bear in mind that I don't use OSX, which is why I need a script rather than instruction on how to drag things and where to click...) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] intro videos
Great initiative. Already subscribed. * the sound is good * the resolution (except the first one) is great * perhaps mention that option and command is called alt and mumble on Windows (or add an annotation (using the YouTube editor) to the video, so you don't have to reshoot) * If you are using ScreenFlow to record the videos, you could let it show the keyboard shortcuts. * the short length is good Do you happen to have a tablet? If so you could use together with OmniDazzle to write on top of the DrRacket screen. See for example http://www.youtube.com/watch?v=TVc2tmsZfFg where Paul Anderson uses it to write on top of a Keynote presentation. Keep 'em coming. -- Jens Axel Søgaard 2011/7/13 John Clements cleme...@brinckerhoff.org Frustrated by what I'm seeing on khanacademy.org, I've now recorded 8 *short* videos on getting started programming in DrRacket. http://www.youtube.com/playlist?list=PLD0EB7BC8D7CF739A It gets through about half of the first page of HtDP 2e. I'm trying to stress those things--interface details, understanding error messages--that are a better fit for video. Comments welcome. John _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev -- -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] intro videos
There are 11'000 subscribers in the http://www.reddit.com/r/learnprogramming forums. Its very active and well loved. It was created shortly after guy called Carl Herold started http://www.reddit.com/r/carlhprogramming, where he gives free programming lessons (in C, its horrific a bit). He has another 10'000 subscribers. If you play your cards right, it should be possible to tailor these videos to draw some of that crowd to your lessons. On Wed, Jul 13, 2011 at 1:17 PM, Jens Axel Søgaard jensa...@soegaard.net wrote: Great initiative. Already subscribed. * the sound is good * the resolution (except the first one) is great * perhaps mention that option and command is called alt and mumble on Windows (or add an annotation (using the YouTube editor) to the video, so you don't have to reshoot) * If you are using ScreenFlow to record the videos, you could let it show the keyboard shortcuts. * the short length is good Do you happen to have a tablet? If so you could use together with OmniDazzle to write on top of the DrRacket screen. See for example http://www.youtube.com/watch?v=TVc2tmsZfFg where Paul Anderson uses it to write on top of a Keynote presentation. Keep 'em coming. -- Jens Axel Søgaard 2011/7/13 John Clements cleme...@brinckerhoff.org Frustrated by what I'm seeing on khanacademy.org, I've now recorded 8 *short* videos on getting started programming in DrRacket. http://www.youtube.com/playlist?list=PLD0EB7BC8D7CF739A It gets through about half of the first page of HtDP 2e. I'm trying to stress those things--interface details, understanding error messages--that are a better fit for video. Comments welcome. John _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev -- -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] intro videos
I enjoyed your videos. Very nice. Can you do something about the missing menu bar? Also had a look to the first two videos of the computer science section of khanacademy.org. The second one, because it is not functional, immediately has to discern objects from copies of objects, which seems a very good way to frighten beginning students off. I understand your frustation and did not proceed to the other vidios of the computer science section of khanacademy.org. Do you intend to follow up on your videos? Jos -Original Message- From: dev-boun...@racket-lang.org [mailto:dev-boun...@racket-lang.org] On Behalf Of John Clements Sent: miércoles, 13 de julio de 2011 18:16 To: plt-dev Developers Subject: [racket-dev] intro videos Frustrated by what I'm seeing on khanacademy.org, I've now recorded 8 *short* videos on getting started programming in DrRacket. http://www.youtube.com/playlist?list=PLD0EB7BC8D7CF739A It gets through about half of the first page of HtDP 2e. I'm trying to stress those things--interface details, understanding error messages--that are a better fit for video. Comments welcome. John _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] New error messages for *SL
On Thu, Jul 7, 2011 at 12:44 PM, Matthew Flatt mfl...@cs.utah.edu wrote: * All contracts for primitives print as lists. I traced this down to the change from (require scheme/pretty) to (require racket/pretty). I don't understand how that's causing the bug, but reverting to (require scheme/pretty) fixes things. Ryan, can you pull this fix into the release branch? It's commit 452f3a14fb7b25e6c54d08abdb8770fb20e68752 _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] intro videos
On Jul 13, 2011, at 5:22 PM, Ramakrishnan Muthukrishnan wrote: On Wed, Jul 13, 2011 at 9:46 PM, John Clements cleme...@brinckerhoff.org wrote: http://www.youtube.com/playlist?list=PLD0EB7BC8D7CF739A I just saw one video and liked it. Can you tell us how you are getting the emacs paredit like automatic matched parantheses with the automatic placement of cursor inside the parantheses? I could not find such an option in my DrRacket preferences. I am running 5.1.1.8. (Didn't post to the list as it is a -dev list and didn't want to ask this silly question to the crowd which is otherwise involved in high quality discussions) No, that's an entirely reasonable question, with an answer that's in the process of changing. First thing: you can use ESC-(. That is: press and release ESC, type (. That works, but it's a big pain. Second thing: Until two days ago, I'd been using the keybindings file that I attach below, so that this keystroke becomes simply (. While making these videos, though, I found that I *really* wanted to be able to give people a simple way to do this. As a result, I've now added a preference to DrRacket called enable automatic parentheses. It's available as part of the development build now, but it probably won't be a part of the 5.1.2 release. It should definitely be a part of the 5.1.3 release. In the meantime, you can enable these bindings by choosing the Add User-defined Keybindings... option, and referring to the file that I attach here. Thanks for your question! I'm actually forwarding this response to dev anyway---hope you don't mind. John Clements jbc-keybindings.ss Description: Binary data smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] intro videos
On Thu, Jul 14, 2011 at 10:59 AM, John Clements cleme...@brinckerhoff.org wrote: No, that's an entirely reasonable question, with an answer that's in the process of changing. First thing: you can use ESC-(. That is: press and release ESC, type (. That works, but it's a big pain. Second thing: Until two days ago, I'd been using the keybindings file that I attach below, so that this keystroke becomes simply (. While making these videos, though, I found that I *really* wanted to be able to give people a simple way to do this. As a result, I've now added a preference to DrRacket called enable automatic parentheses. It's available as part of the development build now, but it probably won't be a part of the 5.1.2 release. It should definitely be a part of the 5.1.3 release. In the meantime, you can enable these bindings by choosing the Add User-defined Keybindings... option, and referring to the file that I attach here. Thanks for your question! I'm actually forwarding this response to dev anyway---hope you don't mind. Thanks a lot, John. I sync with the git repo every day and but usually build only the releases I see in the changelog. I will try building it tonight and meanwhile use your key bindings. Thanks a lot, again. -- Ramakrishnan _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev