Author Archive

NotíciasPT: Notícias e Capas de Revistas e Jornais

http://noticiaspt.nunoprospero.com

Aproveitando vários minutos livres ao longo de algumas semanas, fiz esta pequena brincadeira com cURL, PHP, MySQL, mod_rewrite e RSS/XML, aproveitando o esqueleto de um site que tive anteriormente, inspirado no Twitter. Toda a tecnologia utilizada é open source, as capas são fornecidas pelos excelentes web services do SAPO e os conteúdos vêm dos sites dos próprios jornais. O objectivo principal é fundir as capas dos jornais e revistas com os conteúdos noticiosos das mesmas. Esta é a versão inicial, para lançamento e de acordo com a disponibilidade, vou adicionando mais features.

 

TrackingCTT: 1 ano depois

passou um ano desde que coloquei este site público – um serviço muito simples para acompanhar o estado das encomendas, através de avisos por email que tem sido um sucesso:

http://trackingctt.nunoprospero.com/

Alguns números

  • Dos milhares de visitantes ao site, mais de 90% efectua uma pesquisa com um código válido;
  • Cerca de 22% dos visitantes, regista o endereço de email;
  • Dos utilizadores que recebem avisos por mail, quase 100% clica no link para saber o estado da encomenda;
  • O número de desistências dos avisos é inferior a 0.1%;
  • Mais de 60% dos utilizadores regista 2 ou mais encomendas;
  • Cerca de 30% dos utilizadores regista 10 ou mais encomendas;
  • O top10 de utilizadores com mais encomendas, soma 8% do total de encomendas;
  • Mais de 600 comentários no blog e umas dezenas por email.
Balanço geral

Como se pode ver pelos números acima, o site tem sido um sucesso e tenho de agradecer aos utilizadores pelo feedback dado. Alguns dos utilizadores diários passaram por fases críticas do site (erros, indisponibilidade, etc) e deram feedback construtivo. Obrigado a todos!

 

 

Cloudflare review

Cloudflare is a content delivery network (CDN) which aims to enhance website performance and speed and providing security. It became famous for hosting the LulzSec services, the hacker group that attacked Sony network.

My main interest in a CDN solution is caching resources, since I was having too much accesses to the database to retrieve static data chunks and images, for some sites I manage.

I’ve been testing Cloudflare for the last 3 months, using the standard free plan for dealing with traffic from/to a Hostmonster server. The setup is easy if you are keen on managing DNS entries, but the changes are not immediate so I recommend setting up in a low balance period, if possible, to avoid losing traffic. After the initial setup, Cloudflare has a lot of web management tools with “one click installation” so it’s a great opportunity to try tools for free – for instances, Pingdom. Cloudflare allows the user to turn Cloudflare service on/off in realtime, so it’s real useful to use the “Development mode” when you want to force the Cloudflare to request the resource instead of sending the cached version. Its also possible to reset manually the Cloudflare cache.

Results:

Pingdom – Uptime: in 90 days, only one downtime max 5 minutes.

Pingdom – Response time: 19 ms is quite good. The pike in the graph refers to a development period, I guess. However, I’m not aware of such an interruption.

Webmasters Tools – Site Performance (beta): this is the most strangest information when using Cloudflare, since the site performance has not changed. This beta feature seems to report random data regardless the traffic, the server availability, etc.

 

Cloudflare reporting:

  • 50,9% requests are saved by Cloudflare
  • 58% saved bandwith
  • CF Analytic stats (October): 1,6% requests were considered treats; 4,1% requests were from web bots

Adsense: no problems were identified that could be correlated to CF. Ok, to be honest, the average CPC has been slowly falling this year (some cents) however is due to the economical context (at least for Portuguese advertisers…) so the Adsense behavior doesn’t seem to be affected by Cloudflare.

Drawbacks:

  • Only allows one CF account per domain. This means that all subdomains will be aggregated in one account.
  • Some plugins have issues – e.g. Google Analytics. CF allows the user to define a default GA profile. In each request, CF checks if the GA tags are well placed – if the tracking codes are missing, CF injects the GA code with the default profile. However, for two times, CF has injected the default code in *all pages* in several subdomains, mixing up my GA account.
  • It’s not an issue, but a feature, the user must reconfigure all the current connections to the web server and replace the domain name by something like direct.<servername> to access the server directly without passing through CF. Some old scripts will not function until you edit them…
  • Error messages – in some cases, the site users will be confronted with CF messages that can be very confusing for them – “The site is offline”, “Unavailable”, captcha, etc. I still haven’t understand when each one appears and if I can change the behavior.
  • Harder to diagnose DNS / hosting / site problems

Conclusion:

Despite all these drawbacks, mostly common to all CDNs, Cloudflare is a perfect choice for mid sized websites. It’s a free solution with lots of features available (the paid version has more analytics and 3rd party webapps).

The only price you really pay in these platforms is giving the CDN the knowledge about your site – since they intercept your traffic, they have even more information than Google Analytics, for instances.

I’ve also signed-up for the Google Page Speed Service, the Google CDN still in beta (or alpha).

 

Motion Induced Blindness



 

C, Unix, AI, Lisp and Apple

October 2011 – the eclipse of three inspirational icons in the Computer Science world: Steve Jobs (Apple / Pixar), Dennis Ritchie (C / Unix) and John McCarthy (the “father of AI”, invented Lisp). RIP.

Photo by stickmeat.

 

Nada se cria, nada se perde, tudo se transforma

Este fim de semana fiquei chocado ao ler estes 3 artigos de seguida.

Artigo #1 – citação do primeiro ministro: “Só vamos sair desta situação empobrecendo”. Haverá estratégia pior? Ou… é esta a melhor estratégia disponível, sugerida pelos melhores economistas, McKinseys, BCGs e afins? Outch…

Artigo #2 – “Hospital vendido por 11 milhões e comprado por 21 milhões minutos depois”. O antigo Hospital de Arroios foi vendido pelo Estado ao grupo Fibeira por 11 milhões de euros. No mesmo notário e minutos depois, o mesmo imóvel foi vendido por 21 milhões à imobiliária espanhola Reyal Urbis. Grande negócio… haja vergonha.

Artigo #3 – Na sequência da polémica da página da EDP no facebook, encontrei este vídeo sobre o Plano Nacional de Barragens. Tirando os interesses dos envolvidos, não compreendo um plano desta dimensão no contexto actual, para gerar 0 energia por 16 mil milhões. Recomendo vivamente ver os 5 minutos iniciais.

Aplicando a lei de Lavoisier, diria que os milhões do desvio colossal não se perderam, apenas se transferiram para outras mãos. Dos consumidores e contribuintes para uma oligarquia (ou plutocracia?).

Raramente me pronuncio sobre política. Tendo a ser indiferente aos partidos políticos. Mas não sou indiferente à corrupção e aos disparates que são feitos.

 

Apple Tree

apple tree

 

Epic Tech Flops

epic tech flops

 

Heineken Bluetooth Opener


An unofficial ad made by two Miami Ad School Hamburg students. Music by The Virgins – Rich Virgins.

 

Descartes’ Error