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 […]

Quando um atendimento acaba virando uma grande surpresa…

Tive uma experiência positivamente surpreendente com a ASK​ (@GrupoASK, www.ask.ind.br). Precisei de ajuda para conseguir substituir uma peça de um suporte do teclado da Maria Luiza Peixoto​ e me reportei ao “fale conosco” do site. A equipe da ASK, exatamente a Marina Nobre, não poupou esforços para me atender da melhor forma, mais atenciosa e cordial impossível. Buscou uma loja autorizada que fosse próxima à minha residência, indicando-me inclusive a pessoa com quem deveria tratar. Na loja, chamada COPPITEL Eletrônica (110 sul), fui também atendida de forma cordial. Novamente fiquei surpresa ao saber que o item me foi enviado sem que […]

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: […]