Lurker News
Bike’s most original feature is the “fluid” text editing. Lots of text editors have animated some interactions (cursor movement, insert newline, etc), but I think Bike is the first designed from the ground up to support fluid editing.

Give it a try, it feels different. (movie on home page if you don't have Mac)
Other Features:
• In text mode Bike works like a normal text editor. In outline mode rows are constrained to outline hierarchy.
• .bike file format is HTML subset, so files are easy to parse and manipulate. Bike also supports .opml and .txt.
• Scriptable via AppleScript. Javascript plugin API also expected in future, though no timing on that.
• Architecture needed to support fluid editing also makes Bike faster/more scalable than most (all?) outliners and many text editors. I test performance using the Moby Dick Workout[^1].
Implementation Notes:
• View is built using CALayers[^2].
• Animations are performed by Core animation and Motion[^3] lib.
• View performance is determined by visible text, not document size.
Model representation is interesting in that it’s just a flat list of rows. Each row has a `level` property, outline structure is determined dynamically. View implementation requires that each row has a unique ID.
I’m using OrderedDictionary from Swift Collections[^4] to store rows. This is Bike’s performance bottleneck for large outlines. Eventually I may change to augmented b+tree and then should be able to work with gigabytes worth of outline. That will be fun, but not sure it’s actually needed. Already probably fast enough for 99% of use cases as is.
Hope you find Bike interesting. I’m happy to answer any questions.
[^1]: https://www.hogbaysoftware.com/posts/moby-dick-workout/
[^2]: https://developer.apple.com/documentation/quartzcore/calayer
[^3]: https://github.com/b3ll/Motion
[^4]: https://github.com/apple/swift-collections

Comments (236) 69 threads

Show all comments

Showing thread 14 of 69

jb19912 replies#
Regarding the website: having a video embedded with zero control to mute or change it's audio volume is really insensitive UX. The annoying background music is not even necessary to actually get meaning from the video.
jessegrosjean4 replies#
Sorry about that. I'm a one guy does many things. Maybe I missed on video sound, but it's tricky trying to make a text editor look interesting. I thought the music helped.
ask_b123#
The music does sound interesting, but I also wanted to mute it. But at least there are some images later in the page.
humanistbot1 reply#
I hated the music and closed my browser the second I couldn't find a mute button.
GaylordTuring1 reply#
Sorry, I might have misunderstood you, but can’t you just mute the audio of your device altogether? Or do you want to continue to listen to music in the background or something?

Continue this thread — 1 reply

throwaway675309#
I would've vastly preferred you narrating over the video instead of generic sounding Kickstarter music, I immediately muted it.
dymk#
I enjoyed the music. It gave me the feeling of an Apple presentation.

I'm also blessed with a computer that has a "mute" button if I didn't want to hear it.

johnknowles1 reply#
Strong disagree to both of these points. Nothing "insensitive", save your comment. Devices have audio controls, no need to repeat them in a video player-especially not one on a landing page for a product. Background music for promotional material is standard, and all too necessary.
jb19911 reply#
> Devices have audio controls, no need to repeat them in a video player

You assume that the web page is the only source of audio happening on a device. If someone is listening to something on their machine while browsing articles and then needs to stop whatever is playing because the website is taking over the audio, that's very poor UX and is indeed insensitive to the user.
Suppose you have a screen reader and now you cannot hear it because a video is unnecessarily blaring music that you can't hide. 99.99% of all websites offer the user individual audio control over playing content -- for a reason.

johnknowles1 reply#
Making me think that maybe you should be insensitive to certain users
jb1991#
> Making me think that maybe you should be insensitive to certain users

People with screen readers usually have an accessibility issue, so you are advocating to ignore the visually impaired, for example.