<?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 inerte</title><link>http://disqus.com/by/inerte/</link><description></description><atom:link href="http://disqus.com/inerte/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 09 Dec 2019 14:48:50 -0000</lastBuildDate><item><title>Re: Ready for Launch! VTA’s All New Service December 28, 2019</title><link>https://www.vta.org/blog/ready-launch-vtas-all-new-service-december-28-2019#comment-4718398172</link><description>&lt;p&gt;I wish the Transit app or the website route planner feature is updated with the new changes. I am trying to plan a trip after 12/28 to see what my options will be and I am still getting 328 and 330 as if they will be in service.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Mon, 09 Dec 2019 14:48:50 -0000</pubDate></item><item><title>Re: The Best Electric Vehicle</title><link>http://thewirecutter.com/reviews/best-electric-vehicle/#comment-3608773827</link><description>&lt;p&gt;What about the Honda Clarity? Wasn't considered because its range is 89 miles, or only available in California? The car is cheap and has pretty nice standard features lke Honda Sensing...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Thu, 09 Nov 2017 17:37:43 -0000</pubDate></item><item><title>Re: Replace tabs by space on git history</title><link>http://www.inerciasensorial.com.br/2013/09/23/perils-of-software-development/replace-tabs-by-space-on-git-history/#comment-1148946426</link><description>&lt;p&gt;Sure, so here's what the command does:&lt;/p&gt;&lt;p&gt;"git filter-branch" rewrites git revision history. If you run only this command you'll see it going through every changeset to rewrite it. But since you did not told what to do, it does nothing.&lt;/p&gt;&lt;p&gt;This is the manual entry for --tree-filter:&lt;/p&gt;&lt;p&gt;"This is the filter for rewriting the tree and its contents. The argument is evaluated in shell with the working directory set to the root of the checked out tree. The new tree is then used as-is"&lt;/p&gt;&lt;p&gt;So what comes right after inside the quotes will be evaluated on shell. We feed "git diff-tree" with $GIT_COMMIT, that's the changeset from "git filter-branch"&lt;/p&gt;&lt;p&gt;Run only this command:&lt;/p&gt;&lt;p&gt;$ git diff-tree --name-only --diff-filter=AM -r --no-commit-id HEAD&lt;/p&gt;&lt;p&gt;It gets the file names, with their complete paths, from your last commit (actually from the HEAD, which is also probably your last commit).&lt;/p&gt;&lt;p&gt;And then, the output of "git diff-tree" is piped into "find", which executes perl to replace \t with " " (four spaces).&lt;/p&gt;&lt;p&gt;In other words, every changeset is passed to diff-tree, which uses find/perl to replace the tabs. But it does on the git changeset, not on the current files.&lt;/p&gt;&lt;p&gt;You're not supposed to run only the red part of the command :) It's an argument for "git filter-branch", so it executes on changesets.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Tue, 03 Dec 2013 12:30:57 -0000</pubDate></item><item><title>Re: Replace tabs by space on git history</title><link>http://www.inerciasensorial.com.br/2013/09/23/perils-of-software-development/replace-tabs-by-space-on-git-history/#comment-1148177085</link><description>&lt;p&gt;Hi Worried,&lt;/p&gt;&lt;p&gt;Yes, you're wrong. This code rewrites git history, not files in path.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Mon, 02 Dec 2013 22:05:32 -0000</pubDate></item><item><title>Re: Clojure script to parse IIS logs from a directory and show slowest pages</title><link>http://www.inerciasensorial.com.br/2011/09/21/programacao/clojure/clojure-script-to-parse-iis-logs-from-a-directory-and-show-slowest-pages/#comment-319153451</link><description>&lt;p&gt; Well observed Matt. The code grew organically and I left the redundant #() there. Thanks for noticing, it is updated now.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Sat, 24 Sep 2011 14:46:33 -0000</pubDate></item><item><title>Re: Crowd review a resume</title><link>http://www.inerciasensorial.com.br/2010/10/14/geral/crowd-review-a-resume/#comment-203004491</link><description>&lt;p&gt;Sobre o quê você está falando?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Fri, 13 May 2011 08:24:46 -0000</pubDate></item><item><title>Re: Paraquedas Boituva 06/06/2009</title><link>http://www.inerciasensorial.com.br/2009/06/14/32-dentes/imagem/paraquedas-boituva-06062009/#comment-64317575</link><description>&lt;p&gt;Saltamos! Curioso, não tinha reparado nisso, nem lembro como trataram no dia que saltei. Mas fica aí registrado então como é o certo, obrigado :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Mon, 26 Jul 2010 14:54:31 -0000</pubDate></item><item><title>Re: Pré-carregar imagem</title><link>http://www.inerciasensorial.com.br/2005/11/11/programacao/javascript/pre-carregar-imagem/#comment-22843075</link><description>&lt;p&gt;Oi Anderson! Sim, o script funciona. O navegador vai ter já "pego" a imagem, não precisando recarregá-la portanto. Certifique-se que as imagens estão sendo servidas com parâmetros corretos de cache (Etag e/ou Last-Modified) e elas serão abaixadas com antecedência da segunda requisição (para o background do css).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Thu, 12 Nov 2009 14:11:48 -0000</pubDate></item><item><title>Re: Pré-carregar imagem</title><link>http://www.inerciasensorial.com.br/2005/11/11/programacao/javascript/pre-carregar-imagem/#comment-14607657</link><description>&lt;p&gt;Oi Gustavo,&lt;/p&gt;&lt;p&gt;Se você está usando &amp;lt;img/&amp;gt; com src normal, sim, o navegador irá mostrar a imagem mesmo que não tenha conseguido pré carregá-la via script.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Mon, 10 Aug 2009 20:54:07 -0000</pubDate></item><item><title>Re: Substituir múltiplas linhas por apenas uma, em PHP</title><link>http://www.inerciasensorial.com.br/2009/05/27/programacao/php/substituir-multiplas-linhas-por-apenas-uma-em-php/#comment-11534805</link><description>&lt;p&gt;rs.. pula sim Amaral, e põe as fotos na internet também! Eu diria que não é preciso ter medo, pois é muito seguro, mas eu estaria mentindo pra você se eu não dissesse que eu parecia uma vara verde de bambu no meio de um tornado!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Sun, 21 Jun 2009 14:53:00 -0000</pubDate></item><item><title>Re: Pré-carregar imagem</title><link>http://www.inerciasensorial.com.br/2005/11/11/programacao/javascript/pre-carregar-imagem/#comment-11534757</link><description>&lt;p&gt;Oi Lucas, não sei direito se há uma maneira correta de pré-carregar vídeos. O conceito de pré-carregamento envolve requisitar o conteúdo antes dele ser utilizado, e assim como as imagens aqui, imagino que bastaria chamar o vídeo, mas lembre-se que se ele é um flv mostrado em um swf, é o swf que você deve pré-carregar.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Sun, 21 Jun 2009 14:49:23 -0000</pubDate></item><item><title>Re: How the fuck is trim in Python?</title><link>http://www.inerciasensorial.com.br/2009/01/22/geral/how-the-fuck-is-trim-in-python/#comment-5502643</link><description>&lt;p&gt;Heh, one of my previous posts (in portuguese) talks about how ideas are useless in business, what really counts are the processes and the implementation. Most likely any idea will morph several times before reaching a level that its users will enjoy.&lt;/p&gt;&lt;p&gt;On the other hand, rapid iteration and prototyping is really easy on the web. The seed is there, a simple tool telling you how to do something on a programming language based on what you know from another programming language.&lt;/p&gt;&lt;p&gt;I've said to Lucas (in a comment below) why I am not going to implement this website. I am not just "feeling lazy", but I have a couple projects that I am devoting my energy. Curiously, they're being written in Python. I had the HTFITIP idea a couple months ago, but never got around about getting serious to launch because I _think_ I am currently envolved in stuff more cool.&lt;/p&gt;&lt;p&gt;I might be wrong, and HTFITIP could be a huge success (as huge as something cattered to newbie programming language polyglots can be), but it's not that I don't believe in its chances. It's that when I open the text editor I feel more motivated in working on these other two projects :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Fri, 23 Jan 2009 17:30:18 -0000</pubDate></item><item><title>Re: How the fuck is trim in Python?</title><link>http://www.inerciasensorial.com.br/2009/01/22/geral/how-the-fuck-is-trim-in-python/#comment-5499264</link><description>&lt;p&gt;Ae Lucas, bom ver outro brasileiro lá também.&lt;/p&gt;&lt;p&gt;Manda bala rapaz. Sinceramente eu acho que daria um belo site, e a implementação não é difícil, nada de grandioso :) Vai ser simples e útil.&lt;/p&gt;&lt;p&gt;Eu só não faço mesmo pois, não é bem preguiça, mas estou já com projetos paralelos o suficiente para me manter ocupado por muito tempo :) Fazer o sistema em si é até divertido, agora ficar atualizando com as funções é um pé no saco. Eu já tenho um tanto de sites que tenho de ficar atualizando, não queria mais um!&lt;/p&gt;&lt;p&gt;Se/quando você fizer, avisa que eu dou uma olhada.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Fri, 23 Jan 2009 14:50:36 -0000</pubDate></item><item><title>Re: How the fuck is trim in Python?</title><link>http://www.inerciasensorial.com.br/2009/01/22/geral/how-the-fuck-is-trim-in-python/#comment-5496982</link><description>&lt;p&gt;Thanks yo (and Dave).&lt;/p&gt;&lt;p&gt;10 years of almost daily english usage and I am still learning :p&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Fri, 23 Jan 2009 13:02:04 -0000</pubDate></item><item><title>Re: blog, v2</title><link>http://paulbuchheit.blogspot.com/2008/12/blog-v2.html#comment-4738737</link><description>&lt;p&gt;Great, so blogs are coming back to be personal diaries :)&lt;/p&gt;&lt;p&gt;I say go for it. Don't think too much. I was just revisiting some comments I wrote on Reddit, some were truly genius (I am humble), but most were complete shitty, I mean, they could be delete tomorrow and none would care. Gaza would still be bombed, Google would still sell ads, and I would still have sex with my girlfriend tomorrow.&lt;/p&gt;&lt;p&gt;And the truth is, that's life right there. None is 100% effective. Heck, writing good posts takes minutes, learning to write good posts take a lifetime. Just do it.&lt;/p&gt;&lt;p&gt;I wonder if this post will be regrettable in a few months. At least I can give the excuse that I drunk a few beers tonight.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Tue, 30 Dec 2008 00:07:32 -0000</pubDate></item><item><title>Re: PHP named parameters alternative</title><link>http://www.inerciasensorial.com.br/2005/12/29/programacao/php/php-named-parameters-alternative/#comment-4668002</link><description>&lt;p&gt;But I tried to do without using associative arrays, which I even said in the middle of the text. That's the point :) Just a hack to show how to do it....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Nobrega Netto</dc:creator><pubDate>Sat, 27 Dec 2008 14:09:22 -0000</pubDate></item></channel></rss>