Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Cool small program. :)

 [1/3] from: bga:bug-br at: 20-Dec-2002 10:49


After not doing anything with Rebol for the past months (mostly beacuse, as you guys are probably aware, I use BeOS and Rebol is as buggy as it can be on this platform), I decided to create something fun with it. The result was Daily Strip. You can get it from: http://www.bebits.com/app/3187/ What it does is to fetch some comic strips from the internet and display them in a window. It is not the most exciting Rebol program ever nor it uses any advanced technique. In fact, I am probably doing some dumb stuff in the code and using more code then it is necessary, but the main point is that I commented the entire code (there are more comments than code in it) to try to help people just sarting with Rebol. Any comments/suggestions/critics are welcome. I hope you guys like it. -Bruno Ps: I developed it for BeOS so the script itself is called "Daily Strip" with a space in the name adno ".r" extension. Just rename it to DailyStrip.r or something like that if you're using Windows. Also the first line is a she-bang line to make the script automatically run with Rebol. It assumes the rebol (view) executable is located in the /boot/ home/config/bin directory, so just change that to the correct location on your system if you're running Linux.

 [2/3] from: carl::cybercraft::co::nz at: 21-Dec-2002 19:36


On 21-Dec-02, Bruno G. Albuquerque wrote:
> After not doing anything with Rebol for the past months (mostly > beacuse, as you guys are probably aware, I use BeOS and Rebol is as
<<quoted lines omitted: 10>>
> Any comments/suggestions/critics are welcome. I hope you guys like > it.
Very nice Bruno. It worked without a hitch on Amiga, though I'd changed the file-name before running it. Excellent commenting, too. Looks like it'd be very easy to figure out how to add other strips. Only suggestion I'd make is to add an error-check to capture if someone's not online when they run it so that it'd shut down gracefully. Otherwise, well done.
> -Bruno > Ps: I developed it for BeOS so the script itself is called "Daily
<<quoted lines omitted: 4>>
> is located in the /boot/ home/config/bin directory, so just change > that to the correct location on your system if you're running Linux.
-- Carl Read

 [3/3] from: gerardcote:sympatico:ca at: 26-Dec-2002 16:49


Hi Bruno, [...]
> Subject: [REBOL] Cool small program. :)
[... ]
> The result was Daily Strip. You can get it from: > http://www.bebits.com/app/3187/ > What it does is to fetch some comic strips from the internet and
display them in a window. It is not the most exciting Rebol program ever nor it uses any advanced technique. In fact, I am probably doing some dumb stuff in the code and using more code then it is necessary, but the main point is that I commented the entire code (there are more comments than code in it) to try to help people just sarting with Rebol.
> Any comments/suggestions/critics are welcome. I hope you guys like it.
We don't always need the sexiest advanced technique to help our teenagers learn coding with REBOL. Sometimes this is even better not using advanced techniques too soon. Thanks for sharing and commenting. This is the kind of "useful by itself" stuff I would like to get more for helping my youngsters to learn coding with REBOL ... A true motivational asset for them because they really soon try to understand the how and why before duplicationg the code in their own scripts to do something that will quickly work as it is generally looks similar in the first try... Another one was the exciting ReBOX.r by Doc Kimbel. But I didn't look at the inside yet since I have not finished all the puzzles for now ;-)
> Ps: I developed it for BeOS so the script itself is called "Daily
Strip" with a space in the name adno ".r" extension. Just rename it to DailyStrip.r or something like that if you're using Windows. Also the first line is a she-bang line to make the script automatically run with Rebol. It assumes the rebol (view) executable is located in the /boot/ home/config/bin directory, so just change that to the correct location on your system if you're running Linux. It worked flawlessly under my Win 98. Just a couple of add-ons would be fine but they can be left as exercices for my youngsters too. - Carl already catched the first one (Validating the broken Link to the Internet) - Indicating when all the strips have been looked thru and ask for a replay or go out. Really nice work Bruno. The Official Library Collection is missing more submits like this one - in the Gaming Section (or otherwise classified). Regards, Gerard

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted