Building and using an encrypted container stored in a remote host (encfs+sshfs)

Those lines below are my notes to mount an remote folder through ssh, using sshfs [1] and building an encrypted container with encfs [2]. I’ll not explain in details how to install sshfs and encfs ’cause it dependes whether linux distribution or unix-like bsd flavor you’re running, furthermore, there are tons of documents on web convering these topics. IMHO, this is a great solution to easily store securely your files in any remote host (cloud) that you have access through ssh, using well known common unix tools. 1) Mount remote filesystem through ssh: sshfs user@host:/full/path/dir/ /full/path/mount_point It’s important to say […]

Be careful with Intel turbo boost! It can screw your benchmarking! And run slower when dealing with parallel programs!

I wrote several months ago a little application called machPQ.py (I’ll open the code soon…) which calculates the active, reactive and also the apparent power in machine terminal’s over the time domain, for electromagnetic transients analysis. The files that this program have to crunch often have 1.E6 lines or more. Due to those large files this application was taking long time to finish it’s calculations 1h-3h, hence I started to transcript it into a parallel paradigm using python as well. The problem begins when I tried to benchmark the parallel version and compare with the single threaded one. The single […]

openSUSE Science e mpmath

Para ficar registrado! Essa semana, quando estava implementado o cálculo dos parâmetros tranversais e longitudinais de linhas de transmissão para a disciplina Sobretensões Transitórias, precisei de uma biblioteca para usar com python que tivesse já disponíveis as funções de Bessel para números complexos. Achei a biblioteca numérica de precisão arbitrária mpmath [1] [2], inclusive listei no Python Numeric Cook List, a qual continha as funções necessárias, mas infelizmente não estava disponível nos repositórios oficiais do openSUSE. Depois de uma pesquisada encontrei o repositório extra-oficial openSUSE Science voltado para pacotes científicos. Página do OBS. Então, para adicionar o repositório, como root: […]

Erro 4652 da TAM

Reproduzo abaixo a minha reclamação formal contra a companhia Tam Linhas Aéreas, publicada no site RA. Por meio do reclame aqui, gostaria de externar meu profundo descontentamento com a companhia TAM Linhas Aéreas pelo devida falta de respeito aos seus clientes que efetuam compra de passagens pelo site da referida empresa. Há três meses venho obtendo o famigerado erro 4652, que depois de pesquisar na Internet, vi que vários outros clientes vem sendo prejudicados da mesma forma. O erro é injustificado, afinal, tentei efetuar a compra com 3 cartões de créditos diferentes, de bancos e bandeiras distintas. E, utilizei-os, logo […]