<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for reborg</title><link>http://disqus.com/by/reborg/</link><description></description><atom:link href="http://disqus.com/reborg/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 03 Jan 2019 16:41:23 -0000</lastBuildDate><item><title>Re: Lazy sequences are not compatible with dynamic scope</title><link>https://blog.klipse.tech//clojure/2018/12/25/dynamic-scope-clojure.html#comment-4268285085</link><description>&lt;p&gt;Sorry for the confusion. The wrongly written macro (the one without syntax quoting) just simulates the behaviour inside "fn" for explanation only. Maybe worth focusing on the fact that &lt;code&gt;(def s (binding [*my-value* 1] (map (constantly *my-value*) [1 2 3])))&lt;/code&gt; works as expected. Looks like laziness is working properly provided there isn't a context where *my-value* is evaluating at macro expansion time.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Thu, 03 Jan 2019 16:41:23 -0000</pubDate></item><item><title>Re: Lazy sequences are not compatible with dynamic scope</title><link>https://blog.klipse.tech//clojure/2018/12/25/dynamic-scope-clojure.html#comment-4267354467</link><description>&lt;p&gt;Mmmh, no, that's not related to lazyseqs. Or better, tangentially related. What you see here has to do with dereferencing vars at macro expansion VS execution time. "bound-fn" works by accident, you could just use "constantly" ("bound-fn" has a different goal: it copies dynamically bound values from a thread to another but there is no new thread here). The following reproduces the same effect:&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;br&gt;(def ^:dynamic *my-value* 42)&lt;br&gt;(defmacro get-my-value [] *my-value*)&lt;br&gt;(binding [*my-value* 1] (get-my-value))&lt;br&gt;;; 42&lt;br&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;You can check what's going on by macroexpanding:&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;br&gt;(require 'clojure.walk)&lt;br&gt;(pprint (clojure.walk/macroexpand-all '(binding [*my-value* 1] (get-my-value))))&lt;br&gt;(let* []&lt;br&gt;  (clojure.core/push-thread-bindings&lt;br&gt;  (clojure.core/hash-map #'*my-value* 1))&lt;br&gt;  (try 42 (finally (clojure.core/pop-thread-bindings))))&lt;br&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;"fn" is "macro-like" and is doing that trick in your example (you won't be able to macroexpand fn/fn* because they are special forms). "mapv" or "doall" forces evaluation after "binding" has been macroexpanded (and the var gets the new local binding).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Thu, 03 Jan 2019 05:44:37 -0000</pubDate></item><item><title>Re: 
        Building ETL pipelines with Clojure and transducers
        
      </title><link>https://tech.grammarly.com/blog/building-etl-pipelines-with-clojure#comment-3505517920</link><description>&lt;p&gt;(r/fold (constantly nil)&lt;br&gt;  ((comp (mapcat parse-json-file-reducible)&lt;br&gt;  (filter valid-entry?)&lt;br&gt;  (keep transform-entry-if-relevant)&lt;br&gt;  (partition-all 1000)&lt;br&gt;  (map save-into-database)) (constantly nil)) coll)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Wed, 06 Sep 2017 18:30:04 -0000</pubDate></item><item><title>Re: Beyond Clojure: Prelude </title><link>http://martintrojer.github.io/beyond-clojure/2016/04/19/beyond-clojure-prelude#comment-2631484817</link><description>&lt;p&gt;Martin,&lt;/p&gt;&lt;p&gt;I respect your opinion and I'm happy to see you searching somewhere else, especially if what you're missing is caring about software. But (I'm pretty sure you thought this already) there's no silver bullet. I suppose what keeps you motivated is the most important thing at the end of the day.&lt;/p&gt;&lt;p&gt;As of the criticisms in your post, they are all good points and I'll be waiting for a similar post as soon as you have a couple years of ML-style typing under the belt :) What I wouldn't like instead (not your case) are people trying to do Haskell in Clojure. Using ideas from other languages is refreshing and inspiring (see the Racket type system for example) but trying to abuse a Lisp to write into something else is non-sense. In other words, I would fail the build big time if "grep -i monad file.clj" exits with a non-zero code! :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Tue, 19 Apr 2016 09:05:11 -0000</pubDate></item><item><title>Re: Clojure Weekly, Dec 3rd, 2014</title><link>http://reborg.tumblr.com/post/104277674313#comment-1725026530</link><description>&lt;p&gt;Right, saw the thread on Clojure ML. Good idea though, will give it a go and report back next issue. Cheers.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Thu, 04 Dec 2014 02:02:07 -0000</pubDate></item><item><title>Re: Clojure Weekly, July 9th, 2014</title><link>http://reborg.tumblr.com/post/91249017068#comment-1476503968</link><description>&lt;p&gt;Thanks, I was confused by that and forgot the previous issue.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Wed, 09 Jul 2014 10:59:24 -0000</pubDate></item><item><title>Re: Clojure Weekly, Jun 12th, 2014</title><link>http://reborg.tumblr.com/post/88567508643#comment-1432074745</link><description>&lt;p&gt;Wow, dynamically generated class diagram :) Thanks, will definitely use.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Thu, 12 Jun 2014 10:46:28 -0000</pubDate></item><item><title>Re: Clojure Weekly, April 1st, 2014</title><link>http://reborg.tumblr.com/post/81390746304#comment-1314552896</link><description>&lt;p&gt;Thanks Alex for the clarification. I'm always amazed by how many useful things I don't know about clojure.core&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Wed, 02 Apr 2014 03:38:26 -0000</pubDate></item><item><title>Re: Clojure Weekly, March 11th, 2014</title><link>http://reborg.tumblr.com/post/79259822801#comment-1281207872</link><description>&lt;p&gt;Will check that out too, thanks. The reason I'm linking that initial version of Jscheme is because it is directly linked from the dotLisp notes as the project starting point and dotLisp is cited a few times as the precursor of Clojure in terms of a Lisp running on an hosting VM (CLR in that case).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Wed, 12 Mar 2014 07:34:43 -0000</pubDate></item><item><title>Re: Clojure Weekly, Feb 19th, 2014</title><link>http://reborg.tumblr.com/post/77162448510#comment-1251393818</link><description>&lt;p&gt;Oh I see, it was so full of 8th Light pointers that I got confused. I suppose at least you work together :)&lt;/p&gt;&lt;p&gt;Anyway, going to edit the post and give credit to Steven. Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Wed, 19 Feb 2014 07:39:21 -0000</pubDate></item><item><title>Re: Clojure Weekly, Oct 17th, 2013</title><link>http://reborg.tumblr.com/post/64292076005#comment-1086829368</link><description>&lt;p&gt;Thanks for your comment Martin, good to hear it was a good conference, as expected (although what is linked here are blog posts and not tweets). I have recurring evidence though (from other conferences and user groups in the London Clojure community) of criticism toward TDD practitioners and vim users. For example: people declaring they created tests for their solution often generate a smile or two at the London Clojure dojos (ask Bruce). I have personally received negative feedback for using vim during a recent gig at &lt;a href="http://Likely.co" rel="nofollow noopener" target="_blank" title="Likely.co"&gt;Likely.co&lt;/a&gt; (London based Clojure shop). Yes, my experience is not necessarily the community. Still, I'd love to see diversity encouraged and not isolated.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Fri, 18 Oct 2013 04:14:49 -0000</pubDate></item><item><title>Re: Clojure Weekly, April 30th, 2013</title><link>http://reborg.tumblr.com/post/49266921295#comment-880727557</link><description>&lt;p&gt;Thanks, fixed.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Tue, 30 Apr 2013 16:14:05 -0000</pubDate></item><item><title>Re: Clojure weekly, Jan 28th, 2013</title><link>http://reborg.tumblr.com/post/41707324274#comment-783020984</link><description>&lt;p&gt;Thank you, good thoughts. That sounds like a good model to apply based on your corporate/team mindset. So I would say that if your team usually goes beyond the pure "getting the work done" showing general interest for new technologies or craftsmanship in software, you can pick Scala and be reasonably sure that when the "idiomatic jump" is required your team should be able to react. Of course Clojure should be a success in that context anyway. But if you pick Scala in a context where people are generally lazy and not interested in improving their skills, you'll probably end up with non-idiomatic Scala written the ugly Java way.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Wed, 30 Jan 2013 05:19:35 -0000</pubDate></item><item><title>Re: Clojure weekly, Jan 28th, 2013</title><link>http://reborg.tumblr.com/post/41707324274#comment-781978285</link><description>&lt;p&gt;Since he's working at the Guardian, I assume is now working close to 100% in Scala, but I think he just recently joined. I can't make comparisons as well, since I never written a single line of Scala. But while I was kind of convinced by the argument that you can gradually learn FP using Scala, I'm less convinced now that this is a valid statement. The learning curve is definitely steeper if you come from an imperative language, but not steep enough to justify the adoption of an hybrid approach which assumes you're also going to take responsibility over the next phase: "now let's try to be more functional".  It ain't gonna happen. Thoughts?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Tue, 29 Jan 2013 09:38:15 -0000</pubDate></item><item><title>Re: Clojure weekly Aug 09-16&amp;#160;2012</title><link>http://reborg.tumblr.com/post/29473150827#comment-620195997</link><description>&lt;p&gt;Thanks for the doco pointer! As for the standard clojure-datalog dialect: I agree the underlying implementations are different and it's healthy to have multiple of them. It might be a good idea though to let the end user always use the same datalog-like syntax and switch the implementation as they like.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Wed, 15 Aug 2012 13:10:00 -0000</pubDate></item><item><title>Re: Clojure weekly Aug 2-9&amp;#160;2012</title><link>http://reborg.tumblr.com/post/29043727718#comment-615247451</link><description>&lt;p&gt;Of course &lt;a href="http://reborg.tumblr.com/tagged/clojure" rel="nofollow noopener" target="_blank" title="http://reborg.tumblr.com/tagged/clojure"&gt;http://reborg.tumblr.com/ta...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Fri, 10 Aug 2012 01:09:45 -0000</pubDate></item><item><title>Re: Tomatoes</title><link>http://reborg.tumblr.com/post/51570675#comment-64595862</link><description>&lt;p&gt;Hey Scott, sorry for the late reply. I don't use a specific tool, but just a syntax highlighter for vim based on the TaskPaper format (&lt;a href="http://www.hogbaysoftware.com/products/taskpaper)" rel="nofollow noopener" target="_blank" title="http://www.hogbaysoftware.com/products/taskpaper)"&gt;http://www.hogbaysoftware.c...&lt;/a&gt;. What I like about TaskPaper is exactly the fact that it's a format specification like markdown is for HTML for example. You can then open your todo list with all the tools supporting the format. Inside VIM for example, the TaskPaper plugin add a few keyboard shortcuts to handle the todo list effectively. The "official" software from the link above is another nice graphical interface to the same format.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Tue, 27 Jul 2010 06:37:10 -0000</pubDate></item><item><title>Re: http://reborg.tumblr.com/post/502805437</title><link>http://reborg.tumblr.com/post/502805437#comment-43640714</link><description>&lt;p&gt;Totally agree. &amp;gt;90% won't get it or not interested and you shouldn't waste time trying to convincing them if they don't want to listen. That said, if your work is quality work and it's consistent over time, the fact that the PT is behind the success could start attracting some interest.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Wed, 07 Apr 2010 08:20:30 -0000</pubDate></item><item><title>Re: MacRuby CoreData Tutorial</title><link>http://reborg.tumblr.com/post/263347770#comment-27331668</link><description>&lt;p&gt;Update: fixed fetch error variable name&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Sun, 27 Dec 2009 09:34:56 -0000</pubDate></item><item><title>Re: MacRuby CoreData Tutorial</title><link>http://reborg.tumblr.com/post/263347770#comment-25269484</link><description>&lt;p&gt;Update: removed static variables and fixed only-once initialization problem&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Wed, 09 Dec 2009 05:46:42 -0000</pubDate></item><item><title>Re: Pomodori</title><link>http://reborg.github.com/pomodori/#comment-23600948</link><description>&lt;p&gt;Hey Dan, thanks for the support. I still see a few weeks ahead of me mainly because I work on this a few hours a day. I'm the first to be frustrated because I had to switch to SL and I lost my tool. I know this is not a solution but for now maybe consider to use another neat tool out there: &lt;a href="http://pomodoro.ugolandini.com/" rel="nofollow noopener" target="_blank" title="http://pomodoro.ugolandini.com/"&gt;http://pomodoro.ugolandini....&lt;/a&gt; which is not far from Pomodori. Damn, I'm sending customers away! :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Fri, 20 Nov 2009 00:48:12 -0000</pubDate></item><item><title>Re: Pomodori</title><link>http://reborg.github.com/pomodori/#comment-23328988</link><description>&lt;p&gt;Thanks Paolo!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Tue, 17 Nov 2009 04:04:11 -0000</pubDate></item><item><title>Re: Life Lesson From CouchDB</title><link>http://reborg.tumblr.com/post/153047022#comment-15442626</link><description>&lt;p&gt;Totally agree, I was not negating the existence of creative and artistic power in programming. I was thinking more from an average perspective. And while a few years ago something like software craftsmanship was not even mentioned, today is clear that programming is a discipline and as such there are practices. Creativity is always involved, it's just more structured than the past. At least, IMHO. Thanks for your experience report.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Wed, 26 Aug 2009 18:51:47 -0000</pubDate></item><item><title>Re: Back From The Diet</title><link>http://reborg.tumblr.com/post/148119402#comment-13306200</link><description>&lt;p&gt;Hey Trevor, I just went through the post, with a mix of people saying "oh no!" and others saying "go for it!". It seems to depend mostly on the mood and what you're doing at that time of your life. Mine is just one of those experiences, but I had to try myself. Good luck for your next media vacation!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Sat, 25 Jul 2009 02:48:27 -0000</pubDate></item><item><title>Re: Webrat with RSpec, no Cucumber</title><link>http://reborg.tumblr.com/post/99813407#comment-12998940</link><description>&lt;p&gt;Not sure, but I suspect you need to add a mapping: &lt;a href="http://blog.davidchelimsky.net/2008/01/15/rspec-1-1-2-and-zentest-3-8-0" rel="nofollow noopener" target="_blank" title="http://blog.davidchelimsky.net/2008/01/15/rspec-1-1-2-and-zentest-3-8-0"&gt;http://blog.davidchelimsky....&lt;/a&gt; &lt;br&gt;I'll try in the following days but if you find a solution before please let me know. Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reborg</dc:creator><pubDate>Tue, 21 Jul 2009 11:12:25 -0000</pubDate></item></channel></rss>