|
I cannot associate with the feeling. Although, in graduate school I'd pull 24hr days with little sleep between them, it was by design and with much caffeine. In real life, I'm a champion catnapper. Coffee does not keep me awake, either.
Realizing it's not an option for you, I'd just not that an alcoholic beverage in a quantity known as "a drink" will put me to sleep in ca. 1hr. (330ml beer, 110ml wine, 30ml single malt scotch). I do not bring this up idly: does your faith not allow exceptions for true medical need (perhaps with the approval of a respected religious figure)? I note this only in that, so far as it goes, the effect of alcohol on the body is basically harmless (assuming one isn't a heavy drinker/alcoholic) compared to the other medications. I know that religion often has its own whys and wherefores, but exceptions for true medical treatment are sometimes made - better for you then then the other sleep aids (although you may receive a 'no' because the others exist). This paragraph is rhetorical - no need for you to actually answer.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Find a recording of the last set of U.S. Democratic party debates. You should be asleep in 30 minutes.
"Go forth into the source" - Neal Morse
|
|
|
|
|
|
There are a lot of things to try, thankfully. One thing is to make sure you're not eating too close to when you're going to bed. Another is (as others have suggested) to get some exercise during the day, which is good for both stress and sleeping. Put bluelight filters on your screens (though I've heard this might not work) or eliminate screen time at least an hour before bed. You could try meditation, not everyone's thing, but it's an option: Before Sleep | Beginners Spoken Guided Meditation | Chakra Alignment |How to Chakra Balance - YouTube[^]. Make sure the bedroom is dark and cold. I've heard you should have warm feet, but I don't know if that's true.
If none of that works (or you could do it in tandem) consider going for a sleep study. You could have something like sleep apnea.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Everyone has there own method, nothing works for everyone and nothing works every time.
I've found a useful technique which have worked on most occasions.
First off make sure you have a good amount of water content, not hungry, not overly fed.
Make sure you don't have to go to the bathroom, cause you will have to just when you are about to doze off.
Eat a good 3 - 4 hours before sleep time.
Take a walk for 1 KM or at least 200 steps after dinner.
Try not to lie on mattress, use something like yoga mat or one of those expensive mattresses that are good for your back.
When lying on the bed, close your eyes think of all the different things that are coming to mind. Let the proverbial thoughts flow. Now paint all those thoughts on the (imaginary) canvas in front of you. And then paint everything white.
Once your head is clear along with a white background noise (I have found a sound with pattern relaxes me, like that of an old ceiling fan, one of those that look like they are about to fall off), or start counting one and two on inhale and exhale.
If you are spiritual by nature and Muslim try replacing one with Allah and two with Hoo, or YAH and WEH if you are a Christian.
|
|
|
|
|
Eat a healthy meal, drink water and go for a 30 minute walk. Listen to music while you do and don't really think about anything important.
It's important to let go of your stress and not hold onto it for days on end.
Developers often use stress as a motivator to get stuff done, but that's also super unhealthy.
My own appendix exploded because I did that too and I nearly died.
If you're still in your early 20's you should be fine though.
|
|
|
|
|
If we were having an in-person conversation I would have said something like "It's not death but life that scares me" (in a very dramatic way)
Well, yes I'm in my early 20's but can stress double my age. LOL
|
|
|
|
|
I'm in my early 30's now and I really can't do that anymore.
Just make sure there's some long-term benefit to what you're doing right now.
If you're doing this for a manager, you should probably start looking for a healthier work environment.
Managers who don't consider your health are objectively bad at their job.
|
|
|
|
|
I feel attacked.
Because I'm working independently so no bad manager but all comes down on me.
|
|
|
|
|
Go see a doctor. Might be more serious than you think.
|
|
|
|
|
Last time I had that problem, it was because my boss was pushing me to finish a project well ahead of time. After working Friday morning through Sunday night with no sleep, I finished the project. He still complained.
So after a good nights sleep, I waited until payday, got my check, cashed it at the local branch of the back it was drawn on, then turned in my resignation. The company had a habit of keeping your last check if you quit, so I turned that around on them. I also handed over evidence to the customer (a state Corrections agency) where billing for my team had been padded by my boss with a lot of extra hours that no one worked. After all, sooner or later, it would have been discovered, and I did not want to be blamed for it.
I moved on and they paid a hefty fine to avoid prosecution.
|
|
|
|
|
|
I use audiobooks (or podcasts, youtube streams etc.)
I started out trying a self-hypnosis cd from Paul McKenna which sort of worked and then discovered just having an audiobook on at a lowish volume worked - I still wake up during the night but quickly fall back asleep. The only issue is losing your place in the book and so you end up listening to the same chapters over and over LOL
|
|
|
|
|
I get on my elliptical and do a 30 minutes run at high resistance. Getting tired physically relieves stress a lot.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
Valerian Root from the local health food store puts me out.
In addition, meditation helps relieve stress.
|
|
|
|
|
A bit of indica helps. After a hard day, I take some before bed. Takes the edge off, and keeps you from thinking about stuff while lying in bed. Also, you don't wake up groggy the next morning.
|
|
|
|
|
a lot of strong Belgian beer like "Duvel" helps
|
|
|
|
|
Got so much documentation done today i feel like my fingers are going to fall off.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Did you do it in English or "Developer English" (which is harder to translate into English than Swahili)?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
Developer English it is, then.
Okidoki.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Umm, it's a development tool. The target audience is developers. An end user wouldn't know what to do with a parser generator.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I am a dev and I read the article (I did not go as far as downloading more) and still know 1/10th of SFA about parsers. Fortunately I guess I have never needed to know.
In an earlier post one of our cohort was describing his trouble getting to sleep. With no disrespect intended to you for your stellar work, if he knows nothing of parsers (like myself) I suggest he go to your page and completely concentrate on your documentation. I am sure he will either render himself safely asleep or get overly enthused on parsers and algorithms such that he forgets that he is tired.
|
|
|
|
|
I fell asleep writing the docs 3 times
=D
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
This reply is because you really leave me no choice. None whatsoever.
For the benefit of others, should your fingers fall off, please make sure that is documented, as well.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|