I think iirc that at-at uses scheduledexecutor and is a very simple and
stable library which only does one thing, but does it well and has no
feature requests. I wrote schejulure which does a very similar job but with
cron style time specifications rather than periodic and haven't touched it
for
e 1.9.
>
> Alex
>
>
> On Friday, June 30, 2017 at 9:56:43 AM UTC-5, Adam Clements wrote:
>>
>> Hey Mike,
>>
>> It's a case of life getting in the way - both Alex and myself got jobs
>> not in the Android space. That being said, looking at the iss
Hey Mike,
It's a case of life getting in the way - both Alex and myself got jobs not
in the Android space. That being said, looking at the issues that have come
up on the mailing list recently most would be fairly simple fixes, and I
don't think there would be much of a problem bringing it up to
This came up in 2014 on the mailing list
https://groups.google.com/forum/m/#!topic/clojure/3yGjDO2YnjQ
And resulting enhancement requests Alex asked for:
https://dev.clojure.org/jira/browse/CLJ-1367
https://dev.clojure.org/jira/browse/CLJ-1368
For what it's worth (though I realise we don't want
Potentially relevant? I posted a patch two years ago for some static
initialisers still running in 1.8, not yet merged. It was actually the type
hints causing the initialisers to be run at compile time
http://dev.clojure.org/jira/browse/CLJ-1714
On Tue, Mar 28, 2017 at 10:21 AM 'Gunnar Völkel'
Hi Rameen,
I have attached my CV for your consideration, but be aware that I am only
currently considering remote working roles, and so more information would
be required.
Thanks,
Adam Clements
On Mon, Oct 12, 2015 at 9:07 PM Rameen Fattahi <rameenfatt...@gmail.com>
wrote:
> Hi
are currently hiring here at SwiftKey, both for this project
and in general.
Thanks,
Adam Clements
--
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
targeting
Android + iOS.
Cheers
On Friday, May 8, 2015 at 7:18:50 AM UTC-4, Adam Clements wrote:
Hi all,
Just thought you might be interested to know that last week we (SwiftKey)
released an Android app, written from the ground up in Clojure, which as of
this morning has had 65k downloads
It's possible you are simply not seeing the println output from a
background thread, depending on how your repl etc is set up.
On Wed, 18 Mar 2015 3:19 pm Adrian Mowat adrian.mo...@gmail.com wrote:
Hi Erick
Thanks for getting back to me. On my system, I wasn't seeing the contents
of my file
I'm currently using the fastload branch against alpha5, and it's pretty
good. You have to be careful though with namespace declarations as you may
end up loading more than you need to. I'm currently in the process of
breaking my app down into runlevels, where it loads the minimum needed to
get
other repercussions though.
On Thu Jan 22 2015 at 17:49:37 Adam Clements adam.cleme...@gmail.com
wrote:
I think I am seeing static initialisers being run at AOT time when the
class is used as a type hint tag. This isn't a regression from previous
versions of clojure
I think I am seeing static initialisers being run at AOT time when the
class is used as a type hint tag. This isn't a regression from previous
versions of clojure, but with the forNameNonLoading changes that have gone
in recently I was under the impression that this shouldn't be a problem any
I've been looking at getting my startup time down on my Clojure on android
app (it needs to be at least an order of magnitude smaller before I can
ship), and revisited this as a potential candidate. The biggest friction
point was that I would have to change which libraries I use and revisit all
Colin, minor code review point that makes no real difference for this
example but is a good habit to get into: try not to use last on vectors,
use peek instead, otherwise it calls seq and steps through the entire
sequence on each call. peek on the other hand does what you'd expect. For
long lists
There are a number of issues with clojure on lollipop, the ART compiler
doesn't like the bytecode generated by closure for various reasons. I have
just today opened a dialogue with the ART developers at Google and at least
some of the issues have been fixed for the next release of Android. Others
I'm compiling clojure on android and running it using the new ART runtime,
and all works fine apart from the locking macro which fails ART's bytecode
verification.
Example generated bytecode here:
https://gist.github.com/AdamClements/2ae6c4919964b71eb470
The try block in java doesn't cover the
was that I was inadvertently
including both org.clojure/clojure and my patched
org.clojure-android/clojure due to transitive dependencies).
I've submitted a patch and ticket
http://dev.clojure.org/jira/browse/CLJ-1472
Adam
On Wed, Jul 23, 2014 at 1:28 PM, Adam Clements adam.cleme...@gmail.com
wrote
Have you tried upgrading leiningen to the latest version? I don't think you
can deploy from old versions, at least that's been a problem for me in the
past.
On 2 Jul 2014 20:55, Jacob Goodson submissionfight...@gmx.com wrote:
I have been deploying the same project to clojars for quite a while
Have you got type hints? If you do a java method call on something which
isn't type hinted then clojure has to use reflection to look up a list of
the available methods, which is slw. If however you tell it what type
you expect it to be, it can better optimise it. So in the above code you
I'm keen to see graphics frameworks on clojure move away from imperative
api call wrappers and towards a more declarative approach, where you define
as data what you want to draw. I have done this for a number of personal
projects, using a hiccup like syntax to define my drawing operations, and
Oops, I already filed http://dev.clojure.org/jira/browse/CLJ-1367. Should
probably link/mark as dupe - I don't appear to be able to do anything other
than comment.
Adam
On Sun, Mar 2, 2014 at 4:35 PM, Herwig Hochleitner
hhochleit...@gmail.comwrote:
Created:
This sounds like an awesome shortcut to speeding things up on android/ios
while we're waiting for CinC and friends. Do you know how much work it
would be to port your changes to clojure-android and try it out there? I'd
be very interested to test it out and do some debugging on android. Is it
just
I'm having some trouble with java constants in a case statement. I know I
could use condp, but these are things I could put in a java switch
statement and so it's annoying to give up constant time dispatch:
(case (.getActionMasked event)
MotionEvent/ACTION_POINTER_DOWN :down
[...]
`(case ..
~MotionEvent/ACTION_POINTER_DOWN ...
~ MotionEvent/ACTION_UP ...
))
On Sat, Mar 1, 2014 at 12:15 AM, Adam Clements adam.cleme...@gmail.comwrote:
I'm having some trouble with java constants in a case statement. I know I
could use condp, but these are things I could
I have had a similar thing happen with the core.match/match macro - a lot
of examples simply break when put inside a go block. I thought it might
have been something to do with aot compilation but I'm not sure.
Adam
On 18 Feb 2014 05:33, t x txrev...@gmail.com wrote:
Building on Michal's
restarting your
program!
Further details and installation instructions are in the README at:
https://github.com/AdamClements/latest-clojure-libraries
Many thanks to Yannick Scherer (xsc) for incorporating the necessary
command into lein-ancient
Adam Clements
[1] https://github.com/xsc/lein-ancient
[2
That's great, gets exactly the information I need from all the
repositories. I'll go fix up my library to use this instead. Thanks for the
tip off.
Adam Clements
+44 7947 724 795
--
This email and any files transmitted with it are confidential. If you are
not the intended recipient, you
inline and automatically add it to your running nrepl.
Adam Clements
+44 7947 724 795
--
This email and any files transmitted with it are confidential. If you are
not the intended recipient, you are hereby notified that any disclosure,
distribution or copying of this communication is strictly
if it was using a supported api! I find it ridiculously
useful not having to go to my browser to look up the latest version of
libraries I use all the time.
Adam
Adam Clements
+44 7947 724 795
--
This email and any files transmitted with it are confidential. If you are
not the intended recipient, you
Perfect timing, I just sat down to solve this exact problem, sketched out a
vague idea of what I wanted and then saw this which does everything I
needed but better!
It's really handy for Component/Entity/System designs, as it essentially
takes care of the whole entity part of the program and
Have you looked at core.async for shuttling asynchronous events back and
forth. This sounds to me like the sort of thing it was designed for
On 10 Sep 2013 06:30, Vincent Chen noodle...@gmail.com wrote:
Hello everyone,
XCLJB is a Clojure language binding for the X Window System, similar
to
.
Adam
Adam Clements
+44 7947 724 795
--
This email and any files transmitted with it are confidential. If you are
not the intended recipient, you are hereby notified that any disclosure,
distribution or copying of this communication is strictly prohibited.
On Thu, Sep 19, 2013 at 5:21 PM, Ben
Hi,
I have been working on a setup where I batch a number of updates in a
queue, which I store in an atom with multiple threads potentially adding
things to it. Periodically I want to flush that queue, leaving an empty
list in the atom and passing the current batch of values on for further
}
(...))
I'm not trying to open the dynamic scoping can of worms here; this library
clearly is a choice for people already willing to work in that way.
On Thursday, May 2, 2013 9:40:29 PM UTC+9, Adam Clements wrote:
A very simple library for loading application level config from a
configuration
A very simple library for loading application level config from a
configuration file in a nice way, with caching and reloading functionality.
Any other configuration libraries I found were either massively overkill
for my needs (full on validation schemas built in), too complicated to set
up
0.1.3 - Bugfix release fixing a discrepancy between clj-time and cron's
representation of Sunday (thanks dwwoelfel)
*What is Schejulure?*
Schejulure is a lightweight, cron-inspired, minute resolution scheduling
library. It has a neat, concise api and no stateful central scheduler.
It's tiny
I forgot to mention, schejulure can be obtained from the normal places:
Github:
https://github.com/AdamClements/schejulure
Clojars:
[schejulure 0.1.3]
Adam Clements
+44 7947 724 795
--
This email and any files transmitted with it are confidential. If you are
not the intended recipient, you
Your project.clj probably has unmatched brackets, this error means it hit
the end of a file it was reading while still scanning for a closing
bracket.
On 10 Apr 2013 09:22, Dmytro Kozhukhar dkozhuk...@gmail.com wrote:
Hello everyclojurer!
Today I have problem with installing lein on WinXP.
Quit-yo-jibber is a fork of xmpp-clj based less around direct-response
chatbots. It allows you to listen for presence changes, set availability
and status messages and send messages unprompted among other things.
It is stable and auto-reconnects if the network should drop. I use it in
two
I've had exactly this problem trying to use reducers over a large file that
wouldn't fit in memory.
I tried iota, but had the issue that it was still scanning and memory
mapping the entire file before it would start doing anything (pulling the
whole thing through ram and taking a fair few
Hi, I made a thing: https://github.com/AdamClements/latest-clojure-libraries
It's an emacs command which when you do M-x insert-latest-clojure-library
will ask you for the name of a library on clojars. It will then pull the
clojars page, look at the latest version and insert the text e.g.
the same container.
[1]:http://immutant.org
Adam Clements writes:
I'm working on a web api wrapper around a number of java/clojure
libraries.
One problem that I have run into is transitive dependency conflicts,
especially when some of the projects are older than others.
What I
I'm working on a web api wrapper around a number of java/clojure libraries.
One problem that I have run into is transitive dependency conflicts,
especially when some of the projects are older than others.
What I want to do is have each API endpoint's final handler function in its
own
.
Regrettably, no obvious solutions come to mind.
On Saturday, January 19, 2013 1:00:26 AM UTC+1, Adam Clements wrote:
Hi Marko,
I've addressed some of your concerns by re-using a single thread pool for
multiple schedule calls in the current master. The original use case was
one set
stopping/starting scheduled tasks and automatically cleaning up the
executor service if it's no longer needed that would be great.
Adam Clements
On Fri, Jan 18, 2013 at 9:50 PM, Marko Topolnik marko.topol...@gmail.comwrote:
This looks great. I was building a couple of applications that run
So there are a few scheduling libraries around, I wanted one for cron-like
job scheduling and my options were quite limited, there are things like
clj-cronlike and quartzite but I found the syntax quite clunky and didn't
like the central stateful scheduler idea. There are also things like
A URL would probably help: https://github.com/AdamClements/schejulure
On Thursday, January 17, 2013 5:56:40 PM UTC, Adam Clements wrote:
So there are a few scheduling libraries around, I wanted one for cron-like
job scheduling and my options were quite limited, there are things like
clj
Hey,
I really like the idea of pulling out exception handling from the function
bodies. The try catch form has always bugged me a little bit.
One thing that worries me though. While this is fine for examples where you
simply log the exception and move on, what if you need to do something more
/elegant/faster, tips are much
appreciated!
Thanks
Adam Clements
On Saturday, August 18, 2012 3:36:01 PM UTC+1, David Powell wrote:
I just had a go of solving the Numbers Game from the UK gameshow Countdown
[1] in clojure.core.logic.
https://gist.github.com/3374505
It works
49 matches
Mail list logo