Job - clojure development at commodities hedge fund

2014-02-19 Thread Patrik Sundberg
Hi, We're a commodities hedge fund with most of our infrastructure being developed in-house using a clojure stack. Think clojure, datomic, immutant, pallet, looking at some UI ideas using LightTable and/or Om. If that sounds like your kind of thing and you want to join a small hard working

Re: [ANN] Gorilla REPL initial release (0.1.2)

2014-02-19 Thread Patrik Sundberg
This is awesome. In my head I've been planing something similar to this for a while now. In my head it's the ideal kind of UI for a power-user not scared of writing small scripts to get their work done while not losing visual output and feedback. More recently I was thinking of it as a

Re: [ANN] Gorilla REPL initial release (0.1.2)

2014-02-23 Thread Patrik Sundberg
re LT: It'd be a natural thing to dig into if/when you look to move to cljs. For the context at hand I think of an LT plugin as something that: - is easy to edit code/text in - has access to ways of executing remote code via nrepl and get back results - have access to files and resources etc via

Catching exception - lazy eval, lambdas and protocols

2014-03-30 Thread Patrik Sundberg
I'm trying to work out how to catch exceptions close to source in some code with structure similar to this: https://www.refheap.com/68851 A doall on line 13 doesn't change the outcome. So not involving records and protocol a similar structure does what I expect it to do, but with them I seem

Re: Catching exception - lazy eval, lambdas and protocols

2014-03-30 Thread Patrik Sundberg
of AProto just like inner-lazy, but in this snippet it's actually called on ARecord instances, so the method lookup will be successful. Cheers, Michał On 30 March 2014 14:18, Patrik Sundberg patrik@gmail.comjavascript: wrote: I'm trying to work out how to catch exceptions close

Re: Catching exception - lazy eval, lambdas and protocols

2014-03-30 Thread Patrik Sundberg
all code was consistent and the exception catching worked just as expected. The protos and laziness were coincidental to the cause of my confusion. sorry for the noise. On Sunday, March 30, 2014 5:12:44 PM UTC+1, Patrik Sundberg wrote: doh. that's a badly translated example by me. I'll have

Modelling for DAG with identity map - or not?

2012-09-16 Thread Patrik Sundberg
Hi, I'm a newbie at clojure and functional programming and I'm toying with the idea of switching a project of mine to clojure. Sorry for a long first post, and it may also be a bit abstract - but you never know before trying :) In my previous OO prototype the domain is modelled via 2 basic

Re: [lein] Depending on tools.jar

2012-09-17 Thread Patrik Sundberg
On Monday, November 28, 2011 9:52:55 PM UTC, Walter van der Laan wrote: You can add something like this to project.clj: :resources-path /usr/lib/jvm/java-6-sun/lib/tools.jar Walter I found this thread an a couple of other ones relating to the problematic tools.jar and lein 2. Does anyone

Re: [lein] Depending on tools.jar

2012-09-17 Thread Patrik Sundberg
On Monday, September 17, 2012 3:05:57 PM UTC+1, Patrik Sundberg wrote: On Monday, November 28, 2011 9:52:55 PM UTC, Walter van der Laan wrote: You can add something like this to project.clj: :resources-path /usr/lib/jvm/java-6-sun/lib/tools.jar Walter I found this thread an a couple

Re: Modelling for DAG with identity map - or not?

2012-09-19 Thread Patrik Sundberg
On Tuesday, September 18, 2012 10:10:35 PM UTC+1, hutch wrote: On 2012-09-16, at 3:21 PM, Patrik Sundberg patrik@gmail.comjavascript: wrote: I'm asking myself though if there's a more functional design for accomplishing the same goals? My main goals are to do things consistently

Re: Modelling for DAG with identity map - or not?

2012-09-20 Thread Patrik Sundberg
On Wednesday, September 19, 2012 10:52:26 AM UTC+1, Patrik Sundberg wrote: On Tuesday, September 18, 2012 10:10:35 PM UTC+1, hutch wrote: On 2012-09-16, at 3:21 PM, Patrik Sundberg patrik@gmail.com wrote: I'm asking myself though if there's a more functional design for accomplishing

Re: Some Friend documentation and regarding documentation in general

2012-10-23 Thread Patrik Sundberg
These are great tutorials. Thanks for publishing. Right now I'm looking for something similar using the OpenID workflow. I see it's there but how I use to for example create a sign in with google setup is less clear to me. Has anyone got a good OpenID example out there somewhere? On Saturday,

Re: Some Friend documentation and regarding documentation in general

2012-10-24 Thread Patrik Sundberg
the addition of code comments there and there. If I dig far enough in the code, I would be pleased to help. Thanks for the hard work. Cheers, Le mardi 23 octobre 2012 17:50:25 UTC+2, Patrik Sundberg a écrit : These are great tutorials. Thanks for publishing. Right

Re: Some Friend documentation and regarding documentation in general

2012-10-25 Thread Patrik Sundberg
, isn't authenticated and gets redirected to /login by friend. once authenticated, how do we ensure we get redirected back to /secret? On Wednesday, October 24, 2012 10:12:01 AM UTC+1, Patrik Sundberg wrote: On Wednesday, October 24, 2012 3:10:52 AM UTC+1, David Della Costa wrote: Patrik

Re: Some Friend documentation and regarding documentation in general

2012-10-25 Thread Patrik Sundberg
On Thursday, October 25, 2012 1:59:36 PM UTC+1, Chas Emerick wrote: On Oct 25, 2012, at 8:04 AM, Patrik Sundberg wrote: I've digested openid and using it with google, should have a working example to share when I have a time to put it together over weekend. I've got another common

Re: Some Friend documentation and regarding documentation in general

2012-10-28 Thread Patrik Sundberg
-on-auth? to true. Am I misunderstanding the flow or is there a mixup here? The tests only tests for boolean state, not as a string url. On Thursday, October 25, 2012 2:54:49 PM UTC+1, Patrik Sundberg wrote: On Thursday, October 25, 2012 1:59:36 PM UTC+1, Chas Emerick wrote: On Oct 25, 2012

Re: Some Friend documentation and regarding documentation in general

2012-10-28 Thread Patrik Sundberg
On Sunday, October 28, 2012 8:14:41 PM UTC, Chas Emerick wrote: On Oct 28, 2012, at 2:57 PM, Patrik Sundberg wrote: I've looked at this for a bit now. It seems there are some slight inconsistencies in how the redirect info is used: Where the redirect-on-autth? is being set up

Re: Some Friend documentation and regarding documentation in general

2012-10-29 Thread Patrik Sundberg
On Sunday, October 28, 2012 9:56:35 PM UTC, Patrik Sundberg wrote: On Sunday, October 28, 2012 8:14:41 PM UTC, Chas Emerick wrote: On Oct 28, 2012, at 2:57 PM, Patrik Sundberg wrote: I've looked at this for a bit now. It seems there are some slight inconsistencies in how the redirect

Re: TONIGHT at Skills Matter! The London Clojure Community:Machine Learning With Clojure

2012-11-05 Thread Patrik Sundberg
Shouldn't that be TOMORROW? Says the 6th in the link. On Monday, November 5, 2012 11:20:17 AM UTC, Theo wrote: *The London Clojure Community:Machine Learning With Clojure * Machine Learning involves developing systems to process (potentially very large) datasets, developing algorithms and

Re: infinite loop print out of cyclic structure at repl

2013-10-01 Thread Patrik Sundberg
This paste seems gone - anyone has it available? I seem to get bitten by this kind of thing in emacs using nrepl and it pretty printing something and it gets into an infinite loop locking up my emacs session completely. Running the same from command line i can see same behavior (seems related

Re: fdef for defmulti?

2016-08-19 Thread Patrik Sundberg
What I meant was that you can spec the defmulti, and code runs just fine, but you can't instrument it. As then you end up with the instrumentation wrapper not being a multimethod, so things break. That's how I read the stack trace. It'd seem possible for instrument to wrap the multimethod with

fdef for defmulti?

2016-08-18 Thread Patrik Sundberg
Hi, Am I right to think you can't currently fdef a defmulti function? I tried and when running tests using clojure.spec.test/instrument I see: 1. Unhandled java.lang.ClassCastException clojure.spec.test$spec_checking_fn$fn__12959 cannot be cast to clojure.lang.MultiFn

Re: detecting running as script

2018-06-12 Thread Patrik Sundberg
I thought this was the go-to library for command line parsing: https://github.com/clojure/tools.cli On Wednesday, January 14, 2009 at 7:11:23 PM UTC, Grunde Løvoll wrote: > > Thanks! > > I'll have a look at clojure.contrib.command-line. I don't need > anything super-powerfull, just something

Re: detecting running as script

2018-06-13 Thread Patrik Sundberg
other command line argument parsing library that folks make me aware > of! > > > > Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN > An Architect's View -- http://corfield.org/ > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > >

Re: Best way to include dev-only functions?

2018-01-17 Thread Patrik Sundberg
I tend to add a path to my :resource-paths in boot for dev-only things. You can do the same with lein (and hopefully any other build tool you use). I'm not sure I got your question fully. My interpretation is that you want to have a different version of the "same" fn, so that other parts of the

[JOB] Senior engineer | Board Intelligence (London, UK / Remote)

2018-10-11 Thread Patrik Sundberg
Hello! Board Intelligence (BI) is looking for talented people to join our team. We are searching for smart and talented senior engineers to help architect and build systems powering boardroom conversations at companies like Easy Jet, Aviva, Britting Gas, BT and Royal Mail. Clojure is our

Question: How do you organize large clojure projects?

2018-11-14 Thread Patrik Sundberg
I've been happy using a monorepo with boot, and a build.boot with many building blocks that can be mixed and matched for many deployables (uberjars in my case). In my build.boot I define my internal blocks, but also defs for external deps like eg postgres and grpc. That way I have one place for

[JOB] Multiple roles | Board Intelligence (London, UK / Remote)

2018-12-28 Thread Patrik Sundberg
Hello! New year and new beginnings? Perhaps you feel it is time to take the step to work with Clojure commercially in the new year? Board Intelligence (BI) is looking for talented people to join our team. We are searching for smart and talented senior developers and DevOps/SRE professionals

[JOB] Clojure / SRE | Board Intelligence (London, UK / Remote)

2018-09-13 Thread Patrik Sundberg
Hello! Board Intelligence (BI) is looking for a talented person to join us in a multifaceted role focusing on platform reliability in the wider sense of the word. All the way from operational setup, to CI/CD pipeline, to developing our services in a solid fashion from a reliability