The example app from Sente, but for system (componentized and bootified).
Fire the Boot pipeline from the command line.
$ boot dev
Then point your browser to http://localhost:3019
Sente example app for system
The example app from Sente, but for system (componentized and bootified).
Fire the Boot pipeline from the command line.
$ boot dev
Then point your browser to http://localhost:3019
I'm trying to set up sente's uids for per-session pushes. Per taoensso/sente#118 (comment)
I'm supposed to add parameters to sente/make-channel-socket. I see where that is on the cljs side, but I can't figure out how to get at it on the clj side.
No matter what I try, uid stays nil.
May I ask how you would modify your sample app to get a uid set?
ETA: Modifying line 101 of sente-system/src/clj/example/my_app.clj to read
(debugf "Unhandled event: %s uid: %s session: %s" event uid session)
shows that the session is being set but the uid is nil. I think it should at least be the sente default?
Hi,
When I try to stop the system, I'm seeing:
[server-loop] ERROR - increase :queue-size if this happens often
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@293946d9 rejected from java.util.concurrent.ThreadPoolExecutor@743088b[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 465]
This may be related to this issue that I also commented on. Do you have any ideas what might be causing this?
Thanks.
Somehow the previous broadcast can't stop for me.
Anyway this is awesome!
Hi again
I wanted to use this with a recent version of Sente, so I ported the example. Then I did some more component-izing, because I didn’t really like the idea of the server accesing the system through a global var. Only then did I discover that this project had been deprecated in favor of system-websocket.
Anyway, here are the changes I made to sente-system:
Would you be interested in me issuing a pull-request for either of these?
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.