discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Things OpenSCAD was Not Meant to Do

JB
Jordan Brown
Sat, Oct 7, 2023 6:08 AM

When I was a kid, there was a BASIC program called the SCIENCE FICTION
HORROR MOVIE POCKET COMPUTER.  It came to mind, and while alas that
particular program appears to have been lost to the sands of time, I
found a picture of the paper version of the concept, by Gahan Wilson. 
Dodging work, I decided to reimplement it... and of course, in a
tradition established by my Life, Tic-Tac-Toe, and Battle-of-Number
programs, I decided to do it in OpenSCAD.

Load it up, F5, and watch the console for output like this:

ECHO: "Earth is attacked by giant Betelgeusian mechanical device(s)
which (who) want our women and are radioactive and cannot be killed by
the atomic bomb so they eat us (The End)"

ECHO: "Earth is attacked by giant extragalactic reptile(s) which (who)
misunderstand us and are radioactive and cannot be killed by the Army,
Navy, Marine Corps, and/or Coast Guard but a cute little kid convinces
them people are O.K. and they turn into disgusting lumps (The End)"

ECHO: "Earth burns up and almost everybody dies (The End)"

Hint:  feed one of these to ChatGPT and ask it to write a screenplay.

I knew you would be excited.

When I was a kid, there was a BASIC program called the SCIENCE FICTION HORROR MOVIE POCKET COMPUTER.  It came to mind, and while alas that particular program appears to have been lost to the sands of time, I found a picture of the paper version of the concept, by Gahan Wilson.  Dodging work, I decided to reimplement it... and of course, in a tradition established by my Life, Tic-Tac-Toe, and Battle-of-Number programs, I decided to do it in OpenSCAD. Load it up, F5, and watch the console for output like this: ECHO: "Earth is attacked by giant Betelgeusian mechanical device(s) which (who) want our women and are radioactive and cannot be killed by the atomic bomb so they eat us (The End)" ECHO: "Earth is attacked by giant extragalactic reptile(s) which (who) misunderstand us and are radioactive and cannot be killed by the Army, Navy, Marine Corps, and/or Coast Guard but a cute little kid convinces them people are O.K. and they turn into disgusting lumps (The End)" ECHO: "Earth burns up and almost everybody dies (The End)" Hint:  feed one of these to ChatGPT and ask it to write a screenplay. I knew you would be excited.
KE
Karl Exler
Sat, Oct 7, 2023 7:37 AM

??? Why so many code for only one line of ECHO? --> "Earth is attacked
by giant Betelgeusian mechanical device(s) which (who) want our women
take a few and leave (The End)"

a special kind of humour - only for hard core programmers?

BR Karl

Am 07.10.23 um 08:08 schrieb Jordan Brown:

When I was a kid, there was a BASIC program called the SCIENCE FICTION
HORROR MOVIE POCKET COMPUTER.  It came to mind, and while alas that
particular program appears to have been lost to the sands of time, I
found a picture of the paper version of the concept, by Gahan Wilson. 
Dodging work, I decided to reimplement it... and of course, in a
tradition established by my Life, Tic-Tac-Toe, and Battle-of-Number
programs, I decided to do it in OpenSCAD.

Load it up, F5, and watch the console for output like this:

ECHO: "Earth is attacked by giant Betelgeusian mechanical device(s)
which (who) want our women and are radioactive and cannot be killed by
the atomic bomb so they eat us (The End)"

ECHO: "Earth is attacked by giant extragalactic reptile(s) which (who)
misunderstand us and are radioactive and cannot be killed by the Army,
Navy, Marine Corps, and/or Coast Guard but a cute little kid convinces
them people are O.K. and they turn into disgusting lumps (The End)"

ECHO: "Earth burns up and almost everybody dies (The End)"

Hint: feed one of these to ChatGPT and ask it to write a screenplay.

I knew you would be excited.


OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

??? Why so many code for only one line of ECHO? --> "Earth is attacked by giant Betelgeusian mechanical device(s) which (who) want our women take a few and leave (The End)" a special kind of humour - only for hard core programmers? BR Karl Am 07.10.23 um 08:08 schrieb Jordan Brown: > When I was a kid, there was a BASIC program called the SCIENCE FICTION > HORROR MOVIE POCKET COMPUTER.  It came to mind, and while alas that > particular program appears to have been lost to the sands of time, I > found a picture of the paper version of the concept, by Gahan Wilson.  > Dodging work, I decided to reimplement it... and of course, in a > tradition established by my Life, Tic-Tac-Toe, and Battle-of-Number > programs, I decided to do it in OpenSCAD. > > Load it up, F5, and watch the console for output like this: > > ECHO: "Earth is attacked by giant Betelgeusian mechanical device(s) > which (who) want our women and are radioactive and cannot be killed by > the atomic bomb so they eat us (The End)" > > ECHO: "Earth is attacked by giant extragalactic reptile(s) which (who) > misunderstand us and are radioactive and cannot be killed by the Army, > Navy, Marine Corps, and/or Coast Guard but a cute little kid convinces > them people are O.K. and they turn into disgusting lumps (The End)" > > ECHO: "Earth burns up and almost everybody dies (The End)" > > Hint: feed one of these to ChatGPT and ask it to write a screenplay. > > I knew you would be excited. > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org
WF
William F. Adams
Sat, Oct 7, 2023 1:50 PM

I was expecting a "Choose Your Own Adventure" thing where one selects different options using the Customizer and the story is gradually revealed in the pane.
William
-- Sphinx of black quartz, judge my vow.https://designinto3d.com/

I was expecting a "Choose Your Own Adventure" thing where one selects different options using the Customizer and the story is gradually revealed in the pane. William -- Sphinx of black quartz, judge my vow.https://designinto3d.com/
L
larry
Sat, Oct 7, 2023 1:54 PM

On Sat, 2023-10-07 at 09:37 +0200, Karl Exler wrote:

??? Why so many code for only one line of ECHO?

Oh, I don''t know, perhaps because it has a rands() statement in it>

You did hit F5 more than once, didn't you?

-->  "Earth it is attacked by giant Betelgeusian mechanical device(s)
which (who) want our women take a few and leave (The End)"

a special kind of humour - only for hard core programmers?
BR
Karl
Am 07.10.23 um 08:08 schrieb Jordan Brown:
 

  When I was a kid, there was a BASIC program called the SCIENCE
FICTION HORROR MOVIE POCKET COMPUTER.  It came to mind, and while
alas that particular program appears to have been lost to the sands
of time, I found a picture of the paper version of the concept, by
Gahan Wilson.  Dodging work, I decided to reimplement it... and of
course, in a tradition established by my Life, Tic-Tac-Toe, and
Battle-of-Number programs, I decided to do it in OpenSCAD.
 
 Load it up, F5, and watch the console for output like this:
 
 ECHO: "Earth is attacked by giant Betelgeusian mechanical
device(s) which (who) want our women and are radioactive and cannot
be killed by the atomic bomb so they eat us (The End)"
ECHO: "Earth is attacked by giant extragalactic reptile(s) which
(who) misunderstand us and are radioactive and cannot be killed by
the Army, Navy, Marine Corps, and/or Coast Guard but a cute little
kid convinces them people are O.K. and they turn into disgusting
lumps (The End)"
ECHO: "Earth burns up and almost everybody dies (The End)"
Hint:  feed one of these to ChatGPT and ask it to write a
screenplay.
I knew you would be excited.
 
 


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

On Sat, 2023-10-07 at 09:37 +0200, Karl Exler wrote: > ??? Why so many code for only one line of ECHO? Oh, I don''t know, perhaps because it has a rands() statement in it> You did hit F5 more than once, didn't you? > --> "Earth it is attacked by giant Betelgeusian mechanical device(s) > which (who) want our women take a few and leave (The End)" > > a special kind of humour - only for hard core programmers? > BR > Karl > Am 07.10.23 um 08:08 schrieb Jordan Brown: >   > >   When I was a kid, there was a BASIC program called the SCIENCE > > FICTION HORROR MOVIE POCKET COMPUTER.  It came to mind, and while > > alas that particular program appears to have been lost to the sands > > of time, I found a picture of the paper version of the concept, by > > Gahan Wilson.  Dodging work, I decided to reimplement it... and of > > course, in a tradition established by my Life, Tic-Tac-Toe, and > > Battle-of-Number programs, I decided to do it in OpenSCAD. > >   > >  Load it up, F5, and watch the console for output like this: > >   > >  ECHO: "Earth is attacked by giant Betelgeusian mechanical > > device(s) which (who) want our women and are radioactive and cannot > > be killed by the atomic bomb so they eat us (The End)" > > ECHO: "Earth is attacked by giant extragalactic reptile(s) which > > (who) misunderstand us and are radioactive and cannot be killed by > > the Army, Navy, Marine Corps, and/or Coast Guard but a cute little > > kid convinces them people are O.K. and they turn into disgusting > > lumps (The End)" > > ECHO: "Earth burns up and almost everybody dies (The End)" > > Hint:  feed one of these to ChatGPT and ask it to write a > > screenplay. > > I knew you would be excited. > >   > >   > > _______________________________________________ > > OpenSCAD mailing list > > To unsubscribe send an email to discuss-leave@lists.openscad.org > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
JB
Jordan Brown
Sat, Oct 7, 2023 5:11 PM

On 10/7/2023 6:50 AM, William F. Adams wrote:

I was expecting a "Choose Your Own Adventure" thing where one selects
different options using the Customizer and the story is gradually
revealed in the pane.

That would be amusing, but there are two difficult problems.

The first is technical:  the customizer is not at all dynamic.  Any
given program will always present the same set of customizer prompts. 
It also doesn't have any state, other than the state of the user's
input.  It can't ask new questions, present new information, et cetera. 
(In my Tic-Tac-Toe and Battle of Numbers programs, the OpenSCAD program
has to tell the user what move it wants to make, and the user makes the
move for it in the customizer.)

The second is creative:  I'd have to come up with a CYOA story, with
prompts and narrative.  That's a lot more work, and I'm not a creative
type.

But here's a small variation that lets you control the story.  The
customizer will give you a list of zeroes.  Change them to other
numbers, left to right, to see how the story evolves.  It is left as an
exercise for the reader how many of the zeroes at the end are never
used. [4, 2, 3, 2, 1, 2, 2, 2, 3, 3, 3, 2, 0, 0, 0] is romantic.

On 10/7/2023 6:50 AM, William F. Adams wrote: > I was expecting a "Choose Your Own Adventure" thing where one selects > different options using the Customizer and the story is gradually > revealed in the pane. That would be amusing, but there are two difficult problems. The first is technical:  the customizer is not at all dynamic.  Any given program will always present the same set of customizer prompts.  It also doesn't have any state, other than the state of the user's input.  It can't ask new questions, present new information, et cetera.  (In my Tic-Tac-Toe and Battle of Numbers programs, the OpenSCAD program has to tell the user what move it wants to make, and the user makes the move for it in the customizer.) The second is creative:  I'd have to come up with a CYOA story, with prompts and narrative.  That's a *lot* more work, and I'm not a creative type. But here's a small variation that lets you control the story.  The customizer will give you a list of zeroes.  Change them to other numbers, left to right, to see how the story evolves.  It is left as an exercise for the reader how many of the zeroes at the end are never used. [4, 2, 3, 2, 1, 2, 2, 2, 3, 3, 3, 2, 0, 0, 0] is romantic.
JB
Jordan Brown
Sat, Oct 7, 2023 5:20 PM

And here's a better variation (probably the last one :-) that is random
by default but also lets you choose your own.

And here's a better variation (probably the last one :-) that is random by default but also lets you choose your own.
WF
William F. Adams
Sat, Oct 7, 2023 6:37 PM

On Saturday, October 7, 2023 at 01:11:11 PM EDT, Jordan Brown openscad@jordan.maileater.net wrote:

The first is technical:  the customizer is not at all dynamic.  Any given program will always present the same >set of customizer prompts.  It also doesn't have any state, other than the state of the user's input.  It can't >ask new questions, present new information, et cetera. 

Perhaps that's something which we will be able to do in the nifty new Python implementation?
William
-- Sphinx of black quartz, judge my vow.https://designinto3d.com/

On Saturday, October 7, 2023 at 01:11:11 PM EDT, Jordan Brown <openscad@jordan.maileater.net> wrote: >The first is technical:  the customizer is not at all dynamic.  Any given program will always present the same >set of customizer prompts.  It also doesn't have any state, other than the state of the user's input.  It can't >ask new questions, present new information, et cetera.  Perhaps that's something which we will be able to do in the nifty new Python implementation? William -- Sphinx of black quartz, judge my vow.https://designinto3d.com/
BC
Bob Carlson
Wed, Oct 11, 2023 9:10 PM

Eliza next?

-Bob
Tucson AZ

On Oct 6, 2023, at 23:08, Jordan Brown openscad@jordan.maileater.net wrote:

When I was a kid, there was a BASIC program called the SCIENCE FICTION HORROR MOVIE POCKET COMPUTER.  It came to mind, and while alas that particular program appears to have been lost to the sands of time, I found a picture of the paper version of the concept, by Gahan Wilson.  Dodging work, I decided to reimplement it... and of course, in a tradition established by my Life, Tic-Tac-Toe, and Battle-of-Number programs, I decided to do it in OpenSCAD.

Load it up, F5, and watch the console for output like this:

ECHO: "Earth is attacked by giant Betelgeusian mechanical device(s) which (who) want our women and are radioactive and cannot be killed by the atomic bomb so they eat us (The End)"

ECHO: "Earth is attacked by giant extragalactic reptile(s) which (who) misunderstand us and are radioactive and cannot be killed by the Army, Navy, Marine Corps, and/or Coast Guard but a cute little kid convinces them people are O.K. and they turn into disgusting lumps (The End)"

ECHO: "Earth burns up and almost everybody dies (The End)"

Hint:  feed one of these to ChatGPT and ask it to write a screenplay.

I knew you would be excited.

<ScienceFictionHorrorMoviePocketComputer.scad>_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Eliza next? -Bob Tucson AZ On Oct 6, 2023, at 23:08, Jordan Brown <openscad@jordan.maileater.net> wrote: When I was a kid, there was a BASIC program called the SCIENCE FICTION HORROR MOVIE POCKET COMPUTER. It came to mind, and while alas that particular program appears to have been lost to the sands of time, I found a picture of the paper version of the concept, by Gahan Wilson. Dodging work, I decided to reimplement it... and of course, in a tradition established by my Life, Tic-Tac-Toe, and Battle-of-Number programs, I decided to do it in OpenSCAD. Load it up, F5, and watch the console for output like this: ECHO: "Earth is attacked by giant Betelgeusian mechanical device(s) which (who) want our women and are radioactive and cannot be killed by the atomic bomb so they eat us (The End)" ECHO: "Earth is attacked by giant extragalactic reptile(s) which (who) misunderstand us and are radioactive and cannot be killed by the Army, Navy, Marine Corps, and/or Coast Guard but a cute little kid convinces them people are O.K. and they turn into disgusting lumps (The End)" ECHO: "Earth burns up and almost everybody dies (The End)" Hint: feed one of these to ChatGPT and ask it to write a screenplay. I knew you would be excited. <ScienceFictionHorrorMoviePocketComputer.scad>_______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org