<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Valkertown Blog - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-d749404b" type="application/json"/><link>http://valkertownblog.disqus.com/</link><description>Sometimes stuff about electronics, others about technology and software</description><language>en</language><lastBuildDate>Thu, 02 Jul 2009 12:28:35 -0000</lastBuildDate><item><title>Re: Setting up Redmine with archlinux</title><link>http://blog.valkertown.org/2008/12/21/setting_up_redmine_with_archlinux/#comment-12037412</link><description>There is a type, you repeated "sudo gem install mongrel" to install RoR, should be "sudo gem install rails"</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tokland</dc:creator><pubDate>Thu, 02 Jul 2009 12:28:35 -0000</pubDate></item><item><title>Re: GPS-Enfora</title><link>http://blog.valkertown.org/2006/07/27/gps-enfora/#comment-10931897</link><description>No funcionan los enlaces&lt;br&gt;&lt;br&gt;Set de comandos AT para el uso de GPS &lt;br&gt;TAIP Protocol</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luis</dc:creator><pubDate>Mon, 15 Jun 2009 11:01:26 -0000</pubDate></item><item><title>Re: Uzbl Browser</title><link>http://blog.valkertown.org/2009/06/09/uzbl_browser/#comment-10723072</link><description>Good, I'm going to corred the PID on the post.&lt;br&gt;&lt;br&gt;The patch needs work since the button it's hardcoded and I think it would be against the uzbl spirit of doing this stuff.&lt;br&gt;&lt;br&gt;I agree that the scripts render awfully on the blog, I'm going to move them there and link from here.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Wed, 10 Jun 2009 19:47:21 -0000</pubDate></item><item><title>Re: Uzbl Browser</title><link>http://blog.valkertown.org/2009/06/09/uzbl_browser/#comment-10694396</link><description>the number is actually the xorg window id, not the pid.  That's why it's the same everytime you launch a new instance and close it again. (unlike pid's which are only seldomly reused)&lt;br&gt;&lt;br&gt;Please mail your patch to the ML for (maybe) inclusion.&lt;br&gt;Also, we have a wiki for scripts/config sharing so you could post your stuff there.  Your scripts and configs are very hard to read on your blog.&lt;br&gt;&lt;br&gt;Anyway, glad you like it.&lt;br&gt;&lt;br&gt;Dieter</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dieter_be</dc:creator><pubDate>Wed, 10 Jun 2009 08:47:37 -0000</pubDate></item><item><title>Re: Setting up Redmine with archlinux</title><link>http://blog.valkertown.org/2008/12/21/setting_up_redmine_with_archlinux/#comment-8070719</link><description>Oh I'm sorry been way to busy doing some other random stuff but since you want it, I'm going to finish it, thank you for bringing this back to my mind#</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Fri, 10 Apr 2009 21:53:49 -0000</pubDate></item><item><title>Re: Setting up Redmine with archlinux</title><link>http://blog.valkertown.org/2008/12/21/setting_up_redmine_with_archlinux/#comment-8058565</link><description>Hi, any chance to continue posting the next steps?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">afriza</dc:creator><pubDate>Fri, 10 Apr 2009 14:05:02 -0000</pubDate></item><item><title>Re: Writting Circular Lists in Erlang</title><link>http://blog.valkertown.org/2009/03/18/writting_circular_lists_in_erlang/#comment-7573404</link><description>Thanks, I'll give it a try and do a benchmark to see if It's better to&lt;br&gt;the other solution in the above comments.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Fri, 27 Mar 2009 17:45:21 -0000</pubDate></item><item><title>Re: Writting Circular Lists in Erlang</title><link>http://blog.valkertown.org/2009/03/18/writting_circular_lists_in_erlang/#comment-7573160</link><description>keep two lists {A, B} one in normal order the other reversed&lt;br&gt;To move forward do this&lt;br&gt;&lt;br&gt;forward({[H|T],B}) -&amp;gt; {T, [H|B]};&lt;br&gt;forward({[], B}) -&amp;gt; forward({reverse(B),[]})&lt;br&gt;&lt;br&gt;bawards is the opposite</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nonme</dc:creator><pubDate>Fri, 27 Mar 2009 17:33:04 -0000</pubDate></item><item><title>Re: Writting Circular Lists in Erlang</title><link>http://blog.valkertown.org/2009/03/18/writting_circular_lists_in_erlang/#comment-7420870</link><description>yeah ++ is less efficient. [Push | drop_last(List)] would be better. That's what I get for coding when I'm tired. but the basic concept is the same.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zaphar</dc:creator><pubDate>Sun, 22 Mar 2009 17:53:49 -0000</pubDate></item><item><title>Re: Writting Circular Lists in Erlang</title><link>http://blog.valkertown.org/2009/03/18/writting_circular_lists_in_erlang/#comment-7363124</link><description>Nice, I'm just repeating what I have read so far but&lt;br&gt;&lt;br&gt; [Push] ++ drop_last(List)&lt;br&gt;&lt;br&gt;Wouldn't it be better written as:&lt;br&gt; &lt;br&gt; [ Push | drop_last(List)]&lt;br&gt;&lt;br&gt;Anyway, ++ is discouraged since it makes a copy of the left operator and with long lists it would be highly inefficient, in this case it wouldn't be much of a problem but I still like more how the second one looks.&lt;br&gt;&lt;br&gt;Thank you a lot for this idea, I'm guessing it's probably the best way to write it on erlang.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Thu, 19 Mar 2009 21:24:26 -0000</pubDate></item><item><title>Re: Writting Circular Lists in Erlang</title><link>http://blog.valkertown.org/2009/03/18/writting_circular_lists_in_erlang/#comment-7327546</link><description>The key is to process the list in one pass. So if I read your intent above correctly then the following should work:&lt;br&gt;&lt;br&gt;%% append the Push element to the beginning of the list while dropping the last element&lt;br&gt;circular(List, Push) -&amp;gt;&lt;br&gt;    [Push] ++ drop_last(List).&lt;br&gt;&lt;br&gt;%% drop the last element from the list&lt;br&gt;drop_last([_]) -&amp;gt;&lt;br&gt;    [];&lt;br&gt;drop_last([H|T]) -&amp;gt;&lt;br&gt;    [H | drop_last(T)].</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zaphar</dc:creator><pubDate>Wed, 18 Mar 2009 18:07:56 -0000</pubDate></item><item><title>Re: Emacs Denting mode for laconicas (incliding identi.ca)</title><link>http://blog.valkertown.org/2009/02/16/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6615310</link><description>Hello, I had the very same problem but Christian Cheng sent me a patch which solves the issue. I did my work without proper search first so I duplicated a lot of your efforts and I did a merge with your code few days ago so denting-mode has most of the features you did implement. I don't know if you updated the code recently but I will check again the diffs to merge your work in.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Wed, 25 Feb 2009 12:12:53 -0000</pubDate></item><item><title>Re: Emacs Denting mode for laconicas (incliding identi.ca)</title><link>http://blog.valkertown.org/2009/02/16/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6614913</link><description>hey, I just found out about denting-mode. I made my own port of twittering-mode called identica-mode a few months ago &lt;a href="http://blog.nethazard.net/identica-mode-for-emacs" rel="nofollow"&gt;http://blog.nethazard.net/identica-mode-for-emacs&lt;/a&gt;  I've added support for tags and groups and a global posting shortcut, maybe you can find it useful.&lt;br&gt;&lt;br&gt;I'm having the same trouble with the xml parsing thing. Have you been able to fix it? The problem is that when it fetches the feed, the xml has some weird char codes inside the xml tag, thus breaking the parsing. I reported this behavior to laconica developers, but they claim their feed is okay. Twitter's feed has no problems though.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabriel Saldana</dc:creator><pubDate>Wed, 25 Feb 2009 11:55:22 -0000</pubDate></item><item><title>Re: Pimp my Shell Parte 2</title><link>http://blog.valkertown.org/2005/12/21/pimp-my-shell-parte-2/#comment-6600758</link><description>delete3</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Wed, 25 Feb 2009 08:57:14 -0000</pubDate></item><item><title>Re: Emacs Denting mode for laconicas (incliding identi.ca)</title><link>http://blog.valkertown.org/2009/02/16/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6392483</link><description>Sorry for taking so long, well It's not so hard&lt;br&gt;&lt;br&gt;line 661 of current denting-mode.el&lt;br&gt;&lt;br&gt;648 (defun denting-http-post-default-sentinel (proc stat &amp;optional suc-msg)&lt;br&gt;649&lt;br&gt;650  (condition-case err-signal&lt;br&gt;651      (let ((header (denting-get-response-header))&lt;br&gt;652	    ;; (body (denting-get-response-body)) not used now.&lt;br&gt;653	    (status nil))&lt;br&gt;654	(string-match "HTTP/1\.1 \\([a-z0-9 ]+\\)\r?\n" header)&lt;br&gt;655	(setq status (match-string-no-properties 1 header))&lt;br&gt;656	(case-string status&lt;br&gt;657		     (("200 OK")&lt;br&gt;658		      (message (if suc-msg suc-msg "Success: Post")))&lt;br&gt;659		     (t (message status)))&lt;br&gt;660	)&lt;br&gt;661    (error (message (prin1-to-string err-signal))))&lt;br&gt;662  )&lt;br&gt;&lt;br&gt;You can replace it with:&lt;br&gt;&lt;br&gt; (error (message "Failed")))&lt;br&gt;&lt;br&gt;You will replace the annoying message for a brief "Failed" message, it will not solve the issue but at least will not bug you with the full error. I will keep the full error printing for now, since maybe I can do a proper fix of the problem.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Wed, 18 Feb 2009 23:16:56 -0000</pubDate></item><item><title>Re: Emacs Denting mode for laconicas (incliding identi.ca)</title><link>http://blog.valkertown.org/2009/02/16/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6377023</link><description>hey deepspawn, what do you mean by "shutting the hell out of it by capturing the error" -- sorry, not really a coder, don't quite get what you mean.  &lt;br&gt;not sure it'sthe api limit since it now seems to come up every time, not just occasionally.  though now i think of it, gwibber was up on this machine as well, will shut it down and try in a few minutes.  &lt;br&gt;&lt;br&gt;my wrapper funciton looks a lot like the one you built,  though yours is a little bit better.  thanks!  -- matt</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">titaniumbones</dc:creator><pubDate>Wed, 18 Feb 2009 12:16:10 -0000</pubDate></item><item><title>Re: Emacs Denting mode for laconicas (incliding identi.ca)</title><link>http://blog.valkertown.org/2009/02/16/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6376710</link><description>Yes I have the same problem, it's a bit annoying but totally harmless, it's just the xml parser failing from time to time to parse the laconica response. For a quick fix I only can think about shutting the hell out of it by capturing the error. On the proper way to solve the problem, it would require to figure out why the twitter/identica serves bad xml and correct it. My bets are on the api limit(so maybe just setting up the update interval to a larger number might fix it)&lt;br&gt;&lt;br&gt;Also you can avoid the wrapper function by using the identi.cas twitter bridge on your account settings. If you really want that function I think it would be something like this:&lt;br&gt;&lt;br&gt;(defun multi-update-status-from-minibuffer (&amp;optional init-str)&lt;br&gt;  (if (null init-str) (setq init-str ""))&lt;br&gt;  (let ((status init-str))&lt;br&gt;  (setq status (read-from-minibuffer "status: " status nil nil nil nil t))&lt;br&gt;  (denting-update-status-if-not-blank status)&lt;br&gt;  (twittering-update-status-if-not-blank status)))</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Wed, 18 Feb 2009 11:58:55 -0000</pubDate></item><item><title>Re: Emacs Denting mode for laconicas (incliding identi.ca)</title><link>http://blog.valkertown.org/2009/02/16/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6375747</link><description>Hi,&lt;br&gt;&lt;br&gt;thanks for this!  it's great to have a denting mode.  at first it worked great for me, but for some reaosn now i keep getting an xml error that i don't understand at all.  I tried twittering mode and do not get a similar error with them.  Here's the backtrace:&lt;br&gt;&lt;br&gt;Debugger entered--Lisp error: (error "XML: (Not Well-Formed) Invalid end tag (expecting in_reply_to_user_id) at pos 8365")&lt;br&gt;  signal(error ("XML: (Not Well-Formed) Invalid end tag (expecting in_reply_to_user_id) at pos 8365"))&lt;br&gt;  error("XML: (Not Well-Formed) Invalid end tag (expecting %s) at pos %d" "in_reply_to_user_id" 8365)&lt;br&gt;  xml-parse-tag(nil nil)&lt;br&gt;  xml-parse-tag(nil nil)&lt;br&gt;  xml-parse-tag(nil nil)&lt;br&gt;  xml-parse-tag(nil nil)&lt;br&gt;  xml-parse-region(350 16256)&lt;br&gt;  (let ((content ...)) (xml-parse-region (+ ... ...) (point-max)))&lt;br&gt;  (let ((content ...)) (let (...) (xml-parse-region ... ...)))&lt;br&gt;  (save-excursion (set-buffer buffer) (let (...) (let ... ...)))&lt;br&gt;  denting-get-response-body()&lt;br&gt;  (let ((header ...) (body ...) (status nil)) (if (string-match "HTTP/1.[01] \\([a-z0-9 ]+\\)&lt;br&gt;?\n" header) (progn ... ...) (message "Failure: Bad http response.")))&lt;br&gt;  denting-http-get-default-sentinel(#&amp;lt;process network-connection-process&amp;gt; "connection broken by remote peer\n")&lt;br&gt;  recursive-edit()&lt;br&gt;&lt;br&gt;&lt;br&gt;do you ever see anything like this, or have any debugging suggestions?  i'd just written a wrapper function that double-poststo twitter and identi.ca, so now i'm bummed it's not working!  thanks,&lt;br&gt;matt</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Price</dc:creator><pubDate>Wed, 18 Feb 2009 11:11:13 -0000</pubDate></item><item><title>Re: Simulador de Robot con chip ADN simulado</title><link>http://blog.valkertown.org/2006/12/09/simulador-de-robot-con-chip-adn-simulado/#comment-6203748</link><description>Muy interesante. Estaría bien que aportaras parte del código.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jiptohej</dc:creator><pubDate>Thu, 12 Feb 2009 06:25:48 -0000</pubDate></item><item><title>Re: Arreglando un robot de Planeta Linux para identi.ca</title><link>http://blog.valkertown.org/2008/12/08/arreglando_un_robot_de_planeta_linux_para_identica/#comment-4278264</link><description>Ehhh pues me hubiese gustado saberlo(invesitgado, realmente) antes, voy a agregar esto pronto, para que el programa me quede más organizado.&lt;br&gt;&lt;br&gt;Gracias!, aff no quedo como respuesta del otro comentario, tengo que aprender a usar este disqus</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Mon, 08 Dec 2008 19:59:13 -0000</pubDate></item><item><title>Re: Arreglando un robot de Planeta Linux para identi.ca</title><link>http://blog.valkertown.org/2008/12/08/arreglando_un_robot_de_planeta_linux_para_identica/#comment-4278104</link><description>Sin embargo, ten en cuenta que a FeedParser le puedes registrar handlers nuevos para fechas:&lt;br&gt;&lt;br&gt;&lt;a href="http://feedparser.org/docs/date-parsing.html#advanced.date.register" rel="nofollow"&gt;http://feedparser.org/docs/date-parsing.html#ad...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">damog</dc:creator><pubDate>Mon, 08 Dec 2008 19:50:11 -0000</pubDate></item><item><title>Re: Awesome-WM settings and workplace setup</title><link>http://blog.valkertown.org/2008/12/06/awesome-wm_settings_and_workplace_setup/#comment-4225001</link><description>Check again, I have it shared just below the screenshot ;)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Sat, 06 Dec 2008 12:32:09 -0000</pubDate></item><item><title>Re: Awesome-WM settings and workplace setup</title><link>http://blog.valkertown.org/2008/12/06/awesome-wm_settings_and_workplace_setup/#comment-4220389</link><description>nice shot, you should share your rc :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">yobageM</dc:creator><pubDate>Sat, 06 Dec 2008 02:42:46 -0000</pubDate></item><item><title>Re: Disqus comments now on Valkertown</title><link>http://blog.valkertown.org/2008/12/03/disqus_comments_now_on_valkertown/#comment-4164830</link><description>Well all my old comments that were imported wrongly to disqus will have to stay like that.&lt;br&gt;&lt;br&gt;If disqus could do a real deleteion of comments I could run import again and that should fix it. But even when they are deleted, disqus keeps them and when I try to import them again it doesn't update the posts or create new ones.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Thu, 04 Dec 2008 08:45:56 -0000</pubDate></item><item><title>Re: Disqus comments now on Valkertown</title><link>http://blog.valkertown.org/2008/12/03/disqus_comments_now_on_valkertown/#comment-4162732</link><description>Managed to fix it, now I have to see how disqus handles it since it first imported the wrongly encoded plugins and now it has to import the properly encoed. Will it create duplicates or will it update them properly.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Thu, 04 Dec 2008 02:51:36 -0000</pubDate></item></channel></rss>