From wbarnum at elmhurst205.org Mon May 6 15:56:27 2024 From: wbarnum at elmhurst205.org (Barnum, William) Date: Mon, 6 May 2024 14:56:27 -0500 Subject: alice-teacher Alice Unity Player Error Message-ID: I have a student who is getting the following error when he exports his project and tries to load it into the Standalone Alice Unity Player: "Unable to read this world Unable to read src/Scene.twe" Does anyone have any idea what the problem could be? Thanks, Bill -- This e-mail message contains information that may be?confidential and is the property of the Board of Education of Elmhurst Community Unit School District 205.? It is intended only for the person(s) to whom it is addressed.? If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof.? If you have received this message in error, please notify the sender immediately and delete all copies of this message.? Any communication sent or received by District 205 is a public record and may be subject to inspection or copying under the Illinois Freedom of Information Act (FOIA). -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Alice Player Error.PNG Type: image/png Size: 17706 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Plane VR V2.a3w Type: application/octet-stream Size: 5202128 bytes Desc: not available URL: From dabeshou at andrew.cmu.edu Mon May 6 21:20:08 2024 From: dabeshou at andrew.cmu.edu (Daniel Abeshouse) Date: Mon, 6 May 2024 18:20:08 -0700 Subject: alice-teacher Alice Unity Player Error In-Reply-To: References: Message-ID: Bill, The exported file uses WholeNumber.MAX_VALUE instead of a more ordinary value. This is in a count loop at the beginning of the planeStartUp method. I am curious how they produced this value. If you find out, please let me know. As the code is written a while (true) might be a reasonable replacement to keep the propeller spinning. Daniel Abeshouse Alice Project Carnegie Mellon University On May 6, 2024 at 3:56:27?PM, "Barnum, William via alice-teachers" < alice-teachers at lists.andrew.cmu.edu> wrote: > I have a student who is getting the following error when he exports his > project and tries to load it into the Standalone Alice Unity Player: > "Unable to read this world Unable to read src/Scene.twe" > > Does anyone have any idea what the problem could be? > > Thanks, > Bill > > > > This e-mail message contains information that may be confidential and is > the property of the Board of Education of Elmhurst Community Unit School > District 205. It is intended only for the person(s) to whom it is > addressed. If you are not the intended recipient of this message, you are > not authorized to read, print, retain, copy, disseminate, distribute, or > use this message or any part thereof. If you have received this message in > error, please notify the sender immediately and delete all copies of this > message. Any communication sent or received by District 205 is a public > record and may be subject to inspection or copying under the Illinois > Freedom of Information Act (FOIA). > _______________________________________________ > alice-teachers mailing list > alice-teachers at lists.andrew.cmu.edu > To change settings or unsubscribe visit: > https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vanderhyde at sxu.edu Tue May 7 11:46:26 2024 From: vanderhyde at sxu.edu (Vanderhyde, James) Date: Tue, 7 May 2024 15:46:26 +0000 Subject: alice-teacher Alice Unity Player Error In-Reply-To: References: Message-ID: <9DC82D61-5268-4D8F-852D-F0958B30DE1A@sxu.edu> I have seen MAX_VALUE show up in student projects. It?s easy to get. In the Custom WholeNumber dialog, just keep typing 9?s and it gets converted to MAX_VALUE. James ? James Vanderhyde Associate Professor Computer Science Saint Xavier University 3700 W. 103rd St. Chicago, IL 60655 773-298-3454 vanderhyde at sxu.edu sxu.edu On May 6, 2024, at 8:20?PM, Daniel Abeshouse wrote: [EXTERNAL EMAIL] CAUTION: This email originated from outside of the organization. Bill, The exported file uses WholeNumber.MAX_VALUE instead of a more ordinary value. This is in a count loop at the beginning of the planeStartUp method. I am curious how they produced this value. If you find out, please let me know. As the code is written a while (true) might be a reasonable replacement to keep the propeller spinning. Daniel Abeshouse Alice Project Carnegie Mellon University On May 6, 2024 at 3:56:27?PM, "Barnum, William via alice-teachers" > wrote: I have a student who is getting the following error when he exports his project and tries to load it into the Standalone Alice Unity Player: "Unable to read this world Unable to read src/Scene.twe" Does anyone have any idea what the problem could be? Thanks, Bill This e-mail message contains information that may be confidential and is the property of the Board of Education of Elmhurst Community Unit School District 205. It is intended only for the person(s) to whom it is addressed. If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you have received this message in error, please notify the sender immediately and delete all copies of this message. Any communication sent or received by District 205 is a public record and may be subject to inspection or copying under the Illinois Freedom of Information Act (FOIA). _______________________________________________ alice-teachers mailing list alice-teachers at lists.andrew.cmu.edu To change settings or unsubscribe visit: https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers _______________________________________________ alice-teachers mailing list alice-teachers at lists.andrew.cmu.edu To change settings or unsubscribe visit: https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers -------------- next part -------------- An HTML attachment was scrubbed... URL: From wbarnum at elmhurst205.org Tue May 7 15:25:20 2024 From: wbarnum at elmhurst205.org (Barnum, William) Date: Tue, 7 May 2024 14:25:20 -0500 Subject: alice-teacher Alice Unity Player Error In-Reply-To: <9DC82D61-5268-4D8F-852D-F0958B30DE1A@sxu.edu> References: <9DC82D61-5268-4D8F-852D-F0958B30DE1A@sxu.edu> Message-ID: Hey Daniel and James, Replacing the count up to MAX with a while(true) worked! I asked the student how he got that value and it was basically what James described. Thanks! Bill On Tue, May 7, 2024 at 10:51?AM Vanderhyde, James wrote: > I have seen MAX_VALUE show up in student projects. It?s easy to get. In > the Custom WholeNumber dialog, just keep typing 9?s and it gets converted > to MAX_VALUE. > > James > ? > > *James Vanderhyde *Associate Professor > Computer Science > Saint Xavier University > 3700 W. 103rd St. > Chicago, IL 60655 > 773-298-3454 > vanderhyde at sxu.edu > sxu.edu > > On May 6, 2024, at 8:20?PM, Daniel Abeshouse > wrote: > > *[EXTERNAL EMAIL]* CAUTION: This email originated from outside of the > organization. > Bill, > > The exported file uses WholeNumber.MAX_VALUE instead of a more ordinary > value. > This is in a count loop at the beginning of the planeStartUp method. > > I am curious how they produced this value. If you find out, please let me > know. > > As the code is written a while (true) might be a reasonable replacement > to keep the propeller spinning. > > Daniel Abeshouse > > Alice Project > Carnegie Mellon University > > > On May 6, 2024 at 3:56:27?PM, "Barnum, William via alice-teachers" < > alice-teachers at lists.andrew.cmu.edu> wrote: > >> I have a student who is getting the following error when he exports his >> project and tries to load it into the Standalone Alice Unity Player: >> "Unable to read this world Unable to read src/Scene.twe" >> >> Does anyone have any idea what the problem could be? >> >> Thanks, >> Bill >> >> >> >> This e-mail message contains information that may be confidential and is >> the property of the Board of Education of Elmhurst Community Unit School >> District 205. It is intended only for the person(s) to whom it is >> addressed. If you are not the intended recipient of this message, you are >> not authorized to read, print, retain, copy, disseminate, distribute, or >> use this message or any part thereof. If you have received this message in >> error, please notify the sender immediately and delete all copies of this >> message. Any communication sent or received by District 205 is a public >> record and may be subject to inspection or copying under the Illinois >> Freedom of Information Act (FOIA). >> _______________________________________________ >> alice-teachers mailing list >> alice-teachers at lists.andrew.cmu.edu >> To change settings or unsubscribe visit: >> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers >> > _______________________________________________ > alice-teachers mailing list > alice-teachers at lists.andrew.cmu.edu > To change settings or unsubscribe visit: > https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers > > _______________________________________________ > alice-teachers mailing list > alice-teachers at lists.andrew.cmu.edu > To change settings or unsubscribe visit: > https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers -- This e-mail message contains information that may be?confidential and is the property of the Board of Education of Elmhurst Community Unit School District 205.? It is intended only for the person(s) to whom it is addressed.? If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof.? If you have received this message in error, please notify the sender immediately and delete all copies of this message.? Any communication sent or received by District 205 is a public record and may be subject to inspection or copying under the Illinois Freedom of Information Act (FOIA). -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbovell at nburlington.com Fri May 10 12:35:45 2024 From: cbovell at nburlington.com (Carlos Bovell) Date: Fri, 10 May 2024 16:35:45 +0000 Subject: alice-teacher Alice 3 NetBeans Do-Together code issue Message-ID: Hi, We ran into a problem where we tried typing the doTogether syntax directly in MyFirstMethod in NetBeans. We received an error saying that the doTogether nethod is not recognized: C:\Users\cbovell\Documents\NetBeansProjects\PutFiveNumbersInOrder_starter_22\src\Scene.java:25: error: cannot find symbol doTogether(() -> { symbol: method doTogether(()->{ this[...]0); },()->{ this[...]0); },()->{ this[...]0); },()->{ this[...]0); }) location: class Scene But when we drag over the control structure from the palette panel with the same exact syntax (honest!) it does work. Why would that be? What does dragging the doTogether over from the palette panel do that typing in the code does not do for NetBeans? This is the code we typed: { doTogether(() -> { this.dolphin.turn(TurnDirection.LEFT, 2.0); }, () -> { this.dolphin2.turn(TurnDirection.LEFT, 2.0); }, () -> { this.dolphin3.turn(TurnDirection.LEFT, 2.0); }, () -> { this.dolphin4.turn(TurnDirection.LEFT, 2.0); }); } This is the code from the dragged doTogether control structure: doTogether(() -> { //TODO: Code goes here this.dolphin.turn(TurnDirection.LEFT, 2.0); }, () -> { //TODO: Code goes here this.dolphin2.turn(TurnDirection.LEFT, 2.0); }, () -> { //TODO: Code goes here this.dolphin3.turn(TurnDirection.LEFT, 2.0); }, () -> { //TODO: Code goes here this.dolphin4.turn(TurnDirection.LEFT, 2.0); }); Thank you for taking my questions. Carlos Bovell Northern Burlington High School -------------- next part -------------- An HTML attachment was scrubbed... URL: From dabeshou at andrew.cmu.edu Fri May 10 13:49:25 2024 From: dabeshou at andrew.cmu.edu (Daniel Abeshouse) Date: Fri, 10 May 2024 17:49:25 +0000 Subject: alice-teacher Alice 3 NetBeans Do-Together code issue In-Reply-To: References: Message-ID: Hello, Good to see the plugin is being used. When the palette entry is dragged in it not only adds the code, but also makes sure there is a static import of the code it calls. import static org.lgna.common.ThreadUtilities.doTogether; Your code should work if you add the import by hand, or drag in a doTogether block to trigger the addition. Hope this helps. Daniel Abeshouse Alice Project Carnegie Mellon University On May 10, 2024 at 12:35:45?PM, Carlos Bovell via alice-teachers < alice-teachers at lists.andrew.cmu.edu> wrote: > Hi, > > We ran into a problem where we tried typing the doTogether syntax directly > in MyFirstMethod in NetBeans. We received an error saying that the > doTogether nethod is not recognized: > > C:\Users\cbovell\Documents\NetBeansProjects\PutFiveNumbersInOrder_starter_22\src\Scene.java:25: > error: cannot find symbol > doTogether(() -> { > symbol: method doTogether(()->{ this[...]0); },()->{ this[...]0); > },()->{ this[...]0); },()->{ this[...]0); }) > location: class Scene > > But when we drag over the control structure from the palette panel with > the same exact syntax (honest!) it does work. Why would that be? What does > dragging the doTogether over from the palette panel do that typing in the > code does not do for NetBeans? > > This is the code we typed: > > { > doTogether(() -> { > this.dolphin.turn(TurnDirection.LEFT, 2.0); > }, () -> { > this.dolphin2.turn(TurnDirection.LEFT, 2.0); > }, () -> { > this.dolphin3.turn(TurnDirection.LEFT, 2.0); > }, () -> { > this.dolphin4.turn(TurnDirection.LEFT, 2.0); > }); > } > > This is the code from the dragged doTogether control structure: > > doTogether(() -> { > //TODO: Code goes here > this.dolphin.turn(TurnDirection.LEFT, 2.0); > }, () -> { > //TODO: Code goes here > this.dolphin2.turn(TurnDirection.LEFT, 2.0); > }, () -> { > //TODO: Code goes here > this.dolphin3.turn(TurnDirection.LEFT, 2.0); > }, () -> { > //TODO: Code goes here > this.dolphin4.turn(TurnDirection.LEFT, 2.0); > }); > > Thank you for taking my questions. > > Carlos Bovell > Northern Burlington High School > _______________________________________________ > alice-teachers mailing list > alice-teachers at lists.andrew.cmu.edu > To change settings or unsubscribe visit: > https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From djslater107 at gmail.com Fri May 10 13:52:08 2024 From: djslater107 at gmail.com (Don Slater) Date: Fri, 10 May 2024 13:52:08 -0400 Subject: alice-teacher Alice 3 NetBeans Do-Together code issue In-Reply-To: References: Message-ID: <25EBE968-5656-4F4A-BB4E-F3D412115BF5@gmail.com> Carlos, We may need more context, as the code snippet that you showed that does not work you have inside of a set of braces, and the code that you dragged in is not enclosed in the braces. I do not understand why that should make a difference, but perhaps if you sent us the project we may have a clearer understanding of what is going on. Thank you, Don Slater For the Alice Project > On May 10, 2024, at 12:35 PM, Carlos Bovell via alice-teachers wrote: > > { > doTogether(() -> { > this.dolphin.turn(TurnDirection.LEFT, 2.0); > }, () -> { > this.dolphin2.turn(TurnDirection.LEFT, 2.0); > }, () -> { > this.dolphin3.turn(TurnDirection.LEFT, 2.0); > }, () -> { > this.dolphin4.turn(TurnDirection.LEFT, 2.0); > }); > } -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbovell at nburlington.com Thu May 23 13:55:38 2024 From: cbovell at nburlington.com (Carlos Bovell) Date: Thu, 23 May 2024 17:55:38 +0000 Subject: alice-teacher Lists in Alice 3 Message-ID: Hi, We found an old post online explaining that items can't be removed from a list in Alice 3. Is that still the case? Should we keep on building new lists? Best, Carlos Bovell Northern Burlington High Schoo -------------- next part -------------- An HTML attachment was scrubbed... URL: From litomd at gmail.com Mon May 27 15:37:23 2024 From: litomd at gmail.com (Leonel Morales) Date: Mon, 27 May 2024 13:37:23 -0600 Subject: alice-teacher Lists in Alice 3 In-Reply-To: References: Message-ID: Hi, I believe it is still valid. A possible workaround is to keep two arrays one with the actual values and the other with flags that indicate whether the position in the array holds or not a valid entry. For arrays of objects, what I have done is add a boolean property to the class and use it to indicate if the object is a valid member or not. Best, Leonel El lun, 27 may 2024 a las 4:41, Carlos Bovell via alice-teachers () escribi?: > > Hi, > > We found an old post online explaining that items can't be removed from a list in Alice 3. Is that still the case? Should we keep on building new lists? > > Best, > > Carlos Bovell > Northern Burlington High Schoo > _______________________________________________ > alice-teachers mailing list > alice-teachers at lists.andrew.cmu.edu > To change settings or unsubscribe visit: > https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers From vanderhyde at sxu.edu Tue May 28 12:33:21 2024 From: vanderhyde at sxu.edu (Vanderhyde, James) Date: Tue, 28 May 2024 16:33:21 +0000 Subject: alice-teacher Lists in Alice 3 In-Reply-To: References: Message-ID: Are you asking about removing items programmatically, or from the interface? In the interface, you can remove items, but it is hidden. If you click on an item in the array, the item changes color and an X appears in the corner. Click the X to remove the item. There is no way I know of to remove items from an array programmatically, although you can change items. I suppose you could put a dummy value in to show nothing is there. Like Java, you can?t change the size of an existing array. James ? James Vanderhyde Associate Professor Computer Science Saint Xavier University 3700 W. 103rd St. Chicago, IL 60655 773-298-3454 vanderhyde at sxu.edu sxu.edu On May 23, 2024, at 12:55?PM, Carlos Bovell via alice-teachers wrote: [EXTERNAL EMAIL] CAUTION: This email originated from outside of the organization. Hi, We found an old post online explaining that items can't be removed from a list in Alice 3. Is that still the case? Should we keep on building new lists? Best, Carlos Bovell Northern Burlington High Schoo _______________________________________________ alice-teachers mailing list alice-teachers at lists.andrew.cmu.edu To change settings or unsubscribe visit: https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers -------------- next part -------------- An HTML attachment was scrubbed... URL: