Sponsored Content
The Lounge What is on Your Mind? Live Chat (Alpha) in UserCP SF 0.7517 Post 303034168 by Neo on Friday 19th of April 2019 11:13:32 PM
Old 04-20-2019
Update SF version: 0.7528
  • Removed annoying "join and leave" messages from chat window. I added this yesterday and it's simply too annoying. My bad.

Next, I think I need to spend time on the initial Vue.js bug which is causing the initial page render to be blank (requiring a reload) based on some incomplete PubNub AJAX calls (race conditions). This results in "undefined" Javascript errors I need to trap and deal with. These async AJAX timing and race conditions can be tricky to deal with (trap all possible errors) in all of these types of apps which make asynchronous REST calls to a remote API. I'm having some issues on initial page load where the REST'ful AJAX calls to the PubNub API are not returning fast enough and this is causing errors on initial page load and this is the reason why a page reload works (and is often required) after the initial loading.

This issue is really is nagging me and it impacts every possible variation of this publish-subscribe Javascript project moving forward. This is a Vue.js lifecycle problem and not a PubNum API problem. However, I have not completely switched out all the "OUTDATED" Vue.js wrapper code, so maybe if I get rid of it and just use the "unwrapped" SDK, I will get better results? Actually, I kinda doubt it because I have seen these kinds of AJAX race conditions many times over the years. This is the bane of using async remote calls. It's also an issue I have seen in game engine (the game loop) programming.
 

5 More Discussions You Might Find Interesting

1. Solaris

Live Chat For Solaris?

Does anyone know of any online live chat discussion groups for Solaris? If so, please let me know... Thanks! Rob Sandifer (3 Replies)
Discussion started by: RobSand
3 Replies

2. What is on Your Mind?

New UserCP Update Profile Image Page (UserCP Screeching Frog 0.7485)

Update! UserCP Screeching Frog 0.7485 Created a new page for uploaded a profile picture (profile pictures are different than avatar pictures). https://www.unix.com/usercp/#/settings/other https://www.unix.com/members/1-albums225-picture1158.png ... (0 Replies)
Discussion started by: Neo
0 Replies

3. What is on Your Mind?

A Quick Video Overview of PubNub Live Chat @UNIX.com (version 0.7614)

A number of people have asked me to make some videos, so I just got my first condenser microphone and so I can make some amateurish screen casts. I will try to do better in the future. A quick overview of PubNub Live Chat @unix.com The video is best is you set the Quality to HD 1080. The... (0 Replies)
Discussion started by: Neo
0 Replies

4. What is on Your Mind?

PubNub Live Chat Beta Testing

Dear All, We are now beta testing our future "Live Chat" area using PubNub technology. https://community.unix.com/ This purpose of this testing is to test the core system, in general, and to see how many, if any, bugs crawl out of the woodwork. This "Live Chat" is not the... (48 Replies)
Discussion started by: Neo
48 Replies

5. What is on Your Mind?

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates In this version of the UserCP, I have changed "Live Chat" to "Live Updates" by disabling the ability to post in the "live chat" area and changed the name to "Live Updates" The reason for this change is that experienced... (6 Replies)
Discussion started by: Neo
6 Replies
RDF::Query::Parser::RDQL(3pm)				User Contributed Perl Documentation			     RDF::Query::Parser::RDQL(3pm)

NAME
RDF::Query::Parser::RDQL - An RDQL parser for RDF::Query VERSION
This document describes RDF::Query::Parser::RDQL version 2.908. METHODS
"new ( $query_object ) " Returns a new RDF::Query object. "parse ( $query ) " Parses the supplied RDQL query string, returning a parse tree. REVISION HISTORY
$Log$ Revision 1.5 2006/01/11 06:03:45 greg - Removed use of Data::Dumper::Simple. Revision 1.4 2005/05/08 08:26:09 greg - Added initial support for SPARQL ASK, DESCRIBE and CONSTRUCT queries. - Added new test files for new query types. - Added methods to bridge classes for creating statements and blank nodes. - Added as_string method to bridge classes for getting string versions of nodes. - Broke out triple fixup code into fixup_triple_bridge_variables(). - Updated FILTER test to use new Geo::Distance API. Revision 1.3 2005/04/26 02:54:40 greg - added core support for custom function constraints support - added initial SPARQL support for custom function constraints - SPARQL variables may now begin with the '$' sigil - broke out URL fixups into its own method - added direction support for ORDER BY (ascending/descending) - added 'next', 'current', and 'end' to Stream API Revision 1.2 2005/04/25 00:59:29 greg - streams are now objects usinig the Redland QueryResult API - RDF namespace is now always available in queries - row() now uses a stream when calling execute() - check_constraints() now copies args for recursive calls (instead of pass-by-ref) - added ORDER BY support to RDQL parser - SPARQL constraints now properly use the 'FILTER' keyword - SPARQL constraints can now use '&&' as an operator - SPARQL namespace declaration is now optional Revision 1.1 2005/04/21 02:21:44 greg - major changes (resurecting the project) - broke out the query parser into it's own RDQL class - added initial support for a SPARQL parser - added support for blank nodes - added lots of syntactic sugar (with blank nodes, multiple predicates and objects) - moved model-specific code into RDF::Query::Model::* - cleaned up the model-bridge code - moving over to redland's query API (pass in the model when query is executed) AUTHOR
Gregory Williams <gwilliams@cpan.org> perl v5.14.2 2012-01-31 RDF::Query::Parser::RDQL(3pm)
All times are GMT -4. The time now is 10:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy