Fork me on GitHub
#clojure-uk
<
2020-10-26
>
djm06:10:35

I've heard people calling for it to be abandoned, and people calling for it to be 2 hours, rather than 1

dharrigan06:10:58

Good Morning!

dharrigan06:10:47

I think there are studies that show the shift in times causes adverse affects to physical and mental health

dharrigan06:10:42

Clock shifts were found to increase the risk of heart attack by 10 percent,[92] and to disrupt sleep and reduce its efficiency.

djm07:10:30

I think most people don't understand the benefit of it (it's just an annoyance for most of us!), whereas others are very grateful for it. A quick google search turned up https://www.scotsman.com/news/scottish-news/uk-faces-choice-between-time-border-or-darkness-scotland-until-9am-1555400

đź‘Ť 3
djm07:10:13

It seems like those in favour of DST are generally farmers (I think?), and those in (north?) Scotland

mccraigmccraig07:10:31

why do farmers care - the only thing DST changes is what time the shops open relative to dawn, and i've never seen queues of farmers outside tesco first thing ?

djm07:10:09

Hmm, maybe they don't, although I have always heard that it was for their benefit

djm07:10:29

https://www.marketplace.org/2018/03/09/5-things-you-need-know-about-daylight-saving-time/ "Farmers hated daylight saving time. So much that they lobbied against it,"

thomas08:10:19

but cows milk themselves these days don't they? (with robots etc.)

mccraigmccraig08:10:26

and robots all run on UTC (well i hope they do)

thomas08:10:31

that would make sense

rickmoynihan08:10:01

Interesting: > Daylight Saving Time was first suggested as a joke by Benjamin Franklin in his whimsical essay “An Economical Project for Diminishing the Cost of Light” published in the Journal de Paris (1784-04-26). Not everyone is happy with the results.

Ben Hammond09:10:37

the clock changing is really handy for about 2 weeks; after that there is so little sunlight that it doesn't make very much difference

Ben Hammond09:10:44

I've moved to a new machine that has 3 USB-C ports and not much else; one of them is taken up by a power cable, so in effect I've lost a port Trying to see if there is a USB-C hub, but a search brings up lots of devices with USB-B sockets and one USB-C plug Why aren't there multi-USB C socket -> USB-C plug adapters? is the spec not so amenable to daisy-chaining? am I looking in the wrong places?

rickmoynihan09:10:13

@ben.hammond I’ve not looked for a year; but every time I look I’m left with the feeling USB-C is a disaster, because of the absence of things like that.

rickmoynihan09:10:08

Also there’s so many incompatibilities with USB-C stuff, you can’t just plug any USB-C device into another and expect it to work.

rickmoynihan09:10:08

I’ve found issues even with various USB-C -> USB 3/2 converters

alexlynham09:10:57

yeah and you still have the power vs data cable issue too

alexlynham09:10:01

like rick says, disaster

alexlynham09:10:21

i have TWO hubs on my usb-c macbook where the previous gen retina just had enough ports

alexlynham09:10:31

it had hdmi, two usb, firewire, etc

alexlynham09:10:44

and a separate magsafe

alexlynham09:10:22

not sure if @mccraigmccraig was in the office the day my work laptop (non magsafe) got pulled off the side and landed on the floor.. .but i remember raging about the fact that it was a completely solved problem (w/ magsafe). that laptop had to have its screen replaced (luckily inside warranty) less than a mth later and im sure it was coz of that

Ben Hammond09:10:14

ah well; sound like the solution is to stick with USB-B as long as possible and stock up on USB-socket -> USB-C plug adapters and hope for the best

flefik10:10:35

i’m experiencing lots of issues with USB-C chargers. My phone will only accept charge from a subset of chargers in the house. The macbook will accept charge from a different (but not disjoint) subset of chargers in the house. and other devices accept all chargers. confused

jiriknesl10:10:43

Morning 🙂

dharrigan14:10:31

anybody work with GIS data?

mccraigmccraig14:10:32

i've done lots in the past @dharrigan, not for a few years though... @otfrom is maybe more current than me ?

mccraigmccraig14:10:09

(although he's quit this channel so :man-shrugging:)

mccraigmccraig14:10:51

what dyu need to do ?

dharrigan14:10:53

My question may still be relevant 🙂 I'm looking to import the boundary of the UK (to determine if things are inside/outside of the UK). I've stumbled upon

dharrigan14:10:09

Before I delve further....

dharrigan14:10:56

I think it may be okay, it contains a shapefile

mccraigmccraig14:10:23

import those boundaries into PostGIS, then issue SQL queries is generally my favoured ad-hoc GIS query approach

dharrigan14:10:35

yes, I am a fan of postgis too 🙂

dharrigan14:10:57

However, for my purposes, perhaps if I just enclose the UK in a box with min/max lat/lng that may be good enough

dharrigan14:10:14

it doesn't have to be super precise, just whether it's outside of the box

alexlynham14:10:26

@rickmoynihan might also have thoughts, assuming PMD/zib still does lotsa geo goodness

alexlynham14:10:42

iirc back in the day a lot of it was using the geo tools in elasticsearch :thinking_face:

mccraigmccraig14:10:54

elasticsearch is great for fast-as-f* online stuff... we used to use PostGIS for all our pre-processing and ad-hoc stuff, then load pre-processed GeoJSON objects (often at different resolutions) from pg into ES for the API to serve to web clients

dharrigan14:10:07

that's the shapefile, converted, imported into postgresql then viewed using qgis 🙂

dharrigan14:10:02

We have ES at work too, but tbh, I tend to go with PostgreSQL 🙂

dharrigan14:10:20

(this is for batch, overnight work)