Fork me on GitHub
#clojure-uk
<
2018-05-18
>
3Jane08:05:26

Master plan: diversification, multiplication, evolution, SINGULARITY!!! (through morning greetings)

otfrom08:05:46

as the Vulcans say

danm08:05:05

ahoy hoy

danm08:05:45

Lovely day up here (at the moment)

otfrom08:05:42

where is up here again?

otfrom08:05:03

I'm in London today. Sunny but too hot.

mccraigmccraig08:05:37

you are definitely up there @otfrom , though others are perhaps more up there

otfrom08:05:44

I'm less up than usual (tho north being up is obviously just a social rather than physical thing)

danm09:05:36

Up in this case is Manchester 🙂

mccraigmccraig09:05:31

how thoroughly post-modern we are that concepts of both time (UTG) and space (up t/here) have become but social constructs to us @otfrom

😂 28
maleghast09:05:12

Morning All - I realise this is a VERY LATE comment, but I recently switched to Spacemacs from Emacs + EmacsLive and I am loving it. There is a part of me that won't dare go near Cursive for fear that I might never use Emacs again...

😂 12
jasonbell09:05:51

@maleghast I'm just at the point where Emacs keybindings are in my head now.... continually hammering C-x C-s in Keynote while editing slides before work did not have the desired effect 🙂

maleghast09:05:58

Hehe - I know what you mean @jasonbell; whenever I use Vim now I have to really think hard about keybindings as I now use Emacs more than Vim. The one thing I really like about Atom for Python (when I need to be snakey) is that some of the really low-level key bindings (like C-e / C-a) just work so I don't have to think too hard about context switching.

otfrom09:05:30

I'm pretty happy with moving most of my config over to use-package https://github.com/otfrom/otfrom-org-emacs

otfrom09:05:37

it has been a while since I pushed tho

otfrom09:05:14

I found spacemacs/prelude/others to difficult to add things too when I wanted to change stuff

maleghast09:05:15

I would be interested in test-driving your setup @otfrom - for one thing I do feel like a bit of a traitor using Spacemacs... 😉

otfrom09:05:32

spacemacs is great

otfrom09:05:39

(so are prelude and the others)

otfrom09:05:09

it just wasn't right for me and I've declared emacs config bankruptcy something like 5-8 times in my 20yrs of using it

maleghast09:05:33

I am using it and loving it (mostly), but I would like to ascend to greater / loftier Emacs heights at some point, and in the end that means my own config, but I am a realist - I will only get to my own config by cribbing off someone else to start with, starting from scratch is just too daunting for me.

maleghast09:05:34

So from time to time I test-drive other people's setups to see if I like them enough as a jumping off point. EmacsLive was great to me for years, but Sam stopped updating it and I needed something that was more current...

maleghast09:05:01

I've heard people talking about Prelude, but not got around to seeing if I like that one...

Sam H09:05:56

👍 for spacemacs

mccraigmccraig09:05:04

@maleghast nope - life is too short for your own emacs config. i'm not as far gone as @otfrom, (having only had maybe 4 or 5 emacs-config bankruptcies) but i have concluded that spacemacs and prelude both offer you a sane starting point from which to customise. try them, choose one (i tried prelude first, then switched to spacemacs and stuck with it, mostly because i like helm and the windowing behaviour), but, unless you don't have anything else to do, don't start from scratch 😬

otfrom09:05:05

ah, I'm not a big fan of helm (I prefer ivy)

mccraigmccraig09:05:22

i don't think i've tried ivy - prelude uses ido by default iirc

guy10:05:58

morning!

3Jane10:05:11

suddenly, my life is much better:

3Jane10:05:17

git config --global alias.recent "for-each-ref --format='%(refname:lstrip=2)' --sort=-committerdate refs/heads/ --count=5"

3Jane10:05:25

(What this does is, git recent lists 5 branches with most recent commits. I tend to jump between branches a lot and forget the names. No more!)

👍 12
mario-star 4
rhinocratic10:05:36

I find this especially taxing as my branch names are taken from JIRA tickets and lack any intrinsic meaning. :face_with_rolling_eyes: I just try to tidy up the old branches as I go to keep the list manageable. Might add your suggestion to my list of aliases, @lady3janepl.

flefik10:05:34

we name our branches feature/XXX-1234_some_description, best of both worlds.

rhinocratic10:05:56

@cfeckardt Not sure that I dare buck the system!

flefik10:05:36

don't poke the bear

3Jane10:05:47

that works for tickets 🙂 I have exploratory development branches interspersed with tickets, and also do experimental rebases so keep backups…

flefik10:05:13

you're allowed to make a branch without a ticket?

flefik10:05:17

where is this heaven?

flefik10:05:00

i've heard of these .. i thought they were just a myth

flefik10:05:04

like separation of concerns

3Jane10:05:20

(the rest of the company does work on jira, do paperwork heavy sprints etc)

3Jane10:05:34

(but we were able to temporarily escape the red tape because of a fairly separate project.)

alexlynham10:05:43

I tried spacemacs but it wasn't as pretty as my emacs and was a bit too vimmy. If I want vim, I'll er, just use vim

3Jane10:05:50

for a single project I don’t see the need for anything more complicated than trello + github workflow. I imagine that when you’re higher up and need to see burndown charts, multiple teams coordinating and whatnot, you probably want something more involved.

👆 8
rhinocratic10:05:13

Heavens, I loathe JIRA. The software embodiment of the toxic doctrine of Taylorism. I spit copiously upon his hateful legacy.

rhinocratic10:05:26

Sorry - just had to let that out. :face_with_rolling_eyes:

dominicm10:05:38

I've been looking at JIRA, be interesting to hear what you think of an alternative?

rhinocratic10:05:20

Frederick Winslow Taylor, the architect of scientific management. Made himself so popular that only one person attended his funeral.

rhinocratic10:05:35

I don't mind Trello - seems to do what's required. JIRA just seems like a bit of a behemoth. It seems to take over to the point where the project becomes JIRA, and its artifacts are the main focus of attention.

guy11:05:35

didnt jira buy trello? (atlassian i guess?)

guy11:05:38

$425 mill, not bad i guess 😂

3Jane12:05:41

they did, I’m honestly hoping they won’t break it

😂 4
rhinocratic12:05:58

Oh dear - hope it isn't a Microsoft-style "Embrace, extend, extinguish" manoeuvre.

3Jane13:05:42

Yeah exactly

3Jane13:05:59

Although if they do, I can see there being an instant opportunity for a new competitor

3Jane13:05:13

Trello just fills out a necessary niche

yogidevbear13:05:50

We used JIRA for a short period. It definitely has the feeling of too many bells and whistles. Results in a very clunky feel and as such didn't result in enough "buy in" from management and the dev team. Admittedly, it's a smallish start-up so ymmv. Trello is nice, as is Clubhouse. http://Waffle.io is also pretty nice for doing doing agile boards tide to github repositories

3Jane13:05:59

both of those look interesting, I found trello integration with github somewhat lacking

3Jane13:05:07

thank you! I’m going to investigate 🙂

👍 4
dominicm10:05:01

We're using Clubhouse at the moment which has more process than Trello, but being PM oriented gives it an edge in UI. But we're not fully certain of our decision yet.

guy11:05:56

yeah ive been using clubhouse and found it quite nice :thumbsup:

yogidevbear13:05:43

We started using it recently and I quite like it (Clubhouse that is).

yogidevbear13:05:43

I think the lovely people at ef. also use it

dominicm13:05:01

We're having some issues due to our team structure, but yeah.

4
maleghast11:05:52

That is VERY pretty - me want!

mccraigmccraig11:05:18

we name our branches x.y.z for version integration branches, and x.y.z-feature for feature branches diverging from & merging to a given integration branch... then we cull old branches mercilessly, which is quite easy given the naming

Rachel Westmacott12:05:00

Does anyone have a working example of cloverage usage? I pass it a regex and it seems to completely ignore it…

danm13:05:34

What does it need a regex for?

danm13:05:26

We're using it in most of our (boot) components, except the ones using ring/compojure, as I believe it gets well confused by that

danm13:05:39

Our boot task is

(require '[cloverage.coverage :as cloverage]
         '[bultitude.core :as bultitude])

(deftask coverage
  "Run test coverage on the project."
  []
  (with-pass-thru _
    (let [namespaces (map name (mapcat bultitude/namespaces-in-dir (get-env :directories)))
          [src-ns test-ns] ((juxt remove filter) #(.contains % "test") namespaces)]
      (binding [cloverage/*exit-after-test* false]
        (apply cloverage/-main "--summary" "--html" "--text" "--emma-xml" "--output" "coverage" (concat (mapcat #(list "-x" %) test-ns) src-ns))))))
but we basically just cribbed that from t'Internet somewhere, without necessarily understanding all of it 😉

Rachel Westmacott14:05:50

hmm, that (juxt remove filter) is neat

Rachel Westmacott14:05:28

whatever options I pass to try to restrict which tests get run, it just seems to run those tests as well as running all the tests (so some get run twice)

Rachel Westmacott14:05:45

I’m trying to resist the urge to rm-rf <tests I don't want run> && lein cloverage && git checkout -- <those tests again>

4
thomas15:05:49

@peterwestmacott delete all the tests... that is my advice...

Rachel Westmacott15:05:24

I’d love to. And the src as well. But the business has this weird thing about features and reliability…

😄 8