Searching txt.sour.is

Twts matching #sleep
Sort by: Newest, Oldest, Most Relevant
In-reply-to » @lyse Huh, didn’t expect that. :-D

@movq@www.uninformativ.de @itsericwoodward@itsericwoodward.com Hahaha, a festival, indeed! :-D There was also “Raupenkrieg” (caterpillar war): jumping against each other in sleeping bags. I reckon that counts as pogo or mosh pit.

And back in the days, we had wonderful deep mud all around us, too! In extreme years we even needed to leave the camp ground for a day and walk to a gym with all the kids. There was just too much rain and the creek dangerously high.

We once had an actual creek running through the dining tent before the kids arrived. Luckily, it didn’t originate from the official creek, but the water came down the hillside. Unimaginable today with all these droughts in summer. Many creeks around here are dried up for several weeks, if not months now.

There you go, enjoy my favorite selection of yummy chocolate on the ground!

It was a question of the mindset. Once we supervisors just made the best out of it and tried to had fun, the kids typically didn’t mind the mess either. Besides building huts, one of the most favorite things ever was actually “Matschschöpfen” (scooping mud). The kids scooped puddles into wheel barrows using giant soup ladles from the kitchen. “Sorry kids, time is up for today. Whoever sits in the closing circle first gets to go first tomorrow.” Unfortunatly, I don’t find any photos from that.

​ Read More
In-reply-to » @lyse Huh, didn’t expect that. :-D

@movq@www.uninformativ.de I usually don’t listen to metal where the singers scream. There are only very, very few bands where I find that actually pleasing.

Two decades ago or so, we young supervisors compiled ourselves a cassette for our forest recreation week. One of us had an old ruggedly built radio with a cassette deck powered by a bunch of large Baby (?) batteries. One side had “working music” which we played back while working in the evenings and night, e.g. gathering firewood in a handtruck for the campfire and things like that.

I used something by either Finntroll or Turmion KĂ€tilöt for the “wakeup music” side in the morning. The kids slept at home, but there were always some supervisors sleeping at the camp. The SÜT, the Standard-Übernachtungsteam, consisted of mostly young folks, about sixteen to early twenties. It was completed by wiser people in their fourties. Each morning, metal blasted through the dining tent that we converted into a sleeping tent. :-) Good times!

​ Read More

Hurray, I can now press gg instead of g to go to the top in tt. Much better! :-) Other multi-key combinations are also easily possible now.

I should probably write a real article about this at some point, but here we go. The only downside with my new key binding system is that it breaks tview’s established pattern. You’ve got an InputHandler(), that is implemented using WrapInputHandler(
). It typically then directly implements the switching logic depending on the key press. Something like this:

func (w *Widget) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
    // WrapInputHandler allows for intercepting key events with SetInputCapture(
)
    // from the outside for customization. This handles the default key bindings.
    return t.WrapInputHandler(func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
        switch event.Key() {
        case tcell.KeyRune:
            if event.Modifiers() == tcell.ModNone {
                switch event.Rune() {
                case 'k':
                    w.scrollUp()
                    return // we already handled the event, stop processing

                case 'j':
                    w.scrollDown()
                    return
                }
            }
        }

        // We didn't handle the key event. Maybe the parent
        // widget knows what to do with it.
        if handler := w.parent.InputHandler(); handler != nil {
            handler(event, setFocus)
        }
    })
}

From the outside, you can intercept and either stop or continue the widget’s original key handling with a potentially rewritten key event using SetInputCapture(
):

w := NewWidget()
// customized or additional key bindings
w.SetInputCapture(func(event *tcell.EventKey) *tcell.EventKey {
    switch event.Key() {
    case tcell.KeyUp:
        // Rewrite the event, so the "cursor up" key is an alias
        // for the vim key binding "k", that is handled by the
        // wrapped input handler above. (I know, I know, this is a
        // completely unrealistic example, why would anyone use
        // cursor keys when there are vim key bindings available?!)
        return tcell.NewEventKey(tcell.KeyRune, 'k', tcell.ModNone)

    case tcell.KeyRune:
        if event.Modifiers() == tcell.ModNone {
            switch event.Rune() {
                case 'q':
                    app.Stop()
                    // we already handled the event, do not pass it
                    // to the wrapped input handler above
                    return nil

                case 'r':
                    toggleMessageReadStatus()
                    return nil
            }
        }
    }

    // we didn't handle the event, pass it to the wrapped
    // input handler above
    return event
}

Since they all expect a single key, I’ve noticed that using multiple dedicated KeyBindings of mine on these different levels kinda breaks multi-key handling with common prefixes. The outer-most KeyBinding captures the prefix, but it can’t transfer it to the inner one if not handled by the outer one. At least not without some more (potentially ugly) changes. So, I now have to work with just a single KeyBindings object for the entire widget chain (if it consists of multiple other widgets or the regular input handler and input capture are in the game). The outside needs to register all its key bind customizations or extensions at the same level that the original widget handles its default ones. Doable by exposing the widget’s KeyBindings instance, but not pretty. You always have to keep this in mind.

With the KeyBindings, it will look like that:

type Widget struct {
    parent tview.Primitive

    // make it available to children or the outside either by
    // direct field access or by providing a getter method
    KeyBindings *bind.KeyBindings
}

func NewWidget() *Widget {
    w := &Widget{KeyBindings: &bind.KeyBindings{}}
    w.KeyBindings. // default key bindings
        Bind0(bind.KeySequence('k', w.scrollUp).
        Bind0(bind.KeySequence('j', w.scrollDown)
    return w
}

func (w *Widget) InputHandler() InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
    return t.WrapInputHandler(func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
        // also note the missing support for focus transfer at the moment
        event = w.KeyBindings.Capture(event)
        if event == nil {
            return
        }

        if handler := w.parent.InputHandler(); handler != nil {
            handler(event, setFocus)
        }
    }
}

And then from the outside, or in a child widget:

w := NewWidget()
w.KeyBindings. // additional or customized key bindings
    Bind1(bind.KeySequence(tcell.KeyUp), func(*tcell.EventKey) *tcell.EventKey {
        return tcell.NewEventKey(tcell.KeyRune, 'k', tcell.ModNone)
    }).
    Bind0(bind.KeySequence('q'), app.Stop).
    Bind0(bind.KeySequence('r'), toggleMessageReadStatus)

When directly working with tview primitives that are not part of custom widget implementations, the following works well so far:

textView := tview.NewTextView().
    SetWordWrap(true).
    SetText("
")
    SetScrollable(true)
textView.SetInputCapture((&bind.KeyBindings{}).
    Bind0(bind.KeySequence('q'), app.Stop).
    Bind1(bind.KeySequence('g', 'g'), func(*tcell.EventKey) *tcell.EventKey {
        return tcell.NewEventKey(tcell.KeyHome, 0, tcell.ModNone)
    }).
    Capture)

I need to sleep on this some more.

Also, writing very long messages like this one is really not all that fun in tt’s editor. I should absolutely provide a way to shell out to vim.

(Took me about one and a half hours to compose, holy crap. But not only because of not using vim. Although, that might have saved me a quarter hour or so for sure. Proof-reading this message also uncovered quite a few bugs in my real documentation. So, that’s a big win!) Good night!

​ Read More
In-reply-to » We slept in the forest. It was really great except of my mate's fucking terror dog who was barking and snarling the entire night to each and every sound. I had maybe half an hour of sleep in total. Despite that, it was pleasantly warm. Well, the night, that is. The heat was brutal during the days. Literally streams of sweat were running down on us on the way there in the evening and back in the morning.

@prologic@twtxt.net Well, 15 shows the site. On the left, I had a roll mat on a tarp. I borrowed some “NVA tarps” from the scouts for this trip. The scouts got them from the National People’s Army, the German Democratic Republic’s armed forces after Germany was reunited. They’re 1.75m x 1.75m in size and weigh 1.3kg, quite heavy, but super awesome. One tarp on the bottom, another one to cover up the clothes, shoes and sleeping bag in order to protect against the thaw. Finally, a mosquito net over all that, hung from a rope between two trees.

My mate just used a hammock with a mozzie net on the right hand side. The third tarp served as the luxurious bedside carpet. :-)

We sat on my second tarp to chill and enjoy the sunset and surroundings. It was nice to notice birds etc. die down. It took a really long time for the last light to fade away. Since we have a very high risk of forest fires, we of course couldn’t have a camp fire. But after all the exhaustion, I didn’t even miss it for one second.

Since we had dinner at home before leaving, all we brought were two lye rolls, two grain rolls, two brezels, some sausage and chocolate biscuits for breakfast. From the 2.5l of water, I ended up using 2l. It’s always good to have a little extra, despite the unnecessary weight. We had brekkie a few kilometers further on a bench in the shade. The first bench was already in direct sun.

Our camp site was maybe 30m to the side and a few meters down of a summit path hidden behind some trees and bushes. We were quite lucky, the other side of the hill got quite a bit of a breeze at night. We could hear the leaved treetops making much more noise behind us.

@movq@www.uninformativ.de Yes, these kind of dogs should really be strictly forbidden!

It’s not illegal if you own the forest or ask the owner. :-)

@david@daiwei.me Yeah, no clue. But my mate said the dog is disqualified from such adventures in the future. :-)

The temps were supposed to hit 14°C just before sunrise. Since we didn’t bring a thermometer, I can’t tell for sure. I was rather hot in my sleeping bag, so I had to pull out my arms every now and then. My mate’s sleeping bag was a little lighter and, unfortunately, the zipper jammed up. Since it didn’t close all the way, it felt quite a bit cold I was told in the morning. When we got up at 6ish (we said, we don’t care about time at all), it was probably already 16°C if not more. I brought a jumper, but a t-shirt was already nice enough to wear. The jumper just served as my pillow. The mercury raised by the minute then.

Yeah, I circled the spot with a biro to keep an eye on it. Until now, there’s absolutely nothing to see. Looks like I got lucky.

​ Read More

We slept in the forest. It was really great except of my mate’s fucking terror dog who was barking and snarling the entire night to each and every sound. I had maybe half an hour of sleep in total. Despite that, it was pleasantly warm. Well, the night, that is. The heat was brutal during the days. Literally streams of sweat were running down on us on the way there in the evening and back in the morning.

Surprisingly, there weren’t any mozzies around at night, I would have lost all safe bets. On the way there, my mate convinced me to take a shortcut through the taller and taller growing grass. It’s been some time that somebody traveled on this track, so we had to search around a bit for the overgrown path where we could cross the mostly dried up creek. In the beginning I said that this will be a bad idea. Lo and behold, I discovered a tick on my inner upper leg the next morning. Luckily, I got it out with my tick hook on the first attempt.

https://lyse.isobeef.org/walduebernachtung-2026-07-09-10/

​ Read More
In-reply-to » We’re at 39.5 °C now. Are we going to hit 40? https://movq.de/v/43544d5385/2026-06-27--14-12.webp

@movq@www.uninformativ.de Oh my! :-O We reached 38°C. It’s now down one degree.

I just got up from my two, three hours siesta. And I tell you, that was bloody amazing. Layed in bed in undies, no blanket, just some power metal in my headphones and I was sleeping like a baby. Normally, I NEED a blanket, no matter what. But this summer, it’s already the second time that I actually manage to drop off without one.

​ Read More

As I said, I’m on vacation, and for about a week now, I did basically nothing but sleep. Day or night.

I can’t tell if this actually is a vacation or just therapy for burnout. đŸ€”

​ Read More

The CCTV images that helped sink a Sydney hostel’s rooftop visions
Residents of two high-end Sydney apartment blocks say they have spent years pleading for a decent night’s sleep. Now they’ve clocked up a significant victory. ⌘ Read more

​ Read More

Sai made an impossible choice about his health. Now he’s afraid to sleep at night
After Sai Akunuri bought his first family home, he was faced with a hard decision: Keep his life-saving diabetes device, or pay his mortgage. ⌘ Read more

​ Read More

2nd Van trip coming up this weekend, taking Friday off work. Gonna sleep in the Van tonight and see if I can fiddle with the town water supply (basically our outside tap near the Van haha 😆) and see if I can have a shower in the Van, brush my teeth and go to bed 🛌 – Basically I just want to figure out the rest of the plumbing đŸȘ 

​ Read More

What a beautiful, beautiful 0°C Sunday arvo and evening! The weather forecast delayed the snow by the minute. An hour or so after it finally started very, very lightly, I headed off for the woods to check out the lake again. Unfortunately, with the fresh snow layer, the crazy wild surface texture of the ice sheet wasn’t visible anymore. But it brought some other nice views and photo opportunities.

I initially thought that I just go for a quick turn. However, with the snowfall a wee bit increasing I was hooked and kept going. Visibility was poor, but the snow blankets just looked too stunning. The road surfaces were quite slippery, so I often just walked alongside the pathways. On downhill slopes I had some good fun sliding down the road on my feet. With varying success. Luckily, I managed not to fall.

On the summit of the mountain the twigs had those absolutely magnificently looking windblown crystal coverings. Awwwwwww! They never get old. It was already getting dark, so the camera was tired and wanted to sleep. The snow program then made use of the flash and I’m quite pleased with how these shots turned out.

Two deer crossed the road in front of me and ran into the woods, that was sight for sore eyes. Although I felt bad that they had to flee from me in this white terrain. By the time I got home, the snow had accumulated around eight centimeters in height, even in town down in the valley. Walking on this fresh snow is just amazing. And I love the sound it makes. Today, the snow consistency must have been just right, because the crushing sound was really loud.

I cannot recall that I had frozen hair and beard before, but today, there was a thick ice buildup. In case I had, it was definitely never this much. Felt really cool.

Enough of this preliminary skirmishing, there ya go: https://lyse.isobeef.org/waldspaziergang-2026-01-25/

​ Read More

Fark me again with the bots. This time DDoS-style crawling from hundreds of IPs and dozens of ASN(s) wtf?!
I’ve had to disale the Ingress to my Git instance for the time being, i need to sleep and I can’t fight this :/

​ Read More
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

Boy’s ‘haunting’ expression in watch house drives home concerns for commissioner
Queensland’s outgoing human rights commissioner says he has lost sleep worrying about some juveniles “spending weeks and weeks” in the state’s watch houses. ⌘ Read more

​ Read More
In-reply-to » we are now parsing and recursively fetching remote feeds somewhat successfully, gotta work on the media proxy and markdown way more, so so many fucky edgecases....my friend's feed with like four posts parsed correctly so i tried this account's feed and well now im not going to bed on time

@zvava@twtxt.net it is amazing how much you have accomplished in such a short time. Take time to sleep, though! :-)

​ 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
In-reply-to » OH, FUCK ME DEAD! On the way home from today's walk I saw easily 800 fireflies! Yes, over eight hundred! That was absolutely amazing. First time this year and already this many. Crazy! They were just fricking everywhere in the entire forest. I counted to one hundred and then stopped. The darker it got, the more fireflies came out and glowed around. :-) There were spots where in under ten seconds I counted 20 glowworms. Super sick. Soooo beautiful. <3

Hahaha, I’m sure there were well over one thousand fireflies today! Basically at all times I could watch at least 15 of them around me. At better spots where one could see a few meters into the forest, there were easily 30 individuals, probably more. One even landed on my small finger. I didn’t feel anything at all, but my finger glowed. :-) Awwww! After a 20 meters ride it took off.

But it looks like I have to go already at 21:30 at sunset the next days. Today, I left the house at 22:00 and all the above happend in the first half. The second half of the walk was rather boring, maybe just around 70 glowworms in total. The extremely busy route yesterday was virtually dead this time I came around. They all have already gone to sleep, or something like that.

I also encountered two toads. I nearly stepped on the first one, but it luckily jumped to the side in time. No animals harmed.

​ 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

‘Every cell, every organ’: The rising health issue affecting 40 per cent of Australians
“Are you losing sleep tonight, like I am?” They’re not just the lyrics to a country music heartbreaker but a question Australians should be asking each other to avoid some major health issues. ⌘ Read more

​ Read More

‘I had an experience that rocked my world’: Super Netball player Cara Koenen on violence against women
Australian Diamond and Super Netball player Cara Koenen had her existence rocked after becoming a victim of gendered violence. She lost confidence on court and struggled to sleep. She’s telling her story in the hope it’ll raise awareness of the major health and welfare issue in Australia. ⌘ Read more

​ Read More

iOS 26 Could Bring Sleep Detection, Camera Controls, and New Gestures to AirPods
The iOS 26 and macOS 26 updates could bring several new features to the AirPods, including sleep detection features and camera control options, reports 9to5Mac. The AirPods features would be introduced through firmware updates that would accompany Apple’s new software.

![](https://images.macrumors.com/article 
 ⌘ Read more

​ Read More

We just split about one and a half cubic meters of fire wood at our scout yard. And even more chainsaw action to cut the logs in smaller chunks. I’m bloody tired now. But it was really great fun swinging the axe. I will sleep like a rock tonight.

​ 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"

Image

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:

Image

đŸ„Ž

​ 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

How to Play Ambient Music on iPhone
One of the more interesting features to arrive on iPhone lately is the Ambient Music player, which, as the name implies, plays ambient music. This neat audio feature was introduced with iOS 18.4, and the Ambient Music Player offers four different ambient music types to play; Sleep, Chill, Productivity, and Wellbeing. While the Ambient Music 
 Read More ⌘ Read more

​ Read More

10 Ways Your Brain Actually Changes in Warmer Weather
As spring and summer near, the world outside transforms—but so does your brain. Warmer weather and longer days bring real, measurable shifts in mood, cognition, hormones, and even decision making. You’re not just feeling different
 you are different. Neuroscientists have found that sunlight, temperature, and seasonal cues can alter everything from memory and sleep patterns [
]

The post [10 Ways Your Brain Actually Changes in 
 ⌘ Read more

​ Read More

He’s been gone a dozen years now, but I always picture him sleeping on the front stoop in the afdternoon, where the sun set in the West and warmed his sleeping place for him every day. Took this photo a year before he passed, at the amazing age of 21. ⌘ Read more

​ Read More
In-reply-to » my biggest fear of starting to work with servers professionally is realizing that no one uses servers anymore and having to do some cloud bullshit instead

@movq@www.uninformativ.de hahahah i for one hate sleeping and need to be busy 24/7 or else i go insane so server stuff is awesome for my ADHD ass!!!

IaaS does seem kinda interesting to me, i think i could vibe with that more than full on cloud stuff

i hope i can be one of those people who does the barebones stuff bc i am a rare sicko who finds it fun and cloud stuff scares me LMAOOOO

​ Read More
In-reply-to » my biggest fear of starting to work with servers professionally is realizing that no one uses servers anymore and having to do some cloud bullshit instead

@kat@yarn.girlonthemoon.xyz Using full-blown Cloud services is good for old people like me who don’t want to do on-call duty when a disk fails. 😂 I like sleep! 😂

Jokes aside, I like IaaS as a middle ground. There are IaaS hosters who allow you to spin up VMs as you wish and connect them in a network as you wish. You get direct access to all those Linux boxes and to a layer 2 network, so you can do all the fun networking stuff like BGP, VRRP, IPSec/Wireguard, whatever. And you never have to worry about failing disks, server racks getting full, cable management, all that. 😅

I’m confident that we will always need people who do bare-bones or “low-level” stuff instead of just click some Cloud service. I guess that smaller companies don’t use Cloud services very often (because it’s way too expensive for them).

​ Read More