264 Matching Annotations
  1. Nov 2022
    1. Testing frameworks often introduce their own abstractions for e.g. evaluation order, data validation, reporting, scope, code reuse, state, and lifecycle. In my experience, these abstractions are always needlessly different from (and inferior to) related abstractions provided by the language itself.
    1. Changing the second line to: foo.txt text !diff would restore the default unset-ness for diff, while: foo.txt text diff will force diff to be set (both will presumably result in a diff, since Git has presumably not previously been detecting foo.txt as binary).

      comments for tag: undefined vs. null: Technically this is undefined (unset, !diff) vs. true (diff), but it's similar enough that don't need a separate tag just for that.

      annotation meta: may need new tag: undefined/unset vs. null/set

  2. Oct 2022
    1. a little flaw (Google translation can not find the translation of the word "瑕疵", so can only use the word "flaw" instead)

      annotation meta: may need new tag: no exact translation in other language

    1. so this means that there are no documentation telling you that this is the way you have to do it anywhere so naturally a lot of devs do not know about this, unless they ask about it by luck or of curiousity.

      annotation meta: may need new tag: how could they know / how would one find out?

    1. First and foremost, we need to acknowledge that even though the funding goal has been met–it does not meet the realistic costs of the project. Bluntly speaking, we did not have the confidence to showcase the real goal of ~1.5 million euros (which would be around 10k backers) in a crowdfunding world where “Funded in XY minutes!” is a regular highlight.

      new tag: pressure to understate the real cost/estimate

    1. Theo sự phát triển của thời đại thì sẽ xuất hiện ra nhiều thiết bị thông minh để phục vụ cuộc sống của con người ngày một phát triển hơn. Và máy tăm nước cũng là một trong số các thiết bị thông minh đó. Để đáp ứng nhu cầu sử dụng của con người thì hiện nay trên thị trường xuất hiện càng nhiều loại tăm nước với các kiểu dáng, màu sắc và chức năng khác nhau. Bài viết dưới đây chúng tôi sẽ giới thiệu cho bạn Top 4 máy tăm nước an toàn và tốt nhất hiện nay
    1. Bạn có nhu cầu sử dụng ít hay gia đình của bạn ít người thì dòng máy giặt mini là lựa chọn ưu việt nhất hiện nay. Nhưng trên thị trường hiện nay có khá nhiều dòng máy giặt mini được ra đời và quảng cáo rất nhiều. Khiến bạn sẽ phân vân và đắn đo không biết máy giặt mini nào tốt. Bài viết dưới đây chúng tôi sẽ giới thiệu Top 3 máy giặt mini tốt nhất hiện nay để bạn có thể tham khảo và lựa chọn cho mình cũng như gia đình của mình
    1. Ngày nay máy giặt chắc không còn xa lạ gì với mỗi gia đình. Nhưng càng ngày theo sự phát triển thì người ta càng đa dạng về kiểu dáng cũng như công dụng của máy giặt. Trong đó máy giặt mini là sản phẩm được ra mắt khá phù hợp với nhu cầu của các gia đình nhỏ hay các bạn sinh viên. Bài viết này hãy cùng tìm hiểu về dòng sản phẩm máy giặt mini Calofa.
    1. Review Máy Tăm Nước Flossie

      Máy tăm nước Flossie đang là thương hiệu được mọi người khá quan tâm hiện nay. Đây là sản phẩm sử dụng công nghệ hiện đại để chăm sóc sức khoẻ răng miệng cho mọi người bằng tác động của nước. Hôm nay webdanggia.net sẽ review máy tăm nước Flossie có nên sử dụng không? Xem thêm tại: https://webdanhgia.net/may-tam-nuoc-flossie/

    1. In another fashion, Bush described a ‘memory index’ that would work ‘as wemay think’, by which, cryptically, he meant not artificial intelligence but the capabilityto retrace the paths of the reader’s thought process.

      I quite like the wording of this sentence.

    1. Machines understand languages, that are formal and rigid, with unique and unambiguous instructions that are interpreted in precisely one way. Those formal, abstract languages, and programming languages in general, are hard to understand for humans like ourselves. Primarily, they are tailored towards the requirements of the machine. The user is therefore forced to adapt to the complexity of the formal language.

      .

  3. Sep 2022
    1. One of the reasons I initially pushed back on the creation of a JSON Schema for V3 is because I feared that people would try to use it as a document validator. However, I was convinced by other TSC members that there were valid uses of a schema beyond validation.

      annotation meta: may need new tag: fear would be used for ... valid uses for it beyond ...

    2. without a schema, you do not have a spec, you have an aspiration.

      annotation meta: may need new tag: you don't have a _; you have a _

    3. When we do release a final version of JSON Schema, please do not use JSON Schema to guarantee an OpenAPI document is valid. It cannot do that. There are numerous constraints in the written specification that cannot be expressed in JSON Schema.
    1. JSONPath contains verbiage that allows for an empty array to be returned in the case that nothing was found, but the primary return in these cases is false.

      annotation meta: may need new tag:

      distinction between nothing, false, and empty array

      verbiage that allows for ...

    1. We do not want to change or remove additionalProperties. Providing a clear solution for the above use case will dramatically reduce or eliminate the misunderstandings around additionalProperties.

      annotation meta: may need new tag: - don't want to change or remove existing feature [because...] - solving problem B will reduce misunderstandings around feature A

    1. 1.9 Title: ​DFAT Country Information Report: Sri Lanka Source: Australia. Department of Foreign Affairs and Trade. Date of Document: 23 December 2021 URL: https://www.dfat.gov.au/sites/default/files/country-information-report-sri-lanka.pdf Accessed Date: 16 May 2022

      UPDATED

    2. 1.8 Title: The impact of the COVID-19 pandemic, including on detention conditions, access to justice and socio-economic conditions in major cities (2019–May 2021) Code: LKA200596.E Source: Immigration and Refugee Board of Canada Date of Document: 7 May 2021 URL: https://irb-cisr.gc.ca/en/country-information/rir/Pages/index.aspx?doc=458345 Accessed Date: 26 May 2021

      RE-NUMBERED - PREVIOUSLY 1.14

    3. 1.7 Title: ​Présentation de Sri Lanka Source: France. Ministère de l'Europe et des Affaires étrangères. Date of Document: 18 February 2021 URL: https://www.diplomatie.gouv.fr/fr/dossiers-pays/sri-lanka/presentation-du-sri-lanka/ Accessed Date: 16 May 2022

      NEW FOR 2022

    4. 1.5 Title: ​Sri Lanka Development Update: Economic and Poverty Impact of COVID-19 Source: The World Bank Date of Document: June 2021 URL: https://thedocs.worldbank.org/en/doc/15b8de0edd4f39cc7a82b7aff8430576-0310062021/original/SriLanka-DevUpd-Apr9.pdf Accessed Date: 16 May 2022

      NEW FOR 2022

    5. 1.4 Title: ​Sri Lanka. BTI 2022 Country Report. Source: Bertelsmann Stiftung Date of Document: February 2022 URL: https://bti-project.org/en/reports/country-report/LKA Accessed Date: 16 May 2022

      UPDATED

    6. 1.2 Title: ​Sri Lanka. The World Factbook. Source: United States. Central Intelligence Agency Date of Document: 10 May 2022

      UPDATED Not available as this is a constantly-updated page and no archived version of 10 May 2022 seems to exist - 24 May 2022 is closest: https://web.archive.org/web/20220526114553/https://www.cia.gov/the-world-factbook/countries/sri-lanka/

    7. 2.4 Title: ​Sri Lanka. World Report 2022: Events of 2021. Source: Human Rights Watch Date of Document: January 2022 URL: https://www.hrw.org/world-report/2022/country-chapters/sri-lanka Accessed Date: 16 May 2022

      UPDATED

    8. 2.3 Title: ​Sri Lanka. Freedom in the World 2022. Source: Freedom House Date of Document: 2022 URL: https://freedomhouse.org/country/sri-lanka/freedom-world/2022 Accessed Date: 16 May 2022

      UPDATED According to ECOI was published 3 March 2022. ECOI link: https://www.ecoi.net/en/document/2046539.html

    1. But do ESG ratings really deliver on the promise? Are highly-ranked ESG businesses really more caring of the environment, more selective of the societies in which they operate, and more focused on countries with good corporate governance? In short, is ESG really good? The answer is no.

      black box

      opaque score

  4. Aug 2022
    1. One cannot hope thus to equal the speed and flexibility with which the mind follows an associative trail, but it should be possible to beat the mind decisively in regard to the permanence and clarity of the items resurrected from storage.
    1. This is a terrific answer! Without something like locks or transactions, we indeed will only ever be able to get an updated-as-of-when-the-repository-just-told-us point of accuracy that gets stale if changed in the time since then
    2. It's a great way to test various limits. When you think about this even more, it's a little mind-bending, as we're trying to impose a global clock ("who is the most up to date") on a system that inherently doesn't have a global clock. When we scale time down to nanoseconds, this affects us in the real world of today: a light-nanosecond is not very far.
    3. Which of these to use depends on the result you want. Note that by the time you get the answer, it may be incorrect (out of date). There is no way to fix this locally. Using some ESP,2 imagine the remote you're contacting is in orbit around Saturn. It takes light about 8 minutes to travel from the sun to Earth, and about 80 to travel from the sun to Saturn, so depending on where we are orbitally, they're 72 to 88 minutes away. Any answer you get back from them will necessarily be over an hour out of date.
    4. When we have our git rev-parse examine our Git repository to view our origin/HEAD, what we see is whatever we have stored in this origin/HEAD. That need not match what is in their HEAD at this time. It might match! It might not.
  5. Jul 2022
    1. Dây chuyền sản xuất cốc giấy hay còn gọi là máy sản xuất ly giấy hoặc máy làm ly giấy tự động khép kín có quy trình sản xuất chạy toàn bộ quy trình nạp giấy, dán miệng cốc, tra dầu, đục lỗ dưới đáy, làm nóng, cán, tráng, làm tròn và gấp mép.
  6. May 2022
    1. You may find this book in the “self-improvement” category, but in adeeper sense it is the opposite of self-improvement. It is aboutoptimizing a system outside yourself, a system not subject to you

      imitations and constraints, leaving you happily unoptimized and free to roam, to wonder, to wander toward whatever makes you feel alive here and now in each moment.

      Some may categorize handbooks on note taking within the productivity space as "self-help" or "self-improvement", but still view it as something that happens outside of ones' self. Doesn't improving one's environment as a means of improving things for oneself count as self-improvement?

      Marie Kondo's minimalism techniques are all external to the body, but are wholly geared towards creating internal happiness.

      Because your external circumstances are important to your internal mental state, external environment and decoration can be considered self-improvement.


      Could note taking be considered exbodied cognition? Vannevar Bush framed the Memex as a means of showing associative trails. (Let's be honest, As We May Think used the word trail far too much.)

      How does this relate to orality vs. literacy?

      Orality requires the immediate mental work for storage while literacy removes some of the work by making the effort external and potentially giving it additional longevity.

    1. When chatting with my father about the proton research he summed it up nicely, that two possible responses to hearing that how we measure something seems to change its nature, throwing the reliability of empirical testing into question, are: “Science has been disproved!” or “Great!  Another thing to figure out using the Scientific Method!” The latter reaction is everyday to those who are versed in and comfortable with the fact that science is not a set of doctrines but a process of discovery, hypothesis, disproof and replacement.  Yet the former reaction, “X is wrong therefore the system which yielded X is wrong!” is, in fact, the historical norm.
  7. Apr 2022
    1. These callbacks are focused on the transactions, instead of specific model actions.

      At least I think this is talking about this as limitation/problem.

      The limitation/problem being that it's not good/useful for performing after-transaction code only for specific actions.

      But the next sentence "This is beneficial..." seems contradictory, so I'm a bit confused/unclear of what the intention is...

      Looking at this project more, it doesn't appear to solve the "after-transaction code only for specific actions" problem like I initially thought it did (and like https://github.com/grosser/ar_after_transaction does), so I believe I was mistaken. Still not sure what is meant by "instead of specific model actions". Are they claiming that "before_commit_on_create" for example is a "specific model action"? (hardly!) That seems almost identical to the (not specific enough) callbacks provided natively by Rails. Oh yeah, I guess they do point out that Rails 3 adds this functionality, so this gem is only needed for Rails 2.

  8. Mar 2022
    1. Its core theme - segregation. It's done in such an ingenious and innocent way - colour.

      new tag: not so much sneaky, but clever way of communicating an idea/message/theme

    1. I believe this is partly due to a militant position on free software. Some advocates believe so strongly that users should be able to recompile their software that they force them to do so. They break libraries seemingly on purpose just to say, “Recompile! Oh you can’t? That’ll teach you to use binary software!” Of course users don’t want to recompile their software, but what users actually want is usually lost on GNOME developers.
    1. In any significant project I worked in the last 15 years, logging text messages resulted in a large amount of strings which was hard to make sense of, thus mostly ignored.

      hard to make sense of, thus mostly ignored

    1. Note that this is a breaking API change in the libraries (more information in the README.md). It does not affect the backwards compatibility of the protocol itself.

      annotation meta: may need new tag: backwards compatibility of the protocol backwards compatibility for [libraries that use [it?]]

  9. Feb 2022
    1. I did a spike to come up with a PoC for introducing this into the codebase of a product that I'm working on (matteeyah/respondo#225) by monkey-patching ActiveRecord with delegated types. It's amazing how can a small code change in ActiveRecord facilitate a big change in the domain model.
    1. You may want to jump straight to the Examples section if formal stuff annoys you.

      formal stuff annoys you

      prefer practical vs. prefer theoretical/academic

  10. Jan 2022
    1. In the spirit of mutual collaboration between the client and the API, the response must include a hint on how to obtain such authorization.

      annotation meta: may need new tag: client/server cooperation?

    2. If the client request does not include any access token, demonstrating that it wasn't aware that the API is protected, the API's response should not include any other information.

      annotation meta: may need new tag: demonstrating....

    1. Bush 1939 Warning: Biblio formatting not applied. BushVannevar. Mechanization and the Record. Vannevar Bush Papers. Box 138, Speech Article Book File. Washington D.C. Library of Congress. 1939.

      Original paper that became The Atlantic article As We May Think (1945).

  11. Nov 2021
    1. It's all too complex for our little brains to handle. And like any situation of excess complexity, we collapse dimensions until we have a structure we can comprehend. The problem, in this case, is that our simplifications create tunnels large enough for the trucks of hacker to drive through—with ease.
    1. They wanna be to Linux what the Play Store is to Android, what the App Store is to iOS.But we don't do that around here. We use Flatpak round 'ere.

      annotation meta: may need new tag: company [aspiring] to be bigger / take over the world

  12. Sep 2021
    1. Disclaimer I really have no desire to maintain this project, as it's not mine to begin with. I was looking for something like Gitso but it didn't quite have what I wanted. After making my changes I thought I might as well put this up on GitHub for others who wanted something similar. So if you have issues, you're better off forking the project and fixing them yourself.

      .

    1. If there is one thing that normally characterizes the entire Linux ecosystem, it is that there are many solutions to one problem.

      many different solutions to a problem

    1. tcpwrappers or, as you’re probably more familiar, the hosts.allow and hosts.deny files

      little-known facts better known as

      Indeed, I'd heard of hosts.allowed but would have never known that they were part of a package/system called tcpwrappers (which I don't think I've ever heard of).

    1. while we figure out how to best include HMR support in the compiler itself (which is tricky to do without unfairly favoring any particular dev tooling)
    1. Gems use a period and packages use a dot

      Probably a false distinction, because "packages" is used in a way that it implies a distinction from "gems", when in actuality

      1. gems are packages, too (Ruby packages)
      2. it's referring specifically to JavaScript/node/npm packages,

      ... so there is only truly a distinctio if you are specific enough to say JavaScript packages.

  13. Aug 2021
    1. Caution: This is NOT the current local time in most locations in that time zone North America: Only some locations are currently on MST because most places in this time zone are currently on summer time / daylight saving time and are observing MDT.
    1. * Now it's correct within the laws of the type system, but makes zero practical sense, * because there exists no runtime representation of the type `Date & string`. * * The type system doesn't care whether a type can be represented in runtime though.

      new tag?: makes zero practical sense

      makes zero practical sense because there exists no runtime representation of the type

  14. Jun 2021
    1. "Many North American music education programs exclude in vast numbers students who do not embody Euroamerican ideals. One way to begin making music education programs more socially just is to make them more inclusive. For that to happen, we need to develop programs that actively take the standpoint of the least advantaged, and work toward a common good that seeks to undermine hierarchies of advantage and disadvantage. And that, inturn, requires the ability to discuss race directly and meaningfully. Such discussions afford valuable opportunities to confront and evaluate the practical consequences of our actions as music educators. It is only through such conversations, Connell argues, that we come to understand “the real relationships and processes that generate advantage and disadvantage”(p. 125). Unfortunately, these are also conversations many white educators find uncomfortable and prefer to avoid."

    1. We should think about the number of simultaneous connections (peak and average) and the message rate/payload size. I think, the threshold to start thinking about AnyCable (instead of just Action Cable) is somewhere between 500 and 1000 connections on average or 5k-10k during peak hours.
      • number of simultaneous connections (peak and average)

      • the message rate/payload size.

    1. One of the consequences (although arguably not the primary motivation) of DRY is that you tend to end up with chunks of complex code expressed once, with simpler code referencing it throughout the codebase. I can't speak for anyone else, but I consider it a win if I can reduce repetition and tuck it away in some framework or initialisation code. Having a single accessor definition for a commonly used accessor makes me happy - and the new Object class code can be tested to hell and back. The upshot is more beautiful, readable code.

      new tag?:

      • extract reusable functions to reduce duplication / allow elegant patterns elsewhere
    1. Critical to the acceptance of the position of the script subtag was the inclusion of information in the registry to make clear the need to avoid script subtags except where they add useful distinguishing information. Thus, the registry entry for the language subtag "en" (English) has a field called "Suppress-Script" indicating that the script subtag "Latn" should be avoided with that language, since virtually all English documents use the Latin script.
      • not worth saying
      • not necessary to say/write
      • useless information

      Suppress-Script

    2. Another problem was the ambiguity of RFC 3066 regarding the generative syntax. The idea of "language-dash-region" language tags was easy enough to grasp; most users didn't read RFC 3066 directly or consider the unstated-but-realized implication that other subtags might sometimes occur in the second position.

      unstated-but-realized

  15. May 2021
    1. tweet at them. This has multiple effects: If they don't respond, it's bad PR
    2. The best advice I can give you is: Seek a smaller provider which often are less formal and more approachable. When you found one where you have a good support, request your friends and family to move to this. You are doing something for them, then it can only happen on your terms.
      • supporting those you like by sending business to them
      • less formal and more approachable
    3. So, +1 for play ball. Level 1 is supposed to filter out all simple issues (and once upon a time, you'll have forgotten something, happens to all of us), and they are not supposed to be creative. They get a script that has been refined over and over. Learn the scripts, prepare the answers, and you'll get to Level 2 more quickly than with any other method.
    1. I think so...I actually can't remember. I've used this script quite a bit.

      where did it come from? don't remember

      after a while, something that came from another starts to feel like your own

      you make it your own

    1. Are you also tired and fed up with the bulkiness of jQuery, but also don't want to have to type document.querySelector("div").appendChild(document.createTextNode("hello")); just to add some text to an element?

      happy middle/medium?

    1. However, the novelty wears off quickly and the whole thing soon becomes a slog — the career mode could be cut in half and the experience would be better for it.

      less is more/better

    1. My name is Floyd Lu, I have been designing and publishing games since 2015 under B&B Games studio. In 2020 B&B Games studio dissolved. I took over a part of the business including this account. I am unable to change the name and URL of my Kickstarter account. I delivered and personally worked on each project that I did and I can't transfer all the followers, therefore, I am still launching new projects under this account.
    1. when HTML5 started, the feedback from the HTML5 guys was pretty clear: HTML5 is there to improve web apps (standards-based flash! yay!), and not to improve HTML as a hypermedia format. http://dret.typepad.com/dretblog/2008/05/xhtml-fragment.html was a very early attempt to raise the issue and was shot down promptly. with HTML5 now branching into so many micro-specs (https://github.com/dret/HTML5-overview), maybe there’s a good chance to simply create a “FragIDs in HTML5” spec and see if there’s any community uptake. it would be great to see this getting started, and maybe IETF with its more open process would be a better place than W3C.
    2. The simple problem that I see with fragment identifiers is that their existence and functionality relies completely on the developer rather than the browser. Yes, the browser needs to read and interpret the identifier and identify the matching fragment. But if the developer doesn’t include any id attributes in the HTML of the page, then there will be no identifiable fragments. Do you see why this is a problem? Whether the developer has coded identifiers into the HTML has nothing to do with whether or not the page actually has fragments. Virtually every web page has fragments. In fact, sectioning content as defined in the HTML5 spec implies as much. Every element on the page that can contain content can theoretically be categorized as a “fragment”.

      at the mercy of author

    1. Making effective use of this mechanism requires either control of the targeted document or generous creators of targeted documents who have liberally applied id attributes throughout a document.

      unlikely for anyone/most people to actually do that