From 97172ae3e00d773ed8ce677a9bd08d8b66c1b7e8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 11 Aug 2017 08:36:41 -0300 Subject: Updates books and research --- research/panc.mdwn | 1 + research/python.mdwn | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) (limited to 'research') diff --git a/research/panc.mdwn b/research/panc.mdwn index 0b85266..04b584e 100644 --- a/research/panc.mdwn +++ b/research/panc.mdwn @@ -33,6 +33,7 @@ * Livro do knuppi e do lorenzi * Instituto plantarum * [Como diferenciar serralha e dente-de-leão](http://www.matosdecomer.com.br/2016/08/como-diferenciar-serralha-e-dente-de.html). +* [Cartilha Guia Prático de PANC Plantas Alimenticias Nao Convencionais](http://institutokairos.net/wp content/uploads/2017/08/Cartilha Guia Pr%C3%A1tico de PANC Plantas Alimenticias Nao Convencionais.pdf). ## Pesquisas futuras: diff --git a/research/python.mdwn b/research/python.mdwn index 72098c2..3a62cad 100644 --- a/research/python.mdwn +++ b/research/python.mdwn @@ -44,6 +44,36 @@ Python encourages polymorphism: floating points sometimes can, in different ways—by using rational representation and by limiting precision +### Types + + More formally, there are three major type (and operation) categories in Python + that have this generic nature: + + Numbers (integer, floating-point, decimal, fraction, others) + Support addition, multiplication, etc. + Sequences (strings, lists, tuples) + Support indexing, slicing, concatenation, etc. + Mappings (dictionaries) + Support indexing by key, etc. + + [...] + + The major core types in Python break down as follows: + + Immutables (numbers, strings, tuples, frozensets) + None of the object types in the immutable category support in-place changes, + though we can always run expressions to make new objects and assign their + results to variables as needed. + + Mutables (lists, dictionaries, sets, bytearray) + Conversely, the mutable types can always be changed in place with operations + that do not create new objects. Although such objects can be copied, in-place + changes support direct modification. + ## Libraries * [SciPy.org — SciPy.org](https://www.scipy.org/) ([package](https://packages.debian.org/stable/python-scipy)). + +## Test projects + +* [Arduino Blog » How close are we to doomsday? A clock is calculating it in real time](https://blog.arduino.cc/2013/03/27/how-close-are-we-to-doomsday-clock/) ([python code](https://github.com/tomschofield/Neurotic-Armageddon-Indicator/blob/master/NAI_SERVER/nai_scraper.py) to parse [Timeline from the Bulletin of the Atomic Scientists](http://thebulletin.org/timeline)). -- cgit v1.2.3