mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.1K
active users

#rpc

1 post1 participant0 posts today

New Kitten¹ update

Experimental:

• Adds `data` property to Kitten components

• Adds swap target to `page.send` so you can have an element added before, after, as first child of, or as last child of another (this is syntactic sugar over htmx and works around some of the complexities with out-of-band swaps in htmx, especially when streaming table rows to tables).

Also, check out the latest live page and page events state view in Kitten’s Settings (every Kitten app has this settings view).

vimeo.com/1050348456

¹ kitten.small-web.org

#Kitten#SmallWeb#OOP

Feeling more like myself today after getting my ass kicked by this bug for the past few weeks and I’m finally making progress on improving Kitten’s¹ component model.

Soon, you’ll be able to implement page event handlers in an even simpler way than before. Is your connected DOM element named `pixel`? Then export an event handler called `onPixel()` on your page route and it’ll get called when that element triggers its event.

And there’s so much more coming, including a class-based page and component model with DOM-style event bubbling on the server. This should really let you make the most of the Streaming HTML² workflow in Kitten by writing event-driven GUI-like code but for a web app without really caring about the client/server separation.

Need to update the examples, test, test, test, and update docs but this had me stumped for a while now with several false starts and I feel this implementation might just be it 🤞

:kitten: 💕

¹ kitten.small-web.org
² kitten.small-web.org/tutorials

La Belgique reconnue coupable de crimes contre l'humanité dans le Congo colonial
🔴 « Bien que les chiffres précis ne soient pas clairs, des milliers d'enfants ont été touchés par la politique d'expulsions forcées et de ségrégation pendant des décennies de domination de la Belgique sur les territoires de la République démocratique du Congo, du Rwanda et du Burundi. »
theguardian.com/world/2024/dec
#Belgique #crime #humanité #femmes #enfants #Afrique #Congo #colonialisme #impérialisme #racisme #RPC

The Guardian · Belgium found guilty of crimes against humanity in colonial CongoBy Jennifer Rankin
Continued thread

3/2

The one issue I was able to figure out with this #lenovo #T430s was printing on #windoz11

With my #HP #laserjet using #jetdirect cards with an local #IP address have worked fine over the years (and the cheap toner cartridges make it all the better)

But when installing 11, adding and using printers over the #network is nothing but frustration. The #printer would not add/configured, or if it did get added then test prints would sit in the print queue and fail. I could ping the printer, but there was no visible communication with it.

Searching at length, I fumbled across this post

Windows 11 22H2: network printing switched to RPC over TCP
ghacks.net/2022/11/02/windows-

So Microsoft changed the default print related communications for endpoints in #Windows 11 version #22H2 Endpoints now use #RPC over #TCP instead of over Named Pipes.

If you are in this situation, there are some registry edits that can be made manually via #powershell or via #grouppolicy that are documented in that linked article.

I made the edits on the #T430s and am now able to print to my #4050TN Now, for some reason my #ThinkPadP1 is still having issues with printing after the #registry tweaks, with test jobs still sticking in the queue. More #troubleshooting is needed, or I may just #wipe & #reinstall

#vintagecomputing
#vintagecomputing #vintagecomputint #vintagecomputer #vintagecomputers #vintagecomputalk
#vintagehardware
#computerHistory
#retro
#retrocomputing #retroComputers
#WallOfRetro
#retroTech #retroTechnology
#nerdsOfVintage #happyNerding
#computer #tech
#nerds #nerd
#Lenovo #thinkpad #laptop #laptop_computer

gHacks Technology News · Windows 11 22H2: network printing switched to RPC over TCP - gHacks Tech NewsMicrosoft changed the default print related communication for client server communications in Windows 11 version 22H2 to improve security.

Quickstart | Ractor

Link
📌 Summary: 本文介紹如何使用 Rust 的 Ractor 套件建立一個基本的演員模式 (actor model),並講解訊息傳遞的兩種方式──無回應的傳送 (cast) 和有回應的請求 (call)。透過建立簡單的“Hello world”演員,讀者學會了演員的定義、訊息類型及狀態管理,並實作一個能計算已輸出“Hello world”次數的功能。系統還包含針對詢問演員內部狀態的遠端過程呼叫 (RPC) 實現的範例。

🎯 Key Points:
- 演員可透過無回應的訊息傳送 (cast) 或有回應的請求 (call) 進行通訊,分別使用 Ractor 的訊息標記系統。
- 定義了一個基本的演員結構 MyFirstActor,並處理
PrintHelloWorld 訊息來輸出 “Hello world”。
- 演員可管理內部狀態,本文示範瞭如何計算 "Hello world" 輸出次數並用
HowManyHelloWorlds 訊息回應請求。
- 使用
call_t! 巨集簡化了 RPC 的構造過程,便於開發者進行演員訊息傳遞。

🔖 Keywords: #Ractor #演員模式 #Rust #訊息傳遞 #RPC
RactorQuickstartRactor provides a fully-supervised, tokio-friendly actor framework for Rust frameworks. It is modelled closely off of Erlang’s gen_server along with extensions such as factories and distributed clusters.

The core code does what I want it to, wrt leveling up NPCs (except for some needed NPC code to create more of a functioning population. For this saga, I'd like a bit more realism).

There are 11 different classes of NPC. I'm at the point where I have to finish the backstory for each, and decide their areas' levels.

It's handy to make the NPCs battle each other to see if I've gotten too far afield with their abilities, lol.

I think there are a couple of dragons I haven't added back in. I'll have to look. They were in the 5.0 code.

The sky and landscape look great now!

I'm running at Epic quality in the editor. 60 fps in-game. A bit less if they game's not running. Don't ask me why.

🎥 Projection du documentaire « She’s in Jail » sur CHOW Hang-tung, une avocate emprisonnée pour avoir commémoré #Tiananmen

« She’s in Jail » (幸彤在監獄) est un documentaire indépendant sur Me. Tonyee CHOW Hang-tung. Avocate-militante hongkongaise emprisonnée, elle a lutté pour les droits de l’homme, la démocratisation et l’état de droit à Hong Kong ainsi qu’en Chine.

Ayant organisé des commémorations du Massacre de Tiananmen, et ayant défendu les droits fondamentaux des Chinois, elle est actuellement inculpée pour subversion de l’État chinois sous la Loi sur la Sécurité Nationale, en vigueur à Hong Kong depuis 2020.

En projetant ce film, DOC ! et le Comité voudrions vous rappeler l’importance de la liberté d'expression et de la démocratie. En raison de l'actuelle situation délicate en France, nous avons décidé de décaler la projection du documentaire à 14h, pour que vous puissiez voter avant ou après la séance, ou défendre la démocratie après le scrutin.

Vive la liberté ! On se verra dimanche.

Dimanche 7/7/2024
14h (suivie d'une table ronde à 16h)
Association Doc !, 26 rue du Dr. Potain, 75019 Paris

Prix libre
VO cantonais + ST chinois & anglais
#幸彤在監獄

Organisé par le Comité pour la liberté à Hong Kong
https://www.facebook.com/SolidarityWithHK/

#Chine#HongKong#RPC