Lurker News
With the quarantine being placed in effect in a lot of cities across the world, we all likely have a little bit more time to focus on personal projects or learning something new from the comfort of our homes. What are you guys up to these days?

Comments (1,237) 697 threads

lostintangent16 replies#
I’m working on a tool that allows developers to record and playback interactive, guided walkthroughs of a codebase, directly from their editor. It’s called CodeTour, and it’s currently available as a VS Code extension: https://aka.ms/codetour.

I built it because I frequently find myself looking to onboard (or “reboard”) to a project, and not knowing exactly where to start. After speaking to a bunch of other developers, I didn’t seem to be alone, so it felt like this problem was deserving of some attention.
While documentation can help mitigate this problem, I wanted to explore ways that the codebase itself could become more explainable, without requiring unnecessary context switches. Almost like if every repo had a table of contents. To make it easier to produce these “code tours” I built a tour recorder, that tries to be as simple, and dare I say, fun to use as possible.
I’ve since found that this experience has value in a number of other use cases (e.g. simplifying PR reviews, doing feature hand offs, facilitating team brown bags, etc.), and I’m excited to keep getting feedback from folks as they try it out. It’s also fully OSS, so I’d love any and all contributions: https://github.com/vsls-contrib/codetour.

petr25102018#
Looks really cool.
jolmg1 reply#
That's a surprisingly nice approach to the problem.
lostintangent#
Thanks! I took inspiration from the way I’ve seen some devs “document” their PRs: submit the PR, add a description, and then seed the PR with a handful of comments that call out the most relevant “markers” for reviewers to look at.

I’ve always liked that approach, and thought it could be cool if you could do the same thing for any body of code (not just PRs!), and also enable the comments to be ordered, so that the “tour” itself is entirely guided.

pezo19193 replies#
Awesome. Please create it for Jetbrains IntelliJ platform. Software tools are trending, you can charge money for it. I'd like to use VSCode but Webstorm is just so much more ahead. Most people and companies (who use them) already pay for Jetbrain tools.
wolco#
Slightly behind now at least in terms of this plug-in.
lostintangent2 replies#
Thanks for the feedback! In addition to CodeTour, I’m in the process of building out a couple of other tools (see below) to support better team collaboration, onboarding and knowledge retention. So I’m focusing on VS Code first, and iterating on feedback, before tackling other editors. That said, any thoughts on the usefulness of these solutions is extremely helpful, as I prioritize my backlog.

Note: Other side-projects on my journey to improve the holistic developer experience:
1. GistPad - Developer library for managing code snippets, documentation and interactive CodePen-like playgrounds. All built on top of GitHub Gists (https://aka.ms/gistpad)
2. Live Share Spaces - A virtual team room for connecting with other developers, and being able to seek and provide in-editor assistance in real-time (https://aka.ms/vsls-spaces)

RhodesianHunter2 replies#
Going to second the request to bring this to IntelliJ. Everyone I know at my current and previous jobs would use the hell out of this, but so much of JVM development is on IntelliJ now.

Awesome idea!

Continue this thread — 2 replies

Technetium1 reply#
This is so amazing I'm going to switch from Atom because of it! Thank you for making this!

Continue this thread — 1 reply

snypox1 reply#
In what terms VS Code is behind?
noir_lord#
For my work it's PHP support is far behind intellijs and I say that as a massive fan and user of both vscode and intellij (in fact I use both in the same codebase because vscode does typescript better as well as I prefer it's git support and plugins).

Also intellijs support for databases and symfony is vastly far out ahead.

hyperpallium1 reply#
Huge problem, interesting solution.

It takes time to derive the high-level from the codebase. I guess, your walk-throughs would be similar to how I'd explore it myself - without the mistakes.
EDIT it's documentation, so can get stale/out of sync as the codebase evolves (not a problem for PRs). Though high-level architecture/APIs rarely change.
BTW In github, I keep expecting the text next to files/dir to be a comment explaining the high-level (instead of the most recent commit message).

lostintangent1 reply#
Trying to codify the “tour” that a developer would have to otherwise discover themselves, is exactly what I’m trying to help with. This just seems like such an important phase of learning, that is currently way too manual.

Regarding the comment about tours becoming stale: when you record the tour, you can choose to associate it with a specific commit/tag/branch. That way, when someone plays it back, it will continue to make sense, even in the midst of minor code changes/refactorings.
I’ve also been working on making the tour editing experience as simple as possible, so that as you need to revise the tour over time, it’s not too difficult to do.
That said, any artifact that’s a derivative/compliment of code (e.g. documentation, tests), represents an additional “burden” to maintain. So I’m focused on trying to keep the tours “stable” enough to support learning, and reduce the cost to editing them, to hopefully support the continued investment.
I’m semi-hopeful that there’s a nice balance here, that provides an enjoyable enough DX, coupled with the team’s motivation/benefits to retain and transfer such important knowledge. We’ll see how it goes!

hyperpallium4 replies#
Seems flawless for the important niche of specific commits.

I guess navigation uses VS Code to locate functions etc, so it's robust to superficial changes (like ctags for vim).
Keeping docs in sync is a hard problem!... \tangent: maybe a tour draft, of execution trace of a typical use, filtered to only key api calls?

Continue this thread — 4 replies

archlight1 reply#
this is great idea. you need guided tour when you visit a museum as vast as louver
lostintangent#
The analogy of a museum tour was exactly what inspired the name! When you want to really learn about something, it’s hard to beat the value of a guided walkthrough, that can provide you with just enough focus, while still allowing you to explore ideas on your own.
the_arun1 reply#
This is pretty cool. Hope GitHub implements this idea!!
lostintangent#
Me too! I started this discussion with Nat Friedman (GitHub CEO), and I’m excited to see what can be done here. Any feedback/interest from the community might help make this a reality :)

https://github.com/vsls-contrib/codetour/issues/10

quacker1 reply#
Love it. This is such a good idea.

The only limitation is that it's VS Code only. But, the JSON output means I could easily write a script to produce HTML that could be hosted for other devs to view.

lostintangent1 reply#
Thanks! I’m keen to explore integration with GitHub in the near future (https://github.com/vsls-contrib/codetour/issues/10), in order to provide a browser-based “player”. That way, the knowledge in the tour isn’t limited to any one editor.

That said, I wanted to record the tours in a simple JSON file, specifically to enable interop with other tools. I’d love to hear any feedback you have on the experience and/or the format!

strzibny#
I would love to see it being available for GitHub/GitLab. Personally I use Sublime Text now.
fishooter1 reply#
Love the idea! Maybe a suggestion with the "bit rot" problem (getting out of sync with code). Code tours will likely cover the most important parts of the codebase, which should be well tested in large projects (and large projects are the ones that need the tours). You could link the comments to those tests, and if any of those tests are changed, you will be advised to take a look at the tour comment. These tests can be also discovered automatically, as there exist code coverage tools.
lostintangent1 reply#
Ah I really like this idea! Currently, a tour can be associated with a specific commit or tag, to enable it to be resilient to code changes over time (e.g. minor refactorings that don’t fundamentally change the value of the tour).

That said, there isn’t a way to automatically know when a tour should be updated, after a significant enough code has changed. Being able to bind a tour to one or more tests is a really interesting idea, and something that I’ll try to explore this upcoming week. Thanks so much for the feedback here!

o-__-o1 reply#
How would you associate with ruby tests vs go tests vs my random test library that doesn’t have a great framework?

Continue this thread — 1 reply

mokshjawa1 reply#
So awesome! Actually, working on something somewhat similar called Codeflow (https://usecodeflow.com/). Right now, we have a web app where people can create these walkthroughs/tours but wanted to ultimately create an IDE extension. Love what you've done thus far.

Continue this thread — 1 reply

Continue this thread — 7 more replies

zackb12 replies#
I'm working on a morse code iOS app that can optionally use Force (3D) Touch. My dad had a stroke recently and is quarantined in a care facility. He can't talk but remembers morse code like a boss. He can't lift his finger off the screen to "tap" and there were no other morse apps out there for people with physical impairment. With this he's able to communicate... I've been coding for 15 years but this was life changing when it worked!

FOSS: https://github.com/zackb/forcecode
only TestFlight right now but AppStore soon under the name "Force Code"

willjp#
This is incredibly creative!! I wish you and your father the best of luck!
thewarpaint#
Really interesting use of force touch, not sure if the repo is meant to be public already, would suggest you add a README with a short description of the project, installation instructions and so on. Best of luck!
chrissnell1 reply#
That's so awesome. Is he a ham?
zackb1 reply#
Yes he is. Thanks!
supdatecron3 replies#
Sorry, but what is a ham? a HAM radio operator or something else?

Continue this thread — 3 replies

lpage1 reply#
Congrats on the awesome project. In case you haven’t come across it ACAT [1] might be of interest, especially if word rate becomes a limiting factor in communication for you dad, or if he’s interested in using a computer. ACAT is highly flexible around how it accepts inputs. To that end, you might be able to take what you’ve done and open it up to a broader audience by writing an extension that turns the iPhone with force touch into an input sensor, with or without the use of Morse.

[1] https://github.com/intel/acat

zackb#
Thanks, and thanks for showing me ACAT. I was not aware of it but looks interesting.
probolsky#
Awesome.
jcims1 reply#
This actually sounds like a great way to learn it too, will be looking out for it in the App Store!!!
lostgame#
Consider an Apple Watch app/extension?

It could be incredibly useful to not have to pick up a phone to use, and probably would not be that difficult to port over.
If you need help, testing or advice feel free to contact me at claire at theoic dot me. I’m a bit of a Watch nut and do iOS programming for a living.

rijoja3 replies#
Hi, so many cool ideas in this thread but this one really caught my attention. As it happens I've been investigating solutions like this under an open source basis. Unfortunately I didn't pay enough attention to "marketing" so I was forced to quit due to lack of funding. Now my hands are sort of tied by a greedy copyright clause in my contract so I'm not sure how much I personally can do as I really want my work to be in the hands of the public.

One of my ideas is exactly using morse but more as a means to demonstrate a way to make a new input method learnable via a HUD.
Apart from that I'd think you might be interested in Dasher and that you should check out the solution that Stephen Hawking is using which happens to be open source.
I've put in quite a lot of thought into this and would love to discuss this with you. If you are interested please use contact form in link below or let me know how I can contact you.
http://tbf-rnd.life

Continue this thread — 3 replies

Continue this thread — 4 more replies

chdaniel63 replies#
I'm making a new tool for writers. With it, you'll be able to write your essays on "layers"

The problem? Tweets are easier to read than long-form essays, as they require less time commitment. If the content is not good on a long-form article, you'll find out way too late. With this tool I'm developing:
Layer 1 is the shortest version of your essay, the 1 min read — like a tweet. The idea boiled down to the shortest version
Layer 2 is the same text from layer 1, but with extras added here and there. What's already read by you is in black ink. What's new is in blue ink. This is the 2 min read version
Layer 3 shows everything from Layer 1 and 2 in black ink, but what's new is now in blue ink. and you keep doing that until you get to the full version.
I can post some screenshots here of my mockups, as I'm a designer. PM me if you find this intriguing!
——
Edit: Since people are showing interest, here's how I see it happening — https://invis.io/GQWINO2YKU2#/410298082_1_Min_Verison
The first thing that you see is the first layer (1 min version). Go right for 3 and 5 min version!
——
Edit 2: since I'm seeing the upvotes and the emails, I quickly made this sign-up form for the people who want to be updated when the product is done: https://layered-ink.webflow.io/
I would put up the https://layered.ink link but the domain hasn't been propagated yet.
@Admins — please do let me know if this is not permitted so I can take it down. Apologies if so.

Continue this thread — 63 replies

karlicoss6 replies#
I'm working on promnesia, a browser extension to enhance web browser history.

It allows you to answer different questions about the current web page:
- have I been here before? When?
- why have I bookmarked it?
- how did I get on it? Which page has led to it?
- who sent me this link? Can I just jump to the message?
- which links on this page have I already explored?
- which posts from this blog page have I already read?
https://github.com/karlicoss/promnesia#demo

Continue this thread — 6 replies

Load more comments