home.social

#thisweekilearned — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #thisweekilearned, aggregated by home.social.

  1. #ThisWeekILearned: We started capitalizing the pronoun "I" to distinguish it from similarly typeset letters. dltj.org/article/issue-114-dig

  2. #ThisWeekILearned: There are now 23 Dark Sky Sanctuaries in the world. The effort it takes to achieve this is incredible, and the pictures that come as a result are stunning.

    dltj.org/article/issue-109-llm

  3. #ThisWeekILearned: The origin of the computer term "mainframe" comes from "main frame" — the 1952 name of an IBM computer's central processing section.

    dltj.org/article/issue-106-cre

    What did you learn this week?

  4. @kierkegaank This week I learned by reading a book, that children who are failed by institutions like family and faith sometimes return to rely on those institutions as adults. 😮 🤔

    #ThisWeekILearned

  5. @kierkegaank , barn swallows lived in rocky cliff faces before humans came along. Now they live almost exclusively in and on human structures, e.g. in farm outbuildings, under the eaves of houses, under bridges, and so forth. They're a wonderful example of evolution in action; their numbers have exploded because they happened to be well adapted to a completely unanticipated change in their environment.

    #ThisWeekILearned

  6. #ThisWeekILearned:
    - Windows 10 can do multiple desktops, and you can switch between them with keys win + ctrl + arrow left or right
    - With the win key and arrows, you can position the active window (to docked positions or back where it was) or minimise it
    - It's a good idea to pay attention to the position of skillet handles. Right above a frying pan is bad, because it gets the handle a) hot and b) covered in grease.

  7. When you use the block syntax with Hash.new to define a default value, you lock yourself to only using the square bracket syntax for value lookup. The fetch method ignores the block, default, and default_proc.

    This bit me hard this week, and my pair, @gd, got to watch me flounder on why fetch wasn’t getting the default value.

    By the way, the Hash.new with a block is great for memoization of calculated or network lookup data.

    #Ruby #RubyTips #RubyGotchas #ThisWeekILearned #TWIL