HN user

radmin

12 karma
Posts1
Comments6
View on HN

My thoughts also turned to toolz.

Here's a example comparison:

glom

  glom(target, ('system.planets', ['name']))
  # ['earth', 'jupiter']
toolz
  list(pluck('name', get_in(('system', 'planets'), target)))
  # ['earth', 'jupiter']

I used to fall asleep listening to tv or music but am happy that I stopped. Granted, it's been many years since, but the readiness with which I fall asleep and the quality and duration of my sleep is now quite good.

I am an anxious person and my mind does sometimes race when trying to fall asleep, but I picked up a visualization technique somewhere along the way that works for me.

Basically, I visualize a looping scene (kind of like a boring, relaxing animated GIF) until my brain gives up and goes unconscious. It's been different things over the years, starting with the memory of relaxing solo experiences (e.g. riding a bike along a segment of lakeside bike path on a cool, sunny day) and is now something more abstract (a 3D cube with different-colored faces rotating in a black space).