Searching We.Love.Privacy.Club

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

Norway Imposes Near Ban On AI In Elementary School
Norway will largely prohibit generative AI use for elementary kids ages 6 to 13 beginning with the new school year, while allowing limited, teacher-supervised use for older students. The government says the restrictions are intended to prevent children from skipping foundational reading, writing, and mathematics skills amid declining test scores. Reuters reports: Facing a br … ⌘ Read more

⤋ Read More

AMD ACP7.D/7.E/7.F Driver Added In Linux 7.2: “Substantial Design Changes” For AMD Audio
It looks like AMD’s next-gen SoCs not only will be exciting on the CPU side with the much anticipated Zen 6 cores but the AMD Audio Co-Processor “ACP” IP looks to be going through some significant updates… ⌘ Read more

⤋ Read More

Raspberry Pi OS Moves To Linux 6.18 LTS Kernel, Updated LabWC Compositor
Raspberry Pi engineers have released their first update to Raspberry Pi OS since April. With this new version comes the upgrade to the latest Linux 6.18 LTS kernel… ⌘ Read more

⤋ Read More

Bcachefs Tools 1.38.6 Brings Many Performance Improvements
Kent Overstreet announced the release today of Bcachefs-Tools 1.38.6 as the user-space tools built around the Bcachefs copy-on-write file-system. There are a few new features and a lot of performance work in v1.38.6 without bringing any on-disk format breakage… ⌘ Read more

⤋ Read More

FreeBSD Updates Its Graphics Driver Port From Linux 6.12 LTS
As part of improving the experience of FreeBSD on laptops and desktops, FreeBSD developers have updated their drm-kmod port against the state of the Linux 6.12 LTS kernel… ⌘ Read more

⤋ Read More

KDE Plasma 6.7 Released With Per-Screen Virtual Desktops, Wayland Improvements
Today’s the day! KDE developers have just released Plasma 6.7 as the newest version of this leading open-source desktop environment… ⌘ Read more

⤋ Read More

In Magic today, the Phyrexian Invasion failed in the first game, but the second game was EPIC!

I played my (unlisted) Dragons 2: Draconic Boogaloo deck, and…

Turn 1: Nothing special
Turn 2: Miirym (when a dragon enters, copy it)
Turn 3: Tiamat (choose 5 dragons from deck, put in hand)
Turn 4: Klauth (when dragons attack, create mana equal to their total power)
I attacked with all 5 dragons, which made 28 mana x2 = 56(!) mana.
Then (still turn 4) I played Scourge of Valkas (when a dragon enters, deal damage to target equal to number of dragons) + 5 other dragons, dealing 6 + 2 x (7+8+9+10+11+12+13+14+15+16+17) = 270(!) direct damage (more than double enough to kill the other 3 players).

Damn fine win, if I do say so myself.

⤋ 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

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:

  1. Recall the sqlitebrowser ~/.local/share/twtxt/tt2.sqlite from my shell history.
  2. Switch to the “Browse data” tab.
  3. Go to the messages table and wait a second or two until it’s loaded.
  4. Sort by the created_at column twice, so that I get descending order.
  5. Select the first message, which is typically the one in question.
  6. Find the “Remove currently selected row” button in the tool bar.
  7. Commit the changes.
  8. Close sqlitebrowser.

So, I finally implemented the removal of messages from the cache in tt. I can now hit d and confirm the removal. Bam! Should have done that ages ago!

Next up is the search, I think.

⤋ Read More

The Strongest Job Is Apparently Not a Hero or a Sage, but an Appraiser (Provisional) S01E12 VOSTFR 720p WEB x264 AAC -Tsundere-Raws (CR) (Saikyou no Shokugyou wa Yuusha demo Kenja demo Naku Kanteishi (Kari) Rashii desu yo?)
#2121188 | The Strongest Job Is Apparently Not a Hero or a Sage, but an Appraiser (Provisional) S01E12 VOSTFR 720p WEB x264 AAC -Tsundere-Raws (CR) (Saikyou no Shokugyou wa Yuusha demo Kenja demo Naku Kanteishi (Kari) Rashii desu yo?) | 699.6 MiB | Anime - Non-English-tran … ⌘ Read more

⤋ Read More

Сеизмолог със сериозно предупреждение след земетресението в Газиантеп

Image

Земетресение с магнитуд 4,6 по скалата на Рихтер е разтърсило днес района на Газиантеп в Югоизточна Турция осем минути след полунощ. По информация на Дирекцията за управление при бедствия и извънредни ситуации (АФАД) епицентърът на труса е в селището Нурдагъ, на дълбочина от 7,1 км. След земетресението минис … ⌘ Read more

⤋ Read More

Ремонтът на две метростанции завърши предсрочно (Видео)

Image

Инженерите и строителите на Трейс приключиха по-рано от планираното, строително-монтажните дейности в района на шахтата на отклонение на линия МС 6 към “ Слатина”.
Метрото между МС „Орлов мост“ “ МС” Театрална” и „Хаджи Димитър“ тръгва отново от 15 ⌘ Read more

⤋ Read More

KDE Plasma 6.7 Sees Last Minute Fixes Ahead Of Next Week’s Release
Ahead of the much anticipated Plasma 6.7 desktop release next week, KDE developers have been busy putting final touches on it, mostly in the form of bug/regression fixes… ⌘ Read more

⤋ Read More

6-месечно бебе почина в болницата в Търговище, министърът нареди проверка

Image

Министърът на здравеопазването Катя Ивкова разпореди незабавна проверка във връзка с трагичен случай на починало 6-месечно бебе в болницата в Търговище миналата нощ. Това съобщиха от Министерството на здравеопазването на страницата си във Фейсбук.
Контролът по случая е възложен на Изпълнителна агенция “Ме … ⌘ Read more

⤋ Read More

[豌豆字幕组&LoliHouse] 关于我转生变成史莱姆这档事 第四季 / Tensei Shitara Slime Datta Ken 4th Season - 10(82) [WebRip 1080p HEVC-10bit AAC][简繁外挂字幕]
#2121079 | [豌豆字幕组&LoliHouse] 关于我转生变成史莱姆这档事 第四季 / Tensei Shitara Slime Datta Ken 4th Season - 10(82) [WebRip 1080p HEVC-10bit AAC][简繁外挂字幕] | 710.6 MiB | Anime - Non-English-translated | 8ABBC33183075ADB2359D56132C4E54DB4F33819 ⌘ Read more

⤋ Read More

Условията за туризъм в планините са добри, все още има сняг на над 2000 метра надморска височина

Image

Условията за туризъм в планините са добри, все още има сняг на над две хиляди метра надморска височина, казаха за БТА от Планинската спасителна служба към Българския Червен кръст. Температурите са между 6° и 8 градуса, има разкъсана облачност. Според прогно … ⌘ Read more

⤋ Read More

Григор Димитров победи Стефанос Циципас в шоуто в София

Image

Григор Димитров не се даде на Стефанос Циципас в демонстративния мач в София.
Това шоу бе благотворително и част от приходите са за фондацията на Григор Димитров, която е един от организаторите.
В първия сет Григор направи пробив и спечели 6:3, но гостът отговори с 6:1. В дългия тайбрек нашият състезател се наложи 10:7 ⌘ Read more

⤋ Read More

Григор Димитров победи Стефанос Циципас в шоуто в София

Image

Григор Димитров не се даде на Стефанос Циципас в демонстративния мач в София.
Това шоу бе благотворително и част от приходите са за фондацията на Григор Димитров, която е един от организаторите.
В първия сет Григор направи пробив и спечели 6:3, но гостът отговори с 6:1. В дългия тайбрек нашият състезател се наложи 10:7 ⌘ Read more

⤋ Read More

Трети сет решава кой печели двубоя Григор Димитров - Стефанос Циципас в София
(На живо)

Image

Григор Димитров и Стефанос Циципас стигнаха до равенство на демонстративния си мач в София.
Това шоу е благотворително и част от приходите са за фондацията на Григор Димитров, която е един от организаторите.
В първия сет Григор направи пробив и спечели 6:3, но гостът отговори с 6: … ⌘ Read more

⤋ Read More

Григор Димитров поведе със сет на Стефанос Циципас в шоуто на бекхендите в София
(На живо)

Image

Григор Димитров и Стефанос Циципас започнаха демонстративния си мач в София.
Това шоу е благотворително и част от приходите са за фондацията на Григор Димитров, която е един от организаторите.
В първия сет Григор направи пробив и спечели 6:3.
Сред много гости в най-голямата … ⌘ Read more

⤋ Read More

Jason Bourne 6 Can Revive Matt Damon Franchise By Avoiding Legacy’s Mistake & Following 1 Movie Trend
With talks of a Jason Bourne 6, Matt Damon‘s action franchise must avoid the mistakes of The Bourne Legacy by following this movie trend. Things have been quiet with the Bourne franchise since 2023, when a new film was in development with Edward Burger. However, nothing ever materialized in that movie. In March 2025, Universal […]

The post [Jason … ⌘ Read more

⤋ Read More

Mad Max 6 Can Still Work Despite Furiosa’s Flop for 1 Simple Reason
George Miller reportedly wants to make Mad Max 6. Despite Furiosa‘s box office flop, Miller can still make a successful sixth Mad Max movie for this one reason. Miller wants to head to the Wasteland at least one final time on the big screen. According to a new report, Miller is interested in making at […]

The post [Mad Max 6 Can Still Work Despite Furiosa’s Flop for 1 Simple Reason](https://www.comings … ⌘ Read more

⤋ Read More

Българка ще играе за титла на двойки в Загреб

Image

Тенисистката ни Росица Денчева се класира за финала на двойки на турнира по тенис на твърда настилка в Загреб (Хърватия) с награден фонд 100 хиляди долара.
19-годишната Денчева и Екатерина Казионова (Русия) победиха четвъртите поставени Вероника Фалковска (Полша) и Ипек Йоз (Турция) с 6:4, 6:3 за час и 22 минути ⌘ Read more

⤋ Read More