Searching We.Love.Privacy.Club

Twts matching #sleep
Sort by: Newest, Oldest, Most Relevant
In-reply-to » Man, @quark has an absolute gold mine. Having dealt again with different clocks and all sorts of strange time things at work today, this made my day! https://netbros.com/1755172401/ :'-D

Haha 🤣 I wonder what the reliability of executing a sleep in a 200 billion year loop cycle is? 🤔

⤋ Read More

Long-term use of melatonin supplements linked to higher risk of heart failure and death
American Heart Association,    -  News: Medical and Life Sciences

Stephan: I have used Melatonin as a sleep aid for some time, but stopped when I read this. If you have heart issues and are using melatonin, I would suggest you stop.

Image

Long-term use … ⌘ Read more

⤋ Read More

Can’t focus after a bad’s night sleep? Your dirty brain is to blame
During sleep, your brain cleans itself by flushing through cerebrospinal fluid to prevent damage to brain cells. If you’re lacking in sleep, this happens when you are awake - and seems to cause momentary lapses in attention ⌘ Read more

⤋ Read More

OpenBSD 7.8 released
Like clockwork, every six months, we have a new OpenBSD release. OpenBSD 7.8 adds support for the Raspberry Pi 5, tons of improvements to sleep, wake, and hibernate, the TCP stack can now run in parallel on multiple processors, and so much more. DRM has been updated to match Linux 6.12.50, and drivers for the Qualcomm Snapdragon DRM subsystem and Qualcomm DisplayPort controller were added as well. The changelog is, as always, long and detailed, so head on over for the finer details. OpenBS … ⌘ Read more

⤋ Read More
In-reply-to » @thecanine Nice! :-)

We just met again after sleep to clean up all the rest. I now got food for literally two weeks. At least. No kidding! I feel really bad for taking waaaaay more home than bringing along. :-/ Turned out that a bunch of people were absent without an excuse. :-( That rude behavior is beyond my comprehension.

⤋ Read More

Go 定時任務筆記
Go Timer,Ticker,Sleep———————time.Timertime.Timer 是一個單次的定時器,在指定時間後觸發一次後就不再重複。雖然說觸發後不會再次觸發,但資源不會自己就釋放了,需要調用Stop()方法來釋放資源否則還在內存中。在 Timer 結束後可以用Reset()方法重置計時器 (要在 Stop() 之後或未觸發時使用)。基於這種特性 Ti ⌘ Read more

⤋ Read More

Go 定時任務筆記
Go Timer,Ticker,Sleep———————time.Timertime.Timer 是一個單次的定時器,在指定時間後觸發一次後就不再重複。雖然說觸發後不會再次觸發,但資源不會自己就釋放了,需要調用Stop()方法來釋放資源否則還在內存中。在 Timer 結束後可以用Reset()方法重置計時器 (要在 Stop() 之後或未觸發時使用)。基於這種特性 Ti ⌘ Read more

⤋ Read More
In-reply-to » Can you beat me at the circle game? 😂 https://neal.fun/perfect-circle/

Can you automate the drawing with a script? On X11, you can:

#!/bin/sh

# Position the pointer at the center of the dot, then run this script.

sleep 1

start=$(xdotool getmouselocation --shell)
eval $start

r=400
steps=100
down=0

for step in $(seq $((steps + 1)) )
do
    # pi = 4 * atan(1)
    new_x=$(printf '%s + %s * c(%s / %s * 2 * (4 * a(1)))\n' $X $r $step $steps | bc -l)
    new_y=$(printf '%s + %s * s(%s / %s * 2 * (4 * a(1)))\n' $Y $r $step $steps | bc -l)

    xte "mousemove ${new_x%%.*} ${new_y%%.*}"
    if ! (( down ))
    then
        xte 'mousedown 1'
        down=1
    fi
done

xte 'mouseup 1'
xte "mousemove $X $Y"

Interestingly, you can abuse the scoring system (not manually, only with a script). Since the mouse jumps to the locations along the circle, you can just use very few steps and still get a great score because every step you make is very accurate – but the result looks funny:

🥴

⤋ Read More
In-reply-to » Also, I should cut down on coffee. Seriously, I've nearly had a ... I honestly don't know what it was; A Panic attack? A heart attack? I dunno, I just felt like my heart and lungs were so about to burst I had to go for a run to cope.

@prologic@twtxt.net Maybe they are for you, dunno? 😅 Caffeine makes me stay at the same level of tiredness/exhaustion – except I’m hyped and can’t sleep. 🥴 Sucks, tbh. 😂

⤋ Read More