44 Matching Annotations
  1. Last 7 days
    1. Unfortunately, this only worked because of a feature called import elision. When TypeScript outputs JavaScript files, it sees that Options is only used as a type, and it automatically drops its import. The resulting output looks kind of like this:
    1. The onBlur function can take a SyntheticFocusEvent like it would if you had given it directly to an <input/> component, but you can also just call it: props.input.onBlur() to mark the field as blurred (inactive).
    1. We don't want to rely on there being a single root element - or prevent ourselves from ever implementing named slots without a single root node - and so there's not anything to apply the class to or the transition to.
    1. Svelte will not offer a generic way to support style customizing via contextual class overrides (as we'd do it in plain HTML). Instead we'll invent something new that is entirely different. If a child component is provided and does not anticipate some contextual usage scenario (style wise) you'd need to copy it or hack around that via :global hacks.
    2. Explicit interfaces are preferable, even if it places greater demand on library authors to design both their components and their style interfaces with these things in mind.
    1. This has already forced me to forgo Svelte Material because I would like to add some actions to their components but I cannot and it does not make sense for them to cater to my specific use-case by baking random stuff into the library used by everyone.
    2. The point of the feature is to not rely on the third-party author of the child component to add a prop for every action under the sun. Rather, they could just mark a recipient for actions on the component (assuming there is a viable target element), and then consumers of the library could extend the component using whatever actions they desire.
  2. Sep 2020
    1. It relies on something that is inherently global. Different components might 'claim' a given property name. While it's possible to differentiate them at the subtree level, it's not possible to do so globally.
    1. Global selectors, even when scoped to a subtree, cascade just like regular CSS would. This might be fine for a leaf component, but anywhere else in your app, this is the CSS equivalent of crossing your fingers and hoping that bad things won't happen.
    2. I understand what you're getting at, but we shouldn't miss out on useful features just because a few developers will abuse it...
    1. It's fashionable to dislike CSS. There are lots of reasons why that's the case, but it boils down to this: CSS is unpredictable. If you've never had the experience of tweaking a style rule and accidentally breaking some layout that you thought was completely unrelated — usually when you're trying to ship — then you're either new at this or you're a much better programmer than the rest of us.
    1. In mapbox.js you'll see this line: const key = {};We can use anything as a key — we could do setContext('mapbox', ...) for example. The downside of using a string is that different component libraries might accidentally use the same one; using an object literal means the keys are guaranteed not to conflict in any circumstance (since an object only has referential equality to itself, i.e. {} !== {} whereas "x" === "x"), even when you have multiple different contexts operating across many component layers.
  3. Jul 2020
  4. Jun 2020
    1. Some large tech behemoths could hypothetically shoulder the enormous financial burden of handling hundreds of new lawsuits if they suddenly became responsible for the random things their users say, but it would not be possible for a small nonprofit like Signal to continue to operate within the United States. Tech companies and organizations may be forced to relocate, and new startups may choose to begin in other countries instead.
  5. May 2020
    1. The element dem in epidemic, endemic, and pandemic comes from the ancient Greek word demos, which meant people or district:

      Interesting how a word (pandemic) that literally means "all people" has ended up (only) meaning a disease that effects all people. Yet nowhere in the word does it say anything about a disease.

    1. Taxonomy, in a broad sense the science of classification, but more strictly the classification of living and extinct organisms—i.e., biological classification.

      I don't think the "but more strictly" part is strictly accurate.

      Wikipedia authors confirm what I already believed to be true: that the general sense of the word is just as valid/extant/used/common as the sense that is specific to biology:

      https://en.wikipedia.org/wiki/Taxonomy_(general) https://en.wikipedia.org/wiki/Taxonomy_(biology)

    1. By bundling AddThis with other Experience enhancement cookies, it makes it impossible to opt in to other Experience enhancement cookies without also opting in to these (what could also be categorized as) Targeting/Advertising cookies (id 5).
    1. "linked data" can and should be a very general term referring to any structured data that is interlinked/interconnected.

      It looks like most of this article describes it in that general sense, but sometimes it talks about URIs and such as if they are a necessary attribute of linked data, when that would only apply to Web-connected linked data. What about, for example, linked data that links to each other through some other convention such as just a "type" and "ID"? Maybe that shouldn't be considered linked data if it is too locally scoped? But that topic and distinction should be explored/discussed further...

      I love its application to web technologies, but I wish there were a distinct term for that application ("linked web data"?) so it could be clearer from reading the word whether you meant general case or not. May not be a problem in practice. We shall see.

      Granted/hopefully most use of linked data is in the context of the Web, so that the links are universal / globally scoped, etc.

    1. Sure, anti-spam measures such as a CAPTCHA would certainly fall under "legitimate interests". But would targeting cookies? The gotcha with reCAPTCHA is that this legitimate-interest, quite-necessary-in-today's-world feature is inextricably bundled with unwanted and unrelated Google targeting (cookiepedia.co.uk/cookies/NID) cookies (_ga, _gid for v2; NID for v3).
    1. generic-sounding term may be interpreted as something more specific than intended: I want to be able to use "data interchange" in the most general sense. But if people interpret it to mean this specific standard/protocol/whatever, I may be misunderstood.

      The definition given here

      is the concept of businesses electronically communicating information that was traditionally communicated on paper, such as purchase orders and invoices.

      limits it to things that were previously communicated on paper. But what about things for which paper was never used, like the interchange of consent and consent receipts for GDPR/privacy law compliance, etc.?

      The term should be allowed to be used just as well for newer technologies/processes that had no previous roots in paper technologies.

    1. In cases where you want to send more than one type of email to your users, you’re required to get additional consent specific to those uses as you must have multiple consents for multiple purposes.
    2. In the case of DEM communications, you must obtain additional consent if also sending emails about third-party products/services in addition to your own.
  6. Apr 2020
    1. the French CNIL has reminded that consent has to be given at the time of data collection, has to be specific, and cannot be passed to another controller through a contractual relationship; it could not be bundled.
  7. Mar 2020
    1. How do you leverage browser cache when Google’s very own Analytics.js has it’s expiry time set to 2 hours? How do you minimize DNS requests when Google advices you to copy their tracking code, linking to an externally hosted Javascript file?If that isn’t bad enough already, Google’s advice is to avoid hosting the JavaScript file locally. And why? To ensure you get access to new features and product updates.
  8. Dec 2019
    1. People cannot see exhaustive documentation and code examples on their own file system. They would have to visit the repository (which also requires an internet connection).
  9. Sep 2018
    1. BOOK 12 THE ARGUMENT The Angel Michael continues from the Flood to relate what shall succeed; then, in the mention of Abraham, comes by degrees to explain, who that Seed of the Woman shall be, which was promised Adam and Eve in the Fall; his Incarnation, Death, Resurrection, and Ascention; the state of the Church till his second Coming. Adam greatly satisfied and recomforted by these Relations and Promises descends the Hill with Michael; wakens Eve, who all this while had slept, but with gentle dreams compos'd to quietness of mind and submission. Michael in either hand leads them out of Paradise, the fiery Sword waving behind them, and the Cherubim taking thir Stations to guard the Place. AS one who in his journey bates at Noone, Though bent on speed, so heer the Archangel paus'd Betwixt the world destroy'd and world restor'd, If Adam aught perhaps might interpose; Then with transition sweet new Speech resumes. [ 5 ] Thus thou hast seen one World begin and end; And Man as from a second stock proceed. Much thou hast yet to see, but I perceave Thy mortal sight to faile; objects divine Must needs impaire and wearie human sense: [ 10 ] Henceforth what is to com I will relate, Thou therefore give due audience, and attend. This second sours of Men, while yet but few; And while the dread of judgement past remains Fresh in thir mindes, fearing the Deitie, [ 15 ] With some regard to what is just and right Shall lead thir lives and multiplie apace, Labouring the soile, and reaping plenteous crop, Corn wine and oyle; and from the herd or flock, Oft sacrificing Bullock, Lamb, or Kid, [ 20 ] With large Wine-offerings pour'd, and sacred Feast, Shal spend thir dayes in joy unblam'd, and dwell Long time in peace by Families and Tribes Under paternal rule; till one shall rise Of proud ambitious heart, who not content [ 25 ] With fair equalitie, fraternal state, Will arrogate Dominion undeserv'd Over his brethren, and quite dispossess Concord and law of Nature from the Earth, Hunting (and Men not Beasts shall be his game) [ 30 ] With Warr and hostile snare such as refuse Subjection to his Empire tyrannous: A mightie Hunter thence he shall be styl'd Before the Lord, as in despite of Heav'n, Or from Heav'n claming second Sovrantie; [ 35 ] And from Rebellion shall derive his name, Though of Rebellion others he accuse. Hee with a crew, whom like Ambition joyns With him or under him to tyrannize, Marching from Eden towards the West, shall finde [ 40 ] The Plain, wherein a black bituminous gurge Boiles out from under ground, the mouth of Hell; Of Brick, and of that stuff they cast to build A Citie and Towre, whose top may reach to Heav'n; And get themselves a name, least far disperst [ 45 ] In foraign Lands thir memorie be lost, Regardless whether good or evil fame. But God who oft descends to visit men Unseen, and through thir habitations walks To mark thir doings, them beholding soon, [ 50 ] Comes down to see thir Citie, ere the Tower Obstruct Heav'n Towrs, and in derision sets Upon thir Tongues a various Spirit to rase Quite out thir Native Language, and instead To sow a jangling noise of words unknown: [ 55 ] Forthwith a hideous gabble rises loud Among the Builders; each to other calls Not understood, till hoarse, and all in rage, As mockt they storm; great laughter was in Heav'n And looking down, to see the hubbub strange [ 60 ] And hear the din; thus was the building left Ridiculous, and the work Confusion nam'd. Whereto thus Adam fatherly displeas'd. O execrable Son so to aspire Above his Brethren, to himself assuming [ 65 ] Authoritie usurpt, from God not giv'n: He gave us onely over Beast, Fish, Fowl Dominion absolute; that right we hold By his donation; but Man over men He made not Lord; such title to himself [ 70 ] Reserving, human left from human free. But this Usurper his encroachment proud Stayes not on Man; to God his Tower intends Siege and defiance: Wretched man! what food Will he convey up thither to sustain [ 75 ] Himself and his rash Armie, where thin Aire Above the Clouds will pine his entrails gross, And famish him of Breath, if not of Bread? To whom thus Michael. Justly thou abhorr'st That Son, who on the quiet state of men [ 80 ] Such trouble brought, affecting to subdue Rational Libertie; yet know withall, Since thy original lapse, true Libertie Is lost, which alwayes with right Reason dwells Twinn'd, and from her hath no dividual being: [ 85 ] Reason in man obscur'd, or not obeyd, Immediately inordinate desires And upstart Passions catch the Government From Reason, and to servitude reduce Man till then free. Therefore since hee permits [ 90 ] Within himself unworthie Powers to reign Over free Reason, God in Judgement just Subjects him from without to violent Lords; Who oft as undeservedly enthrall

      Book XII: continues Michael's vision. Adam and Eve are comforted by hearing of the future redemption of their race. The poem ends as they wander forth out of Paradise and the door closes behind them.

    1. I’m going to assume most people in the room here have read Vannevar Bush’s 1945 essay As We May Think. If you haven’t read it yet, you need to.

      I seem to run across references to this every couple of months. Interestingly it is never in relation to information theory or Claude Shannon references which I somehow what I most closely relate it to.

  10. May 2017
    1. “I and other so-called ‘deniers’ are members of the 97 percent consensus, which refers to the following: Yes, the earth’s climate has been warming overall for more than a century. Yes, humans emit CO2, and CO2 has an overall warming effect on the climate,” Curry said. Where the consensus ends, Curry added, is “whether the dominant cause of the recent warming is humans versus natural causes, how the 21st century climate will evolve, and whether warming is dangerous.”
  11. Aug 2016
    1. VISITS

      I'm not sure exactly where this would fit in, but some way to reporting total service hours (per week or other time period) would be useful, esp as we start gauging traffic, volume, usage against number of service hours. In our reporting for the Univ of California, we have to report on services hours for all public service points.

      Likewise, it may be helpful to have a standard way to report staffing levels re: coverage of public service points? or in department? or who work on public services?

  12. Jul 2016
    1. vẫn thấy trường mình là đại học tốt nhất cả nước về Khoa học Máy tính cần tận dụng triệt để môi trường mình đang có. Vẫn có người, thậm chí cùng phòng mình, đi được Mỹ.

    1. ...one of the most highly regarded and expertly designed C++ library projects in the world.

      code lại C++ cho hệ nhúng, OpenCV

    1. When you see other get trailed its like the justice system goes easy on them like if they were kids

      they should never be following people

    1. VLFeat: Mature and well-documented vision library, includes MATLAB bindings.

      không chỉ Matlab,

    2. OpenCV Android Application Programming with OpenCV Mastering OpenCV with Practical Computer Vision Projects Practical OpenCV Learning OpenCV

      sách hay vọc OpenCV trên C++ và Java (Nhúng và di động)

    3. Mastering OpenCV with Practical Computer Vision Projects

      quyển có ứng dụng đọc biển số xe ngoài ra còn có nhiều dự án khác, như facial tracking dùng AMM (hay AAM j đó) dùng C++