Re: ClojureScript vs. Elm for Multiplayer Web Game

2015-09-20 Thread bryan
You might want to checkout the exact process of creating a 2d card game, as 
documented in the fabulous http://www.parens-of-the-dead.com/ series.

Next, I've found core.async to be a great paradigm to interact with 
websockets from cljs with.

I don't have a ton of experience with elm, but I know the reagent[1] 
approach and re-frame documentation[2] are all-in on RFP.

[1] http://reagent-project.github.io/
[2] https://github.com/Day8/re-frame/

On Monday, September 21, 2015 at 6:09:22 AM UTC+10, JvJ wrote:
>
> I'm trying to develop a small multiplayer in-browser card game (simple 2d 
> garphics), but I don't have  a lot of experience in web app development. 
>  I'll probably be handling client-server communication with Node.js.
>
> I do have experience with functional programming, so I was looking into 
> things like ClojureScript and the Elm language (http://elm-lang.org).
>
> If anyone has experience with game development in either or both of these 
> languages, which would you suggest?
>
> Thanks
>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New Lisp book involving Clojure

2009-07-22 Thread Bryan Green

B

On 7/22/09, rob  wrote:
>
> FYI, The latest post on Planet Lisp discussing Nick Levine's upcoming
> book "Lisp outside the Box" (to be published by O'Reilly from what I
> understand) mentions it will involves some words on interaction
> between CL and Clojure. http://enlivend.livejournal.com/12770.html
> >
>

-- 
Sent from my mobile device

--~--~-~--~~~---~--~~
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Cursive Plugin java integration

2014-08-05 Thread Bryan Hoyle
Hey, y'all, I'm working on a project that's 99% java at the moment, and I'm 
trying to convert bits of it to clojure, one step at a time, but, a problem 
I seem to be running into is that the IDE doesn't seem to recognize 
(:gen-class) directives from the java side. Maven compiles it fine, so the 
project does work, and intellij builds it fine, but I get the error bars 
and lack of autocompletion for the clojure defined classes. Is there a way 
to set this up to work, or is that a known issue?

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cursive Plugin java integration

2014-08-06 Thread Bryan Hoyle
Darn, that's a shame. Thanks for the info and thanks for all the work on 
the project so far.

On Wednesday, August 6, 2014 4:29:34 AM UTC-4, Colin Fleming wrote:
>
> Hi Bryan,
>
> Unfortunately this is a known issue right now, not all classes generated 
> from Clojure forms are represented by classes in IntelliJ yet. Some of them 
> are - if you use deftype, defrecord, reify and proxy those should all work 
> well. Unfortunately gen-class does not, yet, although I've had a couple of 
> requests to make it work. I'll try to fix this soon.
>
> Cheers,
> Colin
>
>
> On 6 August 2014 01:56, Bryan Hoyle > 
> wrote:
>
>> Hey, y'all, I'm working on a project that's 99% java at the moment, and 
>> I'm trying to convert bits of it to clojure, one step at a time, but, a 
>> problem I seem to be running into is that the IDE doesn't seem to recognize 
>> (:gen-class) directives from the java side. Maven compiles it fine, so the 
>> project does work, and intellij builds it fine, but I get the error bars 
>> and lack of autocompletion for the clojure defined classes. Is there a way 
>> to set this up to work, or is that a known issue?
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> 
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Reagent template routing

2016-06-16 Thread Bryan Maass
I'm not sure of this exact answer here, but I'd reccomend asking on the 
Clojurians Slack, in the #reagent channel. It's a great way to access the 
community.

On Thursday, June 16, 2016 at 6:36:24 AM UTC+10, Joakim Mohn wrote:
>
> The reagent template uses compojure server sider routing and 
> secretary/accountant on the client (cljs).
>
>
> https://github.com/reagent-project/reagent-template/blob/master/resources/leiningen/new/reagent/src/clj/reagent/handler.clj
>
> As you can see on line 38 the the server routes correspond to the client 
> side routes. I'm not used to seeing web apps like this. Usually I just use 
> server for json output. What are the advantages/disadvantages to this 
> approach? I'm gonna build a CRUD app with clj backend and cljs front end. 
> My first project in clojure.
>
>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Instarepl in REPL

2016-08-15 Thread Bryan Maass
If you use CIDER, cider-enlighten-mode will show you something similar to 
that. 

Without cider-enlighten-mode: 
https://fetchh--captured.s3.amazonaws.com/2016-08-16_162853.png

with it:
https://fetchh--captured.s3.amazonaws.com/2016-08-16_162832.png

and a gif comparing the 2:
https://fetchh--captured.s3.amazonaws.com/enlighten.gif

On Tuesday, August 16, 2016 at 12:50:42 AM UTC+10, Yangkook Kim wrote:
>
> I love LightTable's instarepl feature. Are there any existing 
> libraries/macros that allows me do the similar thing?
>
> Here is the video that shows instarepl in action: 
> https://youtu.be/cs3lO4FE3U4?t=68
>
> My idea is that "with-instarep" prints out the source of inner function 
> with evaluated values which looks like this.
>
> user=> (with-instarepl
>   #_=>   (my-func 1 2))
>   #_=>
>   #_=> (defn my-func [x y] fn 1 2
>   #_=>   (let [x (inc x)   2
>   #_=> y (inc y)]  3
>   #_=> (+ x y))) 5  
>   #_=>
>   #_=> 5
>
>
>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] Tracks 0.1.7 has been released.

2016-11-14 Thread Bryan Maass
Hello,

Tracks is an attempt to simplify the excellent destructuring syntax in our 
beloved Clojure(script).

https://github.com/escherize/tracks

It focuses on using (and documenting) the shape of data to destructure. 
Please check out the readme! :)

Cheers,
Bryan

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Hiccup 2.0.0-alpha1

2017-01-15 Thread Bryan Maass
Fantastic news! This may call for an update to http://hiccup.space

On Sunday, January 15, 2017 at 1:17:24 PM UTC+11, James Reeves wrote:
>
> I'd like to tentatively announce the first alpha version of Hiccup 2.0.0.
>
> This release introduces automatically escaping of strings, which has been 
> a frequently requested feature. Hiccup 1.0 had no way of distinguishing 
> between a string of text and a fragment of HTML, so for version 2.0 a new 
> type has been introduced to represent the latter.
>
> A lot of projects depend upon Hiccup, and after thinking about it for a 
> while, and watching Rich's Spec-ulation 
>  talk, I decided to 
> introduce a new namespace rather than break backward compatibility. So 
> although Hiccup 2.0.0 is a major version change, it should be backward 
> compatible with version 1.0.
>
> The new namespace is hiccup2.core, and it works like this:
>
>   (require '[hiccup2.core :refer [html raw]])
>
>   (str (html [:span "one < two"]))
>   ;=> "one < two"
>
> Notice that now strings are escaped by default, but we also need to 
> explicitly convert the HTML fragment into a string by using 
> clojure.core/str.
>
> By using a compiled intermediate format, we gain a lot more potential 
> flexibility. For example, possible future feature currently under 
> consideration is to support different ways of formatting the HTML. Using an 
> intermediate format allows us to do this after pre-compilation has taken 
> place.
>
> Because this is an alpha release, the hiccup2.core namespace is not set in 
> stone, but it does seem to be the simplest solution to the problem of 
> incompatibility. Suggestions for better ways to solve this are welcome and 
> encouraged.
>
> As well as escaping strings, additional syntax sugar for attributes has 
> been introduced. This should be familiar to anyone using Reagent:
>
>   (str (html [:span {:class ["foo" "bar"]} "example"]))
>   ;=> "example"
>
>   (str (html [:span {:style {:color "red"}} "example"]))
>   ;=> "example"
>
> Please give the alpha release a spin, and if there are any 
> incompatibilities please let me know.
>
> - James
>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Function behaving differently in web app route

2015-07-31 Thread Bryan Maass
If it were me, I'd put something like:

(def add-link* [my_id fname surname day2 month2 year2 hour2 min2 zone2])

inside the function that handles the route, hit the endpoint as you would, 
and check that add-link* is receiving the arguments you expect.

On Saturday, August 1, 2015 at 3:46:47 AM UTC+10, g vim wrote:
>
> I have a route in my Luminus project: 
>
>(POST "/add_link"  [my_id fname surname day2 month2 year2 hour2 min2 
> zone2] 
> (let [link (add-user-planets-aspects! [fname 
> surname nil nil nil 
>   
> (Integer/parseInt day2) (Integer/parseInt month2) (Integer/parseInt year2) 
>   
> (Integer/parseInt hour2) (Integer/parseInt min2) 0 zone2]) 
>your-id ((first (link :aspects-added)) 
> :user_id) 
>link-id ((add-link (Integer/parseInt 
> my_id) your-id "friend") :id)] 
>(l/render "reg_response.html" 
> (if (> link-id 0) {:h2 "Link added" 
> :text (str "Link id: " link-id)} 
>   {:h2 "No link 
> added" :text "There was something wrong with your link submission."} 
>
> In the REPL add-link does what it should but within the route it only 
> does half the job, ie. it generates a link-id but doesn't do everything 
> defined within its body: 
>
> (defn add-link [my-id your-id link-type] 
>(let [link-id ((add-link-id my-id your-id link-type) :id) 
>  shared (add-links-aspects my-id your-id link-id) 
>  synastry (add-links-synastry my-id your-id link-id)] 
>  {:shared shared :synastry synastry :id link-id})) 
>
> I've tried (doall (add-link   to avoid lazy eval possibilities but 
> it didn't make any difference. What options are there for tracing what 
> add-link is doing/not doing? The app connects to a postgres database. 
>
> gvim 
>
>
>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Skyscraper 0.1.0, a library for scraping entire websites

2015-08-24 Thread Bryan Maass
Thanks DJ,

I think this is a good approach for scraping hierarchical (or not) sets of 
webpages and boiling them down to maps.

On Tuesday, August 25, 2015 at 7:55:36 AM UTC+10, Daniel Janus wrote:
>
> [Reusing the relatively new thread to publish information about new 
> release:]
>
> Skyscraper 0.1.1 is now out.  New in this release:
>
>- Processors (process-fn functions) can now access current context.
>- Skyscraper now uses clj-http  
>to issue HTTP GET requests. 
>   - Skyscraper can now auto-detect page encoding thanks to clj-http’s 
>   decode-body-headers feature.
>   - scrape now supports a http-options argument to override HTTP 
>   options (e.g., timeouts).
>- Skyscraper’s output is now fully lazy (i.e., guaranteed to be 
>non-chunking).
>- Fixed a bug where relative URLs were incorrectly resolved in certain 
>circumstances.
>
> Happy using,
> -dj
>
> W dniu wtorek, 11 sierpnia 2015 19:29:03 UTC+2 użytkownik Sergey Didenko 
> napisał:
>>
>> Looks interesting, thank you.
>>
>> On Tue, Aug 11, 2015 at 5:00 PM, Daniel Janus  wrote:
>>
>>> Dear Clojurians,
>>>
>>> I'm happy to announce the availability of the first release of 
>>> Skyscraper, an Enlive-based library for "structural scraping" -- extracting 
>>> information from whole sites in a structural way.
>>>
>>> Homepage / GitHub: https://github.com/nathell/skyscraper
>>> Leiningen: [skyscraper "0.1.0"]
>>> Clojars: https://clojars.org/skyscraper
>>>
>>> From the README:
>>>
>>> What is structural scraping? Think of Enlive. It allows you to parse 
>>> arbitrary HTML and extract various bits of information out of it: subtrees 
>>> or parts of subtrees determined by selectors. You can then convert this 
>>> information to some other format, easier for machine consumption, or 
>>> process it in whatever other way you wish. This is called scraping.
>>>
>>> Now imagine that you have to parse a lot of HTML documents. They all 
>>> come from the same site, so most of them are structured in the same way and 
>>> can be scraped using the same sets of selectors. But not all of them. 
>>> There’s an index page, which has a different layout and needs to be treated 
>>> in its own peculiar way, with pagination and all. There are pages that 
>>> group together individual pages in categories. And so on. Treating single 
>>> pages is easy, but with whole collections of pages, you quickly find 
>>> yourself writing a lot of boilerplate code.
>>>
>>> In particular, you realize that you can’t just wget -r the whole thing 
>>> and then parse each page in turn. Rather, you want to simulate the workflow 
>>> of a user who tries to “click through” the website to obtain the 
>>> information she’s interested in. Sites have tree-like structure, and you 
>>> want to keep track of this structure as you traverse the site, and reflect 
>>> it in your output. I call it “structural scraping”.
>>>
>>> This is where Skyscraper comes in.
>>>
>>> Happy using,
>>> --Daniel Janus
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@googlegroups.com
>>> Note that posts from new members are moderated - please be patient with 
>>> your first post.
>>> To unsubscribe from this group, send email to
>>> clojure+u...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to clojure+u...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ThreatGRID/Cisco Looking for Clojure Developers

2015-10-23 Thread Bryan Maass
I can't speak to this position, but I have actually worked with Alex 
before.  Noone asked for my opinion, but he is an amazing and impressive 
engineer. Working with him was one of the best parts of my previous gigs. 
 Even though I wasn't employed on Alex's team, he would often stop by and 
have interesting, enlightening, frank code reviews which helped me grok 
Clojure much faster.

If I wasn't working on my startup (fetchh.io) right now I'd honestly be 
tempted.

On Friday, October 23, 2015 at 6:16:03 AM UTC+11, Alex Baranosky wrote:
>
> I'm a senior Clojure developer on the Advanced Threat Integration Team in 
> Cisco's
> Security Business Group. We have a fully remote team, with people spread 
> all across
> the US.
>
> The Advanced Threat Integration Team in Cisco's Security Business
> Group is building a global scale, multi-product security platform with
> an emphasis on Threat Intelligence and Incident Response support.
>
> Our system runs as a distributed cluster in the cloud, and shrunk
> down to a single on-premises appliance.  This keeps us focused on
> simple solutions, clear abstractions between services, composition of
> services, functional data processing, and minimal state.
>
> Our team is distributed across the U.S. and works from home with
> occasional office visits and travel -- this requires excellent written
> communications, self-confidence, trust in your co-workers, and
> assuming ownership of the problems you encounter.
>
>
> We are looking for experience in some of the following problem domains:
>
>  * Web Services Scaling -- Ok, but what happens if 2 million devices
>ask that question?
>
>  * Cloud Deployment -- A herd of containers, a society of JVMs
>
>  * DevOps -- Developers and Operators working together to reduce
>mean-time to discovery and remediation
>
>  * Applied Machine Learning -- Fancy word for statistics, optimization
>and linear algebra
>
>  * Data Modeling -- Applied JSON epistemology in a world of hostile
>actors
>
>  * System Monitoring and Alerting -- Kiries is Kibana, Riemann and
>Elasticsearch
>
>  * Micro-Services Architecture -- Towards NetFlix OSS, but in a
>Clojure way
>
>  * Continuous Integration/Deployment -- Keep it green, push the button
>to deploy
>
> We offer:
>
>  * An endless supply of interesting problems, and people to solve them
>with
>
>  * Work in one of the fastest growing product lines in Cisco
>
>  * Competitive salary and benefits to support a stable, high-quality
>life outside of work
>
>  * Decades of collective experience with Clojure and Common Lisp
>
>  * Support in developing your skills and talents, we love to help each
>other grow
>
>  * Work from home, or a Cisco office, as you please
>
> # Senior Clojure Developer
>
> ## Role
>  * Design and implement RESTish API services
>  * Develop a multi-product data exchange platform
>  * Support other teams integration with that platform
>
> ## Requirements
>  * Experience with Clojure, Ruby and other JVM languages
>  * Experience designing domain-driven data models
>  * Experience with large scale data processing systems
>  * Experience with ElasticSearch
>  * Experience with CQRS/ES is a plus
>  * Experience with Kafka, Onyx or Storm is a plus
>  
>
> Contact: jo...@threatgrid.com 
>
> See the rest of our job listings here:
> https://gist.github.com/AlexBaranosky/bad552de30b9001fbc04
>
>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] modern-cljs second edition

2015-12-15 Thread Bryan Maass
Kudos on your second edition.  I used the first edition back when it came 
out to dip my toes into the cljs universe.  I've since led development on a 
medium-large cljs spa.

I gave a skim to the first few articles and I'll be able to give more 
feedback since I plan to learn about boot through this tutorial.

Thanks!

On Monday, December 14, 2015 at 2:09:44 AM UTC+11, Magomimmo wrote:
>
> Hi all,
> I just published the very first draft of the second edition of the 
> modern-cljs series which already includes 15 tutorials.
>
> In the next few weeks I hope to find the time to publish other 4/5 
> tutorials of the series. 
>
> https://github.com/magomimmo/modern-cljs
>
> This new edition does not use leining/cljsbuild anymore and is now based 
> on the boot build tool (I had some fun with it). The series is now using 
> .cljc (instead of leining crossover and cljx) and cljs.test (instead of 
> clojurescript.test).
>
> Be forgiving for any typos or even bugs in the code, becasue this is a 
> very first draft. 
>
> Hope it helps
>
> Mimmo
>
> p.s. I’m not going to update or support anymore the first edition based on 
> leaning/cljsbuild. Sorry about that, but I really do not have the time and 
> the strenght to do it. 
>
>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] boot-new 0.4.0 -- Templates AND Generators for Boot!

2016-02-29 Thread Bryan Maass
I have some feedback.

Great work! I just blogged about a pure-boot way to get started with 
clojurescript: ( http://escherize.com/2016/02/29/boot-with-cljs ) so of 
course boot-new made an appearance. 

On Monday, February 29, 2016 at 12:20:50 PM UTC+11, Sean Corfield wrote:
>
> Frank Liu wrote on Saturday, February 27, 2016 at 9:39 AM:
>
> Love your project. Could you try to add them to the boot official pages 
> and github wiki's third party tasks? The reason is I can never find this 
> project on google (via "boot-new") or anywhere other than your github or 
> search here in the Clojure google group.
>
>
> It is listed on the third party tasks wiki page:
>
> https://github.com/boot-clj/boot/wiki/Community-Tasks
>
> As:
>
> Templates (Boot new) seancorfield/boot-new 
> 
>
> But the plan is to merge it into the core Boot project at some point (once 
> we get a bit more feedback on boot-new itself and its templates and 
> generators) to knock off any rough edges.
>
> Sean Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ClojureScript at its best

2016-02-29 Thread Bryan Maass
This is a tiny project, but it was extremely easy to write, using cljs, 
reagent, and boot's live-reloading work flow: 

http://escherize.com/catan/

This page is generated from this file:

https://gist.github.com/90416937a946d7474261


On Tuesday, March 1, 2016 at 1:54:04 PM UTC+11, Richard Eng wrote:
>
> What's a great example of a production ClojureScript web application that 
> showcases ClojureScript's best qualities? I'm looking for something 
> impressive. A URL would be nice. Thanks.
>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ClojureScript at its best

2016-03-01 Thread Bryan Maass
Also, the Asciinema player is written in cljs. https://asciinema.org/

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Clojure beginner: IF statement error!

2016-03-06 Thread Bryan Maass
Welcome to Clojure Renata!

Since you're familiar with lisp but not the Clojure idioms, you may want to 
take a scan through the clojure style guide 

.

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: java interop help for beginner calling java class

2014-03-28 Thread bryan webb
Thanks the help is much appreciated


 created file ocfLZWBW,java
added 
package my.nice.lzw;   to the top of the file

changed 
/*     */ public class OcfLZW  to  /*     */ public class OcfLZWBW

compiled ocfLZWBW.java to a class file of ocfLZWBW.class  (no errors)

in eclipse added the ocfLZWBW.class files

in eclipse i see public class my.nice.lzw.ocfLZWBW when i use the class file 
editor


added 

(let [oi (my.nice.lzw.OcfLZWBW.)  buff  buffout]  ;; instantiate an object of 
that class 
    (.expand oi buff buffout)) ;; call its expand() method 

fired up the repl 


get a compilerexception
java.lang.ClassNotFoundException: my.nice.lzw.ocfLZWBW







On Friday, March 28, 2014 12:15 PM, Tassilo Horn  wrote:
 
"bww00amd...@yahoo.com"  writes:

> I have read so much i cant see the tree for the forest.  and need some
> help calling the ocfLZW class below from clojure.

If that's really the complete class definition...

> /*     */ public class OcfLZW
> /*     */ {

... then you can't use it from Clojure because it's defined in the
default package.  There's no way to refer to such classes from any other
package except from the default package itself (no matter if from
Clojure or Java).

Solution: Add a

  package my.nice.lzw;

to the top of the java file.  Then you can instantiate it and call its
method's from Clojure like so:

  (let [oi (my.nice.lzw.OcfLZW.)    ;; instantiate an object of that class
        s-inefficient ...
        out ...]
    (.expand oi s-inefficient out)) ;; call its expand() method

HTH,
Tassilo

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Simple Network Messaging

2013-02-09 Thread Daniel Bryan
There's any number of answers to this, but when I have to do IPC between 
different languages I send JSON messages over ZeroMQ sockets.

http://www.zeromq.org/

Pretty simple to use, implementations exist in almost all currently popular 
languages.

On Friday, February 8, 2013 8:44:06 AM UTC+11, JvJ wrote:
>
> I'm looking to do some simple messaging (json strings) between programs 
> running on the same machine.  One will be in C# and one will be in Clojure. 
>  Is there a library/set of libraries that could simplify this 
> communication?  I haven't done much networking in the past, and I'd like to 
> keep this as painless as possible.
>
> Thanks.
>

-- 
-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Accessing JSON Array data in Clojure

2013-05-09 Thread Bryan Henderson
What map would be defined for the first argument with the given code?  It
seems like how it is set up, it is grabbing information straight from the
JSON data without a map defined.  The 'format-forecast' definition takes
forecast as an arg so I tried it like this with no luck:

*:hour-summary (core/get-in forecast [**:dayPrecipitation :temp])*
*
*
I wasn't sure what else to put for the first argument.

Thanks for the heads up on the clojure.core requirement.  I saw it in some
other code online; figured I needed it.

Also, thanks again for the help.




On Thu, May 9, 2013 at 6:17 PM, Michael Klishin  wrote:

>
> 2013/5/10 Hawkeye02 
>
>> :hour-summary (core/get-in :dayPrecipitation [:temp] forecast)
>
>
> I don't think you use get-in the way it is demonstrated in the examples.
> It takes a map
> as the first argument and a collection of keys to traverse.
>
> http://clojuredocs.org/clojure_core/clojure.core/get-in
>
> Also, you don't need to require clojure.core. It is automatically loaded
> and referred to.
> --
> MK
>
> http://github.com/michaelklishin
> http://twitter.com/michaelklishin
>
> --
> --
> 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 first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/ZreY5nWg0e4/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Clojurians in the midlands (UK)

2012-07-23 Thread Christian Bryan
Just started Clojure and I'm from Walsall/Black Country. I agree, its going 
be difficult finding fellow Clojurians around here.
 
Christian
On Monday, 23 July 2012 09:21:49 UTC+1, Colin Yates wrote:

> I was musing about starting a regular meet-up, but it doesn't sound like 
> there are enough people to justify it.
>
> On Friday, 20 July 2012 13:03:03 UTC+1, Jim foo.bar wrote:
>>
>> There are a few in Manchester (including me) Do you have anything 
>> particular in mind?
>>
>> Jim
>>
>> On Wed, Jul 18, 2012 at 9:53 AM, Philip Potter > > wrote:
>>
>>> There are a few in Cambridge, but it's a stretch to call that the 
>>> "Midlands":
>>>
>>> http://groups.google.com/group/camclj
>>> On Jul 17, 2012 9:06 AM, "Colin Yates"  wrote:
>>>
 I know there are a few in London, but are there any around the midlands 
 in the UK (Coventry, Leicester, Birmingham, Derby etc.)? 

 -- 
 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 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
>>>
>>>  -- 
>>> 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 first post.
>>> To unsubscribe from this group, send email to
>>> clojure+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>>
>>
>>

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en