6 ms·
Tokaido is not dead. It's taken longer than I expected, but I've been wrapping up the requirements for the MVP over the past few weeks [1][2][3] and hope to int
by wycats 14y ago
Tokaido is not dead. It's taken longer than I expected, but I've been wrapping up the requirements for the MVP over the past few weeks [1][2][3] and hope to integrate the code I've been writing into the UI in the next few days.
I initially anticipated that I'd be able to spend a number of full-time months on the work. I ended up being able to allocate time on a less consistent basis, largely because starting a company (tilde.io) ended up offering fewer opportunities for dedicated, isolated work than I expected. Thankfully, Patrick Gibson (of Tilde) and Austin Bales (of Do.com) ended up doing some of the iOS and design work, respectively, and I've focused my energies on the Ruby parts of the architecture.
My talk at RubyConf[4] goes into some detail about the architecture, and we're very close to shipping an early beta.
During the (long) time it's taken me to get this out the door, I've worked closely with Michal Papis (of rvm) to make the static binary build viable on both OSX and other Nix environments. Michal briefly shipped the binary Tokaido build as the primary build for `rvm install 1.9.3`, but difficulties in reliably building more recent patch levels have pushed that back some. We expect to be able to use the Tokaido build process to permanently ship binary rubies with rvm (and other ruby managers that are interested) once the build process for the current patch levels stabilizes again.
My plan for the MVP release of Tokaido is:
* Shipping the binary with a .app that can be dragged into /Applications
* The ability to add and remove applications via an application UI. You can then open a terminal window for these applications with a rock-solid Ruby environment that uses the binary build and makes sure that the ENV is set up correctly.
* The ability to start and stop any of these applications (via the web section of a Procfile) and browse them via `appname.tokaido` in the browser. This involves installing and executing a pure-Ruby proxy that supports the `app.tokaido` domain (see my RubyConf for more details on the nature of this beast; SMJobSubmit ftw!).
All of the above is largely complete (see the `tokaido` organization on GitHub and the links above for more). We have worked out how to use `SMJobSubmit` to enable the parts of `appname.tokaido` that require superuser access on first boot of the application bundle, and Patrick is just waiting for me to give him a fully self-contained zip of `tokaido-bootstrap` to execute from within the application. Of course, error handling is crucial for this, especially for low-level things like DNS servers and HTTP proxies.
Post-MVP, we hope to work on some of the more ambitious logging aspects of Austin Bales' original design.
[1] https://github.com/tokaido/tokaido-bootstrap https://github.com/tokaido/tokaido-bootstrap
[2] https://github.com/tokaido/tokaido-dns https://github.com/tokaido/tokaido-dns
[3] https://github.com/tokaido/muxr https://github.com/tokaido/muxr
[4] http://www.youtube.com/watch?v=4iv3Gk95-v0 http://www.youtube.com/watch?v=4iv3Gk95-v0
- remear 14y agoThank you for the update. I'm glad the project is still progressing. Also, thanks for mentioning Michal Papis. I know he's been working hard on binary builds of Ruby for both RVM and Tokaido.
- Happymrdave 14y agoAwesome and glad to hear that. Please post this (or just a link to this?) over on Kickstarter though, I'm guessing most of them don't read HN daily.
- biot 14y agoBased on the comments, it looks like people are still waiting on handwritten thank-you notes and stickers which the Kickstarter project says were to be delivered in June/July 2012. > I ended up being able to allocate time on a less consistent > basis, largely because starting a company (tilde.io) ended up > offering fewer opportunities for dedicated, isolated work than > I expected. The stated goal for raising $25K (and any excess) was to take time off of work to dedicate 100% to this, at least until Rails.app shipped. What happened?
- wycats 14y ago> Based on the comments, it looks like people are still waiting on handwritten thank-you notes and stickers which the Kickstarter project says were to be delivered in June/July 2012. I have been furiously writing them over the past few weeks (at a pace of about 30 per day). I have about 500 to do in total and I've done about 300 so far. My intent was to deliver them around the same time as the beta release, so that the thanks would be meaningful. > The stated goal for raising $25K (and any excess) was to take time off of work to dedicate 100% to this, at least until Rails.app shipped. What happened? You're absolutely right. The original plan was to be able to take a few months off of work and use it to replace any lost company revenue. In other words, I was going to pay for my own time to replace consulting revenue. Co-founding a company turned out to be more time-consuming than I expected (I know that sounds stupid, but it's the first time I did it), so I wasn't able to purchase my own time in a single block. Instead, I used whatever available time I could manage and used the money to fund smaller blocks of time. I also used some of it to fund full-time work by Patrick Gibson, an amazing iOS/Cocoa developer (he worked on the original iPad build process for Apple and the Batch app) who works for Tilde, so I could focus my energies on the necessary Ruby code. I'm really sorry that my original estimates didn't work out. That was absolutely a mistake on my part and I have learned a lot from the mistake (and my inability to follow my original plan precisely has caused me a great deal of heartburn). In the long run, I will not allow this error to prevent Tokaido from shipping. See my other comments on this thread for more details.