38 karma · joined Mar 17, 2011 (15y ago) · 29 submissions
1.
Show HN: The Playback Press(playbackpress.com ↗)
1 points · by markm208 · 2y ago · discuss
2.
Ask HN: Looking for help with code playback hosting app
1 points · by markm208 · 3y ago · discuss
3.
Show HN: Creating Code Playbacks with Storyteller(markm208.github.io ↗)
2 points · by markm208 · 3y ago · discuss
4.
An Animated Introduction to Clojure(markm208.github.io ↗)
3 points · by markm208 · 3y ago · discuss
comment 4y ago · link · parent
I have more 'books' on C++, python, SQL, web dev, dart/flutter, clojure, ruby, and more:
I use these for the programming-focused cs courses that I teach instead of having the students buy bloated textbooks. The students prefer them to books (no surprise) and videos (somewhat surprising). The code is searchable and copy/pasteable so the students actually use it.
The tool is free and open.
6.
Show HN: Our Code Stories- Programming Book Publishing/Tutorial Blog Alternative
4 points · by markm208 · 7y ago · discuss
comment 7y ago · link · parent
I have created a tool that allows me to move quickly through my code where students can still see how the solution evolves. I can comment at interesting points in the development of the code and attach hand drawn pics and screenshots. Here are some examples:
https://ourcodestories.com/markm208/Playlist/All
(Click on the >> button to move from comment to comment. These work best on a big screen)
I show some of these in class before asking the students to work on a related problem. I require the students to view the rest outside of class.
My students really like these. They prefer them to textbooks (no surprise) and videos covering similar material.
The tool to create these 'playbacks' is free and open source (currently a VS Code plugin). I have also created the site to share these with others. I am looking for feedback.
comment 8y ago · link · parent
This is an intro book on Python. I have also written books on [C++](https://ourcodestories.com/markm208/Playlist/2) and [Clojure](https://ourcodestories.com/markm208/Playlist/4). I am looking for feedback on the medium.
I am also looking for others to write their own books/tutorials and to create professional portfolios to show potential employers how they do their work. Storyteller is a free, open source tool to create playbacks. Our Code Stories is a site to host them. Authors can post their playbacks for free, make them private, or charge a fee for others to access them.
If you are interested in creating your own playbacks and need a little help getting started reach out to me and I’ll help.
9.
A Brief, Animated Introduction to Programming with Python(ourcodestories.com ↗)
2 points · by markm208 · 8y ago · 1 comment
10.
4 points · by markm208 · 8y ago · 1 comment
comment 10y ago · link · parent
I have a similar tool but it allows the comments to be added to the code as it evolves:
https://github.com/markm208/storyteller#storyteller
The main difference being that the context of the comment is always in line with code at the point the comment is made. One other difference is that a person can add drawings and audio to their comments.
comment 11y ago · link · parent
What if the programmer could finish a programming session and then go back and see exactly what they have done and reflect on it? What if they could highlight just the interesting parts and leave the uninteresting parts on the cutting room floor? What if they could supply a reflective narrative describing how and why the code evolved? I think these types of experiences would provide more valuable learning experiences than the typical live code stream.
This is what I am trying to accomplish with my project called Storyteller:
http://www.storytellersoftware.com
There is a longer video demo here:
(Earlier in the life of the project I also emphasized the tool as a version control tool/replacement but I am backing away from that for the time being)
comment 11y ago · link · parent
It seems like a lot of entrepreneurial college students would love to spend their summer working on their ideas. Perhaps it just came together at this time but in hindsight I wonder if summer is a more logical time since students have the free time anyway. The 12K would allow them to easily live/eat too.
I can even imagine involving college professors and students. Then it might disrupt entrepreneurship education in higher ed.
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
I suggest we take a step back and ask if modern version control is the best way to store historical information. Modern version control systems (git, mercurial, etc.) were built within the last decade or so but they were built with the same constraints as the original version control systems of the 1980’s. They are optimized to be disk efficient (and don’t get me started about their command line interfaces). This is crazy!
We should store much more about the programming process than the data gathered if and when a developer chooses to commit. We should record it all- every keystroke. No human generated source of data is ever going to fill up our hard drives or the cloud. Don’t optimize for the disk!
This data can be used to replay programming sessions so that others can learn exactly how the code evolved. Developers could then comment on the evolution of their code. Think of this as a modern commit message. I am working on a project that attempts to do this:
comment 12y ago · link · parent
comment 13y ago · link · parent
Do we want this to be an industry where only the self taught succeed? I don't. I believe there are still some things that I can learn from others. I believe I am obligated to help those around me get better- it should be part of the job description. Pair programming, if it does nothing else, does open up what is normally a solitary activity and gives people a chance to learn from others.
comment 13y ago · link · parent
http://www.storytellersoftware.com
I am actively working on it with students of mine.
Here are some thoughts on reading code:
We read code left to right, top to bottom, but how often is it written that way?
We need to be able to see the order that changes are made in order for us to understand them. Deltas in a version control system store the changes but we lose the order. The time in between commits in a version control system is way too long to understand how code has evolved. Because of this (and the loss of order) there is no good way to animate long term differences in a traditional version control system.
There is not a good place to document the reasons why changes are made. We are supposed to write the reasons why in the commit log but we all know we are terrible at that. How easy is it to remember the 50 changes to 20 files that we made since the last commit let alone describe them in a meaningful way? Very hard. This results in one sentence commit messages that are almost useless.
We could alternatively write reasons why changes are made in code comments. But, this doesn't make a lot of sense most of the time. Who wants to read a comment about how some code has changed if we can't see the old version of it anyway?
So, we make changes, and have good reasons why we make those changes, but we don't write the reasons down anywhere. Storyteller permits a new type of documentation to be created. It animates the changes to code and allows the developer to comment on the changes as they are being animated. Developers can tell stories about why groups of changes are made and distribute them to team members. The stories are searchable from the code.
We are also working on making it have traditional version control functionality to completely replace so-called modern version control (even the most modern vcs seem to be built with 1980's constraints- disk optimized, clunky command line interface, poor visualizations of changes, etc.)
comment 13y ago · link · parent
http://www.storytellersoftware.com
Everything is stored locally and the tool can generate an HTML playback file that can be passed around. One can also make comments during the playback. There tends not to be a great place to document how code evolves, we think a playback is the best place for this.
Its not quite ready for prime time yet but it will be soon. Our long term goals are to make a web app to store playbacks and to make it the next generation of version control.
comment 13y ago · link · parent
http://www.storytellersoftware.com
It allows one to comment on the evolution of code rather than on individual sections of it. Currently, there is not a good place to write down why things have evolved the way they did. There is a search/filtering interface to find only the interesting bits of history.
comment 14y ago · link · parent
Then, when someone looks at some unfamiliar code they can search to see if there is a 'story' about that bit of code. The code and the narrative playback side by side. The noise can efficiently be bypassed.
comment 14y ago · link · parent
If you're not a really good developer the question is how do you become one? It is possible to learn the hard way by doing (like you suggested), but it is painful. A playback is not just watching the code as it was developed but it is listening to the developer explain why they are doing things. My hypothesis is this will make it easier for people to become better.
28.
Version control systems- why do we throw away so much data?(storytellersoftware.com ↗)
7 points · by markm208 · 14y ago · 10 comments
comment 14y ago · link · parent
I agree. Files (and version control systems) leak a tremendous amount of valuable information. They are a very '20th century' technology.
I'm working on a tool that behaves like a distributed version control system (branching and merging) but stores more fine-grained information about the programming process. This information can be played back and developers can tell a story about why the code is the way it is: