Comments (5)
Hi Joel,
overtone/at-at
is the Clojars (maven) name for the project jar. When you're using the project within your Clojure project, you need to refer to the namepace which is: overtone.at-at
. You should find this documented under "Basic Usage" in the Readme: https://github.com/overtone/at-at/blob/master/README.md
Please let me know if I can help any further.
from at-at.
You have no idea how stupid I feel now. Thanks! Been at it for too long ;-)
On Thu, Jan 31, 2013 at 11:00 PM, Sam Aaron [email protected]:
Hi Joel,
overtone/at-at is the Clojars (maven) name for the project jar. When
you're using the project within your Clojure project, you need to refer to
the namepace which is: overtone.at-at. You should find this documented
under "Basic Usage" in the Readme:
https://github.com/overtone/at-at/blob/master/README.mdPlease let me know if I can help any further.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-12968340.
from at-at.
There's no need to feel stupid - this stuff is hard when you're just getting started. Thanks for playing with at-at
!
from at-at.
Cool!
Quick question, say I want to deref an atom inside a (every) and do
some manipulations on it (swap out some values for example), that
should still be thread-safe right?
Something like
(def at-pool (mk-pool))
(def sessions (atom {}))
(defn purge-expired [sessions](doall %28map #%28%28log/debug %28val %%29%29%29 sessions%29))
(every 1000 #(purge-expired @sessions) at-pool)
On Thu, Jan 31, 2013 at 11:04 PM, Sam Aaron [email protected] wrote:
There's no need to feel stupid - this stuff is hard when you're just getting started. Thanks for playing with at-at!
—
Reply to this email directly or view it on GitHub.
from at-at.
If you deref
an atom and then swap!
it with a fn that uses the dereffed value, then that is never threadsafe. However, simply swap!
ing atoms is always threadsafe.
from at-at.
Related Issues (8)
- add 'stop-pool!' function HOT 2
- Version 1.2.0 is not in clojars, breaks overtone
- Start a stopped job by passing the job record as a parameter
- `clojure.pprint/simple-dispatch` needs to be implemented for self-referrential types
- Reflection warnings HOT 1
- FileNotFoundException while using 1.1.1 on clojars HOT 4
- Expose exceptions in scheduled functions HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from at-at.