<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>HumanCoder - Latest Comments</title><link>http://humancoder.disqus.com/</link><description></description><atom:link href="https://humancoder.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 12 Oct 2012 04:44:40 -0000</lastBuildDate><item><title>Re: A zope.component introduction &amp;#8211; Part 2</title><link>http://blog.hiresasha.net/zope-component-introduction-part-2/#comment-679634810</link><description>&lt;p&gt;Interesting, I'm working with Zope and still don't know why I need it, it's imposed by the direction, waiting for your next tutorial!&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nam</dc:creator><pubDate>Fri, 12 Oct 2012 04:44:40 -0000</pubDate></item><item><title>Re: Fabric pygments lexer</title><link>http://blog.hiresasha.net/fabric-pygments-lexer/#comment-596161284</link><description>&lt;p&gt;Nice post !&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Antoine</dc:creator><pubDate>Tue, 24 Jul 2012 04:14:33 -0000</pubDate></item><item><title>Re: Go pathfinding</title><link>http://blog.hiresasha.net/go-pathfinding/#comment-402799578</link><description>&lt;p&gt;I never thought googling "golang pathfinding" would work.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zippoxer</dc:creator><pubDate>Fri, 06 Jan 2012 15:35:02 -0000</pubDate></item><item><title>Re: Make your own Wikipedia dictionaries for Kindle</title><link>http://blog.hiresasha.net/wikipedia-dictionaries-on-kindle/#comment-340339241</link><description>&lt;p&gt;Great idea! Could you do one for the IT subject?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Isopor</dc:creator><pubDate>Thu, 20 Oct 2011 21:36:02 -0000</pubDate></item><item><title>Re: Go pathfinding</title><link>http://blog.hiresasha.net/go-pathfinding/#comment-338951370</link><description>&lt;p&gt;You're right Chris, I did verify this and the maps are extending once I assign new values, I guess I misunderstood how 'make' really works and how builtins are allocated. However you do need make/new to initialize/allocate the map to be able to use it. I'll modify the post and the code once I have the time.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alexplugaru</dc:creator><pubDate>Wed, 19 Oct 2011 03:17:51 -0000</pubDate></item><item><title>Re: Go pathfinding</title><link>http://blog.hiresasha.net/go-pathfinding/#comment-338640853</link><description>&lt;p&gt;Why on earth are you resizing map? It resizes itself during runtime when you add new keys, even if you've specified an initial size. Simply using yourMap[newkey] = newData is more than sufficient. No need for make and no need for append.&lt;/p&gt;&lt;p&gt;Also, doing a linear scan of your closed list in O(n) time is silly. The map will give you expected (or perhaps guaranteed, I haven't looked to see if it does perfect hashing) O(1) time assuming you've come up with sensible unique keys for your nodes. Absolutely do not use slices for potentially large datasets you plan on searching through them.&lt;/p&gt;&lt;p&gt;Exchanging proper data structures for syntax is absurd. You absolutely need maps for a closed list because it can grow to enormous sizes and your pathfinder shouldn't wait all day just to verify that shiny new node n isn't a duplicate. Implement your scheme of astar for Vacuum Robots (Russel &amp;amp; Norvig's AIMA book) with a sufficient size world and you'll crash and burn.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris</dc:creator><pubDate>Tue, 18 Oct 2011 19:57:38 -0000</pubDate></item><item><title>Re: Go pathfinding</title><link>http://blog.hiresasha.net/go-pathfinding/#comment-292872888</link><description>&lt;p&gt;The copy builtin is very powerful, but I think your missing the point here. What if I have to perform some operations with val and then assign to s11? I'll still have to use make to allocate and them to loop over.&lt;/p&gt;&lt;p&gt;Btw I could have used append to copy like so:&lt;br&gt;&lt;code&gt;&lt;br&gt;var s11 []int&lt;br&gt;s11 := append(s11, s2...)&lt;br&gt;&lt;/code&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sasha</dc:creator><pubDate>Wed, 17 Aug 2011 01:09:41 -0000</pubDate></item><item><title>Re: Go pathfinding</title><link>http://blog.hiresasha.net/go-pathfinding/#comment-292872887</link><description>&lt;p&gt;After "s11 := make([]int, 5)" you can use "copy(s11, s2)" built-in function instead of looping. :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kahvi</dc:creator><pubDate>Tue, 16 Aug 2011 17:22:08 -0000</pubDate></item><item><title>Re: Make your own Wikipedia dictionaries for Kindle</title><link>http://blog.hiresasha.net/wikipedia-dictionaries-on-kindle/#comment-292872869</link><description>&lt;p&gt;I've put a link there buddy.. that's credit in my universe.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sasha</dc:creator><pubDate>Sun, 14 Aug 2011 16:44:23 -0000</pubDate></item><item><title>Re: Make your own Wikipedia dictionaries for Kindle</title><link>http://blog.hiresasha.net/wikipedia-dictionaries-on-kindle/#comment-292872867</link><description>&lt;p&gt;XKCD is licensed under &lt;a href="http://creativecommons.org/licenses/by-nc/2.5/" rel="nofollow noopener" target="_blank" title="http://creativecommons.org/licenses/by-nc/2.5/"&gt;http://creativecommons.org/...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Give credit where credit is due&lt;br&gt;&lt;a href="http://xkcd.com/license.html" rel="nofollow noopener" target="_blank" title="http://xkcd.com/license.html"&gt;http://xkcd.com/license.html&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anon</dc:creator><pubDate>Sun, 14 Aug 2011 16:38:26 -0000</pubDate></item><item><title>Re: Go and Python</title><link>http://blog.hiresasha.net/initial-thoughts-on-go/#comment-292872866</link><description>&lt;p&gt;gofix is much more effective than you might think, and it is able to do a much better job in a language that is statically typed and has a simpler syntax than Python, it can't handle *everything*, but the comparison with 2to3 is not fair either.&lt;/p&gt;&lt;p&gt;Also the APIs in the Go stdlib are much nicer, cleaner and more consistent than the tangled and often redundant mess in the Python stdlib, in part because they are not afraid to clean stuff up, if you leave old cruft alone, it just builds up and it becomes even harder to fix.&lt;/p&gt;&lt;p&gt;Ogle is on its way out, but a new debugger is in the roadmap, in the meantime gdb works well, and to be honest IMHO print() is always the best debugger.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Uriel</dc:creator><pubDate>Sun, 14 Aug 2011 10:20:56 -0000</pubDate></item><item><title>Re: Go and Python</title><link>http://blog.hiresasha.net/initial-thoughts-on-go/#comment-292872864</link><description>&lt;p&gt;gofix will not work in all cases. It's not obvious. How about new added parameters? Manual work is still required. Personally I didn't have a good feeling about 2to3 either. It can go wrong on so many levels.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sasha</dc:creator><pubDate>Sun, 14 Aug 2011 05:15:41 -0000</pubDate></item><item><title>Re: Go and Python</title><link>http://blog.hiresasha.net/initial-thoughts-on-go/#comment-292872862</link><description>&lt;p&gt;gofix?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">obvious</dc:creator><pubDate>Sun, 14 Aug 2011 04:51:44 -0000</pubDate></item><item><title>Re: Go and Python</title><link>http://blog.hiresasha.net/initial-thoughts-on-go/#comment-292872859</link><description>&lt;p&gt;As I stressed out, changing API often makes people nervous.. when you have a lot of code upgrading to a new golang version would be a real pain in the ass if the API changed in 50 different places. Again.. go is a young language so I guess it's better now or never right? I used gdb, but I want something like python's pdb. I guess ogle would be that.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sasha</dc:creator><pubDate>Sun, 14 Aug 2011 02:16:23 -0000</pubDate></item><item><title>Re: Go and Python</title><link>http://blog.hiresasha.net/initial-thoughts-on-go/#comment-292872858</link><description>&lt;p&gt;1. stabilizing APIs can be a terrible thing. Python has some real problems in it's standard library that have been there for decades but nobody want to break the API to fix them.&lt;/p&gt;&lt;p&gt;2. There is gdb support and the ogle debugger is on it's way at &lt;a href="http://golang.org/pkg/exp/ogle/" rel="nofollow noopener" target="_blank" title="http://golang.org/pkg/exp/ogle/"&gt;http://golang.org/pkg/exp/o...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;3. There was a proposed "bike/shed" package but too much discussion eventually lead to the proposal being dropped.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jesse McNelis</dc:creator><pubDate>Sat, 13 Aug 2011 22:49:59 -0000</pubDate></item><item><title>Re: Go pathfinding</title><link>http://blog.hiresasha.net/go-pathfinding/#comment-292872882</link><description>&lt;p&gt;Certainly! Take a look at the updated post.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sasha</dc:creator><pubDate>Sat, 06 Aug 2011 02:39:07 -0000</pubDate></item><item><title>Re: Go pathfinding</title><link>http://blog.hiresasha.net/go-pathfinding/#comment-292872881</link><description>&lt;p&gt;It would be helpful if you could explain how you arrived at the first two "lessons learned." Thanks. :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Patrick</dc:creator><pubDate>Fri, 05 Aug 2011 15:06:38 -0000</pubDate></item><item><title>Re: Make your own Wikipedia dictionaries for Kindle</title><link>http://blog.hiresasha.net/wikipedia-dictionaries-on-kindle/#comment-292872863</link><description>&lt;p&gt;Thanks! I'm glad you appreciate it! You can get your physics dictionary here: &lt;a href="http://blog.hiresasha.net/wp-content/uploads/dictionaries/physics.mobi" rel="nofollow noopener" target="_blank" title="http://blog.hiresasha.net/wp-content/uploads/dictionaries/physics.mobi"&gt;http://blog.hiresasha.net/w...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Enjoy!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sasha</dc:creator><pubDate>Fri, 05 Aug 2011 02:26:11 -0000</pubDate></item><item><title>Re: Make your own Wikipedia dictionaries for Kindle</title><link>http://blog.hiresasha.net/wikipedia-dictionaries-on-kindle/#comment-292872861</link><description>&lt;p&gt;That's really cool&lt;br&gt;I'd be greatly interested in the physics related wikipedia, so if you could put your version online onec it's finished that would be great:&lt;/p&gt;&lt;p&gt;I've been using an old german wikipedia version which is a single file of about 324 MB. (&lt;a href="http://www.axelschaefermdb.de/service/wikipedia/archiv.html)" rel="nofollow noopener" target="_blank" title="http://www.axelschaefermdb.de/service/wikipedia/archiv.html)"&gt;http://www.axelschaefermdb....&lt;/a&gt;&lt;br&gt;My kindle 2 occasionaly (or rarely) crashes when i use it- so this file size seems to be on the verge.&lt;/p&gt;&lt;p&gt;Back in the mobipocket days someone wrote a script to create a wikipedia from a html-dump. The files where split up into 40 mb pieces with an index file with hyperlinks- but the hyperlinks between the books don't work on the kindle (though I think generally they would be possible)&lt;br&gt;&lt;a href="http://fbo.no-ip.org/cgi-bin/twiki/view/Public/MobiPedia#Bugs_and_Un_nice_ities" rel="nofollow noopener" target="_blank" title="http://fbo.no-ip.org/cgi-bin/twiki/view/Public/MobiPedia#Bugs_and_Un_nice_ities"&gt;http://fbo.no-ip.org/cgi-bi...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;anyway, thanks a lot for this post&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">stehk</dc:creator><pubDate>Thu, 04 Aug 2011 20:47:20 -0000</pubDate></item></channel></rss>