<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Clojurescript on zachcp</title>
		<link>http://zachcp.org/categories/clojurescript/</link>
		<description>Recent content in Clojurescript on zachcp</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
			<copyright>© 2007- {year}</copyright>
		
		
			<lastBuildDate>Sat, 19 Dec 2015 08:03:00 +0000</lastBuildDate>
		
			<atom:link href="http://zachcp.org/categories/clojurescript/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>D3 with Reagent</title>
				<link>http://zachcp.org/blog/reagent-d3/</link>
				<pubDate>Sat, 19 Dec 2015 08:03:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/reagent-d3/</guid>
				<description>&lt;img src=&#34;http://zachcp.org/pics/blog/2015/simplecomponent.png&#34; width=800&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve been interested in using &lt;a href=&#34;http://d3js.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;D3.js&lt;/a&gt; with &lt;a href=&#34;https://github.com/reagent-project/reagent&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Reagent&lt;/a&gt; for awhile. Reagent is wrapper around &lt;a href=&#34;http://facebook.github.io/react/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;React.js&lt;/a&gt; that uses a simple syntax that makes it straightforward to create relatively sophisticated web applications without needing many details of whats happening under the hood. Furthermore, Reagent has &lt;a href=&#34;https://github.com/Day8/re-frame&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;re-frame&lt;/a&gt;, an excellent framework for managing state whose documentation alone makes it a treasure trove&#xA;of knowledge and entertainment (thanks Mike Thompson!). With a bit of clojurescript knowledge, the re-frame documents can get you making complicated, interactive web applications in no time. But at some point you will want to do something that is not 100% clojurescript, like add a D3-backed component, and things can get tricky quickly.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Immutable Stack 2</title>
				<link>http://zachcp.org/blog/immutablestack/</link>
				<pubDate>Sun, 18 Oct 2015 08:03:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/immutablestack/</guid>
				<description>&lt;p&gt;I spent my time this past weekend at &lt;a href=&#34;http://kitchentablecoders.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Kitchen Table Coders&amp;rsquo;&lt;/a&gt;&#xA;Immutable Stack 2, a two day interactive workshop focusing on &lt;a href=&#34;http://www.datomic.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Datomic&lt;/a&gt;&#xA;and &lt;a href=&#34;https://github.com/omcljs/om&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Om-Next&lt;/a&gt;. The workshop was enjoyably taught&#xA;by &lt;a href=&#34;https://twitter.com/swannodette&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;David Nolen&lt;/a&gt; and &lt;a href=&#34;https://twitter.com/kovasb&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Kovas Boguta&lt;/a&gt;,&#xA;who were excellent complements to one another, and who managed to create a relaxed environment where&#xA;people were free to ask questions throughout. Kovas&amp;rsquo; section brought out his dry, understated humor,&#xA;and in Davids&amp;rsquo; section we witnessed his exuberance for the subject. Largely because of these two,&#xA;the attitude of the two days was very relaxed: despite being in a room filled with technically&#xA;competent people, the questions and answers were entirely positive and well respected,&#xA;resulting in a fast-paced, knowledge-dense two days.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Browser Chemistry Part I</title>
				<link>http://zachcp.org/blog/browserchemistry/</link>
				<pubDate>Mon, 08 Jun 2015 08:03:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/browserchemistry/</guid>
				<description>&lt;p&gt;A few months back &lt;a href=&#34;http://baoilleach.blogspot.co.uk/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Noel O&amp;rsquo;Boyle&lt;/a&gt; wrote a series of blog posts wherein he used &lt;a href=&#34;http://kripken.github.io/emscripten-site/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Emscripten&lt;/a&gt;&#xA;to compile a number of chemoinformatics toolkits to Javascript including &lt;a href=&#34;http://baoilleach.blogspot.com/2015/02/cheminformaticsjs-open-babel.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;OpenBabel&lt;/a&gt;,&#xA;&lt;a href=&#34;http://baoilleach.blogspot.com/2015/02/cheminformaticsjs-rdkit.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;RDKit&lt;/a&gt;, and &lt;a href=&#34;http://baoilleach.blogspot.com/2015/02/cheminformaticsjs-helium.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Helium&lt;/a&gt;. As someone interested in using the browser to interact with molecules, I thought this was a great series of posts and thought I might even be able to reuse some of the javascript he had generated. However, upon attempting to reuse his smiles-to-svg functions on a different webpage I discovered that output of Emscripten is difficult to reuse (or at least not obvious to someone unfamiliar with &lt;a href=&#34;http://asmjs.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ASM.js&lt;/a&gt;. I tried downloading&#xA;the JS file in order to call the smiles-to-svg function in another context but started running into errors with the generated code. I was still interested in trying to generate images in the browser, however, and in his &lt;a href=&#34;http://baoilleach.blogspot.com/2015/02/cheminformaticsjs-conclusion.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;final post&lt;/a&gt;, Noel points the way by mentioning the &lt;a href=&#34;https://github.com/kemia/kemia&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;kemia&lt;/a&gt; project, a javascript chemistry library that aims to be &amp;ldquo;the world’s first open source, 100% javascript chemistry toolkit.&amp;rdquo; The rest of this post is how I used kemia, ChemDoodle, and clojurescript to make pure-browser smiles-to-canvas widget.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
