hackmit / playground Goto Github PK
View Code? Open in Web Editor NEWA new kind of virtual event platform ๐ง
Home Page: https://play.hackmit.org
License: MIT License
A new kind of virtual event platform ๐ง
Home Page: https://play.hackmit.org
License: MIT License
Sorry to interrupt, but I can't log in after the deployment is done.
Hi development team!
Thanks for this open source platform! We are planning to use this platform for an upcoming hackathon but are facing a few issues in the deployed software.
When the playground is deployed on AWS ElasticBeanstalk and we use the deployed version as the websocketURL for the frontend running on localhost, the frontend does not display the SVG images for all the locations except Personal Room (that is, the town plaza etc. are not rendered) although the character and its movements work fine
However, all the SVGs seem to be rendered fine when the backend is run on localhost.
We wanted to ask whether you had faced a similar issue on the deployed software? If yes, could you please suggest a workaround for the same? Thank You!
cc @jackcook
One idea we've tossed around involves creating a virtual "jukebox" for our hackers, similar to plug.dj. Hackers will be able to suggest songs by entering YouTube URLs, which will be put into a queue. All of our hackers will then be able to listen to the same songs at the same time.
We use Redis's pub/sub paradigm to receive real-time updates from other ingest servers. However, right now all events are sent over the same channel, room
. Since each ingest is subscribed to room
and publishing to room
, each ingest server receives events that it already knew about. We should change this to make our messaging more efficient.
For example, if we have two ingest servers, each sending 100 messages/second to Redis, each server would receive 200 messages/second from Redis. With this change, each server would only receive 100 messages/second from Redis, a huge reduction!
Instead of having a single room
channel, each ingest server could publish to a different channel (e.g. room-1
, room-2
...). However, each ingest server would then have to be aware of all of the other ingest servers.
room-<id1>
, room-<id2>
...) to receive their events.room-<id>
, where <id>
is the current ingest's unique ID.ingest
channel to let other ingest servers know to subscribe to our eventsRight now, we assign people a unique ID every single time they join -- this doesn't give us any way to identify hackers. Ideally, people will sign into Playground with Quill SSO, allowing us to identify each hacker, and save their progress/location/etc each time they leave and re-join.
Talk to Shirlyn ๐
Hi, thanks for making such a great event platform open source! We're planning to use it for an upcoming hackathon and have been trying to test deployment on elastic beanstalk before we deploy our final version.
We've tried deploying frontend and backend separately, but the app-deploy step fails in both cases. The versions we're trying to test deployment with are the latest hackmit repos, with our own .env file and some other minor changes. The error for backend appears to be some missing file or directory relating to nginx, but we couldn't find anything similar online. We think it might have to do with the fact that Redis runs locally in development but is not present in production on localhost:6379.
May I know all the steps that your team took to deploy everything on elastic beanstalk? I can include the error logs if necessary. We would really appreciate it, thanks!
Our users should be able to chat with other people in the same room, similar to how you can chat in Club Penguin or other similar online games. Clients should be able to send a chat
packet, which is then broadcast to other clients in the same room as them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.