Fork me on GitHub
#hoplon
<
2019-10-22
>
Rohan Nicholls16:10:06

Good evening (in europe). I have been looking for a frontend to use to put together a few applications. Re-frame was my first idea, and then I found hoplon. I’m intrigued with its approach, but am wondering about how actively it is being maintained. Have watched a couple of talks now from the creators, but they are a few years old now. I also see that it seems to rely on Jquery? (!?). Any ideas would be great, and is there anything about using it to build something substantial, where you are also needing to interact with components from libraries.

alandipert16:10:24

@rohan.nicholls welcome, it is actively maintained, in the sense that when the maintainer (@flyboarder) becomes aware of issues he usually fixes them quickly. the dependency on jquery is also now optional

Rohan Nicholls16:10:09

Okay, brilliant, thanks. Have you been using Hoplon? How have you found it?

alandipert16:10:23

i would say that as a creator, after using various other libraries and frameworks professionally since we made hoplon, i also think it’s still a pretty good idea. and there’s not anything out there that i’ve seen that’s dramatically technically better

alandipert16:10:39

despite ourselves we landed on a good set of tradeoffs i think

Rohan Nicholls16:10:07

Okay, so what have you been using professionally?

Rohan Nicholls17:10:28

I’m stuck with Angular at the moment, and while it seems to have an answer for just about everything it makes it very baroque.

Rohan Nicholls17:10:12

@alandipert thanks 🙏 I’ll give it a go. Did you ever use it for production products?

alandipert17:10:24

since hoplon i have spent a lot more time with react and to an extent with Vue, in the context of integrating them with the R ecosystem (not making apps with them the way i did with hoplon, though)

alandipert17:10:02

we did use hoplon for a production product, the adzerk web UI, which is still going strong i believe

mynomoto18:10:46

@rohan.nicholls I did my share of hoplon apps and I think is as good as it gets for spas. Way better than angular for what is worth.

flyboarder18:10:57

@rohan.nicholls I use hoplon daily, we build many production apps using hoplon as the front end, it’s wonderful IMO

mynomoto18:10:06

I also liked that it used jquery, it was/is a very pragmatic choice and gave us access to lots of plugins ready to use. But there are alternatives now if you don't like jquery.

flyboarder18:10:27

The best thing about hoplon is how little it actually does, and how much you can accomplish with that

dmarjenburgh18:10:42

I got into it lately because of this recent talk by Rich Harris https://www.youtube.com/watch?v=AdNJ3fydeao. All the arguments sounded really familiar, then I remembered the hoplon talk from years ago (https://www.youtube.com/watch?v=wVXjExRiFy0).

dmarjenburgh18:10:45

Svelte is interesting, but because it’s javascript, it has custom template syntax and whatnot. Also, I think hoplon solves the reactivity more elegantly with javelin cells.

alandipert18:10:07

we never had the presentation or slide skills to make spreadsheets seem cool, but this guy rocks it

Rohan Nicholls19:10:21

@everyone thanks for the feedback. @mynomoto I’m not a great fan of angular. I have just managed to back myself into a bit of a corner because I’ve had to use it for the last couple of years professionally, and the thing is soooooo big, that you spend too much time figuring out “How do you do that in Angular” (Actually I have a conspiracy theory that that is a conscious lock-in strategy of the framework designers, and they keep changing things every 6 months). @dmarjenburgh Thanks for the video link I’ll have a look at it. It was the description that intrigued me the most on the front page. I have had a growing respect for the design of spreadsheets, and am curious to try this out. I work a lot with rxjs (another huge bloody library) and it finally clicked that it was a bunch of pipes that you just connect to each other. That part of Angular is pretty cool, much of the rest gets in the way, but spreadsheets have the same idea, except that as Alan and Micha pointed out, the reactivity is on the data, not on the pipe itself, which rxjs does to a certain extent.

Rohan Nicholls19:10:00

I watched a really interesting presentation from a professor at the Technical University in Delft. And it was all about spreadsheets, and was fascinating, but did address the bad press they have received from programmers. 🙂

Rohan Nicholls20:10:46

Oh, and yet another question. I want to create a full stack app, so server -> client. What are your recomendations? I was pointed to luminus and have a command with +hoplon ready to go, but is there a better way to get started with hoplon and javelin and it seemed it had a server side compenent.

Rohan Nicholls20:10:08

In the meantime I’ll get busy with finishing up the videos. 🙂

micha20:10:36

^^ the delft spreadsheet presentation

micha20:10:21

there are a bunch of presentations on youtube, do you remember which one?

Rohan Nicholls20:10:14

Yes. I saw a couple of hers.

Rohan Nicholls20:10:54

It wasn’t this one, but it is also very cool: https://www.youtube.com/watch?v=0CKru5d4GPk A turing machine in a spreadsheet, love it. 🙂

Rohan Nicholls20:10:14

I think this was the first

Rohan Nicholls20:10:41

And she makes so many on the money points. Esp. the fact that we are bad at making software. And realising I’m part of the problem, makes me wonder if there is a solution. For instance, nothing is driving me more nuts than the fact that we have this ridiculous cycle: - Domain expert tries to put their knowledge into documents with help of business analyst - Programmer tries to translate that domain knowledge into a program without a really good understanding of the domain (at least for the first six months or longer that they are working on the problem) - Programmer basically gets it wrong, and it goes back to the domain expert and users they give feedback which means we have returned to step one. But, wouldn’t it be much better to have the domain expert actually create their own system? They know what they need and want and how all the bits and pieces should go together. And yet there is nothing out there that is intuitive enough to allow the domain expert to do this, with the sole exception of the spreadsheet (which is why they run almost all sectors of the business world).

Rohan Nicholls20:10:12

And where does Castra come into the getting started picture?

alandipert20:10:16

something like that was a motivating original goal, but i personally tend to think differently nowadays about what’s desirable

alandipert20:10:17

i think it might be that the best we can do as programmers is to become domain experts

micha20:10:21

man, we are pretty good at making software i think, which is why software is eating the world 🙂

alandipert20:10:03

domains i have to learn are frequently described as unintuitive, and yet somehow i am usually able to understand them well enouhg in short enough time for it to be profitable

alandipert20:10:44

so over time the domain expert continues to have good ideas i don’t understand, but they expend less effort explaining to me how to make them

alandipert20:10:19

i imagine it could work the other way too, with the domain of programming

Rohan Nicholls20:10:15

Hmm, okay, that is a good point. I have been brought into a couple of projects that were disasters before i got there, and remained so, as the scope of repairing the damage was too much, and it was because the domain expert and the programmers could not reach a point where something could be built that would solve the problem. It is the failures, of which there seem to be a lot, that are the worry, and cost so much in money, but also in hope (for the people needing the new system) and trust of software in general.

Rohan Nicholls20:10:51

Interesting point @alandipert that we need to become the domain experts.

alandipert20:10:11

i think to make good software relevant in a particular domain, it’s impossible not to

alandipert20:10:35

well, i guess it just depends how detailed the jira ticket is 😄

alandipert20:10:48

but yeah even if the spreadsheet idea isn’t some shortcut to making programmers out of non-programmers, it’s still a damn high-leverage idea for sure. regardless of what you call yourself

alandipert20:10:22

our little hoplon secret

Rohan Nicholls20:10:33

Yes, I completely agree.

Rohan Nicholls20:10:38

Btw. I noticed that the hoplon discourse server does not seem to be found by my browser; http://hoplon.discoursehosting.net/

alandipert21:10:27

it’s been down for awhile unfortunately

alandipert21:10:10

however http://clojureverse.org is alive, and they’re might be people to discuss with there. i haven’t much myself

Rohan Nicholls21:10:00

Oh no, slack works for me. I just thought I’d mention it.

Rohan Nicholls21:10:24

@alandipert @micha In your talk you mentioned Castra. Is this still part of the hoplon environment?

Rohan Nicholls21:10:32

It looked pretty cool.

alandipert21:10:58

it’s still a thing