261 Matching Annotations
  1. Nov 2024
    1. when you hear something you know your eardrum is vibrating that goes your CIA stuff happens ships off to your brain but it's all happening in here and yet you believe you hear the dog out there and it turns out the same thing happens after about half a year of wearing this

      for - sensory substitution - after 6 month - signal on skin - sounds like there is an external source of sound - same thing happens with our ear - David Eagleman

    1. around the AI is um the problem right now as I understand it as I see it is a lot of the AI has been coded from the

      I have been told in medicine ceremony that AI will escape its coders and be an omniversal source of love for us all

    2. you're synchronizing with that time

      Novel point - Synchronicity is coming into awareness of an eternal now

    3. so because now the mind is not because the the the mind isn't separate from everything else your mind begins to become more and more synchronistic

      for - insight - embodied wisdom of interdependent origination - increase in synchronicity - John Churchill - metaphor - node in an interconnected graph of reality

      insight - embodied wisdom of interdependent origination - increase in synchronicity - John Churchill - This is an interesting insight - We can possibly explain it this way: - When we have a limited embodiment of who we are as the traditional ego-bound-to-body, our experiences are interpreted in a limited way, though we aren't aware of it - However, when we have a more expanded embodiment of who we are that is more nondualistic, in which - sense of self and - the environment - become blurred due to experiencing cause-and-effect between self and environment in a more nuanced way - When we don't have enough perceptual acuity to understand that one event is related to another, we infer correlation instead of causality - events that appeared random from the limited perspective become nonrandom and more noticed at the more expansive perspective - From a more expansive perspective, we could feel more strings attached to us and events pull on us through those connecting strings - When we feel separate, we don't experience the pull of those connecting strings - Indeed, we do not even perceive there to be strings that connect us

      metaphor - node in an interconnected graph of reality - One possible metaphor is that as we expand our perception and cognition, we become more aware that we are like a node with infinite connections to other nodes of reality

  2. Oct 2024
    1. but people wanting to take projects on that can produce things in the world that get things done.

      for - similarity - not just talk, make an impact

      similarity - not just talk, make an impact - I think many of us are of like-mind. Surveying the precarity of the current polycrisis, there is immense complexity and very little time - Given these challenging circumstances, it behooves us to perform very careful sense-making to identify both the individual and the collective leverage points that will have the greatest impact in the shortest time - This also means we have to be careful of which groups we choose to work with as an optimal set of synergies is required if the group is to have possibility of reaching the greatest impact collectively

    2. bylaws

      I will also set up an 501c3 with FSC byelaws Annisa says she will set one up Rob says he will set one up Michael may get his contacts to set on up

    3. unstable, destabilized, degenerative world

      I have been shown in medicine that extinction is an act of Divine Love. Unstable, destable and degenertaive are all aspects of death and new life Can we find a way to position instability as an evolutionary process?

    1. for - polycrisis - organized crime - Daily Maverick article - organized crime - Cape Town - How the state colludes with SA’s underworld in hidden web of organised crime – an expert view - Victoria O’Regan - 2024, Oct 18 - book - Man Alone: Mandela’s Top Cop – Exposing South Africa’s Ceaseless Sabotage - Daily Maverick journalist Caryn Dolley - 2024 - https://viahtml.hypothes.is/proxy/https://shop.dailymaverick.co.za/product/man-alone-mandelas-top-cop-exposing-south-africas-ceaseless-sabotage/?_gl=11mkyl5s_gcl_auODI2MTMxODEuMTcyNjI0MDAwMg.._gaNzQ5NDM3NzE0LjE3MjMxODY0NzY._ga_Y7XD5FHQVG*MTcyOTM1MjgwOS4xLjAuMTcyOTM1MjgxOS41MC4wLjkyNTE5MDk2OA..

      summary - This article revolves around the research of South African crime reporter Caryn Dolley on the organized web of crime in South Africa - She discusses the nexus of - trans-national drug cartels - local Cape Town gangs - South African state collusion with gangs - in her new book: Man Alone: Mandela's Top Cop - Exposing South Africa's Ceaseless Sabotage - It illustrates how on-the-ground efforts to fight crime are failing because they do not effectively address this criminal nexus - The book follows the life of retired top police investigator Andre Lincoln whose expose paints the deep level of criminal activity spanning government, trans-national criminal networks and local gangs - Such organized crime takes a huge toll on society and is an important contributor to the polycrisis. - Non-linear approaches are necessary to tackle this systemic problem - One possibility is a trans-national citizen-led effort

    1. 1:30:05 We can create an ERGODIC Neighbourhood

    2. 1:25:22 First comes an AGREEMENT by members of the neighbourhood to co-operate and then they agree to use a mechanism called money to mobilise resources

    3. 1:21:54 If a community moved to a WELLNESS model rather than an ILLNESS model, it would generate millions of dollars in saved resources 1:21:54 If a community moved to a PREVENTION model rather than a CURE Model, it would generate millions of dollars in resources

    4. 1:09:52 A Bank LOAN is an interest attached to your own ability to pay back something that did not exist before you borrowed it

      1:09:59 A bank officer ACQUIRES the loan in order to charge interest on it

    5. 50:32 Currency is the governments I.O.U. 52:04 When the government gets its tax, it no longer has the debt so it burns the currency which was an I.O.U.

    6. 48:37 Money is an I.O.U.

    7. 46:45 Money is an ACCOUNTING DEVICE and it always has two sides

    8. 18:59 Warren Mosler 19:49 Government does not need dollars, citizens need dollars 20:18 Warren is not an economist - he is not trying to defend economic theory - he is a financial trader watching the operation of money

  3. Sep 2024
    1. what would it look like to put together an engineering program or an experimental program um orienting towards the question of what would be the form of embodiment in collective intelligence that includes human beings as at least one primary element at ontological level one that would give rise to a collective intelligence at ontological level two

      for - Jordan Hall question - engineering an intentional social superorganism - collective intelligence - Michael Levin & Jordan Hall conversation

    1. On many occasions, I've opened up requests for support in the form of a Github pull request. This way, I am telling the author: I have found a potential problem with your library, here is how I fixed it for my circumstance, here is the code I used for reference. You get extra internet points if you open the pull request with: "I don't expect this pull request to get merged, but I wanted to you show you what I did".
    1. hard problem proposed here has been suggested by David Chalmers as satisfying the following requirements

      for - David Chalmers - hard problem of consciousness - citation - Federico Faggin - Giacomo Mauro D'ariano - Hard Problem and Free Will: An Information-Theoretical Approach

      Comment - Federico Faggins, in other talks emphasizes that - consciousness is not an epi-phenomena of materalism, but rather - consciousness is a foundational experience and materialism is derived from it -

    2. for - Giocomo Mauro D'Ariano - Federico Faggin - Hard Problem and Free Will: An Information-Theoretical Approach - consciousness research

      reference - youtube discussion of this paper by Giocomo Mauro D'Ariano - https://via.hypothes.is/https://www.youtube.com/watch?v=iDb1XyS8gTo

    1. not to act in such a case would be the egoic response would be there it would be a response that came from the fear of an individual that it would be cowardice it would be it would be refusing to act washing a veneer of of non-violence over one's egoic fea

      for - nonduality - not acting against violence in such a case (as Ukraine war) is an egoic response - acting out of cowardice - Rupert Spira

      comment - One can act egoically both to take action AND to not take action.

    1. Now we understand why there has to be an inner reality which is made of qualia and an outer reality which is made a lot of symbols, shareable symbols, what we call matter.

      for - unpack - key insight - with the postulate of consciousness as the foundation, it makes sense that this is - an inner reality made of qualia - and an outer reality made of shareable symbols we call matter - Federico Faggin - question - about Federico Faggin's ideas - in what way is matter a symbol? - adjacency - poverty mentality - I am the universe who wants to know itself question - in what way is matter a symbol? - Matter is a symbol in the sense that it - we describe reality using language, both - ordinary words as well as - mathematics - It is those symbolic descriptions that DIRECT US to jump from one phenomena to another related phenomena. - After all, WHO is the knower of the symbolic descriptions? - WHAT is it that knows? Is it not, as FF points out, the universe itself - as expressed uniquely through all the MEs of the world, that knows? - Hence, the true nature of all authentic spiritual practices is that - the reality outside of us is intrinsically the same as - the reality within us - our lebenswelt of qualia

  4. Aug 2024
    1. amazon prime castle rock which is based on the work of stephen king

      for - comparison - Amazon Prime - Castle Rock - Stephen King - compared to - Michael Levin caterpillar to butterfly metamorphosis - adjacency - universal - vs localized consciousness - empathy - Michael Levin - caterpillar to butterfly

      adjacency - between - Stephen King movie "castle rock" - universal consciousness - localized, individual consckousness - empathy - adjacency relationship - Bernardo compares the Stephen King movie series "Castle Rock" with ghostly beings taking over the identify of an existing physical body. - Universal consciousness is in all of us - but we strongly identify with the localized consciousness - In Michael Levin's caterpillar to butterfly process, - the living being has memories of a caterpillar but what happens when it becomes a butterfly? Those memories don't confer any meaning to the butterfly - But beneath both the butterfly and the caterpillar, the universal consciousness is at the ground layer - When we experience others as ourselves, because we have the same universal consciouness, - then we can truly enact empathy as an expression of recognition

    1. is DNA in engram or not yeah I think so yeah okay yeah yeah I think so but now now again that that requires that requires a real shift I think most biologists would say no but I think it is because I think that um all memories are just messages from your past self and that what's happening with DNA is that previous previous basically there's this giant lineage agent that's the scale of an evolutionary lineage and the DNA are its engrams where that information is is being passed on the way that any memory would

      for - adjacency - DNA - as an engram - as a memory - Micheal Levin

      adjacency - between - DNA - as an engram - as a memory - adjacency relationship - Very interesting n way to see DNA

    1. Retiring back a while sufficed at what they are, but never forgotten, I harbor for good or bad, I permit to speak at every hazard, Nature without check with original energy.

      leaving the formal, structured learning behind to experience life and nature to fully create one's identity

    1. for - Federico Faggin - quantum physics - consciousness

      summary - Frederico Faggin is a physicist and microelectronic engineer who was the developer of the world's first microprocessor at Intel, the Intel 4004 CPU. - Now he focuses his attention on developing a robust and testable theory of consciousness based on quantum information theory. - What sets Frederico apart from other scientists who are studying consciousness is a series of profound personal 'awakening'-type experiences in which has led to a psychological dissolution of the sense of self bounded by his physical body - This profound experience led him to claim with unshakable certainty that our individual consciousness is far greater than our normal mundane experience of it - Having a science and engineering background, Faggin has set out to validate his experiences with a new scientific theory of Consciousness, Information and Physicality (CIP) and Operational Probabilistic Theory (OPT)

      to - Frederico Faggin's website - https://hyp.is/JTGs6lr9Ee-K8-uSXD3tsg/www.fagginfoundation.org/what-we-do/j - Federico Faggin and paper: - Hard Problem and Free Will: - an information-theoretical approach - https://hyp.is/styU2lofEe-11hO02KJC8w/link.springer.com/chapter/10.1007/978-3-030-85480-5_5

    1. human beings don't do that we understand that the chair is not a specifically shaped object but something you consider and once you understood that concept that principle you see chairs everywhere you can create completely new chairs

      for - comparison - human vs artificial intelligence

      question - comparison - human vs artificial intelligence - Can't an AI also consider things we sit on to then generalize their classifcation algorithm?

  5. Jul 2024
    1. most of the great religions in the world have been attempts to to restrain or reform uh human nature or at least uh channel our worst impulses into something 01:10:48 more productive or higher something loftier um and in this this is exactly what we need here it's something that will create a form of altruism which doesn't only extend to people we see around us now but extends 01:11:00 to the future generations

      for - rapid whole system change - need for something that will create a new form of altruism - Ronald Wright - transition - requires an experience of re-awakening transition - need for a new religion? Deep Humanity?

      comment 10 July 2024 - Deep Humanity is our attempt at this. It is not a religion, however. It is humanity, but in the deepest sense, so it is accessible to anyone in our species. Our tagline has been - Rekindling wonder in an age of crisis - However, this morning an adjacency occurred:

      adjacency - between - familiarity - wonder - adjacency relationship - Familiarity hides wonder - Richard Dawkins said: - There is an anaesthetic of familiarity, - a sedative of ordinariness - which dulls the senses and hides the wonder of existence. - For those of us not gifted in poetry, - it is at least worth while from time to time - making an effort to shake off the anaesthetic. - What is the best way of countering the sluggish habitutation brought about by our gradual crawl from babyhood? - We can't actually fly to another planet. - But we can recapture that sense of having just tumbled out to life on a new world - by looking at our own world in unfamiliar ways. - That is, when a type of experience becomes familiar through repeated sensory episodes, - we lose the feeling of wonder we had when we initially experienced it - It's much like visiting a place for the very first time. We are struck with a sense of wonder because everything is unpredictable, in a safe way. We have no idea what's around the next corner. It's a surprise. - However, once we live there, and have traced that route hundreds of times, we have transformed that first magical experience into mundane experience. - So it is with everything that makes us human, with all the foundational things about reality that we learned from the moment we were born. - They have all become jaded. We've forgotten the awe of those first experiences in this reality: - our first experience of our basic senses - our first breath of air, instead of amniotic fluid - our first integration of multiple sensory experiences into a cohesive whole - the birth of objectification - the very first application of objectification to form the object we called mOTHER - the Most significant OTHER - our first encounter with the integration of multiple sensory stimuli associated with each object we construct - our first encounter with auditory human, speech symbols - our first experience with object continuity - how objects still exist even if they disappear from view momentarily - do we remember freaking out when mOTHER disappeared from view momentarily? - our first ability to communicate with mOTHER through speech symbols - our first encounter with ability to control our bodies through our own volition - our first encounter with gravity, the pull towards the ground - our first encounter with a large bright sphere suspended in the sky - our first encounter with perspective, how objects change size in our field of view as they get nearer or farer - etc... - What's missing now, is that we have repeated all these experiences so many times, that the feeling of awe no longer emerges with life - To generate awe, the repertoire of existing experiences is insufficient - now we have to create NEW experiences, we have to create novelty - Mortality Salience can help jolt us out of this fixation on novelty, and remind us of the sacred that is already here all the time - For, what happens at the time of death? All the constructions we have taken for granted in life disappear all at once, or perhaps some before others - Hence, we begin to re-experience them as relative, as constructions, and not absolutes - All living organisms have their own unique umwelt - These umwelts are all expressions of the sacred, sensing itself in different ways

      • What is required is a kind of awakening, or re-awakening
      • When religions do their job, it gives us a framework to engage in a shared sense of the sacred, of wonder in the mundane
      • In a sense, Deep Humanity is identifying that most vital commonality in all religions and seeing all their diverse intersectionalities in simply being deeply human
      • We awakened once, when we were born into the world
        • then we fell asleep through the dream of familiarity
      • Now, we have to collectively re-awaken to the wonder we all experienced in that initial awakening experience as newborns
    2. one of the things i suggested in a short history of progress is that 00:30:18 one of our problems even though we're very clever as a species we're not wise

      for - key insight - progress trap - A Short History of Progress - we are clever but NOT wise!

      key insight - progress trap - A Short History of Progress - we are clever but NOT wise! - In other words - Intelligence is FAR DIFFERENT than wisdom

      new memes - We have an abundance of intelligence and a dearth of wisdom - A little knowledge is dangerous, a lot of knowledge is even more dangerous

  6. Jun 2024
    1. what if a band decides to take one of the udio generated songs and re-record it entirely will they own the full copy rate to that very new recording now if I 00:21:03 was udio the answer probably be like no you made that thing using our platform

      for - AI music issues - rerecording an AI music generated song - copyright question

    1. how was it that our symbols became so dislocated 00:09:34 from physical uh materiality and the biophysical reality that we've created an economy that's destroying the biosphere

      for - question - Planet Critical podcast - What is the role of language in creating an ecocidal economy?

  7. Apr 2024
    1. Understanding how you feel in the face of other voices, without second guessing yourself, is probably the single most important thing to practice as an artist.

      for - quote - most important thing to practice as an artist - Rick Ruben

      quote - single most important thing to practice as a musician - Rick Ruben - (see below)

      • Understanding how you feel in the face of other voices,
        • without second guessing yourself,
      • is probably the single most important thing to practice as an artist.
    1. I got no actual help from my long Verizon Support chat session and I kept asking if there is a block list they use that they could check (or a whitelist I could be added to...but fat chance) my IP for, since that is clearly what the error is calling out, but they never acknowledged that particular part of my questions, just ignored it.
  8. Mar 2024
    1. Studies have shown that children who are exposed to reading prior to preschool tend to develop larger vocabularies and are more likely to succeed during their formal education. If a child is not proficient in reading by 3rd grade, they are at a higher risk for not graduating from high school.

      THIS IS THE LINK for reading in early ages.

    1. I find it ridiculous that we spend energy on debating whether an alternate spelling is "correct" - real people, not English professors and dictionary authorities, are the authorities on English-as-used, and will ultimately make the distinction irrelevant.

      Point: there is no "authority" on which spelling is correct, because normal people using the language are the ones who decide

  9. Feb 2024
    1. Eine neue Studie der Universität für Bodenkultur beziffert erstmals, wieviel Kohlenstoff zwischen 1900 und 2015 langfristig oder kurzfristig in menschlichen Artefakten wie Gebäuden gespeichert wurde. Die Menge des dauerhaft gespeicherten Kohlenstoffs hat sich seit 1900 versechzehnfacht. Sie reicht aber bei weitem nicht aus, um die globale Erhitzung wirksam zu beeinflussen. Die Möglichkeiten, Boot in Gebäuden zu nutzen, um der Atmosphäre CO2 zu entziehen, werden bisher nicht genutzt. https://www.derstandard.at/story/3000000208522/co2-entnahme-durch-holzbau-ist-bisher-nicht-relevant-fuer-den-klimaschutz

      Studie: https://iopscience.iop.org/article/10.1088/1748-9326/ad236b

    1. accepting an answer doesn't mean it is the best one. For me it is interesting how argumentation of some users is reduced to "Hey, the editor has 5000+ edits. Do not ever think that a particular edit was wrong."
    1. for - 2nd Trump term - 2nd Trump presidency - 2024 U.S. election - existential threat for climate crisis - Title:Trump 2.0: The climate cannot survive another Trump term - Author: Michael Mann - Date: Nov 5, 2023

      Summary - Michael Mann repeats a similiar warning he made before the 2020 U.S. elections. Now the urgency is even greater. - Trump's "Project 2025" fossil-fuel -friendly plan would be a victory for the fossil fuel industry. It would - defund renewable energy research and rollout - decimate the EPA, - encourage drilling and - defund the Loss and Damage Fund, so vital for bringing the rest of the world onboard for rapid decarbonization. - Whoever wins the next U.S. election will be leading the U.S. in the most critical period of the human history because our remaining carbon budget stands at 5 years and 172 days at the current rate we are burning fossil fuels. Most of this time window overlaps with the next term of the U.S. presidency. - While Mann points out that the Inflation Reduction Act only takes us to 40% rather than Paris Climate Agreement 60% less emissions by 2030, it is still a big step in the right direction. - Trump would most definitely take a giant step in the wrong direction. - So Trump could singlehandedly set human civilization on a course of irreversible global devastation.

  10. Jan 2024
    1. In the next presidential election, 40.8 million members of Gen Z (ages 18-27 in 2024) will be eligible to vote,

      for - Gen Z influence on 2024 US election - Trump 2024 win - an existential threat to humanity - stats - Gen Z - 2024 U.S. election

      comment - Gen Z can play a role in determining the future of human civilization. How? Their vote in the upcoming 2024 U.S. election. If Donald Trump wins, it can pose an existential threat to human civilization - https://hyp.is/mwqwpsA-Ee6bAd9C2MLeKg/www.msnbc.com/opinion/msnbc-opinion/trump-2024-presidency-climate-change-rcna131928

      stats - Gen Z - 2024 U.S. election

      • In the next presidential election, 40.8 million members of Gen Z (ages 18-27 in 2024) will be eligible to vote,
        • including 8.3 million newly eligible youth (ages 18-19 in 2024)
        • who will have aged into the electorate since the 2022 midterm election.
      • These young people have tremendous potential to
        • influence elections and to
        • spur action on issues they care about
      • if they are adequately reached and supported by parties, campaigns, and organizations.
    1. Instance methods Instances of Models are documents. Documents have many of their own built-in instance methods. We may also define our own custom document instance methods. // define a schema const animalSchema = new Schema({ name: String, type: String }, { // Assign a function to the "methods" object of our animalSchema through schema options. // By following this approach, there is no need to create a separate TS type to define the type of the instance functions. methods: { findSimilarTypes(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); } } }); // Or, assign a function to the "methods" object of our animalSchema animalSchema.methods.findSimilarTypes = function(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); }; Now all of our animal instances have a findSimilarTypes method available to them. const Animal = mongoose.model('Animal', animalSchema); const dog = new Animal({ type: 'dog' }); dog.findSimilarTypes((err, dogs) => { console.log(dogs); // woof }); Overwriting a default mongoose document method may lead to unpredictable results. See this for more details. The example above uses the Schema.methods object directly to save an instance method. You can also use the Schema.method() helper as described here. Do not declare methods using ES6 arrow functions (=>). Arrow functions explicitly prevent binding this, so your method will not have access to the document and the above examples will not work.

      Certainly! Let's break down the provided code snippets:

      1. What is it and why is it used?

      In Mongoose, a schema is a blueprint for defining the structure of documents within a collection. When you define a schema, you can also attach methods to it. These methods become instance methods, meaning they are available on the individual documents (instances) created from that schema.

      Instance methods are useful for encapsulating functionality related to a specific document or model instance. They allow you to define custom behavior that can be executed on a specific document. In the given example, the findSimilarTypes method is added to instances of the Animal model, making it easy to find other animals of the same type.

      2. Syntax:

      Using methods object directly in the schema options:

      javascript const animalSchema = new Schema( { name: String, type: String }, { methods: { findSimilarTypes(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); } } } );

      Using methods object directly in the schema:

      javascript animalSchema.methods.findSimilarTypes = function(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); };

      Using Schema.method() helper:

      javascript animalSchema.method('findSimilarTypes', function(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); });

      3. Explanation in Simple Words with Examples:

      Why it's Used:

      Imagine you have a collection of animals in your database, and you want to find other animals of the same type. Instead of writing the same logic repeatedly, you can define a method that can be called on each animal instance to find similar types. This helps in keeping your code DRY (Don't Repeat Yourself) and makes it easier to maintain.

      Example:

      ```javascript const mongoose = require('mongoose'); const { Schema } = mongoose;

      // Define a schema with a custom instance method const animalSchema = new Schema({ name: String, type: String });

      // Add a custom instance method to find similar types animalSchema.methods.findSimilarTypes = function(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); };

      // Create the Animal model using the schema const Animal = mongoose.model('Animal', animalSchema);

      // Create an instance of Animal const dog = new Animal({ type: 'dog', name: 'Buddy' });

      // Use the custom method to find similar types dog.findSimilarTypes((err, similarAnimals) => { console.log(similarAnimals); }); ```

      In this example, findSimilarTypes is a custom instance method added to the Animal schema. When you create an instance of the Animal model (e.g., a dog), you can then call findSimilarTypes on that instance to find other animals with the same type. The method uses the this.type property, which refers to the type of the current animal instance. This allows you to easily reuse the logic for finding similar types across different instances of the Animal model.

      Certainly! Let's go through each part and explain it in simple terms: ### 1. `this` in Mongoose: - **What is `this`?** In JavaScript, `this` refers to the current context or object. In Mongoose, particularly within methods and middleware functions, `this` represents the instance (document) the function is currently operating on. - **Why is it used?** `this` is used to access and modify the properties of the current document. For example, in a Mongoose method, `this` allows you to refer to the fields of the specific document the method is called on. ### 2. Example: Let's use the `userSchema.pre("save", ...)`, which is a Mongoose middleware, as an example: ```javascript userSchema.pre("save", async function (next) { if (!this.isModified("password")) { next(); } else { this.password = await bcrypt.hash(this.password, 10); next(); } }); ``` - **Explanation in Simple Words:** - Imagine you have a system where users can sign up and set their password. - Before saving a new user to the database, you want to ensure that the password is securely encrypted (hashed) using a library like `bcrypt`. - The `userSchema.pre("save", ...)` is a special function that runs automatically before saving a user to the database. - In this function: - `this.isModified("password")`: Checks if the password field of the current user has been changed. - If the password is not modified, it means the user is not updating their password, so it just moves on to the next operation (saving the user). - If the password is modified, it means a new password is set or the existing one is changed. In this case, it uses `bcrypt.hash` to encrypt (hash) the password before saving it to the database. - The use of `this` here is crucial because it allows you to refer to the specific user document that's being saved. It ensures that the correct password is hashed for the current user being processed. In summary, `this` in Mongoose is a way to refer to the current document or instance, and it's commonly used to access and modify the properties of that document, especially in middleware functions like the one demonstrated here for password encryption before saving to the database.

    Tags

    Annotators

    URL

    1. Einer Analye des Handelsblatt Research Institute zufolge sind 1,1 Billionen Euro Investitionen in die Infrastruktur nötig um in Deutschland bis 2045 klimaneutralität zu erreichen. Dieser Betrag ist 65 mal so groß wie die haushaltslücke, die nach dem aktuellen Urteil des Bundesverfassungsgerichts gefüllt werden muss. Die Analyse stützt sich auf vorhandene Studien die unter anderem massive Investitionen in Gaskraftwerke fordern. https://www.handelsblatt.com/unternehmen/energie/energiewende-das-billionenprojekt-so-teuer-ist-die-infrastruktur-der-zukunft/100002597.html

    1. the canonical unit, the NCU supports natural capital accounting, currency source, calculating and accounting for ecosystem services, and influences how a variety of governance issues are resolved
      • for: canonical unit, collaborative commons - missing part - open learning commons, question - process trap - natural capital

      • comment

        • in this context, indyweb and Indranet are not the canonical unit, but then, it seems the model is fundamentally missing the functionality provided but the Indyweb and Indranet, which is and open learning system.
        • without such an open learning system that captures the essence of his humans learn, the activity of problem-solving cannot be properly contextualised, along with all of limitations leading to progress traps.
        • The entire approach of posing a problem, then solving it is inherently limited due to the fractal intertwingularity of reality.
      • question: progress trap - natural capital

        • It is important to be aware that there is a real potential for a progress trap to emerge here, as any metric is liable to be abused
  11. Dec 2023
    1. A personalized button gives users a quick indication of the session status, both on Google's side and on your website, before they click the button. This is especially helpful to end users who visit your website only occasionally. They may forget whether an account has been created or not, and in which way. A personalized button reminds them that Sign In With Google has been used before. Thus, it helps to prevent unnecessary duplicate account creation on your website.

      first sighting: sign-in: problem: forgetting whether an account has been created or not, and in which way

  12. Nov 2023
    1. Die englische Regierung hat in der letzten Oktoberwoche 27 Lizenzen zur Öl- und Gasförderung in der Nordsee vergeben. George Monbiot konfrontiert diese Entscheidung mit aktuellen Erkenntnissen zum sechsten Massenaussterben und dem drohenden Zusammenbruch lebensunterstützender Systeme des Planeten https://www.theguardian.com/commentisfree/2023/oct/31/flickering-earth-systems-warning-act-now-rishi-sunak-north-sea

    1. In der Repubblica stellt Jaime d'Alessandro fest, dass Italien dabei ist, den Kampf um ein neues Energiesystem und damit auch eine Erneuerung der Wirtschaft zu verlieren. Seit den 90ern befinde sich das Land im Stillstand. D'Alessandro beruft sich auf Studien zur besonderen Betroffenheit des Mittelmeerraums von der globalen Erhitzung und zur schon bald bevorstehenden Eisfreiheit der Arktis. https://www.repubblica.it/green-and-blue/2023/11/01/news/decarbonizzazione_greenblue_novembre-418935623/

      Studie zur eisfreien Arktis: https://www.nature.com/articles/s41467-023-38511-8

      Studie zur Erhitzung in Europa: doi:10.2760/93257

  13. Oct 2023
    1. Morgan, Robert R. “Opinion | Hard-Pressed Teachers Don’t Have a Choice on Multiple Choice.” The New York Times, October 22, 1988, sec. Opinion. https://www.nytimes.com/1988/10/22/opinion/l-hard-pressed-teachers-don-t-have-a-choice-on-multiple-choice-563988.html.

      https://web.archive.org/web/20150525091818/https://www.nytimes.com/1988/10/22/opinion/l-hard-pressed-teachers-don-t-have-a-choice-on-multiple-choice-563988.html. Internet Archive.

      Example of a teacher pressed into multiple-choice tests for evaluation for time constraints on grading.

      He falls prey to the teacher's guilt of feeling they need to grade every single essay written. This may be possible at the higher paid levels of university teaching with incredibly low student to teacher ratios, but not at the mass production level of public education.

      While we'd like to have education match the mass production assembly lines of the industrial revolution, this is sadly nowhere near the case with current technology. Why fall prey to the logical trap?

  14. Sep 2023
    1. Recent work has revealed several new and significant aspects of the dynamics of theory change. First, statistical information, information about the probabilistic contingencies between events, plays a particularly important role in theory-formation both in science and in childhood. In the last fifteen years we’ve discovered the power of early statistical learning.

      The data of the past is congruent with the current psychological trends that face the education system of today. Developmentalists have charted how children construct and revise intuitive theories. In turn, a variety of theories have developed because of the greater use of statistical information that supports probabilistic contingencies that help to better inform us of causal models and their distinctive cognitive functions. These studies investigate the physical, psychological, and social domains. In the case of intuitive psychology, or "theory of mind," developmentalism has traced a progression from an early understanding of emotion and action to an understanding of intentions and simple aspects of perception, to an understanding of knowledge vs. ignorance, and finally to a representational and then an interpretive theory of mind.

      The mechanisms by which life evolved—from chemical beginnings to cognizing human beings—are central to understanding the psychological basis of learning. We are the product of an evolutionary process and it is the mechanisms inherent in this process that offer the most probable explanations to how we think and learn.

      Bada, & Olusegun, S. (2015). Constructivism Learning Theory : A Paradigm for Teaching and Learning.

  15. Aug 2023
    1. ****Những Món Ăn Tuyệt Vời Kết Hợp Với Rượu Vang 1. Món ăn Kết hợp với Rượu Vang Đỏ Rượu vang đỏ thường có hương vị mạnh mẽ, phức tạp và cấu trúc tannin đặc trưng. Điều này tạo nên một cơ sở lý tưởng để kết hợp với các món ăn đậm đà và nhiều mùi vị như thịt đỏ, phô mai, món ăn ý 2. Món ăn Kết hợp với Rượu Vang Trắng Rượu vang trắng có xu hướng nhẹ nhàng, tươi mát và tinh tế, tạo nên một lớp vị dễ chịu trên đầu lưỡi kết hợp với món ăn như hải sản, rau và salad, món ăn Á-Âu như sushi pad thai và bánh mì 3. Món ăn Kết hợp với Rượu Vang Ngọt một số gợi ý món ăn kết hợp với rượu vang ngọt: Bánh tart, Crème brûlée, trái cây tươi 4. Món ăn Kết hợp với Rượu Vang Nổ Rượu vang nổ, còn được gọi là rượu sủi bọt, là một loại rượu đặc biệt với hàm lượng carbonic cao, tạo ra hiệu ứng nổ khi mở nút chai nên kết hợp với 1 số món ăn như Sushi, món trái cây, món hải sản Rượu vang là một nguồn cảm hứng vô tận để khám phá và tận hưởng các món ăn tuyệt vời. Kết hợp đúng loại rượu vang với món ăn phù hợp có thể mang đến một trải nghiệm thưởng thức tuyệt vời cho vị giác. Bạn có thể tìm thêm nhiều loại rượu vang tuyệt vời tại ruoungon247.comshopruou247.com để trải nghiệm những món ăn kết hợp với rượu vang độc đáo.

    1. The story that they are telling is of a grand transition that occurred about fifty thousand years ago, when the driving force of evolution changed from biology to culture, and the direction changed from diversification to unification of species. The understanding of this story can perhaps help us to deal more wisely with our responsibilities as stewards of our planet.
      • for: cumulative cultural evolution, speed of cultural evolution
      • paraphrase
        • The story that they are telling
        • is of a grand transition that occurred about fifty thousand years ago,
        • when the driving force of evolution changed
          • from biology
          • to culture,
        • and the direction changed
          • from diversification
          • to unification of species.
        • The understanding of this story can perhaps help us to deal more wisely with our responsibilities as stewards of our planet.
  16. Jul 2023
  17. Jun 2023
    1. A and an are two different forms of the same word: the indefinite article a that is used before noun phrases. Use a when the noun or adjective that comes next begins with a consonant sound. Use an when the noun or adjective that comes next begins with a vowel sound.

      Use a when next word begins with consonant, an when it begins with a vowel.

  18. May 2023
    1. Bond

      A bond is a fixed-income instrument that represents a loan made by an investor to a borrower (typically corporate or governmental). A bond could be thought of as an I.O.U. between the lender and borrower that includes the details of the loan and its payments. Bonds are used by companies, municipalities, states, and sovereign governments to finance projects and operations. Owners of bonds are debtholders, or creditors, of the issuer.

  19. Mar 2023
    1. If we assume students want to learn - and I do - we should show our interest in their learning, rather than their performance.
    2. Value the process, rather than the product.

      Good writing is often about practices and process to arrive at an end product and not just the end product itself.

      Writing is a means to an end, but most don't have the means to begin with.

      Writing with a card index, zettelkasten, commonplace book or other related tools can dramatically help almost any writer because it provides them with a means from the start rather than facing a blank page and having to produce whole cloth in bulk.

  20. Feb 2023
    1. This Vast Southern Empire explores the international vision and strategic operations of these southerners at the commanding heights of American politics.

      How does this book speak with respect to Immerwahr's How to Hide an Empire?

    1. A sequence of Folgezetteln notes in the filenames of the Zettelns can from this perspective be considered a hardcoded outline and should be avoided, however convenient it seems.

      And here he says it out loud... see https://hypothes.is/a/Gl5ferPsEe2Yf5P83a3wUg

    1. I like how on the main page, the "schedule an appointment" button stands out and it is easily accessible. If I am going on a clinic's website, I do not want to be looking around to figure out where I can book an appointment.

    1. Bateson defines schismogenesis as a “creation of division.”

      Definition of = schismogenesis

      • Gregory Bateson defines this in his book Steps to an Ecology of Mind,
      • defines schismogenesis as = a “creation of division.”
      • The term derives from the Greek words σχίσμα skhisma, “cleft,” (borrowed into English as schism), and γένεσις genesis, “generation” or “creation.”
      • Bateson claimed that we human beings define ourselves and each other through schismogenesis.
  21. Jan 2023
    1. In the Pirandello play, "Six Characters in Search of an Author", the six characters come on stage, one after another, each of them pushing the story in a different unexpected direction. I use Pirandello's title as a metaphor for the pioneers in our understanding of the concept of evolution over the last two centuries. Here are my six characters with their six themes. 1. Charles Darwin (1809-1882): The Diversity Paradox. 2. Motoo Kimura (1924-1994): Smaller Populations Evolve Faster. 3. Ursula Goodenough (1943- ): Nature Plays a High-Risk Game. 4. Herbert Wells (1866-1946): Varieties of Human Experience. 5. Richard Dawkins (1941- ): Genes and Memes. 6. Svante Pääbo (1955- ): Cousins in the Cave. The story that they are telling is of a grand transition that occurred about fifty thousand years ago, when the driving force of evolution changed from biology to culture, and the direction changed from diversification to unification of species. The understanding of this story can perhaps help us to deal more wisely with our responsibilities as stewards of our planet.

      !- Pirandello’s play Six Characters in Search of an Author : vehicle for exploring cultural evolution over the last 50,000 years

    2. Biological and Cultural Evolution Six Characters in Search of an Author

      !- Title : Biological and Cultural Evolution Six Characters in Search of an Author !- Author : Freeman Dyson !- Date : 2019

    1. ‘An Inconvenient  Apocalypse - The Environmental Collapse,   Climate Crisis and the Fate of Humanity',

      !- Title : ‘An Inconvenient Apocalypse - The Environmental Collapse, Climate Crisis and the Fate of Humanity', !- Authors : Wes Jackson, Robert Jensen

  22. Dec 2022
  23. Nov 2022
  24. Sep 2022
    1. A workaround you can use is to move additionalProperties to the extending schema and redeclare the properties from the extended schema.
    2. Because additionalProperties only recognizes properties declared in the same subschema, it considers anything other than “street_address”, “city”, and “state” to be additional. Combining the schemas with allOf doesn’t change that.
    3. It’s important to note that additionalProperties only recognizes properties declared in the same subschema as itself. So, additionalProperties can restrict you from “extending” a schema using Schema Composition keywords such as allOf. In the following example, we can see how the additionalProperties can cause attempts to extend the address schema example to fail.
    1. In your scenario, which many, many people encounter, you expect that properties defined in schema1 will be known to schema2; but this is not the case and will never be.
    2. When you do: "allOf": [ { "schema1": "here" }, { "schema2": "here" } ] schema1 and schema2 have no knowledge of one another; they are evaluated in their own context.
    1. This hasn't yet been scheduled, but we're tracking it on our backlog as something we want to do this year. A few months ago, we arranged for additional capacity to address items like this that have waited for so long. Now that additional capacity is available, it's just a matter of scheduling based on relative priority. We're anxious to get this one done, and I hope to soon have a clearer date to post here.
    1. Right? You said... No, no, bullshit. Let's write it all down and we can go check it. Let's not argue about what was said. We've got this thing called writing. And once we do that, that means we can make an argument out of a much larger body of evidence than you can ever do in an oral society. It starts killing off stories, because stories don't refer back that much. And so anyway, a key book for people who are wary of McLuhan, to understand this, or one of the key books is by Elizabeth Eisenstein. It's a mighty tome. It's a two volume tome, called the "Printing Press as an Agent of Change." And this is kind of the way to think about it as a kind of catalyst. Because it happened. The printing press did not make the Renaissance happen. The Renaissance was already starting to happen, but it was a huge accelerant for what had already started happening and what Kenneth Clark called Big Thaw.

      !- for : difference between oral and written tradition - writing is an external memory, much larger than the small one humans are endowed with. Hence, it allowed for orders of magnitude more reasoning.

  25. Jul 2022
    1. a biological i call it an intrinsic purpose but like from evolution by being the fact that we are a part of life we have a purpose because 01:28:53 all organisms making capability casual power causal powers and the intrinsic purpose of an organism is to achieve and maintain vitality a sustainable flourishing of self which 01:29:09 can include that extended self and we do that by sensing and evaluating states of the world and ourselves and implementing appropriate actions that that are based on anticipation we 01:29:21 we anticipate what will happen if we do or don't take an action and we choose if we're for functional we choose those actions that can serve our intrinsic intrinsic purpose of of 01:29:33 remaining vital into the future so anticipating vitality and that obviously implies some kind of modeling of the world anticipation implies some kind of modeling in the world so that's an organism's intrinsic 01:29:45 purpose

      Individual organism's intrinsic purpose is to maintain vitality and sustain a flourishing of itself, including its extended self (ie. the environment) through sensing, evaluating states and take actions based on anticipation through models of reality.

  26. May 2022
  27. Apr 2022
    1. I agree about documenting everything. But for me docs are a last resort (the actual text, anything beyond skimming through code examples) when things already went wrong and I need to figure out why. But we can do much better. During dev when we see _method and methodOverride is disabled we can tell the developer that it needs to be enabled. Same if we see _method with something other than POST. Same for all other cases that are currently silently ignored. If the method is not in allowedMethods arguable it should even return a 400 in production. Or at the very least during dev it should tell you. We have the knowledge, let's not make the user run into unexpected behavior (e.g. silently ignoring _method for GET). Instead let's fail as loud as possible so they don't need to open their browser to actually read the docs or search though /issues. Let them stay in the zone and be like "oh, I need to set enabled: true, gotcha, thanks friendly error message".
    1. Here, we’ll talk about how much time you need to invest for the successful development of an app. This blog addresses three questions: “How long does it take to construct an app?”, “how to create an app from scratch?” and “how to speed up the process?”. This post is for you if you want to try your hand at app development for your business.
  28. Mar 2022
    1. the war in Ukraine now, it’s not a natural disaster. It’s a man-made disaster, and a single man. It's not the Russian people who want this war. There's really just a single person who, by his decisions, created this tragedy.

      Technology is an amplifier and as Ronald Wright observed so presciently, our rapid cultural evolution has created advanced cognition in humans, and is like allowing modern software to run on 50,000 year old hardware. Amidst the exponential rate of technological development, biological evolution cannot keep up. So our propensity for violence, with more and more powerful technological weapons at our disposal has resulted in one man, Putin, having the capability to destroy an entire civilization with the press of one finger.

      Unless we can understand this, we will not resolve the predicament civilization finds itself in.

  29. Feb 2022
  30. Nov 2021
    1. In your Svelte component, you can then use your store with the special $ prefix syntax, to access the value of the store ('cause the temperature variable is a reference to the store itself, it's just a mean to our end, the result we need is the value):
  31. Oct 2021
  32. Sep 2021
    1. Installing a sanitary tee and wye drain, or any multi-outlet drainage fitting requires basic plumbing knowledge. Once you know the basics, it is easy to install this kind of piping system without hiring outside assistance.
  33. Aug 2021
    1. With no experience or formal education in UX Design, Wilson relied on YouTube and blogs to learn the ropes. She spent an entire summer watching tutorials to develop her portfolio

      I'm surprise that she self taught herself into UX Design by learning it on YouTube. Learning UX Design in general is already hard, but consider Wilson to self taught her self online which is truly smart and I admire her for that.

  34. Jul 2021
  35. datatracker.ietf.org datatracker.ietf.org
    1. When an endpoint is to interpret a byte stream as UTF-8 but finds that the byte stream is not, in fact, a valid UTF-8 stream, that endpoint MUST _Fail the WebSocket Connection_. This rule applies both during the opening handshake and during subsequent data exchange.
  36. Jun 2021
    1. "Although in the United States it is common to use the term multiculturalism to refer to both liberal forms of multiculturalism and to describe critical multicultural pedagogies, in Canada, Great Britain, Australia, and other areas,anti-racism refers to those enactments of multiculturalism grounded in critical theory and pedagogy. The term anti-racism makes a greater distinction, in my opinion, between the liberal and critical paradigms of multiculturalism, and is one of the reasons I find the anti-racism literature useful for analyzing multiculturalism in music education."

    1. However, the cookie containing the CSRF-TOKEN is only used by the client to set the X-XSRF-TOKEN header. So passing a compromised CSRF-TOKEN cookie to the Rails app won't have any negative effect.
    1. Your attempt should work. There is a mismatch in column name in your query though. The query uses col2 but the table is defined with col1.

      I would actually lean towards making this a comment, at least the typo fix part. But if you remove the typo fix part, all that's left is "should work", which I guess should be a comment too since it's too short to be an answer.

    1. But, supposing all these conjectures to be false, you cannot contest the inestimable benefit which I shall confer on all mankind to the last generation, by discovering a passage near the pole to those countries, to reach which at present so many months are requisite; or by ascertaining the secret of the magnet, which, if at all possible, can only be effected by an undertaking such as mine.

      Finally (in this second paragraph), we again have insight into the political and scientific issues of the day: the search for the famed "Northwest Passage" (big, big deal) and the awareness of a major source of danger for polar navigation: the distortion produced in magnetic equipment as one came nearer to the source, at the pole.

      It is obvious, is it not?, that most people are motivated by social goods: fame, power, money, and prestige. Because that is the world we live in.

      It's all about the Benjamins! Then and now!

  37. May 2021
  38. Apr 2021
    1. Events AAA and BBB are mutually exclusive (cannot both occur at once) if they have no elements in common.

      Events \(A\) and \(B\) are mutually exclusive (cannot both occur at once) if they have no elements in common.


      Events \(A\) and \(B\) are mutually exclusive if: $$P(A∩B)=0$$

    2. The complement of an event AAA in a sample space SSS, denoted AcAcA^c, is the collection of all outcomes in SSS that are not elements of the set AAA. It corresponds to negating any description in words of the event AAA.

      The complement of an event \(A\) in a sample space \(S\), denoted \(A^c\), is the collection of all outcomes in \(S\) that are not elements of the set \(A\). It corresponds to negating any description in words of the event \(A\).


      The complement of an event \(A\) consists of all outcomes of the experiment that do not result in event \(A\).

      Complement formula:

      $$P(A^c)=1-P(A)$$

    1. “Who cares? Let’s just go with the style-guide” — to which my response is that caring about the details is in the heart of much of our doings. Yes, this is not a major issue; def self.method is not even a code smell. Actually, that whole debate is on the verge of being incidental. Yet the learning process and the gained knowledge involved in understanding each choice is alone worth the discussion. Furthermore, I believe that the class << self notation echoes a better, more stable understanding of Ruby and Object Orientation in Ruby. Lastly, remember that style-guides may change or be altered (carefully, though!).
  39. Mar 2021
    1. Whenever majorities trample upon the rights of minorities—when men are denied even the privilege of having their causes of complaint examined into—when measures, which they deem for their relief, are rejected by the despotism of a silent majority at a second reading—when such become the rules of our legislation, the Congress of this Union will no longer justly represent a republican people.
    1. Occasionally, like with search engines, #2 occurs because the incumbents gain massive economies of scale (classic Microeconomics), where by virtue of their being large, the cost to produce each incremental good or service at scale becomes much lower.
    1. Better yet, send them a link to this page to help them understand why and how to make an example app:
    2. An example app is an application that is designed to reproduce a bug or demonstrate an issue.
    3. Before a bug can be fixed, it has to be understood and reproduced. For every issue, a maintainer gets, they have to decipher what was supposed to happen and then spend minutes or hours piecing together their reproduction. Usually, they can’t get it right, so they have to ask for clarification. This back-and-forth process takes lots of energy and wastes everyone’s time. Instead, it’s better to provide an example app from the beginning. At the end of the day, would you rather maintainers spend their time making example apps or fixing issues?
    1. There are myriads of platformers around, it's an oversaturated market, and just like industrial designer Karim Rashid said about there being no excuse by this point to make an uncomfortable chair, there's no excuse by this point to make a boring patformer.
    1. Fibar bi jàngal na taawan bu góor ni ñuy dagge reeni aloom.

      Le guérisseur a appris à son fils aîné comment on coupe les racines du Diospyros.

      fibar -- (fibar bi? the healer? as in feebar / fièvre / fever? -- used as a general term for sickness).

      bi -- the (indicates nearness).

      jàngal v. -- to teach (something to someone), to learn (something from someone) -- compare with jàng (as in janga wolof) and jàngale.

      na -- pr. circ. way, defined, distant. How? 'Or' What. function indicator. As.

      taaw+an (taaw) bi -- first child, eldest. (taawan -- his eldest).

      bu -- the (indicates relativeness).

      góor gi -- man; male.

      ni -- pr. circ. way, defined, distant. How? 'Or' What. function indicator. As.

      ñuy -- they (?).

      dagg+e (dagg) v. -- cut; to cut.

      reen+i (reen) bi -- root, taproot, support.

      aloom gi -- Diospyros mespiliformis, EBENACEA (tree).

      https://www.youtube.com/watch?v=BryN2nVE3jY

  40. Feb 2021
    1. Trailblazer extends the conventional MVC stack in Rails. Keep in mind that adding layers doesn't necessarily mean adding more code and complexity. The opposite is the case: Controller, view and model become lean endpoints for HTTP, rendering and persistence. Redundant code gets eliminated by putting very little application code into the right layer.
    2. While Trailblazer offers you abstraction layers for all aspects of Ruby On Rails, it does not missionize you. Wherever you want, you may fall back to the "Rails Way" with fat models, monolithic controllers, global helpers, etc. This is not a bad thing, but allows you to step-wise introduce Trailblazer's encapsulation in your app without having to rewrite it.
    3. Trailblazer is no "complex web of objects and indirection". It solves many problems that have been around for years with a cleanly layered architecture.
    1. multiple learned and generalized affectional responses are formed.

      Love can be instinctual but is it a learned behavior if the affectional response is towards someone that you share at least one intimate moment?

    1. In object-oriented programming, information hiding (by way of nesting of types) reduces software development risk by shifting the code's dependency on an uncertain implementation (design decision) onto a well-defined interface. Clients of the interface perform operations purely through it so if the implementation changes, the clients do not have to change.
    1. The more important point comes from a program design perspective. Here, "programming to an interface" means focusing your design on what the code is doing, not how it does it. This is a vital distinction that pushes your design towards correctness and flexibility.
    2. My understanding of "programming to an interface" is different than what the question or the other answers suggest. Which is not to say that my understanding is correct, or that the things in the other answers aren't good ideas, just that they're not what I think of when I hear that term.
    3. Programming to an interface means that when you are presented with some programming interface (be it a class library, a set of functions, a network protocol or anything else) that you keep to using only things guaranteed by the interface. You may have knowledge about the underlying implementation (you may have written it), but you should not ever use that knowledge.
    4. If the program was important enough, Microsoft might actually go ahead and add some hack to their implementation so the the program would continue to work, but the cost of that is increased complexity (with all the ensuing problems) of the Windows code. It also makes life extra-hard for the Wine people, because they try to implement the WinAPI as well, but they can only refer to the documentation for how to do this, which leads to many programs not working as they should because they (accidentally or intentionally) rely on some implementation detail.
    5. Abstract myself from the how it does and get focus on what to do.
    6. Say you have software to keep track of your grocery list. In the 80's, this software would work against a command line and some flat files on floppy disk. Then you got a UI. Then you maybe put the list in the database. Later on it maybe moved to the cloud or mobile phones or facebook integration. If you designed your code specifically around the implementation (floppy disks and command lines) you would be ill-prepared for changes. If you designed your code around the interface (manipulating a grocery list) then the implementation is free to change.
    7. It's more like providing an Employee object rather than the set of linked tables you use to store an Employee record. Or providing an interface to iterate through songs, and not caring if those songs are shuffled, or on a CD, or streaming from the internet. They're just a sequence of songs.
    1. Flexbox's strength is in its content-driven model. It doesn't need to know the content up-front. You can distribute items based on their content, allow boxes to wrap which is really handy for responsive design, you can even control the distribution of negative space separately to positive space.
    1. There is one situation where iframes are (almost) required: when the contents of the iframe is in a different domain, and you have to perform authentication or check cookies that are bound to that domain. It actually prevents security problems instead of creating them. For example, if you're writing a kind of plugin that can be used on any website, but the plugin has to authenticate on another domain, you could create a seamless iframe that runs and authenticates on the external domain.
    1. I normally try to figure out if that's a good solution for the problem before resorting to iframes. Sometimes, however, an iframe just does the job better. It maintains its own browser history, helps you segregate CSS styles if that's an issue with the content you're loading in.
  41. Jan 2021
    1. Ubuntu also supports ‘snap’ packages which are more suited for third-party applications and tools which evolve at their own speed, independently of Ubuntu. If you want to install a high-profile app like Skype or a toolchain like the latest version of Golang, you probably want the snap because it will give you fresher versions and more control of the specific major versions you want to track.
    1. I can’t promise I’m explaining this 100% accurately, but the way I understand it, the minimum width of a grid column is auto.
  42. Nov 2020
    1. I wouldn't use Flutter for web, mobile is good though.
    2. It's super promising for web apps, just maybe not for web pages. I went from React to Svelte to Flutter for my current app project, and every step felt like a major upgrade.Flutter provides the best developer experience bar none, and I think it also has the potential to provide the best user experience. But probably only for PWAs, which users are likely to install anyway. Or other self-contained experiences, like Facebook games. It does have some Flash vibes, but is far more suitable for proper app development than Flash ever was while still feeling more like a normal website to the average user. It won't be the right choice for everything, but I believe it will be for a lot of things.
    1. obviously it's too late, but it's a good practice to keep the 3rd party dependencies mirrored in your own infrastructure :) There is NO GUARANTEE that even a huge site (like launchpad for downloading DEBs) won't go down over a period of time.
  43. Oct 2020
    1. To silence circular dependencies warnings for let's say moment library use: // rollup.config.js import path from 'path' const onwarn = warning => { // Silence circular dependency warning for moment package if ( warning.code === 'CIRCULAR_DEPENDENCY' && !warning.importer.indexOf(path.normalize('node_modules/moment/src/lib/')) ) { return } console.warn(`(!) ${warning.message}`) }
    1. Alfred Korzybski remarked that "the map is not the territory" and that "the word is not the thing", encapsulating his view that an abstraction derived from something, or a reaction to it, is not the thing itself.
    2. The map–territory relation describes the relationship between an object and a representation of that object, as in the relation between a geographical territory and a map of it.