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
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.
 
Test Your Knowledge in Computers #706
Difficulty: Medium
Shared information bias is known as the tendency for group members to spend more time and energy discussing information that all members are already familiar with (i.e., shared information), and less time and energy discussing information that only some members are aware of.
True or False?

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://www.unix.com/usercp/#/livechat 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
Jifty::Manual(3pm)					User Contributed Perl Documentation					Jifty::Manual(3pm)

NAME
Jifty::Manual - Jifty documentation DESCRIPTION
This manual is divided into many separate pages, each covering a specific topic thoroughly. Jifty::Manual::AccessControl Implementing access controls in your Jifty app Jifty::Manual::Actions All about actions and how to use them Jifty::Manual::Continuations Continuations made easy. Easier.. Jifty::Manual::Cookbook Chunk-sized pearls of wisdom for accomplishing common tasks Jifty::Manual::Deploying How to go from "jifty server" to a robust web-server and database environment Jifty::Manual::FAQ Frequently asked questions, for some value of frequent Jifty::Manual::Glossary Common terms that you might want to learn Jifty::Manual::Logging How to control Jifty's logging, which is backed by Log::Log4perl Jifty::Manual::Models All about models -- the creepy crawlies that live in your database Jifty::Manual::ObjectModel How all the bits of Jifty hang together Jifty::Manual::PageRegions You too can have sexy AJAX! Jifty::Manual::RequestHandling The life cycle of a page load Jifty::Manual::Style Style guide for the Jifty project itself Jifty::Manual::Tutorial Your first stop on this tour Jifty::Manual::TutorialRest Using the REST API in your application Jifty::Manual::Tutorial_de The tutorial in German Jifty::Manual::Tutorial_ja The tutorial in Japanese Jifty::Manual::Tutorial_zhtw The tutorial in Traditional Chinese Jifty::Manual::Upgrading How to change your application's database Jifty::Manual::UsingCSSandJS How to use custom CSS and JavaScript in your application perl v5.14.2 2010-09-25 Jifty::Manual(3pm)

Featured Tech Videos

All times are GMT -4. The time now is 09:37 AM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy