Wednesday, February 15, 2012

Java


I started to trying to work with Java. I downloaded JDK 7 . I wrote the first application "hello world" with instructions for windows from the Java tutorials . I wrote the application with the the notebook. I can tell that Command Prompt found "Hello World" but I couldn't figure out why the compiler failed to generate that ".class" bytecode file.

I'm looking at the instructions again and these instructions are for XP, 2000, and Vista, but it doesn't say windows 7. It also says that these are instructions for JDK 6. I'm not sure if this is the problem or not, and I don't really know where to start troubleshooting.

I'm gonna keep trying tomorrow with a tutorial that's a little more comprehensive and explicitly is for JDK 7 and or Windows 7. Like this one.

Monday, February 13, 2012

How did the Latin Perfect become the Italian Remoto?

I'm learning the perfect forms in Latin so I went to go look of the same thing in Italian out of curiosity. I noticed that the Perfect forms in Latin had become something which resemble the Pluperfect forms in Italian. I have to wonder what process may have caused this. It makes more sense of course to look at dialects, since written Italian was constructed after the spoken language had already diverged significantly from classical Latin into these various dialects. This then offers and interesting image of Southern Italian dialects, which commonly use the Passato Remoto form as a type of simple or perfect past. While Ceasar said "VENI, VIDI, VICI" milanese (both as a dialect and as a way of speaking Italian, indeed usage of the standard language varies just as much as dialects themselves) would say that as something more similar to, "sono venuto, ho veduto, ho vinto" whereas even in standard Italian you may here a Sicilian on the street say, "venni, vidi, vinsi". I would even go out on a limb and suggest that perhaps in the dialect the relationship between the perfect usages is even closer.

The sicilian usage I presented is the passato remoto. It's sort of a literary, or historical past. It can serve as a pluperfect to the trapasatto (which itself is the pluperfect) and Passato Remoto has its own pluperfect Trapasatto Remoto. In fact the complexity of tenses in Italian and most romance languages is indeed greater than even Latin! Futuro describes just the future, futuro anteriore refers to an event which is in the future but happens before another event in the future (thus it is like the past of the future), presente is the present, passato prossimo is like the simple past but it is a compound form with an auxilary, imperfetto is a past with the specific aspect of being an event which has no clear beginning or end, trapassato prossimo is like a pluperfect but implies aspect without requiring it, passato remoto is a literary past or historical past which is not connected to the speaker it can be used as a device of distance and it does convey some authority like what using the perfect in speech in english expresses, trapassato remoto is like the trapassato but refers to the passato remoto.

Passato Remoto did start out as more common in speech. Dante used passato remoto as a simple past, and interestingly enough he is now one of the most common thing we refer to using passato remoto!

Sunday, February 12, 2012

Lexical Categories at the Edge of the Word (Onnis, Christiansen) Cognitive Science 32 (pp184-221)

Today I read this article about the usage of bound morphemes and their role in helping children who are learning language to correctly identify parts of speech and the relationship between words. The goal of the study was to show that language learners may learn just as much from the affixes of words than their stems when learning a language and trying to figure out how words work together to compose sentences.

Experiment 1 consisted of database analysis of previously collected child utterances and analysed how these utterances displayed the understanding of a word, or its usage in a sentence only by identifying its affixes. This was paired with a control to show how the differences between correctly identified words based on affixes would matched if such groupings were randomly assigned.

Even though the statistics of experiment 1 showed that the part of speech which was correctly identified by its affix most often were nouns, the first grouping of affixes which are considered to be most important by the researcher were related to nouns.

"the following morphological affixes (in parentheses is the class that they
most often predicted, N = Noun; V = Verb ; O = Other). The cues are in decreasing order of importance: -ing (V), -ed (V), -y (O), -er (N), -or (N), -(o)ry (N), -ite (N), -id (V), -ant (N), e- (N), -ite (O), -ate (N), un- (N), -ble (O), -ive (O), an- (N), pre- (N), out- (N), -s (unvoiced; N), bi- (N), -ine (N)." ( 193)

The first five, also the most important to identifying the part of speech, are verb related: -ing (V), -ed (V), -y (O), -er (N), -or (N). Even the affixes which are not directly used to identify verbs are used to distinguish verbs from other parts of speech and thus they do refer to them. -y is common to adjectives even if they cannot be made from verbs so there seems to be multiple factors which contribute to -y being associated with this specific part of speech. In any case there are verbs which fit into each of these affixes as different parts of speech (dust (V): dusting(V), dusted(V), dusty (adj), duster(n). One question I have about this is how some of these adjective forms which include -y but do not appear in verb form, noun form, or appear in neither form got to be? Do their etymologies reveal this? I can be "lazing on a sunday afternoon", but was there ever a time when this would have made me a "lazer"? Likewise why can't we describe an actor, who acts, as "acty"?

The second part of the study looked at the idea that experiment 1 assumed that children at this stage are able to separate words into Stem + Affix and thus are able to identify the Affix. The identification of the affix is key to understanding the results of the experiment 1. A different study in 2001 with 18-21 MO children demonstrated that children were able to identify the correct usage of affixes in speakers even if they could not use these affixes themselves, which demonstrates a degree of understanding of the affixes. The study goes on to suggest that this may come from a language learning mechanism in the brain which is biased toward the beginnings and endings of words.

This phenomena of affixes is common in almost every language world wide. This is something I can tie in with the behavioral/economic psychology that Kahneman talked about in "Thinking". The cognitive process that he identified as "System 1" reads, or presents certain parts of or experienced more biased than others. One story that he told in a TED talk involves someone who's experience listening to a symphony was effectively ruined by the very ending of the recording which was damaged. Kahneman goes on to explain that it was not the experience, but the memory of the experience which was ruined by the "end-bias". Is it possible that a similar cognitive process is happening here, where the memory of the language experience is biased toward the end and beginning of the word. The only difference is that the frame has shifted from a long attention draining symphony to an incredibly short moment. The only difference is the size of the diet of experience.

Experiment 2 looked at how the same tool may function on the phoneme level instead of the morpheme level. This is another device used the researcher to remove any assumptions about the language learner's understanding of the Stem + Affix structure of the given language. The researchers essentially wanted to look at whether the same cognitive device can describe a phonological process instead of a morphological one. The result was that 66% of nouns were identified correctly verses a baseline of 34% (80% were identified correctly in the morpheme-centric experiment 1), 56% of verbs were identified against a baseline of 32% (54% were identified in experiment 1), and 47% of other words were identified verses baseline of 33% (about 30% were identified in experiment 1). The difference between this word-edge phoneme study and the morpheme study was negligible. How much of this comes from the fact that many of the affix morphemes also stand alone as phonemes? (-ing, -s, -ed (-/d/), -ch or -tch). It is important to identify that it can be difficult to find the causation here. Are morpheme-affixes tools for language learners because they also often break down along the same lines as phonemes? Or were speakers of the language more likely to add the phonemes as morphemes because of the ease that this shared trait brings? (I'm not sure these are the right questions which reflect this idea, but surely it is not clear why one influences the other and which one influences which.)

The third experiments tested the use of word-edges to identify unknown words which lacked a syntactic context. The idea here is that the only tool is the word endings where as the other experiments assumed or at least left unclear the role of the stem. This experiment specifically tries to avoid stems which may be easily identified on their own, looking only at the role that the affixes play in the identification process. The study looked at three groups. All groups were trained on 500 word types and tested on 4,230 words. This method worked best to identify verbs overall.

Saturday, February 11, 2012

Principles of Neuroscience

Lecture 2:


Primarily focused on what happens on the cellular level (this lesson is a summary of the cellular mechanisms which lie underneath)

CogSci focuses more on the higher level of the “systems” level (language, thought etc) , this lesson is a background of the systems level

The Neuron-Soma (the cell body, maintains the metabolic functions of the cell, the bulbous end of a neuron cell, can be considered the cell body )The Nucleus is contained within the Soma.

Neurons have processes (bodies which extend from the soma): the sending process or axon (how information flows from the soma to other neuron cells, the dendrites (the receptors or receive branch of the neuron cell), the dendrites then have spines or knobs which contain receptors, the synapse is the gap between any pair of neurons, neurons are linked by these physical extensions from the soma called processes, they link in such a way that they are not connected but leave a small gap called a synapse.

Information is transferred between neurons when a nucleus changes its electrical properties in some way. This electrical change causes some kind of chemical release into the synapse space between the dendrites of two neurons this process is then repeated in the dendrites of the receiving neuron, thus transferring information to the second neuron cell.

The physiological changes that allow for communication in neurons: a cell has a membrane, this prevents the flow of some ions (either from inside to outside of the cell membrane or across the membrane, the main point is that it is regulated), in the resting potential or electrical difference between the outside with respect to the inside of the cell is -70 milivolts (a very small amount of electrical energy, or change across the membrane) it is negative because of the trapped or captured positively charged ions (Na in the example Ivry gives) against the membrane of the cell.

During Neural transmission there are gradual changes in the membrane physiology, as different receptor events take place (it could get “excited” meaning that the negative charge across the ion is increased, or inhibitory processes or hyperpolarized) As these changes accumulate something called an action potential happens, this is where the changes in the membrane are so great that the charge is reversed to +50 millivolts and channels in the membrane are opened up which allow for Na to enter . This triggers the release of neurotransmitters. The Action Potential is generated right along the top of the axon non the dendrite.

De-Polarization, reaches threshold, channels open, physiological processes push the sodium back out, release electrical pulse towards the dendrites and the process is resolved and the cell membrane repolarizes.

Synaptic Transmission is the result of an Action Potential. When there is an action potential there are terminal points of the axon controlled by calcium (which is another ion, ions like to bond to other ions which makes these “bonding events” which change the chemistry of the neuron cell more likely) , these calcium channels open up at the Axon terminal. This causes transmitters to bind to the membrane of the axon either pre synaptic or post synaptic they are able to release transmitters into the synapse.

A presynaptic event takes place as part of the axon process or the process of the sending neuron cell

A post synaptic event takes place as part of the dendrite process or the process of the receiving cell

Little vesicles at the end of the axon, which contain neuron transmitters, allow these transmitters to be sent across the synapse to receptors on the dendrite by way of calcium channels formed by ions bound to the membrane.

This is actually two processes. The axon passively empties its neurotransmitters into the synapse because of the calcium bond pathway. In a separate event the Dendrite will have receptors for that specific neurotransmitter which allow the
neurotransmitter to bond with the dendrite as it is transferred out of the synapse.
This will then change a cause in the permeability of the membrane post synoptically (on the dendrite of the receiving neuron) This can be either a depolarization (excitatory, increase in membrane potential) or hyper polarization (inhibitory, decrease in membrane potential), this is very local process which happens only the dendrites but it can accumulate to the membrane of the entire receiving cell and the process starts over.

Neurotransmitters are specific chemicals contained in the vesicles of the cells which are able to travel over the synapse between two different cells. There are over 100 types of neurotransmitters and more are added every year. Scientists debate what the difference between a hormone and neurotransmitter are in some cases they are able to resemble each other. Ex: dopamine, serotonin, glutamine, epinephrine.
The receptors of dendrites have very specific “affinities” for neurotransmitters. Specific neurons are sensitive to receive specific neurotransmitters and send specific neurotransmitters. Generally cells are only able to transmit a single type of neurotransmitters but their receptors may be able to receive more than one type of neurotransmitter.

Because of this difference in affinities and the physical structure of the neuron cell it is possible that the locality of the production and distribution of certain neurotransmitters/chemicals differ. Dopamine for example is produced in one part of the brain. The central and stem structures contain most of the neurons which produce dopamine, but the axons of the cells may extend and as a result there are many cells throughout the brain which are able to receive dopamine. The same is true of serotonin. The central structures of the brain produce the chemical, but it is distributed throughout the brain.

Other cells in the brain: blood vessels, the glial cells (metabolic functions, repair, maintenance of the neuron cells in many ways, these are the cells the ensure that the “society” of neuron cells overall is functioning, they are charged with “cleaning up” the dead neuron cells) glial cells may improve the conduction of signals, this may be because there are two different types of glial cells which form a myelin, a covering or sheath of fatty tissue around the axon which speeds the transmitter. It does this by essentially being a membrane which conducts electricity better than the axon.

Another set of glial cells are called astrocytes which from the blood-brain barrier. Glial cells prevent the blood system from directly coming in contact with neurons. Astrocytes do this by allowing oxygen to pass from the blood over their cell bodies to the neuron cells.

There is an interesting field of research that studies the specifics in the relationship between the roles of the astrocyte and the neuron. Astrocytes and Neurons reacted similarly to outside stimuli and scientists therefore wonder if the astrocyte plays are role in the transfer of neurotransmitters that is greater than previously thought. Does this come from the fact that increased activity in the neurons as a result of outside stimuli simply means that the neurons then require more oxygen thus activating the astrocytes to play this intermediary role between the neurons and the blood cells? Other studies have selectively shut down the astrocytes because of differences between the chemical properties of the two cells. The paper written about this showed that this increased the neuron activity. Glial cells may modulate the sensitivity of the cells they are associated with. These cells regulate the activity of the neuron cell in some way.

Neurons cannot fire indefinitely, when the release neurotransmitters they must enter a refractory “recovery” period before they fire again.

There are probably 11 billion neurons in the cerebral cortex (twice as much if you include the sub-cerebral cortex and older parts of the brain). How do all of these small processes which happen at a sub-atomic level in the synapse control a complicated process like cognition? There are many types of size and shape of neurons. All neurons are very different. Some axons can be three feet long. Some have large dendritic arbors but few axons. Neurons are not more densely packed in humans than other mammals, we have more neurons only be virtue of the size of the human brain.

Interconnectivity is an important part of the process. There is more than a one to one connection. Massive dendritic arbors have many axons connecting them. Some neurons have 5,000 synapses. Each neuron is therefore only a few synapses away. Because of the intense interconnectivity between dendrites and axons information can travel to any part of the brain very quickly. Each neuron only contributes a tiny part to this process. Large cognitive events only take place because of massive numbers of neurons acting at the same time.

Parallelism- Many to Many communication between neurons. Any single neuron influences many neurons and is influenced by many many neurons. Parallelism at the system level: inputs at any part of the brain travels in a parallel way throughout the brain simultaneously because the neuron architecture, not from one region to another, more like to all regions all the time. Not a serial chain

Plasticity- there is some sort of change in the neuron. Learning is a structural change in the neuron. Development constantly reshapes the structure of the neurons. The receptors/neuron structures/ change the physical shape of the nervous system all the time, this allows for changes in the relationship between different parts of the brain. This can be talked about in terms of hardware (more dendrites, neurons, axons) or software (neurotransmitters, chemicals, receptors) the line between them is not clear at times because the receptors are physical part of the brain which corresponds directly to a specific “software” chemical in the form of a neurotransmitter.
(Optical neurons on infant and adult felines) Infant has more dendrites than the adult, but the adult dendrites are larger. Vision may require the pruning of many dendrites in order to develop more fully certain specific ones.

Friday, February 10, 2012

Diplomacy



I've been interested in diplomacy since i first saw it on the shelves at the wizards of the coast store. I thought it would be cool then just because of the cover but after looking up what it was I became interested in it because of sources which said that it was Henry Kissinger's favorite game. I've always said that I would go out and get a board or find one on eBay but considering that it took two years for me to get a Go board despite my interest I imagine that getting a Diplomacy set is still somehow far off.

Last year, maybe two years ago I found a website where they host online games and you can play with a bunch of players for free. So I started playing. I only played five or so games last time I did it. There are two things I like very much about diplomacy which drive me to play more and understand the mechanics of the game. The game is completely abstract and devoid of any form of chance. Also the game is just as much about relationships as the physical movement of pieces on the table. Looking at it like this one could view the game as a blend between more abstract games like Go and Role-Playing games. Where most of the game is played in communication and only a small portion of it is demonstrated on the board.

I really have a lack of games in my life right now so I'm going to start this game up again. I spent the better part of last night just reading strategy about the game, I guess you could say that I got pretty distracted from the other things I was working on. The game is a military strategy game where 7 players loosely play the powers of the first world war, England, Germany, France, Russia, Austria, Italy, and Turkey. The size of armies is base only on the number of certain "supply center" territories that any given power controls. All of the countries start with 3 except Russia which starts four. There are only so many of these supply territories which are not already controlled by a power at the beginning of the game so after the initial "expansion" period in the first round or so it becomes a zero-sum game for control of the board.

The key to what makes this game well designed is the balance of power and the balance of theaters. The balance of power is such that no one country could dominate the board in the early stages of the game without help from another. The early-mid game requires that players cooperate to some degree in order to position themselves for a later period of the game. This brief creation of self interest is what drives the game. Making alliances in many other games is difficult because there seems to be very little self interest involved. Like risk for example. One would only make an alliance with a player on the other side of the board, or with a power that touches only along the continent borders. Diplomacy is designed such that alliance is a survival mechanism until one power gains a degree of hegemony. That's the other aspect of the game which is interesting because at a certain point some power becomes hegemonic and his game becomes more strategic than diplomatic but the game is still interesting unlike risk because his hegemony is threatened by the fact that it becomes part of the self interest of everyone else to stop his growth.

The other part of the game is the plurality of theaters within a small space. Strategic articles always talk about the game as if it is two over lapping hemispheres. There is a northern and southern theater, these are mostly defined by bodies of water. The northern theater focused around the Baltic and Scandinavian states and involves the powers of England, France, Germany, and Russia. The southern theater around the Mediterranean and Balkan states involves Italy, Austria, Turkey, and Russia. Russia is in the unique and difficult position of being forced to play in both the north and the south theaters. There is also another natural division East and West. This is a very subtle difference because the only difference between them is that Germany and Italy are able to span the eastern and western theaters and that the East-West divide tends to evolve later in the game because it has no natural neutral supply centers at the beginning of the game. Italy cannot easily gain western supply centers without angering france and germany cannot easily enter into the east without upsetting russia or austria. These early supply centers are then used as bargaining chips in order to set up the alliances which will dominate the early part of the game. So it is set up so that these natural triangles between powers cause them to ally.

a)

This is a way for me to track my progress on a number of things I'm working on right now. I think this will be a fun way to reflect on things that are going on for me. I'm going to apply to MA and PHD programs in linguistics and cognitive science next year and I would like this to be a way to track my progress as I work toward a couple of goals. I may talk about the application process. Who I talk to, where I am looking at going, what requirements I'm trying to fill to get into a research position, but what I am more interested in is my progress. I'm currently working on a number of things:

I'm listening to, and taking notes on iTunes U classes from Berkeley's Psychology department about cognitive science. So I'd like to post my notes from the lectures I listen to here.

I'm also reading research papers on topics that I think may interest me, and that I may want to research myself in the future and I'll be responding here to those papers as well.

I may post in other languages as a writing exercise. I'm currently reading Pier Paolo Pasolini's unfinished Petriolio and J.M Le Clezio's Revolutions so I will probably write about things I'm reading in general.

I'm learning new languages as well. I'm active in the Classics department and learning Greek and Latin so I will probably post about interesting things that come from my study of those languages.

I also like games. All types of games interest me. I appreciate the structure and mechanisms which makes games playable and interesting. I like card games: particularly Italian card games like Scopa and Briscola. I like 2 player tactical and strategic board games, like Chess and Go. I also enjoy Acquire and Diplomacy