This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-21
Channels
- # architecture (9)
- # beginners (192)
- # boot (1)
- # bristol-clojurians (2)
- # cider (213)
- # cljs-dev (10)
- # clojure (195)
- # clojure-art (2)
- # clojure-austin (3)
- # clojure-belgium (4)
- # clojure-dev (4)
- # clojure-dusseldorf (1)
- # clojure-gamedev (9)
- # clojure-greece (21)
- # clojure-italy (27)
- # clojure-losangeles (2)
- # clojure-russia (1)
- # clojure-seattle-old (2)
- # clojure-serbia (1)
- # clojure-spec (114)
- # clojure-uk (136)
- # clojured (2)
- # clojurescript (100)
- # community-development (19)
- # core-async (12)
- # cursive (7)
- # duct (1)
- # figwheel (7)
- # fulcro (96)
- # hoplon (4)
- # jobs (2)
- # lein-figwheel (28)
- # leiningen (2)
- # luminus (14)
- # lumo (3)
- # off-topic (11)
- # om-next (2)
- # pedestal (10)
- # planck (11)
- # portkey (2)
- # proton (1)
- # protorepl (19)
- # re-frame (27)
- # reagent (12)
- # shadow-cljs (82)
- # spacemacs (42)
- # specter (15)
- # sql (3)
morning
morning
Random core function of the day:
-------------------------
clojure.core/format
([fmt & args])
Formats a string using java.lang.String.format, see java.util.Formatter for format
string syntax
FYI: my company (https://www.strategic-blue.com/) is looking to hire some devs to write Clojure, more info in #jobs.
@peterwestmacott - Fascinating looking company / idea 🙂 I am not "in the market", but nice one 🙂
Thanks. I’m certainly enjoying it here at the moment.
Morning 👋
Has anyone here implemented Apache Oltu before?
Anyone prepared to stick their neck out on recommendations for Project Coordination / Management tools / workflows for early stage but geographically distributed teams..? We are all slowly coming tot he conclusion that Slack is something we'll use, but we need something like Basecamp / http://Taiga.io / JIRA (*shudder* God no)... Is there some "cool new hotness" I don't know about that people recommend? Needs to work for all skillsets, not just Geeks, so Org-Mode is not on the table 😉
@olical - I like__ Trello, but it lacks features that I know__ other people in the company want, and the way to fill that gap as far as Trello is / are concerned now is to adopt JIRA + Confluence, 'cos Trello is an Atlassian company / product now.
I haven't hit walls, but I don't usually need much other than the basics. I just thought it was something that devs and non-devs alike can easily use 🙂
Atlassian is too much too soon for us, we are a company of 5 which might__ have external / 3rd party engagements with up to another 4 or 5 people in the next 9-12 months.
We're currently a small entirely distributed team. We use slack and Skype for communication (although http://appear.in is pretty cool and worth looking into). We use a mix of Confluence and GitHub wikis for keeping a log of meeting discussion points and overview development planning, etc. We use GitHub issues for breaking down tasks into smaller objectives that can be assigned. You could also use http://Waffle.io for KanBan boards linked to your github issues. And trello is cool too
We tried using JIRA, but it was overkill for the small size of our team
Ooh... We already use Github, but only 2 out of 5 of us... If there is PM / Task tool (i.e. http://Waffle.io) that can fully integrate with Github Issues / MIlestones that could work...
I haven’t used it but I thought Github had some kind of “agile board” implementation now
have you seen https://clubhouse.io/ ?
The github agile board sucks. It's a total pain to update, you have to use a mouse. There's no automation worth having. You can't create issues from the board view.
We're using Clubhouse, which I'm very happy with for issue tracking. We're a small-medium sized team (with lots of stakeholders invested in different aspects). It's very "agile". It doesn't support much in terms of data hiding though. The reason I chose it was it's tight git(hub) integration. The only columns I move from is Unscheduled -> Ready for Development. Everything else is automated. We use asciidoctor for a wiki, and we're going to hookup Gollum on top of it for authenticating non-github users. We're going to use Antora to generate a documentation site which is very nice.
I didn't really like the project boards on GitHub
But YMMV
Re github project view, we had more success using milestones & labels than we did using their kanban board.
I would be very interested in using http://Clubhouse.io if people are finding it good...
...after all it is built in Clojure, so it would feel good to be supporting it, as long as it's a good fit.
@maleghast if you ever used pivotal tracker, it's like that.
It can send a message for every event in CH, filtered by project to different channels.
Does that mean you need [project-name].http://slack.com for each "team"?
Nope. Just that a project inside Clubhouse is usually associated with a particular team. It becomes hard to manage a lot of cards where that isn't true.
So I'm only in my team's Slack, but I can talk to people on the global channels, direct message anyone on any of the shared enterprise workspaces etc
@carr0t - That's interesting to know... We would have to pay for Slack as we would need to know that our channels were fully private and archived.
Like, if you've got user groups set up, they're only per workspace. So I can be in a channel from my team's workspace, with a load of the 247 ops team from their workspace, and if one of them says @247 in their channel they all get notified, but if I say it in the same channel nothing happens, because the alert is configured for their workspace
Notifications on arbitary text like #247 or whatever still work across workspaces, just not user groups
@carr0t - Hmmm... at our size that would not be an issue, but I can see how it would be an oddity at scale...
Morning @jasonbell
So this one got a little lost in the chatter earlier... Figured I'd post it again 🙂 https://clojurians.slack.com/archives/C064BA6G2/p1519208848000040
FWIW @maleghast, we’re also distributed, (little-a) agile and our “stack” is mostly slack, http://appear.in and trello. We don’t use github issues at all. In a small team, I’d be wary of too much machinery around issue tracking (for instance) in place of (gasp) talking to each other 😱
@dominicm it's an OAuth 2.0 server implementation
There are a few packages in it to support different approaches like server side authorisation server, client side for requesting from a server, resource server (when the app is on the same server as the authorisation, etc
I think it is pretty popular (being from Apache)
@yogidevbear Never knew Oltu existed.
Other options would probably be "roll your own" 😱, or an auth-as-a-service option like http://auth0.com
I'm interested in the resource server option of OLTU (https://cwiki.apache.org/confluence/display/OLTU/OAuth+2.0+Resource+Server) as we have an API that lives on the same server as where the authorisation would be taking place and the app doing the consuming of the API is our own SPA
But there's been talk of supporting SSO, SAML, etc for some of our clients in the distant future
I think going with OLTU would give us the flexibility to switch to a different option like authorisation server (https://cwiki.apache.org/confluence/display/OLTU/OAuth+2.0+Authorization+Server) if those scenarios ever came to pass
Or possible something like https://aws.amazon.com/cognito/
@chrjs - Thanks for that, I agree that we should be "talking" to one another first__, but we need to make some decisions about tools that we are going to bake into our workflow / workculture before we hire on anyone, so that we have an approach before things get too big to apply on back retroactively.
@maleghast Sure, you know your use case. Just my 2p 🙂
@thomas that looks interesting
I see it's by redhat
yes, and I my understanding is that you can use it for free... and if you want support you can pay for it.
ooh and there is an example out there on github that shows how to use keycloak with have a google.
Their docs also look pretty good
@dominicm maybe add your extern to cljsjs so that other people can pick it up as well?
It's very limited to what we use, I have no idea how well it would hold up to scrutiny. I will if I get time though.
Sounds like a potential for a new blog post @dominicm 😉
...but sweet
I guess Rich would say short and sweet (and simple)
I find code-centred blogs quite boring myself. They're usually good for helping someone else solve the same problem though.
or make a gist that has an example and tweet that... so that people can find it again.
Datetimes, amirite?
(def first-date ...) ;=> #inst "2017-09-29T00:00:00.000-00:00"
(def seven-earlier ...) ;=> #inst "2017-09-22T00:00:00.000-00:00"
(jt/local-date first-date) ;=> #object[java.time.LocalDate 0x11f859db "2017-09-29"]
(jt/local-date seven-days-earlier) ;=> ExceptionInfo Could not convert [#inst "2017-09-22T00:00:00.000-00:00"] to class java.time.LocalDate!
(For the interested reader, one is a java.sql.Date
and one is a java.util.Date
, which why the above happens. Just unfortunate that they have the same string representation in the REPL)
eurgh java has too many sub-optimal date types
I’ve got a multi-method for all the ones I’ve come across so far that converts input to java.time.OffsetDateTime.
I once created a code generator in emacs lisp to create java files from plsql function proc specs that allowed me to convert to from java.util.Date/java.sql.Date/String/long
it was about 400 loc of elisp and for one 100 paramater proc it generated a 3kloc java file
sorry, did you just say there was a procedure with 100 parameters?
@peterwestmacott yes, yes I did
oh, that’s what I thought.
doesn’t Clojure stop at about 20?
20 parameters in my mind is usually 19 parameters more than enough... pass a collection, ideally a map, if you have a lot of parameters and keep everyone who has to work with the code happier
if I have more than 3 arguments (or some other small number like that) I change it to a single map as argument.
There is also a lower limit to the number of args you can pass to a clojure fn with type hints
Small enough that I managed to hit it doing something that I thought was still sensible
@dominicm @olical can you recommend any Ergodox keyboard kits, especially any from the UK? The EZ looks great although with VAT and customs duties it will be an estimated £347 for the full kit (I've estimated £255 for the kit, £22 shipping, & £70 for customs & VAT). Still very tempted though to save a weekend of putting it together.
@U05254DQM I've never been cool enough to assemble myself. When I looked into it, you had to order them from the Netherlands if I remember correctly.
Ah, within the EU should work (tariff free trade for a few more months at least). Both kits and pre-assembled keyboards seem hard to find
I bought and built mine from https://www.massdrop.com/buy/infinity-ergodox it's really not very hard to do if you have a cheap soldering iron.
They are pricey and they do take a little time to put together, but it's worth it (imo). You'd also want to set aside some time for designing your own layout because something on the default will probably end up bugging you 🙂
Thanks for all the suggestions. After trying out a friends http://Keboard.io Model01 I ordered that. https://shop.keyboard.io/ I prefer the keyboard layout, the uniquely sculputured keys (even more than EZ) and the firmware has plugins so easier to tailor (add/remove features)
20 parameters in my mind is usually 19 parameters more than enough... pass a collection, ideally a map, if you have a lot of parameters and keep everyone who has to work with the code happier