A while ago, I wrote a library called *brute *as an ECS library for Clojure
+ ClojureScript.
Articles:
http://www.compoundtheory.com/category/brute/
Github:
https://github.com/markmandel/brute
https://github.com/markmandel/brute-play-pong
Mark
On 15 August 2017 at 18:49, James Reeves
+1 to what Andrey said.
You could also run Redis as a backend and use it's pubsub service [1], if
being more language agnostic is more your thing.
Depending on where you are hosting, you could also use a hosted pubsub
mechanism, such as Google Cloud PubSub[2] or AWS SNS[3].
There are definitely
Brute is a simple and lightweight Entity Component System library for
writing games with Clojure and ClojureScript.
This release is essentially just a move from CLJX to Reader Conditionals to
implement support for both CLJ and CLJS.
Full details, and how the conversation process went can be
Totally off the top of my head, but this should work -
(edn/read-string (join (line-seq r)))
Mark
On 7 March 2015 at 14:18, Sam Raker sam.ra...@gmail.com wrote:
I'm experimenting a little with EDN files. I've currently got this
function:
(defn from-edn [edn-file] (with-open [r
I'm sure you can, but you would need to implement your own custom methods
to do it, using :readers or :default options in edn/read / edn/read-string
It would very much depend on the format of the outputted EDN as to which
approach to take.
Mark
On 9 October 2014 07:12, Timur
Brute is a simple and lightweight Entity Component System library for
writing games with Clojure and now also **ClojureScript**.
Big thanks to Martin Janiczek https://github.com/Janiczek for porting
Brute over to CLJX and making everything work.
There are also some new functions - including:
Try this for IntelliJ instead. It's far better:
https://cursiveclojure.com/
Mark
On Mon, Jul 14, 2014 at 11:35 AM, Brian Craft craft.br...@gmail.com wrote:
In need of a way to breakpoint in java code, I decided to look at
intellij. I tried the directions here:
Brilliant work :) This is definitely my new goto for Clojure docs.
Mark
On Sat, Jul 12, 2014 at 8:38 AM, Reid McKenzie rmckenzi...@gmail.com
wrote:
Sorta kinda on the automated synchronization. Whenever I rebuild/update
Grimoire (and you can too!) it fetches the latest examples from
Nice work! I've been using Grimoire all day :)
Two small suggestions, which you have probably thought of: (1) search (2)
a copy of the clojure cheat sheet that points to grimoire instead. (Maybe
Grimoire needs it's own domain?)
CrossClj is *awesome* as well. I've been wanting something similar
If you are looking for another example, here is my pong clone with
play-clj, and my own Entity Component system, brute.
https://github.com/markmandel/brute-play-pong
I also use an atom that I reset! on each game loop. Because it's integrated
with play-clj (and therefore libgdx) there is a bit
Yah, I noticed this as well. I figured it was something in the terminal
plugin.
Sent from my mobile doohickey
On 22/06/2014 3:13 PM, Colin Fleming colin.mailingl...@gmail.com wrote:
Hmm, thanks for the report - I'll take a look at this and see if I can
figure out what's happening.
One
I got bored and set up a simple Clojure project to fork if they want on
Runnable.com
http://runnable.com/U46bKu4Y8pZgeAW9/clojure-%2B-leiningen-example
For some reason, the editor currently can't open .clj files, but that's
easy enough to work around with a text editor in the terminal.
(Bug:
Brute is a simple and lightweight Entity Component System library for
writing games with Clojure.
This is a rewrite of Brute 0.1.1, to get rid of all the global internal
refs, and make it so that Brute simply passes around an immutable
collection. This makes things far nicer to deal with, and
That's awesome. I'll be keeping an eye this project for sure.
Sent from my mobile doohickey
On 28/04/2014 4:51 PM, Tims Gardner timsgard...@gmail.com wrote:
Hi Jacob, thanks for your interest! As Max said, this project is
definitely still in the mostly functional hack phase, but it should be
I wrote a blog post a while back on working with EDN, which could be
helpful:
http://www.compoundtheory.com/clojure-edn-walkthrough/
From there, fire up a REPL, load in clojure.edn, and start converting
vectors and maps to EDN and see what the format looks like :)
Mark
On Mon, Apr 21, 2014 at
I use Cursive for my Clojure development and it's great! I'm a big fan.
Standard disclaimer: I was already firmly entrenched in Intellij beforehand.
Sent from my mobile doohickey
On 17/04/2014 11:12 AM, Mark Engelberg mark.engelb...@gmail.com wrote:
On Wed, Apr 16, 2014 at 6:01 PM, Colin
Heya!
First real Clojure library release, so exciting/scary stuff, but feedback
would very much be appreciated.
Brute is a a simple and lightweight Entity Component System library for
writing games with Clojure.
The aim of this project was to use basic Clojure building blocks to form an
Entity
Great! Would love to have contributions!
Mark
On Tue, Apr 15, 2014 at 9:45 AM, Reid McKenzie rmckenzi...@gmail.comwrote:
Cool project! I just hammered out my own CES in the last few weeks for a
private project, I'll be interested to see how they compare and whether
there's anything I can add
Awesome.
Glad to have this complete. I had some pending pull requests I wanted to
drop in.
Mark
On Sun, Mar 2, 2014 at 8:22 AM, zcaudate z...@caudate.me wrote:
I'm also looking for collaborators as it is getting to a stage where I'm
having trouble managing it by myself.
if anybody is
I'm sure Plugh probably does similar things, but my learning clojure app
has my own custom RPC mechanism over websockets that I wrote (because it
was fun) that is all based around core.async and uses edn to transfer data
back and forth.
https://github.com/markmandel/chaperone
Server Side:
On Wed, Jan 15, 2014 at 12:39 AM, Alex Miller a...@puredanger.com wrote:
2) Be careful using when using falsey tests like when or if - these will
stop on nil but will also stop on false coming through the channel. Might
be ok here, but it's something to be aware of.
Oooh! that is a really
+1 for environ as well.
I also have combined that with the Stuart Sierra reloaded workflow (started
it before Components, don't know if I want to switch).
http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloaded
Finding it a great fit, as it's easy to switch out environ variables in
I found this macro I wrote really useful for exactly this type of thing:
https://github.com/markmandel/while-let
As long as you are happy for your go loop to stop when nil comes through
(i.e. when it gets closed).
(go (while-let [data (! (channel))]
(println data)))
Mark
On
I have found in the past I needed to reload-configuration of initctl.
Maybe try that?
Mark
Sent from my mobile doohickey
On 29/12/2013 9:14 AM, James Reeves ja...@booleanknot.com wrote:
The script I included in my example assumes that there is a deploy user
that owns the /deploy directory
I just upgraded from 0.0-2030
And now when I run lein-cljsbuild, I keep getting the error:
Compiling resources/public/js/main.js from [src-cljs]...
Compiling resources/public/js/main.js failed.
java.lang.AssertionError: Assert failed: :output-dir
Gah! Thank you, thank you, thank you.
That was one thing I was dying for in Clojure (coming from Pry in Ruby).
That just made my day.
Mark
On Wed, Nov 13, 2013 at 1:56 PM, Jason Gilman ja...@element84.com wrote:
The debug-repl library (https://github.com/georgejahad/debug-repl) is
what you
This is actually really relevant to me - I'm *just* about to start writing
angular tests with purnam.test.angular.
Thanks!
Mark
On Tue, Nov 5, 2013 at 9:56 PM, Chris Zheng z...@caudate.me wrote:
I'm sorry ;-)
but I've written that many clojure macros for this library that i think
the post
Thanks for that recommendation! I was thinking about this exactly this
issue.
Mark
On Fri, Oct 11, 2013 at 10:19 AM, Karsten Schmidt i...@toxi.co.uk wrote:
On 11 October 2013 00:01, Adam Clements adam.cleme...@gmail.com wrote:
I find it ridiculously useful not having to go to my browser to
Just wondering if this is a common thing or not, or if it was just me.
For the full project file in question, is here:
https://github.com/markmandel/chaperone/blob/master/project.clj#L29-L46
I found that when trying to compile my clojurescript with lein-cljsbuild,
it would error out, as the
Thanks for posting this - at first glance it looks very cool :)
See you at Strangeloop - I've been looking forward to this talk :)
Mark
On Wed, Sep 11, 2013 at 10:13 AM, Jason Gilman jason.gil...@gmail.comwrote:
I've just released a new open source tool, VDD Core, to help enable
Hey all,
Relatively new to Clojure, and I'm wondering if there is a better/simpler
way to handle what I'm doing.
I'm working with the Elastisch library for interacting with ElasticSearch,
and it has the following function:
Thanks for the help all, that gave me some things to think about.
Cheers,
Mark
On Mon, Sep 9, 2013 at 9:22 PM, Meikel Brandmeyer (kotarak)
m...@kotka.dewrote:
Hi,
Am Montag, 9. September 2013 12:31:30 UTC+2 schrieb Alex Fowler:
I would also add that in case, if you *need* to destructure
, Sep 10, 2013 at 8:57 AM, Mark Mandel mark.man...@gmail.com wrote:
Thanks for the help all, that gave me some things to think about.
Cheers,
Mark
On Mon, Sep 9, 2013 at 9:22 PM, Meikel Brandmeyer (kotarak)
m...@kotka.dewrote:
Hi,
Am Montag, 9. September 2013 12:31:30 UTC+2 schrieb Alex
go with Meikel's solution, though. It seems the
nicest.
--Leif
On Monday, September 9, 2013 7:02:43 PM UTC-4, Mark Mandel wrote:
The solution I've actually gone with is:
(apply esd/search es-index mapping-type (- options seq flatten))
Seems the most consise and shows the intent of what
I'd be keen on this too - but probably more as a plugin than a standalone
IDE (a'la WebStorm, RubyMine, etc). I already have a licence for IntelliJ,
so would be wanting to have a better plugin than La Clojure.
I just started trying to work out my workflow with IntelliJ and Clojure,
and found it
On Sun, Aug 18, 2013 at 6:52 AM, John Jacobsen eigenhom...@gmail.comwrote:
After some prototyping and development, we are now getting to the stage
where lein run and a Jetty server running from -main aren't going to cut
it.
At the risk of asking a dumb question, but being quite new to
36 matches
Mail list logo