For project-based tutorials/books, which are centred around building a program step-by-step by following a series of human-readable diffs, I think a tool is very much needed.
For https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode... , the code is kept in a git repo where each commit is a step in the tutorial. This way steps can be modified, reordered, or split into more steps using git interactive rebase (git rebase -i).
I'm working on a tool which abstracts away git rebase, and gives you a nicer interface for manipulating the series of steps in your tutorial. For example, you can run `leg 3` to checkout step 3, make edits to it, and then run `leg amend` to apply the changes, resolving conflicts as the changes make their way through the rest of the tutorial's steps.
Now, if those diffs are rendered nicely and the splitting up of a step into multiples (or: explain separate parts of one step) works, I think that really is 99% of what I need. The 1% being the grouping of steps into a chapter and some other small things probably
You may have a broken version of the font locally. If you download the offline version of the tutorial, it'll come with all the fonts it uses and hopefully will work.
Well, you could distribute your encrypted wallet as widely as you want, without worrying about theft or loss (if you have a good passphrase and spread the wallet to enough locations), before you start receiving bitcoins to it.
The point of using the Pi is that you can make sure the decrypted wallet data only ever exists for a short time in RAM on hardware that is very likely non-malicious and that never has and never will connect to the Internet. If I had a significant amount of bitcoins sitting in an address that was generated by my laptop that I've been using regularly for the last four years, then I wouldn't sleep at night.
Aw, I was hoping to see that slave mode was fixed. I want to use slave mode to make a music player with my own user interface and library/playlist manager in Ruby without having to worry about how to actually play the music. Unfortunately slave mode in mplayer seems kind of unstable and sometimes even gives the wrong answer (I think it's a known bug). I wasn't aware of mplayer2, I'll have to try that and see if it works any better.
But does anyone know of a program or library with a proper interface for controlling a music player?
Have you heard of MPD? I think it's pretty much what you're looking for, there's even a ruby library. Check it out, it's a great piece of software. http://www.musicpd.org/
While MPD is probably ideal for your use case, there are lots of toolkits that facilitate this delegation. Many Linux apps utilize GStreamer to do this, including several very prominent ones. Heck, even VLC and mplayer are just "interfaces" on top of decoders. It's pretty uncommon to rewrite this type of code, considering its complexity. There a lot of tools that allow you to reuse media decoders and output frameworks.
I don't know if this works for everyone, (and I hate to appeal to magic), but I'm pretty sure it was http://mislav.uniqpath.com/poignant-guide/book/chapter-3.htm... that gave me a visceral understanding of Ruby's syntax. For example, the slashes surrounding the Regexp are like pins that you stick the Regexp onto the paper with, and it lights up if the pattern matches. The at signs stand for "ATtribute". Exclamation/question marks have meanings analogous to their natural language counterparts. And the vertical bars form a little chute that the block variables slide down into the block through. It's really fun.
Jan. 2013 was _why's first reappearance. He had actually updated his website with the first couple entries in the print queue in December, but no one noticed until January. After people noticed ( http://news.ycombinator.com/item?id=5015087 ), _why started updating it with more pages in the print queue, one of which said the print queue was going down until April 18, and would then be up during the hours of 4 to 12. Which sounded like _why was going to do something big that day.
For https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode... , the code is kept in a git repo where each commit is a step in the tutorial. This way steps can be modified, reordered, or split into more steps using git interactive rebase (git rebase -i).
I'm working on a tool which abstracts away git rebase, and gives you a nicer interface for manipulating the series of steps in your tutorial. For example, you can run `leg 3` to checkout step 3, make edits to it, and then run `leg amend` to apply the changes, resolving conflicts as the changes make their way through the rest of the tutorial's steps.
The tool is still in very early development, but here's a quick tutorial to get a better idea of how it works: https://github.com/snaptoken/leg/blob/master/TUTORIAL.md
Also, I'm playing around with a "literate diff" file format that might be of interest: https://github.com/snaptoken/tgc-tutorial/blob/master/doc/02...