6 Matching Annotations
  1. Last 7 days
    1. We can use dictionaries and lists together to make lists of dictionaries, lists of lists, dictionaries of lists, or any other combination.

      Although this is a great thing to do, you should never use a list as a key of your dictionary. Lists are mutable (this means you can add or remove elements). So, you would not be able to consistently refer back to your mapped values later (as the key is constantly changing). Instead, please use tuples as they are immutable

  2. social-media-ethics-automation.github.io social-media-ethics-automation.github.io
    1. Zero-based numbering. September 2023. Page Version ID: 1176111995. URL:

      BCPL (a precursor of C) used zero-based arrays because it was memory efficient. An array element at index 0 could be accessed directly at the address of p + 0. Since then, a lot of languages copied this convention so computer scientists start everything from 0, rather than 1.

      As a math & cs double major, this is very interesting. In my cs classes, we start proofs with n = 0 while we start our natural number n = 1 in math classes. So, I need to mention what convention I use at the start of my proof.

  3. social-media-ethics-automation.github.io social-media-ethics-automation.github.io
    1. Scratch - Imagine, Program, Share. URL: https://scratch.mit.edu/ (visited on 2023-11-17).

      This is a programming platform and it was the first “language” I learned in high school. Unlike C or Python, Scratch uses a block-based system with visuals. Instead of typing code, you drag and drop blocks, making it more intuitive and visual. Fun story: when I was taking the class in high school, some of my friends in the Java programming class made fun of it, saying Scratch wasn’t “real programming.” But if you look at what’s happening in the back end, implementing something like Scratch is actually very challenging.

    1. But Kurt Skelton was an actual human (in spite of the well done video claiming he was fake). He was just trolling his audience. Professor Casey Fiesler [c16] talked about it on her TikTok channel:

      It also reminds me of similiar Instagram reels and I think this is just another way to get viewers’ attention. The video advertises some AI platforms in the middle (often lesser-known ones). The issue is that these videos make misleading claims. They suggest their version of AI is “like a human” and even better than the technologies from major companies. In reality, these companies don’t have the ability to back up such claims, so they use real humans pretending to be AI to sell the illusion.

  4. Sep 2025
    1. standard compiler: takes a whole computer program and turn it all into binary so it can be run later

      I remember my cs professor's joke: we code to compile another compiler to compile another code. Essentially, this is a chicken and egg problem and I remember being so confused in my class.

    1. Egoism# Sources [b83] [b84] “Rational Selfishness”: It is rational to seek your own self-interest above all else. Great feats of engineering happen when brilliant people ruthlessly follow their ambition. That is, Do whatever benefits yourself. Altruism is bad.

      I was just reading articles about game theory and this reminds me of Prisoner's Dilemma where best actions for individuals lead to worse outcomes for everyone. I am curious how egoism deals with these kind of settings.