O Que Torna Algo Certo ou Errado? Por Stephen Fry

Posted in thoughts | Tagged , ,

How PGP Works Under the Hood

  1. The plaintext is processed by a hashing algorithm such as MD5.
  2. The digest (this is the name of the output of a hashing function) is encrypted with Alice’s private key. When Bob will receive the message, he can decrypt the hash (Bob has Alice’s public key) and verify that the hash is correct. This is the signature of the message: we are sure that the message was send by Alice and that it was not modified by someone.
  3. The plaintex and the encrypted hash are now concatenated into a single message.
  4. This message is now compressed using the ZIP program.
  5. The compressed text is the input for the symmetric IDEA (International Data Encryption Algorithm). The IDEA algorithm uses a 128 bit key called Km. Km is randomly chosen.
  6. The 128 bit IDEA key (Km) is now encrypted with Bob’s public key.
  7. The encrypted key (6th step) is concatenated with the output of the IDEA algorithm (5th step).
  8. All this is converted in Base64.

http://marcomanzoni.me/blog/how-pgp-works-under-the-hood/

Posted in programming | Tagged

An Introduction to Managing DNS

“DNS, or the domain name system, is an essential component of modern internet communication. It allows us to reference computers by names instead of IP addresses. In this series, we will cover the basic ideas behind DNS so that you feel comfortable working with it. Afterwards, we will walk through various ways that you can gain greater control over your domains and DNS resolution…”

https://www.digitalocean.com/community/tutorial_series/an-introduction-to-managing-dns

Posted in programming | Tagged ,

The Face Recognition Algorithm That Finally Outperforms Humans

“Computer scientists have developed the first algorithm that recognises people’s faces better than you do…”

View story at Medium.com

Posted in programming | Tagged ,

A dialect of Lisp extended to support for concurrent programming, written in Go

“LispEx is another Lisp Interpreter implemented with Go. The syntax, semantics and library procedures are a subset of R5RS…”

https://github.com/kedebug/LispEx

Posted in programming | Tagged ,

Python in 4 Hours

Program

    Introduction
    The ecosystem
    Python syntax and native data-types
    Code organization: modules, packages and magic
    Functional programming
    Object oriented program design
    Unit testing
    Advanced topics and performance tuning…

http://life.bsc.es/pid/brian/python/#/

Posted in programming | Tagged

Writing scientific articles like a native English speaker: top ten tips for Portuguese speakers

“Can you identify a single colleague who has not had a manuscript returned with the comment “needs to be reviewed by a native English speaker”? Many researchers receive this response even after translation or revision by an official translator or a native English-speaking coauthor. Over the past four years, while conducting my doctoral, and now my postdoctoral, work here in Brazil, I have been asked to both translate and help revise numerous manuscripts for my fellow Brazilian researchers. However, despite being a native English speaker and a researcher, I have found these tasks to be quite stressful at times. The truth is, just like it is one thing to write in Portuguese and another to write well in Portuguese, the same applies to writing well in English. Furthermore, not every native English speaker who writes well in English can write well for the scientific literature. Scientific English writing has its own style and rhythm, such as the use of passive voice. Passive voice is considered poor English in most forms of writing (news, novels, blogs, etc.) outside of science. The most recent version of Microsoft Office Word will even highlight passive voice as poor grammar and ask you if you want to rephrase. However, the use of passive voice is acceptable and even encouraged in some scientific writing…”

http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3935133/

Posted in thoughts | Tagged