@kierkegaank Seaweed such as kelp is not a plant, but a protist. Slime molds are not fungi; they are also protists. #ThisWeekILearned
@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. 😮 🤔
@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.
Tell me something you learned this week, simple, stupid or profound.
Green Lime fruits are unripe. When they are ripe they are yellow. (And apparently sweeter).
#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.
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 memorization of calculated or network lookup data.
#ruby #rubytips #rubygotchas #thisweekilearned #twil