Searching yarn

Twts matching #lol
Sort by: Newest, Oldest, Most Relevant

However, I haven’t touched my favicon longer than that, lol:

$ l movq.de/favicon.ico
─rw─r──r── void users 2011-01-08 198 │ movq.de/favicon.ico

⤋ Read More

I am afraid it will have to wait until your return! There are some decisions to be made, I think. Way out of my league! LOL.

⤋ Read More

@prologic@twtxt.net Thanks for the heads up! I fixed my nick and corrected my reply. I’m still learning lol. I still need to get setup with a client, I’m using my timeline at the moment, but that’s finicky due to CORS in the browser. By chance do you know how I would go about signing up with twtxt.net?

⤋ Read More

@prologic@twtxt.net Thanks for the heads up! I fixed my nick and corrected my reply. I’m still learning lol. I still need to get setup with a client, I’m using my timeline at the moment, but that’s finicky due to CORS in the browser. By chance do you know how I would go about signing up with twtxt.net?

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