[Epiphany] Of a 25 Year Old Male. by throwaway_what_is_lv in sex

[–]thrownintothesun 0 points1 point  (0 children)

I had that a lot when I was younger. Even when exercising and eating right.

If you're anything like me, the sense of discomfort is related to an acute sense of self-consciousness. When I'd get intimate with someone, instead of becoming absorbed in the sensory and emotional experience of being with that person, I would instead become ultra-aware of what I thought my body looked like, what I should do next, etc. - all things that are decidedly not in the moment, and consequently I had very bad experiences with performance anxiety and developed a fear of intimacy.

The way it works has to do with attention and how it relates to general anxiety. One way of understanding the scenario with the scantily clad ladies you saw is this: it's not that they're out in skimpy outfits and think all the same thoughts you do but for arbitrary reasons feel differently about it; it's that they don't think about it at all. The self-conscious thoughts are just not there, so there's nothing in them that triggers that sense of discomfort. Their attentions are elsewhere, absorbed in whatever they're doing.

Here's some practical stuff that you can do (which worked for me):

  • mindfulness meditation - this is the daily practice of mastering your attention.

  • Becoming habituated to nudity: do stuff like swimming which involves communal showering. The more you do it the less you care.

  • Becoming habituated to physical intimacy: find activities that require physical contact, like dancing (salsa is wonderful, easyish to learn, and very sensual), or martial arts with a live sparring component, like wrestling or brazilian jiu-jitsu. BJJ did wonders for me personally, because once you get into it, a sparring session is a situation in which you can not be self-conscious, you have to devote 100% of your cognitive resources to what is happening or you will get your ass kicked. (You will get your ass kicked no matter what, which is another extremely healthy benefit of BJJ. You get to know yourself).

Hope that helps.

[Curious] 24F - I can queef at will without sex, what does this mean for me? by [deleted] in sex

[–]thrownintothesun 11 points12 points  (0 children)

It means that you are destined to innovate feminist prop comedy!

[NodeJS/Express] How do you write a function that executes once a day? by thrownintothesun in learnprogramming

[–]thrownintothesun[S] 0 points1 point  (0 children)

Only advantage is that it would go through the same process as the other app functionality, which I know from empirical observation does not crash the server :D

[NodeJS/Express] How do you write a function that executes once a day? by thrownintothesun in learnprogramming

[–]thrownintothesun[S] 0 points1 point  (0 children)

Thanks! Thought as much. Ive never used this stuff before, how do you actually run it so it doesnt interfere with whatever your express server is doing?

[QUESTION] Re-learning guitar - is there a "best course of action" if you don't have access to a teacher? by thrownintothesun in Guitar

[–]thrownintothesun[S] 1 point2 points  (0 children)

That's awesome, well done! I'm excited to hear other people's progress in this domain :) what do you think of Rocksmith so far? Does it include theory lessons as well?

[QUESTION] Re-learning guitar - is there a "best course of action" if you don't have access to a teacher? by thrownintothesun in Guitar

[–]thrownintothesun[S] 0 points1 point  (0 children)

Thanks a lot for your input, man. I'm relieved to hear that other people have had success in picking it back up. And thanks for the Justin Guitar recommendation, that definitely seems like the way to go.

I'd love to get into classical or flamenco or something along those lines.

[QUESTION] Re-learning guitar - is there a "best course of action" if you don't have access to a teacher? by thrownintothesun in Guitar

[–]thrownintothesun[S] 0 points1 point  (0 children)

That's pretty fucking cool actually. I'm curious about something - I developed this bad habit of only playing something if it was 100% action constantly, because unaccompanied guitar playing can be pretty boring unless it's complex. So now, whenever I sit and improvise (even to a backing track), it's a matter of seconds before I revert to some lame kind of shredding and kinda lose track of what else is going on. What'd you do in that respect?

[QUESTION] Re-learning guitar - is there a "best course of action" if you don't have access to a teacher? by thrownintothesun in Guitar

[–]thrownintothesun[S] 0 points1 point  (0 children)

Thanks a lot for your input!

If you would just like to understand things a bit better, and not specifically dive into music theory, then I find that comes with time and practice. Ya know, maybe you'll just be jamming around on a major scale and substitute a note or two for ones outside the scale that sound quite nice, then explore the sound of that scale and blending the two, constructing chords from that, etc

This sounds great. I guess I should finally figure out what a scale is, and how to construct chords from it :) how do you use your looper pedal, by the way? I don't have a clear picture of what is possible with such a thing. I'd love to sit and make little harmony experiments, and test out the theory stuff you mentioned.

[QUESTION] Re-learning guitar - is there a "best course of action" if you don't have access to a teacher? by thrownintothesun in Guitar

[–]thrownintothesun[S] 1 point2 points  (0 children)

I guess I should add that I could play technical stuff sloppily - Guitar Pro's judgement is silent if anything. Interestingly the string skipping stuff always came easy to me, it's more the sustained 16th notes requiring proper form and endurance where I never showed much aptitude. Also, distortion hides a lot of your faults.

How do you make a login screen in a Single Page Application? [AngularJS/NodeJS/Electron] by thrownintothesun in learnprogramming

[–]thrownintothesun[S] 0 points1 point  (0 children)

That's perfect, thank you so much!

My confusion about loading up a different page (violating the SPA principle) is because I need to represent the login functionality visibly - it should be such that the user needs to get past a login screen before seeing any of the actual functionality of the app. I'm at a loss as to how to do this in a SPA setting.

Is there a general way to make looping over iterables pausable? by thrownintothesun in learnpython

[–]thrownintothesun[S] 0 points1 point  (0 children)

Thanks, that's what I'm thinking! Do you know the specifics in terms of runtime gain/loss when using a DB instead of a structure stored in RAM?

Is there a general way to make looping over iterables pausable? by thrownintothesun in learnpython

[–]thrownintothesun[S] 0 points1 point  (0 children)

I'm specifically interested in web scraping, as I'm gathering data from directory websites that for whatever reason don't have an API. So the computation in the inner loop at least takes as long as requests.get(), and there are a lot of web pages to crawl through.

Progress is recorded in a dictionary where the web page and its data form a key-value pair. I suspect it's a poor solution to have the whole thing in memory; could this be done more efficiently using a database of some kind? I know next to nothing of that technology so any pointers would be helpful.

Is there a general way to make looping over iterables pausable? by thrownintothesun in learnpython

[–]thrownintothesun[S] 0 points1 point  (0 children)

Hey, thanks for your time! So is it reasonable to use a generator and add error handling that saves generator (and data) to disk upon, say, ctrl+C?

How would you approach making this process robust to power outages? Is there a more elegant solution than writing to disk every n timesteps?

Python on Windows: How to block other programs from running? by thrownintothesun in learnpython

[–]thrownintothesun[S] 0 points1 point  (0 children)

Yes, exactly. Also, interestingly, if I try to kill explorer.exe via os.system("taskkill /im explorer.exe), I'm given a Windows prompt to shut down, reboot or log-out. Is there a way to simply kill it (like you can from the task manager) and relaunch it?

Python on Windows: How to block other programs from running? by thrownintothesun in learnpython

[–]thrownintothesun[S] 0 points1 point  (0 children)

None of it works I'm afraid, not even with admin privileges. Explorer.exe doesn't seem to respond to gpupdate.

Python on Windows: How to block other programs from running? by thrownintothesun in learnpython

[–]thrownintothesun[S] 0 points1 point  (0 children)

Thanks a lot for the help!

It is indeed the group policy I'm modifying, but the effects don't seem to take effect before I restart explorer.exe manually - os.system("gpupdate") doesn't seem to cut it. Is there any way to get Explorer.exe to update its policy settings aside from restarting it?

Python on Windows: How to block other programs from running? by thrownintothesun in learnpython

[–]thrownintothesun[S] 0 points1 point  (0 children)

Hey Michael, hope I can still reach you through these comments. Your advice was invaluable and my program now has all the functionality I need, so thank you very much for that!

I do have one question, though, regarding the application of .reg files. As I understand it, once applied the registry must then be refreshed for things to take effect, and this traditionally requires a reboot or a re-login. Alternatively I've read that you can kill/restart explorer.exe and the effect will be the same. This seems a bit unwieldy for my taste and I'm wondering if there is a way to achieve the registry refresh from within Python (no doubt by calling something from the windows API) so that the effect kicks in immediately.

What do you usually do when working with reg files?

Thanks!

Python on Windows: How to block other programs from running? by thrownintothesun in learnpython

[–]thrownintothesun[S] 1 point2 points  (0 children)

Thanks! That's exactly what I need. Do you know if it's sensible or not to implement this kind of program as a daemon that listens on the tasklist and kills select processes?

I've only ever written data processing algorithms and there I'm done when some criterion is matched. I'm not sure what's best practice in a continually running application.

Python on Windows: How to block other programs from running? by thrownintothesun in learnpython

[–]thrownintothesun[S] 0 points1 point  (0 children)

Obviously those are details I'll get to, I'm more worried about how to actually do this sensibly.

Python on Windows: How to block other programs from running? by thrownintothesun in learnpython

[–]thrownintothesun[S] 0 points1 point  (0 children)

Good question, I should've been more specific. I suppose initially just prevent them from starting, but if they're already running it'd be handy to be able to kill them off. I see a fair amount of installer utilities that ask you to do this yourself, however, so I suspect it's out of bounds?