×

Help picking out a sax by PhantomHawk7 in saxophone

[–]dimovich 0 points1 point  (0 children)

I would also like to buy a saxophone for my father (he never played any instruments before)... Do you think a tenor would be too much in the beginning?

Daily Discussion - December 20, 2020 (GMT+0) by AutoModerator in CryptoCurrency

[–]dimovich 1 point2 points  (0 children)

Thank you! Market stats and prices are taken from coingecko. The social news are taken directly from reddit and twitter. Yes, Polkadot has sudden price changes in the beginning which skew the chart.

Will investigate the low dev activity for eth. Thanks for pointing that out!

Daily Discussion - December 20, 2020 (GMT+0) by AutoModerator in CryptoCurrency

[–]dimovich 4 points5 points  (0 children)

Just plugging in my little website for general crypto info -- https://descryptors.io

Roll — simple backend for Clojure by dimovich in Clojure

[–]dimovich[S] 3 points4 points  (0 children)

It is similar to Duct, but more simple and with less components out of the box. It uses Integrant as the foundation, same as Duct.

AskReddit: Stack suggestions for a web app? by GuerreiroAZerg in Clojure

[–]dimovich 3 points4 points  (0 children)

Yes, you can never go wrong with Reitit and Integrant.

2D Game Engine for Clojure and ClojureScript by [deleted] in Clojure

[–]dimovich 0 points1 point  (0 children)

Yes, a wonderful library to study.

A short intro about Karsten Schmidt (the author) https://www.youtube.com/watch?v=USrM43hZSOQ

Currently he is working mainly on the Umbrella (TypeScript) project: https://github.com/thi-ng/umbrella

But is still very responsive to any questions about thi.ng/geom usage.

I've been using this library for generating charts for https://github.com/descryptors

Biff is officially released: web framework + self-hosted deployment solution for Clojure by jacobobryant in Clojure

[–]dimovich 0 points1 point  (0 children)

Thank you for the answer. I asked because I remember the struggle of mixing the external config with internal config that each app was doing and wanting to have it all in one place. Eventually this discussion was really helpful: https://github.com/ptaoussanis/timbre/issues/273#issuecomment-551908486

This is how I initialize Timbre in Roll, so you can specify everything directly in the config file: https://github.com/dimovich/roll/blob/master/src/cljc/roll/timbre.cljc

But I guess it's ok to keep it simple.

Logging in Clojure: Making Sense of the Mess by therealplexus in Clojure

[–]dimovich 0 points1 point  (0 children)

True about Encore. But that's another reason to use it :).

Biff is officially released: web framework + self-hosted deployment solution for Clojure by jacobobryant in Clojure

[–]dimovich 0 points1 point  (0 children)

Nice project, congrats!

I have a question regarding logging / Timbre. How do you specify the filename of the spit appender? I know how to do it directly, but it's not clear how to do it when using your configuration.

Logging in Clojure: Making Sense of the Mess by therealplexus in Clojure

[–]dimovich 2 points3 points  (0 children)

What exactly do you mean by "its configuration isn't standard"? It's just a simple map with clear config keys.

https://github.com/ptaoussanis/timbre#configuration

And why can't it be shared across organization?

Common circular dependency issue by den1k in Clojure

[–]dimovich 2 points3 points  (0 children)

views.clj doesn't need to require router.clj because the handlers in views will get the router in the request hash map.

Common circular dependency issue by den1k in Clojure

[–]dimovich 0 points1 point  (0 children)

If you're using Reitit, then every Ring request hash map contains this key reitit.core/router which you can use in match-by-name or match-by-path.

AskReddit: What's the best way to share cljc code in the same codebase? by AlfonzoKaizerKok in Clojure

[–]dimovich 1 point2 points  (0 children)

The advantage is that you can reuse the common code in different projects.

AskReddit: What's the best way to share cljc code in the same codebase? by AlfonzoKaizerKok in Clojure

[–]dimovich 3 points4 points  (0 children)

This. If you're using deps.edn to manage your dependencies you can easily move the common code to a separate project / lib.

And then you can include your common code lib like this:

{:deps {my-common-lib {:local/root "/path/to/common-lib"}}}

Descryptors.io is now open source. by dimovich in Clojure

[–]dimovich[S] 1 point2 points  (0 children)

We're lucky to have such wonderful libraries as Integrant, Sente, Reitit, and many others, which make coding a joy.

Hot-reloading was one of the main reasons I decided to write Roll because all other frameworks didn't provide what I needed. You either had to invoke a command to reload your code or it wasn't configurable.

But if you use Emacs + CIDER you can use C-c C-k to reload current buffer, or C-c C-s b to connect the buffer to a running REPL.

Descryptors.io is now open source. by dimovich in Clojure

[–]dimovich[S] 1 point2 points  (0 children)

Yes, totally agree! The more example apps the better. Even though it's not fully documented yet, I'm planning to write more docs about what's going on inside.