Real-Time Java AI: Building a Context-Aware Chatbot with Quarkus, Qute, and WebSockets https://myfear.substack.com/p/java-ai-chatbot-quarkus-langchain4j-websockets
#Java #Quarkus #LangChain4j #Ollama #WebSockets
Real-Time Java AI: Building a Context-Aware Chatbot with Quarkus, Qute, and WebSockets https://myfear.substack.com/p/java-ai-chatbot-quarkus-langchain4j-websockets
#Java #Quarkus #LangChain4j #Ollama #WebSockets
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.
#SSE #WebSockets #NodeJS #WebDesign #programowanie
https://www.freecodecamp.org/news/server-sent-events-vs-websockets
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
…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): https://codeberg.org/small-web/look-over-there/src/branch/main/CopyButton.component.js
• 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): https://codeberg.org/small-web/look-over-there/src/branch/main/Toast.fragment.js
• Finally, check out how layout components and slots work: https://codeberg.org/small-web/look-over-there/src/branch/main/Site.layout.js
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
Malicious #PyPI packages abuse #Gmail, #websockets to hijack systems
"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 https://bit.ly/41J6UP3
Как я создал клон Pinterest с использованием Vue 3 и FastAPI
GitHub : Ссылка на репозиторий Live Preview : Посмотреть проект Привет, друзья! В этой статье я расскажу, как создал клон Pinterest с использованием современных технологий — Vue 3 для фронтенда и FastAPI для бэкенда. Это многофункциональное полнофункциональное приложение, практически полностью повторяющее Pinterest. Особенностью проекта является кеширование вкладок с помощью Vue Router и KeepAlive , что значительно улучшает пользовательский опыт. Этот проект стал отличной возможностью прокачать навыки в разработке production-уровня fullstack-приложений с поддержкой функционала в реальном времени .
https://habr.com/ru/articles/903690/
#Vue_3 #FastAPI #restapi #websockets #celery #redis #postgresql #JWT_authentication #nginx #docker
🚀🎉 Behold, the groundbreaking Rust-IoT-Platform! Now, you can juggle #protocols like #MQTT, #WebSockets, 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?" 🙄
https://github.com/iot-ecology/rust-iot-platform #Rust #IoT #Platform #RealTime #HackerNews #ngated
🌗 你可能不需要 WebSocket
➤ 重新思考即時通訊的選擇:WebSocket 或 HTTP?
✤ https://hntrl.io/posts/you-dont-need-websockets/
這篇文章探討了 WebSocket 在現代網路應用中的實際應用價值。儘管 WebSocket 廣受歡迎,但作者指出,許多情況下使用傳統的 HTTP 協議也能達到相同的效果,甚至更簡單、更可靠。文章分析了 WebSocket 在處理狀態一致性、錯誤處理和連接生命週期管理方面的複雜性,並建議在不需要雙向即時通訊的場景下,應優先考慮使用 HTTP 協議。
+ 我一直覺得 WebSocket 很酷炫,但這篇文章讓我意識到它並不是萬能的。對於一些簡單的應用,HTTP 確實更適合。
+ 這篇文章很有見地!我之前一直盲目地使用 WebSocket,現在我會重新審視我的設計,看看是否可以替換成 HTTP。
#網路技術 #WebSockets #HTTP #即時應用
🚨 Breaking news: People are still writing #articles about #WebSockets in 2025! 🕰️ Apparently, you might not need them because... *drum roll*... plain old #HTTP can do the job! 🥳 Next up: You might not need electricity; candles have got your back! 🕯️
https://hntrl.io/posts/you-dont-need-websockets/ #technology #humor #HackerNews #ngated
You might not need WebSockets
https://hntrl.io/posts/you-dont-need-websockets/
#HackerNews #You #might #not #need #WebSockets #WebSockets #WebDevelopment #TechTrends #HackerNews #Programming
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. 😄
https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events
Today I learned…
1. there's a card game where you complete a task from Unix pipe commands: https://punkx.org/unix-pipe-game/ (via https://mamot.fr/@bearstech/114275843048191227)
2. there's a JavaScript x86 machine emulator so you can play that game without needing a real computer around: https://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: http://www.benjamincburns.com/2013/11/10/jor1k-ethmac-support.html
Testing SignalR Applications with Integration Tests
https://www.jocheojeda.com/2025/04/02/testing-signalr-applications-with-integration-tests/
#SignalR #TDD #IntegrationTesting #DotNET #ASPNETCore #TestServer #ChatTesting #WebSockets #RealTimeApps #DevOps #UnitTesting #APITesting #CSharp #WebDevelopment #TestDrivenDevelopment
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:
https://github.com/htho/php-webrtc-signaling-server
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 ...
In-depth tutorial from @Rock the JVM on what WebSockets are and how to implement them in Scala using http4s. #scala #websockets https://rockthejvm.com/articles/websockets-in-scala-part-1-http4s
Вебсокеты на FastAPI: Реализация простого чата с комнатами за 20 минут
Хотите освоить WebSocket и создать собственный чат с комнатами? В этой статье мы разберем: - В чем разница между WebSocket и классическим HTTP - Как реализовать сервер на FastAPI с поддержкой WebSocket - Как создать простой FullStack-чат для мгновенного обмена сообщениями - Как всего за пару минут развернуть готовое приложение на облачном сервисе Статья написана с учетом новичков, но и опытные разработчики найдут здесь полезные инсайты.
https://habr.com/ru/companies/amvera/articles/884816/
#websockets #fastapi #fastapi_вебсокеты #javascript #вебсокеты #вебсокеты_javascript #python #вебразработа #программирование #деплой
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. #Python #Binance #WebSockets #Crypto #Trading #RealTimeData
https://tech-champion.com/blockchain/connecting-to-binance-testnet-futures-user-stream-using-python
New Kitten update
• 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