Top all-time · #8708
Pedro Kroger
Personal blog · pedrokroger.net · on HN as krogerprogrammingmath
Pedro Kroger's personal blog at pedrokroger.net covers programming and math. Since 2012, 9 different Hacker News readers have linked it 25 times, most often “Using Sphinx to Write Technical Books”. The last post was in 2015, but the archive is still widely read.
Too few sampled comments (9) to say how often HN recommends it.?
Why HN links it
HN readers link Pedro Kroger's site mainly for the free e-book Music for Geeks and Nerds, which teaches music theory with Python code. Other posts cover eBook build tools, Sphinx, PyCharm debugging and writing books in Vim.
Summarised by Claude from a sample of 9 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
Most-linked posts?
- Using Sphinx to Write Technical Books2 people · 4 mentions · first linked 2012-10-10
- /mfgan/2 people · 3 mentions · first linked 2016-09-19
- /mfgan/2 people · 2 mentions · first linked 2018-02-24
- PyCharm as the Ultimate Python Debugger2 people · 2 mentions · first linked 2015-03-24
- /using-sphinx-write-technical-books/2 people · 2 mentions · first linked 2019-02-12
What Hacker News says?
Shameless plug: I wrote a book a couple years ago that people in this thread may find interesting: "Music for Geeks and Nerds". It's a short book that uses Python to teach music concepts: http://pedrokroger.net/mfgan/
Comment linking /mfgan/
on “Music Theory: An Education from First Principles”Submitted How I Made $6,000 in 7 Days with my Ebook as a story · 75 points
HN discussionHere's an e-book that has a similar approach to explaining music: http://pedrokroger.net/mfgan/ I read it some time ago and liked it. No affiliation with the author :)
Comment linking /mfgan/
on “Music theory for nerds”Submitted How to Get Started with PyCharm and Have a Productive Python IDE as a story · 16 points
HN discussionPyCharm's debug tools are top notch. It's based on PyDev, which is an alternative that can be used independently in other IDE, but it's really the integration with the IDE that makes it a much better alternative than using, say, PyDev in Eclipse or vim. Here's a brief overview of PyCharm debugging functionality: http://pedrokroger.net/python-debugger/ I really like the ease of use for remote debugging. It's essentia…
Comment linking /python-debugger/
on “The Rails Doctrine”Submitted Choosing the Best Python IDE as a story · 11 points
HN discussionI recommend “Music for geeks and nerds”, which is an intro to music theory/composition with python https://pedrokroger.net/mfgan/
Comment linking /mfgan/
on “Learn Physics by Programming in Haskell”Submitted Show HN: Modern Python Development with PyCharm as a story · 5 points
HN discussionNot yet, but writing one for today's versions of all the tools is something I plan to do within a week. I can ping you if/when I get it up. I started with older links like this: https://pedrokroger.net/using-sphinx-write-technical-books/ This is inspiring but less useful: https://www.tompurl.com/2012-11-22-writing-a-book-with-vim.h... This was useful for theming: https://github.com/FriendsOfEpub/eBookTricks
Comment linking /using-sphinx-write-technical-books/
on “Vim Is Saving Me Hours of Work When Writing Books and Courses”Submitted Ebook: Music for Geeks and Nerds [pdf] as a story · 3 points
HN discussionJust bought the book, congrats! I've written about using Sphinx to write technical books, you may find it useful: http://pedrokroger.net/2012/10/using-sphinx-to-write-books/ I see you used Pages to write the book. AFAIK Pages can export to ePub automatically (but I don't know if the result is any good). Maybe you could consider to export the ePub and distribute it with the PDF even if the ePub is a "beta" version. I…
Comment linking /2012/10/using-sphinx-to-write-books/
on “Our Django Book is Launched”Submitted Using Sphinx to Write Technical Books as a story · 2 points
HN discussionMost of SICP can easily be implemented in Python since SICP focus on computational ideas and not on languages features (it doesn't use lisp macros, for instance). The first 3 chapters should look good in most languages with support for high order functions. It starts to get tricky in chapter 4 since Lisp is homoiconic. I started writing about learning SICP using python [1]. Maybe I should continue it. [1] http://ped…
Comment linking /2010/08/sicp-in-python-1-1-the-elements-of-programming/
on “Not Lisp again (2009)”Submitted PyCharm as the Ultimate Python Debugger as a story · 1 points
HN discussionFor those curious, here are a few of the author's musical compositions: http://pedrokroger.net/compositions/
Comment linking /compositions/
on “Show HN: Music for Geeks and Nerds”Submitted How Does Pascal's Triangle Sound? as a story · 1 points
HN discussionThis is an impressive and detailed writeup, so thank you for sharing not only your process but the thinking and reasoning behind it. I especially appreciate the list of tools [0] and book design resources [1]. I hope my comments/observations don't seem overly harsh: First, a question: is there a link to example source code, e.g. a folder of Markdown+.text files, the bash scripts, and the resulting PDF? Speaking as s…
Comment linking /using-sphinx-write-technical-books/
on ““Typesetting Markdown” blog post series by a technical writer”Submitted Time Tracking for Founders as a story · 1 points
HN discussionI wrote something similar (but using Python), on how one can generate music using mathematical sequences such as Fibonacci's: http://pedrokroger.net/pascals-triangle-sound/ I used to spend a lot of time on The On-Line Encyclopedia of Integer Sequences ;-)
Comment linking /pascals-triangle-sound/
on “'Music' from /dev/urandom”Shameless plug: I have a two-page cheat sheet: http://pedrokroger.net/python-quick-reference/
Comment linking /python-quick-reference/
on “Python Cheat Sheet”Interesting. I agree that using something like Pages or Scrivener (I love Scrivener) can help you to focus on the writing and I wish I could have used them to write my book [1]. However, I'm curious to know how he handled code examples; did he just pasted them in Pages? One advantage of using something like Sphinx is to be able to include code examples from external files. This makes it easy to update and test the e…
Comment linking /2012/10/using-sphinx-to-write-books/
on “My eBook build process and some PDF, EPUB and MOBI tips”It would be interesting to compare this with another author's experience [1] using Sphinx. He also notes that EPUB and MOBI outputs are more challenging than PDF ones. [1]: http://pedrokroger.net/2012/10/using-sphinx-to-write-books/
Comment linking /2012/10/using-sphinx-to-write-books/
on “My eBook build process and some PDF, EPUB and MOBI tips”Anyone who enjoyed this article might also like “Music for Geeks and Nerds”[1]. It’s a free eBook describing musical structure using Python code. [1] https://pedrokroger.net/mfgan/
Comment linking /mfgan/
on “Piano Tuning”I spent hours on the OEIS having fun. I like to convert numerical sequencies to sound to see how they sound. Some sound bad but some sound pretty good. I wrote a little bit about this here: http://pedrokroger.net/2013/05/how-does-pascals-triangle-sou...
Comment linking /2013/05/how-does-pascals-triangle-sound/
on “ The On-Line Encyclopedia of Integer Sequences”Was reminded of this by https://news.ycombinator.com/item?id=12528144 . Book website is here: http://pedrokroger.net/mfgan/ I read it some time ago and liked it. I have no affiliation with the author :)
Comment linking /mfgan/
on “Ebook: Music for Geeks and Nerds [pdf]”