A
Alex Hhh
alex-hhh.github.io · Personal blog · on HN since 2018
Alex Harsányi writes about Racket programming, with GUI programs, games, and plotting examples, and develops the ActivityLog2 app.
What HN saysCommenters recommend it as a source of high-quality real-world Racket GUI and graphics work, calling it very inspiring and a good showcase.
19HN people shared it
8linked it in comments
18stories submitted
412story points
2 years agolast shared
2018people per year2026
Most-shared posts
- 1Asteroids Game in Racket (2021)3 people · 17 points · first shared 2021 · discussion on HN
- 2Racket GUI Screenshots2 people · 82 points · first shared 2021 · 15 comments on HN
- 3Pumpkin Plot2 people · 72 points · first shared 2022 · 4 comments on HN
- 4Space Invaders – Alex Harsányi2 people · 7 points · first shared 2020 · 1 comments on HN
- 5Homepage2 people · first shared 2020
- 6Index2 people · first shared 2020
- 7Chess Game Using Racket’s Pasteboard1 people · 107 points · first shared 2018 · 11 comments on HN
- 8Writing a Simple Password Generator in Racket1 people · 67 points · first shared 2019 · 37 comments on HN
- 9Implementing Ishido, a game from the 90s, using the Racket graphical facilities1 people · 45 points · first shared 2020 · 3 comments on HN
- 10Plotting the World in Racket1 people · 4 points · first shared 2021 · discussion on HN
- 11Dual Axis Plots [Racket]1 people · 3 points · first shared 2020 · discussion on HN
- 12Chess Game Using Racket’s Pasteboard (part 3)1 people · 2 points · first shared 2018 · discussion on HN
- 13Heat Map Visualization in ActivityLog21 people · 2 points · first shared 2022 · discussion on HN
- 14Climb Analysis Tool1 people · 2 points · first shared 2021 · discussion on HN
- 15Markdown View using the Racket editor%1 people · 1 points · first shared 2020 · discussion on HN
What HN people wrote when they linked it
fileeditview · 2021-02-14
I was/am in the same boat. A few months back someone recommended this blog to me: https://alex-hhh.github.io/
If you want to see some "real world" high quality Racket GUI stuff this is the place to go. Very inspiring. I'd love to do more with Racket & its GUI lib.
evdubs · 2020-08-23
To add to this, OP, there is an interesting blog with many examples of graphics development in Racket:
https://alex-hhh.github.io/
I have written a couple GUI applications in Racket; maybe they can serve as motivation to discover Racket's GUI capabilities:
https://github.com/evdubs/chart-simulator
https://github.com/evdubs/renegade-way
There are limitations to Racket's GUI toolkit compared to writing a native Qt/GTK/WPF/Cocoa application. You may find it easy to express simple/not-so-complex interfaces and then find it much more difficult to do other things. There's also the fact that Racket's real threads story isn't so great.
If I needed to write a cross-platform GUI application for the masses, I'd probably pick JavaFX over Racket, but Racket has been very impressive if your initial impression is to not expect much.
BoingBoomTschak · 2025-01-02
Thanks. Personally, I'd love to see more like https://alex-hhh.github.io/2021/08/fish-puzzle.html
When I was in university, the usual Prolog example was solving a game of Cluedo.
jboynyc · 2020-03-05
Don't dismiss Racket too soon, I would say. The developer of ActivityLog2 has been doing a lot to integrate charts and graphs into Racket GUI applications, and the program itself (https://github.com/alex-hhh/ActivityLog2) is a good showcase of that work. His blog is also worth a read (https://alex-hhh.github.io/index.html). Take a look!
nsm · 2024-01-30
I would like to disagree with this view of Racket.
I'm a fairly experienced professional programmer with a lot of systems experience, and I find Racket an extremely well thought out, competently implemented and high performance (particularly with the switch to Chez Scheme) language.
I wrote a bit about it at https://nikhilism.com/post/2023/racket-beyond-languages/ and Bogdan Popa and Alex Hirsanyi have done amazing stuff with the language https://defn.io/ https://alex-hhh.github.io/index.html including a sophisticated web framework, a Kafka GUI client and so on.
I think the only deficiency for a "pragmatic for a seasoned programmer" (beyond the standard "no FAANG is sponsoring it" related lack of resources and presence in popular discussion) is the lack of good editor integration beyond emacs. That said, I've found DrRacket perfectly reasonable for my uses, although clunky. I'm not saying it can replace something like Python, but that is more because of the smaller ecosystem and contributor base than anything wrong with the language itself.
samth · 2022-02-21
https://alex-hhh.github.io/2021/09/screenshots.html is a nice gallery of one person's apps.
peatmoss · 2018-11-09
Have you seen this package yet? http://alex-hhh.github.io/2018/08/racket-data-frame-package.html
I think it could be the starting point for some data science work in Racket.
phillc73 · 2020-01-21
cl-ana,
Common Lisp data analysis library with emphasis on modularity and conceptual clarity - https://github.com/ghollisjr/cl-ana
numcl, a numpy clone in Common Lisp - https://github.com/numcl/numcl
Clojure kixi-stats- https://cljdoc.org/d/kixi/stats/0.5.0/doc/readme
and the book Clojure for Data Science - http://clojuredatascience.com/
Clojure's Incanter has been mentioned already - http://incanter.org/
OWL, the OCaml Scientific Computing project - https://ocaml.xyz/
And probably not quite what you're looking for, but there is a Racket data frame structure which provides some data science like manipulation capabilities - https://alex-hhh.github.io/2018/08/racket-data-frame.html
Appreciate some of the above are Schemes and not Lisps, but they may still be interesting.