<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Luis Ramalho - Latest Comments</title><link>http://luisramalho.disqus.com/</link><description></description><atom:link href="https://luisramalho.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 25 Feb 2017 13:34:34 -0000</lastBuildDate><item><title>Re: How to get the Facebook Access Token, the Extended Page Access Token that never expires</title><link>http://luisramalho.com/how-to-get-the-facebook-access-token-the-extended-page-access-token-that-never-expires#comment-3174723888</link><description>&lt;p&gt;🎩EKLE ANINDA ONAY🎩&lt;br&gt;👑YAKINSIN YAKINA AL👑&lt;br&gt;🔫DURUMLARDA OL🔫&lt;br&gt;👑ÇOK TATLISIN EKLE TANISALIM👑&lt;br&gt;👑BOT.DEVRAN KILIÇ👑&lt;br&gt; Reply&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Devran kılıç</dc:creator><pubDate>Sat, 25 Feb 2017 13:34:34 -0000</pubDate></item><item><title>Re: How to get the Facebook Access Token, the Extended Page Access Token that never expires</title><link>http://luisramalho.com/how-to-get-the-facebook-access-token-the-extended-page-access-token-that-never-expires#comment-3174723097</link><description>&lt;p&gt;🎩EKLE ANINDA ONAY🎩&lt;br&gt;👑YAKINSIN YAKINA AL👑&lt;br&gt;🔫DURUMLARDA OL🔫&lt;br&gt;👑ÇOK TATLISIN EKLE TANISALIM👑&lt;br&gt;👑BOT.DEVRAN KILIÇ👑&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Devran kılıç</dc:creator><pubDate>Sat, 25 Feb 2017 13:33:59 -0000</pubDate></item><item><title>Re: How to get the Facebook Access Token, the Extended Page Access Token that never expires</title><link>http://luisramalho.com/how-to-get-the-facebook-access-token-the-extended-page-access-token-that-never-expires/#comment-2593247745</link><description>&lt;p&gt;how-to-get-the-facebook-access-token-the-extended-page-access-token-that-never-expires&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KomandaNya Bhegenk Di Sanah</dc:creator><pubDate>Mon, 28 Mar 2016 12:35:00 -0000</pubDate></item><item><title>Re: Codility's CountFactors</title><link>http://luisramalho.com/count-factors/#comment-2023563533</link><description>&lt;p&gt;this is awesome, thanks for referencing the composite number explanation! i kept getting 50-70 on codility until i read this :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Raf</dc:creator><pubDate>Wed, 13 May 2015 21:04:26 -0000</pubDate></item><item><title>Re: An internal error occurred during: "IvyDE resolve".</title><link>http://luisramalho.com/vaadin-ivyde-resolve/#comment-1900850911</link><description>&lt;p&gt;thanks :D that resolved my issue&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wissem</dc:creator><pubDate>Wed, 11 Mar 2015 05:02:54 -0000</pubDate></item><item><title>Re: 3 Apps on Google Play · Luís Ramalho</title><link>http://luisramalho.com/3-apps-on-google-play/#comment-1877198795</link><description>&lt;p&gt;Your app looks very nice!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arja Katajamäki</dc:creator><pubDate>Thu, 26 Feb 2015 14:04:40 -0000</pubDate></item><item><title>Re: Codility's Genomic Range Query</title><link>http://luisramalho.com/genomic-range-query/#comment-1842345828</link><description>&lt;p&gt;Nice, Luis, I was tinkering with this problem for a while, and my mistake was trying to use a unidimensional array rather than a matrix. With a single array information will be lost. After reading this post I fixed my Python solution, which looks like this:&lt;/p&gt;&lt;p&gt;def solution(S, P, Q):&lt;br&gt;    impact = {'A':1, 'C':2, 'G':3, 'T':4}&lt;br&gt;    impact_arr = [1,2,3,4]&lt;br&gt;    sol = []&lt;br&gt;    matrix = []&lt;br&gt;    for i in impact_arr:&lt;br&gt;        &amp;gt;corr = [check(impact[x],i) for x in S]&lt;br&gt;        &amp;gt;matrix.append(prefix_sums(corr))&lt;br&gt;    for i in xrange(0, len(P)):&lt;br&gt;        &amp;gt;for j in xrange(1,5):&lt;br&gt;            &amp;gt;&amp;gt;if (matrix[j-1][Q[i]+1] - matrix[j-1][P[i]]) &amp;gt;= impact_arr[j-1]:&lt;br&gt;                &amp;gt;&amp;gt;&amp;gt;sol.append(impact_arr[j-1])&lt;br&gt;                &amp;gt;&amp;gt;&amp;gt;break&lt;br&gt;    return sol&lt;/p&gt;&lt;p&gt;#this could be a simple lambda&lt;br&gt;def check(val, ref):&lt;br&gt;    &amp;gt;if val == ref:&lt;br&gt;        &amp;gt;&amp;gt;return val&lt;br&gt;    &amp;gt;return 0&lt;/p&gt;&lt;p&gt;#calculates the accumulated sum for a given array&lt;br&gt;def prefix_sums(A):&lt;br&gt;    &amp;gt;n = len(A)&lt;br&gt;    &amp;gt;P = [0] * (n + 1)&lt;br&gt;    &amp;gt;for k in xrange(1, n + 1):&lt;br&gt;        &amp;gt;&amp;gt;P[k] = P[k - 1] + A[k - 1]&lt;br&gt;    return P&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thiago Ganzarolli Da Silva</dc:creator><pubDate>Sun, 08 Feb 2015 14:11:00 -0000</pubDate></item><item><title>Re: Viagem à Tailândia</title><link>http://luisramalho.com/viagem-a-tailandia#comment-909296298</link><description>&lt;p&gt;muito linda e muito longe &lt;br&gt;eu vou ir pra la&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Henrique</dc:creator><pubDate>Sun, 26 May 2013 16:51:15 -0000</pubDate></item><item><title>Re: Viagem à Tailândia</title><link>http://luisramalho.com/viagem-a-tailandia#comment-909296130</link><description>&lt;p&gt;e linda&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Henrique</dc:creator><pubDate>Sun, 26 May 2013 16:50:55 -0000</pubDate></item><item><title>Re: Viagem à Tailândia</title><link>http://luisramalho.com/viagem-a-tailandia#comment-901152800</link><description>&lt;p&gt;Ola! Cm se chama essa praia!? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marta</dc:creator><pubDate>Sat, 18 May 2013 09:18:23 -0000</pubDate></item><item><title>Re: How to get the Facebook Access Token, the Extended Page Access Token that never expires</title><link>http://luisramalho.com/how-to-get-the-facebook-access-token-the-extended-page-access-token-that-never-expires/#comment-897113453</link><description>&lt;p&gt;Thanks! Very Clear explanation!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Célio</dc:creator><pubDate>Tue, 14 May 2013 10:47:35 -0000</pubDate></item><item><title>Re: Apple tablet</title><link>http://luisramalho.com/apple-tablet#comment-892701102</link><description>&lt;p&gt;eu também.....Afinal quem não qué&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bruna</dc:creator><pubDate>Fri, 10 May 2013 20:00:05 -0000</pubDate></item><item><title>Re: Apple tablet</title><link>http://luisramalho.com/apple-tablet#comment-892700450</link><description>&lt;p&gt;coloca quanto está esse tablet&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bruna</dc:creator><pubDate>Fri, 10 May 2013 19:58:56 -0000</pubDate></item><item><title>Re: 10 passos para garantir que o script para upload de imagens é seguro.</title><link>http://luisramalho.com/10-passos-para-garantir-que-o-script-para-upload-de-imagens-e-seguro#comment-665111295</link><description>&lt;p&gt;A terceira verificação parece conter um erro. Pelo jeito valida se existe a string 'image' no nome do arquivo e não se o arquivo é uma imagem....&lt;/p&gt;&lt;p&gt;Mesmo assim o script esta muito bom, bem organizado e abrangente.&lt;/p&gt;&lt;p&gt;vlw&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">J44</dc:creator><pubDate>Thu, 27 Sep 2012 19:28:02 -0000</pubDate></item><item><title>Re: Apple tablet</title><link>http://luisramalho.com/apple-tablet#comment-483952725</link><description>&lt;p&gt;eu quero&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luabaldo2011</dc:creator><pubDate>Mon, 02 Apr 2012 19:29:22 -0000</pubDate></item><item><title>Re: O sapo tem sempre as opções erradas!</title><link>http://luisramalho.com/o-sapo-tem-sempre-as-opcoes-erradas#comment-412858398</link><description>&lt;p&gt;sempre me ensinaram que "-" com "-" dá + e "+" com "+" continua a dar "+"..isto continua a ser a minha filosofia!  este ranking penso que descredibiliza a própria sapo fruto de optimismo!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vicksrules</dc:creator><pubDate>Mon, 16 Jan 2012 16:08:44 -0000</pubDate></item><item><title>Re: O sapo tem sempre as opções erradas!</title><link>http://luisramalho.com/o-sapo-tem-sempre-as-opcoes-erradas#comment-398043554</link><description>&lt;p&gt;Eu já nem vejo o telejornal precisamente por causa disso. Não há mesmo paciência.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luís Ramalho</dc:creator><pubDate>Sat, 31 Dec 2011 16:00:33 -0000</pubDate></item><item><title>Re: O sapo tem sempre as opções erradas!</title><link>http://luisramalho.com/o-sapo-tem-sempre-as-opcoes-erradas#comment-398035935</link><description>&lt;p&gt;Sim, há que mudar o raio da mentalidade depressiva! Estou a ver o Jornal da Noite e grande parte das notícias são exatamente iguais todos os anos e, para além disso, uma % grande do tempo é passado, com ar sério, a falar dos aumentos que têm lugar já amanhã. Não há pachorra!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hugobelchior</dc:creator><pubDate>Sat, 31 Dec 2011 15:37:42 -0000</pubDate></item><item><title>Re: Rotação de banners em JavaScript</title><link>http://luisramalho.com/rotacao-de-banners-em-javascript#comment-395270915</link><description>&lt;p&gt;Sim Rodolpho.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luís Ramalho</dc:creator><pubDate>Tue, 27 Dec 2011 17:53:17 -0000</pubDate></item><item><title>Re: Rotação de banners em JavaScript</title><link>http://luisramalho.com/rotacao-de-banners-em-javascript#comment-395200183</link><description>&lt;p&gt;Funciona com o Blogger? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rodolphovictor</dc:creator><pubDate>Tue, 27 Dec 2011 15:59:01 -0000</pubDate></item><item><title>Re: Microsoft Office 2010 chega já em Maio!</title><link>http://luisramalho.com/microsoft-office-2010-chega-ja-em-maio#comment-309989919</link><description>&lt;p&gt;masssa!!!!!!!!!!!&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thieviny</dc:creator><pubDate>Wed, 14 Sep 2011 12:38:43 -0000</pubDate></item><item><title>Re: TimThumb attack now changing wp-settings.php</title><link>http://luisramalho.com/timthumb-attack-now-changing-wp-settings-php#comment-297998841</link><description>&lt;p&gt;Dave, make sure you change all passwords (both admin panel and mysql) and delete everything suspicious. Change all the files to chmod 644 and folders to 755. You might even consider changing the theme completely.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luís Ramalho</dc:creator><pubDate>Mon, 29 Aug 2011 16:52:30 -0000</pubDate></item><item><title>Re: TimThumb attack now changing wp-settings.php</title><link>http://luisramalho.com/timthumb-attack-now-changing-wp-settings-php#comment-297880952</link><description>&lt;p&gt;btw found this &lt;a href="http://wptheming.com/2011/08/cleaning-up-the-timthumb-hack/" rel="nofollow noopener" target="_blank" title="http://wptheming.com/2011/08/cleaning-up-the-timthumb-hack/"&gt;http://wptheming.com/2011/0...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave</dc:creator><pubDate>Mon, 29 Aug 2011 13:57:55 -0000</pubDate></item><item><title>Re: TimThumb attack now changing wp-settings.php</title><link>http://luisramalho.com/timthumb-attack-now-changing-wp-settings-php#comment-297880558</link><description>&lt;p&gt;new attack. ion and js files changed again. This is really causing me some headache, i noticed it also creates a cache folder on the themes folder&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dave</dc:creator><pubDate>Mon, 29 Aug 2011 13:57:10 -0000</pubDate></item><item><title>Re: TimThumb attack now changing wp-settings.php</title><link>http://luisramalho.com/timthumb-attack-now-changing-wp-settings-php#comment-295419587</link><description>&lt;p&gt;I use Elegant Themes as well, and I've also had a new exploit injected even though I went and deleted my old theme, installed the new one, and manually scrubbed a lot of malicious code.&lt;/p&gt;&lt;p&gt;Really wish they'd figure out what's going on so that I could fix it once and for all...or at least until the next exploit hits.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Candlemark &amp; Gleam</dc:creator><pubDate>Thu, 25 Aug 2011 17:11:35 -0000</pubDate></item></channel></rss>