Phil Gold

aperiodic.net · Personal blog · on HN since 2008

Phil Gold writes about Scala, ZSH, GNU Screen, and terminal escape codes, and hosts the Ninety-Nine Scala Problems.

What HN saysHN links it for the Scala S-99 exercises and his ZSH prompt. Commenters recommend the S-99 problems for learning Scala.
20HN people shared it
12linked it in comments
9stories submitted
105story points
2 years agolast shared
2008people per year2026

Most-shared posts

  1. 1
    Ninety-Nine Scala Problems
    9 people · 22 points · first shared 2010 · discussion on HN
  2. 2
    Phil 's ZSH Prompt (2002)
    3 people · 1 points · first shared 2009 · discussion on HN
  3. 3
    Life in Text Mode
    1 people · 77 points · first shared 2010 · 59 comments on HN
  4. 4
    Terminal Function Key Escape Codes (2005)
    1 people · 3 points · first shared 2021 · 1 comments on HN
  5. 5
    GNU Screen Title Examples
    1 people · 2 points · first shared 2024 · discussion on HN
  6. 6
    Homepage
    1 people · first shared 2022
  7. 7
    Interface
    1 people · first shared 2018
  8. 8
    Notes on lisp testing frameworks
    1 people · first shared 2011
  9. 9
    Multiuser
    1 people · first shared 2008
  10. 10
    Where to get ebooks
    1 people · first shared 2023

What HN people wrote when they linked it

pmarreck · 2022-12-01
So I'm a person who loves this sort of thing. My favorite is probably aperiodic tilings such as the one featured at http://aperiodic.net/. So, me, opening the OP link: "OH MY GOD!" Has anyone actually tiled any portion of their property with something like this? If so, you have my envy
michalu · 2013-09-21
This is great, thank you. Some links for Scala: Documentation: http://www.scala-lang.org/ Twitter School for Scala: http://twitter.github.io/scala_school/ 99 problems in Scala: http://aperiodic.net/phil/scala/s-99/ Coursera with Martin Odersky: https://www.coursera.org/course/progfun
ilcavero · 2011-09-20
for those looking for free reference, this is the best I have found: http://ofps.oreilly.com/titles/9780596155957/index.html not a great book but if complemented with blog posts here and there and the exercises from http://aperiodic.net/phil/scala/s-99/ you can get started.
dryicerx · 2009-09-06
If you enjoy Bash's customization, You'll love Zsh's http://aperiodic.net/phil/prompt/ Once you go bash->zsh, there is no turning back.
archielc · 2019-12-12
Scala's adaptation of this (S-99): http://aperiodic.net/phil/scala/s-99/
lkbm · 2018-09-16
The one thing keeping me from switching is the lack of command classes[0]. I want to be able to chain bindings, so "^a s a" does "ssh server-a", and "^a s b" does "ssh server-b". People keep telling me that tmux is better (though I still don't understand why), but I lean heavily on chained bindings and haven't found a solution in tmux. [0] http://aperiodic.net/screen/interface#command_classes
morbidkk · 2010-11-22
pyre · 2009-12-13
You can do some really neat prompts using z-shell: http://aperiodic.net/phil/prompt/
iratsu · 2008-08-10
You are mistaken. See here: http://aperiodic.net/screen/multiuser
luu · 2012-11-23
Another resource for learning Scala is Werner Hett's 99 problems in Scala: http://aperiodic.net/phil/scala/s-99/. I tried it after doing Odersky's Scala class (https://www.coursera.org/course/progfun). If you've done the class, it's not a bad way to get some practice with constructs that weren't particularly useful in the class. If you haven't done the class, the problems are simple enough that you could probably learn scala by just working through the problems and googling for relevant syntax. They start to get more involved around problem 50, but, by that point, you'll have a good grasp of the syntax. If you want to try them out, I have unit tests for the problems I've done (only up to 58, so far) here: https://github.com/danluu/ninety-nine-scala-problems. The tests are pretty rudimentary; I'm sure there's at least one github repo that has more comprehensive tests, but I looked around at tens of repos of other people's tests on github when I first started and I didn't find much. P.S. If you're in Austin, there's a Scala group that gets together that isn't a meetup, and hence, isn't findable from Graham's link in step 9: https://groups.google.com/forum/#!forum/austin-scala-enthusiasts. The majority of the folks there actually use Scala in real production code.
wglb · 2011-01-14
I use slime and the repl that it provides. I start a project generally early in the process, and put stuff in methods there, recompiling (reloading with ,lo projectname (a slime trick)) as needed. I also often do ESC-x with the cursor positioned in a function or top-level form to compile just that function. All good work flows with Lisp include adding little bits of code, then executing to see how the result has changed. This leverages the beauty of lisp develpment. There are those who do something similar with vim--adding little bits of code, perhaps in a function, then pasting that either directly or with the help of a package to the REPL. For many of my programs, I generate an executable that is kicked off automatically, e.g., by cron. To build the executable, use 'save-lisp-and-die'. And don't hesitate to use quicklisp at http://www.quicklisp.org. There are many very useful libraries there. For example, if you need to integrate through the command line, there is the getopt library. For unit testing, i use xlunit, but I seem to be in the minority for that. There are a handful out there. Some info here http://aperiodic.net/phil/archives/Geekery/notes-on-lisp-testing-frame… and here http://www.cliki.net/development. Now you are mentioning a pretty specific deployment cycle there. WiX will work for executable delivery in a windows environment. Keep in mind, however that many using lisp for production keep an emacs/slime session open, generally using…
unhammer · 2023-10-19
Big stores that sell DRM-free e-books: - https://www.ebooks.com/en-uk/drm-free/ - https://www.bloomsbury.com/uk/ DRM-free audiobooks: - https://libro.fm/ - https://www.downpour.com/ Other lists and tips on where to buy DRM-free: - https://libreture.com/bookshops/ - https://aperiodic.net/phil/archives/Geekery/where-to-get-ebooks/ (Here in Norway we've so far been lucky, I've yet to see e-books with DRM. There's ebok.no which does watermarks, but that feels acceptable.)

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close