Searching We.Love.Privacy.Club

Twts matching #lol
Sort by: Newest, Oldest, Most Relevant
In-reply-to » Every now and then, I think that I have carefully proof-read my message enough times and hit the "Add message" button in tt. But then, in the message tree, I spot another missed typo. My process is then to go to my twtxt.txt and fix it by hand. However, I still have to clean up tt's cache. This is rather tidious:

@lyse@lyse.isobeef.org

Now I’m curious how movwin deals with that. ;-)

Focus handling? I hardly remember, lol. 😅 Did that 6 months ago and haven’t touched it since. Let’s see.

The core main loop gets keyboard/mouse events from curses. At this level, the main loop only knows about exactly one widget, so it passes the event to that widget (whatever that is, doesn’t matter – they all inherit from the Widget base class, it could be a Window, a WindowManager, or an Edit box directly).

The outermost widget is usually a WindowManager. It implements a few hotkeys of its own, like switching to another window. If none of those hotkeys match, it passes the event to the currently focused window.

Same story here: Window implements some hotkeys (like opening the menu bar). If none of those match, then 
 the magic happens.

Each Window acts as a focus manager. It can descend into its child widget hierarchy and collect all child widgets in a depth-first search. They are collected into a flat list. Each Window then has an attribute _focus_position, which is an index into that list. Pressing Tab or Shift+Tab increases or decreases that index and that allows you to select the next/previous focusable widget in the current window.

Eventually, Window passes the input event to the currently focused widget.

Usually on initialization, the application can ask a Window object to focus a certain widget. The file selection dialog does that, for example, because the “natural” focus order would be to focus the Edit box at the top of the window first – but that’s not what the user wants, the Table showing the list of files should be focused.

If no widget ever feels responsible for handling a certain input event, then there’s a global unhandled_input callback that the application can provide (same as in urwid).

I think that’s it.

Hm, that’s more complicated than I remembered, but apparently it works fine, because I completely forgot about this. 😅 All I did in the last few months was make new classes that inherit from Widget, like the new Table class or Edit or HexEdit or whatever, and if they want to get input events, then they must implement the methods input_key() or input_mouse().

Does this answer your question? 😅 (I admit that I didn’t exactly understand your scenario, so I just went ahead and rambled about my implementation. 😅)

​ Read More
In-reply-to » @bender 
 boom, 5500+ hits on that blog post. đŸ€Ł Should I start monetizing this shit?! đŸ€Ș (Don’t worry, I won’t. German law gets super annoying if you do that kind of thing.)

@movq@www.uninformativ.de LOL. At least now you know your infrastructure and web server can handle some traffic. Consider it a test, in addition to the fleeting recognition. đŸ€Ł

​ Read More

I went 1-for-2 again at Magic today, winning the first game with my (mostly standard) Fallout “Hail, Caesar” deck by creating a swarm of soldiers and slapping people across the face with them (LOL!), before quitting the 2nd game for lack of time after my board got wiped (I mean, I might have lucked into something eventually, but it was getting late, so I dropped out).

I hope to play more regularly going into the summer, but who knows.

​ Read More
In-reply-to » And a trip to my backyard mountain again. It was very windy, so the 16°C felt even cooler than that. But it will be back in the twenties tomorrow when I visit a mate for a hike, oof.

@lyse@lyse.isobeef.org 33! Wow! Very good stash on clicks, Lyse! And that Ford van reminds me of the police account used to keep order around here. LOL. It’s a gem!

​ Read More
In-reply-to » PSA: Check your ladders everybody! https://youtu.be/0wqodPGId-8

I don’t know what surprises me the most. Is it the dangerous in red, or the fact we need a 21 minutes video about it. LOL. Sorry, sorry, shouldn’t joke about such safety nightmare. My bad. I will go to my lane now. 🙈

​ Read More
In-reply-to » But it was also a giant food orgy. We had mountains of pretzels, waffels and sweets on top of regular lunch at the canteen, food truck and pizza delivery. Yummy!

@lyse@lyse.isobeef.org hmmm, pizza! With that amount of food (a) I wouldn’t complain, and (b) I will be obese on my return. LOL.

​ Read More
In-reply-to » In case you’re wondering where they are: https://artemistracker.com/

@movq@www.uninformativ.de with the current regime, everything is, to put it politely, rather odd, and in disarray. They have yesterday’s window, otherwise the next one was on the 12 of April, or something like that. We knew it was going up for a few days, but we are used to that kind of thing, so it is not that super exciting any more. LOL.

Yeah, I saw it in person.

​ Read More
In-reply-to » First twtxt after upgrading (as I don't want a reply to count as one).

and a reply to it, just for giggles. I miss the days all we talked about was twtxt. Now we have vans, and talk next to nothing. ;-) :-P LOL.

​ Read More
In-reply-to » @zvava how is that client coming along? "/me gently pushes zvava towards a working desk" 😂

@zvava@twtxt.net rooting for it, and you! As soon as there is a stable (no future truly breaking changes) working alpha (can post, can follow, can reply), I will give it a spin! And yes, I understand the contradiction of “stable” and “alpha”; hoping my meaning comes through, LOL.

​ Read More
In-reply-to » https://github.com/unix-v4-commentary/unix-v4-source-commentary

/me clones the repository, calls gemini-cli, and asks for an executive summary. Gemini-CLI replies “Don’t bother!” LOL.

​ Read More

With RAM crazy prices being what they are, I guess my PC is gonna be stuck on 16GB RAM for some time. I originally bought the DDR4 16GB kit for like $49 AUD, and I thought I’d just buy another 16GB or more later down the track (this was like a year and a half ago), thinking it would be similarly priced or even cheaper


Boy was that a mistake in hindsight LOL. The same kit is like $229 AUD now
.

​ Read More