HN user

ejstembler

9 karma

https://ejstembler.com

Posts3
Comments22
View on HN
Rye Language 2 years ago

Looks interesting! +2 for Postgres and AWS support. Looking forward to GCP support someday...

The man has moved on to functional programming since then. People are allowed to change.

I have 211+ programming books in my library going back to 1998. I don't consider any books from 16 years ago to be valuable or relevant today.

I tried looking into Polylith a few months ago, when I first discovered it. I recall the feeling of experiencing information overload. Though, I am not a Clojure expert either, so that probably compounded my issue.

I believe it would be beneficial to supply more example projects. I found one, https://github.com/furkan3ayraktar/clojure-polylith-realworl..., however, it uses SQLite. Maybe an example which uses Postgres, and Redis for caching would be more real-world? Also, maybe a few deployment examples? Heroku, AWS, GCP, Kubernetes?

One question I have, how are ENV variable driven configurations handled? For example, if I need a `DATABASE_URL` etc. I recently ran into an issue, https://discord.com/channels/313110246643990528/313110246643..., in my own Clojure web service attempt where I could not use `def` to define the individual variables since they are evaluated at Uberjar build time. I eventually converted it to a `defn` but then it gets evaluated every time it's used.

https://ejstembler.com

I've had a blog since 1998, though my posting frequency has waxed and waned over the years. I use it as a partial résumé and also as outlet for my interests. Mainly, Software Engineering, Machine Learning, Data Science, Electronics, Robotics, Cooking, DIY, Cars, Travel.

Last year I had a falling out with my blog host, GoDaddy. They convinced me to upgrade up a level ($3xx). Though when their site transfer service didn't work they said they'd have to charge me another $150 to get the back-up. That's when I cancelled all of my accounts with them. I didn't like WordPress/PHP anyhow. In my haste to cancel GoDaddy, I forgot to export my content from WordPress. That's when I slowly starting writing my blog from scratch using Crystal, Kemal, and Bulma. Some of my content I was able to retrieve via scraping the Internet Archive, and some I was able to extract from Mars Edit by parsing the Content.plist files.

I'm very happy with the blog code and utilities I wrote, it was a fun exercise. Now I need to dedicate more time to writing...

Though I have a long history with IDEs I feel just as comfortable with the console, or the lighter-weight, electron-based IDEs.

For the last couple of years I've lived pretty much exclusive in the Ruby/RubyMine, Python/PyCharm, Scala/IntelliJ worlds.

However, I recently finished a medium-sized Crystral project only using VSCode. For debugging, I wrote unit tests and kept Sentry running. The compiler pretty much catches everything else. The combination worked out very well.

I actually started writing my blog in Crystal, took a little break, and started writing it in Nim. I really like Nim a lot. Some of the code came out more concise in Nim. I like how Nim handles nils better. Options instead of temp var shadowing. I would've finished my blog in Nim had I not ran into an issue with embedded-style templates. Think eRb in Ruby. Crystal handles this by compiling and embedded. Nim doesn't support that. I had to resort to something like Mustache which I didn't want to use. Ultimately, I went back to Crystal and finished it.

Merging Maps 9 years ago

I'm surprised the author doesn't go into deeply nested maps and deep merges. That's an issue none of the languages solves natively.

How You Know 12 years ago

Having read Carl Sagan's Cosmos in my youth, I always feel guilty re-reading a book:

“If I finish a book a week, I will read only a few thousand books in my lifetime, about a tenth of a percent of the contents of the greatest libraries of our time. The trick is to know which books to read.” ― Carl Sagan, Cosmos

Project Tango 12 years ago

Pretty much all junk and ancient looking. It's sad this genre has not advanced.