Fork me on GitHub
#clojure-uk
<
2019-02-07
>
guy08:02:39

Morning folks 🙂

Rachel Westmacott09:02:26

re: JVMs, 8, but eyeing up 11

yogidevbear09:02:18

Aloha beautiful people 🙂

Rachel Westmacott09:02:19

re: figwheel ports - should the template that generates figwheel projects make up a random port, and the you can manually reconfigure / git commit if there’s a conflict?

Rachel Westmacott09:02:17

(the whole port registry thing sounds like a whole lot of complexity)

dominicm10:02:21

With Figwheel main, people now navigate to Figwheel manually. But yeah, I think a random port, maybe combined with an optional "taken ports" edn file is the better solution here.

Rachel Westmacott09:02:31

re: what everyone else is now talking about - good morning!

danm10:02:43

Can somebody send me some reply to this in a thread please?

danm10:02:22

Had a notification I had a threaded comment waiting, but it had fallen off the end of the 10k free message storage limit, so I couldn't make the notification go away...

danm10:02:38

Getting a new threaded message and reading it cleared it

alexlynham10:02:07

I'm thinking of expanding the clojure web apps workshop that I ran the other day as people have been asking for next steps

alexlynham10:02:28

and I was thinking something along the lines of hartl's classic Rails Tutorial where you make a small Twitter clone

alexlynham10:02:36

my question is

alexlynham10:02:48

which tech to choose as the basis for teaching it?

alexlynham10:02:12

options: 1. Luminus (prob w/ re-frame) 2. Duct (prob w/ re-frame) 3. Compojure-api (API) and re-frame (frontend)

jasonbell11:02:10

I did a lot of my learning from Luminus but there’s an awful lot going on to pick up anything meaningful.

dotemacs16:02:37

0. reitit (one routing framework for clj & cljs)

dotemacs16:02:34

(ah, just saw that it was mentioned further down in discussion…)

alexlynham10:02:38

what's everybody using for their real-world stuff? I've used 1 & 3 a lot as patterns for clj(s) web apps

alexlynham10:02:53

vote on this msg if you like by clicking the emoji or reply with thoughts, thanks everyone 🙂

1️⃣ 5
2️⃣ 20
3️⃣ 30
Conor11:02:19

Where is the 'pretty UI is for other people' option

😆 5
dominicm11:02:05

We built this for a workshop. I would be interested in potentially collaborating. Although this was designed around trying to teach clojure, and the web part of it is hidden to the user.

alexlynham11:02:59

ah, so my goal is getting a web app done in clojure so they learn the clojure almost by stealth/without it being the thing they focus on/get intimidated by

alexlynham11:02:14

doesn't sound like our goals are that different though 🙂

alexlynham11:02:53

I guess the other thing guiding the choice betwixt the three above is that I kinda want people to finish it and then be able to get a job as 'I've done some clojure and know how to put together a simple production ready clj web app'

alexlynham11:02:04

like, they've touched all the parts and feel confident

alexlynham11:02:19

b/c I remember that as what the Rails Tutorial felt like having come from PHP

dominicm11:02:27

When I say "hidden" I mean that code is tweaked, and then the UI automatically updates. I went pretty far, I even made it so (reset) triggered the frontend to re-fetch data.

alexlynham11:02:06

I'll have a read of the readme and the code 🙂

dominicm11:02:28

Sounds like your goal is definitely bigger than mine was, but we're actually really keen to have some additional tutorials as part of Edge's set. vent was designed for lighter sessions, but I really want a full end-to-end tutorial eventually.

alexlynham11:02:39

cool, I'll have a tinker 🙂

alexlynham11:02:01

I guess classic issue is unlike Ruby there's not one standard web stack, but that's cool too

3Jane11:02:06

why not luminus tho? I liked it, and I was also thinking of doing something like “stealth teaching programming”, and having a ready made skeleton with gaps to fill out is an excellent way to motivate people who need small successes to gain confidence

alexlynham11:02:11

I've used this for showing clojure microservices before... need to bump the deps and dockerize it if I'm going to use it again as it hasn't been used in a year lol https://github.com/the-frey/compojure-api-integrant

alexlynham11:02:15

I quite like the opinionated approach of potentially going 'here's a front end repo and a back end repo' à la option 3 as that's probably how I would encourage a team to build projects in python or what have you now as I've seen for SPAs that often scales pretty well

alexlynham11:02:57

so far looks like compojure-api is 'winning'... interesting

otfrom12:02:33

I had thought compojure api had been succeeded by retit https://github.com/metosin/reitit

alexlynham12:02:22

duly noted, wasn't aware that was the new way of doing it 🙂

otfrom13:02:12

@alex.lynham I'm not entirely sure it is, but I had thought I'd read something about it.

alexlynham13:02:51

it looks like it supports most of the same use-cases, for sure

alexlynham13:02:18

will need to dig a little deeper I think, but I appreciate the link 🙂

alexlynham13:02:04

(I've also made a copy of this poll on jobs-discuss to see what folk there say)

yogidevbear16:02:43

@dominicm hasn't blown his own trumpet yet, so I'll help him out a little 😉 https://twitter.com/juxtpro/status/1093531902269628419

😊 10
👍 35
otfrom17:02:06

welcome to our usually off topic corner of the slack

mccraigmccraig18:02:44

since we have iirc by far the most active regional sub-slack, and therefore a large amount of ontopicicity, I think we should forgive ourselves a degree of offtopicicity @otfrom

seancorfield18:02:58

I'm mostly here for (sometimes UK-specific) OT banter. I'm surprised when talk turns to Clojure 🙂 I mean, I can get that anywhere!

😜 15