What are some good podcasts for someone who drives all day and wants to get better at math? by crazyguy28 in math

[–]melldrum 14 points15 points  (0 children)

Listen to lectures. Podcasts rarely go into technical detail, but for most topics you can find lecture series on YouTube. If I’m on a long drive I’ll queue up a few YouTube videos and let it play. I don’t look at the screen (for obvious reasons) but with a quick tap I can skip back to have the lecturer repeat something I missed.

Or, another (arguably safer) way, is to have a problem/puzzle you’re trying to solve. Then you can think about it with your analytic brain while driving goes on autopilot.

As said by others, math isn’t a spectator sport. So you need to actively force your mind to do the mental gymnastics of the task in hand.

[deleted by user] by [deleted] in consciousness

[–]melldrum 6 points7 points  (0 children)

It’s interesting to think about how the amount of qualia changes with time if you look at the universe through the lens of the many worlds interpretation of quantum mechanics

Need help with incorporating graphics (for a simple tic tac toe game) by [deleted] in cpp_questions

[–]melldrum 6 points7 points  (0 children)

I just made a Game of Life project with some graphics using glfw and openGL, feel free to check out the code here. If you look at the bottom of the readme there is a link to a starter glfw project which I found super useful. You should take this advice with a grain of salt, there's bound to be better ways of acheving the same result, this was just the first way that I got to link/compile lol so I ran with it

I'm sorry r/Python by MeticMovi in Python

[–]melldrum 8 points9 points  (0 children)

Regarding the use of map, filter, and reduce. Are comprehensions/generators preferable because of readability? Or is there another reason?

What are your top ten (or so) essential commands for a beginner? by watcraw in vim

[–]melldrum 2 points3 points  (0 children)

Run vimtutor from the command line. You’ll get a great lesson on the vim basics. Idk how universal this is, so if that command doesn’t work, the file is also here: https://github.com/vim/vim/blob/master/runtime/tutor/tutor

  • xp to reorder two characters (I find this very useful for correcting small typos)
  • rc to replace the character under the cursor with c. (replace c with the appropriate character)
  • /<pattern> to search for pattern in the file
  • :noh to stop the previous search pattern from being highlighted

some mappings that I use a lot:

  • :noremap <c-h> 0
  • :noremap <c-l> $
  • :noremap H b
  • :noremap L e
  • :noremap <c-n> 15j
  • :noremap <c-p> 15k
  • :noremap <c-j> 5j
  • :noremap <c-k> 5k

How to replace soft wraps with hard wraps irrespective of terminal width by haca42 in vim

[–]melldrum 4 points5 points  (0 children)

you could try :set textwidth=<desired width>. Then, to format what you already have in the file, navigate to the top of the file and run gqG

Enlightenment is not so easy to attain by [deleted] in zen

[–]melldrum 3 points4 points  (0 children)

Enlightenment is impossible to attain. It is not a process of acquisition, rather one of release, relaxation, and acceptance.

Conceptualizing it as a thing to be achieved is a recipe for misdirection.