#ViệtNam #Mastodon #Game #Nextjs #SocketIO
🚀 Dự án game đánh máy multiplayer mã nguồn mở với con trỏ trực tiếp!
Phát triển bằng Next.js & Socket IO, hỗ trợ chế độ đơn, kết nối trận đấu, thống kê chi tiết & không yêu cầu đăng ký. Creator: /u/SAHAJbhatt
#ViệtNam #Mastodon #Game #Nextjs #SocketIO #OpenSource #TypingGame #LiveCursor #NoSignUp
One Open-source Project Daily
A fancy self-hosted monitoring tool
https://github.com/louislam/uptime-kuma
#1ospd #opensource #docker #monitor #monitoring #responsive #selfhosted #selfhosted #singlepageapp #socketio #uptime #uptimemonitoring #webapp #websocket
How to Use Socket IO with Vue 3.
Como Usar Socket IO con Vue 3.
👉 https://nubecolectiva.com/blog/como-usar-socket-io-con-vue-3-parte-1/
#programming #coding #programación #code #webdevelopment #devs #softwaredevelopment #socketio #vue
FastSIO: Как я попытался войти в open source, и надеюсь что у меня получится это сделать
FastSIO. Как я впервые сделал что-то для Open Source, и как я к этому пришел. И что из себя представляет новая Fast<> библиотека
🐢🎩 Ah, the audacity of expecting a mere mortal to understand this labyrinth of #GitHub buzzwords! 🙄 Just when you thought #JavaScript couldn't get any more convoluted, behold: calling socket.io events as if you're dialing grandma's rotary phone — but with more steps and less clarity. ✨💻
https://github.com/bperel/socket-call #socketio #confusion #techhumor #codingstruggles #HackerNews #ngated
Socket-call – Call socket.io events like normal JavaScript functions
https://github.com/bperel/socket-call
#HackerNews #SocketCall #socketio #JavaScriptFunctions #WebDevelopment #GitHub
Parsing the Elite Dangerous Journal
I gave in and changed my event forwarding method in node-red for the Elite Dangerous Journal. This file is updated on various in-game events but in a way that makes it difficult to get new events only since last update. Another problem is that it’s not really a valid JSON file because it has one JSON per line but it’s not a valid JSON array. This is why it has to be parsed line by line and mashed together by event type (name) again to get the latest data for each event type per dump. Each event has it’s own timestamp by set by the game. The latest timestamp is now saved on the special flow const so node-red keeps the value in the “global” memory of the current flow:
msg.payload.event = "Journal";let newJournalTimestamp = flow.lastJournalTimestamp;Object.keys(msg.payload).forEach((key) => { if (msg.payload[key].timestamp) { const keyTimestamp = new Date(msg.payload[key].timestamp).getTime(); if (!flow.lastJournalTimestamp || flow.lastJournalTimestamp < keyTimestamp) { // this entry is new - keep it. MULTIPLE events may have the // same timestamp so wait with reassigning so we don't skip // em or get the latest a 2nd time if nothing else changes. // update the next latest timestamp if this is newer if(!newJournalTimestamp || newJournalTimestamp < keyTimestamp) { newJournalTimestamp = keyTimestamp; } } else { // lastJournalTimestamp is newer, skip this msg.payload[key] = null; } }});// make sure this is a valid date for the next timeflow.lastJournalTimestamp = newJournalTimestamp || new Date().getTime();// remove all nulled events from the payloadmsg.payload = Object.fromEntries( Object.entries(msg.payload).filter(([_, p]) => p !== null));msg.payload.timestamp = new Date(flow.lastJournalTimestamp);return { payload: msg.payload };So I do now keep track of the last read timestamp and reject every event that is older than the last read keeping the Journal dump smaller. This way I don’t have to try to keep track of the “latest” event to drag data from. Refuelling e.g. can happen from whopping 4 (or more) different events and it’s painful to compare all and check which one is the latest to keep track of the real current fuel levels for each tank.
Downside is I won’t get a full set of data for the current session any more if I have to reload my HUD app. This could be mitigated by using MQTT though where I could simply persist each event topic. That is already implemented and I can choose between SocketIO or MQTT in my app anyway.
https://beko.famkos.net/2025/03/29/parsing-the-elite-dangerous-journal/
#EliteDangerous #EliteDangerousOdyssey #homeCockpit #MQTT #NodeRed #simpit #SocketIO
WebSocket vs Socket.IO: Real-Time Communication Guide https://jsdev.space/websocket-socketio/ #javascript #websocket #socketio
Введение в WebSocket и Socket.IO
Введение WebSocket — это протокол, обеспечивающий двустороннюю коммуникацию между клиентом и сервером, идеально подходящий для приложений, где необходима передача данных в реальном времени, таких как чаты, уведомления и онлайн-игры Socket.IO — это библиотека, которая расширяет возможности WebSocket, предоставляя механизмы автоматического переподключения и fallback-режимы для более стабильной работы в нестабильных сетевых условиях В этой статье мы рассмотрим, как работают эти технологии, какие задачи решают, их преимущества и ограничения, а также покажем, как быстро настроить сервер и клиента для работы с WebSocket и Socket.IO .
https://habr.com/ru/articles/882672/
#socketio #websocket #socket #longpolling #sse #server_sent_events #longpolling #serversent_events #http #httppooling
How to Use Socket IO with Vue 3 – Part 1.
Como Usar Socket IO con Vue 3 – Parte 1.
👉 https://blog.nubecolectiva.com/como-usar-socket-io-con-vue-3-parte-1/
#comunidaddeprogramadores #devs #programar #frontendDev #backendDev #desarrollodesoftware #programación #eventoenvivo #endirecto #100DaysOfCode #worldcode #programadores #developers #developerlife #socketio #vue3
How to Use Socket IO with Vue 3 – Part 2 (Final).
Como Usar Socket IO con Vue 3 – Parte 2 (Final).
👉 https://blog.nubecolectiva.com/como-usar-socket-io-con-vue-3-parte-2-final/
#comunidaddeprogramadores #devs #programar #frontendDev #backendDev #desarrollodesoftware #programación #eventoenvivo #endirecto #100DaysOfCode #worldcode #programadores #developers #developerlife #socketio #vue3
Learn to build real-time web apps with SocketIO. Step-by-step guide with code examples for students, and developers. Follow for more!
#RealTimeWebApps #SocketIO #nodejs #javascript #code
https://brieflur.com/socket-io-build-engaging-real-time-web-apps-with-ease/
The Most Popular Deployment Strategies !
Las estrategias de implementación más populares !
Aprende a "Como Usar Socket IO con Vue 3 – Parte 1":
👉 https://blog.nubecolectiva.com/como-usar-socket-io-con-vue-3-parte-1/
#envivo #comunidaddeprogramadores #devs #programar
#frontendDev #backendDev #desarrollodesoftware #programación #eventoenvivo #endirecto #100DaysOfCode #worldcode #programadores #developers #developerlife #socketio #vue3
Anyone more familiar with Socket.IO know why their homepage is plastered with sponsorships from online casinos and social media bot account services?
It's giving me the ick. Probably will not be using the library in the future ...
SocketIO and TypeScript Course
Learn SocketIO, TypeScript and NodeJS To Create Multiplayer Realtime Interactive Content for the Web
Welcome to my course on SocketIO and TypeScript where you will learn how to create multiplayer real-time interactive content that runs in the browser and on the web. We will start by creating a sophisticated boilerplate that contains both client and server components.
SocketIO v4, with websockets - the 2024 details Course
Socket io. Learn how to harness real-time communication on the web. W/Cluster Module, React and a real time game!
This SocketIO course is meant to alleviate that! It is not a quick start guide to socket IO. There are loads of those all over the Internet.
https://couponfrogg.com/coupons/socketio-with-websockets-the-details/
Mi consejo, cuando queráis aprender WebSockets no utilicéis un tutorial/libro/curso sobre Socket.IO. Es un framework, una capa de abstracción que te aisla de los fundamentos. Sería similar a aprender JavaScript utilizando JQuery.
Si vuestro objetivo es montaros vuestros propios servidores, Node y Django Channel lo hacen muy fácil.
#websockets #web #socketio
I know it is technically #AzureDevelopersJSDay... but lots of interesting topics for web devs like #playwrightdev, #socketio, #azureswa, and #graphql:
Today from 9AM - 11:30 Pacific: https://www.youtube.com/watch?v=cAz6VxSMx1k
How I made a multiplayer PC game controlled by phones (Unity x socket.io) https://link.medium.com/xMARt5UodHb
#gamedev #unity #javascript #gaming #socketio #immersive #event #developerjourney #artist #experiment #liveart #3d #webdevelopment #webdesign