Up: Part III: Formation of Words Previous: DENOMINATIVE VERBS
A compound word is formed by the union of two or more parts; as λογο-γράφο-ς speech-writer, δι-έξ-οδο-ς outlet (lit. way out through).
a. Compounds of three or more parts usually fall into two separate units; as βατραχο-μῡο-μαχίᾱ battle of the frogs-and-mice. Such compounds are common in comedy; as στρεψο-δικο-παν-ουργίᾱ rascally perversion of justice.
b. In a compound word two or more members are united under one accent; as in bláckberry contrasted with black berry. Most compounds in Greek, an inflected language, are genuine compounds, not mere word-groups such as are common in English, which is for the most part devoid of inflections.
c. Every compound contains a defining part and a defined part. The defining part usually precedes: εὐ-τυχής fortunate, as opposed to δυσ-τυχής unfortunate. The parts of a compound stand in various syntactical relations to each other, as that of adjective or attributive genitive to a substantive, or that of adverb or object to a verb, etc. Compounds may thus be regarded as abbreviated forms of syntax. Cp. 895 a, 897 N. 1.
The first part of a compound may be a noun-stem, a verbstem, a numeral, a preposition or adverb, or an inseparable prefix.
a. The use of stems in composition is a survival of a period in the history of language in which inflections were not fully developed.
First Declension (ᾱ-stems).—The first part may
a. end in ᾱ or η (rarely): ἀγορᾱ-νόμο-ς clerk of the market (ἀγορά̄), νῑκη-φόρο-ς bringing victory (νί̄κη).
b. end in ο: δικο-γράφο-ς writer of law-speeches (δίκη justice). Here ο is substituted for ᾱ of the stem by analogy to ο-stems.
N.—Compounds of γῆ earth have γεω- (for γηο- by 34); as γεω-μέτρης surveyor (land-measurer; μετρέω measure). Doric has γᾱ-μέτρης. Cp. 224 a.
c. lose its vowel before a vowel: κεφαλ-αλγής causing head-ache (κεφαλή head, ἄλγ-ος pain).
Second Declension (ο-stems).—The first part may
a. end in ο: λογο-γράφο-ς speech-writer.
b. end in ᾱ or η (rarely): ἐλαφη-βόλο-ς deer-shooting (ἔλαφος, βάλλω). Here η is due to the analogy of ᾱ-stems.
c. lose ο before a vowel: μόν-αρχο-ς monarch (sole ruler: μόνο-ς alone, ἄρχ-ω rule).
N.—Words of the ‘Attic’ declension may end in ω, as νεω-κόρο-ς custodian of a temple (νεώς).
Third Declension (consonant stems).—The first part may
a. show the stem (ι, υ, αυ, ου): μαντι-πόλο-ς inspired (μάντι-ς seer, πέλ-ω, cp. -κολος), ἰχθυ-βόλο-ς catching-fish (ἰχθύ̄ς, βάλλω), βου-κόλο-ς ox-herd (βοῦ-ς, -κολο-ς, cp. Lat. colo, and 131).
N.—A few consonant stems retain the consonant: μελάγ-χολος dipped in black bile (μέλᾱς, χολή). See also 876.
b. add ο to the stem: σωματ-ο-φύλαξ body-guard (σῶμα body, φυλάττω guard), μητρ-ό-πολις mother-city, metropolis (μήτηρ, πόλις), φυσι-ο-λόγος natural philosopher (φύσι-ς nature), ἰχθυ-ο-πώλης fishmonger (ἰχθύ̄ς, πωλέω sell).
c. add ᾰ (rarely η): ποδ-ά-νιπτρο-ν water for washing the feet (ποῦς, νίπτω), λαμπαδ-η-δρομίᾱ torch-race.
Compounds of πᾶς all usually show πᾰν-, as πάν-σοφο-ς (and πάσ-σοφος 101 b) all-wise, παρ-ρησίᾱ frankness (‘all-speaking’); but also παντ- in πάνταρχος all-ruling; and παντ-ο- in παντ-ο-πώλιο-ν bazaar (πωλέω sell).
Neuter stems in ματ usually show ματ-ο, as ἀγαλματ-ο-ποιό-ς sculptor (ἄγαλμα statue, ποιέω make). Some have μα, as ὀνομα-κλυτό-ς of famous name; some show μο for ματο, as αἱμο-ρραγίᾱ hemorrhage (αἷμα, -ατος blood, ῥήγνῡμι break, 80).
Stems in ες (nom. -ης or -ος) usually drop ες and add ο; as ψευδ-ο μαρτυρίᾱ false testimony (ψευδ-ής); and so stems in ας, as κρεο-φάγο-ς flesh-eating (κρέας, φαγεῖν 529. 5). Some stems in ες and ας retain ες and ας (in poetry), as σακεσ-πάλο-ς wielding a shield (σάκος, πάλλω), σελασ-φόρο-ς light-bringing (σέλας, φέρω); some add ι (for sake of the metre), as ὀρεσ-ί-τροφος mountain-bred (ὄρος, τρέφω); these may belong to 879.
Other abbreviations: γαλα-θηνό-ς nurse (γαλακτ- milk, θῆ-σθαι give suck), μελι-ηδής honey-sweet (μελιτ-), κελαι-νεφής black with clouds from κελαινό-ς black (cp. 129 c) and νέφος cloud.
Words once beginning with Ϝ or ς.—When the second part consists of a word beginning with digamma, a preceding vowel is often not elided: κακο-εργός (Epic) doing ill (later κακοῦργος) from ϝέργο-ν work; μηνο-ειδής crescent-shaped (μήνη moon, ϝεῖδος shape); τῑμά̄-ορος (later τῑμωρός) avenging (τῑμή honour, ϝοράω observe, defend).—Compounds of -οχος, from ἔχω have (orig. σέχω, -σοχος) contract: κληροῦχος holding an allotment of land (κλῆρο-ς lot), πολι-οῦχος protecting a city (for πολι-ο-οχος).
Flectional Compounds.—A compound whose first part is a case form, not a stem, is called a flectional compound (cp. sportsman, kinsfolk): (1) nominative: τρεισ-καί-δεκα thirteen; (2) genitive: Διόσ-κουροι Dioscuri (sons of Zeus), Ἑλλήσ-ποντος Helle's sea, Πελοπόν-νησος (for Πελοποσ-νησος, 105 a) Pelops' island; (3) dative: δορί-ληπτος won by the spear; (4) locative: ὁδοι-πόρος wayfarer, Πυλοι-γενής born in Pylus.—From such compounds derivatives may be formed, as Ἑλλησπόντιος of the Hellespont, θεοισεχθρίᾱ hatred of the gods.
Some compounds have as their first part a verb-stem (cp. break-water, pick-pocket, catch-penny). Such compounds are usually poetic adjectives. The verb-stem is usually transitive and has the form that appears in the present or aorist.
Before a vowel the verb-stem remains unchanged or drops a final vowel; before a consonant it adds ε, ο, or ι: φέρ-ασπις shield-bearing, μῑσ-άνθρωπος man-hating (μῑσέ-ω), ἐκ-ε-χειρίᾱ (125 d) holding of hands, truce, λιπ-ο-στρατίᾱ desertion of the army, νῑκ-ό-βουλος prevailing in the Senate, ἀρχ-ι-τέκτων masterbuilder.
The verb-stem adds σι (before a vowel, ς). Some insert ε before σι (ς): σω-σί-πολις saving the state (σῴζω), ῥί̄ψ-ασπις craven, lit. throwing away a shield (ῥί̄π-τ-ω), δηξί-θῡμος (and δακ-έ-θῡμος) heart-eating (δάκ-ν-ω), ἑλκ-ε-σίπεπλος with long train, lit. trailing the robe (cp. ἑλκ-ε-χίτων)
a. This ε is the vowel added in many verb-stems (485).
The first part of a compound is often a numeral: δί-πους biped, τρί-πους tripod (having three feet), τέθρ-ιππον four-horse chariot, πέντ-ᾱθλον contest in five events.
A preposition or adverb is often the first part of a compound: εἴσ-οδος entrance, ἀπο-φεύγω flee from, εὐ-τυχής happy, ἀείμνηστος ever to be remembered.
a. Except when the substantive is treated as a verbal (as in εἴσ-οδος entrance, cp. εἰσ-ιέναι enter), prepositions are rarely compounded with substantives. Thus, σύν-δουλος fellow-slave, ὑπο-διδάσκαλος (= ὁ ὑπό τινι δ.) under-teacher; also ὑπό-λευκος whitish.
b. The ordinary euphonic changes occur. Observe that πρό before may contract with ο or ε to ου: προέχω or προὔχω hold before (cp. 449 b). See 124 a.
c. η sometimes is inserted after a preposition or takes the place of a final vowel: ὑπερ-ή-φανος conspicuous, ἐπ-ή-βολος having achieved.
d. Akin to adverbial compounds are some in φιλ-ο, as φιλο-μαθής one who gladly learns.
Several prefixes occur only in composition:
1. α᾽ ( ν )- (ἀν- before a vowel, ἀ- before a consonant; alpha privative) with a negative force like Lat. in-, Eng. un- (or -less): ἀν-άξιος unworthy (= οὐκ ἄξιος), ἀν-όμοιος unlike, ἀν-ώδυνος anodyne (ὀδύνη pain, cp. 887), ἄ-νους silly, ἄ-τῑμος unhonoured, ἄ-θεος godless, γάμος ἄγαμος marriage that is no marriage. ἀ- is also found before words once beginning with digamma or sigma: ἀ-ηδής unpleasant (ϝηδύς), ἀ-όρᾱτος unseen (ϝοράω), ἄ-οπλος without shields (σοπλον), and, by contraction with the following vowel, ἄ̄κων (ἀ-ϝέκων unwilling). But ἀν- often appears: ἀν-έλπιστος (and ἄ-ελπτος) unhoped for (ϝελπίς), ἄν-οπλος without shield.
a. ἀ-, ἀν- (for ṇ, 35 b) represent weak forms of I. E. ne ‘not.’
2. ἡμι- half (Lat. sēmi-): ἡμι-κύκλιος semi-circular (κύκλος), ἡμι-όλιος half as much again (ὅλος whole), ἡμι-θνής half-dead.
3. δυσ- (opposed to εὖ well) ill, un-, mis-, denoting something difficult, bad, or unfortunate, as δυσ-τυχής unfortunate, δυσ-χερής hard to manage, δυσδαίμων of ill fortune (contrast εὐ-τυχής, εὐ-χερής, εὐ-δαίμων), δυσ-άρεστος ill-pleased, Δύσ-παρις ill-starred Paris.
4. ἀ- (or ἁ-) copulative denotes union, likeness (cp. Lat. con-); ἀ-κόλουθος attendant, agreeing with (κέλευθος path: i.e. going on the same road), ἀ-τάλαντος of the same weight, ἅ-πᾱς all together. A variation of ἀ-copulative is ἀ- intensive: ἀ-τενής stretched (τείνω stretch), ἄ-πεδος level (πέδον ground).
a. ἀ- copulative stands for σα- (from σṃ 20, 35 c), and is connected with ἅμα, ὁμοῦ, and ὁμο- together.
5. νη- (poetic) with the force of a negative (cp. Lat. nē): νή-ποινος unavenged (ποινή punishment), νη-πενθής freeing from pain and sorrow (πένθος). In some cases νη- may be derived from ν (not) and the η of the second part, as ν-ῆστις not eating (poetic ἔδ-ω, cp. 887).
6. ἀρι-, ἐρι- (poetic) with intensive force (cp. ἄρι-στος best), ἀρι-πρεπής very distinguished (πρέπω), ἐρί-τῑμος precious.
7. ἀγα- (poetic) intensive (cp. ἄγαν very): ἀγά-στονος loud wailing (στένω groan).
8. ζα-, δα- (poetic) intensive (for δ[ιγλιδε]α ῀ δια- very, 116): ζα-μενής very courageous (μένος courage), δά-σκιος thick-shaded (σκιά̄).
Compound Substantives and Adjectives.—The last part of a noun-compound consists of a noun-stem or of a verb-stem with a noun-suffix.
Nouns beginning with ᾰ, ε, ο lengthen these vowels (ᾰ and ε to η, ο to ω) unless they are long by position. στρατ-ηγός army-leading, general (στρατός, ἄγω), εὐ-ήνεμος with fair wind (εὖ well, ἄνεμος), ξεν-ηλασίᾱ driving out of foreigners (ξένος, ἐλαύνω), ἀν-ώνυμος nameless (ἀν-, ὄνομα), ἀν-ώμαλος uneven (ἀν-, ὁμαλός).
a. Some compounds of ἄγω lead show ᾱ: λοχ-ᾱγός captain (λόχος company).
b. By analogy to the compound the simple form sometimes assumes a long vowel: ἠνεμόεσσα windy. Cp. 28 D.
c. Lengthening rarely occurs when a preposition or πᾶς precedes: συν-ωμοσίᾱ conspiracy (ὄμνῡμι swear), παν-ήγυρις general assembly (ἄγυρις ῀ ἀγορά̄).
d. The lengthening in 887 is properly the result of early contraction (στρατο ¨ αγος). On the pattern of such contracted forms irrational lengthening occurs when the first part of the compound ends in a consonant, as δυσ-ηλεγής (for δυσ-αλεγής) cruel from ἀλέγω care for.
A noun forming the last part of a compound often changes its final syllable.
N. Masculine or feminine nouns of the second or third declensions usually remain unaltered: ἔν-θεος inspired, ἄ-παις childless.
a. -ος, -η, -ον: form compound adjectives from nouns of the first declension, neuters of the second declension, nouns of the third declension, and from many verb-stems. ἄ-τῑμος dishonoured (τῑμή), σύν-δειπνος companion at table (δεῖπνο-ν meal), ἄν-αιμος bloodless (αἷμα, 875), ἑκατόγ-χειρος hundred-handed (χείρ), δασμοφόρος bringing tribute (φέρ-ω), γεω-γράφος geographer 871 b. N. (γράφ-ω), ἰχθυο-φάγος fish-eating (φαγεῖν 529. 5).
b. -ης, -ες : form compound adjectives from nouns of the first and third declensions, and from many verb-stems: ἀ-τυχής unfortunate (τύχη), δεκα-ετής of ten years (ϝέτος), εὐ-ειδής beautiful in form (εἶδος), εὐ-μαθής quick at learning (μανθάνω, μαθ-), ἀ-φανής invisible (φαίνω, φαν-).
c. Other endings are -ης (gen. -ου), -της, -τηρ: γεω-μέτρης surveyor (871 b. N.), νομο-θέτης law-giver (νόμος, τίθημι, θε-), μηλο-βοτήρ shepherd (μῆλον, βό-σκω feed).
d. Neuters in -μα make adjectives in -μων: πρᾶγμα thing, ἀ-πρά̄γμων inactive. φρήν mind becomes -φρων : εὔ-φρων well-minded, cheerful.—πατήρ father becomes -πάτωρ : ἀ-πάτωρ fatherless, φιλο-πάτωρ loving his father.
e. Compounds of γῆ land end in -γειος, -γεως: κατά-γειος subterranean, λεπτό-γεως of thin soil.—Compounds of ναῦς ship, κέρας horn, γῆρας old age end in -ως, as περί-νεως supercargo, ὑψί-κερως lofty-antlered (163 a), ἀ-γήρως free from old age.
The last member of a compound is often a verbal element that is not used separately: ἀγαλματ-ο-ποιός statue-maker, sculptor, ὑπ-ήκοος subject (ἀκούω hear, ἀκήκοα), λογο-γράφος speech-writer. -φορος bringing, -δομος building, -δρομος running are used separately in the meanings tribute, building, race.
An abstract word can enter into composition only by taking a derivative ending (usually -ιᾱ) formed from a real or assumed compound adjective: ναῦ-ς ship, μάχη fight = ναύ-μαχος, whence ναυ-μαχίᾱ naval battle; εὖ well, βουλή counsel = εὔ-βουλος, whence εὐ-βουλίᾱ good counsel; ἀν-neg., ἀρχή rule = ἄν-αρχος, whence ἀν-αρχίᾱ anarchy; εὖ well, πρᾶξις doing = *εὐπρᾱξος, whence εὐ-πρᾱξίᾱ well-doing. Contrast εὐ-βουλίᾱ with προ-βουλή forethought, εὐ-λογίᾱ eulogy with πρό-λογος prologue.
a. Only after a preposition does an abstract word remain unchanged: προβουλή forethought. Exceptions are rare: μισθο-φορά̄ receipt of wages (μισθός, φορά̄).
Compound Verbs.—Verbs can be compounded directly only by prefixing a preposition, as συμ-μάχομαι fight along with.
a. A preposition (πρό-θεσις) derived its name from this use as a prefix. Originally all prepositions were adverbs modifying the verb, and in Homer are partly so used. See 1638, 1639. Cp. upheave and heave up.
All compound verbs not compounded with prepositions are denominatives (ending in -εω) and formed from real or assumed compound nouns. From ναῦς ship and μάχη fight comes ναύμαχος fighting in ships, whence ναυμαχέω fight in ships; so οἰκοδομέω build a house from οἰκο-δόμος house-builder (οἶκος, δέμω). Contrast ἀνα-πείθω bring over, convince with ἀ-πιστέω disbelieve (ἄ-πιστος); ἀντι-λέγω speak against with ὁμο-λογέω agree (ὁμόλογος agreeing).—εὖ ἀγγέλλω announce good news cannot form a verb εὐαγγελλω.
a. ἀτῑμάω (ἀτίω) dishonour, δακρυχέω shed tears are exceptions. ἀν-ομοιόω make unlike is not from ἀν- and ὁμοιόω but from ἀν-όμοιος unlike.
Compounds generally have recessive accent, as φιλό-τῑμος loving-<*> (τῑμή). But there are many exceptions, e.g.—
a. P<*>tives in -ά̄, -ή, -ής, -εύς, -μός, and -έος usually keep their accent when compoun<*>; except dissyllabic words in -ά̄, -ή, -ής whose first part is not a preposition. Thus, κριτής judge, ὑποκριτής actor, ὀνειροκρίτης interpreter of dreams.
b. Compound adjectives in -ης, -ες are usually oxytone: εὐ-γενής well-born.
Compounds in -ος (not -τος or -κος) formed by the union of a noun or adverb and the stem of a transitive verb are:
a. <*> when they have a long penult and an active meaning: στρατ-ηγός general.
b. <*> when they have short penult and an active meaning: πατροκτ<*> <*>icide, λιθο-βόλος throwing-stones, λαιμο-τόμος throat-cutting, ὑδροφο<*> <*>ter-carrier.
c. propar<*>, when they have a short penult and passive meaning: πατρόκτο<*> <*>ain by a father, λιθό-βολος pelted with stones, λαιμό-τομος with thr<*> out, αὐτό-γραφος written with one's own hand.
N.—A<*> compounds of -οχος (ἔχ-ω, 878), -αρχος (ἄρχ-ω), -σῡλος (σῡλά-ω rob<*> -πο<*> (πέρθ-ω destroy) are proparoxytone; ἡνί-οχος (rein-holder) charioteer, <*> commander of horses, ἱερό-σῡλος temple-robber, πτολί-πορθος sacking cities. <*> staff-bearer (ῥαβδός) is contracted from ῥαβδό-οχος.
Compound nouns (substantives and adjectives) are divided, according to their meaning, into three main classes: determinative, possessive, and prepositional-phrase, compounds.
a. The <*>ical relation of the parts of compounds varies so greatly that boundary-lines between the different classes are difficult to set up, and a complete formal division is impossible. The poets show a much wider range of usage than the pro<*>-writers.
Determinative Compounds.—In most determinative compounds the first part modifies or determines the second part: the modifier stands first, the principal word second.
Thus by hand-work a particular kind of work is meant, as contrasted with machine-work; cp. speech-writer and letter-writer, race-horse and horse-race.
a. The first part may be an adjective, an adverb, a preposition, an inseparable prefix, or, in a few cases, a substantive.
There are two kinds of determinative compounds.
(1) Descriptive determinative compounds.—The first part defines or explains the second part in the sense of an adjective or adverb. (This class is less numerous than the second class.)
ἀκρό-πολις upper city, citadel (ἄκρᾱ πόλις), ὁμό-δουλος fellow-slave (ὁμοῦ δουλεύων, cp. 885. 4 a), ὀψί-γονος late-born (ὀψὲ γενόμενος), προ-βουλή forethought, ἀμφι-θέᾱτρον amphitheatre (a place-for-seeing round about), ἄ-γραφος not written (οὐ γεγραμμένος).
a. Copulative compounds are formed by the coördination of two substantives or adjectives: ἰ̄ᾱτρό-μαντις physician and seer, γλυκύ-πικρος sweetly-bitter. Similar is deaf-mute. So also in numerals: δώ-δεκα two (and) ten = 12.
b. Comparative compounds (generally poetic) are μελι-ηδής honey-sweet (μέλι, ἡδύς), ποδ-ήνεμος Ἶρις Iris, with feet swift as the wind. Cp. eagle-eyed, goldfish, blockhead. Such compounds are often possessive (898), as ῥοδο-δάκτυλος rosy-fingered, χρῡσο-κόμης golden-haired.
(2) Dependent determinative compounds.—A substantive forming either the first or the second part stands in the sense of an oblique case (with or without a preposition) to the other part.
Accusative: λογο-γράφος speech-writer (λόγους γράφων), στρατ-ηγός armyleading, general (στρατὸν ἄγων), φιλ-άνθρωπος loving mankind (φιλῶν ἀνθρώπους), δεισι-δαίμων superstitious (δεδιὼς τοὺς δαίμονας); cp. pickpocket, sightseer, painstaking, soothsayer, laughter-loving.
Genitive: στρατό-πεδον camp (στρατοῦ πέδον ground on which an army is encamped). In ἀξιό-λογος worthy of mention (ἄξιος λόγου) the defining part stands second (869 c) and is governed by the adjective part like a preposition (cp. 899). Cp. ringmaster, law-offcer, jest-book.
(Ablative): ἀνεμο-σκεπής sheltering from the wind; cp. land-breeze, sea-breeze.
Dative: ἰσό-θεος godlike (ἴσος θεῷ); cp. churchgoer, blood-thirsty.
(Instrumental): χειρ-ο-ποίητος made by hand (χερσὶ ποιητός), χρῡσό-δετος bound with gold (χρῡσῷ δετός); cp. thunder-struck, storm-swept, star-sown.
(Locative): οἰκο-γενής born in the house (ἐν οἴκῳ γενόμενος), ὁδοι-πόρος wayfarer (879); cp. heart-sick.
N. 1.—The Greeks did not think of any actual case relation as existing in these compounds, and the case relation that exists is purely logical. The same form may be analysed in different ways, as φιλάνθρωπος ῀ φιλῶν ἀνθρώπους or = φίλος ἀνθρώπων.
N. 2.—Such compounds may often be analysed by a preposition and a dependent noun: θεό-δμητος god-built (ὑπὸ τῶν θεῶν δμητός).
Possessive Compounds.—In possessive compounds the first part defines the second as in determinatives; but the whole compound is an adjective expressing a quality, with the idea of possession understood. In most possessive compounds the idea of having (ἔχων) is to be supplied.
So, in English, redbreast is a bird having a red breast, the first part being an attribute of the second.
ἀργυρό-τοξος having a silver bow; μακρό-χειρ having long arms, long-armed; θεο-ειδής having the appearance (εἶδος) of a god, godlike; σώ-φρων having sound mind, temperate; τέθρ-ιππος having four horses; ὁμό-τροπος of like character (ὁμο-occurs only in compounds, but note ὅμοιος like); πολυ-κέφαλος many-headed; εὐ-τυχής having good fortune, fortunate; δεκα-ετής lasting ten years (cp. a twoyear-old); ἀμφι-κί̄ων having pillars round about; ἔν-θεος inspired (having a god within: ἐν ἑαυτῷ θεὸν ἔχων).
a. Adjectives in -ειδής from εἶδος form (ἀστερ-ο-ειδής star-like, ἰχθυ-ο-ειδής fish-like, μην-ο-ειδής crescent, πολυ-ειδής of many kinds, σφαιρ-ο-ειδής spherical) are to be distinguished from those in -ώδης derived from ὄζω smell (833 a).
b. English possessive compounds in -ed apply that ending only to the compound as a whole and not to either member. In Milton: deep-throated, whitehanded, open-hearted; in Keats: subtle-cadenced. Besides those in -ed there are others such as Bluebeard.
c. Many possessive compounds begin with α᾽(ν)-negative or δυσ- ill; as ἄ-παις childless (having no children or not having children, παῖδας οὐκ ἔχων), ἄ-τῑμος dishonoured (having no honour), δύσ-βουλος ill advised (having evil counsels).
Prepositional-phrase Compounds.—Many phrases made of a preposition and its object unite to form a compound and take on adjectival inflection. Such compounds are equivalent to the phrases in question with the idea of being or the like added.
ἄπ-οικος colonist (away from home: ἀπ᾽ οἴκου); ἐγχειρίδιος in the hand, dagger (ἐν χειρί); ἐγχώριος native (in the country: ἐν χώρᾳ); ἐπιθαλάττιος dwelling on the coast (ἐπὶ θαλάττῃ); ἐφέστιος on the hearth (ἐφ᾽ ἑστίᾳ); κατάγειος underground, cp. subterranean (κατὰ γῆς); παρά-δοξος contrary to opinion (παρὰ δόξαν); παρά-φρων out of one's mind, Lat. de-mens (παρὰ τὴν φρένα); ὑπ-εύθῡνος under liability to give account (ὑπ᾽ εὐθύ̄ναις); so φροῦδος gone (= πρὸ ὁδοῦ γενόμενος, cp. 124 a).
a. From such phrases are derived verbs and substantives: ἐγχειρίζω put into one's hands, entrust, διαχειρίζω have in hand, manage (διὰ χειρῶν), διαπᾱσῶν octave-scale (ἡ διὰ πᾱσῶν χορδῶν συμφωνίᾱ the concord through all the notes). By analogy to ἐκποδών out of the way (ἐκ ποδῶν) come ἐμποδών in the way and ἐμπόδιος impeding, ἐμποδίζω impede.
b. The compounds of 899 represent bits of syntax used so frequently together that they have become adherent.


Dinghy Ping
Request: {{ request }}
Response Code: {{ domain_response_code }}
Response Time: {{ domain_response_time_ms }}
Scheme Notes: {{ scheme_notes }}
Response Body:
{{ domain_response_text }}


# This file is part of QuTiP: Quantum Toolbox in Python.
#
# Copyright (c) 2011 and later, Paul D. Nation and Robert J. Johansson.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# 3. Neither the name of the QuTiP: Quantum Toolbox in Python nor the names
# of its contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
 IN NO EVENT SHALL THE COPYRIGHT
# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
###############################################################################
"""
Internal use module for manipulating dims specifications.
"""
__all__ = [] # Everything should be explicitly imported, not made available
# by default.
import numpy as np
from operator import getitem
from functools import partial
[docs]def is_scalar(dims):
"""
Returns True if a dims specification is effectively
a scalar (has dimension 1).
"""
return np.prod(flatten(dims)) == 1
def is_vector(dims):
return (
isinstance(dims, list) and
isinstance(dims[0], (int, np.integer))
)
def is_vectorized_oper(dims):
return (
isinstance(dims, list) and
isinstance(dims[0], list)
)
def type_from_dims(dims, enforce_square=False):
bra_like, ket_like = map(is_scalar, dims)
if bra_like:
if is_vector(dims[1]):
return 'bra'
elif is_vectorized_oper(dims[1]):
return 'operator-bra'
if ket_like:
if is_vector(dims[0]):
return 'ket'
elif is_vectorized_oper(dims[0]):
return 'operator-ket'
elif is_vector(dims[0]) and (dims[0] == dims[1] or not enforce_square):
return 'oper'
elif (
is_vectorized_oper(dims[0]) and
(
(
dims[0] == dims[1] and
dims[0][0] == dims[1][0]
) or not enforce_square
)
):
return 'super'
return 'other'
[docs]def flatten(l):
"""Flattens a list of lists to the first level.
Given a list containing a mix of scalars and lists,
flattens down to a list of the scalars within the original
list.
Examples
--------
>>> flatten([[[0], 1], 2]) # doctest: +SKIP
[0, 1, 2]
"""
if not isinstance(l, list):
return [l]
else:
return sum(map(flatten, l), [])
[docs]def deep_remove(l, *what):
"""Removes scalars from all levels of a nested list.
Given a list containing a mix of scalars and lists,
returns a list of the same structure, but where one or
more scalars have been removed.
Examples
--------
>>> deep_remove([[[[0, 1, 2]], [3, 4], [5], [6, 7]]], 0, 5) # doctest: +SKIP
[[[[1, 2]], [3, 4], [], [6, 7]]]
"""
if isinstance(l, list):
# Make a shallow copy at this level.
l = l[:]
for to_remove in what:
if to_remove in l:
l.remove(to_remove)
else:
l = list(map(lambda elem: deep_remove(elem, to_remove), l))
return l
[docs]def unflatten(l, idxs):
"""Unflattens a list by a given structure.
Given a list of scalars and a deep list of indices
as produced by `flatten`, returns an "unflattened"
form of the list. This perfectly inverts `flatten`.
Examples
--------
>>> l = [[[10, 20, 30], [40, 50, 60]], [[70, 80, 90], [100, 110, 120]]] # doctest: +SKIP
>>> idxs = enumerate_flat(l) # doctest: +SKIP
>>> unflatten(flatten(l), idxs) == l # doctest: +SKIP
True
"""
acc = []
for idx in idxs:
if isinstance(idx, list):
acc.append(unflatten(l, idx))
else:
acc.append(l[idx])
return acc
def _enumerate_flat(l, idx=0):
if not isinstance(l, list):
# Found a scalar, so return and increment.
return idx, idx + 1
else:
# Found a list, so append all the scalars
# from it and recurse to keep the increment
# correct.
acc = []
for elem in l:
labels, idx = _enumerate_flat(elem, idx)
acc.append(labels)
return acc, idx
def _collapse_composite_index(dims):
"""
Given the dimensions specification for a composite index
(e.g.: [2, 3] for the right index of a ket with dims [[1], [2, 3]]),
returns a dimensions specification for an index of the same shape,
but collapsed to a single "leg." In the previous example, [2, 3]
would collapse to [6].
"""
return [np.prod(dims)]
def _collapse_dims_to_level(dims, level=1):
"""
Recursively collapses all indices in a dimensions specification
appearing at a given level, such that the returned dimensions
specification does not represent any composite systems.
"""
if level == 0:
return _collapse_composite_index(dims)
else:
return [_collapse_dims_to_level(index, level=level - 1) for index in dims]
[docs]def collapse_dims_oper(dims):
"""
Given the dimensions specifications for a ket-, bra- or oper-type
Qobj, returns a dimensions specification describing the same shape
by collapsing all composite systems. For instance, the bra-type
dimensions specification ``[[2, 3], [1]]`` collapses to
``[[6], [1]]``.
Parameters
----------
dims : list of lists of ints
Dimensions specifications to be collapsed.
Returns
-------
collapsed_dims : list of lists of ints
Collapsed dimensions specification describing the same shape
such that ``len(collapsed_dims[0]) == len(collapsed_dims[1]) == 1``.
"""
return _collapse_dims_to_level(dims, 1)
[docs]def collapse_dims_super(dims):
"""
Given the dimensions specifications for an operator-ket-, operator-bra- or
super-type Qobj, returns a dimensions specification describing the same shape
by collapsing all composite systems. For instance, the super-type
dimensions specification ``[[[2, 3], [2, 3]], [[2, 3], [2, 3]]]`` collapses to
``[[[6], [6]], [[6], [6]]]``.
Parameters
----------
dims : list of lists of ints
Dimensions specifications to be collapsed.
Returns
-------
collapsed_dims : list of lists of ints
Collapsed dimensions specification describing the same shape
such that ``len(collapsed_dims[i][j]) == 1`` for ``i`` and ``j``
in ``range(2)``.
"""
return _collapse_dims_to_level(dims, 2)
[docs]def enumerate_flat(l):
"""Labels the indices at which scalars occur in a flattened list.
Given a list containing a mix of scalars and lists,
returns a list of the same structure, where each scalar
has been replaced by an index into the flattened list.
Examples
--------
>>> print(enumerate_flat([[[10], [20, 30]], 40])) # doctest: +SKIP
[[[0], [1, 2]], 3]
"""
return _enumerate_flat(l)[0]
def deep_map(fn, collection, over=(tuple, list)):
if isinstance(collection, over):
return type(collection)(deep_map(fn, el, over) for el in collection)
else:
return fn(collection)
[docs]def dims_to_tensor_perm(dims):
"""
Given the dims of a Qobj instance, returns a list representing
a permutation from the flattening of that dims specification to
the corresponding tensor indices.
Parameters
----------
dims : list
Dimensions specification for a Qobj.
Returns
-------
perm : list
A list such that ``data[flatten(dims)[idx]]`` gives the
index of the tensor ``data`` corresponding to the ``idx``th
dimension of ``dims``.
"""
# We figure out the type of the dims specification,
# relaxing the requirement that operators be square.
# This means that dims_type need not coincide with
# Qobj.type, but that works fine for our purposes here.
dims_type = type_from_dims(dims, enforce_square=False)
perm = enumerate_flat(dims)
# If type is oper, ket or bra, we don't need to do anything.
if dims_type in ('oper', 'ket', 'bra'):
return flatten(perm)
# If the type is other, we need to figure out if the
# dims is superlike on its outputs and inputs
# This is the case if the dims type for left or right
# are, respectively, oper-like.
if dims_type == 'other':
raise NotImplementedError("Not yet implemented for type='other'.")
# If we're still here, the story is more complicated. We'll
# follow the strategy of creating a permutation by using
# enumerate_flat then transforming the result to swap
# input and output indices of vectorized matrices, then flattening
# the result. We'll then rebuild indices using this permutation.
if dims_type in ('operator-ket', 'super'):
# Swap the input and output spaces of the right part of
# perm.
perm[1] = list(reversed(perm[1]))
if dims_type in ('operator-bra', 'super'):
# Ditto, but for the left indices.
perm[0] = list(reversed(perm[0]))
return flatten(perm)
[docs]def dims_to_tensor_shape(dims):
"""
Given the dims of a Qobj instance, returns the shape of the
corresponding tensor. This helps, for instance, resolve the
column-stacking convention for superoperators.
Parameters
----------
dims : list
Dimensions specification for a Qobj.
Returns
-------
tensor_shape : tuple
NumPy shape of the corresponding tensor.
"""
perm = dims_to_tensor_perm(dims)
dims = flatten(dims)
return tuple(map(partial(getitem, dims), perm))
[docs]def dims_idxs_to_tensor_idxs(dims, indices):
"""
Given the dims of a Qobj instance, and some indices into
dims, returns the corresponding tensor indices. This helps
resolve, for instance, that column-stacking for superoperators,
oper-ket and oper-bra implies that the input and output tensor
indices are reversed from their order in dims.
Parameters
----------
dims : list
Dimensions specification for a Qobj.
indices : int, list or tuple
Indices to convert to tensor indices. Can be specified
as a single index, or as a collection of indices.
In the latter case, this can be nested arbitrarily
deep. For instance, [0, [0, (2, 3)]].
Returns
-------
tens_indices : int, list or tuple
Container of the same structure as indices containing
the tensor indices for each element of indices.
"""
perm = dims_to_tensor_perm(dims)
return deep_map(partial(getitem, perm), indices)


|
s2n-doxygen-full
|
#include <s2n_cipher.h>
Public Types | |
| enum | { S2N_STREAM, S2N_CBC, S2N_AEAD } |
Data Fields | |
| enum s2n_cipher:: { ... } | type |
| union { | |
| struct s2n_stream_cipher stream | |
| struct s2n_aead_cipher aead | |
| struct s2n_cbc_cipher cbc | |
| } | io |
| uint8_t | key_material_size |
| int(* | init )(struct s2n_session_key *key) |
| int(* | get_decryption_key )(struct s2n_session_key *key, struct s2n_blob *in) |
| int(* | get_encryption_key )(struct s2n_session_key *key, struct s2n_blob *in) |
| int(* | destroy_key )(struct s2n_session_key *key) |
Definition at line 61 of file s2n_cipher.h.
| anonymous enum |
| Enumerator | |
|---|---|
| S2N_STREAM | |
| S2N_CBC | |
| S2N_AEAD |
Definition at line 62 of file s2n_cipher.h.
| enum { ... } type |
| struct s2n_stream_cipher stream |
Definition at line 64 of file s2n_cipher.h.
| struct s2n_aead_cipher aead |
Definition at line 65 of file s2n_cipher.h.
| struct s2n_cbc_cipher cbc |
Definition at line 66 of file s2n_cipher.h.
| union { ... } io |
| uint8_t key_material_size |
Definition at line 68 of file s2n_cipher.h.
| int(* init) (struct s2n_session_key *key) |
Definition at line 69 of file s2n_cipher.h.
| int(* get_decryption_key) (struct s2n_session_key *key, struct s2n_blob *in) |
Definition at line 70 of file s2n_cipher.h.
| int(* get_encryption_key) (struct s2n_session_key *key, struct s2n_blob *in) |
Definition at line 71 of file s2n_cipher.h.
| int(* destroy_key) (struct s2n_session_key *key) |
Definition at line 72 of file s2n_cipher.h.


Hi, there! The page you are looking for does not exist.
But don't worry, there are no 404 errors here—just outliers.
Return to Home Page ››


Very minimal tap testing for Lua. Arguably too minimal.
The message
parameter is always optional. Brief messages help make test output
clearer to readers, but are not needed if the output goes straight to another
program for parsing.
ok(expression, [message])
Tests whether expression
returns a truthy
value.
nok(expression, [message])
Tests whether expression
returns a falsy
value.
is(actual, expected, [message])
Tests whether actual
is equal to
expected
. The test uses ==
internally.
isnt(actual, expected, [message])
Tests whether actual
is not equal to
actual
. The test uses ~=
internally.
same(actual, expected, [message])
Tests whether actual
is a deep copy
of expected
. The test uses an __eq
metamethod if one is found. Useful
for comparing tables.
like(string, pattern, [message])
Tests whether string
matches the given
pattern
.
unlike(string, pattern, [message])
Tests whether string
does not match
the given pattern
.
pass([message])
A test that always passes. Useful as a quasi-skip with a
message.
fail([message])
A test that always fails. Useful as a quasi-TODO with a
message.
boom(function, args, [message])
Calls function
with args
as
parameters and checks to see if an exception is raised. Passes if an
exception is raised; fails otherwise. (The exception is swallowed.) The
args
parameter expects a table. The table can be empty but not nil
.
A method is available to show how many tests were run. (This output is required for TAP compliance, which may matter in some cases.)
done([number])
Call this function (optionally) at the end of your test file.
It will print out a line in the form 1..n
where n
is the total number
of tests run. This secures TAP compliance when needed. The call to done
is not otherwise required. If you don’t care about TAP compliance, neither does
the library. If you pass the optional parameter to the method, it will check
whether the number of tests you expected matches the number of actual tests.
Thus, if can function like a traditional plan
method. However, this method
should always be called last in your tap file, unlike plan
methods which
normally start the test file.
Another reason to use done
is if you care about the exit status of the
tests. Many continuous integration tools rely on tests signalling success or
failure via their exit status. After done
is called, the script will exit
with a status of 0, indicating success, if all tests passed. If some tests
failed, the script will exit with a status equal to the number of failed
tests, indicating failure. A script will also exit with an error status if
there is a mismatch between the actual number of tests run and the number
passed to done
as a parameter.
The module provides four informational functions that return strings. They should be self-explanatory.
version() -- 2.3.1
author() -- Peter Aronoff
url() -- https://github.com/telemachus/tapered.git
license() -- BSD 3-Clause
For the same
method I took ideas and code from Penlight, Underscore,
luassert, and cwtest. I thank all the people who worked on those.
Indirect inspirations include knock, Test::More, and bats—not so much for code as for ideas about testing and simplicity.
Thanks in particular to Pierre Chapuis for help with ideas and getting continuous integration for tapered.
An anonymous email showed me that my setup and teardown methods had a logical flaw. As a result, I’ve removed those methods. I appreciate the report.
All the mistakes are mine. See version history for release details.
© 2012-2018 Peter Aronoff. BSD 3-Clause license; see the license for details.


During almost a year I have shaved using a safety razor and it has given me a closer shave than all electric shavers or plastic Mach-X-style Gilette razors I have tried so far. It took some time to get the right technique, thus avoiding razor burn and pimples, but it was worth the wait. When you get a perfect shave it feels really smooth, and lasts longer than a shave performed with a traditional electric shaver....
Yesterday I attended Richard Stallman’s session titled “Free Software and Beyond: Human Rights in the Use of Software and Other Published Works” in Gothenborg.
I expected it to be two hours of Microsoft bashing (and it was too), but it turned out to be quite interesting. Even though I don’t agree with Stallman and FSF on all points and their arguments are not always “water proof”, I think it is necessary to have organizations like FSF/GNU to act as a counter weight to organizations like Microsoft and others....
I’m going for a hike in Abisko late this summer. As a gadget freak I just had to purchase a new gadget for this adventure – a Garmin eTrex Legend Cx. I have owned other GPS units before, but this one is so small, waterproof and straight forward to use (yeah I know it’s a sales pitch, but what the heck). What enticed me the most was not the possibility to see my position on a map at all times, but rather to have a very accurate trace of our hike afterwards....
If you are looking for a HOW TO on installation of Ubuntu, please scroll down a bit.
I recently bought a new laptop from Fujitsu-Siemens – the Amilo SI 1520. My requirements for this laptop was that it should be fairly cheap (max 1000 euros), run Linux with ease and feature a 12 inch wide screen.
After browsing through some local (Swedish) internet stores I soon concluded that I had to go with the high end consumer segment instead of the business segment, otherwise my budget requirement would have gone through the roof....
After an indoor macro shoot-out this weekend I decided to submit one of my more successful (at least to my liking) photos of a yellow rubber duck against a deep blue background to InterfaceLIFT (a popular place for things that prettifies ones desktop). In just 20 minutes I got the response that they liked my “Ducky” and even wanted more (my NES controller in purple).
I will now scan through my archive of photos for more desktop material and hope to have more photos featured at InterfaceLIFT....
I bought some new materials for my own home studio created by plastic tubes and some papers. Some of the shots actually turned out quite nicely like these peppers on a crisp yellow background.
I will probably write a post later on about how I built the studio and how it looks.
I have now completed a web based syntax highlighter that can prettify any code that is already available on the net (like via WebCVS/SVN, or just plain uploaded files). It has support for Java, Python, C++ and Ruby among others. To use it, simply enter a URL to some code you want to be highlighted and decide if you want line numbers or not. You can also chose to only retrieve a link that you can use on your own homepage/blog/forum/whatever....
I have recently been working on a project where the target operating system is Windows XP. Since I do not have a Windows XP installation, I started writing code on Linux and since it worked fine in the beginning, I continued doing so throughout the development phase of the project. At a later stage when it was time to start testing and integrating on Windows I discovered one or two platform specific errors in the code, that I easily fixed....
Something I have wanted for a long time is an efficient way of highlighting syntax for an arbitrary file. Like uploading a file to some server and then execute a query like this:
http://myserver.com/scripts/highlight?url=http://www.someserver.com/MyClass.java&language=java&showlines=false
And it would generate a clean HTML-output with the code highlighted and pretty.
Since I have not found any site that allows me to do that (even if this one is close) I’m going to write my own service based on SilverCity....
In my Projects page I have a description of a tool called Image Grinder wich I’m working on. Since I’m implementing it in C++ and wxWidgets it takes some time (I don’t think C++ is a very creative language – don’t know why I chose it realy). Today I switched mode of the camera to capture both Raw and JPEG’s for each photo, and when I was about to transfer the images to my PC I realized that I need a good “Image Grinder” to copy the images to their locations....


Multiple items type ViewController = inherit obj new : handle:'a -> ViewController override ViewDidLoad : unit -> 'a member myButton : 'a member myButton : 'a with set Full name: index.ViewController -------------------- new : handle:'a -> ViewController
val handle : 'a
member ViewController.myButton : 'a with set Full name: index.ViewController.myButton
module Unchecked from Microsoft.FSharp.Core.Operators
val defaultof<'T> : 'T Full name: Microsoft.FSharp.Core.Operators.Unchecked.defaultof
val set : elements:seq<'T> -> Set<'T> (requires comparison) Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.set
override ViewController.ViewDidLoad : unit -> 'a Full name: index.ViewController.ViewDidLoad
type VCContainer = obj Full name: index.VCContainer
Multiple items type myViewController = inherit obj new : ptr:'a -> myViewController Full name: index.myViewController -------------------- new : ptr:'a -> myViewController
val ptr : 'a
val profilePage : obj Full name: index.profilePage
val settingsPage : obj Full name: index.settingsPage
val mainPage : obj Full name: index.mainPage
Multiple items type App = inherit obj new : unit -> App Full name: index.App -------------------- new : unit -> App
Multiple items type MainPage = inherit obj new : unit -> MainPage Full name: index.MainPage -------------------- new : unit -> MainPage
val self : MainPage
val typeof<'T> : System.Type Full name: Microsoft.FSharp.Core.Operators.typeof
val ignore : value:'T -> unit Full name: Microsoft.FSharp.Core.Operators.ignore
namespace Microsoft.FSharp.Core
val data : obj Full name: index.data
module Observable from Microsoft.FSharp.Control
val result : obj Full name: index.result
val button : obj Full name: index.button
val log : value:'T -> 'T (requires member Log) Full name: Microsoft.FSharp.Core.Operators.log
val image : obj list Full name: index.image
The expanding horizons of F# mobile development
Dave Thomas
@7sharp9_exhumed
7sharpnine.com
Twitch
#fsharpX | #fsharp
GIS
Command and control
Mobile
Finance
Compiler and tools hacker
Xamarin Hacker
EPOS
Xamarin native
Xamarin iOS
Xamarin Android
Xamarin Forms
Cross platform
shared UI
Aimed at simple user interfaces
Xamarin iOS
100% API coverage
Interface builder
Platforms
iOS Example
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
[<Register ("myViewController" )>]
type ViewController (handle : IntPtr ) =
inherit UIViewController (handle )
[<Outlet >]
member val myButton = Unchecked . defaultof < UIButton > with get , set
override x . ViewDidLoad () =
x . myButton . TouchUpInside . Add
(fun _ -> x . View . BackgroundColor <- UIColor . Red )
iOS Example
Is there a better way to do this?
Introducing The iOS designer provider
Generative type provider approach
code behind that is actually behind the scenes
Outlets are exposed for use and not stringly typed
Code completion and tooltips available
Code is injected into the final assembly
No clutter
Less code
Generated code based on storyboards found in the scene
Outlets generated based on custom name
Example
Example
1:
2:
3:
4:
5:
type VCContainer = Xamarin . UIProvider
[<Register (VCContainer . ourViewControllerBase . CustomClass )>]
type myViewController (ptr ) =
inherit VCContainer . ourViewControllerBase (ptr )
Generated Code
Xamarin Android
100% API coverage
Interface builder
Platforms
Android Phone
Android Wear
Xamarin Forms
Build native UI's for iOS, Android and Windows phone from a single, shared codebase
Cross platform
shared UI
Aimed at simple user interfaces
Create user interface in Xaml or programatically
Xamarin Forms Example
Xamarin Forms Programmatic Example
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
let profilePage =
ContentPage (
Title = "Profile" ,
Icon = "Profile.png" ,
Content = StackLayout . Create (
[ Entry (Placeholder = "Username" )
Entry (Placeholder = "Password" , IsPassword = true )
Button (Text = "Login" ,
TextColor = Color . White ,
BackgroundColor = Color . FromHex "77D065" ) ],
spacing = 20.0 ,
padding = thickness 50.0 ,
verticalOptions = LayoutOptions . Center ))
let settingsPage = ContentPage (Title = "Settings" , Icon = "Settings.png" )
let mainPage = TabbedPage . create [profilePage ;settingsPage ]
type App () =
inherit Application (MainPage = mainPage )
Xamarin Forms Xaml Example
Xamarin Forms Code Behind Example
1:
2:
3:
4:
5:
6:
7:
type MainPage () as self =
inherit ContentPage ()
do base . LoadFromXaml (typeof < MainPage > ) |> ignore
let usernameEntry = base . FindByName < Entry > ("usernameEntry" )
type App () =
inherit Application (MainPage = MainPage ())
Use Xamarin Forms when...

A complex UI is required
Interactions require native behavior
You want to use many platform-specific API's or features
The UI is more important than code sharing
Fable
What is Fable?
Fable compiles F# to JavaScript
Combines the power of F# with the pervasiveness of JavaScript
Allows an opportunity to use the expressiveness and power of F# on new platforms
Integrates with Existing JavaScript libraries
Support most of Fsharp.Core and a some of the BCL
Allows dynamic programming for fast turn around
Can provide strongly typed foreign interfaces
What is Fable |> Fuse?
Fuse is a set of tools that makes designing and developing native mobile apps fast, easy and fun
Fable generates JavaScript from F#
User interface designed in an Xml dialect called UX
Business logic defined in reactive JavaScript
Code is compiled natively via C++
Fable |> Fuse Example
UX markup
JavaScript
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
var Observable = require("FuseJS/Observable" );
var data = Observable();
fetch('http://bit.ly/2mFV8CU' )
.then(function (response) { return response.json(); })
.then(function (responseObject) { data.value = responseObject; });
module.exports = {
data: data
};
Json based data
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
{
"colorsArray":[{
"colorName":"Red",
"hexValue":"#F44336"
},
{
"colorName":"Pink",
"hexValue":"#E91E63"
},
{
"colorName":"Purple",
"hexValue":"#9C27B0"
}, ...
]
}
F#
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
open Fable . Core
open Fuse
open Fable . PowerPack
open Fable . PowerPack . Fetch
let data = Observable . create ()
let result =
promise {
let! req = fetch "http://bit.ly/2mFV8CU" []
let! json = req . json ()
do data . value <- json } |> Promise . iter ignore
F# more elaborate
Adding strong types
Adding functions
Fable |> Fuse
Pros
Hot reloading
Declarative UI
x-plat
Fable |> Fuse
Cons
Bleeding edge
Limited by the Fuse framework and UX markup
Coverage not 100% for those parts native code required (Obj-C/Swift/Java.)
Packaging with webpack can be perilous (here be dragons)
Support: Although considerable from Fuse and community, compiling of F# to JavaScript might present unforeseen issues.
Expect problems, be prepared to roll your sleeves up.
Fable + React Native
React Native lets you build mobile apps using JavaScript.
It uses the same API as React, lets you compose a mobile UI from declarative components
Example
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
open Fable . Core
open Fable . Import
module R = Fable . Helpers . React
module RN = Fable . Import . ReactNative
open RN . Props
let button =
text [] "click me!"
|> touchableHighlight [
OnPress (fun () -> console . log ("clicked!" ))]
let image =
image
[ Source [ Uri "http://facebook.github.io/react/img/logo_og.png"
IsStatic true ]]
[]
view []
[ image
button ]
Similar to vdom in elm
Fable Elmish
Fable + React Native
Pros
Hot reloading
Declarative UI
x-plat
Fable + React Native
Cons
Bleeding edge
JavaScript oriented logic, efficiency, threading
Limited by the react framework
Run time only type checking
Tricky debugging Chrome / (gdb, lldb)
API coverage not 100%
Packaging with webpack can be perilous (here be dragons)
For those parts where native code required, cross language interaction between F# -> JS -> Swift/Java.
Run time only type checking: Obviated slightly by Fable although dynamic programming often used in Fable.
Support: Although considerable from react community, compiling of F# to JavaScript might present unforeseen issues.
Expect problems, be prepared to roll your sleeves up.
How are Fuse and React Native different?
Fuse aimed at designers and developers
Fuse has an OpenGL based UI, intuitive and slick user experience
Fuse has real-time editing of UX markup, real-time updating of UX code from Inspector
React Native hosts more code in JavaScript like UI manipulation, virtual dom and serialization
React Native has a lot more components available for initial use
Bringing it all together
Xamarin
100% Native API coverage
Well supported platform
x-platform option available with Xamarin Forms
Compiles to native code
Same day availability for new API's
Easier debugging
Bringing it all together
Fable
Hot coding on Fuse and React Native
API coverage is not yet 100%
Bleeding edge, be prepared to go deep
Dependent on JavaScript compilation from F#
Support may vary


Instancing Instances
Static Position Instances of Instances
We can, however, also do all of these calculations in CHOPs rather than using the ** copy SOP**. In this example our blue boxes, and are red boxes are all instances — a more efficient approach, but one that takes a little more set-up to get right:
The most important part of this configuration is understanding and working with math CHOPs. For math CHOPs the order of connections matters in some cases, and allows us to exploit some interesting features of the operator.
For example, if our our first input is a single sample CHOP and our second input is a multi-sample CHOP, adding these CHOPs will repeat the operation across all of the samples in the second input. Let’s see a simple example of that. We have converted a line SOP to CHOPs, but want to move that over by one TouchDesigner unit. We can do this by using a math CHOP where we’re combining CHOPs by adding them. The first input should have three channels (tx, ty, tz), when we add this single sample CHOP to our multi-sample CHOP (our line SOP converted to a CHOP), we will add the values from our first input to all the samples. Here’s what that might look like:
I’ve added chopTo DATs so we can see the values — notice how the input values have been added to all samples. Similar to this behavior, if we have more input channels in our single sample first input, we’ll repeat the calculations to match the number of channels in the first input.
Let’s imagine that we have two constant CHOPs, each with three channels (tx, ty, tz). We join those CHOPs (this is similar to what you might see when you’ve converted a SOP to a CHOP) to simulate what we might get from a SOP. Next let’s shuffle these samples to get them all into single channels (again, simulating what we might need to do if we’re working with SOPs that are converted to CHOPs), then we need to re-order them so they have channel names in the order tx0, ty0, tz0, tx1, ty1, tz1.
Finally, in our thought experiment we’ve done all of this because we have a single line SOP that we’ve converted to CHOPs. We want to make a second line that’s transformed based on the values from our work above. But how can we turn one line into two lines? If we convert our line SOP to CHOPs, then add the two CHOPs together we’ll end up with a second set of transform channels. Shuffling these back together into just three channels will get us ready to use this data for instances:
Why oh why did we do all of that work? The behavior above is what we take advantage of in this portion of our example:
We flatten all of the positions from our first box, then use some tricky CHOP math to get new positions for all of our geometry, before shuffling our channels and samples back into order to be correctly displayed. This is a tricky concept, and taking some time to play with the math CHOP is an important part of learning how to best take advantage of this technique.
Tested in TouchDesigner099 2020.23680
Updated 06.03.20
Matthew Ragan
Zoe Sandoval


respiratory study influenza healthcare infections medical respirators participants {border-style Control virus ResPECT masks px;} #ffffff;} attack clinical designed illness Participant health respirator Health protection protective rate transmission Respiratory data infection laboratory care confirmed mask Healthcare cluster-randomized period. seasonal symptoms Disease Med incidence intervention models using workers Centers HCP Infect National Safety U.S. analysis defined filter fit patients primary settings type wear Institute Medical Occupational RPD Veterans acute collected complete control equipment exposure number outcome personnel px; viral {font-family Affairs HCPs Participants exposures font-size guidelines infectious levels manuscript. participant preventing secondary signs site size spread use used (a) (b) Department Influenza Laboratory Radonovich Table arm assigned devices different double; drafted effectiveness expected filtering need participating performed personal power protect rates surgical (Table Accessed Clinical Hyg Outcome Parainfluenza airborne airflow analyses annual better border-color border-width calculations clinically comparison conducted face facepiece infection, laboratory-confirmed members patient penetration prior provided randomized reduction resistance serum settings, site. solid; study, study. time total withdrawal working workplace {font-style {font-weight (ARI) ./j.ajic... ./journal.pone. Academies Clark Committee Coronavirus Environ Fluidshield Human Infection Kimberly Occup Power Prevention, Protection RT-PCR Sept Shaffer Study Technol Trial Washington able and/or antibody approximately assess based bold characteristics conceived courier; em; evidence greater group higher human include including influenza-like lower multiple nasopharyngeal occupational pathogens performance period person-seasons population potential prevent pt;} recommendations reduce research results samples season season, similar specimens swabs trial wearing workplace,


{% extends 'main/base.html' %} {% block title %} Home {% endblock %} {% block content %}
The only case management powered by freedom!
This is about card 1.
This is about card 2.
This is about card 3


Google Maps will soon offer tips from Local Guides
by Alan MartinIf you’re in a new city, it can be tough to separate the hidden gems from the tourist traps. The likes of Yelp and TripAdvisor can definitely help, but then you’re left trying to figure out which reviews to trust, and which are too good to be true.
The same problem is inherent in Google Maps, too, of course. And perhaps that’s why the company is trialing a new feature: “Local Guides”. The idea is a simple one: Google has picked out a bunch of trusted reviewers who seem to know their city inside out, and given them prime billing to recommend the sights and sounds to visitors right there in Google Maps.
Related: Best Android apps
“If you’re in Bangalore, Melvin John is a Local Guide whose reviews and recommendations will guide you through the city’s microbrewery scene,” explained Austin Wells the Google Maps product manager, in a post announcing the test. “And if you’ve used Google Maps in Tokyo, Ayaka Ohkawa’s popular photography has probably helped you explore the city’s landmarks, cuisine and culture.”
While Google says that it has an active community of 120 million Local Guides in 24,000 cities, initially this trial will be considerably smaller, appearing in the Maps app for just nine locations. These are: Bangkok, Delhi, London, Mexico City, New York, Osaka, San Francisco, São Paulo and Tokyo.
Related: Best Android phones
If you tap “follow” on one of the chosen Local Guides, you’ll start to see their recommendations appearing both in the “For You” tab, and on the map view itself. From the looks of it, there will be multiple people for each city, so you’ll be able to find someone whose tastes seem to match yours through a bit of trial and error.
No word on when exactly this new feature will be launching, but Google does say it should be “soon.” So keep an eye on Google Maps if you live in one of the lucky cities.
Unlike other sites, we thoroughly review everything we recommend, using industry standard tests to evaluate products. We’ll always tell you what we find. We may get a commission if you buy via our price links. Tell us what you think – email the Editor


11-29-2014
I was looking over the list and if I'm really honest when I think back to the times I was happiest in my life, I think it was when I was fully sharing who I was as a person with someone else. I think it was a close-interlinking of my mind with another person. The closest thing on the list that you have there is “romance”, which I do not think covers precisely the value I am thinking of here. Much more close would be something like intimacy. I value relationships with others that are fulfilling and intimate and that is a huge part of what makes me happy.
Honestly the last time someone asked me for advice was when my friend was thinking about applying to dev bootcamp and she wanted to know if I thought she would be a good fit.
As I said in my stereotype threat blog post, I feel like this is less an issue for me than it is for other people. Part of my privilege as a white straight cis male is that people generally have favorable expectations of me. I do think that the things I mentioned (and other values I hold, obviously) do help me try to fight stereotyping that I might do that would contribute to other peoples senses of unease.
As for feeling down, my roommate tells me that she thinks my biggest issue with regards to dev bootcamp is impostor syndrome. I don't trust myself to be right and I get down easily with regards to not being able to figure something out. I need to be able to trust myself more often, and that is probably related to self respect, fairness (to myself) and other things not discussed.


Uploading Files¶
The easiest way to upload media to your server is with the MediaUploader
class, which handles validating the file, moving it to its destination and creating a Media
record to reference it. You can get an instance of the MediaUploader using the Facade and configure it with a fluent interface.
To upload a file to the root of the default disk (set in config/mediable.php
), all you need to do is the following:
<?php
use MediaUploader; //use the facade
$media = MediaUploader::fromSource($request->file('thumbnail'))->upload();
The fromSource()
method will accept either
- an instance of
Symfony\Component\HttpFoundation\File
. - an instance of
Symfony\Component\HttpFoundation\UploadedFile
. - a URL as a string, beginning with
http://
orhttps://
. - an absolute path as a string, beginning with
/
.
Specifying Destination¶
You can customize where the uploader will put the file on your server before you invoke the upload()
method.
<?php
$uploader = MediaUploader::fromSource($request->file('thumbnail'))
// specify a disk to use instead of the default
->setDisk('s3');
// place the file in a directory relative to the disk root
->setDirectory('user/john/profile')
// alternatively, specify both the disk and directory at once
->toDestination('s3', 'user/john/profile')
// Overide the filename of the source file
->setFilename('profile.jpg')
->upload();
Validation¶
The MediaUpload
will perform a number of validation checks on the source file. If any of the checks fail, a Plank\Mediable\MediaUploaderException
will be through with a message indicating why the file was rejected.
You can override the most validation configuration values set in config/mediable.php
on a case-by-case basis using the same fluent interface.
<?php
$media = MediaUploader::fromSource($request->file('image'))
// model class to use
->setModelClass(MediaSubclass::class)
// maximum filesize in bytes
->setMaximumSize(99999)
// how to handle a file that already exists at the destination
->setOnDuplicateBehavior(Media::ON_DUPLICATE_REPLACE)
// whether the aggregate type must match both the MIME type and extension
->setStrictTypeChecking(true)
// whether to allow the 'other' aggregate type
->setAllowUnrecognizedTypes(true)
// only allow files of specific MIME types
->setAllowedMimeTypes(['image/jpeg'])
// only allow files of specifc extensions
->setAllowedExtensions(['jpg', 'jpeg'])
// only allow files of specific aggregate types
->setAllowedAggregateTypes(['image'])
->upload();


Newcastle United team news: Steve Bruce confirms Jonjo Shelvey as stand-in skipper
Newcastle United head coach Steve Bruce forced into changes for the trip to Villa Park as captain Jamaal Lascelles misses out
by Lee RyderNewcastle United boss Steve Bruce was relieved to see Ciaran Clark passed fit enough to start against his old club Aston Villa tonight.
The Republic of Ireland centre-back had been doubtful with a knock but will line up in the second city this evening.
With Jamaal Lascelles ruled out with a knee injury, Paul Dummett came back into the starting line-up with Jonjo Shelvey handed the skipper’s armband.
Bruce had an array of attacking options on the bench with Dwight Gayle, Andy Carroll and Christian Atsu in reserve while Fabian Schar was deemed fit enough for just a substitute role.
A gang of Villa fans waited for returning former boss Bruce with some half-hearted booing as he prepared to take on his ex-club.
Before the game Bruce had been asked about a cabbage being hurled at him in his last game as manager.
He said: “How they got it into the stadium I don’t know. Stephen Clemence miscontrolled it when it came in.
“My reaction was ‘what the **** is that?’ It didn’t miss me by much, it fell at my feet. I thought it was a ball, the size of it.”
The Magpies can climb up to the top 10 with three points at Villa Park tonight.
UNITED : Dubravka, Yedlin, Fernandez, Clark, Dummett, Willems, Almiron, Hayden, Shelvey, Saint-Maximin, Joelinton
Subs: Darlow, Schar, Carroll, Gayle, Krafth, Atsu, Longstaff


---
layout: post
title: ULX3S FPGA Examples
date: '2019-03-31T19:01:00.000-07:00'
author: gojimmypi
tags:
modified_time: '2019-03-31T19:01:07.567-07:00'
blogger_id: tag:blogger.com,1999:blog-4109066286647243251.post-6986643689430697589
blogger_orig_url: https://gojimmypi.blogspot.com/2019/03/ulx3s-fpga-examples.html
---
March has been FPGA learning month. I created some examples that were accepted by emard into the new ULX3S Examples repo
.
Copyright (c) gojimmypi all rights reserved. Blogger Image Move Cleaned: 5/3/2021 1:35:54 PM


window
Rotate your device to trigger the orientation events. Resize your window to trigger the resize events.


{{ $.Scratch.Set "name" "Welcome" }} {{ $.Scratch.Set "url" "/" }} {{ if (findRE "^week" .Dir) }} {{ $.Scratch.Set "name" (print "Week " (index (findRE "[0-9]+" .Section) 0)) }} {{ $.Scratch.Set "url" (print "/" .Section) }} {{ end }}
University of CopenhagenSpring 2019
made by Jakob Jul Elben


Dynamic Communities Classes¶
For each representation of dynamic graphs, there is a corresponding representation of dynamic partitions:
DynGraphSN == DynCommunitiesSN (snapshots)
DynGraphIG == DynCommunitiesIG (interval graphs)
Dynamic communities are (currently) identified by labels, i.e. each community is associated with a unique label, and two nodes that have the same labels (in the same or in different time steps) belongs to the same (dynamic) community.
Sequences of snapshots representations¶
-
class
tnetwork.
DynCommunitiesSN
(snapshots=None)[source]¶ Dynamic communities as sequences of snapshots
Communities are represented as a SortedDict, key:time, value: dict id:{set of nodes}
Adding and removing affiliations¶
|
Affiliate node(s) to community(ies) at time(s) |
|
Add a community at a time |
|
Affiliate nodes given a dictionary representation |
Accessing affiliations¶
Affiliations by nodes |
|
Communities |
|
Affiliations by snapshots |
|
Affiliations by communities |
Statistics/Other¶
Duration of each community |
|
Duration of affiliations |
|
Return the list of time steps |
|
Return an order of nodes optimized for longitudinal plotting |
Converting¶
|
Convert to SG communities |
Interval graph representations¶
-
class
tnetwork.
DynCommunitiesIG
(start=None, end=None)[source]¶ Dynamic communities as interval graphs
This class maintains a redondant representation for faster access:
_by_node: for each node, for each community, Interval of affectation (affectations)
_by_com: for each com, for each node, Interval of affectation (communities)
Note that they are hidden for this reason, if you modify one, you need to be careful maintaining the other one. You can however access them without problem directly, or use the corresponding functions (affiliation and communities)
Adding and removing snapshot_affiliations¶
|
Affiliate node n to community com for period times |
Add communities provided as a cluster |
|
|
Remove affiliations |
Accessing snapshot_affiliations¶
Affiliations by nodes |
|
Affiliations by communities |
|
Durations of affiliations |
Other functions¶
Main community for each node |
|
Nodes by lexicographic order |
|
|
Nodes ordered by their main community |


Police dashcam shows moment Amtrak train slams into car on New Jersey tracks
by Bradford BetzA police dashcam on Tuesday captured an Amtrak train in New Jersey slamming into the car of an alleged drunken driver who'd gotten stuck on the tracks.
The collision happened around midnight Tuesday underneath the Route #64 Bridge near the Princeton Junction Train Station in West Windsor, police said in a press release.
Officers, responding to a call about a disabled vehicle on the tracks, found a 2012 Toyota Camry facing east while stuck on the westbound Amtrak track.
The driver, 23-year-old Amna Ahmed, approached one of the officers for assistance. Her father and sister had arrived on the scene in a white BMW to help.
Trains were notified to stop traffic because of the disabled Toyota and multiple people near the tracks. Still, a westbound Amtrak approached at a high rate of speed, and an officer cautioned those by the tracks to take cover.
The train struck the Toyota, sending debris flying where the officers had been standing. The Toyota was destroyed and pushed into a patrol car which sustained significant damage.
OFF-DUTY NYPD COP KILLED, FDNY MEMBER AMONG 2 CRITICALLY INJURED, IN HORROR EARLY MORNING CRASH
Another patrol car and the white BMW sustained minimal damage after being hit with debris from the Toyota. The train sustained heavy damage to its engine car and numerous other trailing train cars, according to police.
Despite the damage, no injuries were reported. The collision shut down traffic in the surrounding area for several hours.
CLICK HERE TO GET THE FOX NEWS APP
Police determined Amna had been driving while intoxicated and transported her to police headquarters for processing. She was charged with reckless driving and DWI before being released pending a future appearance at the West Windsor Municipal Court, police said.


PBXNativeTarget
public struct PBXNativeTarget: PBXTarget
This is the element for a build target that produces a binary content (application or library).
-
Element reference.
Declaration
Swift
public let reference: String
-
Target build configuration list.
Declaration
Swift
public let buildConfigurationList: String
-
Target build phases.
Declaration
Swift
public let buildPhases: [String]
-
Target build rules.
Declaration
Swift
public let buildRules: [String]
-
Target dependencies.
Declaration
Swift
public let dependencies: [String]
-
Target name.
Declaration
Swift
public let name: String
-
Target product name.
Declaration
Swift
public let productName: String?
-
Target product reference.
Declaration
Swift
public let productReference: String?
-
Target product type.
Declaration
Swift
public let productType: PBXProductType?
-
init(reference:buildConfigurationList:buildPhases:buildRules:dependencies:name:productName:productReference:productType:)
Initializes the native target with its attributes.
Declaration
Swift
public init(reference: String, buildConfigurationList: String, buildPhases: [String], buildRules: [String], dependencies: [String], name: String, productName: String? = nil, productReference: String? = nil, productType: PBXProductType? = nil)
Parameters
reference
element reference.
buildConfigurationList
target build configuration list.
buildPhases
target build phases.
buildRules
target build rules.
dependencies
target dependencies.
name
target name.
productName
target product name.
productReference
target product reference.
productType
target product type.
-
Declaration
Swift
public static var isa: String = "PBXNativeTarget"
-
Declaration
Swift
public static func == (lhs: PBXNativeTarget, rhs: PBXNativeTarget) -> Bool
Parameters
lhs
rhs
-
Declaration
Swift
public var hashValue: Int
-
Declaration
Swift
public init(reference: String, dictionary: [String : Any]) throws
Parameters
reference
dictionary
-
Returns a new native target by adding a new build phase.
Declaration
Swift
public func adding(buildPhase: String) -> PBXNativeTarget
Parameters
buildPhase
build phase to be added.
Return Value
native target with the build phase added.
-
Returns a new native target by removing a new build phase.
Declaration
Swift
public func removing(buildPhase: String) -> PBXNativeTarget
Parameters
buildPhase
build phase to be removed.
Return Value
native target with the build phase removed.
-
Returns a new native target by adding a new build rule.
Declaration
Swift
public func adding(buildRule: String) -> PBXNativeTarget
Parameters
buildRule
build rule to be added.
Return Value
native target with the build rule added.
-
Returns a new native target with the build rule added.
Declaration
Swift
public func removing(buildRule: String) -> PBXNativeTarget
Parameters
buildRule
build rule to be added.
Return Value
native target with the build rule.
-
Returns a new native target with a dependency added.
Declaration
Swift
public func adding(dependency: String) -> PBXNativeTarget
Parameters
dependency
dependency to be added.
Return Value
native target with the dependency added.
-
Returns a new native target with the dependency removed.
Declaration
Swift
public func removing(dependency: String) -> PBXNativeTarget
Parameters
dependency
dependency to be removed.
Return Value
native target with the dependency added.


theaflavin RBD SARS-CoV- contact amino binding acid bonds residues hydrogen area docking showed spike protein entry structure Fig functional interaction respectively. used OpenUrl dark green interactions labeled molecules SARS-CoV-. SwissDock chemical formed potential viral crystallographic directly host illustrated represent screening ACE. CrossRef Gln, analyzed box coronavirus discovered kcal/mol model modes results scores structures using (in ACE Asn Carbon, Chinese Covalent FullFitness Hydrophobic Kim LigPolt. RBD. Science additional blue blue, circles, compounds depicted diagram dihydrotanshinone distance distances dot energy eyelashes fluoride hydrophobic idock involved involving label light lines lines, marked moieties moiety molecule nitrogen, orange oxygen, pointing purple red red, relative residues, residues. score size solid subunit surface white,


As you can see from the examples above, there are many properties to consider when dealing with borders. To shorten the code, it also possible to specify all the individual border properties to one property. The border property is a shorthand property for the following individual border properties:border-width border-style(required) border-color
Left Border
Right Border
Bottom Border
Top Border


Intro: Invention of the Internet
The internet is a wide network that connects computers all over the world and is used for information and communication. It is the telecommunication of the 21st century.  There are more emails sent out in a day than first class letters via post office and is responsible for 1/3 of the US economic growth in 1998. Back when computers first came around the were slow and were the size of rooms, gradually computers became faster and smaller and can be used anywhere in the world (PC).
The person with the idea or “seed’ of computing came from a man named J.C.R. Licklider. Computers first began being worked on during the civil war by Advanced research project agency, who oversaw the space program which included computer science. At MIT Leonard Kleinrock started working on data transmission and is known for queuing theory which is a branch is operations research that has application in many fields and implemented two techniques
- Demand access
- Distributing control
Later, in 1960 Robert (Bob) Taylors’ big new idea was time sharing. Time sharing is a method of operations which includes many users with different programs interact with the main processing unit of a larger scale digital computer. He wanted to build a network for one terminal to talk to all machines (computers). After receiving the funds to work on this project he recruited Lawrence (Larry) Roberts to build the fist network. In 1968 Larry recruited engineers to build the Advanced Research Projects Agency computer net work the ARPANET what is called the internet now. This was based on minicomputers or smaller computers called Interface Message Processor or IMPs and revolution technology called package switching. The plan was to network for identical IMPs each one to be attached to different main framed computers:
- Sigma 7 (UCLA)
- SDS 940 SRI (STANDFORD RESERCH INSITUTE)
- IBM 360/75 (UNIVERSITY OF CALIFORNIA IN SANTA BARBARA)
- POD 10 (UNIVERSITY OF UTAH)
By April 1971, the ARPANET had 18 main frame computers hooked into the network. Emails and files were sent across the network. In October of 1972, the idea that took over the world (Computer Network) was demonstrated in Washington DC. Finally the Act of congress passed a bill that took this out of exclusiveness and into the public.


Loading...
No Transactions created yet...
| Transaction Id | Is Confirmed | Is Compromised |
|---|---|---|
| {{userTransaction.transactionId}} |
No allowed categories were defined yet...
| Id | Category Owner | Category Name | # |
|---|---|---|---|
| {{signer.allowedSignerId}} | {{signer.groupOwner}} | {{signer.groupName}} |
No signatures yet...
| Id | Record Height | DT | ST | DH | SSM | EC | AGR | AGM | SC |
|---|---|---|---|---|---|---|---|---|---|
| {{signature.signatureId}} | {{signature.signatureRecordHeight}} |


pREST is a way to serve a RESTful APIs for any database. Right now we support PostgreSQL and support to others databases such as MySQL are being developed by the community.
There is PostgREST written in Haskell, but keeping Haskell software in production is not an easy job. With this need pREST was born.


PS4 Playground 5.05
XPLOIT :
VORTEX-HEN 1.6
MIRA-HEN
OTHER :
Stooged's App2Usb v1
Stooged's BackUp v2
Xvortex's FTP v1.3
Xvortex's Dumper v1.8
ReactPSPLUS
UNDO ReactPSPLUS
Update Blocker
INFO & DESCRP.
RIDER STATION
0816-1466-202
PS4 PAYLOADS 5.05
online / Offline payloads by riderstation
5.05 online / Offline Webkit Playground origin source webkit by cupecups and kiiwii
(special thanks to qwertyoruiopz, flatz, specter, pearlxcore, xvortex, anonymous contributors)


This is a tutorialzine demo. View the original tutorial to read and download the source files.
The gallery features artwork from rambocre, pickupjojo and codenamebender


--- title: Pandemic Products Information date: 2020-03-15 slug: exchange tags: shared weight: 1 ---
Difficulties on one side, resources from all sides.
At present, the epidemic of COVID-19 is outbreaking globally. Epidemic prevention materials in some places are seriously lacking, and they need to be imported from other parts of the world.
At the same time, some medical material manufacturers have not found a corresponding market.
Our website launches this section of “Pandemic Products Information” to facilitate the smooth flow of information for buyers and sellers.
We are not Alibaba. We are the media for supply and demand of epidemic prevention materials.
Friends interested in adding product information to this website can scan the WeChat QR code to add:
Or send a message to the mailbox: original_entropy@163.com.


My Favorite Things
Written by: John Nelson
Welcome to My Favorite Things! If you are looking for My Favorite Places, you can find that here. Or, you can go back home
.
Authors
-
JA Jance
-
Tom Clancy
Foods
My favorite foods in alphabetical order:
- Butter Cheeseburgers from Culver's
- Cheese
- Cheese Hot Dogs
- Pears
- Pizza
Favorite Flavors of Ice Cream (in order):
- Peanut Butter Candy
- French Vanilla
- Birthday Cake


WITNESS LIST Agriculture & Livestock Committee March 1, 1999-8:00A Agriculture Update On: Knutson, Ronald (Agricultural and Food Policy Center) Smith, Edward (Texas Agricultural Extension Service) Fire Conditions On: Hull, James (Texas Forest Service) Young, Bobby (Texas Forest Service)


{% include 'head.html' %}
Scrambled Words supports three types of scoring.
Classic Scoring calculates a word's score using only the word length. The table for


It has become common in recent years for the annual Hooting Yard paperback to be published in late autumn. This year, however, Mr Key has decided to tap the summer reading market. Now you can sprawl on the beach at a dilapidated and unseemly seaside resort clutching this fantastic new anthology to your heaving bosom!
Porpoises Rescue Dick Van Dyke contains 250 pages of majestic sweeping paragraphs, together with discussion notes for your Book Group and a photograph of the Parp-O-Phone! It even has wider margins than earlier books, so you won't need to crack the spine to sup your fill of what one critic (Snigsby) called “Mr Key's delicious prose nectar”.
As ever, these timeless words are ignored by the accountants and airheads of the literary establishment, so the only way to get your copy is to hie over to Lulu. Do so right away!


Accordion: Nesting
These are nested accordions.
- A title with
aria-expanded="true"
has a blue border. - A title with
aria-selected="true"
has a red border. - An open item should have both borders.
- Manipulating one accordion shouldn't affect the other.
-
Accordion 1
Base Accordion
-
Accordion 1
Nested Accordion
-
Accordion 1
Nested Accordion
-
Accordion 1
-
Accordion 1
Base Accordion


--- title: 最简单的爬虫 keywords: fastai sidebar: home_sidebar summary: "1. 建立请求" ---
import requests from bs4 import BeautifulSoup


Train Schedule
Current Time:
Current Train Schedule:
Delete
Train Name
Destination
Frequency (min)
Next Arrival
Minutes Away
Add Train:
Train Name
Destination
First Train Time (HH:mm military time)
Frequency (min)
Submit


BMW X2 Prototype Hides Big Secret
Looks like a new version of the BMW X2 is coming.
by Martin BiggThe BMW X2 was introduced as a small SUV with youthful styling designed to appeal to millennials. So why, then, is BMW testing a new X2 prototype?
A closer look at this prototype caught roaming the streets reveals it has a "hybrid test vehicle" sticker slapped on the side, which suggests BMW is cooking up a new plug-in hybrid version of the X2 that will be sold as one of ten new electrified models that will join its lineup by 2020. Remember, the X2 is based on the X1, which is sold as a plug-in hybrid in Europe and China, so it makes sense for BMW to also give the X2 the same treatment.
The X1 xDrive25e combines a 125-hp three-cylinder gasoline engine with 125 hp driving the front axle with a 95 hp electric motor on the rear axle. Combined, this setup produces 220 horsepower and enables all-wheel drive when both engines work together. Otherwise, it has front- or rear-wheel drive. This technology is also expected to be adapted for the X2. The X1 plug-in hybrid has an electric driving range of 35 miles, so the X2 version should deliver roughly the same range
The X2 PHEV prototype is almost completely devoid of camouflage, which isn't surprising considering we already know what the regular X2 looks like. However, on closer inspection, we can confirm the prototype has been fitted with fog light stickers to make it look like the current model. Fortunately, another white prototype was spotted completely undisguised, confirming that the X2's round fog lights are being replaced with LED stripes. It's unclear, however, if the redesigned fog lights will be a unique design feature of the plug-in hybrid or applied to all future X2 models.
Starting at $36,400, the current BMW X2 is available with a 2.0-liter turbocharged, inline-4 gasoline engine producing 228 horsepower and 258 lb-ft of torque in the 28i model and 322 lb-ft of torque in the range-topping M35i.


One way to win an assault case is by showing that it was a consensual fight. This requires no one suffered any major injuries from the fight. In the case of minor injuries like a broken nose the court will look at whether you intended to cause the injuries.
It is also possible to win an assualt charge by claiming self defense. Self defence applies when you or someone else was being attacked and you acted in self defence to protect yourself or others. Finally, there are also the ways available in every trial such as delaying the trial past the permissible time or kicking out the evidence which you can learn more about here.
If you are wondering if you should go to trial or negotiate with the prosecutor, I can read over your disclosure and give you and estimate on your chances of winning at trial for $ 100.00.


Here at Pete's Popcorn Parlor, we pride ourselves on procuring only the best popcorn kernels for our customers west of the Mississippi.
Any type of popcorn you're looking to create-- whether it's classic buttery popcorn, cheesy popcorn, caramel popcorn, kettle corn, or some other popcorn we haven't even heard of yet, Pete's Popcorn Parlor has just the kernels you're looking for!


if($customization == 1){
{:W('SportsEvent/SportsEventService')}
}
{:W('SportsEvent/SportsEventIssue',array('limit'=>10))}
{:W('SportsEvent/SportsEventShop',array('limit'=>10))}
{:W('SportsEvent/SportsEventRecommendEvent',array('limit'=>2))}
{:W('SportsEvent/SportsEventRelatedIssue',array('event_id'=>$content['id']))}
{:W('SportsEvent/SportsEventSexCompare',array('id'=>$content['id']))}


| DOSE: |
1.0 g |
smoked |
Cannabis |
(plant material) |
I am now currently 21 yrs of age and presently consider my-self a frequent Bud smoker. However this story takes place in my much younger years.
I was about 15 yrs of age at the time and had tried smoking pot on numerous occasions, however found that this drug never really had such a major affect in altering my mind in any way whatsoever.
It was the school holidays and a few friends and I decided to finally steal some weed off one of my friend's mom's, lets call this friend of mine J. We ended up stealing quiet a bit of weed off his old lady and then proceeded to our usual 'hang out spot', which was situated below a cliff face, near a creek.
We were all quiet new to the smoking scene and just wanted to get as stoned as possible, so I told my pal J to chop the whole lot of weed up and we were to smoke it straight (no tobacco at all). So we loaded up our homemade bong and puffed away. I seriously do not remember how many cones(bowls) I had smoked and noticed, as per usual, I wasn't feeling the effects off of the dope at all.
I then remember smoking my last cone and had just automatically passed the bong over to my mate that was sitting next to me, when all of a sudden I noticed I felt as though my spirit was kinda leaving my body. I visualised this beautiful scene in my head , what looked like to be sun shining between long forest trees(must of been the setting)and an almighty 'Head rush' pounding through me. I then stand up extremely scared, after I saw this visual and was in a rather panicky and anxious state. I vaguely remember yelling and my friend, 'That it was all his fault that I was in this state!', and he was trying to calm me down.
I tried to climb the very shallow cliff out of the creek and sort of noticed that the whole background(in all directions)of the creek and the trees looked exactly the same. I ended up making my way up top of the cliff and threw my whole packet of cigarettes down into a bunch of trees, noticing at the same time that my hand felt extremely numb, and for some reason when I put them together they looked as though they were constantly shaking and rubbing all over. This, to me was a very mind-bending hallucination, and for some unknown reason I was totally paranoid about my Mom, Teachers, Everyone I knew knowing how f**king stoned I was.
It was almost as if my mind was constantly having all of these negative thoughts passing through it yet somehow, simultaneously. Whilst this was happening I had promised not to smoke ever again, but that night after the dope had worn off, I remember saying to myself, 'F**k, That was some awesome trip'
I will never know what the heck was in that weed, but I have never had such a dramatic experience like that ever since, although I note that there have been on several occasions that I get that anxious and paranoid conscious in my head.
Anyway, that concludes my first time stoned, and I just hope anyone that has never smoked weed before takes time to read this as a warning what could happen if you don't know what to expect off 'you're first time high!'. And that if you do abuse this very mild drug that it COULD have an adverse reaction.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


The ships hung in the sky, much the way that bricks don't.
Don't know, I don't know such stuff. I just do eyes, ju-, ju-, just eyes... just genetic design, just eyes. You Nexus, huh? I design your eyes.


---
title: 'GitHub Repo Relocation'
date: '2011-07-13 05:16:07'
layout: post
slug: github-repo-relocation
categories:
- Announcements
tags: { }
---
Until now, the main GitHub repository for the Phergie project had been kept under a single user account at http://github.com/elazar/phergie. It has been transferred to an organization on GitHub. The new repo address is http://github.com/phergie/phergie.
There are a few reasons for this transfer:
- A new core team will be given merge rights to streamline acceptance of contributions where it was previously limited by the availability of a single developer.
- Eventually, plugins and other sub-projects can be split off into their own repositories within the same organization to be developed independently from the main project and to allow more fine-grained grants of merge rights.
Any pull requests and issues should be directed to the transferred repository. Any existing clones of the original repository will need to have their upstream remotes updated to point to the new location. This can be done using the following command:
git remote set-url upstream git://github.com/phergie/phergie.git
Any questions about this change can be directed to the #phergie IRC channel on Freenode or in a comment on this post.


1052 – 1054 Christchurch Road, Bournemouth, BH7 6DS
+1 234 56 78
<EMAIL_ADDRESS>www.example.com
1052 – 1054 Christchurch Road, Bournemouth, BH7 6DS
+1 234 56 78
<EMAIL_ADDRESS>www.example.com
Monday - Friday: 8 am to 4 pm
Saturday: 9 am to 2 pm
Sunday: Closed


Tech Humanism: Data, Meaning, and Human Experience
Kate O'Neill,CEO, KO Insights
Tech Humanism
What are we as humans and how we relate to digital life and topics. UX designers bridge that gap where silly words that makes no sense to people like clicking a checkbox that you are human. The less you create meaning the more you create a vouid where absurdity can form.
Humans crave meaning
Integrated Human Experience Design
Offline and online all context together, not just users customers patiens students etc. but awareness of people accross all their contexts, intentional layer of interactions and transactions with the adaptive execution of strategic intent
Machine made driven experience is happening we need to be thinking of the ways that we can make sure that the human is represented. Machines are waht we encode of ourselves. We need to think what and how we encode these machine driven experiences, such as AI technology.
The work of creating more meaningful experiences leads to more PROFIT
Strategic purpose leads to purposeful products
For example in Disney their goal is to Create Magical Experiencesso all staff from janitors to hosts when presented with a problem they resolved it whith the question what would create the most Magical Experiences? The new digital tools that they are implemented like a bracelet to can be used to pay, open doors and fast passes are aligned with Disney's pupose of Creating Magical Experiences
Design experiences aligned with strategic purpose so that purpose can scale
If we let our digital experiences take over our human interaction experiece at scale is culture and we are creating this new culture. We are literally shaping culture for the future. Meaning at scale by designing experiences that will scale wich amplify our humanity and not block humanism
Designing for Meaningful Automated Integrated Human Experiences
Elements of Integrated Human Experience Design
- Integration
- Dimensionality (devices brand dimension in several tech) thinking of all the dimensions of human experience
- Metaphors and Cognitive Associations (what we relate them to human experiences)
- Intentionality / Purpose
- Value and Emotional Load
- Aligmnet
- Adaptation and Iteration
The design of experience online now regularly intersects with the design of experiences off-line. Think how data can help automate more targeted human experiences and better experiences that are relevant to the users.
How can we use the data in a relevant way where we increase the satisfaction of the experience. Just about everywhere the physical world and the digital world converge, the connective layer is the data captured through human experience.
Nature vs shape of experience. For example Nature is water and the shape of experience is the bottle we use. As the shape of our surroundings change, the shape of our experience changes, too. Human experieces evolve but the shapes change more readily than the nature
Ask yourself human metaphores that can relate to your data and how you show it.
Use human interaction pretending to be automated to gather patterns Start with if-then statements, but find the nuance beyond if-then statements. Meaningful experiences, intelligently automated, aligned with strategic purpose
A future of human experiences that don’t foster absurdity, that preserve meaning for the humans on the other side of the transaction. A future of humanity where our work has built meaning that can scale
Books and resources
Pixels and places connecting human experience accross physical and digital spaces
Tech humanist-Not Yet available
Find all the slides for this talk
Slide for this conference Day 2 Talk-6 Tech Humanism


Domain API¶
-
class
sphinx.domains.
Domain
(env)[source]¶ A Domain is meant to be a group of “object” description directives for objects of a similar nature, and corresponding roles to create references to them. Examples would be Python modules, classes, functions etc., elements of a templating language, Sphinx roles and directives, etc.
Each domain has a separate storage for information about existing objects and how to reference them in self.data, which must be a dictionary. It also must implement several functions that expose the object information in a uniform way to parts of Sphinx that allow the user to reference or search for objects in a domain-agnostic way.
About self.data: since all object and cross-referencing information is stored on a BuildEnvironment instance, the domain.data object is also stored in the env.domaindata dict under the key domain.name. Before the build process starts, every active domain is instantiated and given the environment object; the domaindata dict must then either be nonexistent or a dictionary whose ‘version’ key is equal to the domain class’
data_version
attribute. Otherwise, IOError is raised and the pickled environment is discarded.-
dangling_warnings
= {}¶ role name -> a warning message if reference is missing
-
data
= None¶ data value
-
data_version
= 0¶ data version, bump this when the format of self.data changes
-
directive
(name)[source]¶ Return a directive adapter class that always gives the registered directive its full name (‘domain:name’) as
self.name
.
-
directives
= {}¶ directive name -> directive class
-
get_objects
()[source]¶ Return an iterable of “object descriptions”, which are tuples with five items:
- name – fully qualified name
- dispname – name to display when searching/linking
- type – object type, a key in
self.object_types
- docname – the document where it is to be found
- anchor – the anchor name for the object
- priority – how “important” the object is (determines placement
in search results)
- 1: default priority (placed before full-text matches)
- 0: object is important (placed before default-priority objects)
- 2: object is unimportant (placed after full-text matches)
- -1: object should not show up in search at all
-
indices
= []¶ a list of Index subclasses
-
initial_data
= {}¶ data value for a fresh environment
-
label
= ‘’¶ domain label: longer, more descriptive (used in messages)
-
merge_domaindata
(docnames, otherdata)[source]¶ Merge in data regarding docnames from a different domaindata inventory (coming from a subprocess in parallel builds).
-
name
= ‘’¶ domain name: should be short, but unique
-
object_types
= {}¶ type (usually directive) name -> ObjType instance
-
process_doc
(env, docname, document)[source]¶ Process a document after it is read by the environment.
-
process_field_xref
(pnode)[source]¶ Process a pending xref created in a doc field. For example, attach information about the current scope.
-
resolve_any_xref
(env, fromdocname, builder, target, node, contnode)[source]¶ Resolve the pending_xref node with the given target.
The reference comes from an “any” or similar role, which means that we don’t know the type. Otherwise, the arguments are the same as for
resolve_xref()
.The method must return a list (potentially empty) of tuples
('domain:role', newnode)
, where'domain:role'
is the name of a role that could have created the same reference, e.g.'py:func'
.newnode
is whatresolve_xref()
would return.New in version 1.3.
-
resolve_xref
(env, fromdocname, builder, typ, target, node, contnode)[source]¶ Resolve the pending_xref node with the given typ and target.
This method should return a new node, to replace the xref node, containing the contnode which is the markup content of the cross-reference.
If no resolution can be found, None can be returned; the xref node will then given to the ‘missing-reference’ event, and if that yields no resolution, replaced by contnode.
The method can also raise
sphinx.environment.NoUri
to suppress the ‘missing-reference’ event being emitted.
-
role
(name)[source]¶ Return a role adapter function that always gives the registered role its full name (‘domain:name’) as the first argument.
-
roles
= {}¶ role name -> role callable
-
-
class
sphinx.domains.
ObjType
(lname, *roles, **attrs)[source]¶ An ObjType is the description for a type of object that a domain can document. In the object_types attribute of Domain subclasses, object type names are mapped to instances of this class.
Constructor arguments:
- lname: localized name of the type (do not include domain name)
- roles: all the roles that can refer to an object of this type
- attrs: object attributes – currently only “searchprio” is known,
which defines the object’s priority in the full-text search index,
see
Domain.get_objects()
.
-
class
sphinx.domains.
Index
(domain)[source]¶ An Index is the description for a domain-specific index. To add an index to a domain, subclass Index, overriding the three name attributes:
- name is an identifier used for generating file names.
- localname is the section title for the index.
- shortname is a short name for the index, for use in the relation bar in HTML output. Can be empty to disable entries in the relation bar.
and providing a
generate()
method. Then, add the index class to your domain’s indices list. Extensions can add indices to existing domains usingadd_index_to_domain()
.-
generate
(docnames=None)[source]¶ Return entries for the index given by name. If docnames is given, restrict to entries referring to these docnames.
The return value is a tuple of
(content, collapse)
, where collapse is a boolean that determines if sub-entries should start collapsed (for output formats that support collapsing sub-entries).content is a sequence of
(letter, entries)
tuples, where letter is the “heading” for the given entries, usually the starting letter.entries is a sequence of single entries, where a single entry is a sequence
[name, subtype, docname, anchor, extra, qualifier, descr]
. The items in this sequence have the following meaning:- name – the name of the index entry to be displayed
- subtype – sub-entry related type: 0 – normal entry 1 – entry with sub-entries 2 – sub-entry
- docname – docname where the entry is located
- anchor – anchor for the entry within docname
- extra – extra info for the entry
- qualifier – qualifier for the description
- descr – description for the entry
Qualifier and description are not rendered e.g. in LaTeX output.