This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-03-03
Channels
- # aws (9)
- # beginners (5)
- # calva (5)
- # cljdoc (7)
- # cljsrn (3)
- # clojure (50)
- # clojure-greece (3)
- # clojure-uk (96)
- # clojurescript (18)
- # community-development (2)
- # core-logic (3)
- # cursive (4)
- # datomic (7)
- # emacs (3)
- # figwheel-main (3)
- # fulcro (5)
- # luminus (4)
- # mount (2)
- # nrepl (11)
- # onyx (6)
- # portkey (1)
- # qlkit (3)
- # re-frame (6)
- # shadow-cljs (33)
- # sql (8)
- # test-check (18)
- # yada (3)
Morning
> “Tasks that take more than a day and that have value to the employer beyond testing the applicant usually attract the National Minimum Wage according to the Government’s guidance,” says Andrew Gray founder of Truth Legal, a law firm specialising in employment law and personal injury.
This is interesting from that revolut article, I didn't know there was that solid a legal basis for not doing tasks such as that
Unfortunately software industry seems to be based on signing away your right currently, starting with the thing about working overtime (although we’re gonna be out of EU soon, so that’ll go away), and with the employer owning everything you come up with in your free time
I've refused to sign an opt-out of the working time directive before and gotten explicit clauses to protect my out of work IP when working places. It is much easier to do as a contractor tho.
Yeah but there's a good chance you'd win a court case based on guidance
A friend used govt guidance to take the independent to court over not being paid for articles as an intern and won
They said they'd never employ him after that but he went and wrote for other people and he's been doing it professionally for a decade now
And as for contracts, I always make sure I own whatever I do in my free time. A lot of the wording of contracts is 'directly related to the business of the company' or something which usually means if it's not directly applicable to the business it's not easy for them to claim, it's more of a no compete clause
Although I have had to ask for a contract to be changed before when the wording was more severe
When I was at the large retailer I had to clarify one point with my hr contact before I signed, but no big deal
But then, I'm happy to walk away if the contract isn't reasonable, and I might be very unusual in that
As long as you're polite it hasn't been an issue so far - that said, I think you are right in that Google or another big technology Co would want to own yr organs
Yeah 100%
That's why I have zero interest in working for them
if you’re not doing anything significant (starting your own business) in your spare time, then why not?
Most people know I come with “startup baggage”, so I make sure it’s discussed up front and openly.
Morning friends 😊
@lady3janepl As coined by a former employer CEO. Side projects are more a case of honesty and trust and not taking the p**s out of anyone.
Nice description
If you need me outside of my usual hours then call me and I’ll be there (assuming I’m not out). Employer comes first, always.
…I will be back though @lady3janepl so what can I do to help you?
started with compojure and its example that also uses lein ring plugin https://github.com/weavejester/compojure-example
…but the example is a bit out of date, and I found that they’re recommending ring-defaults
over compojure.handler
…which I couldn’t get to work until I found an example that runs http-kit directly out of main https://learnxinyminutes.com/docs/compojure/
…so what’s the recommended way to run a webserver (without having a giant pile of extras that I don’t currently need?)
What I liked about lein ring server
was that I could reload the page and it’d recompile, whereas with this example I have to restart it every time I change something, which is a pain when fiddling with templates.
Ha, I’m the wrong person to ask. I just used luminus and compojure-api to get mvp out.
I’m suffering from “oh this will be simple” with this thing, I spent the whole day faffing around with grep (well rg) and sed like an animal rather than write normal code
I’m more about getting things done and out of the door. So if there’s something that fits 80% of the bill then I’ll use it.
@lady3janepl can't look closely now, but there is a way to do what you want :)
The problem is I don’t actually know in detail what all the components are meant to do, so I don’t know how to ask a question
I was hoping to paste some examples together (developer life hey!) and concentrate on the parts that are actually interesting, but without having to use a framework that asks you to make upfront decisions on “do I want to later add clojurescript” or advanced routing, or any such thing
I have ~3 server side generated pages, and want to run this on my laptop with an integrated web server, so configuring pretty much anything else is an overkill to begin with.
(otoh I may be shooting myself in the foot by not learning enough first. it’s just that I had a week of time now, and didn’t want to spend it all on reading docs with nothing to show at the end of it)
Today’s uphill struggle: consuming, analysing and responding to Instagram, Linkedin and Twitter posts when they match a certain criteria.
Yup, Insta has to be manual. I did an experiment yesterday with a paid ad. Learned A LOT.
https://media.giphy.com/media/KEshPjvCXyXsI/giphy.gif lein in production….. 🙂
I’ve done it in the past, wouldn’t look to do it now. still happy to run as java -jar
under tmux
I think I'd be quite happy to use clj, and take advantage of m2 caching on the host.
It’s a demo I’m doing on company time (10%), it’s never going to be a paid product, or in actual production because I don’t own the rights to it 🙂
https://github.com/weavejester/compojure-example/pull/8 @lady3janepl have you seen this?
no, and thank you! (I tried doing something similar and things stopped working at the time … not sure if I remember what broke but I’ll try once again >_> )
I’ll take a break and then attempt to hybridize what I’ve already got with luminus 🙂 Thanks for the help and all the links guys!
You're right, that is unusual. I would suspect that something else is at play :thinking_face: or that you are using the secure defaults without realising. Have you tried a fresh clone and checking whether it does that with the above patch?
This is all handcrafted, I didn’t start from an example clone 🙂 But I have applied the above patch changes, which is what caused things to start failing on https. (It also doesn’t use port 3000 as it used to with original compojure example settings)
I've refused to sign an opt-out of the working time directive before and gotten explicit clauses to protect my out of work IP when working places. It is much easier to do as a contractor tho.
mmm I can imagine
I guess for me I’ve been writing for much longer than I’ve been programming and as a freelance writer you have to be pretty savvy about what rights you give away and making sure you can write for whoever you feel like (or indeed yourself)
FWIW my last three jobs had standard clauses in the contracts about owning everything you do outside of work too - and I just asked for them to be removed. There was never an argument about it; they just took them out — and I’m pretty sure they removed them from the future contract templates. Most contracts are just a template from a lawyer; designed to protect the company from every eventuality. IIRC there may have been some non-compete don’t run away with clients kinda clauses anyway - I didn’t mind too much about them.
It really depends on how much the employer views hiring as a negotiation/agreement.
Yeah, I've always had such clauses removed. Only one employer argued and I got them to narrow it to exclude any OSS I produced within a specific organization on GitHub (since they wouldn't accept an individual account -- so I just produced all my OSS in that organization for the short while I was employed there 🙂 ).