29 Matching Annotations
  1. Jan 2025
  2. Aug 2024
  3. Mar 2024
    1. connect_to_typedb

      A bit weird that connect returns a driver. I'd say:

      • either initialize_db_driver(...) returns driver
      • or connect_to_db(...) returns a connection

      In principle, I like the second option more, and would rename driver to connection. But this contradicts driver terminology hmmm so maybe first option.

  4. Jan 2024
    1. After a few years at Berkeley I started to send out some of the soft-ware I had written—an instructional Pascal system, Unix utilities, anda text editor called vi (which is still, to my surprise, widely used morethan 20 years later)—to others who had similar small PDP-11 and VAXminicomputers

    Tags

    Annotators

  5. Jun 2023
  6. Mar 2023
  7. Jan 2023
  8. Dec 2022
  9. Sep 2022
    1. How is it possible to memorized every single Vim command, how can we, for example, delete two words? Well, we want to delete, two, words. We have delete as a verb, word as a subject and two as a movement. It’s so easy as positioning our cursor behind the first word we want to delete, and in normal mode type d2w. Is it really that easy? what does that mean? Literally delete two words. That’s how vim commands work. How can we change a word? cw (Change Word), delete an entire paragraph? dip (Delete Inside Paragraph), change the content of a quoted text? ci" (Change Inside “). We could spend the entire day listing example, but you get the point.

      verb-movement-subject. This really hits me home. This I get. Very interesting to try and learn.

    2. what’s the philosophy behind modal editing? We can summarize it in a few lines, but I’ll probably forget something. Optimize the use of the keyboard. Minimize the distance our hand travels from what we call the home row. This is our keyboard’s main row, in which our hand normally rests. Make use of modes (this is where modal editing comes from), that change the behaviour of the different keys in our keyboard so we can make use of the specific functions our text editor gives us. Understand that, either writing or programming, we actually spend more time editing text than adding it, and for that reason the optimization of it should be prioritized. Reduce the amount of repetitive actions we perform. For this, modal editors give us macros, that really facilitates this matter.

      I like this way of thinking and I understand the philosophy. Although I don't quite agree with the line "we actually spend more time editing text than adding it". As a writer, I spend a lot of my time actually creating new texts. But I like to optimize the use of keyboard and minimize hand travels.

  10. Aug 2022
  11. Apr 2022
  12. Feb 2022
  13. Jan 2022
  14. Sep 2021
    1. Đọc sách nghe tưởng chừng là việc quen thuộc và phức tạp vô cùng đối với nhiều người mà lại trở nên đơn giản đến không tưởng với cách diễn tả sâu sắc qua từng câu chuyện của tác giả Phan Thanh Dũng.

  15. Feb 2021
  16. Dec 2017