<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Damien's Mind - Latest Comments</title><link>http://damiensmind.disqus.com/</link><description></description><atom:link href="https://damiensmind.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 24 Jul 2012 22:16:28 -0000</lastBuildDate><item><title>Re: The Empathetic Mindset</title><link>http://damienh.org/2011/08/07/the-empathetic-mindset/#comment-596982218</link><description>&lt;p&gt;Yeah being empathetic is great, very great, it also helps understand and be nice to other people, but that mindset is hard to get :(&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hai Thanh Nguyen</dc:creator><pubDate>Tue, 24 Jul 2012 22:16:28 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-335908733</link><description>&lt;p&gt;In your build target, you need to exclude all the files whose names contain "YAJL".If you're using Xcode 4, this should be accessible in your target's Build Phases, under "Compile Sources".&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Walid</dc:creator><pubDate>Sun, 16 Oct 2011 04:37:35 -0000</pubDate></item><item><title>Re: reboot</title><link>http://damienh.org/2011/08/01/reboot/#comment-278035368</link><description>&lt;p&gt;最近好多的blog都reborn了。。。&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Parala</dc:creator><pubDate>Thu, 04 Aug 2011 21:40:53 -0000</pubDate></item><item><title>Re: 我最常用的XCode快捷键</title><link>http://damienh.org/2009/04/12/%e6%88%91%e6%9c%80%e5%b8%b8%e7%94%a8%e7%9a%84xcode%e5%bf%ab%e6%8d%b7%e9%94%ae/#comment-243464267</link><description>&lt;p&gt;相当好,找的就是你&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rct1985</dc:creator><pubDate>Tue, 05 Jul 2011 23:48:51 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-169983319</link><description>&lt;p&gt;Nathan, did you end up solving this issue?  I have exactly the same problem.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Johnny Rambo</dc:creator><pubDate>Wed, 23 Mar 2011 02:54:22 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-140885829</link><description>&lt;p&gt;What you should probably do is ./configure &amp;amp;&amp;amp; sudo make install&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adamgf</dc:creator><pubDate>Fri, 04 Feb 2011 17:59:10 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-127910045</link><description>&lt;p&gt;Pure win. Thank you so much!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Grateful</dc:creator><pubDate>Tue, 11 Jan 2011 20:56:13 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-94241193</link><description>&lt;p&gt;I've read below people are getting errors when running sudo ./configure &amp;amp;&amp;amp; make install&lt;/p&gt;&lt;p&gt;This may cause issues so try this instead: sudo ./configure &amp;amp;&amp;amp; sudo make install&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thinksecret</dc:creator><pubDate>Fri, 05 Nov 2010 14:08:39 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-81891042</link><description>&lt;p&gt;Hey Damien - I've been working through issue after issue with MGTwitter and then stumbled across your blog.  Great post and it got me from 23 errors (which I had already got down from 163) to 5.  However, after implementing the hack in your final step, it throws the final set of errors pasted below - they all seem to reference the same initWithJSON method.&lt;/p&gt;&lt;p&gt;1) _yajl_alloc referenced from...&lt;br&gt;2) _yajl_free_error referenced from...&lt;br&gt;3) _yajl_parse referenced from...&lt;br&gt;4) _yajl_get_error referenced from...&lt;br&gt;5) _yajl_free referenced from...&lt;/p&gt;&lt;p&gt;...initWithJSON:theJSON delegate:theDelegate &lt;br&gt;    connectionIdentifier:theIdentifier requestType:reqType &lt;br&gt;    responseType:theURL&lt;br&gt;    deliveryOptions:theDeliveryOptions&lt;/p&gt;&lt;p&gt;located in MGTwitterYAJLParser.m&lt;/p&gt;&lt;p&gt;Any help would be REALLY appreciated!!&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nathan H Jones</dc:creator><pubDate>Wed, 29 Sep 2010 00:55:44 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-67866548</link><description>&lt;p&gt;Its great ......&lt;br&gt;i like it &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mailtosubrat</dc:creator><pubDate>Wed, 11 Aug 2010 08:06:18 -0000</pubDate></item><item><title>Re: LinkStation改装攻略备忘 svn + 动态域名</title><link>http://damienh.org/2007/11/03/linkstation%e6%94%b9%e8%a3%85%e6%94%bb%e7%95%a5%e5%a4%87%e5%bf%98-svn-%e5%8a%a8%e6%80%81%e5%9f%9f%e5%90%8d/#comment-65962117</link><description>&lt;p&gt;简单网购之家源码下载！&lt;br&gt;功能向大家介绍如下：&lt;br&gt;1、网站后台增加返现和非返现的开关，不想做返现的可以关闭返现功能&lt;br&gt;2、如果做返现站的朋友还可以设置注册赠送金&lt;br&gt;3、后台可以设置缓存存活时间&lt;br&gt;4、实现淘客商品伪静态URL自定义&lt;br&gt;比如列表可以设置为：&lt;br&gt;&lt;a href="http://www.95buy.cn/list-16-1.html" rel="nofollow noopener" target="_blank" title="http://www.95buy.cn/list-16-1.html"&gt;http://www.95buy.cn/list-16...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;商品可页可以设置为：&lt;br&gt;&lt;a href="http://www.95buy.cn/item-4851831822-1.html" rel="nofollow noopener" target="_blank" title="http://www.95buy.cn/item-4851831822-1.html"&gt;http://www.95buy.cn/item-48...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;5、后台设置实现缓存，减小数据库压力&lt;br&gt;6、增加数据库备份和恢复功能，让网站搬家变得更加方便&lt;br&gt;7、完善了广告管理功能&lt;br&gt;8、增加文章管理功能&lt;br&gt;9、文章发布输入文章的相关的关键字，文章周围自动调出相关商品，增加商品的暴光率和提高成交量&lt;br&gt;10、同时还可以使用S8直接到达淘宝搜索页面搜索相关的商品&lt;/p&gt;&lt;p&gt;下载地址1：&lt;a href="http://shareflare.net/download/17252.17c829fd691ae65f838e043fc/2taoke_v2.0.RAR.html" rel="nofollow noopener" target="_blank" title="http://shareflare.net/download/17252.17c829fd691ae65f838e043fc/2taoke_v2.0.RAR.html"&gt;http://shareflare.net/downl...&lt;/a&gt;&lt;br&gt;下载地址2：&lt;a href="http://www.95buy.cn/taoke-api.rar.htm" rel="nofollow noopener" target="_blank" title="http://www.95buy.cn/taoke-api.rar.htm"&gt;http://www.95buy.cn/taoke-a...&lt;/a&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">www.anly.info</dc:creator><pubDate>Tue, 03 Aug 2010 22:36:35 -0000</pubDate></item><item><title>Re: 如何在Django+Nginx fcgi方式下不间断服务地部署新代码</title><link>http://damienh.org/2008/12/22/%e5%a6%82%e4%bd%95%e5%9c%a8djangonginx-fcgi%e6%96%b9%e5%bc%8f%e4%b8%8b%e4%b8%8d%e9%97%b4%e6%96%ad%e6%9c%8d%e5%8a%a1%e5%9c%b0%e9%83%a8%e7%bd%b2%e6%96%b0%e4%bb%a3%e7%a0%81/#comment-51021131</link><description>&lt;p&gt;can you tell me how to do this?&lt;br&gt;   1. 更新python代码&lt;br&gt;   2. 在另一个端口spawn一组新的fcgi进程&lt;br&gt;   3. 更改Nginx配置，把proxy_pass转发端口指向新fcgi进程的端口&lt;br&gt;   4. 动态重载Nginx配置&lt;br&gt;   5. 过一段时间等到原fcgi端口不再有未完成的用户请求，再把原端口上的进程全部杀掉&lt;br&gt;thank you&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">duzuyong</dc:creator><pubDate>Wed, 19 May 2010 05:28:44 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-45780130</link><description>&lt;p&gt;I had following errors&lt;br&gt;".obj_class_name_MGTwitterMessagesYAJLParser", referenced from literal-point@_OBJC@__cls_refs@MGTwitterMessagesYAJLParse in MGTwitterEngine.o&lt;/p&gt;&lt;p&gt;I add already the libYAJLIPhone.a static lib to Frameworks.&lt;/p&gt;&lt;p&gt;What's wrong??&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">threadpool</dc:creator><pubDate>Wed, 21 Apr 2010 01:49:29 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-45119838</link><description>&lt;p&gt;Thank you so much ! &lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gonzo Oin</dc:creator><pubDate>Fri, 16 Apr 2010 05:27:09 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-43474870</link><description>&lt;p&gt;HI Guys&lt;br&gt;      i have set header search path and i see files are there in /usr/local/include/yajl but still it give error yajl/yajl_parser.h no file or directory found.&lt;br&gt;i have changed it to just yajl_parser.h but no success. can any body help what i am still missing. &lt;br&gt;Regards&lt;br&gt;kanyal&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kanyal</dc:creator><pubDate>Tue, 06 Apr 2010 08:17:36 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-40563280</link><description>&lt;p&gt;ok. i hated you at first for suggesting I through with all of this but now I love you because it works. :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sean808080</dc:creator><pubDate>Fri, 19 Mar 2010 12:55:56 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-35212164</link><description>&lt;p&gt;Thank you so so so so so so so so * 100 You saved my brain! :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JeDongHyun</dc:creator><pubDate>Thu, 18 Feb 2010 22:16:33 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-28778800</link><description>&lt;p&gt;Adding /usr/local/include/yajl to the “Header Search Paths” property didn't work for me. Compiling still gave the error 'yajl/yajl_parse.h: No such file or directory'.&lt;/p&gt;&lt;p&gt;My solution to the failed yajl header include was the following:&lt;/p&gt;&lt;p&gt;Instead of adding /usr/local/include/yajl to Xcode's "Header Search Paths" property, I just added /usr/local/include&lt;br&gt;BINGO.. problem solved.&lt;/p&gt;&lt;p&gt;shawn&lt;/p&gt;&lt;p&gt;p.s. My compile was failing with the message 'yajl/yajl_parse.h: No such file or directory' and yet /usr/local/yajl/yajl_parse.h WAS present (and readable) and the Header Search Path *did* specify /usr/local/include/yajl.&lt;/p&gt;&lt;p&gt;When I ran 'sudo dtrace -s /dev/stdin | grep yajl'&lt;br&gt;and then typed:&lt;/p&gt;&lt;p&gt;syscall::open*:entry&lt;br&gt;{&lt;br&gt;   printf("%s %s", execname, copyinstr(arg0));&lt;br&gt;}&lt;/p&gt;&lt;p&gt;followed by Enter &lt;br&gt;followed by Control-D&lt;br&gt;followed by recompiling in Xcode... (oof!)&lt;/p&gt;&lt;p&gt;I saw that Xcode was trying to open /usr/local/include/yajl/yajl/yajl_parse.h.&lt;br&gt;So I just removed the extra yajl in the "Header Search Path".&lt;/p&gt;&lt;p&gt;BUT SURELY THIS SHOULDN'T BE NECESSARY`?!&lt;br&gt;CAN ANYONE COMMENT?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shawn KOPPENHOEFER - MacAdmin</dc:creator><pubDate>Thu, 07 Jan 2010 10:04:37 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-24865063</link><description>&lt;p&gt;Thanks so much for this article. After going through it and, I'll admit, encountering a whole lot of errors, mostly as a result of my unfamiliarity with Obj-C, JSON, XML and the SDK, it finally works!&lt;/p&gt;&lt;p&gt;In my case, I had to put in "/usr/local/include/" (without the 'yajl' sub-directory) as a Header Search Path to get it to work. Wouldn't see the file otherwise. (This took a while for me to figure out :P)&lt;/p&gt;&lt;p&gt;A tip with adding the libxml2.dylib framework to the project:&lt;br&gt;Instead of using Finder and dragging it in, you can also command-click Resources › Add › Existing Frameworks, and chose libxml2.dylib&lt;/p&gt;&lt;p&gt;I could previously only find "libxml2.2.dylib", and this doesn't seem to work very well.&lt;/p&gt;&lt;p&gt;谢谢给这篇真好的文章！&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Parimal Satyal</dc:creator><pubDate>Sat, 05 Dec 2009 01:21:56 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-24386476</link><description>&lt;p&gt;Thanks for this tip!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dev</dc:creator><pubDate>Mon, 30 Nov 2009 20:57:15 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-17759096</link><description>&lt;p&gt;I've followed your instructions and now when I compile, I get this...&lt;/p&gt;&lt;p&gt;Library not found for -lyajl&lt;/p&gt;&lt;p&gt;Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1&lt;/p&gt;&lt;p&gt;Can't find anything on the Internet to help me out.  I'd really like to use this but it has been an absolute nightmare getting started with it...&lt;/p&gt;&lt;p&gt;Any ideas?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joseph_carney</dc:creator><pubDate>Tue, 29 Sep 2009 01:42:51 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-16073948</link><description>&lt;p&gt;I've followed your suggestions above, but regardless of which search path I add it still won't compile. I still get an error about it can't find "yajl_parse.h" and 28 other dependant errors. Questions: I'm new to Mac so exactly where is /user/local/ on my drive? When I Go To Folder in the finder it says that folder doesn't exist. Do I need to add the yajl files any place physically, or just add the framework via the .a file? Do I need to add the class files in that folder to my classes? Many thanks in advance!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">intomo</dc:creator><pubDate>Sun, 06 Sep 2009 16:55:42 -0000</pubDate></item><item><title>Re: Icecodez for iPhone</title><link>http://damienh.org/2009/08/09/icecodez-for-iphone/#comment-15970635</link><description>&lt;p&gt;Nice!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bigfatsea</dc:creator><pubDate>Fri, 04 Sep 2009 09:07:41 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-15242421</link><description>&lt;p&gt;instead of doing:&lt;/p&gt;&lt;p&gt;sudo ./configure &amp;amp;&amp;amp; make install&lt;/p&gt;&lt;p&gt;break it up into two commands:&lt;/p&gt;&lt;p&gt;sudo ./configure&lt;br&gt;sudo make install&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mowglii</dc:creator><pubDate>Sat, 22 Aug 2009 17:21:36 -0000</pubDate></item><item><title>Re: Setting up MGTwitterEngine with YAJL 1.0.6 for iPhone development</title><link>http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/#comment-14602594</link><description>&lt;p&gt;I decided to do what gabriel did on yajl-objc, which is by including all of the yajl source code in the project, instead relying on that static library, because I also need this for iPhone OS 2.x.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guest</dc:creator><pubDate>Mon, 10 Aug 2009 19:05:14 -0000</pubDate></item></channel></rss>