10,000 Matching Annotations
  1. Oct 2020
    1. 可算明白了 Monitor 和 Lock 的区别,Monitor 是一个完整的结构,其构成元素里包括 Lock,还包括若干 Condition Variables (条件变量)

      type Monitor struct {
        Lock Lock
        EntranceQueue []Thread
      
        CVs []ConditionVariable
      }
      
      type ConditionVariable struct {
        WaitingQueue []Thread
      }
      

      java monitor

      想象 Monitor 是一个房子,所有强锁的线程先进这个房子,如果 Lock 已被占,则在这个入口等着,否则拿着锁进入正厅,执行业务逻辑

      如果不需等待某些条件,则直接执行,最后退出,并释放锁,让其他线程进入,否则

      在 while 循环中等待条件变量成立,同时释放锁,进入等待室,等待其他入口处的线程进入正厅后,可能执行的 nofity,被唤醒后,去入口处,重新等待获锁,之后检查条件时候确实成立(在 while(P)中),如果否,则再次 wait,如果真,则可执行业务逻辑,有需要的话退出前也执行 nofity(), 退出释放锁,结束

      总结来说,monitor:一把 lock,两个 waiting queue

      ps. 这个图也不错

    2. The operations notify c and notify all c are treated as "hints" that P may be true for some waiting thread.

      notify & notifyAll is a hint that condition might be true

    3. bounded producer/consumer problem

      这个 bounded producer/consumer problem 特别适合用来帮助理解 monitor

      • lock, 保护 bounded queue
      • condition variables:
        • producer: queue is not full
        • consumer: queue is not empty
    4. Monitors provide a mechanism for threads to temporarily give up exclusive access in order to wait for some condition to be met, before regaining exclusive access and resuming their task.

      所以除了 lock 之外,monitor 还有一个功能就是可以让线程放弃🔒,直到它需要的条件成立,再才重新获得🔒

      这是 monitor 比 lock 多的一点涵义

    5. A monitor consists of a mutex (lock) object and condition variables.

      这儿看出点儿 monitor 和 lock 的区别了

      monitor 是一个结构,包括两个元素:

      • mutex (lock)
      • condition variables
    6. In concurrent programming (also known as parallel programming), a monitor is a synchronization construct that allows threads to have both mutual exclusion and the ability to wait (block) for a certain condition to become false.

      monitor, two feature:

      • mutex
      • the ability to wait for a certain condition to become true
    1. Each user obtains a different outcome based on the choices they make.

      I liked this a lot because no experience is going to be the same and I feel that is very significant.

    1. base URL, which contains the address of the user's institutional link-server, followed by a query string, consisting of key-value pairs serializing a ContextObject. The ContextObject is most often bibliographic data, but as of version 1.0 OpenURL can also include information about the requester, the resource containing the hyperlink, the type of service required, and so forth. For example:

      there's a ton of info wrapped into this thing. how is it permanent?

    2. is often a bibliographic citation or bibliographic record in a database. Examples of these databases include Ovid Technologies,

      so it can apply to gated resources

    3. An OpenURL is similar to a web address, but instead of referring to a physical website, it refers to an article, book, patent, or other resource within a website.

      How does it know whether something is an article, etc. on a website? Is the open part the url itself or does it only point to open resources?

    1. Using | x y | ≤ p {\displaystyle |xy|\leq p} , we know y {\displaystyle y} only consists of instances of a {\displaystyle a} . Moreover, because | y | ≥ 1 {\displaystyle |y|\geq 1} , it contains at least one instance of the letter a {\displaystyle a} .

      Condition 3 => condition 2, pumping up leads to contradiction.

    1. Merchant offers iDEAL as payment method Consumer selects iDEAL and selects their bank Consumer is redirected to their bank's login page Participating bank displays transaction data Customer enters account number and signs the transaction digitally using a 2FA token Bank authorizes transaction in real-time, deducting the amount directly from the consumer's account (if there is not enough balance, the transaction will be refused) Merchant received real-time confirmation of the payment by the bank Consumer is redirected back to the merchant page with a confirmation that the payment has been successful

      Sequence Diagram

    1. On 22 September 1599, a group of merchants met and stated their intention "to venture in the pretended voyage to the East Indies (the which it may please the Lord to prosper), and the sums that they will adventure", committing £30,133 (over £4,000,000 in today's money).

      Creation of venture capital?

    2. with Indian revenues of £13,464,561 (equivalent to £229.9 million in 2019)

      Revenue of this scale is a fraction of what it is today. Is it the EITC is as much of a deal as any of these extraordinarily large companies today are? EITC compared to Snowflake Computing? EITC revolutionized the world and it was much smaller. How is this possible!

    1. Interesting that a "–" was used instead of a "-". I do like that distinction. "-" usually implies a compound/joining together of words, whereas this hear is separating distinct parts from each other (?).

    1. Parzival by Wolfram von Eschenbach, a 13th-century epic poem of the Arthurian knight Parzival (Percival) and his quest for the Holy Grail (12th century).

      Parsifal annotation 2

    1. Brief: (equivalent to a user story or an epic) The member edits any part (the entire article or just a section) of an article they are reading. Preview and changes comparison are allowed during the editing.

      De link naar user stories

    1. It is produced by Clarivate Analytics

      Clarivate Analytics owns Web of Science, a citation index. Mendeley, another popular proprietary reference management software, is produced by Elsevier, which owns Scopus, another citation index.

    1. Critics, including Sarah Posner and Joe Conason, maintain that prosperity teachers cultivate authoritarian organizations. They argue that leaders attempt to control the lives of adherents by claiming divinely-bestowed authority.[63] Jenkins contends that prosperity theology is used as a tool to justify the high salaries of pastors.

      This would seem to play out in current American culture which seems to be welcoming of an authoritarian president.

    2. In a study of the Swedish Word of Life Church, he noted that members felt part of a complex gift-exchange system, giving to God and then awaiting a gift in return (either from God directly or through another church member).[66]

      This philosophy has been around long enough that there ought to be evidence that it works for more than just the leaders of the churches. If anything, it feels like the middle classes that are practicing it are practicing it right towards poverty over the past 20 years.

    1. Concerning the discipline of sociology, he described the dichotomy of sedentary life versus nomadic life as well as the inevitable loss of power that occurs when warriors conquer a city. According to the Arab scholar Sati' al-Husri, the Muqaddimah may be read as a sociological work. The work is based around Ibn Khaldun's central concept of 'aṣabiyyah, which has been translated as "social cohesion", "group solidarity", or "tribalism". This social cohesion arises spontaneously in tribes and other small kinship groups; it can be intensified and enlarged by a religious ideology. Ibn Khaldun's analysis looks at how this cohesion carries groups to power but contains within itself the seeds – psychological, sociological, economic, political – of the group's downfall, to be replaced by a new group, dynasty or empire bound by a stronger (or at least younger and more vigorous) cohesion. Some of Ibn Khaldun's views, particularly those concerning the Zanj people of sub-Saharan Africa,[27] have been cited as a racist,[28] though they were not uncommon for their time. According to the scholar Abdelmajid Hannoum, Ibn Khaldun's description of the distinctions between Berbers and Arabs were misinterpreted by the translator William McGuckin de Slane, who wrongly inserted a "racial ideology that sets Arabs and Berbers apart and in opposition" into his translation of the Muqaddimah.
    1. Based on all available forms, the hypothetical proto-Celtic word may be reconstructed as *dru-wid-s (pl. *druwides) meaning "oak-knower".

      With the early history of druids going into the 4th century BCE (and keeping in mind that Stonehenge's dates go to about 1600 BCE), is it possible that the druids used trees as the basis for their mnemonics in lieu of standing stones? Thus the name oak-knower is more specific to what they were doing than we give them credit for? To an outsider unaware of their ways, their ritual memory systems would have made it seem like they worshiped the trees in ways other cultures would not have?

    1. In any case Quintilian makes it clear that non-alphabetic signs can be employed as memory images, and even goes on to mention how 'shorthand' signs (notae) can be used to signify things that would otherwise be impossible to capture in the form of a definite image (he gives "conjunctions" as an example).[36]
    2. The Art of Signs (Latin Ars Notoria) is also very likely a development of the graphical mnemonic. Yates mentions Apollonius of Tyana and his reputation for memory, as well as the association between trained memory, astrology and divination.[37] She goes on to suggest It may have been out of this atmosphere that there was formed a tradition which, going underground for centuries and suffering transformations in the process, appeared in the Middle Ages as the Ars Notoria, a magical art of memory attributed to Apollonius or sometimes to Solomon. The practitioner of the Ars Notoria gazed at figures or diagrams curiously marked and called 'notae' whilst reciting magical prayers. He hoped to gain in this way knowledge, or memory, of all the arts and sciences, a different 'nota' being provided for each discipline. The Ars Notoria is perhaps a descendant of the classical art of memory, or of that difficult branch of it which used the shorthand notae. It was regarded as a particularly black kind of magic and was severely condemned by Thomas Aquinas.[38]
    1. Child considered that folk ballads came from a more democratic time in the past when society was not so rigidly segregated into classes, and the "true voice" of the people could therefore be heard. He conceived "the people" as comprising all the classes of society, rich, middle, and poor, and not only those engaged in manual labor as Marxists sometimes use the word.
    1. The Isle of Man has five inscriptions. One of these is the famous inscription at Port St. Mary (503) which reads DOVAIDONA MAQI DROATA ᚛ᚇᚑᚃᚐᚔᚇᚑᚅᚐ ᚋᚐᚊᚔ ᚇᚏᚑᚐᚈᚐ᚜ or 'Dovaidona son of the Druid'.

      An indication of links of these stones and inscriptions to Druid culture.

    1. Of other significance, this passage is recognized as the first example of cosmological mapping in the history of Greece.[4]

      I should read this reference below) with respect to Lynne Kelly's indigenous people's thesis of memory palaces. Perhaps it ties together the original story with broader history and the Greek's place within it and provides additional support for her thesis.

      Germaine Aujac. (1987). The Foundations of Theoretical Cartography in Archaic and Classical Greece. The History of Cartography, volume 1 (pp. 130-147) University of Chicago Press.

    1. It was later determined that humans impose meaning even on nonsense syllables to make them more meaningful. The nonsense syllable PED (which is the first three letters of the word "pedal") turns out to be less nonsensical than a syllable such as KOJ; the syllables are said to differ in association value.[5] It appears that Ebbinghaus recognized this, and only referred to the strings of syllables as "nonsense" in that the syllables might be less likely to have a specific meaning and he should make no attempt to make associations with them for easier retrieval.

      This seems roughly similar to Major Beniowski's phrenotypic associative memory. Some of these nonesense syllables could more easily be associated than others. Perhaps going through them one could do phrenotypic distances?

      Would Ebbinghaus have known of Beniowski's work? Evidence?

    2. Ebbinghaus had also documented the serial position effect, which describes how the position of an item affects recall. The two main concepts in the serial position effect are recency and primacy. The recency effect describes the increased recall of the most recent information because it is still in the short-term memory. The primacy effect causes better memory of the first items in a list due to increased rehearsal and commitment to long-term memory.
    1. Anomie (/ˈænəˌmi/) is a "condition in which society provides little moral guidance to individuals".[1] It is the breakdown of social bonds between an individual and the community, e.g., under unruly scenarios resulting in fragmentation of social identity and rejection of self-regulatory values.

      I can't help but see this definition and think it needs to be applied to economics immediately. In particular I can think of a few quick examples of economic anomie which are artificially covering up a free market and causing issues within individual communities.

      College Textbooks: Here publishers are marketing to professors who assign particular textbooks and subverting students which are the actual market and consumers of those textbooks. This causes an inflated market and has allowed textbook prices to spiral out of control.

      The American Health Care Market In this example, the health care providers (doctors, hospitals, etc.) have been segmented away from their consumers (patients) by intermediary insurance companies which are driving the market to their own good rather than a free-er set of smaller (and importantly local) markets that would be composed of just the sellers and the buyers. As a result, the consumer of health care has no ability to put a particular price on what they're receiving (and typically they rarely ever ask, even more so when they have insurance). This type of economic anomie is causing terrific havoc within the area.

      (Aside: while the majority of health care markets is very small in size (by distance), I will submit that the advent of medical tourism does a bit to widen potential markets, but this segment of the market is tiny and very privileged in comparison.)

    1. Early Christians used the ichthys, a symbol of a fish, to represent Jesus,[94][95] because the Greek word for fish, ΙΧΘΥΣ Ichthys, could be used as an acronym for "Ίησοῦς Χριστός, Θεοῦ Υἱός, Σωτήρ" (Iesous Christos, Theou Huios, Soter), meaning "Jesus Christ, Son of God, Saviour".
    1. Voxel-based morphometry is a computational approach to neuroanatomy that measures differences in local concentrations of brain tissue

      Voksel tabanlı morfometri, beyin dokusunun yerel konsantrasyonlarındaki farklılıkları ölçen nöroanatomiye hesaplamalı bir yaklaşımdır

    1. classical logic was abstracted from the mathematics of finite sets and their subsets …. Forgetful of this limited origin, one afterwards mistook that logic for something above and prior to all mathematics, and finally applied it, without justification, to the mathematics of infinite sets. This is the Fall and original sin of [Cantor's] set theory ..."[24]

      Original fall of Cantor

    1. Discovery learning can occur whenever the student is not provided with an exact answer but rather the materials in order to find the answer themselves.

      This is a neat definition of discovery learning, emphasising the need for appropriate preparation by the teacher.

    1. This is literally happening in places like Hungary. 'Emergencies' like the Reichstag fire or migrant crisis are being used to justify the limitation of rights and strengthening of governments.

    1. two genes, egl nine homolog 1 (EGLN1) (which inhibits haemoglobin production under high oxygen concentration) and peroxisome proliferator-activated receptor alpha (PPARA), were also identified to be positively selected

      ...by tibetans

    1. The misspelling of referrer originated in the original proposal by computer scientist Phillip Hallam-Baker to incorporate the field into the HTTP specification.[4] The misspelling was set in stone by the time of its incorporation into the Request for Comments standards document RFC 1945; document co-author Roy Fielding has remarked that neither "referrer" nor the misspelling "referer" were recognized by the standard Unix spell checker of the period.
  2. Sep 2020
    1. Ballas developed this into what he called the "Weed Eater", since it chewed up the grass and weeds around trees.

      he called it this because he is a fool who did not realize how grass works

    1. during the Cold War the United States developed several dedicated reconnaissance aircraft designs, including the U-2 and SR-71, to monitor the nuclear threat from the Soviet Union.[5] Other types of reconnaissance aircraft were built for specialized roles in signals intelligence and electronic monitoring, such as the RB-47, Boeing RC-135 and the Ryan Model 147 drones.

      Spy Planes

    1. The most recent studies propose, in summary, a model of binary system of hypernova (BdHN I) with two neutron stars, where one of them collapses in a black hole, surrounded by an accretion disk and from whose poles the GRB is launched

      In their model it actually starts off as a binary system consisting of a white dwarf (COcore) and neutron star companion in this model. The white dwarf explodes as a type Ia supernova, This then accretes onto its binary neutron star companion which then collapses as a black hole. The black hole forms a cavity and the supernova radiation bouncess off that cavity.

      From the abstract:

      Within the binary-driven hypernova I (BdHN I) scenario, the gamma-ray burstGRB190114C originates in a binary system composed of a massive carbon-oxygen core(COcore), and a binary neutron star (NS) companion. As the COcore undergoes a super-nova explosion with the creation of a new neutron star (νNS), hypercritical accretionoccurs onto the companion binary neutron star until it exceeds the critical mass forgravitational collapse. The formation of a black hole (BH) captures 1057baryons byenclosing them within its horizon, and thus a cavity of approximately 1011cm is formedaround it with initial density 10−7g/cm3. A further depletion of baryons in the cavityoriginates from the expansion of the electron-positron-photon (e+e−γ) plasma formedat the collapse, reaching a density of 10−14g/cm3by the end of the interaction. It is demonstrated here using an analytical model complemented by a hydrodynamical nu-merical simulation that part of thee+e−γplasma is reflected off the walls of the cavity. The consequent outflow and its observed properties are shown to coincide with the fea-tureless emission occurring in a time interval of durationtrf, measured in the rest frameof the source, between 11 and 20 s of the GBM observation. Moreover, similar featuresof the GRB light curve were previously observed in GRB 090926A and GRB 130427A,all belonging to the BdHN I class.

      Paper here https://arxiv.org/pdf/1904.03163.pdf

    1. A backdoor is usually a secret method of bypassing normal authentication or encryption in a computer system, a product, or an embedded device, etc.[23] Companies may also willingly or unwillingly introduce backdoors to their software that help subvert key negotiation or bypass encryption altogether. In 2013, information leaked by Edward Snowden showed that Skype had a backdoor which allowed Microsoft to hand over their users' messages to the NSA despite the fact that those messages were officially end-to-end encrypted.

      What are backdoors?

    1. Very large-scale integration was made possible with the wide adoption of the MOS transistor, originally invented by Mohamed M. Atalla and Dawon Kahng at Bell Labs in 1959.[2] Atalla first proposed the concept of the MOS integrated circuit chip in 1960, followed by Kahng in 1961, both noting that the MOS transistor's ease of fabrication made it useful for integrated circuits.[3][4] General Microelectronics introduced the first commercial MOS integrated circuit in 1964.[5] In the early 1970s, MOS integrated circuit technology allowed the integration of more than 10,000 transistors in a single chip.[6] This paved the way for VLSI in the 1970s and 1980s, with tens of thousands of MOS transistors on a single chip (later hundreds of thousands, then millions, and now billions).

      Vlsi Intro

    1. Avul Pakir Jainulabdeen Abdul Kalam (/ˈæbdəl kəˈlɑːm/ (listen); 15 October 1931 – 27 July 2015) was an Indian aerospace scientist and politician who served as the 11th President of India from 2002 to 2007. He was born and raised in Rameswaram, Tamil Nadu and studied physics and aerospace engineering. He spent the next four decades as a scientist and science administrator, mainly at the Defence Research and Development

      will he be a inspiring person

    1. deep neural networks, deep belief networks, recurrent neural networks and convolutional neural networks have been applied to fields including computer vision, machine vision, speech recognition, natural language processing, audio recognition, social network filtering, machine translation, bioinformatics, drug design,

      applications of deep learning and machine learning

    1. Susceptibility to bias

      For a class called "Women, Art, and Society" students were assigned artists to research and either add to Wikipedia or edit and expand their current pages. It was surprising to see the number of women, and other marginalized artists that were rejected because they were not "established" enough.

    2. Viewing Wikipedia as fitting the economists' definition of a perfectly competitive marketplace of ideas, George Bragues (University of Guelph-Humber), examined Wikipedia's articles on seven top Western philosophers: Aristotle, Plato, Immanuel Kant, René Descartes, Georg Wilhelm Friedrich Hegel, Thomas Aquinas, and John Locke. Wikipedia's articles were compared to a consensus list of themes culled from four reference works in philosophy. Bragues found that, on average, Wikipedia's articles only covered 52% of consensus themes. No errors were found, though there were significant omissions

      Yes, these are accurate but I think this example does point to the extent to which Wikipedia marginalizes the contributions of women, and people of colour.

      LiDA101

    1. The traditional solution for SPAs has been to change the browser URL's hash fragment identifier in accord with the current screen state. This can be achieved with JavaScript, and causes URL history events to be built up within the browser. As long as the SPA is capable of resurrecting the same screen state from information contained within the URL hash, the expected back-button behavior is retained.

      fragment identifier history api back button

    2. A single-page application (SPA) is a web application or website that interacts with the web browser by dynamically rewriting the current web page with new data from the web server, instead of the default method of the browser loading entire new pages. The goal is faster transitions that make the website feel more like a native app.

      dynamically rewriting current page

    1. The Quran is the central religious text of Islam. Muslims believe it represents the words of God revealed by the archangel Gabriel to Muhammad.[21][22][23] The Quran, however, provides minimal assistance for Muhammad's chronological biography; most Quranic verses do not provide significant historical context.[24][25] Early biographies

      thi is myu annotatnio

    1. quality of his music

      I don’t think it was the quality of his music that kept his music from being performed earlier. Seems like it was more of just being an unknown in the world—not being “discovered” quite yet.

    2. he continued to revise and refine his earlier work,

      I think its harder than writing the new music. you have to remind yourself to recall the feelings and thoughts when writing the music.

    3. These attacks may have been psychological in origin rather than physical.

      this reminds me of the reading last week. I think ives was a loner (kind of like the unsocial) , like he didn't like to take photo, his taste in food, clothes, and furniture remained plain to the point of spartan throughout his life even he moved his agency to new quarters. although Ives always avoided looking like was a sensitive artist or intellectual, but I think ives was sensitive. so this is also like the psychological.

    1. make a 4 container A-B-C-D fountain, which can be turned upside down so that the full and empty container switch places

      Kurcze próbuje rozkminić jak to by miało działać

    1. Ready meals and convenience cooking spare the consumer effort in preparation of a meal while providing high levels of energy and pronounced, if mostly artificial, flavour.

      Where we first saw the convenience of meals express, readily available, then replaced by delivery apps

    1. Almost all modern courses on Renaissance counterpoint, a mainstay of college music curricula, are indebted in some degree to this work by Fux.

      True; but at minimum I think this ought to be rephrased.

    1. The modern practice of the committee questioning nominees on their judicial views began with the nomination of John Marshall Harlan II in 1955; the nomination came shortly after the Supreme Court handed down its landmark Brown v. Board of Education decision, and several southern senators attempted to block Harlan's confirmation, hence the decision to testify.[1][8]

      Interesting that this practice stems from the imposition of what looks like racist policies.

    1. Wikimedia Commons has media related to United States presidential election, 1932.

      Wikimedia Commons has media related to United States presidential election, 1932.

    2. 1932 United States Senate elections 1932 United States House of Representatives elections History of the United States (1918–1945) Timeline of the Great Depression Causes of the Great Depression Great Contraction First inauguration of Franklin D. Roosevelt Presidency of Franklin D. Roosevelt

      1932 United States Senate elections 1932 United States House of Representatives elections History of the United States (1918–1945) Timeline of the Great Depression Causes of the Great Depression Great Contraction First inauguration of Franklin D. Roosevelt Presidency of Franklin D. Roosevelt

    1. This article contains wording that promotes the subject in a subjective manner without imparting real information. Please remove or replace such wording and instead of making proclamations about a subject's importance, use facts and attribution to demonstrate that importance. (August 2020)
    1. Social narrative is a learning tool designed for a person with disability (e.g. Autism and Asperger syndrome) that teaches them how to do something new. It is referred to as a story or a written explanation that tells the learner not only what to do but also what the situation is, with the goal of addressing the challenge of learners finding social situations confusing.[2]

      [[social narrative]]

    1. the Greeks were sporadically using punctuation marks consisting of vertically arranged dots—usually two (dicolon) or three (tricolon)—in around the 5th century BC as an aid in the oral delivery of texts.
    2. Punctuation (or sometimes interpunction) is the use of spacing, conventional signs (called punctuation marks), and certain typographical devices as aids to the understanding and correct reading of written text, whether read silently or aloud.
    1. when godlike characters enter (e.g. Superman), correspondingly great villains have to be created,

      needed to keep the reader interested and excited

    2. The agon, or act of conflict, involves the protagonist (the "first fighter") and the antagonist

      agon- debate or contest between two characters

    3. "man against society".[10] Where man stands against a man-made institution (such as slavery or bullying),

      like the movie shrek. nobody likes ogers but he wants people to look past their looks and see them for who they really are.

    4. "Man against nature" conflict is an external struggle positioning the character against an animal or a force of nature,

      like a tornado or natural disaster