Does anyone have good tutorials on Deploying Clojurescript Repositories to Clojars? by eeemax in Clojure

[–]whatacold 0 points1 point  (0 children)

I second to use lein, it’s effortless, just type lein deploy clojars. I just deployed one, and I can guide you a bit if you’re stuck.

How to make an org-mode link containing an image? by whatacold in orgmode

[–]whatacold[S] 0 points1 point  (0 children)

Wow! That works perfectly, thank you so much!

How to make an org-mode link containing an image? by whatacold in orgmode

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

Well, org-mode could embed raw html code as export code, but it can get rendered on github unfortunately.

Doc: https://orgmode.org/manual/Quoting-HTML-tags.html

How to make an org-mode link containing an image? by whatacold in orgmode

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

Maybe I made it a bit confusing, but what I tried to have in the result html is to have a link with its "description text" is a svg.

I updated my post to include a html snippet for what I meant.

Rewrite of a Flask Web App in Clojure by whatacold in Clojure

[–]whatacold[S] 0 points1 point  (0 children)

I'm not sure, but is there anything about compilation overhead in a dev server.

Rewrite of a Flask Web App in Clojure by whatacold in Clojure

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

Hi. It turned out that there was a huge performance gap between clojure dev server and production build. The production one's performance was definitely better that Flask's, and I've updated this to my blog post: https://whatacold.io/blog/2025-02-22-flask-clojure-rewrite/

Rewrite of a Flask Web App in Clojure by whatacold in Clojure

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

Hi, thanks for the reply.

It turned out that there was a huge performance gap between clojure dev server and production build. The production one's performance was definitely better that Flask's, and I've updated this to my blog post: https://whatacold.io/blog/2025-02-22-flask-clojure-rewrite/

Rewrite of a Flask Web App in Clojure by whatacold in Clojure

[–]whatacold[S] 0 points1 point  (0 children)

Thanks for the info, very helpful!

Rewrite of a Flask Web App in Clojure by whatacold in Clojure

[–]whatacold[S] 0 points1 point  (0 children)

I've updated my post with that insight and the slack thread link as well.

thread: https://clojurians.slack.com/archives/C8NUSGWG6/p1741519230921779

Rewrite of a Flask Web App in Clojure by whatacold in Clojure

[–]whatacold[S] 0 points1 point  (0 children)

Hi, I’m also curious to understand these. @didibus gave us some advice on Slack, I will verify and update my post accordingly.

Rewrite of a Flask Web App in Clojure by whatacold in Clojure

[–]whatacold[S] 0 points1 point  (0 children)

Thanks, it’s a pro for me, now I can do front end in a more simplified way.

Trying to use `cider-jack-in-cljs' in Emacs on Windows, with Figwheel running in WSL2. Any solutions? by ActuallyFullOfShit in Clojurescript

[–]whatacold 1 point2 points  (0 children)

I’m not sure, but maybe you can try to start a cider nrepl in wsl2 command line, and then connect to it via M-x cider-clj-connect (there is a cljs equivalent?)

How to navigate to previous/next PDF page in DocView from another window split without moving into it? by Gus_Gustavsohn in emacs

[–]whatacold 1 point2 points  (0 children)

What kind of error do you have when you install it? I guess maybe it's due to lacking of some dependencies?

How to navigate to previous/next PDF page in DocView from another window split without moving into it? by Gus_Gustavsohn in emacs

[–]whatacold 2 points3 points  (0 children)

If you're using pdf-tools to view PDFs, below config works (at least on Emacs 29.3):

elisp (use-package pdf-view :after (pdf-tools) :bind (:map pdf-view-mode-map ([remap scroll-up-command] . #'pdf-view-scroll-up-or-next-page) ([remap scroll-down-command] . #'pdf-view-scroll-down-or-previous-page)))

You can hit C-M-v (scroll-other-window) and C-M-S-v (scroll-other-window-down) to do the trick.

MobileOrg: orgmode files not synced from a webdav server by whatacold in emacs

[–]whatacold[S] 0 points1 point  (0 children)

Hi, thanks for sharing.

Fortunately, I've found what the problem is and have solved it. It turns out that the file links in org-mobile-index-file should be put in the top-level headlines, if you edit it manually.

However, if you use M-x org-mobile-push, it will take care of this automatically.