A thought: disposable realtime notifications for webapps
blog.dustincurtis.com
blog.dustincurtis.com
For real-time notifications to happen (and be reasonably lightweight), you need to have hooks into your monitored services. Growl works because its clients send messages to the Growl server on your machine when something interesting happens.
Web services will need to have a similar mechanism for (securely) telling your notification service that "something happened." Weblogs are already most of the way there: modern blogging engines can send HTTP "pings" when new entries are posted. Apache sends its errors to a file, so it would need to be extended to post errors to your notification service.
I'm rambling now, but if anyone wants to start a working group or somethin', props. It's going to need some intelligent design to take the weight of the whole internet flowing through it and to ensure that private notifications (your web server, Facebook) don't get into the wrong hands.
We went through this once with icq/aim/msn, and it would be nice if browser vendors got together and worked out something that unified 'push' messaging before everyone implemented it separately.
The WebSocket in HTML5 looks pretty good, hopefully that'll be implemented soon.
The hard part is (off the top of my head ...):
o Putting together a UI that people can use and will like. Notifications should be quick and easy to set up. They should be noticeable enough to work, but they should not cause problems with existing workflows. And the whole system needs to be easy for the user to understand.
o If a new protocol: get sites all over to use it. If an existing one, figure out how to wrap around it nicely (extract and display the right info, etc.).
o Integrate this with non-RSS stuff, like the things that Growl does.
---
From my previous post :: http://news.ycombinator.com/item?id=552633
* Desktop Notifications - This is solved, I wrote one myself[1]
Try using existing Java/Browser technology.
I would suggest this:
Each compatible web page has a signed applet which can also run resident on the remote machine via Webstart. If the server is not listening yet, start it.
If it is listening, send it a message. The Webstart remote applet then displays the message in the GUI.
My server just bound to a range of well known sockets, and the clients tried each one in turn. Try to keep it simple. I just wrote a string with a carriage return to the socket. No XML, no heaviweight protocol.
Here's an example I threw together: http://tlrobinson.net/blog/2008/09/01/adding-growl-notificat...
http://tlrobinson.net/blog/2008/09/01/adding-growl-notificat...
It's rather cumbersome to setup though, and I haven't used it since the day I wrote it...
A nice centralized service that would connect users and web services would be great.
2. Scalable "Disposable realtime notifications" from server to clients/other servers was implemented over 20 years ago, with IRC.
Some green Web 2.0 guy thinks he has a great idea, is actually reinventing wheel, more news coming up at the top of the hour.
The reason given is that "Twitter facilitates user <=> user communication". But he gives no explanation for why Twitter couldn't also be used for the sorts of communication he discusses.
And, it is not polling.