maybe.
Luc P.
On Oct 18, 3:20 pm, David Jagoe davidja...@gmail.com wrote:
Hey Luc,
Are you deploying to Tomcat using a war file? Are you perhaps missing
the :web-content key in your project.clj file (I presume you're using
Leiningen + leiningen-war)
(defproject myproject 0.0.1
:description
Oups typo in my last reply should be
(fn [] )
IPhone quirk, tiny, very tiny keyboard...
Luc P.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members
I remember this problem but this is
an eclipse bug if my memory is not
failing. They had removed Marketplace
by mistake.
Are you using the latest version of Eclipse ?
Luc P.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to
That emacs joke gets my week started with some abdominal pain
I support strictness
Luc P.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from n
We AOT often dependent projects.
We are very careful meeting the exclusions suggestions reported
by lein deps :tree.
Luc P.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note
Works like a charm from my ipad pro
Luc P.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
At a minimum, nginx could proxy jira no ? You could force http redirection to
https.
My 2 cents.
Luc P.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from n
The other unpleasant option to climb the learning curve asap is to end up with
a deadline to spit out a product
I did it, 5 months of pure Hell
After that the pain went away, either my brain adapted or my nervous system
could not feel it anymore,
can't remember 藍
Luc P.
--
You received
At least 7-10 times less code on average. Except for UIs, UIs are naturally
bloated code wise
I spend much more time thinking about solving problems and testing than writing
code.
It was the reverse in other languages. And refactoring is a piece of cake, no
need for these heavy tools found in
Hi,
Peruse github and read some code until you can find an anchor point to get you
started. You might find some problem/need solved that relates to
some of your past experience and allows you to train with ‘real’ code.
Luc P.
--
You received this message because you are subscribed
reproduced at
runtime and post the result here.
I need to revive some setups, it's a project that had been put on ice for a
while.
Thank you, Happy New Year,
Luc
On Friday, 29 December 2017 01:02:51 UTC, Alex Miller wrote:
>
> What’s the full stack trace on the original exception? (Or if same repro
ade to 1.9 :) It's bizarre at best.
Thank you,
Luc P.
On Saturday, 30 December 2017 00:17:47 UTC, Luc wrote:
>
> Hi Alex,
>
> here it is, I did not get through the compiler source code yet, it might
> be obvious to you:
>
> java.lang.UnsupportedOperationException: Can't
Miller wrote:
>
> On Fri, Dec 29, 2017 at 6:17 PM, Luc <lprefo...@softaddicts.ca
> > wrote:
>
>
>> here it is, I did not get through the compiler source code yet, it might
>> be obvious to you:
>>
>> java.lang.UnsupportedOperationException: Can't type
lerated so far ?
I looked at the macro expansion of the defrecord but did not find anything
wrong on the surface.
Note that I did not yet attempt to run this project from source. That's
forthcoming but I would expect
it to crash at runtime..
Any idea is welcomed.
Thank you,
Luc P.
--
Should have posted this instead, same protocol.
(defprotocol Anonymous (start-job! [this]))
;; Clojure 1.8.0
=> (defrecord NoopJob []
Anonymous
(start-job! [this]
(yabug.services.logger/environment)))
(clojure.core/zipmap '(__meta this __extmap) [__meta this __extmap])
see the point of going
down further on this path.
I will change the macro code here accordingly.
Luc P.
On Tuesday, 2 January 2018 22:22:18 UTC, Nicola Mometto wrote:
>
> The code that caused this issue is
>
> https://github.com/clojure/clojure/commit/a1c3dafec01ab02fb10d91f98b9ff
sheq __extmap])))
yabug.jobs.noop.NoopJob
Grr...
Will sleep on it and toy with it tomorrow by expanding a bit the test
cases. It's nearly 22:00 Morocco time here.
I need a break and some sleep.
Luc P.
On Saturday, 30 December 2017 01:00:05 UTC, Alex Miller wrote:
>
> On Fri, Dec 29, 2017 at 6
Hi Arturo,
this is how I work. Fully remote.B2B. Send me an email at
lprefonta...@softaddicts.ca if you want us to discuss further.
Thank you,
Luc P.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email
Oupse
I went a bit too fast on this post... sorry...
Probably a sudden drop of caffein in my blood
That or I did not screw my head properly this morning 浪
Thank you Sean
Luc P.
--
You received this message because you are subscribed to the Google
Groups "Clojure" grou
in Morocco with a huge 4g pipeline. :)
Luc P.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
changes and run a test suite against the
new runtime
within two weeks, maybe less.
Luc
On Mon, 2009-02-16 at 13:22 -0500, Stuart Halloway wrote:
I agree with Walt, and there is no need to pressure the Prags, we are
on it! :-)
That said, it would be *very* helpful to me if we could get
a closer look to the Lisp
heritage.
Luc
On Thu, 2009-02-19 at 05:57 -0800, MLowman wrote:
Programming Clojure is a good start. I have a copy myself. If there
were a second book on Clojure, what approach would you like to see?
On Feb 19, 6:46 am, Rayne disciplera...@gmail.com wrote:
Telling
learn to something you already know
makes things harder to assimilate.
The other approach of rewriting Java code to Clojure and improving the
code is also a good complementary approach.
Luc
On Thu, 2009-02-19 at 12:34 -0500, David Nolen wrote:
No offense here to Lispers but when I learn
In our software, we use uppercase or +name+ as constant names.
Both Java and RUBY use uppercase, I think it's more a matter of taste
what you decide to use.
Ideally it should be obvious by looking at the name that some name is a
constant name.
Both of the above satisfy this criteria.
Luc
On Sat
uppercase for shared constants and +name+ for the
Clojure
only stuff that may eventually be shared in the future.
Of course in a pure Clojure system, this may be unnecessary given the
immutability by default behaviour.
Luc
On Sat, 2009-02-21 at 22:55 -0500, Chouser wrote:
On Sat, Feb 21, 2009
in production , client caring to do, ...
and other mundane tasks to get the bread and butter on the table.
Comments/suggestions are welcomed...
Luc
On Fri, 2009-02-27 at 12:20 -0800, Paul Stadig wrote:
I've recently done some experimentation with Clojure and Terracotta.
I've detailed my experience
roots and refs also is something we want so we can initiate
STM transactions
involving multiple JVMs.
We have much to learn from a prototype and that is what we strive to
achieve the immediate future.
After this step, real fun will begin, right now were having only an
appetizer...
Luc
On Fri
them removing unwanted classes from the
configuration
and tune the locking strategy as you test things.
Luc
On Fri, 2009-02-27 at 18:05 -0800, Rich Hickey wrote:
On Feb 27, 6:54 pm, Luc Prefontaine lprefonta...@softaddicts.ca
wrote:
Having the ability to redefine a function once for all
.
As of now we use a system property to toggle the modes, we will
implement a
transparent way (testing the presence of a terracotta property most
probably).
Luc
On Sat, 2009-02-28 at 06:35 -0500, Paul Stadig wrote:
My approach was just to share what few refs I wanted, but another
approach (like Luc's
We think the same way. Our first implementation of an alternative to
AtomicReference
is straightforward, we will look at improving it if the need arises.
It will be easier to do so when we get stats from Terracotta after
running some benchmarks.
There's much to do before getting there.
Luc
We will go for a TIM. Just looked at the doc and tes that would simplify
our work a lot.
Thank you,
Luc
On Sat, 2009-02-28 at 18:48 -0800, Nabib El-Rahman wrote:
Hi guys,
I work for Terracotta ( on the server side ) and find this work with
Clojure + Terracotta very exciting. Writing
I'm in Montreal Quebec, we have several feet of snow here and still have
a month of snow storms to go.
Having some spare time I would love to visit you but there's too much
work here
and you area is a bit too far away :)))
Luc
On Sun, 2009-03-01 at 12:21 -0800, Amit Rathore wrote:
Are any
confusion regarding laziness :
Our brains is suppose to be like plasticine but as we grow older it gets
a bit dryer :)))
Luc
On Mon, 2009-03-02 at 08:55 -0800, Bradbev wrote:
On Mar 2, 3:29 am, Mark Volkmann r.mark.volkm...@gmail.com wrote:
On Sun, Mar 1, 2009 at 11:06 PM, max3000 maxime.lar
to 8.
When I started to code, computers were less powerful than the standard
pocket calculator but
we were doing a lot my designing accordingly. It's far more easier today
given the amount
of resources we have
Luc
On Fri, 2009-03-06 at 10:39 -0800, Dimiter malkia Stanev wrote:
Clojure
it to
save us time and pain ?
BTW our internal git repositories (hosted on an XServer) respond pretty
fast on our gigabit LAN :)))
but not as fast a starting a REPL :)))
Luc
On Fri, 2009-03-06 at 14:50 -0800, Phil Hagelberg wrote:
Luc Prefontaine lprefonta...@softaddicts.ca writes:
I work
...
Today, we can choose the appropriate technology for the task to do since
we
are now working on our own products. Our approach has not changed except
that
we have greater latitude in what we decide to use (and of course greater
potential to hang ourselves).
Luc
On Tue, 2009-03-10 at 09:53 +0100
changes in our code when the lazy stuff
came into
play but it was not a pain to adapt. We should start testing this within
2 weeks.
Luc
On Tue, 2009-03-17 at 03:57 -0700, Elena wrote:
On Mar 17, 1:27 am, Jeffrey Straszheim straszheimjeff...@gmail.com
wrote:
Only to do a tiny little test w
Sometimes I feel lucky to be able to take my own decisions and turn our
development
strategy on a dime :. My partners rely on me for these decisions and
we never regretted one so far.
1.0 should not be too far away so your waiting is near it's end... :)))
Luc
On Tue, 2009-03-17 at 07:23
to be
rewritten...
Any attempt to custom fit an application design with a real or supposed
internal behaviour of STM is bad...
Guessing performance levels from an internal behaviour could be as bad
as in the relational database early age.
Luc
On Tue, 2009-03-17 at 14:21 -0500, Mark Volkmann wrote:
On Tue
back to the age of lint does not look to me a progress,
more like a regression...
Luc
On Thu, 2009-03-19 at 11:53 -0400, Stephen C. Gilardi wrote:
On Mar 19, 2009, at 11:33 AM, Michael Wood wrote:
Fair enough, but why does the (defn) succeed if these symbols are
reserved?
Clojure does
together these concepts that make up Clojure is a
significant step for the entire software community.
Now, it's up to us the community to implement applications in Clojure
and give it a significant exposure
to the rest of the world.
Luc Préfontaine
Armageddon was yesterday, today we have a real
applications written in other languages
with Clojure equivalents. It's looks much more complex to implement and
use STM in other languages because of the
lack of the default immutability rule that Clojure provides.
I apologize to those who believe very hard in their daily
horoscope :
Luc
the product becomes chaotic and points in every directions.
Luc
On Tue, 2009-03-31 at 17:44 +0200, Christian Vest Hansen wrote:
On Tue, Mar 31, 2009 at 5:20 PM, Chas Emerick cemer...@snowtide.com wrote:
We shipped production software built in Scala last year, but likely
will never do so again
a larger audience and that's good for all of us.
Luc
On Thu, 2009-04-09 at 06:06 +1200, Abhishek Reddy wrote:
On 4/8/09, Baishampayan Ghose b.gh...@ocricket.com wrote:
Excuse my ignorance, but which one is the first famous Clojure app?
That could be a reference to Luc Prefontaine's
are
probably all dreaming around here :)
Luc
On Thu, 2009-04-16 at 04:14 -0700, André Thieme wrote:
I suggest you to use Clojure.
There is no more risk involved than with anything else.
Clojure supports in its current version all of Java.
It has very nice libs, macros, cuncurrency engine
of the times 20 code
lines or less to do that.
Luc
On Thu, 2009-04-16 at 07:38 -0700, Stuart Sierra wrote:
On Apr 16, 10:00 am, Greg Harman ghar...@gmail.com wrote:
- Don't let people use arbitrary versions of Clojure and Java (and
Contrib, if you'll use it). Pick one, package it with your
and that should
remain your main responsibility but for all the other stuff you
could establish the priorities and guidelines to follow. Then the
community could tackle these things in an orderly fashion.
Consensus can be a great thing but often it costs precious time...
Luc
On Fri, 2009-04-17 at 06
back to more serious stuff on our product.
Luc Préfontaine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Clojure group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group
of the low level
stuff we wrote in Java.
Being curious, can you shed any light of the use you would make of
Clojure beans ?
Luc P.
On Wed, 2009-06-03 at 09:02 -0700, Dmitriy Kopylenko wrote:
Hello.
I'm just wondering is there a way to create Clojure beans and inject
them into other Spring beans
is driven by the var, not the value, it's
like our sweethearts, they drive the show
and they can unbind us at any time :
Luc
On Thu, 2009-06-04 at 08:28 -0400, Andrew Wagner wrote:
Hey ya'all!
Just got my copy of Programming Clojure last night (great book, kudos
Stuart!). I've got a silly
\ IllegalArgumentException.
Did you print the RuntimeException ? There might a be a text messages
there that can tell us where it came from within the Clojure run time.
Luc
On Thu, 2009-06-11 at 10:12 -0700, peg wrote:
Hi clojurians,
I was happily clojure-coding whent I tried to catch
You get back into Java code and find it cumbersome, clunky, (add your
own) ... and wish you had written it in Clojure in the first place.
Then you realize that this code was written ... before Clojure was born.
Bouhouhou !!
Luc
On Fri, 2009-06-12 at 13:24 +0200, Christophe Grand wrote:
You
to
create and extend.
Luc
On Thu, 2009-06-18 at 09:39 -0700, Howard Lewis Ship wrote:
I've been doing a number of presentations on Clojure lately
(TheServerSide, Portland Code Camp, Open Source Bridge), and I'm
getting some interest in Clojure and functional programming.
A question that keeps
.
Luc
Now I still did not understand why it was not working when I was calling
the library
On Fri, 2008-10-10 at 02:45 -0700, mritun wrote:
On Oct 10, 1:46 am, Luc Prefontaine [EMAIL PROTECTED]
wrote:
I found a workaround...
I was able to register the driver using
-Djdbc.drivers
Ouf ! I'm not insane, (at least regarding this bug :)))
I just realized that when I explicitly register the driver, there are
now two instances begin added:
Clojure
user= (println (enumeration-seq (. java.sql.DriverManager getDrivers)))
([EMAIL PROTECTED]) ;; No instance registered
nil
user=
implementation
would surprise me, too many performance impacts and possible behaviour
problems may rise from a change.
Thank you,
Luc
On Thu, 2008-10-16 at 22:03 -0400, Stephen C. Gilardi wrote:
Class/forName com.mysql.jdbc.Driver)
--~--~-~--~~~---~--~~
You
you,
Luc
On Sat, 2008-10-18 at 08:50 -0400, Rich Hickey wrote:
On Fri, Oct 17, 2008 at 8:01 PM, Luc Prefontaine
[EMAIL PROTECTED] wrote:
I am not very far from tackling this issue. In our bus messaging system, we
are using Terracotta with some Java components
and it's a matter of weeks
Montreal prov. of Québec in Canada
Luc Préfontaine
On Fri, 2008-10-17 at 11:53 +0200, Mikael Hall wrote:
I'm from sweden.
Mikael Hall
2008/10/17 Rastislav Kassak [EMAIL PROTECTED]
Hello Clojurians,
I think after 1st year of Clojure life it's good
of Spring beans, Java and Clojure components.
Luc
On Tue, 2008-10-28 at 11:58 -0700, Scott Hickey wrote:
It should work. Before I had a debugging working in Eclipse with Groovy, I
used JSwat, JEdit and Ant for project work with success.
Scott Hickey
Senior Consultant
Object Partners, Inc
. hello)))
java.lang.String
user= (.getClass ABCDE)
java.lang.String
Clojure uses Java String, not StringBuffer or StringBuilder as it's
String representation.
You can write your own predicate if you need one.
Luc
On Sat, 2008-11-08 at 23:07 -0700, Brian Doyle wrote:
This seems like a bug
are these people drowning in this
ocean of java code, not the LISP advocates :)))
Luc
On Sun, 2008-11-16 at 15:32 -0800, Dave Newton wrote:
I'll add that:
(cond (foo bar) (baz plugh)) = (cond (foo) (bar) (baz) (plugh))
This particular CL difference is listed on the wiki page you listed:
http
not only a taste issue, it's about habits and mind flexibility.
Like any new language (I'm up to around 15 excluding half a dozen
assembly languages)
I had to bend my mind a bit to learn Clojure but no need to get myself
lobotomized here :)))
Luc
On Mon, 2008-11-17 at 14:22 +0100, Konrad Hinsen
tant mieux, ça
nous fait plus d'air à respirer :)))
Luc
On Sun, 2008-11-23 at 04:01 -0800, verec wrote:
Cela dit, au cours des derniers mois je me suis tenu dans des groupes
de discussions de programmation francophones et j'ai découvert qu'un
nombre assez important de gens sont soit très mal
elegant code in the
near future :)))
Luc
On Mon, 2008-11-24 at 16:36 -0800, falcon wrote:
What is the best way of accessing Java Messaging Service though
Clojure?
Sounds like Rich has already experimented, with good results:
rhickey: I did some playing (in Clojure) with JMS and OpenMQ
interrupting the service.
e) I want the data serialized, not the access to it...
If size of the YAML output becomes an issue then zip it.
Luc
On Tue, 2008-12-02 at 00:57 -0800, Tayssir John Gabbour wrote:
Hi!
How should I approach serialization? I made a little test function
which
(repeatedly (fn [] 0)) 1000))
Elapsed time: 128680.557706 msecs
0
user=
Increasing the # of iterations still works for me with a 128M heap.
I refreshed my Clojure version from CVS today (Saturday).
Luc
On Sat, 2008-12-06 at 22:18 -0800, Paul Mooser wrote:
I also have this problem, unless I
do not deal with these issues very often or in a very
superficial way.
I expect this will have to change when parallel designs will become
common.
I would rather have more options than less to tune up my design and
increase throughput... so atoms are welcomed.
Luc
From a guy who's been doing
agree ultimately code is the thing that runs... not your
comments or your documentation.
Many people still speculate about system behaviour from the comments
they read and eventually derive
plans from this. Bad mistake... go to the code for your own sake.
Luc
On Wed, 2008-12-31 at 08:41 -0800
to be adapted to the
languages used today and coders have to show
some willingness to add significant comments to their code. If people
are reluctant to do this then such a tool does not
have any future :
Luc
On Wed, 2008-12-31 at 17:23 -0800, Joseph Jones wrote:
On Dec 31, 2008, at 1:29 PM, Luc
gives you a sense of where we come from and where we might be
going.
As for Steve's post, it's about serious matters.
Nonetheless, have a Happy New Year :))) and sorry for the heavy post...
Luc
On Thu, 2009-01-01 at 09:32 -0600, Hugh Winkler wrote:
I hesitate to extend this unpleasant thread
to understand what went wrong.
Luc
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Clojure group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to
clojure+unsubscr
;)) but I would be
surprised that
you beat dot-product...
Luc
On Mon, 2009-01-26 at 16:08 -0800, redhotmonk wrote:
Could someone who has a machine with more than 2 cores please
run the following code? It calculates the inner product of two given
vectors.
Usage: (inner-product [1 2 3] [4 5 6
the rebuild of clojure and clojure-contrib in
build.clj to keep your versions of the jar files and I restricted
these jars usage to lancet tasks only.
Thank you,
Luc
On Mon, 2009-01-26 at 14:34 -0500, Stuart Halloway wrote:
Lancet is a build DSL written in Clojure, and a sample app in the book
[1
if there are any impacts with the changes made recently.
I am due for a minor release in production next week so I have plenty of
time to adapt my code if any changes are required.
Thanks,
Luc
On Tue, 2009-01-27 at 16:12 -0500, Stuart Halloway wrote:
Hi Luc,
Are you suggesting a new
mystery solved
in this disorganized period of my life,
pre/post-production periods are always a bit awkward...
Luc
On Wed, 2009-01-28 at 09:22 +0200, Michael Wood wrote:
On Tue, Jan 27, 2009 at 11:53 PM, Luc Prefontaine
lprefonta...@softaddicts.ca wrote:
No need for an official release
do you think ?
Luc
On Mon, 2009-02-02 at 13:48 -0800, Keith Bennett wrote:
Paul -
Clojure definitely has its benefits, but in terms of memory footprint,
Java appears to be *much* more economical, unless elements can be
discarded shortly after use as Christian describes, in which case it's
the way :)))
Regards,
Luc
On Mon, 2009-02-02 at 17:32 -0800, Keith Bennett wrote:
Luc -
It is I (Keith) who posed the original question.
I am just now learning Clojure, and for me, understanding what's going
on underneath the surface helps me understand how to use the language
properly
Luc P.
I jumped on the FP bandwagon over a year ago and have been using Scala both
at work and for personal interest. Recently however I decided to take a
closer look at Clojure and see if it is something i actually like. I have
to admit at first the syntax form was awkward, but im starting
job so complex that your
brain overloads then you are
shooting yourself in the foot.
Luc P.
Do you guys have any concrete examples?
Sent from my iPhone
On 23 Dec 2013, at 10:13, Korny Sietsma ko...@sietsma.com wrote:
This ties in nicely to my summary of how I feel about static typing
?
Luc P.
--
Luc Prefontainelprefonta...@softaddicts.ca sent by ibisMail!
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient
This depends strictly on your learning speed which I will
not comment here :)
It took me three months full time to start to feel at ease with
Clojure writing production code and I was around 45 years
old at the time.
Learning is never inefficient... when you want to learn.
Luc P
On Thursday
to get the prototype
working.
Choose carefully... :)
Luc P.
The point is that Clojure is not the only modern language out there. I
can't possibly learn them all in depth just to decide which language to use
for my production code. That would be time-inefficient because my goal in
not to learn
.
Luc P.
Then we have more in common
than you may think :)
I learned Ruby first, went through
Scala which appeared in the same
time frame,
all this to pick up the language of
choice to replace Java and Ruby
which we used to prototype our
product.
All this took around 9 months
it easy to implement.
Versioning is mainly a way for us to
revert back to previous configs but it's
also a way to fake an immutable
config state. It's an operational
requirement more than a code
or design issue.
Luc P.
On Fri, Dec 27, 2013 at 10:35 AM, Softaddicts
lprefonta
that this is the missing
piece in the puzzle. Not sure that
this kind of book would be popular
these days.
Luc P.
That makes me think that maybe there's a need for more books about Clojure.
There are many introductory books but nothing more advanced such as best
practices, patterns, etc...
That's maybe
Been writing these on my iPhone most of the day and if I do not cut
lines myself, it looks pretty ugly
on my side :)
I am pretty bad at writing poetry,
glad to see I could fake at it :)
Luc P.
Luc, I've just got to say, your tiny margin widths always make me think
your message is some kind
We added this as part of our standard
logging, not only when exceptions
are raised. It does help a lot in prod...
Luc P.
On Dec 27, 2013, at 11:33 PM, guns wrote:
On Fri 27 Dec 2013 at 11:23:22PM -0500, Lee Spector wrote:
On Dec 27, 2013, at 11:18 PM, guns wrote:
(defmacro dump
I would say use macros to avoid
hiding calls from the go macro
scope.
Luc P.
I recently discovered that parking calls only work if they're directly
contained within a go block. So this works fine:
(defn foo [ch]
(go
(! ch)))
But this:
(defn bar [ch]
(! ch))
(defn foo
You are trying to close a nil
channel.
W/O the code it's all I can say :)
Did you check to make sure
you are not trying to handle nil
as a channel ?
Luc P.
Hi,
I'm getting the following error over and over again in my code, I've tried
adding in some print statement and suddenly
data compliant with our
business model it simplifies the
support of these plugins.
Thank you, great idea :)
Luc P.
Yesql is a simple library for blending SQL queries Clojure together,
cleanly. Here's how it
workshttps://github.com/krisajenkins/yesql#rationale,
and how to use it https
on the look of the expansion,
the code shuffling is kind of
heavy.
Luc
I do not have a single close! statement in my code anywhere. I've double
checked with grep -lhr close\! . through my whole codebase and all the
projects in it.
On Tuesday, 7 January 2014 21:05:53 UTC+1, Luc wrote
Just got your email, I remember
vaguely about this issue maybe when
Tim did is presentation at fhe
Conj.
Or maybe on the mailing list.
You may try what I described
in my previous email and make
your mind about this.
Luc P.
I've changed all of the go blocks to thread and got an exception
Wrap the read in a try catch just return nil in the catch clause
for this specific exception and wrap it in a function for ease
of use. You might want to throw up any other exceptions and
only catch this one
Luc P.
I should add: this problem arises due to cljs / clojure talking over
Oups, skipped the last part of your
emal. With edn I see no way to
do this.
Luc
Either you misunderstood my question or I misunderstood your answer.
I don't want the entire expression to return nil. I only want the
_unparsable_ part to return nil.
Thus, the above answer should
deeper analysis :)))
Luc P.
Hi Daniel,
I'm not an expert in security but AFAIK this is not a problem. Every user
input is a string and you chose how to parse it. There is a edn reader that
is safe, but you can use specific parsers depending on the input. Of course
if you read and eval
Just joking :)
There are a bunch of golden rules
that violate on a regular basis for
good reasons.
With some satisfaction I have to
confess.
When you have a
muti purpose tool in your hands
that you can bend to almost any
use it's hard to be restrained by
taboos :)
Luc P.
Sorry Luc P
implementations.
If someone comes up with a better
implementation while providing
the same behaviours as the current
str fn, then it should make it's way
maybe in clojure.string.
fast-strings ? Whatever it may be
named.
Luc P.
Core fns should be simple, unsurprising, and general.
'Improving' str may
Use (apply base-fun opts)
Luc P.
I'm trying to define a couple of functions that support the same options,
but return different return types.
I have one function that is the base function that provides the most raw
access, and some other functions that call this base function and do
of course,
this was to increase my general
knowledge and to be more relaxed
on the job :)
Knowing your enemy is essential...
Luc P.
On 16/03/14 18:24, Softaddicts wrote:
I think that significant optimizations have to be decided at a higher level.
I doubt that any of that can be implemented
.
This will probably shake the software
stack a lot. Which brings other issues...
Meanwhile we are stuck with
finding the least painful path to get
our stuff to run asap.
Luc P.
From what I understand, a single core can easily saturate a memory bus. At
the same time L2 and L3 caches are so small
1 - 100 of 362 matches
Mail list logo