.Open My Random Reference Memoranda Uploaded from my Palm to Web Dec 2nd 2008 . Definitions abductive::="finding the best theory to account for the given data". optative_logic ::= "the logic of wishes" .See [Church56], footnote 63 asabiya::="The capacity for collective action by a group", to what extent do parts of a group act for the good of the group rather than themselves. An emergent property of a group that can not be applied to its members. Note: a group can be a member of a metagroup, and an individual in a group may be a subgroup of individuals... Asabiyas at different levels can compete. CF. Math/Computer models of flocks of birds & schools of fish .Source Ibn Khaldun 14th century, The Muqaddimah: An Introduction to History, trans Franz Rosenthal, 1958, Pantheon books, NY NY .Open Pattern templates .Open ThereforeBut . Name . Situation . Therefore . But .Close ThereforeBut .Open Alexander Pattern Language . Name . Example descriptions/plans of prototypical application . Context When it applies. Option: background, why it exsts, why general . Problem forces + constraints and their interaction. Especially unexpected constraints. May include design and construction issues. . Solution Static and dynamic rules describing how to make artifacts that fit pattern. .Close Alexander Pattern Language .Open GoF Pattern . Name & Class . Intent . Also Known As . Motivation . Applicabililty . Structure . Participants . Collaborations . Consequences . Implementation . Sample Code . Known Uses . Related Patterns .Close GoF Pattern .Open Grand98 . Name . Synopsis . Context . Forces . Solution . Consequences . Implementation . Java API usage . Code examples . Related patterns .Close Grand98 . Open MayTaylor03 . Name . Context . Problem .Open Forces .Close Forces . Solution . Rationale . Resulting Context . Related Patterns. .Close MayTaylor03 .Close Pattern templates .Open bib templates .Open Key0? Who & who & who What Where =TYPE Why Notes .Close where::=following .Set ACM Computing Surveys V33n1(Mar 2001) pp ACM Queue V2n5(Jul/Aug 2004) ACM Inroads & SIGCSE Bulletin V39n1(Mar 2007) & proc SIGCSE'07 pp- ACM SIGPLAN notices V39n3(Mar 2004)pp- ACM SIGSOFT Software Engineering Notes V32n6(Nov 2007)pp- .See http://www.acm.org/sigsoft/SEN/ ACM Trans Computer-Human Interact V7n2(Jun 2000)pp311-340 ACM TOSEM Trans Software Eng & Methodology V17n3(Apr 2008)#16pp- Advances in Computers V53(2000) American Scientist V95n1(Jan-Feb 2007)pp- Application Development Trends magazine(Apr 2004)p- .See http://www.adtmag.com/ Commun ACM V51n10(Oct 2008)pp- .See http://doi.acm.org/ Computer Journal V48n1( 2005)pp- Cutter IT Journal V13n11(Nov 2000)pp4-39 Dr. Dobbs Portal (Dec 12 2006) .See http://www.ddj.com/dept/ ICSE 2000 IEEE Computer Magazine V41n10(Oct 2008)pp- IEEE Software Magazine V25n6(Nov/Dec 2008)pp- IEEE Spectrum Magazine (Sep 2005)pp- IEEE Trans Software Engineering V34n5(Sep/Oct 2008)pp- J. ACM V49n2(Mar 2002)pp172-206 J. Systems & Software V75n1-2(15 Feb 2005)pp17-27 JOOP Journal of Object-Oriented Programming V13n6(Oct 2000)pp50-53 JOT V4n9(Nov-Dec 2005)pp- .See http://www.jot.fm/issues/issue_2005_11/column4 L J of the IGPL V10n1(??? 2002)pp51-83 LNCS 2863 <> 2003 -- The Unified Modeling Language Oct 2003, pp- MIT Technology Review V106n9(Nov 2003)pp- PCAI (May/Jun 2001)pp- CS Magazine for Security Professionals, (Feb 2007)pp- Software - Practice & Experience V35n15 (Dec 2005) pp1409-1493 Software Development Magazine V11n10(Oct 2003)pp- THE Journal V33n3(Oct 2005)pp- Wired (Nov 10 2005) .See http://www.wired.com/news/technology/bugs/0,2924,69375,00.html?tw=wn_tophead_3 .Close.Set .Close . m2mth See my tools . Palm maths shorthand .Open Short maths test .Address Dick Botting .1 Head1 .2 Head2 .3 Head3 . Head .Open headline body .Close headline .As_is as_is .Image dick4.gif test image . box .Box $1 2 .Hole 3 .Hole .Close.Box . list .List $1 2 .Hole 3 .Hole .Close.List . net .Net |- p. |- q. () |- p and q. .Close.Net . set .Set x .Quiz .Close.Set . Source .See me . let ()|- (and_in): if p,q then p and q . . Proof of and_in .Let |- p. |- q. () |- p and q. .Close.Let list .List .Close.List table .Table h1 h2 .Row r11 .Item r12 .Close.Table .Bibliography (1): .See [Botting00] .Close Short maths . 10 Commandments Exodus 20v2..17 I, the Lord, am your God, who brought you out of the land of Egypt, that place of slavery. You shall not have other gods besides me. You shall not carve idols for yourselves in the shape ofanything in the sky above or on the earth below or in the waters beneath the earth;l you shall not bow down before them or worship them. For I, the Lord, your God, am a jealous God, inflicting punishment for their fathers wickedness on the children of those who hate me, down to the third & fourth generation; but bestowing mercy down to the thousandth generation, on the children of those who love me & keep my commandments. You shall not take the name of the Lord, your God, in vain. For the Lord will not leave unpunished him who takes his name in vain. Remember to keep holy the sabbath day. Six days you may labor and do all your work, but the seventh day is the sabath of the Lord, your God. No work may be done by you, or son & daughter, or your male slave, or your beast, or by the alien who lives with you. In six days the Lord made the heavens & the earth, the sea & all that is in them; but on the seventh day he rested. That is why the Lord has blessed the sabath day and made it holy. Honor your father & your mother, that you may have a long life in the land which the Lord, your God, is giving to you. You shall not kill. You shall not commit adultery. You shall not steal. You shall not bear false witness against your neighbor. You shall not covet your neighbor's house. You shall not covet your neighbor's wife or female slave, nor his ox or ass, nor anything else that belongs to him. .Open 10 Sefirot of the Cabala A mystical flow diagram showing (1) descent of God into creation and/or (2) mystical ways to return and experience God. 10 nodes, 21 arcs. Spelling: "h"="ch". Sefirot ::= ($Keter, $Hokhmah, $Binah, $Hesed, $Gevurah, $Tiferet, $Nezah, $Hod, $Yesod, $Malkhut). Connections::={{1,2}, {1,3}, {2,3}, {2,6}, {2,4}, {3,5}, {3,6}, {4,5}, {4,6}, {4,7}, {5,6}, {5,8}, {6,7}, {6.8}, {6,9}, {7,8}, {7,9}, {7,10}, {8,9}, {8,10}, {9,10} }. Labels :: Connections >-> Hebrew . Alphabet. . Keter The supreme crown. The primal void/point that comes before any thing can exist. . Hokhmah Wisdom. The knowledge defining the world that is becoming. . Binah intelligence? understanding? palace? Separation into forms. . Hesed "chesed": mercy? grace&love? Inflation to infinity. Break/ of the vessels. . Gevurah strength/power -> Terror/awe/severe judgement. wrath & evil show themselves. . Tiferet light, beauty, pleasure. Harmony of rule & freedom. . Nezah netzach. endurance, forbearance, patience. Or victory . Hod "chod": majesty, glory, splendour. . Yesod foundation. Anima mundi. All states of being bound together. A bow pointing arrows at the kingdom. . Malkhut The kingdom. The earth See harold bloom, kabbalah and criticism. Isaac Luria 1534-72.celestial adam .Close . 10 STRESS zappers AARP jul/auq2005 games humor optimism work close friends altruism music prayer exercise learning .Open 101 WAYS TO COPE WITH STRESS Courtesy of the Tripler Regional Medical Center, Honolulu, Hawaii Get up 15 minutes earlier Prepare for the morning the night before Avoid tight fitting clothes Avoid relying on chemical aids Set appointments ahead Don't rely on your memory ... write it down Practice preventive maintenance Make duplicate keys Say "no" more often Set priorities in your life Avoid negative people Use time wisely Simplify meal times Always make copies of important papers Anticipate your needs Repair anything that doesn't work properly Ask for help with the jobs you dislike Break large tasks into bite size portions Look at problems as challenges Look at challenges differently Unclutter your life Smile Be prepared for rain Tickle a baby Pet a friendly dog/cat Don't know all the answers Look for a silver lining Say something nice to someone Teach a kid to fly a kite Walk in the rain Schedule play time into every day Take a bubble bath Be aware of the decisions you make Believe in yourself Stop saying negative things to yourself Visualize yourself winning Develop your sense of humor Stop thinking tomorrow will be a better today Have goals for yourself Dance a jig Say "hello" to a stranger Ask a friend for a hug Look up at the stars Practice breathing slowly Learn to whistle a tune Read a poem Listen to a symphony Watch a ballet Read a story curled up in bed Do a brand new thing Stop a bad habit Buy yourself a flower Take time to smell the flowers Find support from others Ask someone to be your "vent-partner" Do it today Work at being cheerful and optimistic Put safety first Do everything in moderation Pay attention to your appearance Strive for Excellence NOT perfection Stretch your limits a little each day Look at a work of art Hum a jingle Maintain your weight Plant a tree Feed the birds Practice grace under pressure Stand up and stretch Always have a plan "B" Learn a new doodle Memorize a joke Be responsible for your feelings Learn to meet your own needs Become a better listener Know your limitations and let others know them, too Tell someone to have a good day in pig Latin Throw a paper airplane Exercise every day Learn the words to a new song Get to work early Clean out one closet Play patty cake with a toddler Go on a picnic Take a different route to work Leave work early (with permission) Put air freshener in your car Watch a movie and eat popcorn Write a note to a far away friend Go to a ball game and scream Cook a meal and eat it by candlelight Recognize the importance of unconditional love Remember that stress is an attitude Keep a journal Practice a monster smile Remember you always have options Have a support network of people, places and things Quit trying to fix other people Get enough sleep Talk less and listen more Freely praise other people BONUS: Relax, take each day at a time...you have the rest of your life to live! .Close From: Kaiyan Li < (doer | thinker ). friendly helper: accepting doer Athene creator: accepting thinker Dionysius logical: rejecting thinker Apollo tough battler: rejecting doer Zeus . myers-briggs type indicator Based on Jung! MBTI ::= Net{social_interaction:{Introvert, Extrovert}, information_gathering: {Sensing, Intuitive}, decision_making: {Thinking,Feeling}, dealing_with_the_external_world: {Perceiving, Judging}, short_form::= (I|E) (S|I) (T|F) (P|J). }=::MBTI. One is dominant the other a back up. . Learning stiles Inventory style::= AE>< direction of action. direction of action = inward | outward. . Children children = lookers | listeners | movers. . Motives Maslow proposed a sequence of levels of motivation. Satisfaction of lower levels allows a person to move up. maslow_sequence_of_5_needs::= physiological; safety; love&belonging; esteem&self_esteem; self_actualization. maslow_sequence_of_8::=survive; pain&pleasure; tribe; control&power; salvation; material; (team | group | society); decisions&cognition; new information&experiential. However (1) people often lag behind at lower levels. (21st islamic terroists move from control&power to salvation and reject materialism) (2) males tend to move to the tribe or team levels - even to the point of suicide/self-sacrifice. . Max Abrahms People join terrorist organizations worldwide in order to be part of a community, much like the reason inner-city youths join gangs in the United States. -- to be a member of a team/group. ... Pay more attention to the socially marginalized than to the politically downtrodden. Terroism is essentially not goal oriented! . 8 management types Normal .Table people 0 9 .Row task 0 bureucrat democrat .Row task 9 benevolent dictator executive .Close.Table Under stress .Table people 0 9 .Row task 0 quitter missionary .Row task 9 dictator compromiser .Close.Table Perceived_groups::=(framling utlangen ramen wolf). . Bion's therapeutic group behavior Groups avoid task by (talking sex | vilify/ outsiders | venerating idols ). Felder's Learning styles: Sensing/Intuiting, Visual/Verbal, Active/Reflective, Sequential/Global dimensions. also see 5 stages of ... .Close .Open 5 Questions for doctors diagnosing How did you come to this conclusion? Is there anything that doesn't fit? What else could it be? Could two or more things be going on? What are the possible bad outcomes from this treatment/procedure? How often? .Source How doctors think By Jerome E. Groopman - Houghton Mifflin (2007) - Hardback= ISBN 0618610030 .See http://www.google.com/products/catalog?q=%22How+doctors+think%22 .Close .Open 5 Questions when Disagreeing. "If I understand you correctly, you are saying that " "How did you arrive at that view?" "Have you considered ?" "When you say this, I worry that it means ." "I have a hard time seeing that because of . .Source Quoted by Bob Rosner in SB Sun Business Section D 04/9/13 apparently from "The Fifth Discipline" by Peter Singe (Curreency 1994). .Close . 5+ stages of mourning::= ( denial; anger; bargaining; depression; acceptance ). Behavior_patterns::= relatively_ pleasant; #repeated; habitual; comfortable | relatively_painful; #avoided; habit(avoid); distasteful. Team_formation ::= form; storm&groan-zone; norm; perform. Piaget ::= 0..18.months -> sensory_motor; 2..11.years -> concrete_operations; 12.years.. -> formal_operations. sensory_motor ::= learn/ objects . concrete_operations ::= learn/ (number, class, quantity) . formal_operations ::= learn/ (systems, principles, coordination) . Example: if x is_taller_than y and y is_taller_than z then x = the tallest{ x, y, z }. The_learning_cycle::#(process>Syllogisms .Open Big O notation bigO big_O big-O f(n) in O( g(n) ) ::= for some c, n0, all n, if n > n0 then ( f(n) <= c * g(n) ). Can you find c, and n0? Look at the contrapositive! if f(n)>c*g(n) then n n0( f(n) > c * g(n) ). f(n) asymptotically_equivalent_to g(n) ::= ( lim[n->oo](f(n)/g(n) ) = 1). ?? f <<< g ::= for all c, some n0, all n, if n>n0 then ( f(n)/g(n) <= c ). Some Notes on the bigO Asymptotic Formula used in Computer Science Follows and extends Brassard & Brately 1988 "Algorithmics" PHI. Motivation: the standard way to represent the efficiency of algorithms. The order of a function ignores small values (which don't matter very much in most practical situations) and the speed up effects of changing a platform. Definitions P:=Positive & Real. F:= Nat -> P. For f:F, O(f)::={ t: F. for some c:P, n0:Nat, all n:n0..( t(n) <= c * f(n) )}. For f:F, \Omega(f)::={ t: F. for some c:P, n0:Nat, all n:n0..( t(n) >= c * f(n) )}. For f:F, \Theta(f)::=O(f) & \Omega(f). For f,g,h:F, c:P, n,n0:Nat. 1::F= map [n](1). Abuse of notation: we traditionally write an expression containing `n` to indicate the function of `n` in F. So for example `n` is short for the `identity` function `map [n](n)`. Expressions that have functions as arguments: (f+g for example) are interpreted pointwise. (f+g)(i) = f(i)+f(i). Expressions of sets of functions (like 20+O(f)) mean taking all possible combinations: (STANDARD)|- f =[O] g iff O(f)=O(g). . Note on Proofs Proofs that some f in O(g) from the definitions can be challenging because we often have to guess the values of c and n0. There is a lot to be said for memorizing the 15 or so results below and use these to work out the orders of a function. . Results ()|-(Oreflexive): For all f, f in O(f). ()|-(Otransitive): if f in O(g) and g in O(h) then f in O(h). ()|-(2): For all a:P, f, a*f in O(f). ()|-(3): for all f,g, if for all n(f(n) <=g(n)) then f in O(g). ()|-(4): for all f, g, if f in O(g) then f+g in O(g). (3)|-(5): for all p:Nat0, q:Nat0, ( if p<=q then n^p in O(n^q) )and (if pReal }. Exponential::={ map[x](a^x). some a:P}. Logarithmic::={ map[x](log[a](x). some a:P}. (2,4)|-(6): for all f:Polynomial(p), f in O(n^p). ()|- (7): for log: Logarithmic, log in O(n) and not n in O(log). ()|-(8): for exp: Exponential, n^p in O(exp) and not exp in O(n^p). ()|-(9): log[a](n) =[O] log[b](n). ()|-(10): a^n =[O] b^n. ()|- for some f,g, not f in O(g) and not g in O(f). ()|- (11) log in O(sqrt) and not sqrt in O(log). ()|-(12): For k:0.., sum[i:1..n](i^k) in \Theta(n^(k+1)). ()|-(13): sum[i:1..n](1/i) in \Theta(log). ()|-(14): log(n!) in \Theta(n* log(n)). ()|-(15): f =[O] g iff f =[\Theta] g iff f in \Theta(g). ?? if f in O(h1) and g in O(h2) then f+g in O(h1+h2) and f*g in O(h1*h2). .Close . Build -- W. Shakespeare, King Henry IV, Part II. When we mean to build, We first survey the plot, then draw the model, And when we see the figure of the house, Then must rate the cost of the erection. .Open Persuasion Cialdini: Influence: The Psychology of Persuasion by Robert Cialdin, pub Quill; ISBN: 0688128165. Motivators: . Reciprocation Like to give back what we get. . Scarcity . Authority Spokes person . Comittment and consistency: yes yes... first agree with logically consistent with target. ?? cognitive dissonance. . Consensus go with the crowd . Liking Can be used to fool a person: ONCE. .Close . Clippings+scraps Those who ignore a good theory are condemned to confirm it! The recyclic nature of software work. "Beliefs are more powerful than facts," Duke Paulus Atreides, Dune: House Atreides. Disturb not the scholar in his ivory tower for your empires are mere dreams to him?? Geordy Dickson, the tactics of mistake . Coase transaction costs firm vs hiring tmps trading vs externalities equilibrium . Complexity NicolisPrigogine89 phase transitions. fluid convec§: as \Delta T increases -> 3 phases(small random varia§s; order\ cells; chaotic). transition to order requires a random choice - break/ symmetry. Chemical systems - clos\ & asymptotically stable vs open & unstable( bistable, hysterisis, cyclic., turbulent) Autocatalysis. conservative systems - reversible - time space symmetry - don't forget disturbances disipative systems - not reversible - tend to forget some disturbances algorithmic complexity. biology. climate. . Conferences -- 1 day trip Wear suit shirt underparts socks shoes Pockets: tickets, palmtop, pens, photo-id, Tissues, Tchecks, cards, digestion, 3 hankies, cash Bag: Teeth (gum, brush, paste), pointer, hankies, (batteries | charger), paper&AVs, box ( tie, clean underparts, socks, shirt ), shaver, 3 bars food, sleep: socks&mask&plugs. . Conferences -- Why and how to attend. Prestige of presentatation is the smallest part. Goal: Find topics, problems, and review current state of the art. Ask questions. Schedule arrival to register, check in, and collapse. Carry cash for taxi and bell hops. Schedule departure around hotel check out -- if necessary stay an extra night and leave early to early flight. Note: can check bags only 4 hours before flight. Go to panels, discus§s, lunches, BOFs, wash ups, workshops, small sessions. Listening to presentations is worth something if you can ask questions. Otherwise Read papers and Contact authors. Clothes: ICSE Business suit OOPSLA silicon valley grunge SCI california business/florida casual smart Carry a complete AV Kit with pointer and OHP pens/foils. Take notes on paper and debrief to electronic. . Consensus -- Karel von Wolferen, Wired 7.10 p258 Consensus is a state of affairs in which no concerned party thinks it worthwhile to upset the applecart. compare with Pareto and Nash equilibria. .Open Cooper99 User Interfaces . Problems Cognitive friction. programming is difficult! programming + interaction design is impossible! Triangle := business + enginering + design. dick: `with no designers the users get shafted`. Homo Logicus: prefer to pilot the plane than be a passenger - choosing to fight complexity to gain control. They want to understand how things work more than use them - prefer a dismantled a clock that they understand to one that works. They are interlectual jocks - superior by making others feel stupid. False goals - technical with 0 user value. . solution first catch your user. Personas; Goals; Scenarios. persona := `a precise named picture of an imaginary user and his/her goals/motivation`. Not broad but precise - even if wrong! Not sets or averages but individuals. Not edge cases. Not a buyer who won't use it. Design for one user only. "We are designing for Rosemary not somebody". cast := 3..12 personae. May include some negative personas that we are `not` designing for. How happy do we need each to be? -> select a few Prime personas. personas have goals ( purposes / ends) that are personal and practical. There are also corporate goals. Tasks are not goals, they lead to goals. Tasks depend on technology but goals stay the same. Tasks often seem to oppose their goals ( war vs peace ). Tasks are transient and goals permanent. Goals may involve many tasks but the tasks must not disguise or block their goal. Let user achieve practical goals without violating personal goals. cf. London: `make system run down hill`. See motivation theory. Politeness! Scenarios := concise description of how a persona achieves a goal. Act them out to test a design. Play the part of the specific user, not the computer. daily use + necessary use + edge cases. Product success depends on handling the first two, The code must also handle the last. Interaction design focusses on daily and necessary scenarios - both must need to be learned quickly but only daily uses need shortcuts and customization. inflect the interace: daily uses are prominent, the options are out of normal sight. Most people will be somewhere between beginner and experts. But programmers write for experts and marketers sell to beginners. Therefore design for perpetual intermediates. Techniques: pretend its magic, make a vocabulary, break open cliches, lateral thinking Good design is like service in a good restaurent - invisibly smoothing the experience. It is also frustrating because afterwards the good solution is obvious: "of course the wheel is round". . non-solutions Programming is poring the concrete, so do the design first. Usability testing detects problems but won't give you better ideas. Style guides may not fit your particular user's goals. Focus groups of users tell you what is bad but don't come up with good design ideas. Graphic design can paint the corpse but not make it live. Industrial design makes it fit the hands not the user's sequential needs. New technology/media is likely to be as frustrating as the old. Iteration is slow, expensive, abusive, and needs a rock solid brand name. . management Riding the tiger. Chasing autos ( marketting, coders, sales, ... ). Dragged to follow customers: feature accretion into a dog's breakfast; give up leadership. brains or gray hair. Need long view, responsibility, time, ... like the movies: pre-production, production, post-production. The pre phase plans to save time and money in production. During production managers fetch the pizza. Design documents are equivalent to code: complete, specific, detailed, blueprints. Spiral structure. What vs how. Programmers are not responsible for the user's experience - they solve the technical problems. Where do interaction designers come from? .Close .Open CORT . CORT FI-FO Review FI: Find information in your thinking. FO: Find information outside your thinking. . CORT PISCO 1 Purpose - what do I want out of this thinking. Types ::={ find, organise, decide, create , number, map}. type::Types. area - general specific - who, what, when, where, . . . Do a TEC. to fit general area If several purposes, do a PISCO on each. . CORT PISCO 2 Input - survey what is known and unknown. urgency: time, importance, pressures. situation: who is responsible+what factors: people objects things. interactions. knowledge - experience, info, data, unknowns, questions; sources; answers. put on cards & collide by shuffle. futures - Have/given + Need/goal, forces, short scenarios: null + worst + best Do a TEC! Do a FI-FO (Info in and out) [ original input = background, foreground, futureground, surround ] . CORT PISCO 3 SolutionS - Find many before you choose! include bad and improved. First set a quota of alternatives. Quota should be >= 3. Alphabet! look for do-nothing, obvious, algebraic, changed purpose - PISCO, do a TEC, ... add improvements of what you've got. Eg. Reduce uncertainty, improve worst case, combine advantages look for common factors & invariants then try to find ways to vary them. random stimulation. .Table Solutions a b c d e f .Close.Table . CORT PISCO 4 Choice - my choice to fit my Purpose because .... for each solution rank by: .Table Solutions a b c d e f .Row PMI 0 0 0 0 0 0 .Row feel 0 0 0 0 0 0 .Row ease 0 0 0 0 0 0 .Row cost 0 0 0 0 0 0 .Row fit 0 0 0 0 0 0 .Row consequences .Row best 0 0 0 0 0 0 .Row likely 0 0 0 0 0 0 .Row worst 0 0 0 0 0 0 .Row plan B 0 0 0 0 0 0 .Row risk 0 0 0 0 0 0 .Close.Table Priorities Review the solutions>Q, a then P. P= d->Q | e->R, choice. P= (x:A->Q(x)), choice. P= Q||R, parallel. P= Q []R, choice. P= \tick. e?x, input from e into x. e!x, output to e from x. . CTL Modal Logic AX p = in all neXt states p is true EX p = in some neXt states p is true. |- (agx): AG = (_) and AX AG(_)). |- (egx): EG = (_) and EX EG(_)). |- (afx): AF = (_) or AX AF(_)). |- (efx): EF = (_) or EX EF(_)). |- (eux): EU = (2nd) or ((1st) and EX EU(_) ). (eux)|- EU(p,q)= q or ( p and EX EU(p,q). |- (aux): AU = (2nd) or ((1st) and AX AU(_) ). (aux)|- AU(p,q) = q or (p and AX AU(p,q) ). . Cultures and organizations culture ::= norms + rituals+ symbols+ stories+ 1 language system ::= #(mythos -> ethos -> bios -> ecos -> ). Ethos (behavior) includes technology. nondeterministic. Possibles & probables - examples: ny state power failure -> birthrate^. Causal links only obvious in hindsight: hippopotamus hunting -> bilharzia. Nonlinear: chaos. Mimetic processes for communicating systems. Geographic input. [DiamondJ03] organization type::= Zeus | Apollo | Athene | Dionysius. Zeus::=`spider webs of personal power`. Apollo::= `temple hierarchy`. Athene::=`web of teams` . Dionysius::=`individual professionals`. Larry Miller's stages := prophets; barbarians; builders & explorers; administrators; bureaucrats; aristocrats. Organizational_life_cycle ::= creativity -> leadership_crisis; formalize; direction -> autonomy_crisis; delegate; delegation -> control_crisis; coordinate; coordination -> red_tape_crisis; collaborate; ->? exhaustion. rota_fortuna ::= #( peace -> wealth -> pride -> war -> poverty -> humility -> ) See 4 types of people . Curvature curvature(t +>(x(t),y(t))) ::= (x'*y'' - y'*x'' ) / (x'^2+y'^2)^(3/2). . Domestic Data latex Paint 400sqft/gal . De Bono Biodics Metasystem(=religion): self-organizing systems. self space ==> life space Not dialectic but exlectics Respect more workable than love. Action is good, but contemplation is an action. EPA .Open De Bono on Thinking . Rightness R ::= ( Emotional, logicAl, Unique, recOgnition ) vs. proto-truth (scIentific, not disproved yet). . Mistakes M ::= ( monorail, magnitude,misfit, must be, missout ). . Understanding L ::= (describe event, porridge words, give a name, give a structure, blueprint (names+structure)). . CORT Frameworks PMI, OPV, EBS, ADI, CAF, APC, C&S, AGO, FIP, TEC-PISCO (>=> Palm/memo/CORT* ) . Happiness Purpose Life space <== Self space. EPA . Steps Normal: copy, modify, improve, implement, abstract, make practical, build on, negative-positive Lateral: set quota/list; explode, force fit, reverse, extreme, forbid, Po, random, jump off, change medium/mode, change personel, rotate focus, map/tabulate/draw, contrast/promin Review: assumptions, evidence, FI-FO, boundaries, invariants, fixed components, defects. bubble logic & logic bubbles. . Put on different colored thinking hats Hat Colors White - facts, figures and objective information. Red - emotions, feelings, hunches and intuition. Black - logical negative, judgment, caution, worst case scenario. Yellow - logical positive, feasibility, benefits, best possible scenario. Green - new ideas and creative thinking. Blue - control of the thinking process, broader overview. (The Six Hat Method, Holst Group, reported in The Observer 12/Sep/2004 London UK) .Close .Open Design Patterns .Open GoF Design Pattern Catalog . Creational Patterns Abstract Factory, Builder, Factory Method, Prototype, Singleton . Structural Pattern Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy . Behavioral Patterns Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, Visitor .Close GoF Design Patterns .Close . Digits have phonetic Mnemonics 1 td 2 n ng 3 m 4 r 5 L 6 j ch sh 7 kg 8 fv 9 bp 0 zs passcodes? 90710 92404 pen raisor log[10]\pi .4971 ropey.cat 000021527 Senate Link. . EMACS c=ctrl m=esc exit cx cc help ch k;f;a ?T UNDO CX u clear window Cx1 . Ergonomics EHS work station evaluation Microtrauma sitting collapses organs so reduces blood supply no motion-> waste not removed lymph system efficiency - straight to get force in ballance straight ->disks shares load avoid twist&bend adjust, power posture, vary - posture & eguipment, freqt stretchs(card) back extn§ b4 lift/ exceptional_children ::mnemonic = { Computational, Hardware, I/O and files, Library functions, Data input, Returned value from function, External user/client, Null pointer and memory }. .Features Features Funhouse: SD Mag Describe proposals like an optician describes spectacles... a feature at a time . Remember the Future Ask your customer what you need to know. Goal: Understand your customer’s definition of success. Activity: Hand each of your customers a few pieces of paper. Ask them to imagine that they’ve been using your product continuously for one week. Ask your customers to write down, in as much detail as possible, exactly what the system will have done to make them happy (or successful or rich or safe or secure or smart—choose the adjective that works best for your system). Note that the question’s phrasing is extremely important, as you’ll get different results if you ask “What should the system do?” instead of “What will the system have done?” If you’re skeptical, just try it. . Fighting Jetlag the Forbes way Reset the body's clock, one hour per day, before you leave, to sleep at the time where you land. Lots of water, no cafeine, no alchohol. Exercise inflight. Arrive at night? Sleep inflight! Arrive in day? Keep awake. . Flower Meanings # $NetBSD: flowers,v 1.2 1997/03/26 06:30:56 mikel Exp $ # @(#)flowers 8.1 (Berkeley) 6/8/93 # # Upside down reverses the meaning. African violet:Such worth is rare. Apple blossom:Preference. Bachelor's button:Celibacy. Bay leaf:I change but in death. Camelia:Reflected loveliness. Chrysanthemum, other color:Slighted love. Chrysanthemum, red:I love. Chrysanthemum, white:Truth. Clover:Be mine. Crocus:Abuse not. Daffodil:Innocence. Forget-me-not:True love. Fuchsia:Fast. Gardenia:Secret, untold love. Honeysuckle:Bonds of love. Ivy:Friendship, fidelity, marriage. Jasmine:Amiablity, transports of joy, sensuality. Leaves (dead):Melancholy. Lilac:Youthful innocence. Lilly of the valley:Return of happiness. Lilly:Purity, sweetness. Magnolia:Dignity, perseverance. Marigold:Jealousy. Mint:Virtue. Orange blossom:Your purity equals your loveliness. Orchid:Beauty, magnificence. Pansy:Thoughts. Peach blossom:I am your captive. Petunia:Your presence soothes me. Poppy:Sleep. Rose, any color:Love. Rose, deep red:Bashful shame. Rose, single, pink:Simplicity. Rose, thornless, any color:Early attachment. Rose, white:I am worthy of you. Rose, yellow:Decrease of love, rise of jealousy. Rosebud, white:Girlhood, and a heart ignorant of love. Rosemary:Rememberance. Sunflower:Haughtiness. Tulip, red:Declaration of love. Tulip, yellow:Hopeless love. Violet, blue:Faithfulness. Violet, white:Modesty. Zinnia:Thoughts of absent friends. . Forcefield Analysis Now, goal, barriers; trends; forces; people; tools; unknowns: chance; hidden; research; best..worst -> better .Open Getting Things Done -- GTD -- David Allen life-hacking top-down Collect all the stuff. Anything that can be done in 2 minutes: do it. Process each piece of stuff in a precise way: classify, label, retrieve. EG: email:={to be read, to be answered}. To do lists (next-action lists). Describe items on to do lists as concretely as possible -- ready to be executed without thought. "small scale cleverness" Sort by: how long will it take, where are you, what devices, what people to hand? Free of worrrying about things to do. aggreements with yourself that are undischarged. Open loops: Make projects of intentions, file, list History: UCBerkeley, Bookbinder, drugs, breakdown, karate, hospital, Roger Hinkins MSIA est .Close . Ginac99 quote "Software developers tend to view the world as if it were wrapped in a giant if-then-else statement. When faced with the challenge of solving a problem, they tend to consider only the logical elements of the problem, ignoring the emotional elements. [ ... ] They don't like being told what to do or how to do it. [ ... ] They are very curious." . Goal analysis Analyse (goal g)::=following .( explode -> subgoals; classify subgoals as fuzzy | duplicate | unwanted | performance. Delete unwanted & duplicate. For f:fuzzy, Goal analysis(f),delete f. Quantify; qualify; specify check that list guarantees g. Results thin air | ok | surprise;(mea culpa | change subject | new problem) control chart ). . Good writing can't make a bad idea work, bad writing can stop a project starting. .Open Grants TSSA Teaching Skills Study award SOTL Scholarship of Teaching and Learning PSP Professional Study program FPDCC for content/research ion a discipline Grants D Berleant Comm ACM V43n8(Aug 2000)pp24-25 . Good early. typography: san-serif headings, body <12pt narative has abstract & conclusions refer to self as "we". . Bad Duplicated summary in narative. Numbered sections in narative as subsubsections. Grants M Brasch 10/2/99 EECR1189 . Note CSUSB Distance learn/ hispanic outreach. . Introduc§ paperwork! big -> www latency! . Success factors 2:1 = prep:write. Latest info Partners, interfaces, & collabora§ is want\. Contact business & congressmen. real & positive Available -> handout. . Define organisa§ Boilerplate: org+environment stats Plan 1..5yrs: Prioritize needs/ideas Competencies/strengths:we have... Support systems: who does admin communifation etc.- its a contract... staff devt. .Open Proposal structure see handout for generic. . Follow rules Use given format or its trashed! eg. SB county reqs 2sided recycled paper! Watermark . Intro sum&overvu . Statement o need knowledge<-ressarch . p desc timeline who, do what, when diagram?color?layout ask! . Budget . Organisation History names contacts constituency qualifica§s . Conclusion .Close Proposal structure . Source devt www.infoed.org -> info.office smarts -> specialized . Budget not too little or too much. Must fit -> needs. Costs...., matching genuine consultants! Be ready for a Phone call nego§ session. Never say no, repropose. . Writing ask not beg: invite investment in a partnership. not hesitant: "may be able", "we hope". "we strongly believe" Don't men§ mistakes/failures/political smart not cute, nothing extra sell idea,process, product rules: margins, type size,length readable-check check data,check data,check data,.. Promise what you can do, then deliver what you promised Include how it will continue . Letter of intent 2 or 3 Pages, Hook up front Show you know about agency & share its goals. top person must sign !(forgo brag points) . Critique . Evaluate continuous thruout whole progect. Thank, invite, . Success Say thank you! Invite themto elebrations! Send results. .Close . GRASP Assign responsibilities to object/class: .List to the Expert. to the Creator. to a Controler. to give Low coupling. to give High cohesion. to use Polymorphism. to a Purely fabricated class Indirectly. Don't talk to strangers/Demeter see cs375 . Guildford generates solutions factorize, vary the factors, recombine. . Historical Dynamics .Open Peter Turchin Historical Dynamics: Why States rise and fall ISBN 0-691-11669-5 $35 Princeton UP (complexity) 2003? D16.25 T87 3rd Asabaya? Ability of people to work for society rather than selves. Agrarian societies are unstable. Every 100 years the peasants revolt. dN/dt=r *N*(1-N/k(S)), dS/dt=N*(1-N/k(S))-\beta*N, k(S)=1+c *S/(s0 + S). Societies tend to appear where there used to be active borders. .Close eg. Anastasi Toynbee. Challenge&response. mimetics. Spengler. pre_culture; Culture & (Feudal &(formation; breakdown); Aristocratic; absolutism); Civilization & (Revolution; transition; Caesarism; Final); aftermath. McCulloch. landed aristocrats vs plutocrats. =~=Whig vs Tory Asimov. Successful Emperors put down successful generals. Diamond. Geography rules! . history of methods and processses 40 Monolythic after math 50 math subprograms 60 modules 70 SP info data ddd 80 " " " dad 90 objects processes 00 XP/agile . how to get key Questions from many qns -> cards, 3 times {shuffle, rate pair cards out of 7} , sum, ask for card with max total down. I will not fear. Fear is the mind killer. . Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain. Frank Herbert . IEEESw authors mission=build community, topics..., style = readable, length <5400.words, 1.fig=200.words, normally refs <= 12. only republish best, process= ( submit 1 printable+ 1 source; peer reveiw -> significant revision; edit for errors, style, content -> concise +well-worded+useful ). . Odd Theorem if for all x(f(x) or g(x)) then (all f or some g) . Proof of Odd Theorem .Let (let) |-(1):for all x(f(x) or g(x)) (let) |-(2): not(all f or some g) (2) |-(3):not(all f) (2) |-(4):not(some g) (3, x:=v) |-(5):not f(v). (1, x:=v) |-(6):f(v) or g(v), .Case f(v), (5) |- $RAA. .Else g(v), (4, x:=v) |-not g(v), (5) |- $RAA. .Close.Case .Close.Let . Introduce person template PERSON::= following .Net name:: ... ugrad degree:: ... highest degree:: ... area:: ... kicker:: ... now:: ... .Close.Net .Open Jackson's 2001 problem frames. Also see .See http://en.wikipedia.org/wiki/Problem_Frames_Approach on the wikipedia for a more uptodate summary of the .Key Problem Oriented Approach to requirements and software development. .Open Jackson01 Michael A Jackson Problem Frames: Analyzing and structuring software development problems Addison wesley 2001 ISBN 0-201-59627-X QA76.76 D47 J32 2001 .Close domains: machine, designed, given. domains: symbolic/lexical, causal, biddable. Domains are shared between subproblems. Each subproblem has its own machine. Do NOT put two or more subproblems into a single diagram. Diagrams: context, problem, problem frame, statediagram, tree diagrams(JSP). Description domains: symbolic and describes a requirement refering to phenomena in other domains. Requirements refer to domains and constrain domains. Connections/interfaces are phenomena shared between two or more domins. Shared events normally have one controlling domain. Interfaces can be causal, symbolic, or a set of shared events, A connection domain describes indirect and complex connection between domains. .Net Phenomena: individuals or relations. Individuals: entities, events, values. Relations: roles, states, truths. Roles: @(events, values). states: @(entities, values). truths: @ # values, relationships: @ # entities. .Close.Net Continuous vs discrete phenomena. Distinguish definition, designation, assertion. Frames. Basic Frames: required behavior, commanded behavior, Information, display, simple workpieces, transformation. Variants. Add descriptions, operators, and/connections. Control variant: change the controler of a shared event(inversion). Problems: audit, behaviour, Decompositions. Introduce a model, separate perfect from imperfect, Concerns. Frame. Givens & machine_specification implies Requirement. Note one problems given is another problems requirement. overrun, initialization, reliability, identities, completeness. Breakage, commensurability, conceptual. STD/FSM/modified UML statechart. Shows events that are rejected, and those that are rejected. Also can show a special unknown state, .Close Jackson's 2001 problem frames. . Jackson's domain characteristics. domains have dimensions, |dimensions| in 1.., domains >== { tangible, intangible }. domains >== {formal, informal }. domains >=={bounded,unbounded }. tangible ==> informal ==> unbounded. domains >== { static, dynamic }. dynamic >== { inert, reactive, active }. active >== {autonomous, biddable, programmable }. 2001 active >== {causal, biddable, lexical } .Open Jackson's problem frames. FRAME::=following, .Net principle_parts::Sets, domains::@principle_parts, relationships::@principle_parts, -- natural and required |-no relationships & domains. |-principle_parts = relationships | domains. machine::domains, -- that which is to be built, shown with 2 stripes other_domains::=domains~{machine}, |- other_domains>=={designed, given}. designed shown with one stripe. connections::@(domains, domains), -- shared phenomena, 2001 connections::@@domains, -- shared phenomena, whole_part::@(domains, domains), constrains ::@(relationships, domains). .Close.Net . simple IS frame simpleIS::=FRAME with following .Net |- machine=system. |- other_domains= { real_world, information_outputs, information_requests}. |- relationships={ information_function}, |- constraint= information_function +>other_domains. |- connections= system +>other_domains , |- whole_part={}, |- required=constraint. |- real_world is static | dynamic & active. |- system does not control real_world. |- information_requests is active & dynamic. Methods: model simulated in system, JSD. .Close.Net may need a connection frame between system and real_world. . simple control frame control::=FRAME with following .Net |- machine=controler, |- other_domains = {controlled_domain}, |- connections= controller+>controlled_domain, |- whole_part={}, |- relationships={ desired_behavior}, |- constrains = desired_behavior+>controlled_domain, |- controlled_domain is dynamic & active & reactive. controler does control controlled_domain directly or there is a need to solve problem with connection_domain. controlled_domain may have parts, -- washing_machine + user. controlled_domain must have 2 descriptions -- indicative and optative. .Close.Net . connection frame connection::=FRAME with following .Net used when a connection is needed between parts but there are no shared phenoma connecting them. |- machine=connecting_machine, |- other_domains={a, b, ac, cb}, connections={}, |- whole_part= a+>ac | c+>ac | b+>bc | c+>bc, |- relationships = {achievable_correspondence}, |- constrains = achievable_correspondence+>a | achievable_correspondence+>b. once connect/ is done may need to treat a and/or b as a machine .Close.Net . JSP frame JSP::=FRAME with following .Net tight constraints gives a strong method. |- machine= program, |- other_domains = {input_streams, output_streams }, -- given & goal data. Both sequential structures of elements describable by regular expression.. |- connections = { program +> input_streams, program +> output_streams }, |- whole_part = {}, |- relationships = { input_output_condition }, -- relates regular expressions that describe input_streams and output_streams simply. Simply means that there is a single regular expression that is reducible to i/o expressions. This expression describes a program structure -- a non-deterministic FSA. |- constraints = { input_output_condition +>input_streams, input_output_condition +>output_streams }, example: collate and merge 2 sorted directory list. Advanced_JSP for handling problems where structures do not fit and for removing non-determinism. .Close.Net . workpieces frame workpieces::=FRAME with following .Net |- other_domains = { operation_requests, workpieces }, |- connections = { operation_requests +> machine }, |- whole_part = { machine +> workpieces }, |- relationships = { operation_properties }, |- constrains = { operation_properties +> operation_requests , operation_properties +> workpieces }, operation_requests in one_dimensional active dynamic. workpieces in inert dynamic. Different workpieces are independent, -- operations change only one piece. .Close.Net .Close . Jackson Satisfaction Argument (Domain, Specification) |- (Satisfaction Argument): Requirement. .Open JacksonTwaddle97 Michael Jackson & Graham Twaddle Business Process Implementation: Building Workflow Systems, Addison Wesley ACM Press 199? ISBN 0-201-17768-4 3rd hd58.87.j32 1997 =EXPERIENCE SPECIFICATION MODEL OFFICE WORKFLOW PEOPLE DATA PROCESS FLEXIBLE vs BUSINESS RULES TABULAR GRAPHIC METADATA workflow_problem_frame ::= following, .Net |-(minimal_workflow_frame):The machine supports an office that interacts with an outside world. |-The prime business need is to keep track of long term commitments, contracts, and obligations. |-There are rigid business rules and flexible activities. |- activities are multitasked, error correcting, and proceed at a human pace. |- not safety critical. .Close.Net theoretical_method:= data; process; tasks; workflow. In practice incremental and iterative delivery is feasible. data:=`simple ERD`, like SSADM. task_types:=initiated performed content $task_details. initiated:=X | T | P | I. X=eXternal, T=Time, P=follows Preceeding, I=Internally. performed= A | M, A=Automatically, M=not A, `Manually`, content:= E | K| U | D | O, E=dataEntry, K=checK, U=Update, D=Decision, O=Output. Tasks involve entities. LC:=" life cycle". An entity life cycle is a defined sequence of stages but an entity may not progress thru the stages in such a simple way. Office work may backtrack, hangup, fail, or multitask parts of stages at one time. Stages may not be omitted. Backtracking (a `setback`) means handling side-effects: beneficent, neutral, and intolerable. cf $JSP. If a stage contains a task that fails then the current life cycle fails and initiates a different one instead. Stages determine states: State = ("In" | "Failed" | "Awaiting" | "Halted" ) stage. Within a Stage many tasks can execute in parallel. some can spawn (one|many (inclusive | exclusive)) subtasks (sometimes). One subtask can be spawned by many tasks, and a subtasks can restart their parent tasks (in a loop). Task states = null; start; (n/a | run | failed | passed). passed states do not spawn subtasks, run states must start their subtasks. Task states determine lifecycle states. There are rules for assigning tasks to stages. One life cycle can depend on another one. Changing stage depends on one(or all) other linked entities of a given type is|are past a certain stage. Tasks can start and halt other life cycles. Entities are placed in classes. Classes form a `heterarchy` -- multiple inheritance. Also classification entities -- classes of objects each defining a class of object! Entities play roles in entity life cycles. roles require only a subset of the attributes, Also several types of entity can play the part in a single role. Datasets are structured navigation paths between entity types. `from A access one B and many Cs`. They are chosen to fit tasks. Programs support tasks - within task context and using task content. actions include SET_RESULT, START_LC, SUSPEND_LC, RESUME_LC, CANCEL_LC, SETBACK_LC, WAIT..., SIMPLE_CHECK, COMPLEX_CHECK, SIMPLE_SET, APPLICABLE_WHEN. Some tasks must not be repeated, others may be repeated when backtracking. Decision Tables! Tasks and life cycle mainly define wrong sequences. Work flows help get good things done. Work flows are about scheduling, options, menus, and efficiency. Work flows are based on a relational data base: task_details:=Net{ Each task is in a stage of a life cycle of an entity. Each task has a task_type that has a program, data set, and a set of skills. Tasks are related to users who can/should do them by Skills and by stages and depts for example. }. Detailed reporting and so tuning of the workflows. Life cycle definitions and the office workflow are also held in the data base. "Process representations become data". Process data is PLANs and FEATUREs. The only purpose of documentation is understanding.... but if documentation is in a data base is also useful to the software. dick:`the office workflow frame fits agile software development process.` .Close . Lao Tzu on problems Deal with the difficult while it is still easy. Solve large problems when they are still small. Preventing large problems by taking small steps is easier than solving them. By small actions great things are accomplished. . Man's Mortallity by Michael Arlan 1933 p316 "What we have apparently got -- a mechanized Messiah. We never really took to the meek and gentle poet who called us to repentance, did we? So now we've apparently got a Messiah who speaks in a language we can understande -- mathematics instead of parables, the miracle of atomic energy instead of loaves and fishes." . Markets Everett Roger's innovation curve ::=following .( innovators; early adopters; the_chasm early majority; late majority; laggards .). . Buying hierarchy by Windermere assocs o SG function; reliability; convenience; price. . Metcalfes law The value of a network grows exponentionally with the number of nodes. N log(N)? . markup languages RTL SGML ?? HDML -- handheld Device ML -> HTML -> CHTML -- compact HTML -> TinyHTML -- for PalmOS -> XML +> XSL -- stylesheet +> XSLT -- stylesheet transform -> XHTML -> RML -- relational ML -> xCBL -- common business lang XML+HTML -> WML -- wireless Markup Language . SOAP http://www.w3.org/TR/SOAP . Maypole extends LAMP Linux Journal 2005 131(mar 2005)p3 and 18 line web database application. . Medieval curiculum quadrivium ::= arithmetic; geometry; astronomy; music. trivium ::= rhetoric; grammar; logic. Early vs late medieval think/ in Europe. 1. record ancient. 2. learn the auctores. 3. Sic et Non vs faith. 4. Disputations. 5. Summa . Meeting plus and minus +ve ask, start build solve note listen -ve, shutout mumble criticize makeproblem disagree instant . Meeting Agendas should include Who, What, Where, When .List OVERALL GOAL: MEETING GOAL: PROCESS: BEFORE THE MEETING: .Close.List . Meeting -- conversation Cafe Well thought ot technique for meetings that identify and solve problems .See http://www.conversationcafe.org/Process%20and%20Agreements.htm .Open Mistakes tricks Twisted thinking . Mistake monorail, magnitude, misfit, must be, missout . tricks emotional loadings, prestige, fashion, tradition jargon, catchphrases/cliches/slogans/labels, ambiguity, overly abstract decoration blatant assertion, repetition . Twisted thinking black and white only. one is some is all negative/positive ego - binoculars. instantly discount. mind-reading and fortune telling. feelings are the only reality. shouldism & mustaba§. once implies permanent property. .Close Mistakes tricks Twisted thinking . Moral thinking by Wilson phil - degree to which one can identify with others as equals emp - insight into our own and others feelings. gig - knowledge (Gignosis) gig1 - knowledge of facts gig2 - know-how: knowing how to act dik - rational organisation of rules from the above phron - organising personal rules effecting ourselves krat - resolution, translating the above into action .Open Natural Semantic Metalanguage Primitives .See [Goddard97] I you someone people/person something think know want feel see hear say word do happen move there_is live die this the_same other one two some many/much all good bad big small when/time now before after a_long_time a_short_time for_some_time where/place here above below far near side inside because if not maybe can very more kind_of part_of like .Close . Object Orientation OOP::=Net{ abstraction. encapsulation. polymorphism. inheritance. }=::OOP. . Ozymandias Tleilaxu Here lies a toppled god --- His fall was not a small one. We did but build his pedestal, A narrow and a tall one. Frank Herbert, Dune Messiah . Pareto Equilibrium State where no one stakeholder can improve their own situation. Von Neuman: zero sum games have equilibra. Nash: nonzero sum games have equilibra. .Open Patterns of proof -- Proof Patterns .Open Template . Situation . Therefore . But .Close .Open Construction . Show for all x some y such that Pxy . Given x find y such that Pxy . But .Close .Open Deduction . Show for all x, if Px then Qx . Let x, Px. Show Qx. . But .Close .Open Reduction . Show P is false . Let P.... . But .Close .Open Induction . Show for all integers n>=n0, P(n) .Open Two steps . Basis. Prove P(n0) . Induction. Prove for k>=n0, if Pk then P(k+1) .Close . But .Close .Open Analysis . Show P or Q .Open Cases . Let R. Show P. . Let not R. Show Q. .Close . But .Close .Open Analysis - dilemma . Know P or Q Show R .Open Cases . Let P. Show R. . Let Q. Show R .Close . But .Close .Close . People as Non-Linear, First-Order Components Cockburn00 .Set Alistair Cockburn .See arc@acm.org Characterizing People as Non-Linear, First-Order Components in Software Development Proc SCI/ISAS2000 VI pp728-736 .See [SCI00] =EXPERIENCE 20 projects PEOPLE A commonly observed pattern by methodologists and tool smiths .Box The people on the projects were not interested in learning our system. They were successfully able to ignore us, and were still delivering software, anyway. Almost any methodology can be made to work on some project. Any methodology can manage to fail on some project. Heavy processes can be successful. Light processes are more often successful, and more importantly, the people on those projects credit the success to the lightness of the methodology. People: .List are communicating beings, doing best face-to-face, in person, with real-time question and answer. have trouble acting consistently over time. are highly variable, varying from day to day and place to place. generally want to be good citizens, are good at looking around, taking initiative, and doing "whatever is needed" need both think time and communicating opportunities. work well from examples. prefer to fail conservatively than to risk succeeding differently prefer to invent than to research can only keep a small amount in their heads, and make mistakes find it hard to change their habits. .Close.List Individual personalities easily dominate a project. A person's personality profile strongly affects their ability to perform specific assignments. Paper documentation is the least effective communication medium available. .Close.Box .Close.Set People like 90% solutions! Machines need 100% perfection! .Open Polya - how to solve it princeton 1988 2nd edn isbn0-691-02356-5 qa11p6 1988 $Understand, 2. $Plan, 3. $Carry_out_the_plan, 4. $Looking_Back. . Understand what is the unknown? -- goal/output/conclusion? What are the data? -- given/input/parameters/hypothesis What are the conditions? -- operations/relations/premises connect/ given to goal check: possible & sufficient ~ redundant~ contradictory ~ separate Draw a diagram. Introduce a suitable notation. Separate the various parts of the condition. Can you write them down? . Plan Use plausible, reversed, and lateral thinking to invent a way to solve the problem. Avoid rigor and details. look at the goal/end point first! Have you seen a similar problem before? .Set Look for similar goal/given/... Look for more general/specific. Look at any previously solved problem/theorem... can you make use of it? .Close.Set Can you restate/reverse ths problem? Review .List Did you use all the data/givens? did you use the whole condition? Have you allowed all the notions in the problem... if not revise your plan. .Close.List . Carry_out_the_plan Carry out your plan step by rigorous step. Use formal techniques that fill in the details in your plan.+ At each step look for signs of progress, Check each step for correctness. .Set Can you see that it is correct(intuitive)? Can you prove that it is correct? .Close.Set Fill in the details in steps top-down by refinement.+ . Looking_Back Can you check the result? Can you check the steps? Did you use all the givens? Can you improve the steps? Can you see the whole at a glance? Can you use the result or the method in some other probleme? How can you share/present/publish the result? + .Close . Presentations and PowerPoint Advice from Desrochers & Cheal of CSUN Design: Choose the right layout, line, scale, color, movement, and timing. Good Layouts: Heading and picture, bar graph, 4 or 5 bullets... Empty space. NO PARAGRAPHS. Mix layouts. Avoid the "machine gun" bullets. Scale: Big is seen as most important. Minimum font 16pt, San Serif. Big text is better than small. Big hall->big text. Color: moods and style rather than content. Careful that foreground contrasts background. Avoid laser: program a red circle cursor. Movement: Don't animate it -- unless it is special, meaningful, or to get attention. DO NOT do the slides first. (1) Plan, (2) write, (3) illustrate, (4) edit without mercy. Share metaphors, stories, & analogies verbally. Find ways to find out audience experiences/needs and link to them. Find ways to allow/encourage thinking about the data, making plans, doing things. Technology. Check it out before hand: systems and visibility. Turn off sleep mode. If you handout notes.... do it last! . Principia Mathematica Definition of 2 For sets A, B, 1 A, 1 B(0(A & B) iff 2 (A | B)). . Reasons for Software Failure Technical: Bugs, Mis-communication, Lack of Testing, ...? Human error: Lazy Cheap Stupid Ignorant Malicious! . RISKS Forum a MODERATED digest. Its Usenet equivalent is comp.risks. => SUBMISSIONS: to risks@CSL.sri.com with meaningful SUBJECT: line. => SUBSCRIPTIONS: PLEASE read RISKS as a newsgroup (comp.risks or equivalent) . => The INFO file (submissions, default disclaimers, archive sites, copyright policy, PRIVACY digests, etc.) is also obtainable from .See http://www.CSL.sri.com/risksinfo.html => ARCHIVES are available: ftp://ftp.sri.com/risks or ftp ftp.sri.comlogin anonymous[YourNetAddress]cd risks [volume-summary issues are in risks-*.00] [back volumes have their own subdirectories, e.g., "cd 19" for volume 19] http://catless.ncl.ac.uk/Risks/VL.IS.html [i.e., VoLume, ISsue]. .See http://the.wiretapped.net/security/textfiles/risks-digest/ ==> PostScript copy of PGN's comprehensive historical summary of one liners: illustrative.PS at ftp.sri.com/risks . . RMA Rate Monotonic Analysis RMA ::= following .Net TASK ::= Net{period, worst, block:Duratlon,...}. SIMPLE_RMA ::= following .Net n ::Nat= given, number of tasks. tasks ::#$TASK = given. Schedulable ::@= +(worst/period) + max(block/period) <= n*( 2^(1/n) -1). note. Some quote: max(1..n-1); (block/period). .Close.Net .Close.Net . Scientific evidence USA federal rule of evidence 702. Daubert Testable, falsifiable, refutable. Peer reviewed & published. Error rate of technique. Acceptedness by scientific community. Kumho - expert(skill, experience) same criteria. applied to particular evidence. Baer92 WilsonF00 . Seminar TODO Who? what? when? Post to Dept office, web site, personal data base. Where=JBH391/389 Schedule room & equipment get intro info! ??parking announce: csci, twalde Invite: bb or campus remind: bb or campus snacks setup ?? Lunch --- int life comm?? - . Shirky03 GROUP Psychology Clay Shirky A Group Is Its Own Worst Enemy ETech (Apr 2003 ) + Published July 1, 2003 on the "Networks, Economics, and Culture" mailing list. .See http://shirky.com/writings/group_enemy.html =TALK =HISTORY WWW/NET SOCIAL GROUP PEOPLE CULTURE WEB2.0 TEAM Refers to W.R. Bion: "Experiences in Groups": Groups of people become both collections of individuals and a self-coordinating entitiy. Therapeutic groups tend to: talk sex, identify external enemies, and religiously venerate something. Need for structure for groups to work. In particular rules for creating rules... Examples of BBSs, Usenet, .... where open free group is invaded. Therefore need structure in social systems. Technology (TCP/IP, WiFi, IM, Mobile phones, ...) now lets all people be online together. Example. Ito's Conference call moderated on chat with wiki for references. For a given technology -- most groups fail! Accept: .List Social and technical issues are intertwingled: they can not be separated niether does the technical drive the social. The system will have antics -- emergent properties. There will be a formal rules and informal rules. Members are not just users. There will be an onion structure. Example: reader -> anonimous coward -> named person -> moderator. The Core subgroup love and weed the garden that others wander through (and vandalize?). = Volunteer fire department. `One user = one vote` does not work when anybody can be a user. .Close.List Things to design for .List Give members a handle -- stable local name. So they get a reputation. Make a simple way for behavior to be visible -- who is in good standing? Make it difficult to enter the core subgroups. The `group` is the real user! Make the communications scale. Encourage a `small world` structure. Many linked small groups. .Close.List . Shirky08 Sociology of Net Clay Shirky Here comes everybody Penguin NY NY 2008 HM851 S5465 ISBN 978-1-59420-153-0 =EXAMPLES SOCIOLOGY WEB/NET ECONOMICS SOCIAL CAPITAL SMALL WORLDS POWER LAWS Net lowers cost of communication, publication, copying, collaboration to ZERO. So a lot more of all of these. More is Different. Faster is Different. New paradigm: Publish; Filter. Many attempts, failure is free, on the way to one big success. A shared resource needs motivated people and people need Face-to-face meetings. Developing_a_resource::= Promise; Tool; Bargain. Examples: Usenet FlashMobs F/OSS Linux SourceForge Flickr MySpace FaceBook MeetMe EBay Wikipedia Wikitorial Encarta . Shorthand § .ion / .ing \ .ed ß .ble ƒ .ful µ ? ¿ Think a a A A b be B but c can C could d do D Dick e is|am E exists f for F from g go G get h had H how j ? J ? k know l let m me n on N Net o of O Open p put q queue r are s she S some t the T Tricia 2 to u you U ? v have w with x ex... y why z has . Sincerity is the important thing -- Once you can fake that you've got it made. .Open Burnsten07 Sidney L Burnsten To map a process, first find its swimlane Commun ACM V50n10(Oct 2007)p14 =LETTER IBM SLB GRAPHIC ANALYSIS DESIGN METHOD DesignFlow SLB::="Swim Lane Based". Draw both "as is" and "to be" diagrams. Involve users and stakeholders. Each actor has a swimlane. Shows activities, information, & decisions. Claims many years of successful use. Claims better than DFDs or Usecases. .Close . Soundex encoding Keep first letter after that - remove vowels, h, w and map .( bfpv +> 1 | cgjkqsxz +> 2 | dt +> 3 | l+>4 | mn +> 5 | r+>6 | .) remove duplicate digits zero-pad | trim to : letter digit^3 .Open SRS from LeffinghamWidrig00 . Modern SRS . Overview . Revision History . Table of Contents .Open 1.0 Introduction . 1.1 Purpose . 1.2 Scope . 1.3 Reference . 1.4 Assumptions and dependencies .Close 1.0 Introduction . 2.0 Use-Case Model Survey . 3.0 Actor survey .Open 4.0 Requirements . 4.1 Functional Requirements .Open 4.2 Nonfunctional Requirements . 4.2.1 Usabilty . 4.3.2 Reliability . 4.2.3 Performance . 4.2.4 Supportability .Close 4.2 Nonfunctional Requirements .Close 4.0 Requirements . 5.0 Online Use Docs and Help . 6.0 Design Constraints . 7.0 Purchased Components .Open 8.0 Interfaces . 8.1 User interfaces . 8.2 Hardware Interfaces . 8.3 Software Interfaces . 8.4 Communication Interfaces .Close 8.0 Interfaces . 9.0 Licensing Requirements .10.0 Legal, copyright, and other notices . 11.0 Applicable Standards . Index . Glossary .Open Appendix: Use-Case Specifications . Revision History .Open Usecase Name .Open Flow of Events . Basic . Alternative .Close Flow of Events . Special Requirements . Preconditions . Postconditions . Extension Points . Other .Close Usecase Name .Close Appendix: Use-Case Specifications .Close SRS from LeffinghamWidrig00 . Isidore -- Protector of Computers St. Isidore, Bishop of Seville, protector of computers. 556 AD. .Open Structure of IEEE Experimental Paper Title + Abstract Introduction Things tested Emprical study .List Research Questions Experimental Design Subjects Effectiveness measures Tools Experiments and discussion Threats to validity .Close.List Related Work Conclusions and Future Work Appendix Acknowledgments References Authors .Close .Open How to study Prep select time> Subject: Re: Cancelling errors, serendipity in avoiding risks, and Kepler In reading Henry Baker's thoughtful article, I am strongly reminded of something the late Isaac Asimov once said: The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny..." Asimov's point is similar to Baker's: that discovery is more driven by the desire to understand mistakes, discrepancies, and other "funnies" than by pure intellectual will. Jim Thompson . Christiansen Inventors dilema The Innovators Dilemma: when new technologies cause great firms to fail. Doing the right things(research, listening to customers, finding improvements and profits ) helps an organisation FAIL to develop NEW markets/values that ultimately eclipse the old ones. Disruptive technology re-creates the market with new values and metrics but initially shows lower profits, performance, and a smaller market. Disruptive tech discovers new customers that fit the new tech. Disruptive is downmarket: less performance at a lower price, higher convenience, and/or higher reliabillity. Survival: create small separated suborganisation with room to fail and learn. Don't ask the customer; watch them. K.I.S.S. ! Clayton M Christensen Harvard Business School Press 1997 ISBN 0-87584-585-1 HD53.C49 also in Jared Diamond I .Open Theology church history heresy -37 herod the great Judaic Saducees. Sanhedrin. aristocratic collaborators Essenes. Ultra pure. Temple of people not place Pharisees. Lawyers. Diaspora The poor 0-30 Christ Christian churches - no calm period. 34 first tradi§s. Conver§ o Paul? 50s Paul vs Jerusalemites -> zealots -> Ebionites first epistles Many gnostics(dualistic +secret knowledge) emerge. - ophite, samaratines, basilides, docetists deny incarna§ - many reject old testament - nicolaitans(rev ch2) 66-70 Gospel of mark redacted -68 st linus 2nd bishop of rome 70 Gospels of luke & mathew + acts redacted 88-97 Clement I bishop of rome 95~ Revelations+gospel+letters of john 100..140 Marcion rationalises away most of old & new testament. Sex is bad! old testament demiurge. Dualist (Pel) opposed by Tertullian (Gus) organised Priesthood vs inspired prophets. 100 Basic eucharist in use. 160 monuments of martydom of st peter and paul in Rome. 170 Montanists, accused of behav/ like a church. "broke marriages to make women priests". opposed by Tertullian, who then joins them. 200s Earliest gnostic gospels. 200s bishop of rome := pope. Ireneus vs Valentinus Gnostic (sophia->demiurge). Dualism. Origen exegesis -> philosophy -> church as sacred society, clergy better than laity even if bad men. Cyprian adds episcopal power. Hierarchy necessary for people's salvation. neo-platonists. Rise of Rome as prime bishopric. 270-340 Eusebius Penance develops & is debated 313 Constantine & Licinius - edict of Milan..toleration. 311-347 Caecilian vs Donatus. Donatists: Zealots. Orders subvert\ by unworthiness. Carthage vs rest. Poor vs rich. 320s Arians: Christology. 325 Nicean creed 300-373 Athanasius 360? Mani. Montanism+eastern. Dualism and pessimism. Manicheaism. Secretive. 350 church becoming rich. Schola Cantorum 350-430 Augustine. Pessimist. Pelagius. Optimist. 367 canonical books fixed. 386 Hymns Ambrose 390 orthodox=imperial. With 156 distinct heresies + oo enthusiasts in opposition. 405 Vulgate of Jerome 400s Mass translat\ & becomes more ceremonial & formalized 411 Carthage. donatists. 428... Nestorius vs "theotokos" 450 alternate sing§ 451 council of Chalcedon vs arian(from 320) several monophysite churches: Coptic, Armenian, .... Mob theology & Monks Catholic West vs Orthodox East. "Filioque". 500 incense .Close . Timezones time zones 0. Pacific CA NV OR WA. CA summer longer. AR with no DST. Mountain in Winter and Pacific in Summer +1 Mountain NM UT DenverCO Navajo matches NM, Hopi AZ +2. Central TX OK MO AL? MN +3. Eastern FL MA NY +4. Atlantic +8. London GB UK . UP unified_process ::= inception; elaboration; construction; transition. inception ::= do(iteration(0)). elaboration ::= do(iteration(1)). construction ::= do(iteration(2)). transition ::= do(iteration(3)). iteration(w) ::= usecase -> requirements(w)-> analysis(w) -> design(w) -> implementation(w) -> test(w). .Table w r a d i t .Row 0 l;h l l l 0 .Row 1 h h h l;h l .Row 2 l l h h l .Row 3 0 l l l h;l .Close.Table . Wedding anniversaries silver 25 pearl 30 coral ?5 ruby 40 saphire 45 gold 50 emerald 75 diamond 100+ .Open Writing is learning iterative multithreaded writing::process= $develop; #($review;undo & redo). develop::=( refine_outline | chaos...theme ). refine_outline::= #questions; add_answers; structure. review::= Someone who doesn't know | wait.... | Use software .Close .Close My Random Reference Memoranda