Masthash

#websockets

postmodern
5 days ago

What do people use for websockets with sinatra and sidekiq. I think it would be useful for sidekiq jobs to send back job statuses. I'm guessing the Google results that mention EventMachine and Celluloid are not exactly current?
#sinatra #sidekiq #websockets

reverentgeek
1 week ago

I'm coding live today at 2:00 PM ET! Come hang out and learn with me as we build a trivia game in Node.js using Vue, Tailwind CSS, and socket.io! #AHOTLive #streaming #nodejs #websockets #javascript

All Hands On Tech Live developer stream Thursdays at 11:00 AM PT/2:00 PM ET with David Neal, Pluralsight Principal Developer Advocate
reverentgeek
2 weeks ago

I'm streaming today at 2:00 PM ET! Come hang out and learn with me as we build a trivia game in Node.js using Vue, Tailwind CSS, and socket.io! #AHOTLive #streaming #nodejs #websockets #javascript https://www.linkedin.com/feed/update/urn:li:ugcPost:7042174914186940416

All Hands On Tech Live developer stream Thursdays at 11:00 AM PT/2:00 PM ET with David Neal, Pluralsight Principal Developer Advocate
Rich Lafferty 🐀
2 weeks ago

Anyone else using lita-slack (or other things that use faye-websockets-ruby) find that they can’t connect to Slack as of their certificate rotation earlier today? We were affected, and I’ve found four other orgs affected too. Everything looks fine from a cert/chain perspective and I couldn’t reproduce with faye-websockets-ruby example code, only in Lita itself.

#lita #slack #websockets #ruby

m. libby
4 weeks ago

In your experience, which server-side web framework has the best support for web sockets?

#developer #websockets

Kingsley Uyi Idehen
1 month ago

Woot!

Deploying entire #HTTPS sites from our #VirtuosoRDBMS just got easier (via native ACME protocol support)!

Ditto #KnowledgeGraph generation directly from the #Fediverse i.e., each post is automatically transformed into a #SemanticWeb nugget deployed using #LinkedData principles.

Native #GraphQL support also includes subscriptions via native #websockets support too!

/cc @openlink @Mastodon

#SPARQL #SQL #ActivityStreams #Web30 #DataConnectivity #Web30

Aral Balkan
1 month ago

If you missed the Small is Beautiful live stream today where I take you through some of the advanced features of Kitten and the new end-to-end encrypted Kitten Chat example, here’s the recording:

https://vimeo.com/799597015

(That’s on Vimeo. I’ll release it on our own site tomorrow once I’m back at my computer. Pecking this out on my phone at the moment.)

#SmallWeb #Kitten #ee2e #WebSockets #http #web #dev #SmallTech #liveStream

Renne Rocha
2 months ago

Django, HTMX and Websockets. It looks an interesting approach (specially for avoiding "modern" frontend frameworks). I am just wondering how do I write unit tests for the consumers ... https://www.youtube.com/watch?v=FcVwDEcu6K0 #django #htmx #websockets #python

Emelia 👸🏻
2 months ago

If you're wondering what I contributed to #mastodon, it's a lot of the #moderation tooling to help make moderation more manageable (I did this whilst a mod for #switter in 2018).

I'm currently planning a rewrite of their streaming server, because I've a lot of experience with #websockets

Noah the introvert
2 months ago

I wonder if any #WebDeveloper who has an #iPad or #iPhone may be able to help me debug a #WebSockets issue with my chat room app.

I have a demo room here: https://chat.kirsle.net/

What I see is that Mobile Safari fails to stay connected to the WebSocket: it joins, sends a login message, gets messages back, but hangs up the connection immediately. I wonder if JavaScript errors get caught on the Mobile Safari side, but I have no iOS device to test on.

Source code is here: https://git.kirsle.net/apps/BareRTC

reverentgeek
2 months ago

I'm streaming today at 2:00 PM ET! Come hang out and learn with me as we build a trivia game in Node.js using Vue, Tailwind CSS, and socket.io! #AHOTLive #streaming #nodejs #websockets #javascript https://www.linkedin.com/feed/update/urn:li:ugcPost:7026940717713211393

All Hands On Tech Live developer stream Thursdays at 11:00 AM PT/2:00 PM ET with David Neal, Pluralsight Principal Developer Advocate
Andrew Wooldridge
2 months ago

#websockets and #express in #nodejs is an incredibly powerful combo for making #webgame stuff! Why is this not more widely known /used?

reverentgeek
2 months ago

I'm streaming today at 2:00 PM ET! Come hang out and learn with me as we build a trivia game in #nodejs using #vuejs, #tailwindcss, and #socketio! #AHOTLive #streaming #websockets #javascript #html #css

All Hands On Tech Live developer stream Thursdays at 11:00 AM PT/2:00 PM ET with David Neal, Pluralsight Principal Developer Advocate
Karsten Samaschke
2 months ago

Finally: Working on a new video for opentaq! 💪

Topic: Installing and running your own #Mastodon instance with #Docker only.

Will be using #Ansible for this, so it will be highly automatted and can be executed repeatedly.

BTW: That is the way I rolled out https://samaschke.socal - was my proof of concept, running in my own #homelab. 👍 😃

(still having issues with #WebSockets, but this is most likey related to running it behind #NGINX Proxy Manager - which is something I will avoid next time)

InfoQ
2 months ago

In networking operations, #dotnet7 improves the capabilities and performance of the existing #HTTP & #WebSockets protocols. It exposed a new protocol called #QUIC and has many performance improvements compared to .NET 6.

Find out more on #InfoQ: https://bit.ly/3XIepSH
#dotnet

reverentgeek
2 months ago

I'm resuming my developer stream today at 2:00 PM ET! Follow along as we build a real-time multi-player trivia game using Node.js and web sockets! Streaming on YouTube, Facebook, LinkedIn, and Twitch 🤓 #AHOTLive #streaming #nodejs #websockets #javascript https://www.twitch.tv/pluralsight_live
https://www.youtube.com/watch?v=3Wmn4zCxrs8
https://www.facebook.com/events/706054024511673
https://www.linkedin.com/feed/update/urn:li:ugcPost:7021870680203788288

All Hands On Tech Live developer stream Thursdays at 11:00 AM PT, 2:00 PM ET with David Neal, Pluralsight Principal Developer Advocate
Mike P
3 months ago

@Ateriath 1) I think that #ActivityStreams over a messaging layer (eg #AMQP, #websockets, #MQTT) might have some use cases.

2) #ActivityPub might still have things to learn from SMTP. The "envelope recipient" idea looks like it might be relevant, though I haven't thought it entirely through.

tebruno99
4 months ago

Just decided to fork the now defunct Gorilla Golang project and have a stab at it as a maintainer. We use Gorilla extensively at our Nonprofit so hopefully 2 birds 1 stone situation. I’m mostly experienced in the websocket libraries . Still working out the details but: https://github.com/elasticperch/ #foss #Coding #Golang #oss #websockets

For this week's #projects

I wrote this simple PoC to control WS2812B LED strips connected to #esp8266 from my browser.

Uses #react, #websockets and #arduino

Still in progress source code: https://github.com/rohitshetty/tabby

Demo: https://www.youtube.com/shorts/DqZuo4o100g

Fran Mendez :asyncapi:
4 months ago

I'm writing a #book about #eventdriven architectures and would love to understand if it's a book that people would buy, i.e., there's interest.

Help me test the idea? 🙏

Boosts are appreciated 🙂

https://book-eda.franmendez.blog/

#booklaunch #coding #ddd #kafka #amqp #websockets #api

LocalJoost 🥽
4 months ago

Well how about that. Got instant communication working with #websockets on #HoloLens & #Quest2, and by extension Android. Using an #Azure #WebPubSub service as my server. Why build your own server if someone else can handle all the complicated stuff for you :)

Joe Walnes
4 months ago

Working on Arduino project? Need a quick way to stream data from the board to a web UI?
Use websocketd and screen commands to connect the serial port to a WebSocket.

// 1. On the Arduino
Serial.println(/* some data */);

// 2. On your desktop/laptop
$ websocketd --port 1234 screen /dev/ttyXX 9600

// 3. On the web page
new WebSocket('ws://localhost:1234').onmessage({data}) => /* do something */)

#arduino #websockets #javascript

Tomas Ekeli
4 months ago

also - it turns out that #frontDoor doesn't support #webSockets

i don't think i like #azure #frontDoor

Fastify is a fast and low overhead web framework, for Node.js

https://www.fastify.io/

If you are more into REST app, you might want Restify:

http://restify.com/

If you want to keep it safe, you might want express

https://expressjs.com/

For a web sockets server, you might want socket.io:

https://socket.io/

#JavaScript #NodeJs #WebFrameworks #libraries #REST #WebSockets

IT News
4 months ago

Squish That Stack With Rampart - [P B Richards] and [Aaron Flin] were bemoaning the resource hunger of modern JavaS... - https://hackaday.com/2022/11/24/squish-that-stack-with-rampart/ #softwarehacks #javascript #websockets #webserver #database #https #redis #http #sql

Matt Mastracci
4 months ago

Was curious how tough it would be to use websockets for real-time messaging in longshot and ... that's almost too easy with async Rust.

#rustlang #websockets

https://docs.rs/axum/0.1.1/axum/ws/index.html

Socket.io: Bidirectional and low-latency communication for every platform

https://socket.io/

#websockets #server #libraries

Soketi is just another simple, fast, and resilient open-source WebSockets server. 📣

https://github.com/soketi/soketi

#websockets #server #libraries

Adam Warski
4 months ago

Next week (22nd Nov) I'll be speaking at the Confluent Lunch & Learn event on feeding data from #Kafka to #websockets. But that's only part of the event - see https://events.confluent.io/lunchlearn-warsaw/SoftwareMill & see you there :)

Ben S.
5 months ago

@SDF here's what the #plot looks like after about another 9 hours. I've implemented a new #Websockets based method today that listens to a live streaming #feed in order to also collect posts-per-sample counts, and hope to get that collecting data overnight.

This is all for fun only - I just wanted to see if I could #visualize #federated feed #activity and #latency.

Similar format to previous plots, except median graph is now logarithmic. Data since last post is bouncy, with median ranging between (very roughly) 100 and 3000 seconds old. There's a huge spike to over 100000 seconds around 23:30 UTC, indicating that some posts from over a day ago slipped in from somewhere.
Jonathan Reus
5 months ago

@anthillsocial yeah, although installing #python on windows is pretty straightforward using #anaconda ... you could also considering using NODE.js on the server-side, so you don't have to leave javascript. Although you would still need to go through the platform dependent install process with the students.

There's a nice #OSC to #javascript library that handles all the #websockets bridging for you as well. https://github.com/adzialocha/osc-js

IT News
5 months ago

Dial-Up Internet Over WhatsApp - As we returned from Supercon 2022, we noticed many airlines offer free in-flight m... - https://hackaday.com/2022/11/13/dial-up-internet-over-whatsapp/ #internettunnel #softwarehacks #websockets #whatsapp

Benny Powers
5 months ago

#lazydon with #heroku simultaneously canning their free tier and disclosing bad security breaches, I'm looking for a cloud service that I can use to run a #redis-backed #nodeJs app that uses #webSockets. Ideally, something more like cloud functions than a heroku instance, but i'll take what I can get. This is a hobby project, I was paying $7 on heroku, so if it's more than that i'll probably just have to shut it down.

MrCopilot
5 months ago

Project Cerritos Update #RasberryPi #WebSockets

Tom's Hardware: Raspberry Pi Takes Star Trek UI To Red Alert.
https://www.tomshardware.com/news/raspberry-pi-star-trek-lcars-system

scy
5 months ago

I’ve arrived at a point where it looks like I have to implement flow control in #WebSockets

guess I took a wrong turn somewhere

very wrong turn

#TIL how to code with #WebSockets and it's awesome!
I made a #Python Flask backend and a #JavaScript frontend, and they were both able to communicate with the other🎉

Another great article of how to use Golioth with @NodeRED!
---
RT @golioth_iot
.@szczys loves using Node-RED. In this #tutorial, he details how to use it to control #IoT devices on @golioth_iot. It's easy to set up a connection to #WebSockets & the REST API but the secret is the URL which includes the #Golioth API key. Read more: https://blog.golioth.io/how-to-use-node-red-to-control-iot-devices-on-golioth/
https://twitter.com/golioth_iot/status/1519714320183341056

FiXato
1 year ago

Anyone know of a #websocket module I can use in an #mpv script?
Trying to integrate #owncast chat directly into mpv, but it seems like sending messages to the chat as a regular user can only be done over #websockets...
(If there is a different way to send a chat message with Owncast with a regular user access token over just plain http/https, I'm of course also fine with that!)

Jonathan Beri
1 year ago

We wanted to bring our realtime WebSocket API to Grafana, but couldn't find an implementation. So we did the work and made it open source. We also made it generic for every dev, not just Golioth users!
---
RT @golioth_iot
Now you can connect to #WebSockets with @grafana! We wrote an open source plugin that connects to any WebSocket API to update data visualizations in real time.

https://blog.golioth.io/using-websockets-with-grafana-go…
https://twitter.com/golioth_iot/status/1486785343143792643

Hyperreal Gopher :debian:
2 years ago

#haskell users: could you suggest some libraries to use?

The project is a website that has instant chat throughout/for different pages of the website. It'll also need a database and some kind of administration backend.

Should I just try to use #REST and #websockets/#webrtc with something like #Miso (https://haskell-miso.org/)?

The website will be game-like.

FiXato (fallback)
2 years ago

@mike
an #rtsp stream and a #websockets or #webrtc script might do the trick?
For the website part, see https://flashphoner.com/7-ways-to-stream-rtsp-on-the-page/

For the transcoding and streaming part, see http://ffmpeg.org/ffmpeg-protocols.html#rtsp and https://trac.ffmpeg.org/wiki/StreamingGuide

heise+ | Programmieren mit Python: Schnittstellen entwickeln mit Pycharm und FastAPI

IDEs wie Pycharm machen das Leben für Programmierer einfacher. Wir zeigen, wie Sie in Pycharm mit FastAPI eine Python-REST-Schnittstelle erstellen.
Programmieren mit Python: Schnittstellen entwickeln mit Pycharm und FastAPI
mmu_man
3 years ago

Okay, y a combien d'implem des #websockets en #Python ??

Aral Balkan
3 years ago

In case you missed it over the weekend, I released a very easy to follow tutorial for building a chat app using Site.js. It’s also a good introduction to building both static and dynamic sites with Site.js.

Check it out here: https://ar.al/2019/10/11/build-a-simple-chat-app-with-site.js/

#sitejs #nodejs #websockets

Screenshot of the browser widget embedded in the linked to article running the basic chat example you will be building in the tutorial.
rugk
4 years ago

@DashEquals @dtluna okay, intersting. Would also had a look into #rust, because https://rocket.rs/ looks good, and there seems to be something for #WebSockets: https://github.com/flosse/rust-web-framework-comparison#websocket

But https://websockets-rs.github.io/rust-websocket/ still seems to be experimental 🤔

Strypey
4 years ago

@djsumdog yes, that's currently how WebTorrent works, a mash-up for #BitTorrent and #WebRTC protocols. There has been some discussion of implementing a fallback using #WebSockets, particularly in the context of making it easier for desktop torrent clients to support WebTorrent swarms.

Michał "phoe" Herda
5 years ago

@cwebber If I were to run #ActivityPub over #WebSockets, how would it look like? The request/response bodies are not enough, we need the headers. And if the server decided to push something to the client, I don't think we have a standard header for saying what exactly is being pushed to the client. The client says POST /foo/bar/baz when requesting, is there an equivalent when the server is updating the client?