Wednesday, August 28, 2019

Principles of instruction


  • Begin a lesson with a short review of previous learning.
  • Present new material in small steps with student practice after each step.
  • Limit the amount of material students receive at one time.
  • Give clear and detailed instructions and explanations.
  • Ask a large number of questions and check for understanding.
  • Provide a high level of active practice for all students.
  • Guide students as they begin to practice.
  • Think aloud and model steps.
  • Provide models of worked-out problems.
  • Ask students to explain what they had learned.
  • Check the responses of all students.
  • Provide systematic feedback and corrections.
  • Use more time to provide explanations.
  • Provide many examples.
  • Re-teach material when necessary.
  • Prepare students for independent practice.
  • Monitor students when they begin independent practice.

How we learned?

References

Week 1. Busting myths

Coffield, F., Moseley, D., Hall, E. & Ecclestone, K. (2004). Learning styles and pedagogy in post-16 learning: A systematic and critical review (Report no. 041543). Learning and Skills Research Centre, London.
Dekker, S., Lee, N. C., Howard-Jones, P. A. & Jolles, J. (2012). Neuromyths in education: Prevalence and predictors of misconceptions among teachers. Frontiers in Psychology, 3.
Howard-Jones, P. A. (2010). Introducing Neuroeducational Research: Neuroscience, Education and the Brain from Contexts to Practice. Routledge.
Howard-Jones, P. A. (2014). Neuroscience and education: myths and messages. Nature Reviews Neuroscience 15, 817-824.
Royal Society (2011). Brain Waves Module 2: Neuroscience:implications for education and lifelong learning. Royal Society, London.

Week 2. Engagement for learning

Adcock, R. A. (2006). Reward-motivated learning: mesolimbic activation precedes memory formation. Neuron, 50, 507-517.
Beilock, S. L., Gunderson, E. A., Ramirez, G. & Levine, S. C. (2010). Female teachers’ math anxiety affects girls’ math achievement. Proceedings of the National Academy of Science U.S.A., 107, 1860-1863.
Dawes, L., Littleton, K., Mercer N., Wegwrif, R., Warwick, P. (n.d.). Thinking Together in the Primary Classroom. UK: The Open University. Centre for Research in Education and Educational Technology.
Fales, C. L., Becerril, K. E., Luking, K. R. & Barch, D. M. (2010). Emotional-stimulus processing in trait anxiety is modulated by stimulus valence during neuroimaging. Cogn. Emot., 24, 200-222.
Farooqi, I. S. et al. (2007). Leptin regulates striatal regions and human eating Behavior. Science 317, 1355-1355.
Koepp, M. J. et al. (1998). Evidence for striatal dopamine release during a video game. . Nature 393, 266-268.
Filimon, F., Nelson, J. D., Hagler, D. J. & Sereno, M. I. (2007). Human cortical representations for reaching: Mirror neurons for execution, observation, and imagery. NeuroImage 37, 1315-1328.
Furukawa, E. et al. (2014). Abnormal Striatal BOLD Responses to Reward Anticipation and Reward Delivery in ADHD. Plos One 9, 9.
Gaastra, G. F., Groen, Y., Tucha, L. & Tucha, O. (2016). The Effects of Classroom Interventions on Off-Task and Disruptive Classroom Behavior in Children with Symptoms of Attention-Deficit/Hyperactivity Disorder: A Meta-Analytic Review. Plos One 11, 19.
Howard-Jones, P. A. (2014). Neuroscience and education: myths and messages. Nature Reviews Neuroscience 15, 817-824.
Howard-Jones, P. A., Jay, T., Mason, A. & Jones, H. (2016). Gamification of Learning Deactivates the Default Mode Network. Frontiers in Psychology 6, 16.
Izuma, K., Saito, D. N. & Sadato, N. (2008). Processing of social and monetary rewards in the human striatum. Neuron 58, 284-294.
Ker, H. W. (2016). The impacts of student-, teacher- and school-level factors on mathematics achievement: an exploratory comparative investigation of Singaporean students and the USA students. Educational Psychology 36, 254-276.
Knutson, B., Adams, C. M., Fong, G. W. & Hommer, D. (2001). Anticipation of monetary reward selectively recruits nucleus accumbens. Journal of Neuroscience 21, 1-5.
Kratzig, G. P. & Arbuthnott, K. D. (2006). Perceptual learning style and learning proficiency: A test of the hypothesis. Journal of Educational Psychology 98, 238-246.
Littleton, Karen; Mercer, Neil; Dawes, Lyn; Wegerif, Rupert; Rowe, Denise and Sams, Claire (2005). Talking and thinking together at Key Stage 1. Early Years: An International Journal of Research and Development, 25(2) 167 -182.
Rizzolatti, G. & Craighero, L. (2004). The mirror neuron system. Annual Review of Neuroscience 27, 169-192.
Schilbach, L. et al. (2010). Minds Made for Sharing: Initiating Joint Attention Recruits Reward-related Neurocircuitry. Journal of Cognitive Neuroscience 22, 2702-2715.
Schomaker, J. & Meeter, M. (2015). Short- and long-lasting consequences of novelty, deviance and surprise on brain and cognition. Neurosci. Biobehav. Rev. 55, 268-279.
van Duijvenvoorde, A. C. K., Zanolie, K., Rombouts, S., Raijmakers, M. E. J. & Crone, E. A. (2008). Evaluating the negative or valuing the positive? Neural mechanisms supporting feedback-based learning across development. Journal of Neuroscience 28, 9495-9503.

Week 3. Building knowledge and understanding

Brod, G., Werkle-Bergner, M. & Shing, Y. L. (2013). The influence of prior knowledge on memory: a developmental cognitive neuroscience perspective. Front. Behav. Neurosci. 7, 13.
Buchweitz, A., Mason, R. A., Tomitch, L. M. B. & Just, M. A. (2009). Brain activation for reading and listening comprehension: An fMRI study of modality effects and individual differences in language comprehension. Psychology & neuroscience 2, 111-123.
Butler, A. J., James, T. W., & James, K. H. (2011). Enhanced Multisensory Integration and Motor Reactivation after Active Motor Learning of Audiovisual Associations. Journal of Cognitive Neuroscience, 23(11), 3515-3528.
Coffield, F., Moseley, D., Hall, E. & Ecclestone, K. (2004). Learning styles and pedagogy in post-16 learning: A systematic and critical review (Report no. 041543). Learning and Skills Research Centre, London.
Fischer, U., Moeller, K., Bientzle, M., Cress, U. & Nuerk, H.-C. (2011). Sensori-motor spatial training of number magnitude representation. Psychon. Bull. Rev. 18, 177–183.
Horvath, J. C. (2014). The Neuroscience of PowerPoint (TM). Mind Brain and Education 8, 137-143.
Johnson-Glenberg, M. C., Birchfield, D. A., Tolentino, L. & Koziupa, T. (2014) Collaborative embodied learning in mixed reality motion-capture environments: two science studies. Journal of Educational Psychology 106, 86–104.
Kontra, C., Lyons, D. J., Fischer, S. M. & Beilock, S. L. (2015). Physical Experience Enhances Science Learning. Psychological Science 26, 737-749.
Pickering, S.J. (2006), Working Memory and Education. London, Elsevier Academic Press.
Shing, Y. L. & Brod, G. (2016). Effects of Prior Knowledge on Memory: Implications for Education. Mind, Brain, and Education 10, 153-161.
Wais, P. E. & Gazzaley, A. (2014). Distractibility during retrieval of long-term memory: domain-general interference, neural networks and increased susceptibility in normal aging. Frontiers in Psychology 5, 12.

Week 4. Consolidation of learning

Dworak, M., Schierl, T., Bruns, T., & Struder, H. K. (2007). Impact of singular excessive computer game and television exposure on sleep patterns and memory performance of school-aged children. Pediatrics, 120(5), 978-985.
Maquet, P. et al. (2000). Experience dependent changes in cerebral activation during human REM sleep. Nature Neuroscience 3, 831-836.
McDaniel, M. A., Roediger, H. L. & McDermott, K. B. (2007). Generalizing test-enhanced learning from the laboratory to the classroom. Psychon. Bull. Rev. 14, 200-206.
Roediger, H. L. & Karpicke, J. D. (2006). Test-enhanced learning - Taking memory tests improves long-term retention. Psychological Science 17, 249-255.
Roseshine, B. (2010). Principles of Instruction. International Academy of Education, UNESCO.
Wirebring, L. K. et al. (2015). Lesser Neural Pattern Similarity across Repeated Tests Is Associated with Better Long-Term Memory Retention. Journal of Neuroscience 35, 9595-9602.

Week 5. The science of learning in your classroom

Blackwell, L. S., Trzesniewski, K. H. & Dweck, C. S. (2007). Implicit theories of intelligence predict achievment across an adolescent transition: A longtitudinal study and an intervention. Child Development 78, 246-263.
Dekker, S. & Jolles, J. (2015). Teaching About “Brain and Learning” in High School Biology Classes: Effects on Teachers’ Knowledge and Students’ Theory of Intelligence. Frontiers in Psychology 6, 8.
Maguire, E. A. et al. (2000). Navigation related structural change in the hippocampi of taxi drivers. Proceedings of the National Academy of Sciences (USA) 97, 4398-4403. Martensson, J. et al. (2012). Growth of language-related brain areas after foreign language learning. Neuroimage 63, 240-244.
Paunesku, D. et al. (2015). Mind-Set Interventions Are a Scalable Treatment for Academic Underachievement. Psychological Science 26, 784-793.
Supekar, K. et al. (2013). Neural predictors of individual differences in response to math tutoring in primary-grade school children. Proc. Natl. Acad. Sci. U. S. A. 110, 8230-8235..
Wenger, E. & Lovden, M. (2016). The Learning Hippocampus: Education and Experience-Dependent Plasticity. Mind Brain and Education 10, 171-183.

How we learned?


Sunday, August 11, 2019

Dog Whistle


Academic word list

The Academic Word List (AWL) was developed by Averil Coxhead at the School of Linguistics and Applied Language Studies at Victoria University of Wellington, New Zealand. The list contains 570 word families which were selected because they appear with great frequency in a broad range of academic texts. The list does not include words that are in the most frequent 2000 words of English (the General Service List), thus making it specific to academic contexts. The AWL was primarily made so that it could be used by teachers as part of a programme preparing learners for tertiary level study or used by students working alone to learn the words most needed to study at colleges and universities. The 570 words are divided into 10 Groups. The Groups are ordered such that the words in the first Group are the most frequent words and those in the last Group are the least frequent.

Group 1

sector • available • financial • process • individual • specific • principle • estimate • variables • method • data • research • contract • environment • export • source • assessment • policy • identified • create • derived • factors • procedure • definition • assume • theory • benefit • evidence • established • authority • major • issues • labour • occur • economic • involved • percent • interpretation • consistent • income • structure • legal • concept • formula • section • required • constitutional • analysis • distribution • function • area • approach • role • legislation • indicate • response • period • context • significant • similar •

Group 2

community • resident • range • construction • strategies • elements • previous • conclusion • security • aspects • acquisition • features • text • commission • regulations • computer • items • consumer • achieve • final • positive • evaluation • assistance • normal • relevant • distinction • region • traditional • impact • consequences • chapter • equation • appropriate • resources • participation • survey • potential • cultural • transfer • select • credit • affect • categories • perceived • sought • focus • purchase • injury • site • journal • primary • complex • institute • investment • administration • maintenance • design • obtained • restricted • conduct •

Group 3

comments • convention • published • framework • implies • negative • dominant • illustrated • outcomes • constant • shift • deduction • ensure • specified • justification • funds • reliance • physical • partnership • location • link • coordination • alternative • initial • validity • task • techniques • excluded • consent • proportion • demonstrate • reaction • criteria • minorities • technology • philosophy • removed • sex • compensation • sequence • corresponding • maximum • circumstances • instance • considerable • sufficient • corporate • interaction • contribution • immigration • component • constraints • technical • emphasis • scheme • layer • volume • document • registered • core •

Group 4

overall • emerged • regime • implementation • project • hence • occupational • internal • goals • retained • sum • integration • mechanism • parallel • imposed • despite • job • parameters • approximate • label • concentration • principal • series • predicted • summary • attitudes • undertaken • cycle • communication • ethnic • hypothesis • professional • status • conference • attributed • annual • obvious • error • implications • apparent • commitment • subsequent • debate • dimensions • promote • statistics • option • domestic • output • access • code • investigation • phase • prior • granted • stress • civil • contrast • resolution • adequate

Group 5

alter • stability • energy • aware • licence • enforcement • draft • styles • precise • medical • pursue • symbolic • marginal • capacity • generation • exposure • decline • academic • modified • external • psychology • fundamental • adjustment • ratio • whereas • enable • version • perspective • contact • network • facilitate • welfare • transition • amendment • logic • rejected • expansion • clause • prime • target • objective • sustainable • equivalent • liberal • notion • substitution • generated • trend • revenue • compounds • evolution • conflict • image • discretion • entities • orientation • consultation • mental • monitoring • challenge •

Group 6

intelligence • transformation • presumption • acknowledged • utility • furthermore • accurate • diversity • attached • recovery • assigned • tapes • motivation • bond • edition • nevertheless • transport • cited • fees • scope • enhanced • incorporated • instructions • subsidiary • input • abstract • ministry • capable • expert • preceding • display • incentive • inhibition • trace • ignored • incidence • estate • cooperative • revealed • index • lecture • discrimination • overseas • explicit • aggregate • gender • underlying • brief • domain • rational • minimum • interval • neutral • migration • flexibility • federal • author • initiatives • allocation • exceed •

Group 7

intervention • confirmed • definite • classical • chemical • voluntary • release • visible • finite • publication • channel • file • thesis • equipment • disposal • solely • deny • identical • submitted • grade • phenomenon • paradigm • ultimately • extract • survive • converted • transmission • global • inferred • guarantee • advocate • dynamic • simulation • topic • insert • reverse • decades • comprise • hierarchical • unique • comprehensive • couple • mode • differentiation • eliminate • priority • empirical • ideology • somewhat • aid • foundation • adults • adaptation • quotation • contrary • media • successive • innovation • prohibited • isolated •

Group 8

highlighted • eventually • inspection • termination • displacement • arbitrary • reinforced • denote • offset • exploitation • detected • abandon • random • revision • virtually • uniform • predominantly • thereby • implicit • tension • ambiguous • vehicle • clarity • conformity • contemporary • automatically • accumulation • appendix • widespread • infrastructure • deviation • fluctuations • restore • guidelines • commodity • minimises • practitioners • radical • plus • visual • chart • appreciation • prospect • dramatic • contradiction • currency • inevitably • complement • accompany • paragraph • induced • schedule • intensity • crucial • via • exhibit • bias • manipulation • theme • nuclear •

Group 9

bulk • behalf • unified • commenced • erosion • anticipated • minimal • ceases • vision • mutual • norms • intermediate • manual • supplementary • incompatible • concurrent • ethical • preliminary • integral • conversely • relaxed • confined • accommodation • temporary • distorted • passive • subordinate • analogous • military • scenario • revolution • diminished • coherence • suspended • mature • assurance • rigid • controversy • sphere • mediation • format • trigger • qualitative • portion • medium • coincide • violation • device • insights • refine • devoted • team • overlap • attained • restraints • inherent • route • protocol • founded • duration •

Group 10

whereby • inclination • encountered • convinced • assembly • albeit • enormous • reluctant • posed • persistent • undergo • notwithstanding • straightforward • panel • odd • intrinsic • compiled • adjacent • integrity • forthcoming • conceived • ongoing • so-called • likewise • nonetheless • levy • invoked • colleagues • depression • collapse •

Sunday, June 16, 2019

How to Reset the MySQL Root Password on Ubuntu

In this article we will reset the MySQL root password in Ubuntu by starting MySQL with the --skip-grant-tables option.

1. Confirm MySQL version

Firstly, you must confirm which version of MySQL on Ubuntu you are running as commands will be different.
mysql -V
mysql Ver 14.14 Distrib 5.7.25, for Linux (x86_64) using EditLine wrapper
Keep note of your “Distrib”. In the above example, we are on MySQL 5.7. Keep note of this for later.

2. Restart MySQL with skip-grant-table

In order to skip the grant tables and reset the root password, we must first stop the MySQL service.
sudo /etc/init.d/mysql stop
Ensure the directory /var/run/mysqld exists and correct owner set.
sudo mkdir /var/run/mysqld
sudo chown mysql /var/run/mysqld
Now start MySQL with the --skip-grant-tables option. The & is required here.
sudo mysqld_safe --skip-grant-tables&
You should see something similar:
[1] 1283
user@server:~$ 2019-02-12T11:15:59.872516Z mysqld_safe Logging to syslog.
2019-02-12T11:15:59.879527Z mysqld_safe Logging to '/var/log/mysql/error.log'.
2019-02-12T11:15:59.922502Z mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
You may need to press ENTER to return to the Linux BASH prompt.

3. Change MySQL Root Password

You can now log in to the MySQL root account without a password.
sudo mysql --user=root mysql
Once logged in, you will see the mysql> prompt.
For MySQL 5.7 or above on Ubuntu, run this command to change the root password. Replace your_password_here with your own. (Generate a strong password here)
mysql> update user set authentication_string=PASSWORD('your_password_here') where user='root';
For MySQL 5.6 or below on Ubuntu, run this command to change the root password. Replace your_password_here with your own. (Generate a strong password here)
mysql> update user set Password=PASSWORD('your_password_here') where user='root';
When resetting a root password, you must also change the auth plugin to mysql_native_password
mysql> update user set plugin="mysql_native_password" where User='root';
Flush privileges.
mysql>  flush privileges;
Exit MySQL.
mysql> exit
Make sure all MySQL processes are stopped before starting the service again.
sudo killall -u mysql
Start MySQL again.
sudo /etc/init.d/mysql start

4. Test New Password

Log in to MySQL again and you should now be prompted for a password.
sudo mysql -p -u root
Enter your password. If correct, you should see
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.7.25-0ubuntu0.18.04.2 (Ubuntu)
You’re all done!

Source: https://devanswers.co/how-to-reset-mysql-root-password-ubuntu/

Scene of Memory


Sunday, March 24, 2019

Senoidal


Organizando Objetivos

Objetivo: oferecer uma ótima experiência de aprendizagem.
Para quem: você, que chegou até aqui.
Restrição: tempo.
Variável sensível (sob controle): preço.
Variável perigosa (incontrolável?): atenção.

Uma breve história do intrigante número e

Para apresentar o e, vamos supor uma situação bastante hipotética.

Imagine que um banco pague juros de 100% ao ano. Eu não falei que era uma situação hipotética? Mesmo assim, vamos fazer de conta que existe um banco com essa maravilhosa generosidade.

Após um ano, teríamos o montante de R$ 2,00 para cada R$ 1,00 aplicado.

E se, com uma generosidade inexplicável, os juros fossem creditados semestralmente, ao final de um ano teríamos R$ 2,25. Um sonho!

A expressão para esse cálculo é a seguinte:

(1 + 1/n)n = (1 + 1/2)2 = 2,25

Para o crédito ser trimestral, temos n = 4 e o resultado é 2,44141.

         Vejamos alguns resultados para diversos valores de n na tabela abaixo.





n
(1 + 1/n)n
1
2
2
2,25
3
2,37037
4
2,44141
5
2,48832
10
2,59374
50
2,69159
100
2,70481
1.000
2,71692
10.000
2,71815
100.000
2,71827
1.000.000
2,71828
10.000.000
2,71828




A “loucura total” seria calcular quanto seria o resultado para o crédito instantâneo, ou seja, com n tendendo ao infinito. Esse limite é um número irracional e transcendental chamado número e (número de Euler).

Um número é irracional quando não pode ser colocado na forma a/b com a e b inteiros. É transcendental quando não pode ser resultado de uma equação polinomial com coeficientes inteiros do tipo: axn + bxn-1 + ... + z = 0

Em termos matemáticos:

e = 2,71828182845904523536028747135266... E nunca termina.

Quem efetivamente calculou o número e foi Leonhard Euler, e dizem que a designação decorre da inicial de seu sobrenome, mas também existe a versão de que o e se deva à inicial de “exponencial”.

Esse número é a base dos logaritmos neperianos.

E se aquele banco generoso quisesse creditar juros instantâneos à sua aplicação de R$1,00, a 100% ao ano, você teria ao final de um ano o valor de:

R$ 2,71828182845904523536028747135266...

Ou, o que é mais provável, R$ 2,71, deixando aquela montanha de decimais ao banco. Afinal, esse banco merece!

Vamos, pois, ficar atentos à publicidade. Quem sabe não aparece um banco assim?

e=2,71828182845904523536028747135266249775724709369995957496696762772407663035354759451382178525166427...

Existem, entre outros, dois especialmente intrigantes: p e i.

p = 3,14159... Também transcendental.

i = Ö-1 porque i foi o símbolo adotado por Euler para a raiz quadrada de -1.

E olha só o que o Euler também conseguiu – uma correlação entre eles:

eiπ + 1= 0

         Mas isso já é coisa para os efetivamente matemáticos...

1984

O objetivo da classe dominante é deixar como esta.
O objetivo da classe média é derrubar a dominante.
O objetivo da classe inferior é criar uma sociedade onde todas as classes são iguais.


Sunday, March 17, 2019

Data Science Mindset

The world is opening up with possibilities for people who are quantitatively minded and interested in putting their brains to work to solve the world’s problems.

Monday, February 11, 2019

the trade-off between time and space

In computer science curricula, a common theme is the trade-off between time and space. In order to have a fast-running pro- gram, you may need to use more memory space. On the other hand, in order to conserve memory space, you might need to settle for slower code.

Thursday, February 07, 2019

Classification and List of Patterns

Creational Patterns


  •  Abstract factory: Provide an interface for creating families of related or dependent objects without specifying their concrete classes.
  •  Builder: Separate the construction of a complex object from its representation allowing the same construc- tion process to create various representations.
  •  Factory method: Define an interface for creating an object, but let subclasses decide which class to instanti- ate. Factory Method lets a class defer instantiation to subclasses.
  •  Lazy initialization: Tactic of delaying the creation of an object, the calculation of a value, or some other ex- pensive process until the first time it is needed.
  •  Multiton: Ensure a class has only named instances, and provide global point of access to them.
  •  Object pool: Avoid expensive acquisition and release of resources by recycling objects that are no longer in use. Can be considered a generalization of connection pool and thread pool patterns.
  •  Prototype: Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
  •  Resource acquisition is initialization: Ensure that resources are properly released by tying them to the life-span of suitable objects.
  •  Singleton: Ensure a class has only one instance, and provide a global point of access to it.


Structural Patterns

  •  Adapter or Wrapper: Convert the interface of a class into another interface clients expect. Adapter lets classes work together that could not otherwise because of incompatible interfaces.
  •  Bridge: Decouple an abstraction from its implementation allowing the two to vary independently.
  •  Composite: Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.
  •  Decorator: Attach additional responsibilities to an object dynamically keeping the same interface. Decorators provide a flexible alternative to subclassing for extending functionality.
  •  Facade: Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.
  •  Front Controller: Provide a unified interface to a set of interfaces in a subsystem. Front Controller defines a higher-level interface that makes the subsystem easier to use.
  •  Flyweight: Use sharing to support large numbers of fine-grained objects efficiently.
  •  Proxy: Provide a surrogate or placeholder for another object to control access to it. 
Behavioral Patterns
  •  Blackboard: Generalized observer, which allows multiple readers and writers. Communicates information system-wide.
  •  Chain of responsibility: Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.
  •  Command: Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.
  •  Interpreter: Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language.
  •  Iterator: Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.
  •  Mediator: Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently.
  •  Memento: Without violating encapsulation, capture and externalize an object’s internal state allowing theobject to be restored to this state later.
  •  Null object: Avoid null references by providing a default object.
  •  Observer or Publish/subscribe: Define a one-to-many dependency between objects where a state change in one object results with all its dependents being notified and updated automatically.
  •  Servant: Define common functionality for a group of classes.
  •  Specification: Recombinable business logic in a Boolean fashion.
  •  State: Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.
  •  Strategy: Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
  •  Template method: Define the skeleton of an algorithm in an operation, deferring some steps to subclasses.
  • Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm’s structure.
  •  Visitor: Represent an operation to be performed on the elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which it operates.
Concurrency Patterns

  •  Active Object: Decouples method execution from method invocation that reside in their own thread of con- trol. The goal is to introduce concurrency, by using asynchronous method invocation and a scheduler for handling requests.
  •  Balking: Only execute an action on an object when the object is in a particular state.
  •  Binding Properties: Combining multiple observers to force properties in different objects to be synchronized or coordinated in some way.
  •  Messaging pattern: The messaging design pattern (MDP) allows the interchange of information (i.e. messages) between components and applications.
  •  Double-checked locking: Reduce the overhead of acquiring a lock by first testing the locking criterion (the “lock hint”) in an unsafe manner; only if that succeeds does the actual lock proceed. Can be unsafe when implemented in some language/hardware combinations. It can therefore sometimes be considered an anti-pat- tern.
  •  Event-based asynchronous: Addresses problems with the Asynchronous pattern that occur in multithreaded programs.
  •  Guarded suspension: Manages operations that require both a lock to be acquired and a precondition to be satisfied before the operation can be executed.
  •  Lock: One thread puts a “lock” on a resource, preventing other threads from accessing or modifying it.
  •  Monitor object: An object whose methods are subject to mutual exclusion, thus preventing multiple objects from erroneously trying to use it at the same time.
  •  Reactor: A reactor object provides an asynchronous interface to resources that must be handled synchronously.
  •  Read-write lock: Allows concurrent read access to an object but requires exclusive access for write operations.
  •  Scheduler: Explicitly control when threads may execute single-threaded code.
  •  Thread pool: A number of threads are created to perform a number of tasks, which are usually organized in a queue. Typically, there are many more tasks than threads. Can be considered a special case of the object pool pattern.
  •  Thread-specific storage: Static or “global” memory local to a thread.

Data Access Patterns

  •  ORM Patterns: Domain Object Factory, Object/Relational Map, Update Factory.
  •  Resource Management Patterns: Resource Pool, Resource Timer, Retryer, Paging Iterator.
  •  Cache Patterns: Cache Accessor, Demand Cache, Primed Cache, Cache Collector, Cache Replicator.

Enterprise Patterns

  •  Presentation Tier Patterns: Intercepting Filter, Front Controller, View Helper, Composite View, Service to Worker, Dispatcher View.
  •  Business Tier Patterns: Business Delegate, Value Object, Session Facade, Composite Entity, Value Object Assembler, Value List Handler, Service Locator.
  •  Integration Tier Patterns: Data Access Object, Service Activator.

Real-Time Patterns

  •  Architecture Patterns: Layered Pattern, Channel Architecture Pattern, Component-Based Architecture, Recursive Containment Pattern and Hierarchical Control Pattern, Microkernel Architecture Pattern, Virtual Machine Pattern.
  •  Concurrency Patterns: Message Queuing Pattern, Interrupt Pattern, Guarded Call Pattern, Rendezvous Pattern, Cyclic Executive Pattern, Round Robin Pattern.
  •  Memory Patterns: Static Allocation Pattern, Pool Allocation Pattern, Fixed Sized Buffer Pattern, Smart Pointer Pattern, Garbage Collection Pattern, Garbage Compactor Pattern.
  •  Resource Patterns: Critical Section Pattern, Priority Inheritance Pattern, Priority Ceiling Pattern, Simultaneous Locking Pattern, Ordered Locking Pattern.
  •  Distribution Patterns: Shared Memory Pattern, Remote Method Call Pattern, Observer Pattern, Data Bus Pattern, Proxy Pattern, Broker Pattern.
  •  Safety and Reliability Patterns: Monitor-Actuator Pattern, Sanity Check Pattern, Watchdog Pattern, Safety Executive Pattern, Protected Single Channel Pattern, Homogeneous Redundancy Pattern, Triple Modular Redundancy Pattern, Heterogeneous Redundancy Pattern.

Some key figures that have influenced thinking about research


  • Plato (427–347 BC) and Aristotle (348–322 BC) – these represent the two contrasting approaches to acquiring knowledge and understanding the world (epistemology). Plato argued for deductive thinking (starting with theory to make sense of what we observe) and Aristotle for the opposite, inductive thinking (starting with observations in order to build theories).
  • René Descartes (1596–1650) – provided the starting point for modern philosophy by using a method of systematic doubt; that we cannot rely on our senses or logic, and therefore he challenged all who sought for the basis of certainty and knowledge. His famous maxim is ‘I think, therefore I am’, that is – I can only be sure of my own existence, the rest must be doubted.
  • John Locke (1632–1704) – made the distinction between bodies or objects that can be directly measured, and therefore have a physical existence, and those abstract qualities that are generated by our perceptions and feelings.
  • George Berkeley (1685–1753) – argued that all things that exist are only mental phenomena. They exist by being perceived. This is ‘our’ world.
  • David Hume (1711–1776) – made a distinction between systems of ideas that can provide certainty – e.g. maths – and those that rely on our perceptions (empirical evidence) which are not certain. He recognized the importance of inductive thinking in the advancement of scientific knowledge, but highlighted its restrictions in finding the truth.
  • Immanuel Kant (1724–1804) – held that our minds organize our experiences to make sense of the world. Therefore ‘facts’ are not independent of the way we see things and interpret them.
  • Karl Popper (1902–1994) – formulated a combination of deductive and inductive thinking in the hypothetico-deductive method, commonly known as scientific method. This method aims to refine theories to get closer to the truth.
  • Auguste Compte (1789–1857) – maintained that society can be analysed empirically just like any other subjects of scientific enquiry. Social laws and theories are based on psychology and biology.
  • Karl Marx (1818–1883) – defined moral and social aspects of humanity in terms of material forces.
  • Emil Durkheim (1858–1917) – argued that society develops its own
  • system of collectively shared norms and beliefs – these were ‘social facts’.
  • Max Weber (1864–1920) – insisted that we need to understand the values and meanings of subjects without making judgements – ‘verstehen’ was the term he coined for this which is German for ‘understanding’.
  • Thomas Kuhn (1922–1995) – revealed that scientific research cannot be separated from human influences and is subject to social norms.
  • Michel Foucault (1926–1984) – argued that there was no progress in science, only changing perspectives, as the practice of science is shown to control what is permitted to count as knowledge. He demonstrated how discourse is used to make social regulation and control appear natural.
  • Jacques Derrida (1930–2004) – stated that there is no external or fixed meaning to text, nor is there a subject who exists prior to language and to particular experiences. You cannot get outside or beyond the structure. This approach led to the movement called Deconstruction.

Friday, January 11, 2019

How did you learn math?


Nove níveis de consciência

  • Primeiro – Sobrevivência
     
  • Segundo – Condicionamento
     
  • Terceiro – Desejo de ser importante
     
  • Quarto – Claridade
     
  • Quinto – Realização
     
  • Sexto – Apoiar uns aos outros
     
  • Sétimo – Fluir com a vida
     
  • Oitavo – Conexão
     
  • Nono – Unidade