This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-24
Channels
- # adventofcode (11)
- # architecture (12)
- # beginners (132)
- # boot (19)
- # cider (26)
- # clojure (69)
- # clojure-dusseldorf (4)
- # clojure-gamedev (1)
- # clojure-italy (46)
- # clojure-nl (4)
- # clojure-serbia (1)
- # clojure-switzerland (2)
- # clojure-uk (91)
- # clojurescript (79)
- # css (4)
- # cursive (2)
- # datomic (16)
- # docs (9)
- # duct (20)
- # editors (94)
- # fulcro (15)
- # graphql (2)
- # hoplon (1)
- # instaparse (7)
- # jobs (3)
- # lein-figwheel (3)
- # leiningen (2)
- # lumo (40)
- # mount (35)
- # off-topic (19)
- # reagent (18)
- # reitit (1)
- # shadow-cljs (123)
- # specter (7)
- # sql (5)
- # test-check (4)
- # tools-deps (38)
- # vim (20)
- # yada (9)
Speed of json processing is not a bottleneck, no, but when youāre writing a backend, shaving off milliseconds off a request can be valuable
...continuing on yesterdayās theme, Facebook send a query ID rather than a full Graphql query
(You might say āoh thatās Facebook, itās worth it at that scaleā but even at a smaller scale there is a difference, we noticed it internally)
Is the jsonista lazy for producing json streams? Iād be interested in switching over, but my current app really benefits from laziness - Iām writing a better git logger, for extracting CD data from git logs, and itās nice to just run it piped through less
, which only works if itās lazy
(Itās a fun side project, as part of a set of things Iām doing on simple code metrics - sample output:
{
"committer" : "",
"name" : "bec9be9c34ef009e7fa72d93bb6869b4cd7a91bb",
"author" : "",
"commit-time" : "2018-05-11T11:05:42+01:00[GMT+01:00]",
"author-time" : "2018-05-11T10:43:49+01:00[GMT+01:00]",
"msg" : "BAU: Update saml-libs version",
"diffs" : [ {
"change-type" : "modify",
"file" : "build.gradle"
} ],
"history" : [ {
"tags" : [ "build_15552" ],
"timestamp" : "2018-05-11T11:05:42+01:00[GMT+01:00]",
"id" : "bec9be9c34ef009e7fa72d93bb6869b4cd7a91bb"
}, {
"tags" : [ "build_15554" ],
"timestamp" : "2018-05-16T11:17:54+01:00[GMT+01:00]",
"id" : "ed0f88b5bc69777d60aebe40dc18f381aa9663fe"
}, {
"tags" : [ "build_15555", "release_717" ],
"timestamp" : "2018-05-17T12:23:06+01:00[GMT+01:00]",
"id" : "e5318c28bd26f5b7edfd5861fef213b058d35e54"
} ]
},
From this, you can see that Rachelās commit was written at 10:43, it was committed at 11:05, built on master at 11:05, but wasnāt released for another 6 days. ācontinuous deliveryā š
@korny it is based on the same thing as cheshire, but has a focus on being faster. It has less magic.
@korny interesting project! Would it be possible to see how long it takes for branches/PRs to be merged on average or over time?
It should be - depends a bit on how you tag things, git doesnāt really give you a lot of visibility into branches, especially if youāve merged and the branch has gone away. In our case, we only tag builds on master
so the gap between author-time
and the first build
tag is generally how long it sat on a branch. (I think the example I posted was directly on master)
The joy of coding in the open - all of this is on github: https://github.com/alphagov/verify-hub/commit/bec9be9c34ef009e7fa72d93bb6869b4cd7a91bb š
current mood: https://imgflip.com/i/2awjbi
Hello š
Good thanks @dominicm
I'm coding a session review section for agencies to judge their work in our awards industry platform
Alas, it's cfml coding (for now š)
Not bad. I had a great night sleep on my new pillows. My old ones were cheap, and should have been thrown away after 3 months. That 3 months was up around a year ago.
I'm trying to build out a small stream data platform using the serverless framework
ES6 sadly, not cljs
and our users just complained about slow queries from the DB... so looking into that now.
I'm having a last stab at using a rule engine to generate cloudformation. I'm using naga https://github.com/threatgrid/naga this time round, which is datalog based. I've run about 5 mini-experiments of this now.
Iām trying to clean up at $client as I have 4 days left, and a year of knowledge that probably no-one cares about š
Morning.
dyu bash it @carr0t?
morning
have you tried switching it off and on again
So I took them off to have a look. There's a big fracture in the carbon fibre at the top of the fork, right where the handlebar stem meets the spacers below
anyone here had a go with chronicle-map for an off heap kv store? https://github.com/OpenHFT/Chronicle-Map
i'm getting dĆ©jĆ vu from chronicle-map @otfrom...
@mccraigmccraig I don't know about elsewhere in the frame, but where this is certainly can't be patched. If I did then it wouldn't fit where it needs to. It is at least just new fork time rather than new frame time
ah, carbon fork... i thought you meant the crack was in the head tube... still sounds expensive though
what kind of bike are you on dan?
But yeah, the fracture is in the fork, at the base of where the handlebar stem bolts around the top of the fork. Whatever that bit is called
Sounds like somebody has over torqued the stem bolts if it's a carbon steerer. Should only be ~5-6nm
Naah, I've got a torque spanner for that, as has the mechanic I use (he basically does all the club's bikes). It was fine right up until I hit a big pothole last night, then it was feeling wrong this morning
you seem to have a lot of bike issues
do you ride a long way?
Not really. 7 miles each way daily, plus weekends out with the club when I can manage it. I do about 3000-3500 miles a year
Most of my issues I think can be pretty directly attributed to Manchester's crappy roads...
Also also that my bike is a racing bike built for speed that I ride in all weathers, not a chunky hybrid or whatever built for rougher terrain, to require less maintenance and such
i can confirm that there are lots of very excellent off-road cycling opportunities around manchester if you are at all tempted...
I do off road very occasionally, but I much prefer road biking. I just prefer it on good roads š
understandable, although you should perhaps move to another country (with a different idea of the value of public goods) if you really want well-maintained roads... they are pretty crap around sussex too, so i imagine it's a nation-wide problem
i'm the other way around with off/road preferences - what do you prefer about roads ?
Hah, well my wife is semi-considering applying for a job at one of your (IIRC) Universities
@mccraigmccraig Basically, I like to go fast on the flat. I'm not great at hill climbing. I quite like downhill offroad stuff, but I'm rubbish at rockhopping up there in the first place.
I'm also a fan of minimum effort, especially on my commute. So I'll absolutely lather it quite happily to go fast in to work and feel good about it, but on an MTB I feel like half my effort is being 'wasted' when I'm not actively off road (chunky tyres with a lot of rolling resistance, bounding the suspension instead of pushing the pedals, etc)
One of the things I miss about MK was the redways - some were a bit grotty, but the good ones were great
Yes - I used to love the cycle to work via Woughton when I lived in that neck of the woods. But the lines of sight were not good on many routes - hence (partly) my broken acromioclavicular joint!
@carr0t i guess the principal difference then is that i don't mind climbing. i'm not spectacularly good at doing it quickly, but i can grind my way up most things and i even quite enjoy technical climbs. also i really like the off-road downhills. and i hate cycling alongside cars, probably because of the terrible average british driver's attitude to cyclists
oh, and i get those "absolute focus" moments where there is no room in my head for anything other than the 10m of terrain in front of me much more often on a mountain bike, and i really like them
Oh aye, I can go very slowly up most tarmac climbs. But anything off road I fail and have to put feet down more often than not
this climb kills me - i've never managed to get up it yet without feet - https://www.strava.com/segments/2611281 . the steepest bit is at the top, and it's gravelly, and every time my front wheel wanders or my back wheel slips
century?
100 miles?
Well, everywhere apart from the US and UK it's generally 100km, but we tend to refer to that as a 'metric century' and look down on it a bit š I've done a few of those, because it only works about about 65-75 miles or something
I've done a few metric centuries but I don't think an imperial one
Furthest I've done in a day was about 148km iirc
Aren't you a little short to be a storm trooper? https://www.youtube.com/watch?v=DXn8-meSd8g