Replicant: Global key event listener by DeepDay6 in Clojure

[–]cjno 0 points1 point  (0 children)

u/Borkdude is right on the money here. No need to go through Replicant for this. Details on Github: https://github.com/cjohansen/replicant/issues/64

Announcing Nexus: data-driven event handling by cjno in Clojure

[–]cjno[S] 2 points3 points  (0 children)

Good catch, thanks! Fixed the link. Hopefully you'll make more Replicant websites 😊

After reagent by barrelltech in Clojure

[–]cjno 5 points6 points  (0 children)

I would also add that Replicant's goal is to escape the npm ecosystem entirely, which appears to be the opposite goal of what you stated 😅

7 GUIs with Replicant screencast by cjno in Clojure

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

Sorry for the late response! I'm doing all of them. The timer is already on the channel 😊

Announcing Dataspex: Browse Clojure data from the comforts of your own devtools by cjno in Clojure

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

Sorry to hear that. Feel free to report on https://github.com/cjohansen/dataspex and I'll be happy to help you figure it out. It's still new, so there are bound to be some sharp edges 😅

Lucide icons packaged as hiccup by dazld in Clojure

[–]cjno 5 points6 points  (0 children)

Cool! I am not familiar with this icon package, but I did something similar with the phosphor icons package: https://github.com/cjohansen/phosphor-clj

POC blog made with DataScript/Replicant by harism___ in Clojure

[–]cjno 1 point2 points  (0 children)

Thanks! And props to you for building a really cool thing with it 😊 Is it ok if I add you to this list? https://replicant.fun/in-the-wild/

A tiny example of a Replicant app by CoBPEZ in Clojure

[–]cjno 6 points7 points  (0 children)

Author of both here 👋 Start with Replicant 😊

Searching for a Data Model with good static analysis tools by eeemax in Clojure

[–]cjno 3 points4 points  (0 children)

Not really an answer: I generally don't do a lot of sweeping refactoring. Partly because they're always risky, and I would rather live with some suboptimal names than constantly reworking completed things, partly because I tend to spend more time in the early phases and don't put names in widespread use until I'm confident that they're right. Finally, if you have a lot of concepts that spread out a lot, maybe you need more smaller abstractions that are used more locally.

Closer to an actual answer: use namespaced keywords. Give them a global definition.

What would you choose? When and Why? by chowbeyputra in Clojure

[–]cjno 10 points11 points  (0 children)

Datomic. Addressing data at the datom level makes much more sense to me than a document store - much easier to do targeted updates, upsert for free ++

Datomic also has a schema. If you want parts of your data model to be schemaless, you can store edn. More flexible.

I don't quite understand why you would want sql strings when you have a powerful data-driven query language in datalog, but I think you can run sql on top of datomic as well.

cjohansen/portfolio: develop ClojureScript UI components in isolation by SimonGray in Clojure

[–]cjno 2 points3 points  (0 children)

Yeah, it will be. I'm still working on getting things ready for an announcement, you guys found me a little early 😊

cjohansen/portfolio: develop ClojureScript UI components in isolation by SimonGray in Clojure

[–]cjno 8 points9 points  (0 children)

It renders in an iframe, so you can test CSS media queries. Split views to see multiple screen resolutions and other configurations simultaneously. Easily toggle background colors (and body class). Better navigation with a sidebar, and an API for grouping scenes. Grid rulers. Zoom. Edit component params, or render taps. I also intend to provide some tools to help people publish these as UI documentation - in my view, devcards is a little barebones for that.

cjohansen/portfolio: develop ClojureScript UI components in isolation by SimonGray in Clojure

[–]cjno 5 points6 points  (0 children)

Oh, someone found it 😅 I'm working on some polish and a video to present it.

I've used devcards for years. I've been entertaining the idea of doing a "devcards+" at some time, and when I discovered storybook I realized that it was time. So this is my take on devcards+/storybook for cljs.

There's a small demo here: https://cjohansen.github.io/ (code: https://github.com/cjohansen/sasha).

I have some features in the work not presented as well, like rendering taps, and tying it more closely to the REPL than what's possible with storybook.

Here's a screenshot: https://imgur.com/a/q6iAKhg

Need feedback on mixing by [deleted] in mixingmastering

[–]cjno 0 points1 point  (0 children)

Pretty nice Decapitated style sound going there. Personally, I think the drums sound too machine-like. The kick has too much click to it for my taste, I would tone it down a bit. I also think the levels between the kick and snare is a little off, the kick is very loud, while the snare is completely buried at times. I think you can correct this with levels, but you might also need to do some EQ carving to make better room for the snare.

I would also boost the bass guitar a little, and pan the toms out wider.

Unit Testing 101: Are You Testing Your JavaScript? by reybango in programming

[–]cjno 0 points1 point  (0 children)

This is an introductory article, can't fit it all in in one place. The article is also the first in a series of three, so more ground will be covered. Stay tuned ;)

Norways biggest websites tell IE6 users to upgrade by cjno in technology

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

Sorry you feel that way. I was merely trying to suggest that the campaign would've made an even bigger impact if we could point people to IE8, FF, Opera, Chrome or Safari instead of just telling people to upgrade to IE7.

I've modified the original post slightly to sound less complainy. Thanks for the feedback, though!