Pete Corey
petecorey.com · Personal blog · on HN since 2018
Pete Corey writes about Elixir, Phoenix, J, Bitcoin and other programming experiments.
What HN saysCommenters recommend his posts to learn Phoenix and J, such as Minimum Viable Phoenix and Fly Straight, Dammit, and debate his Elixir homoiconicity post.
18HN people shared it
5linked it in comments
77stories submitted
614story points
1 year agolast shared
2018people per year2026
Most-shared posts
- 1Minimum Viable Phoenix4 people · 176 points · first shared 2019 · 27 comments on HN
- 2Fly Straight, Dammit (2019)3 people · 67 points · first shared 2020 · 4 comments on HN
- 3Literate Commits (2016)2 people · 56 points · first shared 2019 · 14 comments on HN
- 4Cellular Automata with Vim Macros2 people · 29 points · first shared 2020 · 1 comments on HN
- 5Obverse and Under (2019)2 people · 6 points · first shared 2019 · 1 comments on HN
- 6Mining for Bitcoin Vanity Addresses with Elixir2 people · 4 points · first shared 2018 · discussion on HN
- 7Making Noise with J2 people · 4 points · first shared 2018 · discussion on HN
- 8Prime Parallelograms2 people · 3 points · first shared 2019 · 1 comments on HN
- 9Hex Dumping with Elixir2 people · 2 points · first shared 2018 · discussion on HN
- 10J's Low-Level Obfuscation Leads to Higher Levels of Clarity2 people · 2 points · first shared 2018 · discussion on HN
- 11Minimal Coding with Spacemacs and Olivetti2 people · 2 points · first shared 2018 · discussion on HN
- 12What if elixir were homoiconic2 people · first shared 2019
- 13Guitar Chord Voicings with Prolog1 people · 154 points · first shared 2020 · 37 comments on HN
- 14Anonymizing GraphQL Resolvers with Decorators1 people · 14 points · first shared 2019 · 2 comments on HN
- 15Computing Fingering Distance with Dr. Levenshtein1 people · 8 points · first shared 2018 · discussion on HN
What HN people wrote when they linked it
lycos · 2023-03-06
That's interesting! When I started out I maybe felt the same but most of that was just not understanding it, and now to me it feels like one of the more explicit frameworks I've used, which I actually enjoy.
I could recommend reading http://www.petecorey.com/blog/2019/05/20/minimum-viable-phoenix/ which was posted on HN as well some years ago.
neillyons · 2020-01-27
Alchemist Camp has good video tutorials https://alchemist.camp
Also this blog post helped my understanding http://www.petecorey.com/blog/2019/05/20/minimum-viable-phoenix/
Phoenix LiveView [0] is really exciting to try out in Elixir. I'd recommend building an auto updating dashboard.
I had a micro controller that had various sensors on it that I connected to over a serial port using circuits_uart[1]. I then read the sensor values and displayed them on a LiveView dashboard. Totally pointless but super fun :)
[0]: https://dockyard.com/blog/2018/12/12/phoenix-liveview-interactive-real…
[1]: https://github.com/elixir-circuits/circuits_uart
Sidenote. If anyone has any Elixir freelancing work I can do send me an email. Email in my HN bio.
whynotwhynot · 2020-08-16
I'd like to invite you to the Other Side Of The Force, Grant.
http://www.petecorey.com/blog/2017/08/07/what-if-elixir-were-homoiconi…
It's much more pretty over there.
I haven't looked at Elixir but I have read a bit about Supervisors which I think are an excellent idea for fault tolerant systems.
However, the phrase "self healing" is thrown around a lot in talks about Elixir, as if it's a magical feature of the language, without much explanation as to what it means to universally heal from faults (I think maybe they mean self healing strategies that the programmer authors and implements, not some AGI that rewrites the code on the fly to fix it, lol, but that's my gripe, mostly the hype around that... and "coding for the happy path" which is not really a rigorous statement either... maybe someone can tell me what is the happy path for an algorithm in my head without knowing the algorithm, because that somebody is me, and I don't really know my algorithms until I have thought through the not-so-happy path... I mostly code to explore what I need to specify rather than describe some specification I already have.)
Maybe Elixir is not for me. Or maybe it is. I need to learn more, and go past the hype.
For me, Lisp is an alien technology with great power that will never be matched, except by another Lisp.
So it was great to find out about LFE! I even appreciate the separate var/fn namespaces, like nouns and verbs in natural language, e.g. fight the good fight, and I can…
fxj · 2020-01-19
A very nice introduction for mere mortals to J is here:
Fly Straight, Dammit!
http://www.petecorey.com/blog/2019/08/12/fly-straight-dammit/
and here:
A Shallow Introduction to the K Programming Language
https://web.archive.org/web/20130801233812/http://www.kuro5hin.org/sto…
grzm · 2019-07-09
Could you expand on what you mean by Elixir being homoiconic? That doesn’t seem readily apparent to me, and is contradicted by posts such as http://www.petecorey.com/blog/2017/08/07/what-if-elixir-were-homoiconi…