#Websockets

2025-05-20

Real-Time Java AI: Building a Context-Aware Chatbot with Quarkus, Qute, and WebSockets myfear.substack.com/p/java-ai-
#Java #Quarkus #LangChain4j #Ollama #WebSockets

Wilda SoftwareWildaSoftware
2025-05-14

Całkiem niedawno pisaliśmy o Server-Sent Eventach (SSE) i przykładzie w Go, a teraz na tapet wjeżdża Node.js, ale przede wszystkim pełniejsze wytłumaczenie różnic pomiędzy WebSockets i właśnie SSE.

freecodecamp.org/news/server-s

Soy bastante fan de Django Channels, pero debo admitir que Flask-SocketIO es una herramienta muy buena. En un momento puedes tener un servidor de WebSockets con salas.
En estos momentos lo he incorporado a un proyecto y funciona perfectamente.
#flask #websockets #python

2025-05-10

…And there are more interesting tid-bits in there too:

• See how I’m pushing Kitten’s Streaming HTML to its logical conclusion and streaming JavaScript from the server to the client to keep all logic on the server while implementing a client-side feature (copy to clipboard): codeberg.org/small-web/look-ov

• Following on from that, note how the Toast component that’s triggered when something is copied looks (under the hood, Streaming HTML is htmx + WebSockets + some Kitten-specific magic and glues it all together and adds syntactic sugar): codeberg.org/small-web/look-ov

• Finally, check out how layout components and slots work: codeberg.org/small-web/look-ov

I think that’s all the intersting stuff I can spot at the moment.

Have fun!

:kitten:💕

#Kitten #SmallWeb #SmallTech #SmallTechnologyFoundation #LookOverThere #code #StreamingHTML #htmx #websockets #nodeJS #web #dev

2025-05-02

"Introduction to ReactPHP and Websockets" will be Frank Berger's talk at phpday25.

#phpday25 #PHP #Websockets #Javascript #ReactPHP

--------
phpday - 22nd edition
The annual gathering for developers, professionals, and PHP enthusiasts.
The conference is powered by @grusp
📍Verona (Italy) | 📆 May 15-16, 2025
Tickets bit.ly/41J6UP3

2025-04-23

Как я создал клон Pinterest с использованием Vue 3 и FastAPI

GitHub : Ссылка на репозиторий Live Preview : Посмотреть проект Привет, друзья! В этой статье я расскажу, как создал клон Pinterest с использованием современных технологий — Vue 3 для фронтенда и FastAPI для бэкенда. Это многофункциональное полнофункциональное приложение, практически полностью повторяющее Pinterest. Особенностью проекта является кеширование вкладок с помощью Vue Router и KeepAlive , что значительно улучшает пользовательский опыт. Этот проект стал отличной возможностью прокачать навыки в разработке production-уровня fullstack-приложений с поддержкой функционала в реальном времени .

habr.com/ru/articles/903690/

#Vue_3 #FastAPI #restapi #websockets #celery #redis #postgresql #JWT_authentication #nginx #docker

N-gated Hacker Newsngate
2025-04-16

🚀🎉 Behold, the groundbreaking Rust-IoT-Platform! Now, you can juggle like , , TCP, and CoAP while processing data in "real-time"—whatever that means. 🤖💻 Because who doesn’t love building complex systems with a language that demands a PhD in "why isn’t this compiling?" 🙄
github.com/iot-ecology/rust-io

GripNewsGripNews
2025-04-12

🌗 你可能不需要 WebSocket
➤ 重新思考即時通訊的選擇:WebSocket 或 HTTP?
hntrl.io/posts/you-dont-need-w
這篇文章探討了 WebSocket 在現代網路應用中的實際應用價值。儘管 WebSocket 廣受歡迎,但作者指出,許多情況下使用傳統的 HTTP 協議也能達到相同的效果,甚至更簡單、更可靠。文章分析了 WebSocket 在處理狀態一致性、錯誤處理和連接生命週期管理方面的複雜性,並建議在不需要雙向即時通訊的場景下,應優先考慮使用 HTTP 協議。
+ 我一直覺得 WebSocket 很酷炫,但這篇文章讓我意識到它並不是萬能的。對於一些簡單的應用,HTTP 確實更適合。
+ 這篇文章很有見地!我之前一直盲目地使用 WebSocket,現在我會重新審視我的設計,看看是否可以替換成 HTTP。

N-gated Hacker Newsngate
2025-04-11

🚨 Breaking news: People are still writing about in 2025! 🕰️ Apparently, you might not need them because... *drum roll*... plain old can do the job! 🥳 Next up: You might not need electricity; candles have got your back! 🕯️
hntrl.io/posts/you-dont-need-w

Alejandro Baezzeab@fosstodon.org
2025-04-07

Pretty certain #SSE (Server Sent Events) are the future. 😅 No upgrade to get #Websockets. Simply, plain old HTTP and simple message body. Though do make sure to use HTTP/2. 😄

developer.mozilla.org/en-US/do

Stuart Longland (VK4MSL)stuartl@longlandclan.id.au
2025-04-04

Today I learned…

1. there's a card game where you complete a task from Unix pipe commands: punkx.org/unix-pipe-game/ (via mamot.fr/@bearstech/1142758430)
2. there's a JavaScript x86 machine emulator so you can play that game without needing a real computer around: bellard.org/jslinux/tech.html
3. that JS VM gets network connectivity because someone decided to make a websocket-based VPN that passes Ethernet frames: benjamincburns.com/2013/11/10/

#Unix #JavaScript #Websockets #Networking

2025-03-23

I wanted to play around with #WebRTC. But then I realised my #webserver I rent at Hetzner, is just a simple one. That means no #Websockets for me, as a signaling service. So there were two options: rent something more expensive or find another way for signaling.
Guess what I chose ...
Well thankfully I quickly discovered this:
github.com/htho/php-webrtc-sig
And building on that, I've now got a simple text connection working now - after about 2,5 hours.
Also I got frustrated with chrome - I guess I just won't support that in my projects anyway, so it's fine if my #JS doesn't run there ...

#Web #Programming #Realtime #messaging

2025-02-25

In-depth tutorial from @Rock the JVM on what WebSockets are and how to implement them in Scala using http4s. #scala #websockets rockthejvm.com/articles/websoc

2025-02-22

Вебсокеты на FastAPI: Реализация простого чата с комнатами за 20 минут

Хотите освоить WebSocket и создать собственный чат с комнатами? В этой статье мы разберем: - В чем разница между WebSocket и классическим HTTP - Как реализовать сервер на FastAPI с поддержкой WebSocket - Как создать простой FullStack-чат для мгновенного обмена сообщениями - Как всего за пару минут развернуть готовое приложение на облачном сервисе Статья написана с учетом новичков, но и опытные разработчики найдут здесь полезные инсайты.

habr.com/ru/companies/amvera/a

#websockets #fastapi #fastapi_вебсокеты #javascript #вебсокеты #вебсокеты_javascript #python #вебразработа #программирование #деплой

2025-02-11

Learn to connect to Binance Testnet Futures user stream using Python & WebSockets for real-time crypto price data. Master async programming, error handling & efficient data management.
tech-champion.com/blockchain/c

2025-01-27

New Kitten update

kitten.small-web.org

• Added `remove()` method to kitten.Component class. Use this when working with live pages and components and you want to remove a component from the page (or its parent). It will handle removing event listeners for you so you don’t end up with any memory leaks.

• Improved `update()` method so it similarly removes listeners on child components before updating the component itself in case you have class-based child components that will be reinstantiated on render.

• Updated the `send()` methods on `page.everyone` and `page.everyoneElse` so you can pass a swap target to insert the element being streamed to the page before, after, asFirstChildOf, or asLastChildOf another. (This was already there for the page.send() but now the two broadcast objects have the same consistent interface.

The @small-web/kitten npm package (Kitten’s types package) has also been updated to version 5.1.0 to reflect the latest changes.

(Remember that the new class and event-based page and component model is still experimental and largely undocumented and fully backwards compatible with the classic functional way of authoring your page routes and components.)

Enjoy!

:kitten:💕

#Kitten #SmallWeb #SmallTech #OOP #eventModel #StreamingHTML #hypermedia #WebSockets #htmx #NodeJS #Javascript #HTML #CSS #web #dev

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst