12 Matching Annotations
  1. Feb 2024
    1. A useful model for note-taking is that of system 1 and 2 thinking. Try to do as much as possible in system 1. So, most work is done without much work and effort. Chris places his hypothesis.is workflow within system 1.

    1. Ausführlicher Bericht über die neue Studie zum Zustand des Amazonas-Regenwalds. Bis 2050 drohen 10-47% einen Kipppunkt zu erreichen, jenseits dessen sie ihre jetzigen Funktionen für Kohlenstoff- und Wasser Zyklen verloren. Die Studie beschäftigt sich mit 5 Treibern für Wasser-Stress. Um den Regenwald sicher zu erhalten, ist der Verzicht auf jede weitere Entwaldung und das Einhalten der 1,5°-Grenze nötig. https://www.theguardian.com/environment/2024/feb/14/amazon-rainforest-could-reach-tipping-point-by-2050-scientists-warn

    1. Langes Interview mit Hans Joachim Schellnhuber im Standard, under anderem zu Kipppunkten und der Möglichkeit, dass wir uns schon auf dem Weg in ein „neues Klimaregime“ befinden. Schellnhuber geht davon aus, dass auch das 2°-Ziel überschritten werden wird. Der „Königsweg“, um der Atmosphäre danach wieder CO<sub>2</sub> zu entziehen, sei der weltweite Ersatz von Zement durch Holz beim Bauen, den er als Direktor des IIASA vor allem erforschen wolle. Die Wahrscheinlichkeit dafür, dass „noch alles gutgehen" werde, sei gering. https://www.derstandard.at/story/3000000204635/klimaforscher-schellnhuber-werden-auch-ueber-das-zwei-grad-ziel-hinausschiessen

  2. Jan 2024
    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

  3. Nov 2023
    1. Ashby's law of requisite variety may also be at play for overloading our system 1 heuristic abilities with respect to misinformation (particularly in high velocity social media settings). Switching context from system 1 to system 2 on a constant basis to fact check everything in our (new digital) immediate environment can be very mentally and emotionally taxing. This can result in both mental exhaustion as well as anxiety.

    1. Your comment inspires me to pay more attention to citing and clarifying my claims.

      replying to Will at https://forum.zettelkasten.de/discussion/comment/18885/#Comment_18885

      I've generally found that this is much easier to do when it's an area you tend to specialize in and want to delve ever deeper (or on which you have larger areas within your zettelkasten) versus those subjects which you care less about or don't tend to have as much patience for.

      Perhaps it's related to the System 1/System 2 thinking of Kahneman/Tversky? There are only some things that seem worth System 2 thinking/clarifying/citing and for all the rest one relies on System 1 heuristics. I find that the general ease of use of my zettelkasten (with lots of practice) allows me to do a lot more System 2 thinking than I had previously done, even for areas which I don't care as much about.

      syndication link: https://forum.zettelkasten.de/discussion/comment/18888/#Comment_18888

  4. Mar 2023
    1. 1930s Wilson Memindex Co Index Card Organizer Pre Rolodex Ad Price List Brochure

      archived page: https://web.archive.org/web/20230310010450/https://www.ebay.com/itm/165910049390

      Includes price lists

      List of cards includes: - Dated tab cards for a year from any desired. - Blank tab cards for jottings arranged by subject. - These were sold in 1/2 or 1/3 cut formats - Pocket Alphabets for jottings arranged by letter. - Cash Account Cards [without tabs]. - Extra Record Cards for permanent memoranda. - Monthly Guides for quick reference to future dates. - Blank Guides for filing records by subject.. - Alphabet Guides for filing alphabetically.

      Memindex sales brochures recommended the 3 x 5" cards (which had apparently been standardized by 1930 compared to the 5 1/2" width from earlier versions around 1906) because they could be used with other 3 x 5" index card systems.

      In the 1930s Wilson Memindex Company sold more of their vest pocket sized 2 1/4 x 4 1/2" systems than 3 x 5" systems.

      Some of the difference between the vest sized and regular sized systems choice was based on the size of the particular user's handwriting. It was recommended that those with larger handwriting use the larger cards.

      By the 1930's at least the Memindex tag line "An Automatic Memory" was being used, which also gave an indication of the ubiquity of automatization of industrialized life.

      The Memindex has proved its success in more than one hundred kinds of business. Highly recommended by men in executive positions, merchants, manufacturers, managers, .... etc.

      Notice the gendering of users specifically as men here.

      Features: - Sunday cards were sold separately and by my reading were full length tabs rather than 1/6 tabs like the other six days of the week - Lids were custom fit to the bases and needed to be ordered together - The Memindex Jr. held 400 cards versus the larger 9 inch standard trays which had space for 800 cards and block (presumably a block to hold them up or at an angle when partially empty).

      The Memindex Jr., according to a price sheet in the 1930s, was used "extensively as an advertising gift".

      The Memindex system had cards available in bundles of 100 that were labeled with the heading "Things to Keep in Sight".

  5. May 2022
    1. Matt Taibbi asked his subscribers in April. Since they were “now functionally my editor,” he was seeking their advice on potential reporting projects. One suggestion — that he write about Ibram X. Kendi and Robin DiAngelo — swiftly gave way to a long debate among readers over whether race was biological.

      There's something here that's akin to the idea of bikeshedding? Online communities flock to the low lying ideas upon which they can proffer an opinion and play at the idea of debate. If they really cared, wouldn't they instead delve into the research and topics themselves? Do they really want Taibbi's specific take? Do they want or need his opinion on the topic? What do they really want?

      Compare and cross reference this with the ideas presented by Ibram X. Kendi's article There Is No Debate Over Critical Race Theory.

      Are people looking for the social equivalent of a simple "system one" conversation or are they ready, willing, and able to delve into a "system two" presentation?

      Compare this also with the modern day version of the Sunday morning news (analysis) shows? They would seem to be interested in substantive policy and debate, but they also require a lot of prior context to participate. In essence, most speakers don't actually engage, but spew out talking points instead and rely on gut reactions and fear, uncertainty and doubt to make their presentations. What happened to the actual discourse? Has there been a shift in how these shows work and present since the rise of the Hard Copy sensationalist presentation? Is the competition for eyeballs weakening these analysis shows?

      How might this all relate to low level mansplaining as well? What are men really trying to communicate in demonstrating this behavior? What do they gain in the long run? What is the evolutionary benefit?

      All these topics seem related somehow within the spectrum of communication and what people look for and choose in what and how they consume content.

  6. Mar 2022
    1. Bellesi, S., Metafuni, E., Hohaus, S., Maiolo, E., Marchionni, F., D’Innocenzo, S., La Sorda, M., Ferraironi, M., Ramundo, F., Fantoni, M., Murri, R., Cingolani, A., Sica, S., Gasbarrini, A., Sanguinetti, M., Chiusolo, P., & De Stefano, V. (2020). Increased CD95 (Fas) and PD-1 expression in peripheral blood T lymphocytes in COVID-19 patients. British Journal of Haematology, 191(2), 207–211. https://doi.org/10.1111/bjh.17034

  7. Aug 2021
    1. I like the differentiation that Jared has made here on his homepage with categories for "fast" and "slow".

      It's reminiscent of the system 1 (fast) and system2 (slow) ideas behind Kahneman and Tversky's work in behavioral economics. (See Thinking, Fast and Slow)

      It's also interesting in light of this tweet which came up recently:

      I very much miss the back and forth with blog posts responding to blog posts, a slow moving argument where we had time to think.

      — Rachel Andrew (@rachelandrew) August 22, 2017
      <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

      Because the Tweet was shared out of context several years later, someone (accidentally?) replied to it as if it were contemporaneous. When called out for not watching the date of the post, their reply was "you do slow web your way…" #

      This gets one thinking. Perhaps it would help more people's contextual thinking if more sites specifically labeled their posts as fast and slow (or gave a 1-10 rating?). Sometimes the length of a response is an indicator of the thought put into it, thought not always as there's also the oft-quoted aphorism: "If I Had More Time, I Would Have Written a Shorter Letter".

      The ease of use of the UI on Twitter seems to broadly make it a platform for "fast" posting which can often cause ruffled feathers, sour feelings, anger, and poor communication.

      What if there were posting UIs (or micropub clients) that would hold onto your responses for a few hours, days, or even a week and then remind you about them after that time had past to see if they were still worth posting? This is a feature based on Abraham Lincoln's idea of a "hot letter" or angry letter, which he advised people to write often, but never send.

      Where is the social media service for hot posts that save all your vituperation, but don't show them to anyone? Or which maybe posts them anonymously?

      The opposite of some of this are the partially baked or even fully thought out posts that one hears about anecdotally, but which the authors say they felt weren't finish and thus didn't publish them. Wouldn't it be better to hit publish on these than those nasty quick replies? How can we create UI for this?

      I saw a sitcom a few years ago where a girl admonished her friend (an oblivious boy) for liking really old Instagram posts of a girl he was interested in. She said that deep-liking old photos was an obvious and overt sign of flirting.

      If this is the case then there's obviously a social standard of sorts for this, so why not hold your tongue in the meanwhile, and come up with something more thought out to send your digital love to someone instead of providing a (knee-)jerk reaction?

      Of course now I can't help but think of the annotations I've been making in my copy of Lucretius' On the Nature of Things. Do you suppose that Lucretius knows I'm in love?

  8. Jul 2021
    1. Well, no. I oppose capital punishment, just as (in my view) any ethical person should oppose capital punishment. Not because innocent people might be executed (though that is an entirely foreseeable consequence) but because, if we allow for capital punishment, then what makes murder wrong isn't the fact that you killed someone, it's that you killed someone without the proper paperwork. And I refuse to accept that it's morally acceptable to kill someone just because you've been given permission to do so.

      Most murders are system 1-based and spur-of-the-moment.

      System 2-based murders are even more deplorable because in most ethical systems it means the person actively spent time and planning to carry the murder out. The second category includes pre-meditated murder, murder-for-hire as well as all forms of capital punishment.

  9. Feb 2021
    1. At this point, cognitive therapy might involve weighing up the evidence for and against the impression (or “automatic thought”), or identifying the types of distortion it contains, such as “over-generalisation” or “black and white thinking”, etc

      This looks like a good mechanism or process to protect ourselves against priming, intuitive heuristics, and other mischiefs from our System 1 (Thinking, Fast and Slow)