158 Matching Annotations
  1. Dec 2023
    1. There are two kinds of message cascades.

      For some reason, before reading this, I misunderstood the “cascade” as a metaphor for composition, were the water fallen from a first cascade might flow as input to a second cascade; but now I see this is clearly wrong and the cascade means exactly the contrary, since the punctuation :: and ; breaks that continuity. It means a jump in the regular flow of evaluation, as a cascade means a jump.

      The double colon syntax is specific to Cuis; at least it is not valid syntax in Squeak.

    1. the declaration itself is Smalltalk code, indeed the message #subclass:instanceVariableNames:classVariableNames:... was sent to Magnitude to create this class.

      Gilad Bracha's criticism:

      Semi-tangent: source code seems the most obvious thing in the world; but traditional Smalltalk’s have no real syntax above the method level! Classes are defined via the evaluation of reflective expressions, which rely on the reflective API. This is very problematic: the API often varies from one implementation to another. By the way, this is one of the ways Newspeak differs from almost every Smalltalk (the late, great Resilient being the only exception I can recall). Newspeak has a true syntax. Furthermore, because Newspeak module declarations are fully parametric in all their external dependencies, they can be compiled at any time in any order - unlike code in most languages (say Java packages) where there are numerous constraints on compilation order (e.g., imports must be defined).

      See the full blog post An Image Problem.

  2. Oct 2023
    1. Let me illustrate by examining a well-known passage, Genesis 7:17–18, in which the flood comes and Noah’s ark is lifted up above the earth. The example involves the Hebrew syntactic tendency to open each sentence in narrative with “and,” to order the words in parallel clauses by coordination (“and” + “and” + “and”), rather than by subordination (“because,” “so,” or “although”). This biblical syntactic feature, known as parataxis, affects the text’s rhythm, its temporal interpretation, its layers of cohesion and ambiguity. Here is Alter’s rendering of this passage: “And the Flood was forty days over the earth, and the waters multiplied and bore the ark upward and it rose above the earth. And the waters surged and multiplied mightily over the earth, and the ark went on the surface of the water.”
    1. options.delete(:expires_in) { ActiveStorage.urls_expire_in }

      What is the contents of the block for? When is it invoked?

      I assume this is a type, and should have been fetch() { } instead?

  3. Aug 2023
  4. citeseerx.ist.psu.edu citeseerx.ist.psu.edu
    1. Compositionality is defined here as the property whereby “the meaning of anexpression is a monotonic function of the meaning of its parts and the way they are puttogether.” (Cann 1993:4) Recursion is “the phenomenon by which a constituent of a sen-tence dominates another instance of the same syntactic category . . . recursion is the principlereason that the number of sentences in a natural language is normally taken to be infinite”(Trask 1993:229-230)

      Kirby defines two fundamental properties of language. For one, language is compositional. The meaning of each part of a sentence, as well as the order in which these individual pieces appear, defines the overall meaning of that sentence. Language is also recursive (and therefore infinite). Each constituent in a phrase may contain one or more child constituents of the same syntactic category.

  5. Mar 2023
    1. As I said above, the deciding factor is what is meant by syntax. If the request was sent with a Content Type of application/json, then yes, the request is syntactically valid because it's valid JSON syntax, but not semantically valid, since it doesn't match what's expected. (assuming a strict definition of what makes the request in question semantically valid or not). If, on the other hand, the request was sent with a more specific custom Content Type like application/vnd.mycorp.mydatatype+json that, perhaps, specifies exactly what fields are expected, then I would say that the request could easily be syntactically invalid, hence the 400 response.
  6. Jan 2023
  7. Nov 2022
  8. Oct 2022
    1. The problem is that the caller may write yield instead of block.call. The code I have given is possible caller's code. Extended method definition in my library can be simplified to my code above. Client provides block passed to define_method (body of a method), so he/she can write there anything. Especially yield. I can write in documentation that yield simply does not work, but I am trying to avoid that, and make my library 100% compatible with Ruby (alow to use any language syntax, not only a subset).

      An understandable concern/desire: compatibility

      Added new tag for this: allowing full syntax to be used, not just subset

    2. You cannot use yield inside a define_method block. This is because blocks are captured by closures, observe: def hello define_singleton_method(:bye) { yield } end hello { puts "hello!" } bye { puts "bye!" } #=> "hello!"
    1. But this sounds like spreading fear and doubt when the Ruby parser has no such concepts :) {} always binds tightly to the call right next to it. This block {} will never go to using, unless it's rewritten as do ... end.
  9. Sep 2022
    1. The key wordsthat draw you to the reading withing these two sentences are “positive” and “this is greatnews”.

      Within? There is no end quotation mark for the end of his sentence verbatim. "This is great news, as a satisfying sex life has been found to be important for health and well-being, regardless of age. For older adults in particular, being sexually active predicts a longer and healthier life."

    2. excepted

      who accepted to complete an extensive survey? Excepted means to exempt from the group or category, and that doesn't line up with the source rhetoric. "We analyzed patterns in longitudinal data collected from over 6,000 individuals followed over a period of 18 years, spanning ages 20-93"

    3. had better sexual quality

      I believe this phrase is missing a determiner: -had a/the better sexual quality of life

    Tags

    Annotators

  10. Aug 2022
  11. Apr 2022
  12. Mar 2022
    1. In nova fert animus mutatas dicere formas corpora

      mutatas formas [in nova corpora] <br>dicere <br>fert animus

    1. unterscheidung zwischen syntax und semantik syntax ist dasjenige was mit regeln und symbolen zu tun hat das ist sozusagen der symbolische war der symbolische ansatz von künstlich den games logische 00:14:29 schlüsse das ist die syntax regeln und bedeutungslose symbol davon unterscheidet soll die semantik also im bereich des bedeutsamen oder auch wie er 00:14:41 dann analysieren sagt dass mentalen und er vertritt die these dass wir von der syntax von operationen logischen art mit symbolen nie auch wenn sie noch so komplex sein sollten zudem an tischen 00:14:55 behalten gelangen können das heißt dadurch dass computer nur symbolisch operieren nach gewissen regeln können sie die bedeutung erlangen tja das ist eine starke these und hier unten haben

      Syntax - Struktur vs. Semantik - über die Struktur hinausgehendes (Emergenz?) Computer können Syntax kopieren und ggf. perfektionieren, sie simulieren nach Searle jedoch nur die Semantik. Interessanter Anschlusspunkt für Zimmerli und seinen Gedanken zu Syntax, Binarität usw.

    1. Praetor intellegens negare sibi placere, quod senatus consultum ratum esse non deberet, id me Romam deportare.

      Praetor intellegens negare * sibi placere, * __quod senatusconsultum ratum esse non deberet, * id me Romam deportare.

  13. Feb 2022
    1. de Sex. Peducaeo, qui de illa civitate totaque provincia optime meritus esset, sese antea, cum audissent ei negotium facessitum, cumque eum publice pro plurimis eius et maximis meritis laudare cuperent, a C. Verre prohibitos esse; iniquum esse, tametsi Peducaeus eorum laudatione iam non uteretur, tamen non id prius decernere quod aliquando voluissent quam quod tum cogerentur.

      de Sex. Peducaeo, * qui de illa civitate totaque provincia optime meritus esset, sese antea, * cum audissent ei negotium facessitum, * cumque eum publice pro plurimis eius et maximis meritis laudare cuperent, <br><br>a C. Verre prohibitos esse; iniquum esse, * tametsi Peducaeus eorum laudatione iam non uteretur, <br>tamen non id prius decernere * quod aliquando voluissent * quam * __quod tum cogerentur.

    2. nam turpitudinem summam esse arbitrantur referri in tabulas publicas pretio adductam civitatem, et pretio parvo, ea quae accepisset a maioribus vendidisse atque abalienasse
      • nam turpitudinem summam esse ... <br>arbitrantur
      • ...referri in tabulas publicas
      • __pretio adductam civitatem, et pretio parvo, ea ...
      • ____quae accepisset a maioribus
      • __...vendidisse atque abalienasse
    3. quem cum audisset interfectum permoleste tulisse

      quem antecedent is Archimedem, subject of audisset and tulisse is Marcellus

      • __quem ...
      • cum audisset
      • __...interfectum <br>permoleste tulisse
    4. verum tamen honestius est rei publicae nostrae, iudices, ea quae illis pulchra esse videantur imperatorem nostrum in bello reliquisse quam praetorem in pace abstulisse

      verum tamen honestius est rei publicae nostrae, iudices, * ea * __quae illis pulchra esse videantur * imperatorem nostrum in bello reliquisse * __quam praetorem in pace abstulisse

    5. Vereor ne haec qui non viderunt omnia me nimis augere atque ornare arbitrentur; quod tamen nemo suspicari debet, tam esse me cupidum ut tot viros primarios velim, praesertim ex iudicum numero, qui Syracusis fuerint, qui haec viderint, esse temeritati et mendacio meo conscios

      Vereor * ne haec ... * __qui non viderunt * ...omnia me nimis augere atque ornare * arbitrentur; quod tamen nemo suspicari debet, * tam esse me cupidum * __ut tot viros primarios velim, [praesertim ex iudicum numero], * _qui Syracusis fuerint, * _qui haec viderint, * __esse temeritati et mendacio meo conscios

  14. Jan 2022
    1. ab illo qui cepit conditas, ab hoc qui constitutas accepit captas dicetis Syracusas

      A riddle: <br>

      • ab illo ...
      • __qui cepit
      • ...conditas,
      • ab hoc ...
      • __qui constitutas accepit
      • ...captas <br>dicetis
      • Syracusas

      Dicetis: <br>Syracusae conditae sunt ab illo qui cepit; <br>Syracusae captae sunt ab hoc qui [Syracusas] constitutas accepit

    2. id si impetrassent, tum ut morem veterem Hennensium conservarent, publice in eum, tametsi vexasset Siciliam, tamen, quoniam haec a maioribus instituta accepissent, testimonium ne quod dicerent; sin autem ea non reddidisset, tum ut in iudicio adessent, tum ut de eius iniuriis iudices docerent, sed maxime de religione quererentur
      • id si impetrassent, tum
      • __ut morem veterem Hennensium conservarent,
      • publice in eum,
      • __tametsi vexasset Siciliam,
      • tamen,
      • __quoniam haec a maioribus instituta accepissent,
      • testimonium ne quod dicerent;
      • __sin autem ea non reddidisset,
      • tum ut in iudicio adessent,
      • tum ut de eius iniuriis iudices docerent,
      • sed maxime de religione quererentur
    3. Ea tametsi multis istius et variis iniuriis acciderunt, tamen haec una causa in opinione Siculorum plurimum valet, quod Cerere violata omnis cultus fructusque Cereris in iis locis interisse arbitrantur.
      • Ea tametsi multis istius et variis iniuriis acciderunt, <br>tamen haec una causa [in opinione Siculorum] plurimum valet,
      • quod
      • __[Cerere violata] omnis cultus fructusque Cereris in iis locis interisse
      • arbitrantur.
    4. Vide ne ille non solum temperantia sed etiam intellegentia te atque istos qui se elegantis dici volunt vicerit.

      Vide ne

      • ille non solum temperantia sed etiam intellegentia te atque istos ...
      • --qui se elegantis dici volunt *... vicerit.
    5. In provinciis intellegebant, si is qui esset cum imperio ac potestate quod apud quemque esset emere vellet, idque ei liceret, fore uti quod quisque vellet, sive esset venale sive non esset, quanti vellet auferret.

      Subject is still maiores

      In provinciis intellegebant,

      • __si is ...
      • ____qui esset cum imperio ac potestate
      • ____quod apud quemque esset
      • __...emere vellet, idque ei liceret,
      • fore uti ...
      • __quod quisque vellet,
      • __sive esset venale sive non esset,
      • __quanti vellet
      • ...auferret.
    6. Primum, si id quod vis tibi ego concedam, ut emeris,—quoniam in toto hoc genere hac una defensione usurus es,— quaero cuius modi tu iudicia Romae putaris esse, si tibi hoc quemquam concessurum putasti, te in praetura atque imperio tot res tam pretiosas, omnis denique res quae alicuius preti fuerint, tota ex provincia coemisse

      Primum,

      • si id ...
      • __quod vis
      • tibi ego concedam,
      • __ut emeris, <br>—quoniam in toto hoc genere hac una defensione usurus es,— <br>quaero
      • __cuius modi tu iudicia Romae putaris esse,
      • si ...
      • __tibi hoc quemquam concessurum
      • ...putasti,
      • ____te in praetura atque imperio tot res tam pretiosas, omnis denique res ...
      • __quae alicuius preti fuerint,
      • __... tota ex provincia coemisse
    7. Facilius enim perspicietur qualis apud eos fueris qui te oderunt, qui accusant, qui persequuntur, cum apud tuos Mamertinos inveniare improbissima ratione esse praedatus.

      Facilius enim perspicietur

      • qualis apud eos fueris
      • __qui te oderunt, qui accusant, qui persequuntur,
      • __cum [apud tuos Mamertinos] inveniare improbissima ratione esse praedatus.

      <br><br> inveniare is a second person singular passive subjunctive form.

  15. Dec 2021
    1. Numquam tam male est Siculis quin aliquid facete et commode dicant, velut in hac re aiebant in labores Herculis non minus hunc immanissimum verrem quam illum aprum Erymanthium referri oportere

      Numquam tam male est Siculis

      • quin aliquid facete et commode dicant,
      • velut in hac re aiebant
      • **in labores Herculis non minus hunc immanissimum verrem quam illum aprum Erymanthium referri oportere

      quin - "but that," "that...not" verres, -is = aper, apri - wild boar (a pun on Verres' name) refero, referre - to report, relate, tell the story of facete - cleverly, facetiously

    2. quo non facile dixerim quicquam me vidisse pulchrius

      quo is an ablative of comparison with pulchrius:

      • quo ... <br>non facile dixerim
      • ...quicquam me vidisse pulchrius <br> <br>Quicquam pulchrius eo vidi? Non facile dicam.
    3. Romae nuper ipsum istum esse pollicitum sese id signum legatis redditurum si eius rei testificatio tolleretur cautumque esset eos testimonium non esse dicturos

      [Demetrius said]

      • Romae nuper ipsum istum esse pollicitum
      • sese id signum legatis redditurum
      • **si eius rei testificatio tolleretur
      • **cautumque esset
      • **eos testimonium non esse dicturos,
    4. Dedit igitur tibi nunc fortuna Siculorum C. Marcellum iudicem, ut, cuius ad statuam Siculi te praetore alligabantur, eius religione te <his iudicibus> vinctum adstrictumque dedamus

      Dedit igitur tibi nunc fortuna Siculorum / C. Marcellum iudicem,

      • ut, ...
      • ** cuius ad statuam / Siculi [te praetore] alligabantur,
      • eius religione / te <his iudicibus> vinctum adstrictumque ...dedamus
    5. Haec ego, iudices, non auderem proferre, ni vererer ne forte plura de isto ab aliis in sermone quam a me in iudicio vos audisse diceretis.

      Haec ego, iudices, non auderem proferre,

      • ni[si] vererer
      • **ne forte ...
      • **plura de isto ab aliis in sermone quam a me in iudicio
      • **vos audisse
      • ... diceretis. (contrary to fact condition)
    6. Quis non hoc intellegeret, in improbi praesentis imperio maiorem esse vim quam in bonorum absentium patrocinio

      Quis non hoc intellegeret, (potential subjunctive)

      • [in improbi praesentis imperio] maiorem esse vim
      • **quam [in bonorum absentium patrocinio]
    7. Quam ob rem si suscipis domesticae laudis patrocinium, me non solum silere de vestris monumentis oportebit, sed etiam laetari P. Africani eius modi fortunam esse mortui ut eius honos ab iis qui ex eadem familia sint defendatur, neque ullum adventicium auxilium requiratur.

      (Quam ob rem)

      • si suscipis domesticae laudis patrocinium, me non solum silere de vestris monumentis oportebit, <br>sed etiam laetari
      • P. Africani eius modi fortunam esse mortui
      • **ut eius honos ab iis ...
      • **qui [ex eadem familia] sint
      • **...defendatur, <br>
      • **neque ullum adventicium auxilium requiratur.
    8. Audistis nuper dicere legatos Tyndaritanos, homines honestissimos ac principes civitatis, Mercurium, qui sacris anniversariis apud eos ac summa religione coleretur, quem P. Africanus Carthagine capta Tyndaritanis non solum suae victoriae sed etiam illorum fidei societatisque monumentum atque indicium dedisset, huius vi scelere imperioque esse sublatum

      Audistis nuper

      • dicere legatos Tyndaritanos, homines honestissimos ac principes civitatis,
      • **Mercurium, ...
      • **qui sacris anniversariis apud eos ac summa religione coleretur,
      • **quem P. Africanus (Carthagine capta) Tyndaritanis non solum suae victoriae sed etiam illorum fidei societatisque monumentum atque indicium dedisset,
      • **...huius vi scelere imperioque esse sublatum
    9. Non vereor ne tibi, Q. Catule, displiceat, cuius amplissimum orbi terrarum clarissimumque monumentum est, quam plurimos esse custodes monumentorum et putare omnis bonos alienae gloriae defensionem ad officium suum pertinere

      Non vereor

      • ne tibi, Q. Catule, displiceat,
      • (cuius amplissimum orbi terrarum clarissimumque monumentum est),
      • **quam plurimos esse custodes monumentorum
      • **et putare omnis bonos
      • **alienae gloriae defensionem [ad officium suum] pertinere.
    10. Non vereor ne hoc officium meum P. Servilio iudici non probem, qui cum res maximas gesserit monumentaque suarum rerum gestarum cum maxime constituat atque in iis elaboret profecto volet haec non solum suis posteris verum etiam omnibus viris fortibus et bonis civibus defendenda, non spolianda improbis tradere.

      Non vereor

      • ne hoc officium meum P. Servilio iudici non probem,
      • qui ...
      • **cum res maximas gesserit
      • **monumentaque suarum rerum gestarum cum maxime constituat
      • **atque in iis elaboret
      • ...profecto volet haec non solum suis posteris verum etiam omnibus viris fortibus et bonis civibus defendenda, non spolianda improbis tradere.
    11. Est aliqua mea pars virilis, quod eius civitatis sum quam ille amplam inlustrem claramque reddidit, praecipue quod in his rebus pro mea parte versor quarum ille princeps fuit, aequitate, industria, temperantia, defensione miserorum, odio improborum; quae cognatio studiorum et artium prope modum non minus est coniuncta quam ista qua vos delectamini generis et nominis.

      Est aliqua mea pars virilis,

      • quod eius civitatis sum
      • **quam ille amplam inlustrem claramque reddidit,
      • praecipue quod in his rebus pro mea parte versor
      • **quarum ille princeps fuit, aequitate, industria, temperantia, defensione miserorum, odio improborum;
      • quae cognatio studiorum et artium prope modum non minus est coniuncta quam ista
      • **qua vos delectamini
      • generis et nominis.
    12. non est pudoris mei P. Scipione, florentissimo adulescente, vivo et incolumi me propugnatorem monumentorum P. Scipionis defensoremque profiteri

      non est pudoris mei

      • (P. Scipione, florentissimo adulescente, vivo et incolumi)
      • me propugnatorem monumentorum P. Scipionis defensoremque <br>profiteri
    13. certiorem te faciunt P. Africanum Carthagine deleta simulacrum Dianae maioribus suis restituisse, idque apud Segestanos eius imperatoris nomine positum ac dedicatum fuisse; hoc Verrem demoliendum et asportandum nomenque omnino P. Scipionis delendum tollendumque curasse; orant te atque obsecrant ut sibi religionem, generi tuo laudem gloriamque restituas, ut, quod per P. Africanum ex urbe hostium recuperarint, id per te ex praedonis domo conservare possint.

      certiorem te faciunt<br>

      • Publium Africanum [Carthagine deleta] simulacrum Dianae maioribus suis restituisse,
      • idque apud Segestanos eius imperatoris nomine positum ac dedicatum fuisse;
      • hoc Verrem demoliendum et asportandum nomenque omnino P. Scipionis delendum tollendumque curasse; <br>orant te atque obsecrant
      • ut sibi religionem, generi tuo laudem gloriamque restituas,
      • ut,
      • **quod per P. Africanum ex urbe hostium recuperarint,
      • id [per te] [ex praedonis domo] conservare possint.
  16. Nov 2021
    1. Etiam planius: nihil in aedibus cuiusquam, ne in <hospitis> quidem, nihil in locis communibus, ne in fanis quidem, nihil apud Siculum, nihil apud civem Romanum, denique nihil istum, quod ad oculos animumque acciderit, neque privati neque publici neque profani neque sacri tota in Sicilia reliquisse.

      Etiam planius:

      • nihil in aedibus cuiusquam, ne in hospitis quidem, <br>
      • nihil in locis communibus, ne in fanis quidem, <br>
      • nihil apud Siculum, nihil apud civem Romanum, <br>
      • denique nihil istum, ...
        • quod ad oculos animumque acciderit,
      • neque privati neque publici neque profani neque sacri [tota in Sicilia]<br>
      • ...reliquisse.
    2. Nego in Sicilia tota, tam locupleti, tam vetere provincia, tot oppidis, tot familiis tam copiosis, ullum argenteum vas, ullum Corinthium aut Deliacum fuisse, ullam gemmam aut margaritam, quicquam ex auro aut ebore factum, signum ullum aeneum, marmoreum, eburneum, nego ullam picturam neque in tabula neque in textili quin conquisierit, inspexerit, quod placitum sit abstulerit.

      Nego

      • in Sicilia tota, <br>
      • tam locupleti, tam vetere provincia, <br>
      • tot oppidis, tot familiis tam copiosis, <br>
      • ullum argenteum vas, ullum Corinthium aut Deliacum fuisse, <br>
      • ullam gemmam aut margaritam, quicquam [ex auro aut ebore] factum,<br>
      • signum ullum aeneum, marmoreum, eburneum, <br> nego
      • ullam picturam [neque in tabula neque in textili] <br>
      • *quin conquisierit, inspexerit, ...
        • *quod placitum sit
        • ...abstulerit.
    3. Non enim verbi neque criminis augendi causa complector omnia: cum dico nihil istum eius modi rerum in tota provincia reliquisse, Latine me scitote, non accusatorie loqui.

      Non enim [verbi neque criminis augendi causa] complector omnia:

      • cum dico
        • nihil istum eius modi rerum [in tota provincia] reliquisse,
      • Latine me ... <br>scitote,
      • ...non accusatorie loqui.
    4. Genus ipsum prius cognoscite, iudices; deinde fortasse non magno opere quaeretis quo id nomine appellandum putetis.

      Genus ipsum prius cognoscite, iudices; <br> deinde fortasse non magno opere quaeretis<br>

      • *quo id nomine appellandum
      • putetis.
    5. Venio nunc ad istius, quem ad modum ipse appellat, studium, ut amici eius, morbum et insaniam, ut Siculi, latrocinium; ego quo nomine appellem nescio; rem vobis proponam, vos eam suo non nominis pondere penditote.

      Venio nunc ad istius, ...

      • quem ad modum ipse appellat. <br>..."studium,"
      • ut amici eius, <br>...morbum et insaniam,
      • ut Siculi, <br>...latrocinium;
        ego...
      • quo nomine appellem <br>nescio;
        rem vobis proponam, <br> vos eam suo non nominis pondere penditote.
    1. Quod cum ex oppido ex- portabatur, quem conventum mulierum factum esse arbitra- mini, quem fletum maiorum natu?

      Quod cum ex oppido exportabatur,

      • quem conventum mulierum factum esse<br> arbitramini,<br>
      • quem fletum maiorum natu?
    2. Repertum 2.4.77.1 esse, iudices, scitote neminem, neque liberum neque servum, neque civem neque peregrinum, qui illud signum auderet attingere; barbaros quosdam Lilybaeo scitote adductos esse operarios; ii denique illud ignari totius negoti ac religionis 5 mercede accepta sustulerunt.
      • Repertum esse... <br> iudices, scitote
      • ...neminem, neque liberum neque servum, neque civem neque peregrinum,
      • *qui illud signum auderet attingere;
      • barbaros quosdam Lilybaeo... <br> scitote<br>
      • ...adductos esse operarios;
        ii denique illud (ignari totius negoti ac religionis) [mercede accepta] sustulerunt.
  17. Aug 2021
  18. Jun 2021
    1. I am not sure if this is an improvement. To me it does not seem very pretty. Of course I am biased since I also prefer () in method definitions if they have arguments; although I think it is fine that ruby does not mind omitting the (). For my brain, I like the () for visual separation.
  19. Apr 2021
  20. Mar 2021
    1. My preference here is biased by the fact that I spend everyday at work building web components, so Svelte's approach feels very familiar to slots in web components.

      first sighting: That <template>/<slot> is part of HTML standard and the reason Svelte uses similar/same syntax is probably because it was trying to make it match / based on that syntax (as they did with other areas of the syntax, some of it even JS/JSX-like, but more leaning towards HTML-like) so that it's familiar and consistent across platforms.

    2. Here's where I start to have a preference for Svelte; the two are very similar but once I got used to Svelte I found that React felt like jumping through hoops. You can't create a worker instance, it has to go in a useRef, and then you can't easily pull code out into a function without then requiring useCallback so it can be a safe dependency on useEffect. With Svelte I write code that's closer to "plain" JavaScript, whereas in React more of my code is wrapped in a React primitive.
    1. You don’t have to stick to the task interface! The [circuit interface] is a bit more clumsy, but gives you much better control over how ctx and signals are handled.
    2. The circuit interface is a bit more clumsy but it gives you unlimited power over the way the activity will be run.
  21. Feb 2021
    1. Not only is it barbaric, it is biased.

      This word choice is bold. It's a short, choppy sentence that holds a lot of meaning. This particularly could appeal to Black people in the audience as well as any audience members that have previous interest or education on racial inequality. This word choice is also intense and emotional, captivating the audience's attention.

    1. I wanted to keep reviewing restaurants, but I didn’t want to go back into their dining rooms both because of the risk and because I was afraid readers would take it as an all-clear signal. When the governor halted indoor dining again in December, my selfish reaction was relief. Then I briefly got depressed. How would restaurants survive? And how would I keep writing about them?One answer had already started to appear on sidewalks and streets in the form of small greenhouses, huts, tents and yurts. Inside these personal dining rooms, you can (and should) sit just with people from your own household. If the restaurant thoroughly airs the space out between seatings, any germs you breathe in should be the same ones that are bouncing around your home. Many restaurants instruct their servers to stay outside the structures as much as possible, though some don’t.

      Syntax of question and answer reveals itself again. His doubts and negativity are addressed within the first highlighted paragraph with a question coming to Pete's mind. He realized his influence as a critic and decided to take the right step to prevent anything bad from occurring. Despite his sacrifice, the next paragraph he discusses the clever solutions restaurants had come up with which solved his problem for the most part. This description underlines yet more change that brought upon good things, which is the main idea he is relating to the food scene. He creates a comparison between an at home setting along with the solutions restaurants have come up with to further emphasize his point of safety amidst COVID.

    2. “Why would Pete Wells order delivery from us?” the sous-chef asked.“Maybe he’s hungry?” Mr. Tran replied.I was. But I was on the job, too, and that first order persuaded me

      Q & A syntax which reveals two separate perspectives to the reader-- adds to the change factor within these times that Wells is trying to communicate. Informal tone taken on by Pete as food is more personal and opinionated. His audience are those who want to experience new, good food amidst these times. Humor and irony with the "Maybe he's hungry?" from Mr. Tran, stating the obvious with a purpose along with explaining how the chefs can't forget about the job at hand.

    1. The values represent the track size, and the space between them represents the grid line.
    2. The syntax itself provides a visualization of the structure of the grid.

      What is this an example of? self-referencing? self-presentation? duality?

  22. Jan 2021
    1. Another possible syntax is {#slot bar}<Foo/>{/slot}, which would also allow a bunch of DOM nodes and components inside the slot, without them needing to be from a single component
  23. Dec 2020
    1. Since it has been a common source of errors, it is worth noting that spaces are not permitted on either side of the colon following FROM in the MAIL command or TO in the RCPT command. The syntax is exactly as given above.

      !

  24. Nov 2020
    1. Another possible syntax is {#slot bar}<Foo/>{/slot}, which would also allow a bunch of DOM nodes and components inside the slot, without them needing to be from a single component

      I like it

    1. Things that I miss most from Vue:
    2. But I always thought that if Svelte will change its syntax to something new, it will more look like ES6 Template Literals
    3. Btw, I also personally like Dust-syntax: https://github.com/linkedin/dustjs/wiki/Dust-Tutorial
    4. The success of JSX has proved that the second curly is unnecessary. Moreover, a lot of people — particularly those who have been exposed to React — have a visceral negative reaction to double curlies, many of them assuming that it brings with it all the limitations of crusty old languages like Mustache and Handlebars, where you can't use arbitrary JavaScript in expressions.
    1. <input {...omitBy({pattern: undefined}, isUndefined)}>
    2. For now, using spread attributes allows you to control which attributes appear on an element. <div {...foo}> where foo is an object of attribute keys and values will add/remove attributes according to which are present and non-null.
  25. Oct 2020
    1. One of the primary tasks of engineers is to minimize complexity. JSX changes such a fundamental part (syntax and semantics of the language) that the complexity bubbles up to everything it touches. Pretty much every pipeline tool I've had to work with has become far more complex than necessary because of JSX. It affects AST parsers, it affects linters, it affects code coverage, it affects build systems. That tons and tons of additional code that I now need to wade through and mentally parse and ignore whenever I need to debug or want to contribute to a library that adds JSX support.
    2. If the react cargo cult didn't have the JSX cowpath paved for them and acclimated to describing their app interface with vanilla javascript, they'd cargo cult around that. It's really about the path of least resistance and familiarity.
    3. The only "issue" it has is that its unfamiliar. People have been working with HTML for years and are comfortable with it. That's basically the only reason that people find it more readable. If you make an effort to spend sometime with hyperscript, it becomes as familiar and readable as jsx.
    1. My proposal is that we solve this by treating a static key prop as different from one provided through spread. I think that as a second step we might want to even give separate syntax such as:
    1. The problem is that the since both the JSX transpiler and the traceur compiler are actually parsing the full javascript AST, they would have to mutually agree on the syntax extensions you use: traceur can't parse the faux-xml syntax JSX adds, and JSX can't parse the async or await keywords, for example, or generator functions.
  26. mdxjs.com mdxjs.com
    1. Before MDX, some of the benefits of writing Markdown were lost when integrating with JSX. Implementations were often template string-based which required lots of escaping and cumbersome syntax.
    1. Remember even though the syntax is almost identical, there are significant differences between how Solid's JSX works and a library like React.
  27. Sep 2020
    1. The lack of spread continues to be a big pain for me, adding lots of difficult-to-maintain cruft in my components. Having to maintain a list of all possible attributes that I might ever need to pass through a component is causing me a lot of friction in my most composable components.
    1. The value attribute of an input element or its children option elements must not be set with spread attributes when using bind:group or bind:checked. Svelte needs to be able to see the element's value directly in the markup in these cases so that it can link it to the bound variable.
    1. Rest syntax looks exactly like spread syntax. In a way, rest syntax is the opposite of spread syntax. Spread syntax "expands" an array into its elements, while rest syntax collects multiple elements and "condenses" them into a single element.
    1. Syntax-wise, I would like to be able to pass id, style and class DOM attributes as well as (ideally) svelte props to whatever the slot was replaced with, so prefixing everything with attr in the slot that should be passed sounds like a good idea. Examples: <slot attr:class=“test” attr:class:active={true} /> or <slot attr:style=“color: red” attr:id=“henlo” />
  28. Aug 2020
  29. Jul 2020
    1. A # character always indicates a block opening tag. A / character always indicates a block closing tag. A : character, as in {:else}, indicates a block continuation tag.
  30. Apr 2020
  31. Mar 2020
    1. Descriptive Statistic

      R provides a wide range of functions for obtaining summary statistics. One method of obtaining descriptive statistics is to use the sapply( ) function with a specified summary statistic.

  32. Feb 2020
    1. data is collected

      data that is collected, or data collected

    2. and applications to forecasting and estimation of dynamic causal effects.

      and its applications to forecasting and estimation of dynamic causal effects.

      The word "its" is necessary since it refers to the noun econometric techniques.

  33. Jan 2020
    1. No, dammit! We have to do this! What happens in …

      Syntax

    2. No, that would be wrong. This is supposed to be a review of the whole year, warts and all, and we have to face reality. So let’s all take a deep breath, compose ourselves and go back to …

      Syntax: Barry breaks into different thoughts and interrupts himself to make the sentences and ideas flow easily.

    3. ▪ A government report concludes that the Affordable Care Act (Motto: “If You Like Your Doctor, Maybe You’ll Like Your New Doctor”) is going to cost many people a lot more, while continuing to provide the same range of customizable consumer options as a parking meter. ▪

      Syntax: Barry likes to make bulleted lists to emphasize his points and lay them out in a clear manner. This makes his argument seem more like a lecture of sorts, implying that he is trying to teach/reveal something to the audience.

    4. (a) it was recorded long ago when he was just 59 years old; (b) his remarks were “locker room banter” such as you would hear in any locker room in America occupied by morally deficient billionaire pigs; (c) Bill Clinton did way worse things; and (d) WHAT ABOUT BENGHAZI?

      Barry sections long sentences into smaller ones to provide a mix of complexity and simplicity.

    5. namely the alleged weight gain of Alicia Machado, Miss Universe 1996.

      Not serious, big shift

    6. Clinton and Trump square off in the first presidential debate, which leads to a national conversation about an issue of vital concern to all Americans

      serious

    7. — get a load of THIS wacky right-wing conspiracy theory! —

      Syntax: Barry often interrupts his own lines of thought, as if he is speaking directly to the audience and saying exactly what he thinks at the time.

    8. Meanwhile Ben Carson announces, in his extremely low-key and soft-spoken manner, that he is going to suspend his campaign. Or visit Spain. Or possibly rob a train. There is no way to be certain.

      Barry frequently executes a structure of syntax where he states one long sentence followed by one or more very short sentences or even just a word. He starts with a complex idea and sentence structure, and then he makes his sentences shorter and more simple as he speaks more informally and describes things more humorously.

    9. A lengthy standoff at a federal wildlife refuge in Oregon finally comes to an end when anti-government militants, after protracted negotiations

      Barry begins most of his sentences with profound diction, and then ends his sentences with a twist of sarcasm or irony.

    10. It wasn’t just bad. It was the Worst. Election. Ever.

      Barry uses a mix of complex, long, and detailed sentences with very simple sentences (sometimes just a word) to further develop his contrasting style of writing. This contrast allows Barry to speak in an intellectual and descriptive way, while also adding an equal amount of simple sentences to keep all readers, no matter their level of intelligence, engaged.

  34. Oct 2019
  35. Aug 2019
    1. AI relies upon a bet. It is the bet that if you get your syntax (mechanism) right the semantics (meaning) will take care of itself. It is the hope that if computer engineers get the learning feedback process right, a new transhuman intellect will emerge.
  36. Apr 2019
    1. 15. Find out the internet is going to rehab.

      this is personification. the internet can not actually go to rehab but it is going to rehab figuratively.

    2. Let the internet feed you faces. You like faces. A face is worth a thousand words.

      The author uses Syntax here as this sentence is structured in a peculiar way. The author introduces that the internet feeds you faces, and then how much a face betters to people nowadays. The way he structured it was also interesting as instead of just saying the internet makes us want people to look at us and provides that for us, he structures it in a way it tells you what the internet does, tells us what we like, and then rationalizes our want for it.

    3. Play Doom. Play Worms. Play Counterstrike. Play Chat Roulette. Sprint off the school bus to worship before the altar of the web. Become a back-of-a-head to your parents. Wait for fresh content. eBaum’s World on Fridays. Wimp’s daily five. Watching these videos is like swapping eyeballs with anyone on the planet. People are amazing, you realize, and stupid too. Torrent a movie that’s still in theaters. How is this even possible, you wonder. Watch it. Watch porn. Tell your friends that you found something incredible and that you’ve fallen in love with the internet.

      There is good syntax here because the author breaks his thoughts into staccato short sentences. The repetitiveness of the sentences, each explaining a different activity the author enjoyed on the internet, emphasizes the overwhelming abundance of programs the internet had to offer and when it first came out, how much people appreciated it. The short sentences represent a brain on overdrive discovering new things and wondering what else there is out there that the internet has to offer. It also conveys an excitement to share his discoveries with his friends

    4. You reckon that mobile internet has to be a categorically good thing for the world. Like the printing press. Like the railroad. This exploding net of satellites, cables, servers, modems, and repeaters is nothing short of a Cambrian explosion. Watch communication distribute. Watch the crowd source information—the crowd which can think faster and more accurately than any one human, the crowd which is an incredible asset in times of both danger and celebration. Watch the crowd use this hackery thing called hashtags to track the advance of wildfires. Watch the crowd reproduce the Mona Lisa one pixel at a time from all points of the compass.

      Short sentences compare the mobile internet to other major innovations in a memorable way. Crowd source mentality and the use of hashtag introduces the ideas in a new perspective. Last two sentences illustrates the power of the mobile internet in a meaningful way as the end weighting of wildfires and "all points of the compass" shows the dynamic uses it offers.

  37. Mar 2019
  38. Dec 2018
    1. A syntactically annotated corpus (treebank) is a part of Russian National Corpus.[2] It contains 40,000 sentences (600,000 words) which are fully syntactically and morphologically annotated. The primary annotation was made by ETAP-3 and then manually verified by competent linguists.
  39. Mar 2018
    1. That, on the other hand, is a system all by itself, and it’s rather restricted in its range. It only forms restrictive relative clauses, and then only in a narrow range of syntactic constructions. It can’t follow a preposition (the book of which I spoke rather than *the book of that I spoke) or the demonstrative that (they want that which they can’t have rather than *they want that that they can’t have), and it usually doesn’t occur after coordinating conjunctions. But it doesn’t make the same personhood distinction that who and which do, and it functions as a relative adverb sometimes. In short, the distribution of that is a subset of the distribution of the wh words. They are simply two different ways to make relative clauses, one of which is more constrained.

      One of the best explanations of why relative "that" isn't a pronoun.

    1. In the meantime, however, white labor had continued to regard the United States as a place of refuge; as a place for free land; for continuous employment and high wage; for freedom of thought and faith. It was here, however, that employers intervened; not because of any moral obliquity but because’ the Industrial Revolution, based upon the crops raised by slave labor in the Caribbean and in the southern United

      I have chosen this paragraph in particular to discuss the structure of Du Bois' sentences. The appeal is marked by long sentences separated by semicolons and commas. Often these long sentences build on each other to create the effect of a kind of breathlessness, an endless list of the conditions that mark the ways in which Blacks are discriminated in the US and the ways in which this hurts prospects for democracy at home and abroad.

  40. Jan 2018
    1. A gentleman who lived in the village to which they were now bound, who had himself been kind to the child and to the old man whom the new schoolmaster had brought with him, had written of the pair to Kit's employer, and the letter had been the lost clue, so long sought, to their hiding-place.

      Dickens writes very long sentences.

  41. Feb 2017
    1. You, too, have seenthe bulbs flash from the sea. You, too, have feltit breathing down your neck. You eat fish. You’ve heardthat mermaids sing.

      Structurally, the syntax contrasts between realistic and unrealistic imagery. Why? Also, unlike the first septet, the rhythm is more markedly disturbed with enjambment and initial and medial caesura. Why?

  42. Jan 2016
    1. The search box on Project Gutenberg uses a special syntax that actually allows more than just simple text searches. You can search by language, subject, author, and many others. For example:

      • The search "l.german" will produce only texts in German.
      • The search "s.shakespeare" will produce only texts about Shakespeare.
      • The search "s.shakespeare l.german" will produce only texts in German about Shakespeare.

      To see a more complete description of the syntax, go to the search page and click the "Help" button on the top-right of the page.

      I haven't figured out how to search for terms with multiple words in these searches. Can someone figure it out? For example, how do you search for "william shakespeare" as a subject rather than just "shakespeare"? Or "old norse" as a language and not just "norse"?

  43. Nov 2014
    1. Python was created by Guido Van Rossum in the early 90s. It is now one of the most popular languages in existence. I fell in love with Python for its syntactic clarity. It’s basically executable pseudocode.

      Helpful concise, Python syntax doc

  44. Feb 2014
    1. What is missing is a space between the $( and the following (, to avoid the arithmetic expression syntax. The section on command substitution in the shell command language specification actually warns for that:

      This is a very good example of why shell scripting does not scale from simple scripts to large projects. This is not the only place where changes in whitespace can lead to scripts that are very difficult to debug. A well-meaning and experienced programmer from another language, but new to bash scripting, might decide to clean up formatting to make it more consistent-- a laudable goal, but one which can lead to unintentional semantic changes to the program.

      Flat, short bash scripts are extremely useful tools that I still employ regularly, but once they begin creeping in size and complexity it's time to switch to another language to handle that-- I think that is what (rightly) has driven things likes Python, Puppet, Ansible, Chef, etc.

      Despite the syntactic horrors lurking in shell scripts there is still a beautiful simplicity that drives their use which is a testament to the core unix philosophy.

    1. The other important part of our "language" is the way in which concepts are represented--the symbols and symbol structures. Words structured into phrases, sentences, paragraphs, monographs--charts, lists, diagrams, tables, etc. A given structure of concepts can be represented by any of an infinite number of different symbol structures, some of which would be much better than others for enabling the human perceptual and cognitive apparatus to search out and comprehend the conceptual matter of significance and/or interest to the human. For instance, a concept structure involving many numerical data would generally be much better represented with Arabic rather than Roman numerals and quite likely a graphic structure would be better than a tabular structure.

      Unfortunately as an industry we're stuck here.

  45. Oct 2013
    1. the educated man observes that those sections which the Greeks call kommata, and the clauses and periods of which I spoke a short time ago,

      Is he referring to syntax?