Skip to content

Commit 2ceede1

Browse files
committed
Update project-ideas.md
1 parent f86f624 commit 2ceede1

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

‎v3/docs/project-ideas.md‎

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,11 @@ I recently added a feature to Online Python Tutor (OPT) that enables user progra
8383

8484
For the file I/O example, I can imagine creating a special File class that implements "file-like" stream I/O methods. Then the user program might look like:
8585

86-
---
87-
import VisualFile
88-
f = VisualFile(<string contents of the file>)
86+
import VisualFile
87+
f = VisualFile(<string contents of the file>)
88+
for line in open(f):
89+
<parse line>
8990

90-
for line in open(f):
91-
<parse line>
92-
---
9391

9492
The class definition of VisualFile includes the proper HTML-generation code to render a pretty HTML representation of the file's contents. And when methods iterate over the file, it can render an HTML representation with certain lines or characters highlighted to represent, say, the current file pointer position, etc.
9593
}
@@ -190,7 +188,7 @@ We also talked about visualizing orders of growth of code, such as loops, nested
190188

191189
## Backend
192190

193-
### Support multiple concurrent viewers
191+
### Shared visualization sessions
194192

195193
My main high-level vision for where to take the shared editing is the following:
196194

@@ -201,17 +199,21 @@ My main high-level vision for where to take the shared editing is the following:
201199

202200
The basic idea here is that students can follow along with an instructor but then "detach" at anytime to try out their own variations and experiments without interfering with other people's sessions.
203201

204-
Here's another snippet on this idea:
202+
A related point/question is: what happens if two people try to simultaneously edit? i assume that they clobber each other's changes, right? in that case, it might be good to designate only ONE person who can edit, and everyone else just watches. or else a mischievous student can just delete everyone's code. of course, you can also have another "free-for-all" mode where everyone can edit.
203+
205204

206-
Collaborative visualizations: Adding real-time concurrent editing to these visualizations enables students to work together and tutor one another while physically separated. A shared workspace can also be useful during both physical and virtual lectures: As the instructor is lecturing using code visualizations, students can follow along by viewing those same running examples on their laptops. At any point when curious or confused, students can instantly diverge from the live example and try out their own variants
205+
Another take on this idea:
206+
Adding real-time concurrent editing to these visualizations enables students to work together and tutor
207+
one another while physically separated. A shared workspace can also be useful during both physical and
208+
virtual lectures: As the instructor is lecturing using code visualizations, students can follow along by
209+
viewing those same running examples on their laptops. At any point when curious or confused, students can
210+
instantly diverge from the live example and try out their own variants
207211
on-the-fly in private; they can then sync back to the "live feed" at any time. Students can also text
208212
chat with one another about the lecture, all within the context of the live lecture materials. If students
209213
opt-in to allowing the instructor to access such interaction data, then that could "close the loop" and
210214
help the instructor improve future lectures. For instance, if 80% of students are silently diverging from
211215
the live example at a certain point in lecture, then perhaps that part requires further clarification.
212216

213-
A related point/question is: what happens if two people try to simultaneously edit? i assume that they clobber each other's changes, right? in that case, it might be good to designate only ONE person who can edit, and everyone else just watches. or else a mischievous student can just delete everyone's code. of course, you can also have another "free-for-all" mode where everyone can edit.
214-
215217

216218
### Visualizing different programming languages (especially JavaScript!)
217219

0 commit comments

Comments
 (0)